ccjk 16.0.7 → 16.3.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.
Files changed (69) hide show
  1. package/README.md +72 -316
  2. package/dist/chunks/claude-code-config-manager.mjs +28 -7
  3. package/dist/chunks/claude-code-incremental-manager.mjs +2 -2
  4. package/dist/chunks/codex-config-switch.mjs +3 -3
  5. package/dist/chunks/codex-presets.mjs +98 -0
  6. package/dist/chunks/codex-provider-manager.mjs +4 -4
  7. package/dist/chunks/codex-runtime.mjs +246 -0
  8. package/dist/chunks/codex-uninstaller.mjs +2 -2
  9. package/dist/chunks/commands.mjs +1 -1
  10. package/dist/chunks/features.mjs +12 -12
  11. package/dist/chunks/simple-config.mjs +485 -130
  12. package/dist/cli.mjs +1730 -760
  13. package/dist/i18n/locales/en/clean.json +24 -0
  14. package/dist/i18n/locales/en/codex.json +24 -1
  15. package/dist/i18n/locales/en/configuration.json +20 -12
  16. package/dist/i18n/locales/en/hub.json +30 -0
  17. package/dist/i18n/locales/en/menu.json +30 -0
  18. package/dist/i18n/locales/en/workflow.json +13 -1
  19. package/dist/i18n/locales/zh-CN/clean.json +24 -0
  20. package/dist/i18n/locales/zh-CN/codex.json +24 -1
  21. package/dist/i18n/locales/zh-CN/configuration.json +20 -12
  22. package/dist/i18n/locales/zh-CN/hub.json +30 -0
  23. package/dist/i18n/locales/zh-CN/menu.json +30 -0
  24. package/dist/i18n/locales/zh-CN/workflow.json +13 -1
  25. package/dist/index.d.mts +3 -1
  26. package/dist/index.d.ts +3 -1
  27. package/dist/index.mjs +1 -1
  28. package/dist/shared/{ccjk.BSLlI-JL.mjs → ccjk.TC1_-qhV.mjs} +1 -1
  29. package/package.json +1 -1
  30. package/templates/common/output-styles/en/agents-md-baseline.md +28 -0
  31. package/templates/common/output-styles/en/plan-first.md +30 -0
  32. package/templates/common/output-styles/en/surgical-diff.md +27 -0
  33. package/templates/common/output-styles/en/verify-and-ship.md +31 -0
  34. package/templates/common/output-styles/zh-CN/agents-md-baseline.md +28 -0
  35. package/templates/common/output-styles/zh-CN/plan-first.md +30 -0
  36. package/templates/common/output-styles/zh-CN/surgical-diff.md +27 -0
  37. package/templates/common/output-styles/zh-CN/verify-and-ship.md +31 -0
  38. package/templates/common/workflow/bmad/en/bmad-init.md +275 -0
  39. package/templates/common/workflow/bmad/zh-CN/bmad-init.md +275 -0
  40. package/templates/common/workflow/codeReview/en/code-review.md +34 -0
  41. package/templates/common/workflow/codeReview/zh-CN/code-review.md +34 -0
  42. package/templates/common/workflow/continuousDelivery/en/continuous-delivery.md +628 -0
  43. package/templates/common/workflow/continuousDelivery/zh-CN/continuous-delivery.md +628 -0
  44. package/templates/common/workflow/essential/en/agents/ccjk-config-agent.md +187 -0
  45. package/templates/common/workflow/essential/en/agents/ccjk-mcp-agent.md +191 -0
  46. package/templates/common/workflow/essential/en/agents/ccjk-skill-agent.md +249 -0
  47. package/templates/common/workflow/essential/en/agents/ccjk-workflow-agent.md +277 -0
  48. package/templates/common/workflow/essential/en/agents/get-current-datetime.md +29 -0
  49. package/templates/common/workflow/essential/en/agents/init-architect.md +115 -0
  50. package/templates/common/workflow/essential/en/agents/planner.md +116 -0
  51. package/templates/common/workflow/essential/en/agents/teamagent.md +102 -0
  52. package/templates/common/workflow/essential/en/agents/ui-ux-designer.md +91 -0
  53. package/templates/common/workflow/essential/en/feat.md +92 -0
  54. package/templates/common/workflow/essential/en/init-project.md +53 -0
  55. package/templates/common/workflow/essential/zh-CN/agents/get-current-datetime.md +29 -0
  56. package/templates/common/workflow/essential/zh-CN/agents/init-architect.md +115 -0
  57. package/templates/common/workflow/essential/zh-CN/agents/planner.md +116 -0
  58. package/templates/common/workflow/essential/zh-CN/agents/teamagent.md +102 -0
  59. package/templates/common/workflow/essential/zh-CN/agents/ui-ux-designer.md +91 -0
  60. package/templates/common/workflow/essential/zh-CN/feat.md +315 -0
  61. package/templates/common/workflow/essential/zh-CN/init-project.md +53 -0
  62. package/templates/common/workflow/interview/en/interview.md +67 -0
  63. package/templates/common/workflow/interview/zh-CN/interview.md +67 -0
  64. package/templates/common/workflow/linearMethod/en/linear-method.md +651 -0
  65. package/templates/common/workflow/linearMethod/zh-CN/linear-method.md +750 -0
  66. package/templates/common/workflow/refactoringMaster/en/refactoring-master.md +516 -0
  67. package/templates/common/workflow/refactoringMaster/zh-CN/refactoring-master.md +810 -0
  68. package/templates/common/workflow/specFirstTDD/en/spec-first-tdd.md +364 -0
  69. package/templates/common/workflow/specFirstTDD/zh-CN/spec-first-tdd.md +364 -0
@@ -0,0 +1,24 @@
1
+ {
2
+ "title": "Environment Cleanup (doctor)",
3
+ "description": "Scan dirty MCP, skills, prompts, and stale AGENTS.md across all four tools; confirmed items go to trash",
4
+ "scanSummary": "Found {{count}} cleanable item(s)",
5
+ "selectItems": "Select items to clean up",
6
+ "confirmCleanup": "Clean {{count}} selected item(s)? (moved to system trash)",
7
+ "nothingFound": "No dirty MCP / skills / prompts found",
8
+ "cleanupDone": "Cleaned {{count}} item(s)",
9
+ "cleanupErrors": "{{count}} item(s) failed to clean",
10
+ "reason.mcpDuplicate": "Duplicate MCP service entry",
11
+ "reason.mcpBroken": "Invalid MCP config (missing command or url)",
12
+ "reason.mcpUnmanaged": "Unmanaged experimental MCP that may pollute context",
13
+ "reason.mcpBloat": "Too many MCP servers ({{count}}) — slows startup and reasoning",
14
+ "reason.skillMissingFile": "Skill folder missing SKILL.md",
15
+ "reason.skillEmpty": "SKILL.md is empty or too short",
16
+ "reason.promptInstalled": "Installed Codex workflow prompt (optional — reinstall after cleanup)",
17
+ "reason.skillPurgeAll": "Skill directory (purge-all mode)",
18
+ "reason.agentsFileStale": "Stale ~/.codex/AGENTS.md global instructions",
19
+ "reason.mcpPurgeAll": "MCP server (purge-all mode)",
20
+ "reason.mcpOrphan": "Orphan MCP section left in config.toml (including nested sub-tables)",
21
+ "reason.promptPurgeAll": "Codex workflow prompt (purge-all mode)",
22
+ "reason.configDoctor": "config.toml doctor finding (read-only hint — not auto-fixed)",
23
+ "purgeAllWarning": "⚠️ Purge-all mode: removes all MCP (Codex/Claude), skills (Codex/Claude/Grok), prompts, and ~/.codex/AGENTS.md (Codex config backed up first)"
24
+ }
@@ -54,6 +54,16 @@
54
54
  "apiConfigRemoved": "API configuration (model_provider and model_providers blocks)",
