/** 声明式 Agent 定义(从 .agents/*.md 解析) */ export interface DeclaredAgentProfile { /** Agent 名称 */ name: string; /** 描述 */ description?: string; /** Agent 图标(emoji) */ icon?: string; /** Agent 类型 */ agentType?: 'default' | 'specialist' | 'remote'; /** 模型名称 */ model?: string; /** 最大迭代次数 */ maxIterations?: number; /** 最大消息数 */ maxMessages?: number; /** 工具超时(毫秒) */ toolTimeout?: number; /** 选定的工具列表 */ selectedTools?: string[]; /** 禁用的工具列表 */ disabledTools?: string[]; /** 选定的 Skill ID 列表 */ selectedSkills?: string[]; /** 始终注入的 Skill ID 列表 */ alwaysInjectSkills?: string[]; /** 系统提示词(Markdown body) */ basePrompt?: string; /** 源文件路径 */ filePath?: string; } /** * 从 Markdown 文件解析声明式 Agent 定义 * * 文件格式: * ``` * --- * name: 数据分析师 * description: 专业的数据分析 Agent * icon: 📊 * model: gpt-4o * maxIterations: 20 * selectedTools: [query_db, web_fetch] * selectedSkills: [data-analysis] * --- * 你是一个专业的数据分析师... * ``` */ export declare function parseAgentProfile(filePath: string): DeclaredAgentProfile | null; /** * 从目录加载所有声明式 Agent 定义 * @param dir .agents/ 目录路径 * @returns 解析出的 Agent 定义列表 */ export declare function loadAgentProfilesFromDir(dir: string): DeclaredAgentProfile[]; //# sourceMappingURL=profile-loader.d.ts.map