feat(web): add skills menu

This commit is contained in:
zhaoying
2026-02-05 10:53:16 +08:00
parent 161da723b9
commit 60231ec88d
26 changed files with 1722 additions and 47 deletions

View File

@@ -115,6 +115,7 @@ export const en = {
spaceConfig: 'Space Configuration',
ontology: 'Ontology Engineering',
prompt: 'Prompt Engineering',
skills: 'Skill Library',
},
dashboard: {
total_models: 'Available Models',
@@ -1248,6 +1249,22 @@ export const en = {
daily_new_users: 'Daily New Users',
daily_api_calls: 'Daily API Calls',
daily_tokens: 'Token Consumption',
skill: 'Skill Configuration',
skillTitle: 'Configure Agent skills and matching modes',
skillHelp: 'Help Center',
addSkill: 'Add Skill',
dynamicBindingSkill: 'Dynamic Optional Skills',
dynamicBindingSkill_subTitle: 'Skill pool that Agent can automatically match based on tasks',
dynamicBindingSkill_empty: 'No dynamic skills configured yet, click the button above to add or enable "Allow access to all skills"',
chooseSkill: 'Choose Skill',
allSkill: 'Allow access to all skills',
allSkillIntro: 'Access to all skills enabled, Agent will automatically match optimal skills based on tasks',
executeProcessPreview: 'Execution Process Preview',
receiveTask: 'Receive Task',
analyTask: 'Analyze Task Intent',
dynamicMatchSkill: 'Dynamic Match Skill',
executeTask: 'Execute Task',
},
userMemory: {
userMemory: 'User Memory',
@@ -2494,5 +2511,28 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
initialInput: 'Original Input',
saveTitle: 'Title',
},
skills: {
searchPlaceholder: 'Search skills',
create: 'Add Skill',
mainfest: 'Define Encapsulation Container',
name: 'Skill Name',
description: 'Brief Description',
descriptionPlaceholder: 'Describe the intent and purpose of the skill...',
keywords: 'Keywords',
promptConfiguration: 'Inject Experience Logic',
aiPrompt: 'AI Experience Refinement',
prompt_type: 'System Instructions / Expert Knowledge',
promptPlaceholder: 'Enter system instructions or expert knowledge...',
save: 'Save',
AIPromptAssistant: 'AI Experience Refinement',
model: 'Model',
promptChatEmpty: 'No conversation content available',
you: 'You',
ai: 'AI Assistant',
promptChatPlaceholder: 'Describe your requirements...',
conversationOptimizationPrompt: 'Refined Content',
apply: 'Apply',
tools: 'Tools',
},
},
};

View File

@@ -114,6 +114,7 @@ export const zh = {
spaceConfig: '空间配置',
ontology: '本体工程',
prompt: '提示词工程',
skills: '技能库',
},
knowledgeBase: {
home: '首页',
@@ -667,6 +668,22 @@ export const zh = {
daily_new_users: '新增用户数',
daily_api_calls: '调用次数',
daily_tokens: 'Token消耗',
skill: '技能配置',
skillTitle: '配置 Agent 可使用的技能及匹配模式',
skillHelp: '帮助中心',
addSkill: '添加技能',
dynamicBindingSkill: '动态可选技能',
dynamicBindingSkill_subTitle: 'Agent 可根据任务自动匹配的技能池',
dynamicBindingSkill_empty: '暂未配置动态技能,点击上方按钮添加或开启"允许访问所有技能"',
chooseSkill: '选择技能',
allSkill: '允许访问所有技能',
allSkillIntro: '已开启访问所有技能Agent 将根据任务自动匹配最优技能',
executeProcessPreview: '执行流程预览',
receiveTask: '收到任务',
analyTask: '分析任务意图',
dynamicMatchSkill: '动态匹配技能',
executeTask: '执行任务',
},
role: {
roleManagement: '角色管理',
@@ -2583,5 +2600,28 @@ export const zh = {
initialInput: '原始输入',
saveTitle: '标题',
},
skills: {
searchPlaceholder: '搜索技能',
create: '添加技能',
mainfest: '定义封装容器',
name: '技能名称',
description: '简要描述',
descriptionPlaceholder: '描述技能的意图和用途...',
keywords: '关键词',
promptConfiguration: '注入经验逻辑',
aiPrompt: 'AI 经验提炼',
prompt_type: '系统指令 / 专家知识',
promptPlaceholder: '输入系统指令或专家知识...',
save: '保存',
AIPromptAssistant: 'AI 经验提炼',
model: '模型',
promptChatEmpty: '目前没有对话内容',
you: '你',
ai: 'AI 助手',
promptChatPlaceholder: '描述你的需求...',
conversationOptimizationPrompt: '提炼内容',
apply: '应用',
tools: '工具',
},
},
}