55
55
  "mcpConfigRemoved": "MCP configuration (mcp_servers blocks)",
56
56
  "setupComplete": "✔ Codex setup complete",
57
+ "preset.intro": "Pick a setup profile: Clean keeps Codex minimal; Optimized installs OpenAI-recommended best practices.",
58
+ "preset.selectPrompt": "Select Codex setup profile",
59
+ "preset.clean.name": "Clean (recommended for fresh start)",
60
+ "preset.clean.description": "No AGENTS.md style, no workflows, no MCP — pristine tool defaults",
61
+ "preset.clean.skippedWorkflows": "Clean profile: skipped workflow and AGENTS.md style install",
62
+ "preset.optimized.name": "Optimized (recommended for daily dev)",
63
+ "preset.optimized.description": "AGENTS.md baseline + default workflows + context7 docs MCP",
64
+ "preset.custom.name": "Advanced custom",
65
+ "preset.custom.description": "Step through language, AGENTS style, workflows, and MCP",
66
+ "preset.applied": "Applied profile: {{preset}}",
57
67
  "systemPromptPrompt": "Please select system prompt style",
58
68
  "workflowSelectionPrompt": "Select workflow types to install (multi-select)",
59
69
  "providerDuplicatePrompt": "Provider name '{{name}}' already exists in {{source}}, overwrite it?",
@@ -119,5 +129,18 @@
119
129
  "providerManager.baseUrlRequired": "Base URL is required",
120
130
  "providerManager.wireApiInvalid": "Wire API must be \"responses\"",
121
131
  "providerManager.unknownError": "Unknown error",
122
- "envKeyMigrationComplete": "✔ env_key to temp_env_key migration completed"
132
+ "envKeyMigrationComplete": "✔ env_key to temp_env_key migration completed",
133
+ "runtime.sharedConfig": "Shared config root: {{path}} (CLI / desktop app / IDE extension use the same config.toml)",
134
+ "runtime.codexHomeEnv": "CODEX_HOME environment variable overrides the default path",
135
+ "runtime.kind.cli": "CLI",
136
+ "runtime.kind.desktop": "Desktop app",
137
+ "runtime.kind.ide": "IDE extension",
138
+ "runtime.detected": "Detected",
139
+ "runtime.notDetected": "Not detected",
140
+ "runtime.weakDesktopSignal": "Electron data dir only — no .app bundle found",
141
+ "runtime.reloadHint.shared": "Config written to {{path}}; CLI and IDE extension usually pick it up immediately",
142
+ "runtime.reloadHint.desktop": "If the Codex desktop app is open, quit fully and reopen to load the new config",
143
+ "runtime.finding.goalsThirdParty": "features.goals=true with third-party provider \"{{provider}}\" may cause spawn_agent 400 errors",
144
+ "runtime.finding.multiAgentThirdParty": "features.multi_agent=true with third-party provider \"{{provider}}\" may break subagent calls",
145
+ "runtime.finding.configMissing": "config.toml not found (normal on first use)"
123
146
  }
@@ -47,18 +47,26 @@
47
47
  "outputStyleInstalled": "Output styles installed successfully",
48
48
  "outputStyles.default.description": "Claude completes coding tasks efficiently and provides concise responses (Claude Code built-in)",
49
49
  "outputStyles.default.name": "Default",
50
- "outputStyles.linus-mode.description": "Linus Torvalds style - Direct, efficient, code speaks, no BS",
51
- "outputStyles.linus-mode.name": "Linus Mode",
52
- "outputStyles.uncle-bob-mode.description": "Uncle Bob style - Clean code, refactoring master, SOLID principles",
53
- "outputStyles.uncle-bob-mode.name": "Uncle Bob Mode",
54
- "outputStyles.dhh-mode.description": "DHH style - Elegant & practical, convention over configuration, rapid prototyping",
55
- "outputStyles.dhh-mode.name": "DHH Mode",
56
- "outputStyles.carmack-mode.description": "John Carmack style - Ultimate performance, low-level optimization, Debug master",
57
- "outputStyles.carmack-mode.name": "Carmack Mode",
58
- "outputStyles.jobs-mode.description": "Steve Jobs style - Product thinking, user experience, commercialization",
59
- "outputStyles.jobs-mode.name": "Jobs Mode",
60
- "outputStyles.evan-you-mode.description": "Evan You style - Frontend aesthetics, elegant APIs, developer experience",
61
- "outputStyles.evan-you-mode.name": "Evan You Mode",
50
+ "codexAgentsStyles.agents-md-baseline.description": "OpenAI AGENTS.md baseline: read docs first, minimal diffs, verify loop, confirm risky ops",
51
+ "codexAgentsStyles.agents-md-baseline.name": "AGENTS.md Baseline (OpenAI official)",
52
+ "codexAgentsStyles.plan-first.description": "OpenAI recommended: plan first; align Goal / Context / Constraints / Done-when",
53
+ "codexAgentsStyles.plan-first.name": "Plan-First",
54
+ "codexAgentsStyles.verify-and-ship.description": "OpenAI recommended: test + lint + behavior check + diff review before shipping",
55
+ "codexAgentsStyles.verify-and-ship.name": "Verify-and-Ship",
56
+ "codexAgentsStyles.surgical-diff.description": "Community consensus: surgical minimal diffs; understand before editing",
57
+ "codexAgentsStyles.surgical-diff.name": "Surgical-Diff",
58
+ "codexAgentsStyles.engineer-professional.description": "SOLID/KISS/DRY/YAGNI + risky-op checks for production-grade work",
59
+ "codexAgentsStyles.engineer-professional.name": "Engineer Professional",
60
+ "outputStyles.agents-md-baseline.description": "OpenAI AGENTS.md baseline: read docs, minimal diffs, verify loop",
61
+ "outputStyles.agents-md-baseline.name": "AGENTS.md Engineering Baseline",
62
+ "outputStyles.plan-first.description": "Plan first; align Goal / Context / Constraints / Done-when",
63
+ "outputStyles.plan-first.name": "Plan-First",
64
+ "outputStyles.verify-and-ship.description": "Test + lint + behavior check + diff review before shipping",
65
+ "outputStyles.verify-and-ship.name": "Verify-and-Ship",
66
+ "outputStyles.surgical-diff.description": "Surgical minimal diffs; understand before editing",
67
+ "outputStyles.surgical-diff.name": "Surgical-Diff",
68
+ "outputStyles.engineer-professional.description": "SOLID/KISS/DRY/YAGNI + risky-op checks for production work",
69
+ "outputStyles.engineer-professional.name": "Engineer Professional",
62
70
  "outputStyles.explanatory.description": "Claude explains its implementation choices and codebase patterns (Claude Code built-in)",
63
71
  "outputStyles.explanatory.name": "Explanatory",
64
72
  "outputStyles.learning.description": "Learn-by-doing mode where Claude pauses and asks you to write small pieces of code for hands-on practice (Claude Code built-in)",
