/** * Agent MCP Tools — persistent store and model routing. * Extracted from agent-tools.ts. */ export type ClaudeModel = 'haiku' | 'sonnet' | 'opus' | 'inherit'; export interface AgentRecord { agentId: string; agentType: string; status: 'idle' | 'busy' | 'terminated'; health: number; taskCount: number; config: Record; createdAt: string; domain?: string; model?: ClaudeModel; modelRoutedBy?: 'explicit' | 'router' | 'default'; lastResult?: Record; } export interface AgentStore { agents: Record; version: string; } export declare function loadAgentStore(): AgentStore; export declare function loadAgentStoreOrNull(): AgentStore | null; export declare function saveAgentStore(store: AgentStore): void; /** * Determine model for agent based on (ADR-026 3-tier routing): * 1. Explicit model in config * 2. Enhanced task-based routing with Agent Booster AST (if task provided) * 3. Agent type defaults * 4. Fallback to sonnet */ export declare function determineAgentModel(agentType: string, config: Record, _task?: string): Promise<{ model: ClaudeModel; routedBy: 'explicit' | 'router' | 'default'; canSkipLLM?: boolean; agentBoosterIntent?: string; tier?: 1 | 2 | 3; }>; //# sourceMappingURL=agent-tools-store.d.ts.map