restrcuted repo

This commit is contained in:
2025-09-26 06:52:27 -07:00
parent 997028f0e1
commit 15974bbac5
26 changed files with 17 additions and 12 deletions

5
.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
__pycache__/
.kilocode/
config.yaml
config.json
digest*.txt

0
analysis/__init__.py Normal file
View File

0
cli/__init__.py Normal file
View File

View File

@@ -11,9 +11,9 @@ import sys
from rich.console import Console
from rich.markdown import Markdown
from config import Config, load_config, create_sample_config
from core_app import CyclingAnalyzerApp
from template_engine import create_default_templates
from ..config import Config, load_config, create_sample_config
from ..core.core_app import CyclingAnalyzerApp
from ..core.template_engine import create_default_templates
class CLI:
"""Command line interface"""

0
core/__init__.py Normal file
View File

View File

@@ -8,11 +8,11 @@ import logging
from pathlib import Path
from typing import Dict, Any, Optional
from config import Config, load_config
from llm_client import LLMClient
from mcp_client import MCPClient
from cache_manager import CacheManager
from template_engine import TemplateEngine
from ..config import Config, load_config
from ..llm.llm_client import LLMClient
from ..mcp.mcp_client import MCPClient
from .cache_manager import CacheManager
from .template_engine import TemplateEngine
logger = logging.getLogger(__name__)

0
llm/__init__.py Normal file
View File

View File

@@ -16,7 +16,7 @@ except ImportError:
PYDANTIC_AI_AVAILABLE = False
Agent = None
from config import Config
from ..config import Config
logger = logging.getLogger(__name__)

0
mcp/__init__.py Normal file
View File

View File

@@ -19,7 +19,7 @@ except ImportError:
GARTH_AVAILABLE = False
garth = None
from cache_manager import CacheManager
from ..core.cache_manager import CacheManager
logger = logging.getLogger(__name__)

View File

@@ -7,11 +7,11 @@ Fallback to standard MCP if needed, but prefer custom implementation
import logging
from typing import List, Dict, Any, Optional
from config import Config
from ..config import Config
# Try to import both implementations
try:
from custom_garth_mcp import CustomGarthMCP, GarthTool
from .custom_garth_mcp import CustomGarthMCP, GarthTool
CUSTOM_GARTH_AVAILABLE = True
except ImportError:
CUSTOM_GARTH_AVAILABLE = False

0
tests/__init__.py Normal file
View File