feat(plugins): merge Skill management into plugins
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
export type SkillDisplayInfo = {
|
||||
name: string;
|
||||
description: string;
|
||||
};
|
||||
|
||||
const SKILL_DISPLAY_BY_ID: Record<string, SkillDisplayInfo> = {
|
||||
'agent-browser': {
|
||||
name: '开发浏览器',
|
||||
description: '打开、查看或调试本地及公网网页,读取 Console、Network、DOM 和样式信息。',
|
||||
},
|
||||
'data-service': {
|
||||
name: '开发数据服务',
|
||||
description: '为本地项目配置受控的开发数据,并在预览中验证真实读写。',
|
||||
},
|
||||
'frontend-slides': {
|
||||
name: '项目演示',
|
||||
description: '把项目内容整理成可播放的 16:9 HTML 幻灯片,不生成 PPTX 或云端发布。',
|
||||
},
|
||||
grilling: {
|
||||
name: '方案质询',
|
||||
description: '在重要工作开始前逐项澄清目标、范围和关键取舍,确认后再执行。',
|
||||
},
|
||||
'planning-with-files': {
|
||||
name: '项目规划',
|
||||
description: '为复杂任务维护可恢复的计划、发现和进展,直接记录在当前项目根目录。',
|
||||
},
|
||||
};
|
||||
|
||||
export function getSkillDisplayInfo(skillId: string): SkillDisplayInfo {
|
||||
return SKILL_DISPLAY_BY_ID[skillId] ?? {
|
||||
name: '自定义技能',
|
||||
description: '用于扩展智能体工作能力的自定义技能。',
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user