ccjk 12.2.2 → 12.3.1

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 (135) hide show
  1. package/dist/chunks/agent-teams.mjs +3 -3
  2. package/dist/chunks/agent.mjs +2 -2
  3. package/dist/chunks/agents.mjs +4 -5
  4. package/dist/chunks/api-cli.mjs +5 -5
  5. package/dist/chunks/api-providers.mjs +1 -1
  6. package/dist/chunks/api.mjs +4 -4
  7. package/dist/chunks/auto-bootstrap.mjs +1 -1
  8. package/dist/chunks/auto-fixer.mjs +3 -3
  9. package/dist/chunks/auto-init.mjs +3 -3
  10. package/dist/chunks/auto-updater.mjs +9 -9
  11. package/dist/chunks/banner.mjs +2 -2
  12. package/dist/chunks/boost.mjs +4 -4
  13. package/dist/chunks/ccjk-agents.mjs +3 -3
  14. package/dist/chunks/ccjk-all.mjs +6 -6
  15. package/dist/chunks/ccjk-config.mjs +2 -2
  16. package/dist/chunks/ccjk-hooks.mjs +4 -4
  17. package/dist/chunks/ccjk-mcp.mjs +5 -5
  18. package/dist/chunks/ccjk-setup.mjs +5 -5
  19. package/dist/chunks/ccjk-skills.mjs +5 -5
  20. package/dist/chunks/ccr.mjs +14 -14
  21. package/dist/chunks/ccu.mjs +2 -2
  22. package/dist/chunks/check-updates.mjs +6 -6
  23. package/dist/chunks/claude-code-config-manager.mjs +5 -4
  24. package/dist/chunks/claude-code-incremental-manager.mjs +6 -6
  25. package/dist/chunks/claude-config.mjs +1 -1
  26. package/dist/chunks/claude-wrapper.mjs +1 -1
  27. package/dist/chunks/cli-hook.mjs +9 -10
  28. package/dist/chunks/codex-config-switch.mjs +6 -6
  29. package/dist/chunks/codex-provider-manager.mjs +6 -6
  30. package/dist/chunks/codex-uninstaller.mjs +2 -2
  31. package/dist/chunks/codex.mjs +5 -5
  32. package/dist/chunks/commands.mjs +2 -2
  33. package/dist/chunks/commands2.mjs +1 -1
  34. package/dist/chunks/commit.mjs +2 -2
  35. package/dist/chunks/completion.mjs +2 -2
  36. package/dist/chunks/config-consolidator.mjs +2 -2
  37. package/dist/chunks/config-switch.mjs +7 -7
  38. package/dist/chunks/config.mjs +3 -3
  39. package/dist/chunks/config2.mjs +4 -4
  40. package/dist/chunks/config3.mjs +3 -3
  41. package/dist/chunks/constants.mjs +1 -1
  42. package/dist/chunks/context-opt.mjs +442 -0
  43. package/dist/chunks/convoy-manager.mjs +355 -3
  44. package/dist/chunks/dashboard.mjs +2 -2
  45. package/dist/chunks/doctor.mjs +4 -4
  46. package/dist/chunks/evolution.mjs +2 -2
  47. package/dist/chunks/health-alerts.mjs +530 -4
  48. package/dist/chunks/help.mjs +1 -1
  49. package/dist/chunks/index.mjs +0 -23
  50. package/dist/chunks/index10.mjs +571 -634
  51. package/dist/chunks/index11.mjs +569 -1061
  52. package/dist/chunks/index12.mjs +1076 -914
  53. package/dist/chunks/index13.mjs +951 -135
  54. package/dist/chunks/index14.mjs +184 -209
  55. package/dist/chunks/index15.mjs +218 -0
  56. package/dist/chunks/index2.mjs +24 -19
  57. package/dist/chunks/index3.mjs +12 -19085
  58. package/dist/chunks/index4.mjs +19092 -16
  59. package/dist/chunks/index5.mjs +16 -7602
  60. package/dist/chunks/index6.mjs +7590 -159
  61. package/dist/chunks/index7.mjs +171 -1602
  62. package/dist/chunks/index8.mjs +1602 -19
  63. package/dist/chunks/index9.mjs +15 -612
  64. package/dist/chunks/init.mjs +13 -13
  65. package/dist/chunks/installer.mjs +5 -5
  66. package/dist/chunks/installer2.mjs +1 -1
  67. package/dist/chunks/interview.mjs +4 -4
  68. package/dist/chunks/manager.mjs +1 -1
  69. package/dist/chunks/marketplace.mjs +2 -2
  70. package/dist/chunks/mcp-cli.mjs +9 -9
  71. package/dist/chunks/mcp.mjs +7 -7
  72. package/dist/chunks/memory.mjs +3 -3
  73. package/dist/chunks/menu-hierarchical.mjs +14 -14
  74. package/dist/chunks/menu.mjs +12 -12
  75. package/dist/chunks/metrics-display.mjs +1 -1
  76. package/dist/chunks/migrator.mjs +1 -1
  77. package/dist/chunks/monitor.mjs +2 -2
  78. package/dist/chunks/notification.mjs +4 -4
  79. package/dist/chunks/onboarding-wizard.mjs +2 -2
  80. package/dist/chunks/onboarding.mjs +4 -4
  81. package/dist/chunks/package.mjs +1 -1
  82. package/dist/chunks/paradigm.mjs +1 -1
  83. package/dist/chunks/permission-manager.mjs +2 -2
  84. package/dist/chunks/permissions.mjs +3 -3
  85. package/dist/chunks/persistence-manager.mjs +3 -3
  86. package/dist/chunks/plugin.mjs +2 -2
  87. package/dist/chunks/prompts.mjs +5 -5
  88. package/dist/chunks/providers.mjs +2 -2
  89. package/dist/chunks/quick-actions.mjs +2 -2
  90. package/dist/chunks/quick-provider.mjs +6 -5
  91. package/dist/chunks/quick-setup.mjs +10 -10
  92. package/dist/chunks/remote.mjs +5 -5
  93. package/dist/chunks/session.mjs +2 -2
  94. package/dist/chunks/sessions.mjs +1 -1
  95. package/dist/chunks/silent-updater.mjs +1 -1
  96. package/dist/chunks/simple-config.mjs +1 -1
  97. package/dist/chunks/skill2.mjs +3 -3
  98. package/dist/chunks/skills-sync.mjs +4 -4
  99. package/dist/chunks/skills.mjs +3 -3
  100. package/dist/chunks/slash-commands.mjs +3 -3
  101. package/dist/chunks/startup.mjs +1 -1
  102. package/dist/chunks/stats.mjs +2 -2
  103. package/dist/chunks/status.mjs +2 -2
  104. package/dist/chunks/team.mjs +3 -3
  105. package/dist/chunks/thinking.mjs +4 -4
  106. package/dist/chunks/trace.mjs +2 -2
  107. package/dist/chunks/uninstall.mjs +8 -8
  108. package/dist/chunks/update.mjs +9 -9
  109. package/dist/chunks/upgrade-manager.mjs +3 -3
  110. package/dist/chunks/version-checker.mjs +4 -4
  111. package/dist/chunks/vim.mjs +3 -3
  112. package/dist/chunks/workflows.mjs +1 -1
  113. package/dist/chunks/wsl.mjs +1 -1
  114. package/dist/chunks/zero-config.mjs +3 -3
  115. package/dist/cli.mjs +56 -23
  116. package/dist/index.mjs +5 -5
  117. package/dist/shared/{ccjk.CCcQfbni.mjs → ccjk.B1TwPltj.mjs} +1 -1
  118. package/dist/shared/{ccjk.CePkJq2S.mjs → ccjk.BfIpomdz.mjs} +1 -1
  119. package/dist/shared/{ccjk.D8ZLYSZZ.mjs → ccjk.CXzjn01x.mjs} +1 -1
  120. package/dist/shared/{ccjk.Cjj8SVrn.mjs → ccjk.Cot9p9_n.mjs} +1 -1
  121. package/dist/shared/{ccjk.CvChMYvB.mjs → ccjk.DCw2WnZU.mjs} +1 -1
  122. package/dist/shared/{ccjk.DG_o24cZ.mjs → ccjk.DJdmgr2d.mjs} +1 -1
  123. package/dist/shared/{ccjk.BIxuVL3_.mjs → ccjk.DcKLglJQ.mjs} +2 -2
  124. package/dist/shared/{ccjk.DLLw-h4Y.mjs → ccjk.DfXjf8EC.mjs} +2 -2
  125. package/dist/shared/{ccjk.KpFl2RDA.mjs → ccjk.DpstNaeR.mjs} +3 -3
  126. package/dist/shared/{ccjk.DOBWBkFR.mjs → ccjk.XsJWJuQP.mjs} +5 -5
  127. package/dist/shared/{ccjk._dESH4Rk.mjs → ccjk.dYDLfmph.mjs} +1 -1
  128. package/dist/shared/{ccjk.DS7UESmF.mjs → ccjk.hrRv8G6j.mjs} +4 -4
  129. package/dist/shared/{ccjk.BWFpnOr3.mjs → ccjk.mJpVRDZ8.mjs} +1 -1
  130. package/dist/templates/claude-code/common/settings.json +3 -1
  131. package/package.json +20 -18
  132. package/templates/claude-code/common/settings.json +3 -1
  133. package/dist/chunks/context-loader.mjs +0 -351
  134. package/dist/chunks/context.mjs +0 -372
  135. package/dist/chunks/health-check.mjs +0 -532
