mirror of
https://github.com/sstent/AICycling_mcp.git
synced 2026-01-25 16:42:24 +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.console import Console
|
||||||
from rich.markdown import Markdown
|
from rich.markdown import Markdown
|
||||||
|
|
||||||
from config import Config, load_config, create_sample_config
|
from ..config import Config, load_config, create_sample_config
|
||||||
from core_app import CyclingAnalyzerApp
|
from ..core.core_app import CyclingAnalyzerApp
|
||||||
from template_engine import create_default_templates
|
from ..core.template_engine import create_default_templates
|
||||||
|
|
||||||
class CLI:
|
class CLI:
|
||||||
"""Command line interface"""
|
"""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 pathlib import Path
|
||||||
from typing import Dict, Any, Optional
|
from typing import Dict, Any, Optional
|
||||||
|
|
||||||
from config import Config, load_config
|
from ..config import Config, load_config
|
||||||
from llm_client import LLMClient
|
from ..llm.llm_client import LLMClient
|
||||||
from mcp_client import MCPClient
|
from ..mcp.mcp_client import MCPClient
|
||||||
from cache_manager import CacheManager
|
from .cache_manager import CacheManager
|
||||||
from template_engine import TemplateEngine
|
from .template_engine import TemplateEngine
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
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
|
PYDANTIC_AI_AVAILABLE = False
|
||||||
Agent = None
|
Agent = None
|
||||||
|
|
||||||
from config import Config
|
from ..config import Config
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
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_AVAILABLE = False
|
||||||
garth = None
|
garth = None
|
||||||
|
|
||||||
from cache_manager import CacheManager
|
from ..core.cache_manager import CacheManager
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
@@ -7,11 +7,11 @@ Fallback to standard MCP if needed, but prefer custom implementation
|
|||||||
import logging
|
import logging
|
||||||
from typing import List, Dict, Any, Optional
|
from typing import List, Dict, Any, Optional
|
||||||
|
|
||||||
from config import Config
|
from ..config import Config
|
||||||
|
|
||||||
# Try to import both implementations
|
# Try to import both implementations
|
||||||
try:
|
try:
|
||||||
from custom_garth_mcp import CustomGarthMCP, GarthTool
|
from .custom_garth_mcp import CustomGarthMCP, GarthTool
|
||||||
CUSTOM_GARTH_AVAILABLE = True
|
CUSTOM_GARTH_AVAILABLE = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
CUSTOM_GARTH_AVAILABLE = False
|
CUSTOM_GARTH_AVAILABLE = False
|
||||||
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
Reference in New Issue
Block a user