Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TechNickAI/AICodeBot Loading
base: v0.18.0
Choose a base ref
...
head repository: TechNickAI/AICodeBot Loading
compare: v0.18.1
Choose a head ref
  • 13 commits
  • 18 files changed
  • 3 contributors

Commits on Jul 28, 2023

  1. Update Dockerfile and README.md

    The Dockerfile has been updated to include additional dependencies and configurations for the aicodebot application. The README.md file has also been modified to include instructions for building and running the Docker image.
    
    This commit improves the Dockerfile by adding necessary packages and setting up the environment for the aicodebot application. It also updates the README.md file to provide clear instructions on how to build and run the Docker image.
    
    The changes in the Dockerfile and README.md files will make it easier for users to set up and run the aicodebot application in a Docker environment.
    
    Note: The commit message has been generated based on the provided diff context.
    aicodebot committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    86c779f View commit details
    Browse the repository at this point in the history
  2. Refactor chat loop and command handling in cli.py

    The chat loop and command handling in cli.py have been refactored into a new class, Chat, in input.py. This change improves code organization and readability by encapsulating chat-related functionality in a dedicated class. The Chat class handles parsing of human input, command execution, and file context display. The cli.py file has been updated to use this new class, resulting in a significant reduction in its complexity and size. A test suite for the new Chat class has also been added.
    TechNickAI committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    a14c2ea View commit details
    Browse the repository at this point in the history
  3. Add session handling to config module

    This commit introduces a new class, Session, to the config module. This class is responsible for reading and writing session data to a file. The session file location can be configured via an environment variable. The session data is now also included in the output of the read_config function. A test case for the session read and write functionality has been added.
    TechNickAI committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    cc88347 View commit details
    Browse the repository at this point in the history
  4. Integrate session data for file context in sidekick function

    Resolves #65
    
    The sidekick function now utilizes session data to determine file context. If files from the last session are available, they are used for context. Otherwise, recent git commits and current changes are used. This change also includes updating the session data with the new list of files whenever the files change. This enhancement should provide a more consistent and relevant context for the sidekick function.
    TechNickAI committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    bac9547 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #69 from hanselke/docker

    Update Dockerfile and README.md
    TechNickAI committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    aa3ae3c View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. handle console globally so we can split up commands into separate fil…

    …es. Consistently handle/store console styles.
    TechNickAI committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    716f455 View commit details
    Browse the repository at this point in the history
  2. Refactor cli.py and add new command modules

    The cli.py file has been refactored to improve code organization and maintainability. The 'configure' and 'debug' commands have been moved to their own separate modules under the 'commands' directory. This change will make it easier to add new commands in the future. Additionally, the 'cli' function has been updated to handle the new command structure and to improve the handling of the configuration file. The 'setup_cli' function has been removed as its functionality has been integrated into the 'cli' function.
    TechNickAI committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    3cd1f1f View commit details
    Browse the repository at this point in the history
  3. Move sidekick[agent] and learn to commands structure. Mark sidekick a…

    …gent and learn as experimental.
    
    The changes in this commit involve a significant refactoring of the codebase. The primary goal was to improve the modularity and organization of the code. The 'learn' functionality has been moved from the 'agents.py' and 'cli.py' files into its own module under 'commands'. This change makes the code easier to navigate and maintain.
    
    In addition, the 'sidekick' and 'sidekick_agent' functions have been moved from 'cli.py' to a new 'sidekick.py' file under 'commands'. This change further improves the organization of the codebase and makes these functions easier to find and modify if necessary.
    
    The 'cli.py' file has been updated to import the 'learn', 'sidekick', and 'sidekick_agent' commands from their new locations. The 'agents.py' file has been updated to import 'load_learned_repo' from its new location in 'commands.learn'.
    
    Finally, a new file 'commands/__init__.py' has been added to import the 'configure', 'debug', 'learn', 'sidekick', and 'sidekick_agent' commands. This allows these commands to be easily imported from the 'commands' module.
    TechNickAI committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    f9c5966 View commit details
    Browse the repository at this point in the history
  4. Refactor alignment command into separate module

    The alignment command was previously defined in the cli.py file. This commit moves the alignment command into its own module, alignment.py, improving the organization of the codebase. The alignment command is now imported in the cli.py and commands/__init__.py files. This change enhances the modularity of the code, making it easier to maintain and extend in the future.
    TechNickAI committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    42055d1 View commit details
    Browse the repository at this point in the history
  5. Refactor commit command into separate module

    The commit command was previously part of the main cli.py file, which was becoming bloated and difficult to maintain. This change moves the commit command into its own module under the commands directory, improving the modularity and maintainability of the code. The commit command functionality remains unchanged.
    TechNickAI committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    fe381c5 View commit details
    Browse the repository at this point in the history
  6. Refactor 'review' command into separate module

    The 'review' command was previously part of the 'cli.py' module. This commit moves the 'review' command into its own separate module, 'review.py', for better organization and maintainability. The 'review' command has also been added to the list of commands in 'commands/__init__.py'. This change does not affect the functionality of the 'review' command.
    TechNickAI committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    6b803e1 View commit details
    Browse the repository at this point in the history
  7. Fix "ValueError: File '/Users/nick/.aicodebot_data/session.yaml' alre…

    …ady exists and overwrite is False."
    
    The session data write method in the config.py file has been modified to include an overwrite option. This change allows for existing session data to be overwritten when new data is written to the session file.
    TechNickAI committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    fa9f688 View commit details
    Browse the repository at this point in the history
  8. Bump version to 0.18.1

    TechNickAI committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    6e0e050 View commit details
    Browse the repository at this point in the history
Loading