mirror of
https://github.com/sstent/AICycling_mcp.git
synced 2025-12-05 23:51:57 +00:00
restrcuted repo
This commit is contained in:
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
__pycache__/
|
||||
.kilocode/
|
||||
config.yaml
|
||||
config.json
|
||||
digest*.txt
|
||||
0
analysis/__init__.py
Normal file
0
analysis/__init__.py
Normal file
0
cli/__init__.py
Normal file
0
cli/__init__.py
Normal 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
0
core/__init__.py
Normal 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
0
llm/__init__.py
Normal 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
0
mcp/__init__.py
Normal 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__)
|
||||
|
||||
@@ -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
0
tests/__init__.py
Normal file
Reference in New Issue
Block a user