temp
This commit is contained in:
18
dist/agents/registry.d.ts
vendored
Normal file
18
dist/agents/registry.d.ts
vendored
Normal 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[];
|
||||
Reference in New Issue
Block a user