code-puppy 0.0.34__tar.gz → 0.0.35__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {code_puppy-0.0.34 → code_puppy-0.0.35}/PKG-INFO +1 -1
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/command_line/meta_command_handler.py +2 -2
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/command_line/prompt_toolkit_completion.py +3 -3
- {code_puppy-0.0.34 → code_puppy-0.0.35}/pyproject.toml +1 -1
- {code_puppy-0.0.34 → code_puppy-0.0.35}/.gitignore +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/LICENSE +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/README.md +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/__init__.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/agent.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/agent_prompts.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/command_line/__init__.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/command_line/file_path_completion.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/command_line/model_picker_completion.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/command_line/utils.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/config.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/main.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/model_factory.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/models.json +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/session_memory.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/tools/__init__.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/tools/code_map.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/tools/command_runner.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/tools/common.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/tools/file_modifications.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/tools/file_operations.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/tools/web_search.py +0 -0
- {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/version_checker.py +0 -0
| @@ -23,7 +23,7 @@ def handle_meta_command(command: str, console: Console) -> bool: | |
| 23 23 | 
             
                Returns True if the command was handled (even if just an error/help), False if not.
         | 
| 24 24 | 
             
                """
         | 
| 25 25 | 
             
                command = command.strip()
         | 
| 26 | 
            -
                if command.startswith("~ | 
| 26 | 
            +
                if command.startswith("~cd"):
         | 
| 27 27 | 
             
                    tokens = command.split()
         | 
| 28 28 | 
             
                    if len(tokens) == 1:
         | 
| 29 29 | 
             
                        try:
         | 
| @@ -57,7 +57,7 @@ def handle_meta_command(command: str, console: Console) -> bool: | |
| 57 57 | 
             
                    console.print(f"[yellow]Usage:[/yellow] ~m <model_name>")
         | 
| 58 58 | 
             
                    return True
         | 
| 59 59 | 
             
                if command in ("~help", "~h"):
         | 
| 60 | 
            -
                    console.print("[bold magenta]Meta commands available:[/bold magenta]\n  ~m <model>: Pick a model from your list!\n  ~ | 
| 60 | 
            +
                    console.print("[bold magenta]Meta commands available:[/bold magenta]\n  ~m <model>: Pick a model from your list!\n  ~cd [dir]: Change directories\n  ~codemap [dir]: Visualize project code structure\n  ~help: Show this help\n  (More soon. Woof!)")
         | 
| 61 61 | 
             
                    return True
         | 
| 62 62 | 
             
                if command.startswith("~"):
         | 
| 63 63 | 
             
                    name = command[1:].split()[0] if len(command)>1 else ""
         | 
    
        {code_puppy-0.0.34 → code_puppy-0.0.35}/code_puppy/command_line/prompt_toolkit_completion.py
    RENAMED
    
    | @@ -25,8 +25,8 @@ from code_puppy.command_line.file_path_completion import FilePathCompleter | |
| 25 25 |  | 
| 26 26 | 
             
            from prompt_toolkit.completion import Completer, Completion
         | 
| 27 27 |  | 
| 28 | 
            -
            class  | 
| 29 | 
            -
                def __init__(self, trigger: str = '~ | 
| 28 | 
            +
            class CDCompleter(Completer):
         | 
| 29 | 
            +
                def __init__(self, trigger: str = '~cd'):
         | 
| 30 30 | 
             
                    self.trigger = trigger
         | 
| 31 31 | 
             
                def get_completions(self, document, complete_event):
         | 
| 32 32 | 
             
                    text = document.text_before_cursor
         | 
| @@ -81,7 +81,7 @@ async def get_input_with_combined_completion(prompt_str = '>>> ', history_file: | |
| 81 81 | 
             
                completer = merge_completers([
         | 
| 82 82 | 
             
                    FilePathCompleter(symbol='@'),
         | 
| 83 83 | 
             
                    ModelNameCompleter(trigger='~m'),
         | 
| 84 | 
            -
                     | 
| 84 | 
            +
                    CDCompleter(trigger='~cd'),
         | 
| 85 85 | 
             
                ])
         | 
| 86 86 | 
             
                session = PromptSession(
         | 
| 87 87 | 
             
                    completer=completer,
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         |