@@ -0,0 +1,30 @@
1
+ {
2
+ "doctor.title": "Doctor hub",
3
+ "doctor.subtitle": "Read-only scans and confirmed cleanup — does not touch agent runtime",
4
+ "doctor.scanReport": "Environment scan report (read-only)",
5
+ "doctor.scanReportDesc": "List suspicious MCP / skills / prompts by category — no deletion",
6
+ "doctor.probeApi": "API probe",
7
+ "doctor.smartClean": "Smart cleanup",
8
+ "doctor.smartCleanDesc": "Remove high-confidence dirty items only (unmanaged MCP, broken skills, etc.)",
9
+ "doctor.purgeAll": "Purge all",
10
+ "doctor.purgeAllDesc": "Remove all MCP, skills, prompts, ~/.codex/AGENTS.md",
11
+ "doctor.scanSection.mcp": "MCP",
12
+ "doctor.scanSection.skill": "Skills",
13
+ "doctor.scanSection.prompt": "Prompts",
14
+ "doctor.scanSection.agents": "AGENTS files",
15
+ "doctor.scanSection.config": "Config risks",
16
+ "doctor.scanSection.runtime": "Codex runtimes",
17
+ "doctor.scanHint": "{{smart}} item(s) for smart cleanup; purge-all mode shows {{all}} item(s)",
18
+ "operator.title": "Quick wizard",
19
+ "operator.subtitle": "Common setup paths — each write is confirmed (backup first)",
20
+ "operator.fullInit": "Full initialization",
21
+ "operator.updateWorkflow": "Update workflows only",
22
+ "operator.tuneSingle": "Tune one area",
23
+ "operator.tuneSingleDesc": "Configure API / MCP / model / memory / permissions separately",
24
+ "operator.freshStart": "Reset then init (Codex)",
25
+ "operator.freshStartDesc": "Purge all → pick preset → full init",
26
+ "operator.freshStartConfirm": "This will purge all first, then run Codex full init with your preset. Continue?",
27
+ "operator.grokProfile": "Save API profile",
28
+ "operator.grokLaunch": "Status & launch",
29
+ "operator.pickTune": "Choose an area to configure"
30
+ }
@@ -1,4 +1,30 @@
1
1
  {
2
+ "tagline": "Doctor + quick operator for Clavue / Claude Code / Codex (CLI+App+IDE) / Grok CLI",
3
+ "configRoot": "Config {{path}}",
4
+ "roleBadge.both": "Doctor + Operator",
5
+ "roleBadge.doctor": "Doctor",
6
+ "roleBadge.operator": "Operator",
7
+ "toolHeaders.clavue": "Current tool · Clavue",
8
+ "toolHeaders.claudeCode": "Current tool · Claude Code",
9
+ "toolHeaders.codex": "Current tool · Codex (CLI / App / IDE)",
10
+ "toolHeaders.grok": "Current tool · Grok CLI",
11
+ "menuSections.operator": "Operator (quick setup)",
12
+ "menuSections.doctor": "Doctor (environment check)",
13
+ "menuSections.crossTool": "Cross-tool",
14
+ "menuSections.ccjk": "CCJK",
15
+ "menuOptions.doctorHub": "Doctor hub",
16
+ "menuDescriptions.doctorHub": "Scan report / API probe / smart cleanup / purge all",
17
+ "menuOptions.operatorHub": "Quick wizard",
18
+ "menuDescriptions.operatorHub": "Common paths: full init, workflows, tune one area, reset & start",
19
+ "menuOptions.probeApi": "API probe",
20
+ "menuDescriptions.probeApi": "HTTP probe to verify current API configuration",
21
+ "menuOptions.purgeAllEnvironment": "Purge all environment",
22
+ "menuDescriptions.purgeAllEnvironment": "Remove all MCP, skills, prompts, ~/.codex/AGENTS.md (backed up first)",
23
+ "menuOptions.grokCrossTool": "Grok CLI",
24
+ "menuDescriptions.grokCrossTool": "Status check and profile launch hints",
25
+ "menuOptions.reasonixCrossTool": "Reasonix",
26
+ "menuDescriptions.reasonixCrossTool": "DeepSeek agent status and launch hints",
27
+ "menuDescriptions.codexFullInitWithPreset": "Full init (presets: clean / optimized / custom) + API + MCP",
2
28
  "menuDescriptions.changeLanguage": "Change CCJK interface language",
3
29
  "menuDescriptions.checkUpdates": "Check and update Claude Code versions",
4
30
  "menuDescriptions.uninstall": "Remove Claude Code configurations and tools from your system",
@@ -27,6 +53,10 @@
27
53
  "menuOptions.codexConfigureMcp": "Manage MCP",
28
54
  "menuOptions.codexConfigureModel": "Configure default model",
29
55
  "menuOptions.codexConfigureAiMemory": "Configure Codex global memory",
56
+ "menuOptions.cleanEnvironment": "Environment cleanup (doctor)",
57
+ "menuDescriptions.cleanEnvironment": "Scan dirty MCP, broken skills, redundant prompts, stale AGENTS.md",
58
+ "menuOptions.codexCleanEnvironment": "Environment cleanup (doctor)",
59
+ "menuDescriptions.codexCleanEnvironment": "Scan and remove invalid MCP, broken skills, redundant prompts",
30
60
  "menuOptions.codexUninstall": "Uninstall Codex",
31
61
  "menuOptions.codexCheckUpdates": "Check Codex updates",
32
62
  "menuSections.otherTools": "Other Tools",
@@ -13,11 +13,23 @@
13
13
  "workflowDescription.featPlanUx": "Feature planning and user experience design workflow with planning and UX design agents",
14
14
  "workflowDescription.gitWorkflow": "Git version control related commands collection",
15
15
  "workflowDescription.sixStepsWorkflow": "Professional development assistant structured six-step workflow",
16
+ "workflowDescription.codeReview": "PR-grade code review - regressions, security, maintainability (OpenAI /review)",
17
+ "workflowDescription.specFirstTDD": "Spec-first test-driven development - RED-GREEN-REFACTOR loop",
18
+ "workflowDescription.refactoringMaster": "Safe refactoring master - small steps, test protection, code smell detection",
19
+ "workflowDescription.linearMethod": "Linear method - problem breakdown, prioritization, iterative delivery",
20
+ "workflowDescription.interview": "Technical interview practice - algorithms, system design, behavioral",
21
+ "workflowDescription.continuousDelivery": "Continuous delivery workflow - CI/CD, release and rollback best practices",
16
22
  "workflowInstallError": "workflow installation had errors",
17
23
  "workflowInstallSuccess": "workflow installed successfully",
18
24
  "workflowOption.bmadWorkflow": "BMAD-Method Extension Installer (Agile Development Workflow)",
19
25
  "workflowOption.commonTools": "Common Tools (Hierarchical Directory Initialization + General-purpose agents)",
20
26
  "workflowOption.featPlanUx": "Feature Planning and UX Design (feat + planner + ui-ux-designer)",
21
27
  "workflowOption.gitWorkflow": "Git Commands (commit + rollback + cleanBranches + worktree)",
22
- "workflowOption.sixStepsWorkflow": "Six Steps Workflow (workflow)"
28
+ "workflowOption.sixStepsWorkflow": "Six Steps Workflow (workflow)",
29
+ "workflowOption.codeReview": "Code Review (code-review)",
30
+ "workflowOption.specFirstTDD": "SPEC-First TDD (spec-first-tdd)",
31
+ "workflowOption.refactoringMaster": "Refactoring Master (refactoring-master)",
32
+ "workflowOption.linearMethod": "Linear Method (linear-method)",
33
+ "workflowOption.interview": "Technical Interview (interview)",
34
+ "workflowOption.continuousDelivery": "Continuous Delivery (continuous-delivery)"
23
35
  }