@@ -1,6 +1,6 @@
1
- import a from './index2.mjs';
2
- import { i as inquirer } from './index3.mjs';
3
- import ora from './index7.mjs';
1
+ import a from './index3.mjs';
2
+ import { i as inquirer } from './index4.mjs';
3
+ import ora from './index8.mjs';
4
4
  import { c as createApiClient } from '../shared/ccjk.D6ycHbak.mjs';
5
5
  import '../shared/ccjk.BAGoDD49.mjs';
6
6
  import 'node:readline';
@@ -343,6 +343,7 @@ const KNOWN_COMMANDS = /* @__PURE__ */ new Set([
343
343
  "thinking",
344
344
  "think",
345
345
  "agent-teams",
346
+ "context-opt",
346
347
  "teams",
347
348
  "postmortem",
348
349
  "pm",
@@ -629,7 +630,7 @@ async function saveProviderConfig(config) {
629
630
  const spinner = ora("\u6B63\u5728\u4FDD\u5B58\u914D\u7F6E...").start();
630
631
  try {
631
632
  const { readJsonFile, writeJsonFile } = await import('./fs-operations.mjs');
632
- const { join } = await import('./index8.mjs');
633
+ const { join } = await import('./index9.mjs');
633
634
  const { homedir } = await import('node:os');
634
635
  const { existsSync, mkdirSync } = await import('node:fs');
635
636
  const claudeDir = join(homedir(), ".claude");
@@ -647,7 +648,7 @@ async function saveProviderConfig(config) {
647
648
  settings.apiProvider = "custom";
648
649
  settings.apiUrl = config.provider.apiUrl;
649
650
  settings.apiKey = config.apiKey;
650
- settings.model = config.model;
651
+ delete settings.model;
651
652
  const envConfig = {
652
653
  ANTHROPIC_BASE_URL: config.provider.apiUrl,
653
654
  ANTHROPIC_API_KEY: config.apiKey,
@@ -1,7 +1,7 @@
1
- import a from './index2.mjs';
2
- import { i as inquirer } from './index3.mjs';
1
+ import a from './index3.mjs';
2
+ import { i as inquirer } from './index4.mjs';
3
3
  import { d as detectSmartDefaults } from './smart-defaults.mjs';
4
- import { i18n } from './index5.mjs';
4
+ import { i18n } from './index6.mjs';
5
5
  import { updateZcfConfig } from './ccjk-config.mjs';
6
6
  import { g as getRuntimeVersion } from '../shared/ccjk.gDEDGD_t.mjs';
7
7
  import { i as init } from './init.mjs';
@@ -36,9 +36,9 @@ import 'node:stream';
36
36
  import '../shared/ccjk.BrPUmTqm.mjs';
37
37
  import 'node:url';
38
38
  import '../shared/ccjk.BBtCGd_g.mjs';
39
- import './index6.mjs';
40
- import './codex.mjs';
41
39
  import './index7.mjs';
40
+ import './codex.mjs';
41
+ import './index8.mjs';
42
42
  import '../shared/ccjk.DeWpAShp.mjs';
43
43
  import '../shared/ccjk.CxpGa6MC.mjs';
44
44
  import './config.mjs';
@@ -46,16 +46,16 @@ import './claude-config.mjs';
46
46
  import '../shared/ccjk.DXRAZcix.mjs';
47
47
  import '../shared/ccjk.BFQ7yr5S.mjs';
48
48
  import './prompts.mjs';
49
- import '../shared/ccjk.BWFpnOr3.mjs';
50
- import '../shared/ccjk.DOBWBkFR.mjs';
49
+ import '../shared/ccjk.mJpVRDZ8.mjs';
50
+ import '../shared/ccjk.XsJWJuQP.mjs';
51
51
  import './banner.mjs';
52
52
  import './config2.mjs';
53
53
  import './auto-updater.mjs';
54
54
  import './version-checker.mjs';
55
- import '../shared/ccjk.Cjj8SVrn.mjs';
56
- import '../shared/ccjk.BIxuVL3_.mjs';
55
+ import '../shared/ccjk.Cot9p9_n.mjs';
56
+ import '../shared/ccjk.DcKLglJQ.mjs';
57
57
  import './installer.mjs';
58
- import '../shared/ccjk._dESH4Rk.mjs';
58
+ import '../shared/ccjk.dYDLfmph.mjs';
59
59
 
60
60
  const ccjkVersion = getRuntimeVersion();
61
61
  function displayHeader() {
@@ -1,12 +1,12 @@
1
1
  import { spawn } from 'child_process';
2
2
  import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
3
- import { i as inquirer } from './index3.mjs';
4
- import ora from './index7.mjs';
3
+ import { i as inquirer } from './index4.mjs';
4
+ import ora from './index8.mjs';
5
5
  import { homedir } from 'os';
6
6
  import { join } from 'path';
7
- import { i18n } from './index5.mjs';
7
+ import { i18n } from './index6.mjs';
8
8
  import { i as isDeviceBound, g as getBindingStatus, b as bindDevice } from '../shared/ccjk.c-ETfBZ_.mjs';
9
- import { l as logger } from '../shared/ccjk.DG_o24cZ.mjs';
9
+ import { l as logger } from '../shared/ccjk.DJdmgr2d.mjs';
10
10
  import 'node:readline';
11
11
  import '../shared/ccjk.BAGoDD49.mjs';
12
12
  import 'stream';
@@ -31,7 +31,7 @@ import 'node:buffer';
31
31
  import '../shared/ccjk.BtB1e5jm.mjs';
32
32
  import './constants.mjs';
33
33
  import '../shared/ccjk.D6ycHbak.mjs';
34
- import './index2.mjs';
34
+ import './index3.mjs';
35
35
 
36
36
  const DAEMON_CONFIG_PATH = join(homedir(), ".ccjk", "daemon.json");
37
37
  async function setupRemote(options = {}) {
@@ -3,8 +3,8 @@ import { mkdir, writeFile, readFile, readdir, rm, stat } from 'node:fs/promises'
3
3
  import { homedir } from 'node:os';
4
4
  import { join as join$1 } from 'node:path';
5
5
  import process__default from 'node:process';
6
- import a from './index2.mjs';
7
- import { i as inquirer } from './index3.mjs';
6
+ import a from './index3.mjs';
7
+ import { i as inquirer } from './index4.mjs';
8
8
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
9
9
  import '../shared/ccjk.BAGoDD49.mjs';
10
10
  import 'node:readline';
@@ -1,4 +1,4 @@
1
- import a from './index2.mjs';
1
+ import a from './index3.mjs';
2
2
  import { t as taskPersistence } from '../shared/ccjk.BFxsJM0k.mjs';
3
3
  import '../shared/ccjk.BAGoDD49.mjs';
4
4
  import 'better-sqlite3';
@@ -5,7 +5,7 @@ import { fileURLToPath } from 'node:url';
5
5
  import { CCJK_CONFIG_DIR } from './constants.mjs';
6
6
  import { getCloudState, updateCloudState } from './auto-bootstrap.mjs';
7
7
  import { j as join, d as dirname } from '../shared/ccjk.bQ7Dh1g4.mjs';
8
- import './index5.mjs';
8
+ import './index6.mjs';
9
9
  import 'node:crypto';
10
10
 
11
11
  const __filename = fileURLToPath(import.meta.url);
@@ -13,7 +13,7 @@ import 'node:process';
13
13
  import 'node:stream';
14
14
  import 'node:readline';
15
15
  import 'node:os';
16
- import './index5.mjs';
16
+ import './index6.mjs';
17
17
  import 'node:crypto';
18
18
  import 'node:fs/promises';
19
19
 
@@ -1,10 +1,10 @@
1
1
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'node:fs';
2
2
  import { homedir } from 'node:os';
3
3
  import { fileURLToPath } from 'node:url';
4
- import a from './index2.mjs';
4
+ import a from './index3.mjs';
5
5
  import { c as commonjsRequire } from '../shared/ccjk.COweQ1RR.mjs';
6
6
  import require$$0 from 'fs';
7
- import { i as inquirer } from './index3.mjs';
7
+ import { i as inquirer } from './index4.mjs';
8
8
  import { g as getPluginManager } from '../shared/ccjk.DTdjs-qK.mjs';
9
9
  import { j as join, d as dirname } from '../shared/ccjk.bQ7Dh1g4.mjs';
10
10
  import '../shared/ccjk.BAGoDD49.mjs';
@@ -26,7 +26,7 @@ import 'module';
26
26
  import 'node:child_process';
27
27
  import 'node:stream';
28
28
  import './constants.mjs';
29
- import './index5.mjs';
29
+ import './index6.mjs';
30
30
  import '../shared/ccjk.CfKKcvWy.mjs';
31
31
  import '../shared/ccjk.DsYaCCx4.mjs';
32
32
 
@@ -1,6 +1,6 @@
1
- import a from './index2.mjs';
2
- import { i as inquirer } from './index3.mjs';
3
- import { getTranslation } from './index5.mjs';
1
+ import a from './index3.mjs';
2
+ import { i as inquirer } from './index4.mjs';
3
+ import { getTranslation } from './index6.mjs';
4
4
  import { createHash } from 'node:crypto';
5
5
  import { existsSync, readdirSync, readFileSync, mkdirSync } from 'node:fs';
6
6
  import process__default from 'node:process';
@@ -12,7 +12,7 @@ import require$$0 from 'fs';
12
12
  import { c as commonjsRequire } from '../shared/ccjk.COweQ1RR.mjs';
13
13
  import { a as createGateway } from '../shared/ccjk.BtB1e5jm.mjs';
14
14
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
15
- import { b as CloudErrorFactory, C as CloudError } from '../shared/ccjk.D8ZLYSZZ.mjs';
15
+ import { b as CloudErrorFactory, C as CloudError } from '../shared/ccjk.CXzjn01x.mjs';
16
16
  import 'node:readline';
17
17
  import 'stream';
18
18
  import 'node:tty';
@@ -1,6 +1,6 @@
1
- import a from './index2.mjs';
2
- import { i as inquirer } from './index3.mjs';
3
- import { i18n } from './index5.mjs';
1
+ import a from './index3.mjs';
2
+ import { i as inquirer } from './index4.mjs';
3
+ import { i18n } from './index6.mjs';
4
4
  import { searchSkills, getSkill, getAllSkills, addSkill, setSkillEnabled, removeSkill, getBatchCategories, createBatchSkills } from './manager.mjs';
5
5
  import '../shared/ccjk.BAGoDD49.mjs';
6
6
  import 'node:readline';
@@ -1,5 +1,5 @@
1
- import a from './index2.mjs';
2
- import { i18n } from './index5.mjs';
1
+ import a from './index3.mjs';
2
+ import { i18n } from './index6.mjs';
3
3
  import { getContextPersistence } from './persistence.mjs';
4
4
  import '../shared/ccjk.BAGoDD49.mjs';
5
5
  import 'node:fs';
@@ -38,7 +38,7 @@ function getSlashCommands() {
38
38
  descriptionZh: "\u8FD0\u884C\u5168\u9762\u5065\u5EB7\u68C0\u67E5",
39
39
  category: "brain",
40
40
  handler: async () => {
41
- const { runHealthCheck } = await import('./index4.mjs');
41
+ const { runHealthCheck } = await import('./index5.mjs');
42
42
  const report = await runHealthCheck();
43
43
  console.log(a.cyan.bold("\n\u{1F3E5} Health Check Results\n"));
44
44
  console.log(`${a.gray("Overall Score:")} ${a.green.bold(report.totalScore + "/100")}`);
@@ -2,7 +2,7 @@ import { existsSync, mkdirSync, writeFileSync, readFileSync, readdirSync } from
2
2
  import { mkdir } from 'node:fs/promises';
3
3
  import { homedir } from 'node:os';
4
4
  import { j as join, b as basename } from '../shared/ccjk.bQ7Dh1g4.mjs';
5
- import { i18n } from './index5.mjs';
5
+ import { i18n } from './index6.mjs';
6
6
  import 'node:process';
7
7
  import 'node:url';
8
8
 
@@ -1,5 +1,5 @@
1
- import a from './index2.mjs';
2
- import { i18n } from './index5.mjs';
1
+ import a from './index3.mjs';
2
+ import { i18n } from './index6.mjs';
3
3
  import { existsSync, mkdirSync, readFileSync, writeFileSync, readdirSync } from 'node:fs';
4
4
  import { homedir } from 'node:os';
5
5
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
@@ -1,7 +1,7 @@
1
1
  import { existsSync, readFileSync } from 'node:fs';
2
2
  import { homedir } from 'node:os';
3
3
  import process__default from 'node:process';
4
- import a from './index2.mjs';
4
+ import a from './index3.mjs';
5
5
  import { s as scanProject } from '../shared/ccjk.BrPUmTqm.mjs';
6
6
  import { getContextPersistence } from './persistence.mjs';
7
7
  import { MetricsDisplay } from './metrics-display.mjs';
@@ -11,7 +11,7 @@ import '../shared/ccjk.BAGoDD49.mjs';
11
11
  import 'node:child_process';
12
12
  import 'better-sqlite3';
13
13
  import './constants.mjs';
14
- import './index5.mjs';
14
+ import './index6.mjs';
15
15
  import 'node:url';
16
16
  import 'fs';
17
17
  import 'constants';
@@ -1,7 +1,7 @@
1
1
  import { existsSync, mkdirSync, readFileSync } from 'node:fs';
2
- import a from './index2.mjs';
3
- import { i as inquirer } from './index3.mjs';
4
- import { i18n } from './index5.mjs';
2
+ import a from './index3.mjs';
3
+ import { i as inquirer } from './index4.mjs';
4
+ import { i18n } from './index6.mjs';
5
5
  import { writeFileAtomic } from './fs-operations.mjs';
6
6
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
7
7
  import '../shared/ccjk.BAGoDD49.mjs';
@@ -1,9 +1,9 @@
1
- import a from './index2.mjs';
2
- import { i as inquirer } from './index3.mjs';
1
+ import a from './index3.mjs';
2
+ import { i as inquirer } from './index4.mjs';
3
3
  import { SETTINGS_FILE } from './constants.mjs';
4
- import { i18n } from './index5.mjs';
4
+ import { i18n } from './index6.mjs';
5
5
  import { readJsonConfig, writeJsonConfig } from './json-config.mjs';
6
- import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.BIxuVL3_.mjs';
6
+ import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.DcKLglJQ.mjs';
7
7
  import '../shared/ccjk.BAGoDD49.mjs';
8
8
  import 'node:readline';
9
9
  import 'stream';
@@ -1,5 +1,5 @@
1
- import a from './index2.mjs';
2
- import { e as executionTracer } from '../shared/ccjk.CePkJq2S.mjs';
1
+ import a from './index3.mjs';
2
+ import { e as executionTracer } from '../shared/ccjk.BfIpomdz.mjs';
3
3
  import '../shared/ccjk.BAGoDD49.mjs';
4
4
 
5
5
  async function traceCommand(options = {}) {
@@ -1,17 +1,17 @@
1
- import a from './index2.mjs';
2
- import { i as inquirer } from './index3.mjs';
1
+ import a from './index3.mjs';
2
+ import { i as inquirer } from './index4.mjs';
3
3
  import { ZCF_CONFIG_FILE, DEFAULT_CODE_TOOL_TYPE, isCodeToolType } from './constants.mjs';
4
- import { i18n, ensureI18nInitialized } from './index5.mjs';
4
+ import { i18n, ensureI18nInitialized } from './index6.mjs';
5
5
  import { readZcfConfig } from './ccjk-config.mjs';
6
- import { r as resolveCodeType } from '../shared/ccjk.Cjj8SVrn.mjs';
7
- import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.BIxuVL3_.mjs';
6
+ import { r as resolveCodeType } from '../shared/ccjk.Cot9p9_n.mjs';
7
+ import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.DcKLglJQ.mjs';
8
8
  import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
9
- import { p as promptBoolean } from '../shared/ccjk.BWFpnOr3.mjs';
9
+ import { p as promptBoolean } from '../shared/ccjk.mJpVRDZ8.mjs';
10
10
  import { promises } from 'node:fs';
11
11
  import { homedir } from 'node:os';
12
12
  import { exec as q } from './main.mjs';
13
13
  import { readJsonConfig, writeJsonConfig } from './json-config.mjs';
14
- import { m as moveToTrash } from '../shared/ccjk.CvChMYvB.mjs';
14
+ import { m as moveToTrash } from '../shared/ccjk.DCw2WnZU.mjs';
15
15
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
16
16
  import '../shared/ccjk.BAGoDD49.mjs';
17
17
  import 'node:readline';
@@ -30,7 +30,7 @@ import 'buffer';
30
30
  import 'string_decoder';
31
31
  import 'node:url';
32
32
  import '../shared/ccjk.BBtCGd_g.mjs';
33
- import './index6.mjs';
33
+ import './index7.mjs';
34
34
  import './fs-operations.mjs';
35
35
  import 'node:fs/promises';
36
36
  import '../shared/ccjk.RyizuzOI.mjs';
@@ -1,16 +1,16 @@
1
- import a from './index2.mjs';
2
- import { i as inquirer } from './index3.mjs';
1
+ import a from './index3.mjs';
2
+ import { i as inquirer } from './index4.mjs';
3
3
  import { existsSync } from 'node:fs';
4
4
  import { r as runCodexUpdate, M as MCP_SERVICE_CONFIGS, g as getMcpServices } from './codex.mjs';
5
5
  import { SETTINGS_FILE, DEFAULT_CODE_TOOL_TYPE, resolveCodeToolType as resolveCodeToolType$1, isCodeToolType } from './constants.mjs';
6
- import { i18n } from './index5.mjs';
6
+ import { i18n } from './index6.mjs';
7
7
  import { displayBanner } from './banner.mjs';
8
8
  import { readZcfConfig, updateZcfConfig } from './ccjk-config.mjs';
9
9
  import { r as readMcpConfig } from './claude-config.mjs';
10
10
  import { c as copyConfigFiles } from './config.mjs';
11
- import { n as needsMigration, m as migrateSettingsForTokenRetrieval, d as displayMigrationResult, p as promptMigration, u as updatePromptOnly, s as selectAndInstallWorkflows } from '../shared/ccjk.DOBWBkFR.mjs';
12
- import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.BIxuVL3_.mjs';
13
- import { a as installMcpServices } from '../shared/ccjk.KpFl2RDA.mjs';
11
+ import { n as needsMigration, m as migrateSettingsForTokenRetrieval, d as displayMigrationResult, p as promptMigration, u as updatePromptOnly, s as selectAndInstallWorkflows } from '../shared/ccjk.XsJWJuQP.mjs';
12
+ import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.DcKLglJQ.mjs';
13
+ import { a as installMcpServices } from '../shared/ccjk.DpstNaeR.mjs';
14
14
  import { resolveAiOutputLanguage } from './prompts.mjs';
15
15
  import { g as getRuntimeVersion } from '../shared/ccjk.gDEDGD_t.mjs';
16
16
  import { checkClaudeCodeVersionAndPrompt } from './version-checker.mjs';
@@ -32,7 +32,7 @@ import 'buffer';
32
32
  import 'string_decoder';
33
33
  import 'node:url';
34
34
  import '../shared/ccjk.RyizuzOI.mjs';
35
- import './index7.mjs';
35
+ import './index8.mjs';
36
36
  import '../shared/ccjk.DeWpAShp.mjs';
37
37
  import '../shared/ccjk.CxpGa6MC.mjs';
38
38
  import '../shared/ccjk.BBtCGd_g.mjs';
@@ -46,8 +46,8 @@ import '../shared/ccjk.bQ7Dh1g4.mjs';
46
46
  import './json-config.mjs';
47
47
  import './platform.mjs';
48
48
  import '../shared/ccjk.BFQ7yr5S.mjs';
49
- import '../shared/ccjk.BWFpnOr3.mjs';
50
- import './index6.mjs';
49
+ import '../shared/ccjk.mJpVRDZ8.mjs';
50
+ import './index7.mjs';
51
51
  import '../shared/ccjk.DXRAZcix.mjs';
52
52
 
53
53
  const ccjkVersion = getRuntimeVersion();
@@ -1,6 +1,6 @@
1
- import a from './index2.mjs';
1
+ import a from './index3.mjs';
2
2
  import process__default from 'node:process';
3
- import ora from './index7.mjs';
3
+ import ora from './index8.mjs';
4
4
  import { s as semverExports } from '../shared/ccjk.CxpGa6MC.mjs';
5
5
  import { exec as q } from './main.mjs';
6
6
  import { STATUS } from './banner.mjs';
@@ -13,7 +13,7 @@ import 'node:child_process';
13
13
  import 'node:path';
14
14
  import 'node:stream';
15
15
  import 'node:readline';
16
- import './index5.mjs';
16
+ import './index6.mjs';
17
17
  import 'node:fs';
18
18
  import 'node:url';
19
19
  import '../shared/ccjk.bQ7Dh1g4.mjs';
@@ -640,7 +640,7 @@ function getSourceDisplayName(source, i18n) {
640
640
  return sourceMap[source] || source;
641
641
  }
642
642
  async function performNpmRemovalAndActivateHomebrew(_npmInstallation, homebrewInstallation, tinyExec, i18n, ansis) {
643
- const ora = (await import('./index7.mjs')).default;
643
+ const ora = (await import('./index8.mjs')).default;
644
644
  const spinner = ora(i18n.t("installation:removingDuplicateInstallation")).start();
645
645
  try {
646
646
  const { wrapCommandWithSudo } = await import('./platform.mjs').then(function (n) { return n.p; });
@@ -678,8 +678,8 @@ async function performNpmRemovalAndActivateHomebrew(_npmInstallation, homebrewIn
678
678
  }
679
679
  }
680
680
  async function handleDuplicateInstallations(skipPrompt = false) {
681
- const { ensureI18nInitialized, format, i18n } = await import('./index5.mjs');
682
- const ansis = (await import('./index2.mjs')).default;
681
+ const { ensureI18nInitialized, format, i18n } = await import('./index6.mjs');
682
+ const ansis = (await import('./index3.mjs')).default;
683
683
  ensureI18nInitialized();
684
684
  const duplicateInfo = await checkDuplicateInstallations();
685
685
  if (!duplicateInfo.hasDuplicates) {
@@ -738,7 +738,7 @@ async function handleDuplicateInstallations(skipPrompt = false) {
738
738
  ansis
739
739
  );
740
740
  }
741
- const inquirer = (await import('./index3.mjs').then(function (n) { return n.c; })).default;
741
+ const inquirer = (await import('./index4.mjs').then(function (n) { return n.c; })).default;
742
742
  const sourceDisplayName = getSourceDisplayName(npmInstallation.source, i18n);
743
743
  const confirmMessage = format(i18n.t("installation:confirmRemoveDuplicate"), { source: sourceDisplayName });
744
744
  const { action } = await inquirer.prompt([
@@ -1,6 +1,6 @@
1
- import a from './index2.mjs';
2
- import { i as inquirer } from './index3.mjs';
3
- import { ensureI18nInitialized, i18n } from './index5.mjs';
1
+ import a from './index3.mjs';
2
+ import { i as inquirer } from './index4.mjs';
3
+ import { ensureI18nInitialized, i18n } from './index6.mjs';
4
4
  import { existsSync, readFileSync } from 'node:fs';
5
5
  import { readFile, writeFile, mkdir } from 'node:fs/promises';
6
6
  import { homedir } from 'node:os';
@@ -1,4 +1,4 @@
1
- import a from './index2.mjs';
1
+ import a from './index3.mjs';
2
2
  import { EventEmitter } from 'node:events';
3
3
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'node:fs';
4
4
  import { homedir } from 'node:os';
@@ -1,6 +1,6 @@
1
1
  import { Buffer } from 'node:buffer';
2
2
  import { c as chunkify } from '../shared/ccjk.KfSWcGlE.mjs';
3
- import { canAccessPowerShell, convertWslPathToWindows, isUncPath } from './index14.mjs';
3
+ import { canAccessPowerShell, convertWslPathToWindows, isUncPath } from './index15.mjs';
4
4
  import process__default from 'node:process';
5
5
  import { promisify } from 'node:util';
6
6
  import childProcess from 'node:child_process';
@@ -1,8 +1,8 @@
1
- import a from './index2.mjs';
2
- import { i as inquirer } from './index3.mjs';
1
+ import a from './index3.mjs';
2
+ import { i as inquirer } from './index4.mjs';
3
3
  import { existsSync, readFileSync } from 'node:fs';
4
4
  import { SETTINGS_FILE, CLAUDE_DIR } from './constants.mjs';
5
- import { i18n } from './index5.mjs';
5
+ import { i18n } from './index6.mjs';
6
6
  import { ensureDir, writeFileAtomic } from './fs-operations.mjs';
7
7
  import { m as mergeAndCleanPermissions } from '../shared/ccjk.DXRAZcix.mjs';
8
8
  import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';