This commit is contained in:
2026-05-17 12:43:53 -07:00
commit 7c8def0aaa
7507 changed files with 1419399 additions and 0 deletions

18
dist/agents/registry.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
import { ToolDefinition } from '../tools';
export interface AgentConfig {
name: string;
description: string;
model: string;
promptId: string;
tools: ToolDefinition[];
}
export declare function registerAgent(config: AgentConfig): void;
export declare function getAgent(name: string): AgentConfig | undefined;
export declare function allAgents(): AgentConfig[];
/**
* Backwards-compatible AGENTS object — populated as agents register.
* server.ts uses AGENTS[name] and Object.values(AGENTS).
*/
export declare const AGENTS: Record<string, AgentConfig>;
/** Pick tools from ALL_TOOLS by name. */
export declare function pick(names: string[]): ToolDefinition[];