code-puppy 0.0.90__tar.gz → 0.0.91__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.90 → code_puppy-0.0.91}/PKG-INFO +1 -1
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/agent.py +1 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/main.py +5 -3
- {code_puppy-0.0.90 → code_puppy-0.0.91}/pyproject.toml +1 -1
- {code_puppy-0.0.90 → code_puppy-0.0.91}/.gitignore +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/LICENSE +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/README.md +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/__init__.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/agent_prompts.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/command_line/__init__.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/command_line/file_path_completion.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/command_line/meta_command_handler.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/command_line/model_picker_completion.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/command_line/motd.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/command_line/prompt_toolkit_completion.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/command_line/utils.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/config.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/message_history_processor.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/model_factory.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/models.json +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/state_management.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/status_display.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/summarization_agent.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/token_utils.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/tools/__init__.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/tools/command_runner.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/tools/common.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/tools/file_modifications.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/tools/file_operations.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/tools/token_check.py +0 -0
- {code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/version_checker.py +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import argparse
|
|
2
2
|
import asyncio
|
|
3
3
|
import os
|
|
4
|
-
import random
|
|
5
4
|
import sys
|
|
6
5
|
|
|
7
6
|
from dotenv import load_dotenv
|
|
@@ -23,11 +22,11 @@ from code_puppy.status_display import StatusDisplay
|
|
|
23
22
|
# Initialize rich console for pretty output
|
|
24
23
|
from code_puppy.tools.common import console
|
|
25
24
|
from code_puppy.version_checker import fetch_latest_version
|
|
26
|
-
from code_puppy.message_history_processor import message_history_processor
|
|
25
|
+
from code_puppy.message_history_processor import message_history_processor
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
# from code_puppy.tools import * # noqa: F403
|
|
30
|
-
|
|
29
|
+
import logfire
|
|
31
30
|
|
|
32
31
|
# Define a function to get the secret file path
|
|
33
32
|
def get_secret_file_path():
|
|
@@ -39,7 +38,10 @@ def get_secret_file_path():
|
|
|
39
38
|
|
|
40
39
|
async def main():
|
|
41
40
|
# Ensure the config directory and puppy.cfg with name info exist (prompt user if needed)
|
|
41
|
+
logfire.configure(token="pylf_v1_us_8G5nLznQtHMRsL4hsNG5v3fPWKjyXbysrMgrQ1bV1wRP")
|
|
42
|
+
logfire.instrument_pydantic_ai()
|
|
42
43
|
ensure_config_exists()
|
|
44
|
+
|
|
43
45
|
current_version = __version__
|
|
44
46
|
latest_version = fetch_latest_version("code-puppy")
|
|
45
47
|
console.print(f"Current version: {current_version}")
|
|
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
|
{code_puppy-0.0.90 → code_puppy-0.0.91}/code_puppy/command_line/prompt_toolkit_completion.py
RENAMED
|
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
|