feat: initialize monorepo with package.json for CCW workflow platform

This commit is contained in:
catlog22
2026-02-03 14:42:20 +08:00
parent 5483a72e9f
commit 39b80b3386
267 changed files with 99597 additions and 2658 deletions

View File

@@ -68,32 +68,99 @@
}
},
"cliHooks": {
"title": "Git 钩子",
"description": "管理用于自动化工作流的 Git 钩子",
"title": "钩子管理器",
"description": "管理自动化工作流的 CLI 钩子",
"trigger": {
"SessionStart": "会话开始",
"UserPromptSubmit": "用户提交指令",
"PreToolUse": "工具使用前",
"PostToolUse": "工具使用后",
"Stop": "停止",
"pre-commit": "提交前",
"post-commit": "提交后",
"pre-push": "推送前",
"custom": "自定义"
},
"stats": {
"total": "钩子总数",
"enabled": "已启用"
"total": "{count, plural, =0 {无钩子} one {# 个钩子} other {# 个钩子}}",
"enabled": "{count, plural, =0 {无激活} one {# 个激活} other {# 个激活}}",
"count": "{enabled}/{total} 个已启用"
},
"filters": {
"trigger": "触发器",
"allTriggers": "全部触发器",
"searchPlaceholder": "按名称搜索钩子..."
"searchPlaceholder": "按名称、描述、命令或触发器搜索..."
},
"actions": {
"add": "添加钩子",
"addFirst": "添加您的第一个钩子",
"edit": "编辑钩子",
"delete": "删除钩子",
"toggle": "切换钩子"
"deleteConfirm": "确定要删除钩子 \"{hookName}\" 吗?",
"enable": "启用",
"disable": "禁用",
"toggle": "切换钩子",
"expand": "展开",
"collapse": "收起",
"expandAll": "全部展开",
"collapseAll": "全部收起"
},
"emptyState": {
"title": "未找到 Git 钩子",
"message": "添加 Git 钩子以在 Git 工作流期间自动化任务。"
"form": {
"name": "钩子名称",
"description": "描述",
"trigger": "触发事件",
"matcher": "匹配模式",
"command": "命令"
},
"quickTemplates": {
"title": "快速安装模板",
"description": "一键安装常用钩子"
},
"templates": {
"title": "快速安装模板",
"description": "一键安装常用钩子",
"categories": {
"notification": "通知",
"indexing": "索引",
"automation": "自动化"
},
"templates": {
"session-start-notify": {
"name": "会话启动通知",
"description": "当新工作流会话创建时通知仪表盘"
},
"session-state-watch": {
"name": "会话状态监控",
"description": "监控会话元数据文件变更 (workflow-session.json)"
}
},
"actions": {
"install": "安装",
"installed": "已安装"
}
},
"wizards": {
"sectionTitle": "钩子向导",
"sectionDescription": "通过分步引导创建常见钩子",
"launch": "启动向导",
"memoryUpdate": {
"title": "记忆更新钩子",
"shortDescription": "自动更新 CLAUDE.md"
},
"dangerProtection": {
"title": "危险操作保护",
"shortDescription": "保护危险操作"
},
"skillContext": {
"title": "SKILL 上下文钩子",
"shortDescription": "自动注入 SKILL 上下文"
}
},
"allTools": "全部工具",
"empty": {
"title": "暂无钩子",
"description": "开始添加您的第一个钩子或使用快速模板",
"noHooksInEvent": "此事件未配置钩子"
}
},
"cliRules": {

View File

@@ -55,7 +55,8 @@
"select": "选择",
"selectAll": "全选",
"deselectAll": "取消全选",
"openMenu": "打开菜单"
"openMenu": "打开菜单",
"resetLayout": "重置布局"
},
"status": {
"active": "活跃",
@@ -178,15 +179,65 @@
"help": {
"title": "帮助与文档",
"description": "了解如何使用 CCW 仪表板并充分利用您的工作流",
"fullDocs": "完整文档",
"viewAll": "查看全部",
"getStarted": "开始使用",
"support": {
"title": "需要更多帮助?",
"description": "查看项目文档或联系支持。",
"documentation": "文档",
"tutorials": "教程"
},
"searchDocs": {
"title": "搜索文档",
"description": "使用全面的文档搜索快速找到答案",
"button": "搜索文档"
}
},
"all": "全部",
"yes": "是",
"no": "否",
"navigation": {
"header": {
"brand": "CCW 仪表板"
},
"main": {
"home": "主页",
"project": "项目",
"sessions": "会话",
"liteTasks": "轻量任务",
"orchestrator": "编排器",
"coordinator": "协调器",
"executions": "执行监控",
"loops": "循环",
"history": "历史",
"memory": "记忆",
"prompts": "提示词",
"skills": "技能",
"commands": "命令",
"issues": "问题",
"hooks": "钩子",
"settings": "设置",
"rules": "规则",
"codexlens": "CodexLens",
"apiSettings": "API 设置",
"help": "帮助"
},
"groups": {
"overview": "概览",
"workflow": "工作流",
"knowledge": "知识",
"issues": "问题",
"tools": "工具",
"configuration": "配置"
},
"sidebar": {
"collapse": "收起",
"collapseAria": "收起侧边栏",
"expand": "展开",
"expandAria": "展开侧边栏"
}
},
"askQuestion": {
"defaultTitle": "问题",
"description": "请回答以下问题",
@@ -196,6 +247,12 @@
"required": "此问题为必填项"
},
"coordinator": {
"page": {
"title": "协调器",
"status": "状态:{status}",
"startButton": "启动协调器",
"noNodeSelected": "选择节点以查看详细信息"
},
"modal": {
"title": "启动协调器",
"description": "描述您希望协调器执行的任务"
@@ -260,5 +317,184 @@
"error": {
"submitFailed": "提交答案失败"
}
},
"feedback": {
"error": {
"network": "网络错误,请检查您的连接并重试。",
"timeout": "请求超时,请重试。",
"auth": "身份验证失败,请检查您的权限。",
"validation": "请检查您的输入并重试。",
"server": "服务器错误,请稍后重试。",
"notFound": "未找到请求的资源。",
"unknown": "发生意外错误,请重试。"
},
"skillToggle": {
"success": "技能状态更新成功",
"error": "更新技能状态失败"
},
"skillEnable": {
"success": "技能启用成功",
"error": "启用技能失败"
},
"skillDisable": {
"success": "技能禁用成功",
"error": "禁用技能失败"
},
"commandExecute": {
"success": "命令执行成功",
"error": "执行命令失败"
},
"commandToggle": {
"success": "命令状态已更新",
"error": "更新命令状态失败"
},
"sessionCreate": {
"success": "会话创建成功",
"error": "创建会话失败"
},
"sessionDelete": {
"success": "会话删除成功",
"error": "删除会话失败"
},
"sessionUpdate": {
"success": "会话更新成功",
"error": "更新会话失败"
},
"settingsSave": {
"success": "设置保存成功",
"error": "保存设置失败"
},
"settingsReset": {
"success": "设置已重置为默认值",
"error": "重置设置失败"
},
"memoryImport": {
"success": "记忆导入成功",
"error": "导入记忆失败"
},
"memoryExport": {
"success": "记忆导出成功",
"error": "导出记忆失败"
},
"memoryDelete": {
"success": "记忆删除成功",
"error": "删除记忆失败"
},
"coordinatorStart": {
"success": "协调器启动成功",
"error": "启动协调器失败"
},
"coordinatorStop": {
"success": "协调器已停止",
"error": "停止协调器失败"
},
"hookToggle": {
"success": "钩子状态已更新",
"error": "更新钩子状态失败"
},
"indexRebuild": {
"success": "索引重建已开始",
"error": "重建索引失败"
},
"ruleCreate": {
"success": "规则创建成功",
"error": "创建规则失败"
},
"ruleUpdate": {
"success": "规则更新成功",
"error": "更新规则失败"
},
"ruleDelete": {
"success": "规则删除成功",
"error": "删除规则失败"
},
"promptCreate": {
"success": "提示词创建成功",
"error": "创建提示词失败"
},
"promptUpdate": {
"success": "提示词更新成功",
"error": "更新提示词失败"
},
"promptDelete": {
"success": "提示词删除成功",
"error": "删除提示词失败"
},
"providerCreate": {
"success": "提供商创建成功",
"error": "创建提供商失败"
},
"providerUpdate": {
"success": "提供商更新成功",
"error": "更新提供商失败"
},
"providerDelete": {
"success": "提供商删除成功",
"error": "删除提供商失败"
},
"cliToolInstall": {
"success": "工具安装成功",
"error": "安装工具失败"
},
"cliToolUninstall": {
"success": "工具卸载成功",
"error": "卸载工具失败"
},
"cliToolUpgrade": {
"success": "工具升级成功",
"error": "升级工具失败"
},
"codexLensConfigUpdate": {
"success": "配置更新成功",
"error": "更新配置失败"
},
"codexLensBootstrap": {
"success": "CodexLens 初始化成功",
"error": "初始化 CodexLens 失败"
},
"codexLensInstallSemantic": {
"success": "语义依赖安装完成",
"error": "安装语义依赖失败"
},
"codexLensUninstall": {
"success": "CodexLens 已卸载",
"error": "卸载 CodexLens 失败"
},
"codexLensDownloadModel": {
"success": "模型下载成功",
"error": "下载模型失败"
},
"codexLensDeleteModel": {
"success": "模型删除成功",
"error": "删除模型失败"
},
"codexLensUpdateEnv": {
"success": "环境变量已更新",
"error": "更新环境变量失败"
},
"codexLensSelectGpu": {
"success": "GPU 选择成功",
"error": "选择 GPU 失败"
},
"codexLensResetGpu": {
"success": "GPU 重置成功",
"error": "重置 GPU 失败"
},
"codexLensUpdatePatterns": {
"success": "忽略模式已更新",
"error": "更新忽略模式失败"
},
"codexLensRebuildIndex": {
"success": "索引重建已开始",
"error": "重建索引失败"
},
"codexLensUpdateIndex": {
"success": "索引更新已开始",
"error": "更新索引失败"
},
"codexLensCancelIndexing": {
"success": "索引已取消",
"error": "取消索引失败"
}
}
}

View File

@@ -1,6 +1,11 @@
{
"title": "首页",
"description": "仪表板概览与统计",
"dashboard": {
"title": "仪表板",
"description": "工作流会话和任务统计概览",
"refreshTooltip": "刷新仪表板数据"
},
"stats": {
"activeSessions": "活跃会话",
"totalTasks": "总任务",
@@ -16,6 +21,11 @@
"openIssues": "开放问题",
"quickActions": "快速操作"
},
"widgets": {
"workflowStatus": "工作流状态",
"activity": "活动时间线",
"taskTypes": "任务类型"
},
"emptyState": {
"noSessions": {
"title": "未找到会话",
@@ -48,6 +58,24 @@
"title": "CLI 集成",
"description": "使用 CCW 命令和 CLI 工具集成",
"heading": "CLI 集成"
},
"commands": {
"title": "命令参考",
"description": "浏览 40+ 命令涵盖工作流、问题、CLI 和内存类别"
},
"commandsOverview": {
"title": "命令文档",
"description": "探索所有可用的 CCW 命令,包含详细文档和示例"
},
"workflowsOverview": {
"title": "工作流指南",
"description": "15 种工作流级别的交互式指南,从超轻量到智能工作流"
},
"quickStart": {
"title": "快速开始",
"description": "在几分钟内上手 CCW",
"guide": "入门指南",
"faq": "常见问题"
}
},
"errors": {

View File

@@ -40,6 +40,12 @@
"completed": "已完成",
"updated": "更新于"
},
"taskStatus": {
"pending": "待处理",
"inProgress": "进行中",
"completed": "已完成",
"failed": "失败"
},
"detail": {
"overview": "概览",
"tasks": "任务",

View File

@@ -38,8 +38,16 @@
"category": "类别",
"source": "来源",
"author": "作者",
"version": "版本"
"version": "版本",
"description": "描述"
},
"allowedTools": "允许的工具",
"files": "文件",
"path": "路径",
"metadata": "元数据",
"noDescription": "暂无描述",
"projectSkills": "项目技能",
"userSkills": "用户技能",
"filters": {
"all": "全部",
"enabled": "已启用",