feat: enhance MCP server management and system settings

- Added functionality to save MCP server configurations as templates in the MCP Manager.
- Implemented new hooks for managing system settings including Chinese response, Windows platform, and Codex CLI enhancements.
- Updated API calls to support fetching and toggling system settings.
- Introduced UI components for displaying and managing response language settings and system status.
- Enhanced error handling and notifications for server deletion and template saving actions.
- Updated localization files for new settings and descriptions in English and Chinese.
This commit is contained in:
catlog22
2026-02-07 21:17:18 +08:00
parent d29527ae16
commit 2094c1085b
52 changed files with 2061 additions and 602 deletions

View File

@@ -65,5 +65,45 @@
"emptyState": {
"title": "未找到技能",
"message": "没有符合当前筛选条件的技能。"
},
"create": {
"title": "创建技能",
"location": "存储位置",
"locationProject": "项目技能",
"locationProjectHint": ".claude/skills/",
"locationUser": "全局技能",
"locationUserHint": "~/.claude/skills/",
"mode": "创建方式",
"modeImport": "导入文件夹",
"modeImportHint": "从现有文件夹导入技能",
"modeGenerate": "AI 生成",
"modeGenerateHint": "使用 AI 生成技能",
"sourcePath": "源文件夹路径",
"sourcePathPlaceholder": "输入技能文件夹的绝对路径",
"sourcePathHint": "文件夹中需要包含 SKILL.md 文件",
"customName": "自定义名称",
"customNamePlaceholder": "留空则使用原始名称",
"customNameHint": "可选,用于覆盖默认技能名称",
"skillName": "技能名称",
"skillNamePlaceholder": "输入技能名称",
"skillNameHint": "用作技能文件夹名称",
"descriptionLabel": "技能描述",
"descriptionPlaceholder": "描述这个技能应该做什么...",
"descriptionHint": "AI 将根据描述生成技能内容",
"generateInfo": "AI 将使用 CLI 工具生成技能",
"generateTimeHint": "生成过程可能需要一些时间",
"validate": "验证",
"import": "导入",
"generate": "生成",
"validating": "验证中...",
"validSkill": "验证通过",
"invalidSkill": "验证失败",
"creating": "创建中...",
"created": "技能 \"{name}\" 创建成功",
"createError": "创建技能失败",
"sourcePathRequired": "请输入源文件夹路径",
"skillNameRequired": "请输入技能名称",
"descriptionRequired": "请输入技能描述",
"validateFirst": "请先验证技能文件夹"
}
}