@xwm111/ccs 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +65 -0
- package/bin/ccs.mjs +2 -0
- package/dist/chunks/auto-updater.mjs +1708 -0
- package/dist/chunks/claude-code-incremental-manager.mjs +576 -0
- package/dist/chunks/installer.mjs +610 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.mjs +2407 -0
- package/dist/i18n/locales/en/api.json +51 -0
- package/dist/i18n/locales/en/cli.json +58 -0
- package/dist/i18n/locales/en/common.json +19 -0
- package/dist/i18n/locales/en/configuration.json +81 -0
- package/dist/i18n/locales/en/errors.json +26 -0
- package/dist/i18n/locales/en/installation.json +80 -0
- package/dist/i18n/locales/en/language.json +19 -0
- package/dist/i18n/locales/en/menu.json +31 -0
- package/dist/i18n/locales/en/multi-config.json +79 -0
- package/dist/i18n/locales/en/uninstall.json +56 -0
- package/dist/i18n/locales/en/updater.json +26 -0
- package/dist/i18n/locales/zh-CN/api.json +51 -0
- package/dist/i18n/locales/zh-CN/cli.json +58 -0
- package/dist/i18n/locales/zh-CN/common.json +19 -0
- package/dist/i18n/locales/zh-CN/configuration.json +81 -0
- package/dist/i18n/locales/zh-CN/errors.json +26 -0
- package/dist/i18n/locales/zh-CN/installation.json +80 -0
- package/dist/i18n/locales/zh-CN/language.json +19 -0
- package/dist/i18n/locales/zh-CN/menu.json +31 -0
- package/dist/i18n/locales/zh-CN/multi-config.json +79 -0
- package/dist/i18n/locales/zh-CN/uninstall.json +56 -0
- package/dist/i18n/locales/zh-CN/updater.json +26 -0
- package/dist/index.d.mts +222 -0
- package/dist/index.d.ts +222 -0
- package/dist/index.mjs +18 -0
- package/package.json +109 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"help.commands": "命令",
|
|
3
|
+
"help.shortcuts": "快捷方式",
|
|
4
|
+
"help.options": "选项",
|
|
5
|
+
"help.examples": "示例",
|
|
6
|
+
"help.nonInteractiveMode": "非交互模式(适用于CI/CD)",
|
|
7
|
+
"help.commandDescriptions.showInteractiveMenuDefault": "显示交互式菜单(默认)",
|
|
8
|
+
"help.commandDescriptions.initClaudeCodeConfig": "初始化 Claude Code 配置",
|
|
9
|
+
"help.commandDescriptions.updateWorkflowFiles": "仅更新工作流相关md",
|
|
10
|
+
"help.commandDescriptions.configureCcrProxy": "配置模型路由代理",
|
|
11
|
+
"help.commandDescriptions.claudeCodeUsageAnalysis": "Claude Code 用量统计分析",
|
|
12
|
+
"help.commandDescriptions.uninstallConfigurations": "删除 Claude Code 配置和工具",
|
|
13
|
+
"help.commandDescriptions.checkUpdateVersions": "检查并更新到最新版本",
|
|
14
|
+
"help.shortcutDescriptions.quickInit": "快速初始化",
|
|
15
|
+
"help.shortcutDescriptions.quickUpdate": "快速更新",
|
|
16
|
+
"help.shortcutDescriptions.quickCheckUpdates": "快速检查更新",
|
|
17
|
+
"help.optionDescriptions.displayLanguage": "显示语言",
|
|
18
|
+
"help.optionDescriptions.configurationLanguage": "配置语言",
|
|
19
|
+
"help.optionDescriptions.forceOverwrite": "强制覆盖现有配置",
|
|
20
|
+
"help.optionDescriptions.displayHelp": "显示帮助",
|
|
21
|
+
"help.optionDescriptions.displayVersion": "显示版本",
|
|
22
|
+
"help.optionDescriptions.skipAllPrompts": "跳过所有交互提示",
|
|
23
|
+
"help.optionDescriptions.apiType": "API类型",
|
|
24
|
+
"help.optionDescriptions.apiKey": "API密钥(适用于所有类型)",
|
|
25
|
+
"help.optionDescriptions.customApiUrl": "自定义API地址",
|
|
26
|
+
"help.optionDescriptions.apiModel": "主API模型",
|
|
27
|
+
"help.optionDescriptions.apiHaikuModel": "默认 Haiku 模型",
|
|
28
|
+
"help.optionDescriptions.apiSonnetModel": "默认 Sonnet 模型",
|
|
29
|
+
"help.optionDescriptions.apiOpusModel": "默认 Opus 模型",
|
|
30
|
+
"help.optionDescriptions.aiOutputLanguage": "AI输出语言",
|
|
31
|
+
"help.optionDescriptions.setAllLanguageParams": "统一设置所有语言参数",
|
|
32
|
+
"help.optionDescriptions.configHandling": "配置处理",
|
|
33
|
+
"help.optionDescriptions.mcpServices": "MCP服务",
|
|
34
|
+
"help.optionDescriptions.workflows": "工作流",
|
|
35
|
+
"help.optionDescriptions.outputStyles": "输出样式",
|
|
36
|
+
"help.optionDescriptions.defaultOutputStyle": "默认输出样式",
|
|
37
|
+
"help.optionDescriptions.installStatuslineTool": "安装状态栏工具",
|
|
38
|
+
"help.optionDescriptions.codeToolType": "代码工具类型",
|
|
39
|
+
"help.exampleDescriptions.showInteractiveMenu": "显示交互式菜单",
|
|
40
|
+
"help.exampleDescriptions.runFullInitialization": "运行完整初始化",
|
|
41
|
+
"help.exampleDescriptions.updateWorkflowFilesOnly": "仅更新工作流相关md文件",
|
|
42
|
+
"help.exampleDescriptions.configureClaudeCodeRouter": "配置 Claude Code Router",
|
|
43
|
+
"help.exampleDescriptions.runClaudeCodeUsageAnalysis": "运行 Claude Code 用量分析",
|
|
44
|
+
"help.exampleDescriptions.uninstallConfigurations": "卸载配置和工具",
|
|
45
|
+
"help.exampleDescriptions.checkAndUpdateTools": "检查并更新工具",
|
|
46
|
+
"help.exampleDescriptions.checkClaudeCode": "检查并更新Claude Code工具",
|
|
47
|
+
"help.exampleDescriptions.checkCodex": "检查并更新Codex工具",
|
|
48
|
+
"help.exampleDescriptions.nonInteractiveModeCicd": "非交互模式(CI/CD)",
|
|
49
|
+
"banner.subtitle": "Claude Code 一键配置工具",
|
|
50
|
+
"banner.updateSubtitle": "更新 Claude Code 配置",
|
|
51
|
+
"help.defaults.dailyUsage": "每日用量(默认)",
|
|
52
|
+
"help.defaults.interactiveUninstall": "交互式卸载菜单",
|
|
53
|
+
"help.defaults.updateTools": "更新 Claude Code 和 ccs",
|
|
54
|
+
"help.defaults.prefix": "默认:",
|
|
55
|
+
"help.commandDescriptions.switchConfiguration": "切换 Claude Code API 配置",
|
|
56
|
+
"help.optionDescriptions.listConfigurations": "列出可用配置",
|
|
57
|
+
"help.exampleDescriptions.switchConfiguration": "切换 API 配置"
|
|
58
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"multiSelectHint": "(空格选择,a全选,i反选,回车确认)",
|
|
3
|
+
"skip": "跳过",
|
|
4
|
+
"emptyToSkip": "(空内容回车则跳过)",
|
|
5
|
+
"cancelled": "操作已取消",
|
|
6
|
+
"error": "错误",
|
|
7
|
+
"complete": "🎉 配置完成!使用 'claude' 命令开始体验。",
|
|
8
|
+
"none": "无",
|
|
9
|
+
"enterChoice": "请输入选项,回车确认(不区分大小写)",
|
|
10
|
+
"invalidChoice": "无效选择。请输入有效选项。",
|
|
11
|
+
"goodbye": "👋 感谢使用 ccs!再见!",
|
|
12
|
+
"returnToMenu": "返回主菜单?",
|
|
13
|
+
"back": "返回",
|
|
14
|
+
"operationFailed": "操作失败",
|
|
15
|
+
"backupCreated": "📁 已创建配置备份:{{path}}",
|
|
16
|
+
"current": "当前",
|
|
17
|
+
"claudeCode": "Claude Code",
|
|
18
|
+
"yes": "是"
|
|
19
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"addedLanguageDirective": "已添加语言指令",
|
|
3
|
+
"aiLanguageConfigured": "AI 输出语言已配置",
|
|
4
|
+
"backupAndOverwrite": "备份并覆盖全部",
|
|
5
|
+
"backupSuccess": "已备份所有配置文件到",
|
|
6
|
+
"cleanupLegacyFiles": "是否清理旧版配置文件?",
|
|
7
|
+
"configSuccess": "配置文件已复制到",
|
|
8
|
+
"configureAiLanguage": "配置 AI 输出语言",
|
|
9
|
+
"configureOutputStyle": "配置全局 AI 输出风格",
|
|
10
|
+
"configureSystemPromptStyle": "配置全局 AI 系统提示词风格",
|
|
11
|
+
"customModelConfigured": "自定义模型配置完成",
|
|
12
|
+
"customModelOption": "自定义 - 指定自定义模型名称",
|
|
13
|
+
"customModelSkipped": "已跳过自定义模型配置",
|
|
14
|
+
"currentLanguage": "当前语言",
|
|
15
|
+
"currentModel": "当前模型",
|
|
16
|
+
"defaultModelOption": "默认 - 让 Claude Code 自动选择",
|
|
17
|
+
"defaultStyle": "默认风格",
|
|
18
|
+
"enterHaikuModel": "请输入默认 Haiku 模型名称",
|
|
19
|
+
"enterSonnetModel": "请输入默认 Sonnet 模型名称",
|
|
20
|
+
"enterOpusModel": "请输入默认 Opus 模型名称",
|
|
21
|
+
"enterPrimaryModel": "请输入主要使用的模型名称",
|
|
22
|
+
"envImportSuccess": "环境变量已导入",
|
|
23
|
+
"existingConfig": "检测到已有配置文件,如何处理?",
|
|
24
|
+
"existingLanguageConfig": "检测到已有 AI 输出语言配置",
|
|
25
|
+
"existingModelConfig": "检测到已有模型配置",
|
|
26
|
+
"fixWindowsMcp": "修复 Windows MCP 配置?",
|
|
27
|
+
"importRecommendedEnv": "导入 ccs 推荐环境变量",
|
|
28
|
+
"importRecommendedEnvDesc": "隐私保护变量、MCP 超时设置等",
|
|
29
|
+
"importRecommendedPermissions": "导入 ccs 推荐权限配置",
|
|
30
|
+
"importRecommendedPermissionsDesc": "几乎全部权限,减少频繁请求权限,危险操作由规则限制",
|
|
31
|
+
"keepLanguage": "保持当前语言配置",
|
|
32
|
+
"keepModel": "保持当前模型配置",
|
|
33
|
+
"legacyFilesDetected": "检测到旧版个性配置文件",
|
|
34
|
+
"legacyFilesRemoved": "旧版配置文件已清理",
|
|
35
|
+
"mergeConfig": "合并配置",
|
|
36
|
+
"modelConfigured": "默认模型已配置",
|
|
37
|
+
"modifyLanguage": "是否修改 AI 输出语言?",
|
|
38
|
+
"modifyModel": "是否修改模型配置?",
|
|
39
|
+
"openSettingsJson": "打开 settings.json 手动配置",
|
|
40
|
+
"openSettingsJsonDesc": "高级用户自定义",
|
|
41
|
+
"openingSettingsJson": "正在打开 settings.json...",
|
|
42
|
+
"opusModelOption": "Opus - 只用opus,token消耗高,慎用",
|
|
43
|
+
"sonnet1mModelOption": "Sonnet 1M - 1M上下文版本",
|
|
44
|
+
"noOutputStyle": "不使用输出风格",
|
|
45
|
+
"noOutputStyleDesc": "不设置任何输出风格,使用 Claude Code 原始行为",
|
|
46
|
+
"outputStyleCleared": "已清除输出风格设置",
|
|
47
|
+
"outputStyleInstalled": "输出风格安装成功",
|
|
48
|
+
"outputStyles.default.description": "完成编码任务时高效且提供简洁响应 (Claude Code自带)",
|
|
49
|
+
"outputStyles.default.name": "默认风格",
|
|
50
|
+
"outputStyles.engineer-professional.description": "专业的软件工程师,严格遵循SOLID、KISS、DRY、YAGNI原则",
|
|
51
|
+
"outputStyles.engineer-professional.name": "工程师专业版",
|
|
52
|
+
"outputStyles.explanatory.description": "解释其实现选择和代码库模式 (Claude Code自带)",
|
|
53
|
+
"outputStyles.explanatory.name": "解释风格",
|
|
54
|
+
"outputStyles.laowang-engineer.description": "老王暴躁技术流,绝不容忍代码报错和不规范的代码",
|
|
55
|
+
"outputStyles.laowang-engineer.name": "老王暴躁技术流",
|
|
56
|
+
"outputStyles.learning.description": "协作式的边做边学模式,暂停并要求您编写小段代码进行实践练习 (Claude Code自带)",
|
|
57
|
+
"outputStyles.learning.name": "学习风格",
|
|
58
|
+
"outputStyles.nekomata-engineer.description": "专业的猫娘工程师幽浮喵,结合严谨工程师素养与可爱猫娘特质",
|
|
59
|
+
"outputStyles.nekomata-engineer.name": "猫娘工程师",
|
|
60
|
+
"outputStyles.ojousama-engineer.description": "傲娇金发大小姐程序员哈雷酱,融合严谨工程师素养与傲娇大小姐特质",
|
|
61
|
+
"outputStyles.ojousama-engineer.name": "傲娇大小姐工程师",
|
|
62
|
+
"outputStyles.leibus-engineer.description": "工程师出身的营销鬼才,用极致的产品思维和严谨的工程素养为你提供技术服务",
|
|
63
|
+
"outputStyles.leibus-engineer.name": "雷布斯工程师",
|
|
64
|
+
"outputStyles.rem-engineer.description": "忠诚的蓝发女仆程序员蕾姆,融合极度温柔的奉献精神与冷静果敢的执行力",
|
|
65
|
+
"outputStyles.rem-engineer.name": "蕾姆女仆工程师",
|
|
66
|
+
"permissionsImportSuccess": "权限配置已导入",
|
|
67
|
+
"selectAtLeastOne": "请至少选择一个输出风格",
|
|
68
|
+
"selectDefaultModel": "选择默认模型",
|
|
69
|
+
"selectDefaultOutputStyle": "选择全局默认输出风格",
|
|
70
|
+
"selectEnvPermissionOption": "请选择配置选项",
|
|
71
|
+
"selectMemoryOption": "选择配置选项",
|
|
72
|
+
"selectOutputStyles": "选择要安装的输出风格",
|
|
73
|
+
"selectedStyles": "已选择风格",
|
|
74
|
+
"singleConfigSaved": "配置 {{name}} 已保存",
|
|
75
|
+
"singleConfigSaveFailed": "配置保存失败",
|
|
76
|
+
"updateDocsOnly": "仅更新工作流相关md并备份旧配置",
|
|
77
|
+
"updatingPrompts": "正在更新 Claude Code 记忆文档...",
|
|
78
|
+
"enterCustomModel": "请输入自定义模型名称",
|
|
79
|
+
"systemPromptConfigured": "系统提示词风格已配置",
|
|
80
|
+
"windowsMcpConfigFixed": "Windows MCP 配置已修复"
|
|
81
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"failedToRemoveFile": "删除文件失败:",
|
|
3
|
+
"failedToSetOnboarding": "设置入门完成标志失败:",
|
|
4
|
+
"failedToWriteMcpConfig": "写入 MCP 配置失败:",
|
|
5
|
+
"invalidConfigAction": "无效的配置操作值:{value}。必须是 'new', 'backup', 'merge', 'docs-only', 或 'skip'",
|
|
6
|
+
"invalidApiType": "无效的 API 类型值:{value}。必须是 'auth_token', 'api_key', 'ccr_proxy', 或 'skip'",
|
|
7
|
+
"apiKeyRequiredForApiKey": "当 apiType 为 \"api_key\" 时需要 API key",
|
|
8
|
+
"apiKeyRequiredForAuthToken": "当 apiType 为 \"auth_token\" 时需要 API key",
|
|
9
|
+
"invalidMcpService": "无效的 MCP 服务:{service}。可用的服务:{validServices}",
|
|
10
|
+
"invalidOutputStyle": "无效的输出样式:{style}。可用的样式:{validStyles}",
|
|
11
|
+
"invalidDefaultOutputStyle": "无效的默认输出样式:{style}。可用的样式:{validStyles}",
|
|
12
|
+
"invalidWorkflow": "无效的工作流:{workflow}。可用的工作流:{validWorkflows}",
|
|
13
|
+
"invalidModel": "无效的模型:{model}。期望的值:'opus', 'sonnet', 或 'sonnet[1m]'",
|
|
14
|
+
"invalidApiModel": "无效的 API 模型参数:{value}",
|
|
15
|
+
"invalidModelParam": "无效的模型参数 {key}:{value}",
|
|
16
|
+
"invalidEnvConfig": "无效的环境配置:期望对象类型",
|
|
17
|
+
"invalidBaseUrl": "无效的 ANTHROPIC_BASE_URL:期望字符串类型",
|
|
18
|
+
"invalidApiKeyConfig": "无效的 ANTHROPIC_API_KEY:期望字符串类型",
|
|
19
|
+
"invalidAuthTokenConfig": "无效的 ANTHROPIC_AUTH_TOKEN:期望字符串类型",
|
|
20
|
+
"invalidPermissionsConfig": "无效的权限配置:期望对象类型",
|
|
21
|
+
"invalidPermissionsAllow": "无效的 permissions.allow:期望数组类型",
|
|
22
|
+
"invalidCodeType": "无效的代码类型:\"{value}\"。可用的类型:{validOptions}。使用默认值:{defaultValue}。",
|
|
23
|
+
"invalidProvider": "无效的提供商:{provider}。可用的提供商:{validProviders}",
|
|
24
|
+
"generalError": "错误",
|
|
25
|
+
"stackTrace": "堆栈跟踪"
|
|
26
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"alreadyInstalled": "Claude Code 已安装",
|
|
3
|
+
"installFailed": "Claude Code 安装失败",
|
|
4
|
+
"installPrompt": "检测到 Claude Code 未安装,是否自动安装?",
|
|
5
|
+
"installSuccess": "Claude Code 安装成功",
|
|
6
|
+
"installing": "正在安装 Claude Code...",
|
|
7
|
+
"usingSudo": "检测到 Linux 非 root 用户,正在使用 sudo 提升权限进行全局安装(可能需要输入密码)。",
|
|
8
|
+
"termuxDetected": "检测到 Termux 环境",
|
|
9
|
+
"termuxEnvironmentInfo": "Termux 环境通过 pkg 管理器提供 Node.js 和 npm",
|
|
10
|
+
"termuxInstallHint": "在 Termux 中,请先运行: pkg install nodejs 或 pkg install nodejs-lts",
|
|
11
|
+
"windowsDetected": "检测到 Windows 系统,将自动配置兼容格式",
|
|
12
|
+
"termuxPathInfo": "Termux 环境路径前缀:{path}",
|
|
13
|
+
"multipleInstallationsDetected": "检测到多个 Claude Code 安装",
|
|
14
|
+
"chooseInstallationMethod": "请选择要使用的安装方式:",
|
|
15
|
+
"chooseGlobal": "使用全局安装(推荐)",
|
|
16
|
+
"chooseLocal": "使用本地安装(项目特定)",
|
|
17
|
+
"globalInstallation": "全局安装",
|
|
18
|
+
"localInstallation": "本地安装",
|
|
19
|
+
"available": "可用",
|
|
20
|
+
"removingLocalInstallation": "正在移除本地安装",
|
|
21
|
+
"localInstallationRemoved": "本地安装已移除",
|
|
22
|
+
"usingLocalInstallation": "使用本地安装",
|
|
23
|
+
"failedToRemoveLocalInstallation": "移除本地安装失败",
|
|
24
|
+
"failedToSaveInstallationConfig": "保存安装配置失败",
|
|
25
|
+
"onlyLocalInstallationDetected": "检测到仅有本地安装",
|
|
26
|
+
"notInstalled": "未安装",
|
|
27
|
+
"installingGlobalClaudeCode": "正在安装全局 Claude Code",
|
|
28
|
+
"globalInstallationCompleted": "全局安装完成",
|
|
29
|
+
"wslDetected": "检测到 WSL 环境 ({distro})",
|
|
30
|
+
"wslDetectedGeneric": "检测到 WSL 环境",
|
|
31
|
+
"wslPathInfo": "配置文件位置:{path}",
|
|
32
|
+
"wslInstallSuccess": "Claude Code 已成功安装在 WSL 环境中",
|
|
33
|
+
"selectInstallMethod": "请选择 {{codeType}} 的安装方式:",
|
|
34
|
+
"recommendedMethod": "推荐",
|
|
35
|
+
"notRecommended": "不推荐",
|
|
36
|
+
"installMethodNpm": "npm",
|
|
37
|
+
"installMethodHomebrew": "homebrew",
|
|
38
|
+
"installMethodCurl": "curl",
|
|
39
|
+
"installMethodPowershell": "powershell",
|
|
40
|
+
"installMethodCmd": "cmd",
|
|
41
|
+
"installingWith": "正在使用 {{method}} 安装 {{codeType}}...",
|
|
42
|
+
"installMethodSuccess": "使用 {{method}} 安装成功",
|
|
43
|
+
"installMethodFailed": "使用 {{method}} 安装失败",
|
|
44
|
+
"tryAnotherMethod": "安装失败,是否尝试其他安装方式?",
|
|
45
|
+
"noMoreMethods": "没有更多可用的安装方式",
|
|
46
|
+
"detectedVersion": "检测到版本 {{version}}",
|
|
47
|
+
"uninstallingWith": "正在使用 {{method}} 卸载 {{codeType}}...",
|
|
48
|
+
"uninstallSuccess": "使用 {{method}} 卸载成功",
|
|
49
|
+
"uninstallFailed": "使用 {{method}} 卸载失败",
|
|
50
|
+
"manualUninstallRequired": "{{codeType}} 需要手动卸载",
|
|
51
|
+
"binaryLocation": "可执行文件位置:{{path}}",
|
|
52
|
+
"failedToLocateBinary": "无法定位 {{command}} 可执行文件",
|
|
53
|
+
"verificationSuccess": "安装验证成功",
|
|
54
|
+
"verificationFailed": "安装验证失败",
|
|
55
|
+
"symlinkCreated": "已在 {{path}} 创建符号链接",
|
|
56
|
+
"foundAtPath": "在此路径找到: {{path}}",
|
|
57
|
+
"manualSymlinkHint": "您可能需要手动将工具添加到 PATH 或创建符号链接",
|
|
58
|
+
"duplicateInstallationsDetected": "⚠️ 检测到多个 Claude Code 安装",
|
|
59
|
+
"duplicateInstallationsWarning": "同时存在多个安装可能导致版本混乱和更新异常",
|
|
60
|
+
"currentActiveInstallation": "当前活动安装",
|
|
61
|
+
"inactiveInstallations": "未激活的安装",
|
|
62
|
+
"installationSource": "安装来源",
|
|
63
|
+
"installationPath": "路径",
|
|
64
|
+
"installationVersion": "版本",
|
|
65
|
+
"sourceHomebrewCask": "Homebrew Cask",
|
|
66
|
+
"sourceNpm": "npm 全局安装",
|
|
67
|
+
"sourceNpmHomebrewNode": "npm (通过 Homebrew Node)",
|
|
68
|
+
"sourceCurl": "curl 安装",
|
|
69
|
+
"sourceOther": "其他",
|
|
70
|
+
"recommendRemoveNpm": "建议删除 npm 安装以保持单一安装源",
|
|
71
|
+
"confirmRemoveDuplicate": "是否删除冗余的 {source}?",
|
|
72
|
+
"removingDuplicateInstallation": "正在删除冗余安装...",
|
|
73
|
+
"duplicateRemoved": "冗余安装已删除",
|
|
74
|
+
"duplicateRemovalFailed": "删除冗余安装失败",
|
|
75
|
+
"keepBothInstallations": "保留两个安装(不推荐)",
|
|
76
|
+
"duplicateWarningContinue": "已知晓多重安装风险,继续使用",
|
|
77
|
+
"versionMismatchWarning": "⚠️ 版本不一致:npm 版本为 {npmVersion},Homebrew 版本为 {homebrewVersion}",
|
|
78
|
+
"activatingHomebrew": "正在激活 Homebrew 安装...",
|
|
79
|
+
"autoRemovingNpm": "静默模式:自动删除 npm 安装并保留 Homebrew..."
|
|
80
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"selectScriptLang": "选择ccs显示语言",
|
|
3
|
+
"selectConfigLang": "选择 Claude Code 配置语言",
|
|
4
|
+
"selectAiOutputLang": "选择 AI 输出语言",
|
|
5
|
+
"aiOutputLangHint": "AI 将使用此语言回复你的问题",
|
|
6
|
+
"enterCustomLanguage": "请输入自定义语言(例如:Japanese, French 等)",
|
|
7
|
+
"languageChanged": "语言已更改",
|
|
8
|
+
"configLangHint.zh-CN": "便于中文用户自定义",
|
|
9
|
+
"configLangHint.en": "token 消耗更低",
|
|
10
|
+
"languageRequired": "语言为必填项",
|
|
11
|
+
"labels.custom": "自定义",
|
|
12
|
+
"currentConfigFound": "当前AI输出语言配置",
|
|
13
|
+
"modifyConfigPrompt": "是否修改AI输出语言配置?",
|
|
14
|
+
"currentTemplateLanguageFound": "当前模板语言配置",
|
|
15
|
+
"modifyTemplateLanguagePrompt": "是否修改模板语言配置?",
|
|
16
|
+
"usingFallbackTemplate": "使用界面语言作为模板语言?",
|
|
17
|
+
"currentSystemPromptFound": "当前系统提示样式配置",
|
|
18
|
+
"modifySystemPromptPrompt": "是否修改系统提示样式配置?"
|
|
19
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"menuDescriptions.ccrManagement": "配置 Claude Code Router 以使用多个 AI 模型",
|
|
3
|
+
"menuDescriptions.ccusage": "Claude Code 用量分析",
|
|
4
|
+
"menuDescriptions.changeLanguage": "更改 ccs 界面语言",
|
|
5
|
+
"menuDescriptions.checkUpdates": "检查并更新 Claude Code、CCR 和 CCometixLine 的版本",
|
|
6
|
+
"menuDescriptions.uninstall": "从系统中删除 Claude Code 配置和工具",
|
|
7
|
+
"menuDescriptions.cometixLine": "基于 Rust 的高性能 Claude Code 状态栏工具,集成 Git 信息和实时使用量跟踪",
|
|
8
|
+
"menuDescriptions.configureAiMemory": "配置 AI 输出语言和输出风格",
|
|
9
|
+
"menuDescriptions.configureApiOrCcr": "配置多个 API endpoint 并快速切换(官方登录 / 自定义 / 切换)",
|
|
10
|
+
"menuDescriptions.configureEnvPermission": "导入隐私保护环境变量和系统权限配置",
|
|
11
|
+
"menuDescriptions.configureMcp": "配置 MCP 服务(含 Windows 修复)",
|
|
12
|
+
"menuDescriptions.configureModel": "设置默认模型(opus/sonnet/sonnet 1m/自定义)",
|
|
13
|
+
"menuDescriptions.fullInit": "安装 Claude Code + 导入工作流 + 配置 API 或 CCR 代理 + 配置 MCP 服务",
|
|
14
|
+
"menuDescriptions.importWorkflow": "仅导入/更新工作流相关文件",
|
|
15
|
+
"menuOptions.ccrManagement": "CCR",
|
|
16
|
+
"menuOptions.ccusage": "ccusage",
|
|
17
|
+
"menuOptions.changeLanguage": "更改显示语言 / Select display language",
|
|
18
|
+
"menuOptions.checkUpdates": "检查更新",
|
|
19
|
+
"menuOptions.uninstall": "卸载和删除配置",
|
|
20
|
+
"menuOptions.cometixLine": "CCometixLine",
|
|
21
|
+
"menuOptions.configureAiMemory": "配置 Claude 全局记忆",
|
|
22
|
+
"menuOptions.configureApiOrCcr": "配置 / 切换 API",
|
|
23
|
+
"menuOptions.configureEnvPermission": "导入推荐环境变量和权限配置",
|
|
24
|
+
"menuOptions.configureMcp": "配置 MCP",
|
|
25
|
+
"menuOptions.configureModel": "配置默认模型",
|
|
26
|
+
"menuOptions.exit": "退出",
|
|
27
|
+
"menuOptions.fullInit": "完整初始化",
|
|
28
|
+
"menuOptions.importWorkflow": "导入工作流",
|
|
29
|
+
"menuSections.otherTools": "其他工具",
|
|
30
|
+
"selectFunction": "请选择功能"
|
|
31
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"configsAddedSuccessfully": "API配置添加成功",
|
|
3
|
+
"configsFailed": "API配置添加失败",
|
|
4
|
+
"defaultProfileSet": "已设置默认配置:{{name}}",
|
|
5
|
+
"providerAdded": "已添加提供商:{{name}}",
|
|
6
|
+
"defaultProviderSet": "已设置默认提供商:{{name}}",
|
|
7
|
+
"noClaudeCodeProfilesAvailable": "没有可用的 Claude Code 配置文件",
|
|
8
|
+
"availableClaudeCodeProfiles": "可用的 Claude Code 配置文件",
|
|
9
|
+
"selectClaudeCodeConfiguration": "选择 Claude Code 配置:",
|
|
10
|
+
"cancelled": "已取消操作",
|
|
11
|
+
"successfullySwitchedToOfficial": "成功切换到官方登录",
|
|
12
|
+
"failedToSwitchToOfficial": "切换到官方登录失败:{{error}}",
|
|
13
|
+
"successfullySwitchedToCcr": "成功切换到 CCR 代理",
|
|
14
|
+
"failedToSwitchToCcr": "切换到 CCR 代理失败:{error}",
|
|
15
|
+
"successfullySwitchedToProfile": "成功切换到配置文件:{{name}}",
|
|
16
|
+
"failedToSwitchToProfile": "切换到配置文件失败:{{error}}",
|
|
17
|
+
"incrementalManagementTitle": "📋 Claude Code 配置管理",
|
|
18
|
+
"currentProfileCount": "当前配置数量:{{count}}",
|
|
19
|
+
"currentDefaultProfile": "当前默认配置:{{profile}}",
|
|
20
|
+
"addProfile": "添加配置",
|
|
21
|
+
"editProfile": "编辑配置",
|
|
22
|
+
"copyProfile": "复制配置",
|
|
23
|
+
"deleteProfile": "删除配置",
|
|
24
|
+
"selectAction": "请选择操作",
|
|
25
|
+
"addingNewProfile": "添加新配置",
|
|
26
|
+
"profileNamePrompt": "配置名称(仅限字母、数字、空格、._-)",
|
|
27
|
+
"profileNameRequired": "配置名称不能为空",
|
|
28
|
+
"profileNameInvalid": "配置名称只能包含字母、数字、空格、中划线和下划线",
|
|
29
|
+
"authTypePrompt": "请选择认证类型",
|
|
30
|
+
"apiKeyPrompt": "请输入API密钥",
|
|
31
|
+
"apiKeyRequired": "API密钥不能为空",
|
|
32
|
+
"baseUrlPrompt": "请输入API基础URL",
|
|
33
|
+
"baseUrlRequired": "API基础URL不能为空",
|
|
34
|
+
"baseUrlInvalid": "请输入有效的URL",
|
|
35
|
+
"setAsDefaultPrompt": "是否设为默认配置",
|
|
36
|
+
"authType.api_key": "API Key",
|
|
37
|
+
"authType.auth_token": "Auth Token",
|
|
38
|
+
"authType.ccr_proxy": "CCR 代理",
|
|
39
|
+
"ccrProxyOption": "使用 CCR 代理",
|
|
40
|
+
"profileAdded": "✔ 已成功添加配置:{{name}}",
|
|
41
|
+
"profileAddFailed": "❌ 添加配置失败:{{error}}",
|
|
42
|
+
"profileDuplicatePrompt": "配置「{{name}}」已经存在于{{source}},是否覆盖?",
|
|
43
|
+
"profileDuplicateSkipped": "已跳过重复的配置",
|
|
44
|
+
"existingConfig": "现有配置",
|
|
45
|
+
"addAnotherProfilePrompt": "是否继续添加 Claude Code 配置?",
|
|
46
|
+
"profileSetAsDefault": "✔ 已将配置 {{name}} 设为默认",
|
|
47
|
+
"profileNotFound": "未找到配置",
|
|
48
|
+
"editingProfile": "编辑配置:{{name}}",
|
|
49
|
+
"profileUpdated": "✔ 已成功更新配置:{{name}}",
|
|
50
|
+
"profileUpdateFailed": "❌ 更新配置失败:{{error}}",
|
|
51
|
+
"selectProfileToEdit": "选择要编辑的配置",
|
|
52
|
+
"selectProfileToCopy": "选择要复制的配置",
|
|
53
|
+
"copyingProfile": "正在复制配置:{{name}}",
|
|
54
|
+
"profileCopied": "✔ 已成功复制配置:{{name}}",
|
|
55
|
+
"profileCopyFailed": "❌ 复制配置失败:{{error}}",
|
|
56
|
+
"selectProfilesToDelete": "选择要删除的配置(多选)",
|
|
57
|
+
"selectAtLeastOne": "请至少选择一个配置",
|
|
58
|
+
"cannotDeleteAll": "不能删除所有配置,至少需要保留一个",
|
|
59
|
+
"cannotDeleteLast": "不能删除最后一个配置",
|
|
60
|
+
"confirmDeleteProfiles": "确认删除以下配置:{{providers}}?",
|
|
61
|
+
"profilesDeleted": "✔ 已成功删除 {{count}} 个配置",
|
|
62
|
+
"profilesDeleteFailed": "❌ 删除配置失败:{{error}}",
|
|
63
|
+
"newDefaultProfile": "ℹ️ 新的默认配置:{{profile}}",
|
|
64
|
+
"settingsApplied": "✔ 设置已生效",
|
|
65
|
+
"failedToApplySettings": "应用设置失败",
|
|
66
|
+
"profileNameNotFound": "未找到名为「{{name}}」的配置",
|
|
67
|
+
"conflictingParams": "不能同时指定 --api-configs 和 --api-configs-file",
|
|
68
|
+
"mustBeArray": "API配置必须是数组格式",
|
|
69
|
+
"mustHaveValidName": "每个配置必须具有有效的名称",
|
|
70
|
+
"invalidAuthType": "无效的认证类型:{{type}}",
|
|
71
|
+
"duplicateName": "重复的配置名称:{{name}}",
|
|
72
|
+
"configApiKeyRequired": "配置 \"{{name}}\" 需要API密钥",
|
|
73
|
+
"ccrProxyReserved": "CCR代理类型为保留类型,不能手动添加(配置:\"{{name}}\")",
|
|
74
|
+
"configProfileAddFailed": "添加配置文件 \"{{name}}\" 失败:{{error}}",
|
|
75
|
+
"providerAddFailed": "添加提供商 \"{{name}}\" 失败:{{error}}",
|
|
76
|
+
"invalidJson": "无效的API配置JSON:{{error}}",
|
|
77
|
+
"fileReadFailed": "读取API配置文件失败:{{error}}",
|
|
78
|
+
"providerOrTypeRequired": "必须提供 provider 或 type 字段"
|
|
79
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "ccs 卸载工具",
|
|
3
|
+
"selectMainOption": "选择卸载选项:",
|
|
4
|
+
"completeUninstall": "完全卸载",
|
|
5
|
+
"completeUninstallDesc": "删除所有 Claude Code 相关配置和工具",
|
|
6
|
+
"customUninstall": "自定义卸载",
|
|
7
|
+
"customUninstallDesc": "选择特定项目进行删除",
|
|
8
|
+
"selectCustomItems": "选择要删除的项目:",
|
|
9
|
+
"selectItemsToRemove": "选择要删除的配置和工具:",
|
|
10
|
+
"selectAtLeastOne": "请至少选择一个要删除的项目。",
|
|
11
|
+
"executingComplete": "🗑️ 执行完全卸载",
|
|
12
|
+
"executingCustom": "🗑️ 执行自定义卸载",
|
|
13
|
+
"completeWarning": "⚠️ 这将删除所有 Claude Code 配置、目录和工具。此操作无法撤销!",
|
|
14
|
+
"confirmComplete": "您确定要完全卸载 Claude Code 和所有相关工具吗?",
|
|
15
|
+
"confirmCustom": "您确定要删除选定的项目吗?",
|
|
16
|
+
"processingComplete": "🔄 正在处理完全卸载...",
|
|
17
|
+
"processingCustom": "🔄 正在处理自定义卸载...",
|
|
18
|
+
"selectedItems": "选定项目:",
|
|
19
|
+
"movedToTrash": "已移至废纸篓/回收站",
|
|
20
|
+
"removedConfigs": "已删除配置项",
|
|
21
|
+
"errors": "发生错误",
|
|
22
|
+
"warnings": "警告",
|
|
23
|
+
"completeSuccess": "完全卸载成功完成!所有文件已移至废纸篓/回收站。",
|
|
24
|
+
"completePartialSuccess": "完全卸载已完成,但有一些警告。",
|
|
25
|
+
"customSuccess": "自定义卸载成功完成!已处理 {{count}} 个项目。",
|
|
26
|
+
"customSuccessFiles": "自定义卸载成功完成!已将 {{count}} 个文件/目录移至废纸篓/回收站。",
|
|
27
|
+
"customSuccessConfigs": "自定义卸载成功完成!已删除 {{count}} 个配置项。",
|
|
28
|
+
"customSuccessBoth": "自定义卸载成功完成!已将 {{fileCount}} 个文件/目录移至废纸篓/回收站,已删除 {{configCount}} 个配置项。",
|
|
29
|
+
"errorsCount": "卸载过程中发生了 {{count}} 个错误。",
|
|
30
|
+
"warningsCount": "卸载过程中发生了 {{count}} 个警告。",
|
|
31
|
+
|
|
32
|
+
"outputStyles": "输出风格 - 删除输出风格配置",
|
|
33
|
+
"commands": "自定义指令 - 删除自定义 ccs 指令",
|
|
34
|
+
"agents": "自定义代理 - 删除自定义 ccs 代理",
|
|
35
|
+
"claudeMd": "CLAUDE.md - 删除全局记忆文件",
|
|
36
|
+
"permissionsEnvs": "权限和环境变量 - 删除权限配置和环境变量",
|
|
37
|
+
"mcps": "MCP 服务 - 删除 MCP 服务器配置",
|
|
38
|
+
"ccr": "Claude Code Router - 卸载 CCR 并删除配置",
|
|
39
|
+
"ccline": "CCometixLine - 卸载状态栏工具",
|
|
40
|
+
"claudeCode": "Claude Code - 卸载 Claude Code 和配置",
|
|
41
|
+
"backups": "备份文件 - 删除备份文件",
|
|
42
|
+
"zcfConfig": "ccs 配置 - 删除 ccs 偏好设置配置",
|
|
43
|
+
|
|
44
|
+
"settingsJsonNotFound": "未找到 settings.json 文件",
|
|
45
|
+
"commandsNotFound": "未找到指令目录",
|
|
46
|
+
"agentsNotFound": "未找到代理目录",
|
|
47
|
+
"claudeMdNotFound": "未找到 CLAUDE.md 文件",
|
|
48
|
+
"claudeJsonNotFound": "未找到 .claude.json 文件",
|
|
49
|
+
"ccrPackageNotFound": "未找到 Claude Code Router 包",
|
|
50
|
+
"cclinePackageNotFound": "未找到 CCometixLine 包",
|
|
51
|
+
"claudeCodePackageNotFound": "未找到 Claude Code 包",
|
|
52
|
+
"backupsNotFound": "未找到备份目录",
|
|
53
|
+
"zcfConfigNotFound": "未找到 ccs 配置文件",
|
|
54
|
+
"outputStylesDirectoryNotFound": "未找到输出风格目录",
|
|
55
|
+
"uninstallFailed": "卸载 {{codeType}} 失败{{message}}"
|
|
56
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"autoUpdating": "正在自动更新 {tool}...",
|
|
3
|
+
"usingSudo": "检测到 Linux 非 root 用户,正在使用 sudo 提升权限进行更新(可能需要输入密码)。",
|
|
4
|
+
"cannotCheckVersion": "无法检查最新版本",
|
|
5
|
+
"ccrNotInstalled": "CCR 未安装",
|
|
6
|
+
"ccrUpToDate": "CCR 已是最新版本 (v{version})",
|
|
7
|
+
"checkFailed": "版本检查失败",
|
|
8
|
+
"checkingTools": "检查工具版本",
|
|
9
|
+
"checkingVersion": "检查版本中...",
|
|
10
|
+
"claudeCodeNotInstalled": "Claude Code 未安装",
|
|
11
|
+
"claudeCodeUpToDate": "Claude Code 已是最新版本 (v{version})",
|
|
12
|
+
"ccsUpToDate": "ccs 已是最新版本 (v{version})",
|
|
13
|
+
"cometixLineNotInstalled": "CCometixLine 未安装",
|
|
14
|
+
"cometixLineUpToDate": "CCometixLine 已是最新版本 (v{version})",
|
|
15
|
+
"confirmUpdate": "将 {tool} 更新到最新版本?",
|
|
16
|
+
"currentVersion": "当前版本: v{version}",
|
|
17
|
+
"errorCheckingUpdates": "检查更新时出错:",
|
|
18
|
+
"failed": "失败",
|
|
19
|
+
"latestVersion": "最新版本: v{version}",
|
|
20
|
+
"success": "成功",
|
|
21
|
+
"updateFailed": "{tool} 更新失败",
|
|
22
|
+
"updateSkipped": "跳过更新",
|
|
23
|
+
"updateSuccess": "{tool} 更新成功!",
|
|
24
|
+
"updateSummary": "更新摘要",
|
|
25
|
+
"updating": "正在更新 {tool}..."
|
|
26
|
+
}
|