/** * Registry-related types */ import type { AgentDefinition, ToolDefinition } from '../schemas'; /** * Resolved agent with metadata */ export interface ResolvedAgent { definition: AgentDefinition; source: 'local' | 'global' | 'stockyard'; version: string; path: string; } /** * Resolved tool with metadata */ export interface ResolvedTool { definition: ToolDefinition; source: 'local' | 'global' | 'stockyard'; version: string; path: string; } /** * Registry resolver interface */ export interface IRegistryResolver { name: string; canResolve(identifier: string): boolean; resolveAgent(identifier: string): Promise; resolveTool(identifier: string): Promise; } /** * Parsed name with version constraint */ export interface ParsedName { name: string; versionRange: string; } /** * Registry configuration */ export interface RegistryConfig { local: { enabled: boolean; paths: string[]; }; global: { enabled: boolean; path: string; }; stockyard: { enabled: boolean; url?: string; apiKey?: string; }; } //# sourceMappingURL=types.d.ts.map