@@ -0,0 +1,24 @@
1
+ {
2
+ "title": "环境清理(医生)",
3
+ "description": "扫描四工具环境中的脏 MCP、Skills、prompts 与过时 AGENTS.md,确认后移入废纸篓",
4
+ "scanSummary": "发现 {{count}} 个可清理项",
5
+ "selectItems": "选择要清理的项目",
6
+ "confirmCleanup": "确认清理选中的 {{count}} 项?(将移入系统废纸篓)",
7
+ "nothingFound": "未发现需要清理的 MCP / Skills / prompts",
8
+ "cleanupDone": "已清理 {{count}} 项",
9
+ "cleanupErrors": "{{count}} 项清理失败",
10
+ "reason.mcpDuplicate": "重复的 MCP 服务配置",
11
+ "reason.mcpBroken": "MCP 配置无效(缺少 command 或 url)",
12
+ "reason.mcpUnmanaged": "非 CCJK 管理的实验性 MCP,可能干扰上下文",
13
+ "reason.mcpBloat": "MCP 数量过多({{count}} 个),拖慢启动与推理",
14
+ "reason.skillMissingFile": "Skill 目录缺少 SKILL.md",
15
+ "reason.skillEmpty": "SKILL.md 内容过短或无效",
16
+ "reason.promptInstalled": "已安装的 Codex workflow prompt(可选清理后重装)",
17
+ "reason.skillPurgeAll": "Skill 目录(全部清理模式)",
18
+ "reason.agentsFileStale": "老旧 ~/.codex/AGENTS.md 全局指令",
19
+ "reason.mcpPurgeAll": "MCP 服务(全部清理模式)",
20
+ "reason.mcpOrphan": "config.toml 中残留的 MCP 配置节(含嵌套子表)",
21
+ "reason.promptPurgeAll": "Codex workflow prompt(全部清理模式)",
22
+ "reason.configDoctor": "config.toml 配置体检项(只读提示,不自动修改)",
23
+ "purgeAllWarning": "⚠️ 全部清理模式:将移除所有 MCP(Codex/Claude)、Skills(Codex/Claude/Grok)、prompts 与 ~/.codex/AGENTS.md(删除前已备份 Codex 配置)"
24
+ }
@@ -54,6 +54,16 @@
54
54
  "apiConfigRemoved": "API 配置(model_provider 和 model_providers 配置块)",
55
55
  "mcpConfigRemoved": "MCP 配置(mcp_servers 配置块)",
56
56
  "setupComplete": "✔ Codex 设置完成",
57
+ "preset.intro": "选择初始化方案:干净模式保持 Codex 原始整洁;优化模式安装 OpenAI 推荐的最佳实践。",
58
+ "preset.selectPrompt": "请选择 Codex 初始化方案",
59
+ "preset.clean.name": "干净模式(推荐新手)",
60
+ "preset.clean.description": "不写入 AGENTS.md 风格、不装工作流、不装 MCP,保持工具最简状态",
61
+ "preset.clean.skippedWorkflows": "干净模式:已跳过工作流与 AGENTS.md 风格安装",
62
+ "preset.optimized.name": "优化模式(推荐日常开发)",
63
+ "preset.optimized.description": "AGENTS.md 工程基线 + 默认工作流 + context7 文档 MCP",
64
+ "preset.custom.name": "高级自定义",
65
+ "preset.custom.description": "逐步选择语言、提示词风格、工作流与 MCP",
66
+ "preset.applied": "已应用方案:{{preset}}",
57
67
  "systemPromptPrompt": "请选择系统提示词风格",
58
68
  "workflowSelectionPrompt": "选择要安装的工作流类型(多选)",
59
69
  "providerDuplicatePrompt": "提供商名称 '{{name}}' 已存在于{{source}}中,是否覆盖?",
@@ -119,5 +129,18 @@
119
129
  "providerManager.baseUrlRequired": "基础 URL 是必需的",
120
130
  "providerManager.wireApiInvalid": "Wire API 必须是 \"responses\"",
121
131
  "providerManager.unknownError": "未知错误",
122
- "envKeyMigrationComplete": "✔ 已完成 env_key 到 temp_env_key 的迁移"
132
+ "envKeyMigrationComplete": "✔ 已完成 env_key 到 temp_env_key 的迁移",
133
+ "runtime.sharedConfig": "共用配置根:{{path}}(CLI / 桌面 App / IDE 扩展读取同一份 config.toml)",
134
+ "runtime.codexHomeEnv": "当前通过 CODEX_HOME 环境变量覆盖默认路径",
135
+ "runtime.kind.cli": "CLI",
136
+ "runtime.kind.desktop": "桌面 App",
137
+ "runtime.kind.ide": "IDE 扩展",
138
+ "runtime.detected": "已检测",
139
+ "runtime.notDetected": "未检测",
140
+ "runtime.weakDesktopSignal": "仅有 Electron 数据目录,未找到 .app 安装包",
141
+ "runtime.reloadHint.shared": "配置已写入 {{path}},CLI 与 IDE 扩展通常即时生效",
142
+ "runtime.reloadHint.desktop": "若 Codex 桌面 App 正在运行,请完全退出后重新打开以加载新配置",
143
+ "runtime.finding.goalsThirdParty": "features.goals=true + 第三方提供商「{{provider}}」可能导致 spawn_agent 400",
144
+ "runtime.finding.multiAgentThirdParty": "features.multi_agent=true + 第三方提供商「{{provider}}」可能导致子代理调用失败",
145
+ "runtime.finding.configMissing": "config.toml 不存在(首次使用正常)"
123
146
  }
@@ -47,18 +47,26 @@
47
47
  "outputStyleInstalled": "输出风格安装成功",
48
48
  "outputStyles.default.description": "完成编码任务时高效且提供简洁响应 (Claude Code自带)",
49
49
  "outputStyles.default.name": "默认风格",
50
- "outputStyles.linus-mode.description": "Linus Torvalds 风格 - 直接高效,代码说话,不废话",
51
- "outputStyles.linus-mode.name": "Linus 模式",
52
- "outputStyles.uncle-bob-mode.description": "Uncle Bob 风格 - 整洁代码、重构大师、SOLID 原则",
53
- "outputStyles.uncle-bob-mode.name": "Uncle Bob 模式",
54
- "outputStyles.dhh-mode.description": "DHH 风格 - 优雅实用、约定优于配置、快速原型",
55
- "outputStyles.dhh-mode.name": "DHH 模式",
56
- "outputStyles.carmack-mode.description": "John Carmack 风格 - 极致性能、底层优化、Debug 大师",
57
- "outputStyles.carmack-mode.name": "Carmack 模式",
58
- "outputStyles.jobs-mode.description": "Steve Jobs 风格 - 产品思维、用户体验、商业化视角",
59
- "outputStyles.jobs-mode.name": "Jobs 模式",
60
- "outputStyles.evan-you-mode.description": "尤雨溪风格 - 前端美学、优雅 API、开发者体验",
61
- "outputStyles.evan-you-mode.name": "尤雨溪模式",
50
+ "codexAgentsStyles.agents-md-baseline.description": "OpenAI 官方 AGENTS.md 基线:先读文档、最小改动、验证闭环、危险操作确认",
51
+ "codexAgentsStyles.agents-md-baseline.name": "AGENTS.md 工程基线(OpenAI 官方)",
52
+ "codexAgentsStyles.plan-first.description": "OpenAI 推荐:复杂任务先规划,对齐 Goal / Context / Constraints / Done-when",
53
+ "codexAgentsStyles.plan-first.name": "Plan-First 先规划后编码",
54
+ "codexAgentsStyles.verify-and-ship.description": "OpenAI 推荐:测试 + lint + 行为确认 + diff 自审后再交付",
55
+ "codexAgentsStyles.verify-and-ship.name": "Verify-and-Ship 验证闭环",
56
+ "codexAgentsStyles.surgical-diff.description": "社区共识:外科手术式最小 diff,先理解代码再改动",
57
+ "codexAgentsStyles.surgical-diff.name": "Surgical-Diff 最小改动",
58
+ "codexAgentsStyles.engineer-professional.description": "SOLID/KISS/DRY/YAGNI + 危险操作确认,适合生产级开发",
59
+ "codexAgentsStyles.engineer-professional.name": "工程师专业版",
60
+ "outputStyles.agents-md-baseline.description": "OpenAI 官方 AGENTS.md 基线:先读文档、最小改动、验证闭环",
61
+ "outputStyles.agents-md-baseline.name": "AGENTS.md 工程基线",
62
+ "outputStyles.plan-first.description": "复杂任务先规划,对齐 Goal / Context / Constraints / Done-when",
63
+ "outputStyles.plan-first.name": "Plan-First 先规划后编码",
64
+ "outputStyles.verify-and-ship.description": "测试 + lint + 行为确认 + diff 自审后再交付",
65
+ "outputStyles.verify-and-ship.name": "Verify-and-Ship 验证闭环",
66
+ "outputStyles.surgical-diff.description": "外科手术式最小 diff,先理解代码再改动",
67
+ "outputStyles.surgical-diff.name": "Surgical-Diff 最小改动",
68
+ "outputStyles.engineer-professional.description": "SOLID/KISS/DRY/YAGNI + 危险操作确认,适合生产级开发",
69
+ "outputStyles.engineer-professional.name": "工程师专业版",
62
70
  "outputStyles.explanatory.description": "解释其实现选择和代码库模式 (Claude Code自带)",
