forked from Rockachopa/Timmy-time-dashboard
feat: code quality audit + autoresearch integration + infra hardening (#150)
This commit is contained in:
committed by
GitHub
parent
fd0ede0d51
commit
ae3bb1cc21
@@ -11,15 +11,17 @@ the tool registry.
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
from infrastructure.hands.shell import shell_hand
|
||||
from infrastructure.hands.git import git_hand
|
||||
from infrastructure.hands.shell import shell_hand
|
||||
|
||||
try:
|
||||
from mcp.schemas.base import create_tool_schema
|
||||
except ImportError:
|
||||
|
||||
def create_tool_schema(**kwargs):
|
||||
return kwargs
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# ── Tool schemas ─────────────────────────────────────────────────────────────
|
||||
@@ -83,6 +85,7 @@ PERSONA_LOCAL_HAND_MAP: dict[str, list[str]] = {
|
||||
|
||||
# ── Handlers ─────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
async def _handle_shell(**kwargs: Any) -> str:
|
||||
"""Handler for the shell MCP tool."""
|
||||
command = kwargs.get("command", "")
|
||||
|
||||
Reference in New Issue
Block a user