/** * Task → agent/backend dispatch cheat sheet (Plan A). * * Backends bind via existing llmRoles: * - financeAnalysis → llmRoles.finance * - dataCollect → llmRoles.cheap * * Agents for each row live in optional config.dispatchRoutes * (dropdowns in Settings → LLM). Prompt renders concrete names only * when bound — never hardcodes deepseek. */ /** llmRoles key for 中文金融分析 / 报告. */ export declare const DISPATCH_FINANCE_ROLE: "finance"; /** llmRoles key for 批量采集(reuse cheap). */ export declare const DISPATCH_DATA_ROLE: "cheap"; export declare const DEFAULT_DISPATCH_CODING_AGENTS: readonly ["codex", "claude-code"]; export declare const DEFAULT_DISPATCH_SAME_FAMILY_AGENT: "agim"; export interface DispatchRoutesStored { /** Up to 3 CLI agents for coding tasks. */ codingAgents?: string[]; /** Agent for finance analysis (usually agim). */ financeAgent?: string; /** Agent for bulk data collection (usually agim). */ dataAgent?: string; } export interface EffectiveDispatchRoutes { codingAgents: string[]; finance: { agent: string; backend: string | null; role: typeof DISPATCH_FINANCE_ROLE; }; dataCollect: { agent: string; backend: string | null; role: typeof DISPATCH_DATA_ROLE; }; } export declare function readDispatchRoutesStored(config: unknown): DispatchRoutesStored; /** Persist only non-default agent picks (backends stay in llmRoles). */ export declare function dispatchRoutesForPersist(stored: DispatchRoutesStored): DispatchRoutesStored | undefined; export declare function resolveDispatchRoutes(opts: { config?: unknown; roles?: Record; /** When set, coding agents are intersected with this enabled list. */ enabledAgents?: string[]; }): EffectiveDispatchRoutes; /** * Compact cheat sheet for Agim system prompt. * Omits fabricated vendor names; uses configured bindings only. */ export declare function formatDispatchCheatSheetForPrompt(routes: EffectiveDispatchRoutes): string; /** Live cheat sheet from config + llmRoles registry. */ export declare function getDispatchCheatSheetForPrompt(): string; //# sourceMappingURL=dispatch-routes.d.ts.map