export type ResourceSource = "builtin" | "user" | "project" | "git"; export interface RoutingMetadata { triggers?: string[]; useWhen?: string[]; avoidWhen?: string[]; cost?: "free" | "cheap" | "expensive"; category?: string; } export interface AgentConfig { name: string; description: string; source: ResourceSource; filePath: string; systemPrompt: string; model?: string; fallbackModels?: string[]; thinking?: string; tools?: string[]; extensions?: string[]; skills?: string[]; systemPromptMode?: "replace" | "append"; inheritProjectContext?: boolean; inheritSkills?: boolean; routing?: RoutingMetadata; memory?: "user" | "project" | "local"; disabled?: boolean; override?: { source: "config"; path: string }; }