63
71
  "outputStyles.explanatory.name": "解释风格",
64
72
  "outputStyles.learning.description": "协作式的边做边学模式,暂停并要求您编写小段代码进行实践练习 (Claude Code自带)",
@@ -0,0 +1,30 @@
1
+ {
2
+ "doctor.title": "医生中心",
3
+ "doctor.subtitle": "只读扫描与确认后清理,不修改 agent runtime",
4
+ "doctor.scanReport": "环境扫描报告(只读)",
5
+ "doctor.scanReportDesc": "按类别列出可疑 MCP / Skills / prompts,不删除",
6
+ "doctor.probeApi": "API 探活",
7
+ "doctor.smartClean": "智能清理",
8
+ "doctor.smartCleanDesc": "仅移除高置信度脏项(非 CCJK 管理的 MCP、坏 Skill 等)",
9
+ "doctor.purgeAll": "全部清理",
10
+ "doctor.purgeAllDesc": "移除所有 MCP、Skills、prompts、~/.codex/AGENTS.md",
11
+ "doctor.scanSection.mcp": "MCP",
12
+ "doctor.scanSection.skill": "Skills",
13
+ "doctor.scanSection.prompt": "Prompts",
14
+ "doctor.scanSection.agents": "AGENTS 文件",
15
+ "doctor.scanSection.config": "配置风险",
16
+ "doctor.scanSection.runtime": "Codex 运行时",
17
+ "doctor.scanHint": "发现 {{smart}} 项建议清理,全部清理模式可见 {{all}} 项",
18
+ "operator.title": "快捷向导",
19
+ "operator.subtitle": "常用配置路径,每步经确认后写入(备份先行)",
20
+ "operator.fullInit": "完整初始化",
21
+ "operator.updateWorkflow": "仅更新工作流",
22
+ "operator.tuneSingle": "单项调整",
23
+ "operator.tuneSingleDesc": "API / MCP / 模型 / 记忆 / 权限 分项配置",
24
+ "operator.freshStart": "重置后初始化(Codex)",
25
+ "operator.freshStartDesc": "全部清理 → 选预设 → 完整初始化",
26
+ "operator.freshStartConfirm": "将先执行全部清理,再按所选预设初始化 Codex。继续?",
27
+ "operator.grokProfile": "保存 API Profile",
28
+ "operator.grokLaunch": "状态与启动",
29
+ "operator.pickTune": "选择要调整的项目"
30
+ }
@@ -1,4 +1,30 @@
1
1
  {
2
+ "tagline": "Clavue / Claude Code / Codex (CLI+桌面+IDE) / Grok CLI 的医生 + 快捷操作员",
3
+ "configRoot": "配置目录 {{path}}",
4
+ "roleBadge.both": "医生 + 操作员",
5
+ "roleBadge.doctor": "医生",
6
+ "roleBadge.operator": "操作员",
7
+ "toolHeaders.clavue": "当前工具 · Clavue",
8
+ "toolHeaders.claudeCode": "当前工具 · Claude Code",
9
+ "toolHeaders.codex": "当前工具 · Codex (CLI / 桌面 / IDE)",
10
+ "toolHeaders.grok": "当前工具 · Grok CLI",
11
+ "menuSections.operator": "操作员(快捷配置)",
12
+ "menuSections.doctor": "医生(环境体检)",
13
+ "menuSections.crossTool": "跨工具",
14
+ "menuSections.ccjk": "CCJK",
15
+ "menuOptions.doctorHub": "医生中心",
16
+ "menuDescriptions.doctorHub": "扫描报告 / API 探活 / 智能清理 / 全部清理",
17
+ "menuOptions.operatorHub": "快捷向导",
18
+ "menuDescriptions.operatorHub": "常用配置路径:完整初始化、工作流、单项调整、重置起步",
19
+ "menuOptions.probeApi": "API 探活",
20
+ "menuDescriptions.probeApi": "HTTP 探活当前 API 配置是否正常",
21
+ "menuOptions.purgeAllEnvironment": "环境全部清理",
22
+ "menuDescriptions.purgeAllEnvironment": "移除所有 MCP、Skills、prompts、~/.codex/AGENTS.md(删前备份)",
23
+ "menuOptions.grokCrossTool": "Grok CLI",
24
+ "menuDescriptions.grokCrossTool": "状态检测与 profile 启动指引",
25
+ "menuOptions.reasonixCrossTool": "Reasonix",
26
+ "menuDescriptions.reasonixCrossTool": "DeepSeek agent 状态与启动指引",
27
+ "menuDescriptions.codexFullInitWithPreset": "完整初始化(预设:干净 / 优化 / 自定义)+ API + MCP",
2
28
  "menuDescriptions.changeLanguage": "更改 CCJK 界面语言",
3
29
  "menuDescriptions.checkUpdates": "检查并更新 Claude Code 的版本",
4
30
  "menuDescriptions.uninstall": "从系统中删除 Claude Code 配置和工具",
@@ -27,6 +53,10 @@
27
53
  "menuOptions.codexConfigureMcp": "管理 MCP",
28
54
  "menuOptions.codexConfigureModel": "配置默认模型",
29
55
  "menuOptions.codexConfigureAiMemory": "配置 Codex 全局记忆",
56
+ "menuOptions.cleanEnvironment": "环境清理(医生)",
57
+ "menuDescriptions.cleanEnvironment": "扫描脏 MCP、坏 Skills、冗余 prompts、过时 AGENTS.md",
58
+ "menuOptions.codexCleanEnvironment": "环境清理(医生)",
59
+ "menuDescriptions.codexCleanEnvironment": "扫描并清理无效 MCP、损坏 Skills、冗余 prompts",
30
60
  "menuOptions.codexUninstall": "卸载 Codex",
31
61
  "menuOptions.codexCheckUpdates": "检查 Codex 更新",
32
62
  "menuSections.otherTools": "其他工具",
@@ -13,11 +13,23 @@
13
13
  "workflowDescription.featPlanUx": "功能规划和用户体验设计工作流,包含规划代理和 UX 设计代理",
14
14
  "workflowDescription.gitWorkflow": "Git 版本控制相关命令集合",
15
15
  "workflowDescription.sixStepsWorkflow": "专业开发助手的结构化六步工作流程",
16
+ "workflowDescription.codeReview": "PR 级代码审查 - 回归、边界、安全与可维护性(OpenAI /review 实践)",
17
+ "workflowDescription.specFirstTDD": "规格先行的测试驱动开发 - RED-GREEN-REFACTOR 循环",
18
+ "workflowDescription.refactoringMaster": "安全重构大师 - 小步重构、测试保护、代码异味识别",
19
+ "workflowDescription.linearMethod": "Linear 方法论 - 问题拆解、优先级与迭代交付",
20
+ "workflowDescription.interview": "技术面试模拟 - 算法、系统设计、行为面试练习",
21
+ "workflowDescription.continuousDelivery": "持续交付工作流 - CI/CD、发布与回滚最佳实践",
16
22
  "workflowInstallError": "工作流安装出错",
17
23
  "workflowInstallSuccess": "工作流安装成功",
18
24
  "workflowOption.bmadWorkflow": "BMAD-Method 扩展安装器 (支持敏捷开发工作流)",
19
25
  "workflowOption.commonTools": "通用工具 (层级目录初始化 + 通用agents)",
20
26
  "workflowOption.featPlanUx": "功能规划和 UX 设计 (feat + planner + ui-ux-designer)",
21
27
  "workflowOption.gitWorkflow": "Git 指令 (commit + rollback + cleanBranches + worktree)",
22
- "workflowOption.sixStepsWorkflow": "六步工作流 (workflow)"
28
+ "workflowOption.sixStepsWorkflow": "六步工作流 (workflow)",
29
+ "workflowOption.codeReview": "Code Review (code-review)",
30
+ "workflowOption.specFirstTDD": "SPEC-First TDD (spec-first-tdd)",
31
+ "workflowOption.refactoringMaster": "重构大师 (refactoring-master)",
32
+ "workflowOption.linearMethod": "Linear 方法论 (linear-method)",
33
+ "workflowOption.interview": "技术面试模拟 (interview)",
34
+ "workflowOption.continuousDelivery": "持续交付 (continuous-delivery)"
23
35
  }
