This repository has been archived on 2026-06-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
master-ai/vibn-agent-runner/dist/agents/registry.d.ts

19 lines
674 B
TypeScript

export type ToolDefinition = any;
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[];