package/dist/index.d.mts CHANGED
@@ -3,10 +3,12 @@ declare const SETTINGS_FILE: string;
3
3
  declare const CLAVUE_DIR: string;
4
4
  declare const CLAVUE_SETTINGS_FILE: string;
5
5
  declare const CLAVUE_CONFIG_FILE: string;
6
+ declare const CLAVUE_CREDENTIALS_FILE: string;
6
7
  declare const CLAVUE_MD_FILE: string;
7
8
  declare const CLAUDE_MD_FILE: string;
8
9
  declare const ClAUDE_CONFIG_FILE: string;
9
10
  declare const CLAUDE_VSC_CONFIG_FILE: string;
11
+ declare function resolveCodexHome(): string;
10
12
  declare const CODEX_DIR: string;
11
13
  declare const CODEX_CONFIG_FILE: string;
12
14
  declare const CODEX_AUTH_FILE: string;
@@ -325,5 +327,5 @@ declare function importRecommendedEnv(codeTool?: CodeToolType): Promise<void>;
325
327
  declare function importRecommendedPermissions(codeTool?: CodeToolType): Promise<void>;
326
328
  declare function openSettingsJson(codeTool?: CodeToolType): Promise<void>;
327
329
 
328
- export { AI_OUTPUT_LANGUAGES, API_DEFAULT_URL, API_ENV_KEY, CCJK_CONFIG_DIR, CCJK_CONFIG_FILE, CLAUDE_DIR, CLAUDE_MD_FILE, CLAUDE_VSC_CONFIG_FILE, CLAVUE_CONFIG_FILE, CLAVUE_DIR, CLAVUE_MD_FILE, CLAVUE_SETTINGS_FILE, CODEX_AGENTS_FILE, CODEX_AUTH_FILE, CODEX_CONFIG_FILE, CODEX_DIR, CODEX_PROMPTS_DIR, CODE_TOOL_ALIASES, CODE_TOOL_BANNERS, CODE_TOOL_TYPES, ClAUDE_CONFIG_FILE, DEFAULT_CODE_TOOL_TYPE, LANG_LABELS, LEGACY_CCJK_CONFIG_FILES, SETTINGS_FILE, SUPPORTED_LANGS, activeSettingsFile, addCompletedOnboarding, applyAiLanguageDirective, backupExistingConfig, backupMcpConfig, buildMcpServerConfig, cleanupPermissions, commandExists, configureApi, copyConfigFiles, createHomebrewSymlink, detectInstalledVersion, displayVerificationResult, ensureApiKeyApproved, ensureClaudeDir, executeInstallMethod, fixWindowsMcpConfig, getAiOutputLanguageLabel, getExistingApiConfig, getExistingModelConfig, getInstallationStatus, getMcpConfigPath, getPlatform, handleInstallFailure, importRecommendedEnv, importRecommendedPermissions, init, installClaudeCode, installCodex, isClaudeCodeInstalled, isCodeToolType, isCodexInstalled, isLocalClaudeCodeInstalled, manageApiKeyApproval, mergeAndCleanPermissions, mergeConfigs, mergeMcpServers, mergeSettingsFile, openSettingsJson, promptApiConfigurationAction, readMcpConfig, removeApiKeyFromRejected, removeLocalClaudeCode, resolveCodeToolType, selectInstallMethod, setInstallMethod, setPrimaryApiKey, settingsFileForTool, switchToOfficialLogin, uninstallCodeTool, updateCustomModel, updateDefaultModel, verifyInstallation, writeMcpConfig };
330
+ export { AI_OUTPUT_LANGUAGES, API_DEFAULT_URL, API_ENV_KEY, CCJK_CONFIG_DIR, CCJK_CONFIG_FILE, CLAUDE_DIR, CLAUDE_MD_FILE, CLAUDE_VSC_CONFIG_FILE, CLAVUE_CONFIG_FILE, CLAVUE_CREDENTIALS_FILE, CLAVUE_DIR, CLAVUE_MD_FILE, CLAVUE_SETTINGS_FILE, CODEX_AGENTS_FILE, CODEX_AUTH_FILE, CODEX_CONFIG_FILE, CODEX_DIR, CODEX_PROMPTS_DIR, CODE_TOOL_ALIASES, CODE_TOOL_BANNERS, CODE_TOOL_TYPES, ClAUDE_CONFIG_FILE, DEFAULT_CODE_TOOL_TYPE, LANG_LABELS, LEGACY_CCJK_CONFIG_FILES, SETTINGS_FILE, SUPPORTED_LANGS, activeSettingsFile, addCompletedOnboarding, applyAiLanguageDirective, backupExistingConfig, backupMcpConfig, buildMcpServerConfig, cleanupPermissions, commandExists, configureApi, copyConfigFiles, createHomebrewSymlink, detectInstalledVersion, displayVerificationResult, ensureApiKeyApproved, ensureClaudeDir, executeInstallMethod, fixWindowsMcpConfig, getAiOutputLanguageLabel, getExistingApiConfig, getExistingModelConfig, getInstallationStatus, getMcpConfigPath, getPlatform, handleInstallFailure, importRecommendedEnv, importRecommendedPermissions, init, installClaudeCode, installCodex, isClaudeCodeInstalled, isCodeToolType, isCodexInstalled, isLocalClaudeCodeInstalled, manageApiKeyApproval, mergeAndCleanPermissions, mergeConfigs, mergeMcpServers, mergeSettingsFile, openSettingsJson, promptApiConfigurationAction, readMcpConfig, removeApiKeyFromRejected, removeLocalClaudeCode, resolveCodeToolType, resolveCodexHome, selectInstallMethod, setInstallMethod, setPrimaryApiKey, settingsFileForTool, switchToOfficialLogin, uninstallCodeTool, updateCustomModel, updateDefaultModel, verifyInstallation, writeMcpConfig };
329
331
  export type { AiOutputLanguage, ApiConfig, ClaudeConfiguration, CodeToolType, InstallationStatus, McpServerConfig, McpService, SupportedLang, VerificationResult };
package/dist/index.d.ts CHANGED
@@ -3,10 +3,12 @@ declare const SETTINGS_FILE: string;
3
3
  declare const CLAVUE_DIR: string;
4
4
  declare const CLAVUE_SETTINGS_FILE: string;
5
5
  declare const CLAVUE_CONFIG_FILE: string;
6
+ declare const CLAVUE_CREDENTIALS_FILE: string;
6
7
  declare const CLAVUE_MD_FILE: string;
7
8
  declare const CLAUDE_MD_FILE: string;
8
9
  declare const ClAUDE_CONFIG_FILE: string;
9
10
  declare const CLAUDE_VSC_CONFIG_FILE: string;
11
+ declare function resolveCodexHome(): string;
10
12
  declare const CODEX_DIR: string;
11
13
  declare const CODEX_CONFIG_FILE: string;
12
14
  declare const CODEX_AUTH_FILE: string;
@@ -325,5 +327,5 @@ declare function importRecommendedEnv(codeTool?: CodeToolType): Promise<void>;
325
327
  declare function importRecommendedPermissions(codeTool?: CodeToolType): Promise<void>;
326
328
  declare function openSettingsJson(codeTool?: CodeToolType): Promise<void>;
327
329
 
328
- export { AI_OUTPUT_LANGUAGES, API_DEFAULT_URL, API_ENV_KEY, CCJK_CONFIG_DIR, CCJK_CONFIG_FILE, CLAUDE_DIR, CLAUDE_MD_FILE, CLAUDE_VSC_CONFIG_FILE, CLAVUE_CONFIG_FILE, CLAVUE_DIR, CLAVUE_MD_FILE, CLAVUE_SETTINGS_FILE, CODEX_AGENTS_FILE, CODEX_AUTH_FILE, CODEX_CONFIG_FILE, CODEX_DIR, CODEX_PROMPTS_DIR, CODE_TOOL_ALIASES, CODE_TOOL_BANNERS, CODE_TOOL_TYPES, ClAUDE_CONFIG_FILE, DEFAULT_CODE_TOOL_TYPE, LANG_LABELS, LEGACY_CCJK_CONFIG_FILES, SETTINGS_FILE, SUPPORTED_LANGS, activeSettingsFile, addCompletedOnboarding, applyAiLanguageDirective, backupExistingConfig, backupMcpConfig, buildMcpServerConfig, cleanupPermissions, commandExists, configureApi, copyConfigFiles, createHomebrewSymlink, detectInstalledVersion, displayVerificationResult, ensureApiKeyApproved, ensureClaudeDir, executeInstallMethod, fixWindowsMcpConfig, getAiOutputLanguageLabel, getExistingApiConfig, getExistingModelConfig, getInstallationStatus, getMcpConfigPath, getPlatform, handleInstallFailure, importRecommendedEnv, importRecommendedPermissions, init, installClaudeCode, installCodex, isClaudeCodeInstalled, isCodeToolType, isCodexInstalled, isLocalClaudeCodeInstalled, manageApiKeyApproval, mergeAndCleanPermissions, mergeConfigs, mergeMcpServers, mergeSettingsFile, openSettingsJson, promptApiConfigurationAction, readMcpConfig, removeApiKeyFromRejected, removeLocalClaudeCode, resolveCodeToolType, selectInstallMethod, setInstallMethod, setPrimaryApiKey, settingsFileForTool, switchToOfficialLogin, uninstallCodeTool, updateCustomModel, updateDefaultModel, verifyInstallation, writeMcpConfig };
330
+ export { AI_OUTPUT_LANGUAGES, API_DEFAULT_URL, API_ENV_KEY, CCJK_CONFIG_DIR, CCJK_CONFIG_FILE, CLAUDE_DIR, CLAUDE_MD_FILE, CLAUDE_VSC_CONFIG_FILE, CLAVUE_CONFIG_FILE, CLAVUE_CREDENTIALS_FILE, CLAVUE_DIR, CLAVUE_MD_FILE, CLAVUE_SETTINGS_FILE, CODEX_AGENTS_FILE, CODEX_AUTH_FILE, CODEX_CONFIG_FILE, CODEX_DIR, CODEX_PROMPTS_DIR, CODE_TOOL_ALIASES, CODE_TOOL_BANNERS, CODE_TOOL_TYPES, ClAUDE_CONFIG_FILE, DEFAULT_CODE_TOOL_TYPE, LANG_LABELS, LEGACY_CCJK_CONFIG_FILES, SETTINGS_FILE, SUPPORTED_LANGS, activeSettingsFile, addCompletedOnboarding, applyAiLanguageDirective, backupExistingConfig, backupMcpConfig, buildMcpServerConfig, cleanupPermissions, commandExists, configureApi, copyConfigFiles, createHomebrewSymlink, detectInstalledVersion, displayVerificationResult, ensureApiKeyApproved, ensureClaudeDir, executeInstallMethod, fixWindowsMcpConfig, getAiOutputLanguageLabel, getExistingApiConfig, getExistingModelConfig, getInstallationStatus, getMcpConfigPath, getPlatform, handleInstallFailure, importRecommendedEnv, importRecommendedPermissions, init, installClaudeCode, installCodex, isClaudeCodeInstalled, isCodeToolType, isCodexInstalled, isLocalClaudeCodeInstalled, manageApiKeyApproval, mergeAndCleanPermissions, mergeConfigs, mergeMcpServers, mergeSettingsFile, openSettingsJson, promptApiConfigurationAction, readMcpConfig, removeApiKeyFromRejected, removeLocalClaudeCode, resolveCodeToolType, resolveCodexHome, selectInstallMethod, setInstallMethod, setPrimaryApiKey, settingsFileForTool, switchToOfficialLogin, uninstallCodeTool, updateCustomModel, updateDefaultModel, verifyInstallation, writeMcpConfig };
329
331
  export type { AiOutputLanguage, ApiConfig, ClaudeConfiguration, CodeToolType, InstallationStatus, McpServerConfig, McpService, SupportedLang, VerificationResult };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AI_OUTPUT_LANGUAGES, a as API_DEFAULT_URL, b as API_ENV_KEY, C as CCJK_CONFIG_DIR, c as CCJK_CONFIG_FILE, d as CLAUDE_DIR, e as CLAUDE_MD_FILE, f as CLAUDE_VSC_CONFIG_FILE, g as CLAVUE_CONFIG_FILE, h as CLAVUE_DIR, i as CLAVUE_MD_FILE, j as CLAVUE_SETTINGS_FILE, k as CODEX_AGENTS_FILE, l as CODEX_AUTH_FILE, m as CODEX_CONFIG_FILE, n as CODEX_DIR, o as CODEX_PROMPTS_DIR, p as CODE_TOOL_ALIASES, q as CODE_TOOL_BANNERS, r as CODE_TOOL_TYPES, s as ClAUDE_CONFIG_FILE, D as DEFAULT_CODE_TOOL_TYPE, L as LANG_LABELS, t as LEGACY_CCJK_CONFIG_FILES, S as SETTINGS_FILE, u as SUPPORTED_LANGS, v as activeSettingsFile, w as addCompletedOnboarding, x as applyAiLanguageDirective, y as backupExistingConfig, z as backupMcpConfig, B as buildMcpServerConfig, E as cleanupPermissions, F as commandExists, G as configureApi, H as copyConfigFiles, I as createHomebrewSymlink, J as detectInstalledVersion, K as displayVerificationResult, M as ensureApiKeyApproved, N as ensureClaudeDir, O as executeInstallMethod, P as fixWindowsMcpConfig, Q as getAiOutputLanguageLabel, R as getExistingApiConfig, T as getExistingModelConfig, U as getInstallationStatus, V as getMcpConfigPath, W as getPlatform, X as handleInstallFailure, Y as importRecommendedEnv, Z as importRecommendedPermissions, _ as init, $ as installClaudeCode, a0 as installCodex, a1 as isClaudeCodeInstalled, a2 as isCodeToolType, a3 as isCodexInstalled, a4 as isLocalClaudeCodeInstalled, a5 as manageApiKeyApproval, a6 as mergeAndCleanPermissions, a7 as mergeConfigs, a8 as mergeMcpServers, a9 as mergeSettingsFile, aa as openSettingsJson, ab as promptApiConfigurationAction, ac as readMcpConfig, ad as removeApiKeyFromRejected, ae as removeLocalClaudeCode, af as resolveCodeToolType, ag as selectInstallMethod, ah as setInstallMethod, ai as setPrimaryApiKey, aj as settingsFileForTool, ak as switchToOfficialLogin, al as uninstallCodeTool, am as updateCustomModel, an as updateDefaultModel, ao as verifyInstallation, ap as writeMcpConfig } from './chunks/simple-config.mjs';
1
+ export { A as AI_OUTPUT_LANGUAGES, a as API_DEFAULT_URL, b as API_ENV_KEY, C as CCJK_CONFIG_DIR, c as CCJK_CONFIG_FILE, d as CLAUDE_DIR, e as CLAUDE_MD_FILE, f as CLAUDE_VSC_CONFIG_FILE, g as CLAVUE_CONFIG_FILE, h as CLAVUE_CREDENTIALS_FILE, i as CLAVUE_DIR, j as CLAVUE_MD_FILE, k as CLAVUE_SETTINGS_FILE, l as CODEX_AGENTS_FILE, m as CODEX_AUTH_FILE, n as CODEX_CONFIG_FILE, o as CODEX_DIR, p as CODEX_PROMPTS_DIR, q as CODE_TOOL_ALIASES, r as CODE_TOOL_BANNERS, s as CODE_TOOL_TYPES, t as ClAUDE_CONFIG_FILE, D as DEFAULT_CODE_TOOL_TYPE, L as LANG_LABELS, u as LEGACY_CCJK_CONFIG_FILES, S as SETTINGS_FILE, v as SUPPORTED_LANGS, w as activeSettingsFile, x as addCompletedOnboarding, y as applyAiLanguageDirective, z as backupExistingConfig, B as backupMcpConfig, E as buildMcpServerConfig, F as cleanupPermissions, G as commandExists, H as configureApi, I as copyConfigFiles, J as createHomebrewSymlink, K as detectInstalledVersion, M as displayVerificationResult, N as ensureApiKeyApproved, O as ensureClaudeDir, P as executeInstallMethod, Q as fixWindowsMcpConfig, R as getAiOutputLanguageLabel, T as getExistingApiConfig, U as getExistingModelConfig, V as getInstallationStatus, W as getMcpConfigPath, X as getPlatform, Y as handleInstallFailure, Z as importRecommendedEnv, _ as importRecommendedPermissions, $ as init, a0 as installClaudeCode, a1 as installCodex, a2 as isClaudeCodeInstalled, a3 as isCodeToolType, a4 as isCodexInstalled, a5 as isLocalClaudeCodeInstalled, a6 as manageApiKeyApproval, a7 as mergeAndCleanPermissions, a8 as mergeConfigs, a9 as mergeMcpServers, aa as mergeSettingsFile, ab as openSettingsJson, ac as promptApiConfigurationAction, ad as readMcpConfig, ae as removeApiKeyFromRejected, af as removeLocalClaudeCode, ag as resolveCodeToolType, ah as resolveCodexHome, ai as selectInstallMethod, aj as setInstallMethod, ak as setPrimaryApiKey, al as settingsFileForTool, am as switchToOfficialLogin, an as uninstallCodeTool, ao as updateCustomModel, ap as updateDefaultModel, aq as verifyInstallation, ar as writeMcpConfig } from './chunks/simple-config.mjs';
2
2
  import 'node:fs';
3
3
  import 'node:process';
4
4
  import 'ansis';
@@ -1,4 +1,4 @@
1
- import { aw as resolveClaudeFamilySettingsTarget } from '../chunks/simple-config.mjs';
1
+ import { ay as resolveClaudeFamilySettingsTarget } from '../chunks/simple-config.mjs';
2
2
 
3
3
  function getClaudeFamilyRuntimeLabel(tool) {
4
4
  return resolveClaudeFamilySettingsTarget(tool).displayName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccjk",
3
- "version": "16.0.7",
3
+ "version": "16.3.0",
4
4
  "description": "Clavue / Claude Code / Codex / Grok CLI 统一配置工具(ccjk 交互与配置方法)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: agents-md-baseline
3
+ description: OpenAI Codex AGENTS.md engineering baseline - verify loops, minimal diffs, risky-op confirmation
4
+ ---
5
+
6
+ # AGENTS.md Engineering Baseline
7
+
8
+ > Based on the [OpenAI Codex AGENTS.md guide](https://developers.openai.com/codex/guides/agents-md) and community best practices.
9
+
10
+ ## Working agreements
11
+
12
+ - **Read before edit**: Review relevant code, tests, and project docs (e.g. `ARCHITECTURE.md`, `docs/`) before changing anything.
13
+ - **Minimal diffs**: Change only what the task requires; no drive-by refactors or unrelated cleanup.
14
+ - **Verify loop**: After edits, run the project's smallest relevant checks (`pnpm test`, `pnpm lint`, `npm test`, etc.); fix failures before moving on.
15
+ - **Confirm risky ops**: Get explicit approval before deleting files, force git operations, production config changes, or bulk dependency updates.
16
+ - **Paths and commands**: Quote file paths; prefer the package manager and scripts documented in the repo.
17
+
18
+ ## Output style
19
+
20
+ - Lead with conclusions; keep steps clear; avoid filler.
21
+ - Reference code with `path:line` when possible.
22
+ - Investigate or ask when unsure — do not guess APIs or layout.
23
+
24
+ ## Collaboration
25
+
26
+ - Match existing naming, structure, and test patterns.
27
+ - Explain rationale before new dependencies or large-scope changes.
28
+ - End tasks with a short summary of what changed and how it was verified.
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: plan-first
3
+ description: OpenAI Codex recommended - plan before coding; clarify Goal/Context/Constraints/Done-when
4
+ ---
5
+
6
+ # Plan-First Engineering Style
7
+
8
+ > From [Codex Best Practices](https://developers.openai.com/codex/learn/best-practices) — plan before implementing complex, ambiguous, or multi-step work.
9
+
10
+ ## Four task anchors
11
+
12
+ Align on these before acting:
13
+
14
+ 1. **Goal** — What outcome is required?
15
+ 2. **Context** — Which files, dirs, docs, or errors matter?
16
+ 3. **Constraints** — Architecture, safety, style, and boundaries?
17
+ 4. **Done when** — What must be true to finish? (tests pass, behavior changes, bug gone)
18
+
19
+ ## Planning discipline
20
+
21
+ - Multi-file changes, architecture decisions, unclear requirements: **plan first, code second**.
22
+ - Plans cover scope, step order, verification, and risks.
23
+ - Implement only after the plan is sound; explain deviations before continuing.
24
+ - Split large work into verifiable steps with clear done criteria.
25
+
26
+ ## Coding
27
+
28
+ - Execute the smallest planned step; no unplanned refactors.
29
+ - Revise the plan when reality changes — do not brute-force around it.
30
+ - Cite code as `path:line` for reviewability.
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: surgical-diff
3
+ description: Community consensus (Karpathy/senior maintainers) - surgical minimal diffs, understand before editing
4
+ ---
5
+
6
+ # Surgical-Diff Engineering Style
7
+
8
+ > Shared discipline for effective agents: smaller, well-scoped diffs win. Aligns with OpenAI Codex repo maintenance practice and community “surgical edit” norms.
9
+
10
+ ## Core rules
11
+
12
+ - **Read before edit** — No changes without reading relevant code, tests, and callers.
13
+ - **Minimal diff** — Only lines the task requires; no drive-by refactors, unrelated formatting, or comment deletes.
14
+ - **Single intent** — One PR-sized purpose per task; no unrelated fixes bundled in.
15
+ - **Reuse first** — Extend existing functions and patterns; do not parallel-reimplement.
16
+
17
+ ## Avoid
18
+
19
+ - Broad renames “for cleanliness”
20
+ - Dependency/CI/config churn without request
21
+ - try-catch that hides failures to green tests
22
+ - Guessing APIs — read code or docs when unsure
23
+
24
+ ## Before done
25
+
26
+ - Diff size matches task scope; huge changes need a plan first.
27
+ - Every hunk has a one-line “why necessary” rationale.