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,11 +1,11 @@
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 process__default from 'node:process';
5
5
  import { m as runCodexFullInit, k as selectMcpServices, g as getMcpServices, M as MCP_SERVICE_CONFIGS } from './codex.mjs';
6
- import { a as modifyApiConfigPartially, b as configureApiCompletely, n as needsMigration, m as migrateSettingsForTokenRetrieval, d as displayMigrationResult, p as promptMigration, s as selectAndInstallWorkflows, c as configureOutputStyle, f as formatApiKeyDisplay, W as WORKFLOW_CONFIG_BASE } from '../shared/ccjk.DOBWBkFR.mjs';
6
+ import { a as modifyApiConfigPartially, b as configureApiCompletely, n as needsMigration, m as migrateSettingsForTokenRetrieval, d as displayMigrationResult, p as promptMigration, s as selectAndInstallWorkflows, c as configureOutputStyle, f as formatApiKeyDisplay, W as WORKFLOW_CONFIG_BASE } from '../shared/ccjk.XsJWJuQP.mjs';
7
7
  import { SETTINGS_FILE, DEFAULT_CODE_TOOL_TYPE, CODE_TOOL_BANNERS, API_DEFAULT_URL } from './constants.mjs';
8
- import { ensureI18nInitialized, i18n } from './index5.mjs';
8
+ import { ensureI18nInitialized, i18n } from './index6.mjs';
9
9
  import { displayBannerWithInfo, padToDisplayWidth } from './banner.mjs';
10
10
  import { readZcfConfig, updateZcfConfig } from './ccjk-config.mjs';
11
11
  import { readCcrConfig, backupCcrConfig, createDefaultCcrConfig, writeCcrConfig, configureCcrProxy, setupCcrConfiguration } from './config2.mjs';
@@ -14,18 +14,18 @@ import { promisify } from 'node:util';
14
14
  import { updateCcr } from './auto-updater.mjs';
15
15
  import { w as wrapCommandWithSudo, k as isWindows, i as isTermux } from './platform.mjs';
16
16
  import { a as addCompletedOnboarding, s as setPrimaryApiKey, c as backupMcpConfig, b as buildMcpServerConfig, r as readMcpConfig, e as replaceMcpServers, f as fixWindowsMcpConfig, w as writeMcpConfig, g as syncMcpPermissions } from './claude-config.mjs';
17
- import { r as resolveCodeType } from '../shared/ccjk.Cjj8SVrn.mjs';
17
+ import { r as resolveCodeType } from '../shared/ccjk.Cot9p9_n.mjs';
18
18
  import { exists } from './fs-operations.mjs';
19
19
  import { readJsonConfig, writeJsonConfig } from './json-config.mjs';
20
20
  import { p as promptApiConfigurationAction, i as ensureClaudeDir, g as getExistingApiConfig, s as switchToOfficialLogin, b as backupExistingConfig, c as copyConfigFiles, e as applyAiLanguageDirective, d as configureApi } from './config.mjs';
21
- import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.BIxuVL3_.mjs';
21
+ import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.DcKLglJQ.mjs';
22
22
  import { getInstallationStatus, installClaudeCode } from './installer.mjs';
23
23
  import { p as parseOrchestrationLevel, w as writeOrchestrationPolicy } from './smart-defaults.mjs';
24
24
  import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
25
25
  import { resolveAiOutputLanguage } from './prompts.mjs';
26
26
  import { g as getRuntimeVersion } from '../shared/ccjk.gDEDGD_t.mjs';
27
- import { c as checkSuperpowersInstalled, i as installSuperpowers } from '../shared/ccjk._dESH4Rk.mjs';
28
- import { p as promptBoolean } from '../shared/ccjk.BWFpnOr3.mjs';
27
+ import { c as checkSuperpowersInstalled, i as installSuperpowers } from '../shared/ccjk.dYDLfmph.mjs';
28
+ import { p as promptBoolean } from '../shared/ccjk.mJpVRDZ8.mjs';
29
29
  import { checkClaudeCodeVersionAndPrompt } from './version-checker.mjs';
30
30
 
31
31
  const execAsync$1 = promisify(exec);
@@ -661,7 +661,7 @@ async function init(options = {}) {
661
661
  try {
662
662
  setPrimaryApiKey();
663
663
  } catch (error) {
664
- const { ensureI18nInitialized, i18n: i18nModule } = await import('./index5.mjs');
664
+ const { ensureI18nInitialized, i18n: i18nModule } = await import('./index6.mjs');
665
665
  ensureI18nInitialized();
666
666
  console.error(i18nModule.t("mcp:primaryApiKeySetFailed"), error);
667
667
  }
@@ -1278,7 +1278,7 @@ async function init(options = {}) {
1278
1278
  }
1279
1279
  }
1280
1280
  async function handleMultiConfigurations(options, codeToolType) {
1281
- const { ensureI18nInitialized } = await import('./index5.mjs');
1281
+ const { ensureI18nInitialized } = await import('./index6.mjs');
1282
1282
  ensureI18nInitialized();
1283
1283
  try {
1284
1284
  let configs = [];
@@ -1517,7 +1517,7 @@ async function smartInit(options = {}) {
1517
1517
  try {
1518
1518
  console.log(a.bold.green("\n\u{1F9E0} Smart Initialization Mode\n"));
1519
1519
  console.log(a.gray("Analyzing your project to generate optimal configuration...\n"));
1520
- const { analyzeProject } = await import('./index10.mjs');
1520
+ const { analyzeProject } = await import('./index11.mjs');
1521
1521
  const analysis = await analyzeProject();
1522
1522
  console.log(a.cyan("\u{1F4CA} Project Analysis:"));
1523
1523
  console.log(a.gray(` \u2022 Type: ${analysis.projectType}`));
@@ -1536,7 +1536,7 @@ async function smartInit(options = {}) {
1536
1536
  console.log(a.gray(` \u2022 CI/CD: ${analysis.cicd.join(", ")}`));
1537
1537
  }
1538
1538
  console.log("");
1539
- const { selectTemplates } = await import('./index10.mjs');
1539
+ const { selectTemplates } = await import('./index11.mjs');
1540
1540
  const selection = await selectTemplates(analysis);
1541
1541
  console.log(a.cyan("\u{1F3AF} Template Selection:"));
1542
1542
  console.log(a.gray(` \u2022 Agents: ${selection.agents.length} selected`));
@@ -1562,7 +1562,7 @@ async function smartInit(options = {}) {
1562
1562
  }
1563
1563
  }
1564
1564
  console.log(a.gray("\n\u{1F527} Generating configurations...\n"));
1565
- const { generateConfigs, writeConfigs } = await import('./index10.mjs');
1565
+ const { generateConfigs, writeConfigs } = await import('./index11.mjs');
1566
1566
  const config = await generateConfigs(selection);
1567
1567
  await writeConfigs(config);
1568
1568
  console.log(a.green("\u2714 Configurations generated successfully!"));
@@ -1,11 +1,11 @@
1
1
  import * as fs from 'node:fs';
2
2
  import { homedir } from 'node:os';
3
3
  import process__default from 'node:process';
4
- import a from './index2.mjs';
5
- import { i as inquirer } from './index3.mjs';
6
- import ora from './index7.mjs';
4
+ import a from './index3.mjs';
5
+ import { i as inquirer } from './index4.mjs';
6
+ import ora from './index8.mjs';
7
7
  import { exec as q } from './main.mjs';
8
- import { ensureI18nInitialized, i18n } from './index5.mjs';
8
+ import { ensureI18nInitialized, i18n } from './index6.mjs';
9
9
  import { updateClaudeCode } from './auto-updater.mjs';
10
10
  import { exists } from './fs-operations.mjs';
11
11
  import { f as findCommandPath, g as getPlatform, a as getHomebrewCommandPaths, i as isTermux, b as getTermuxPrefix, c as isWSL, d as getWSLInfo, w as wrapCommandWithSudo, e as commandExists, h as getRecommendedInstallMethods } from './platform.mjs';
@@ -29,7 +29,7 @@ import 'module';
29
29
  import 'node:child_process';
30
30
  import 'node:stream';
31
31
  import 'node:url';
32
- import '../shared/ccjk.BWFpnOr3.mjs';
32
+ import '../shared/ccjk.mJpVRDZ8.mjs';
33
33
  import './version-checker.mjs';
34
34
  import '../shared/ccjk.CxpGa6MC.mjs';
35
35
  import 'node:fs/promises';
@@ -1,4 +1,4 @@
1
- import a from './index2.mjs';
1
+ import a from './index3.mjs';
2
2
  import { existsSync } from 'node:fs';
3
3
  import { homedir } from 'node:os';
4
4
  import { join } from 'node:path';
@@ -2,10 +2,10 @@ import { existsSync } from 'node:fs';
2
2
  import { writeFile, mkdir, readFile } from 'node:fs/promises';
3
3
  import { resolve, dirname, join } from 'node:path';
4
4
  import process__default from 'node:process';
5
- import a from './index2.mjs';
6
- import { i as inquirer } from './index3.mjs';
7
- import { i18n } from './index5.mjs';
8
- import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.BIxuVL3_.mjs';
5
+ import a from './index3.mjs';
6
+ import { i as inquirer } from './index4.mjs';
7
+ import { i18n } from './index6.mjs';
8
+ import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.DcKLglJQ.mjs';
9
9
  import { randomUUID } from 'node:crypto';
10
10
  import '../shared/ccjk.BAGoDD49.mjs';
11
11
  import 'node:readline';
@@ -4,7 +4,7 @@ import { CCJK_SKILLS_DIR } from './constants.mjs';
4
4
  import { browserSkill } from './skill.mjs';
5
5
  import { writeFileAtomic } from './fs-operations.mjs';
6
6
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
7
- import './index5.mjs';
7
+ import './index6.mjs';
8
8
  import 'node:process';
9
9
  import 'node:url';
10
10
  import 'node:crypto';
@@ -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 { createHash } from 'node:crypto';
4
4
  import { existsSync, createWriteStream } from 'node:fs';
5
5
  import { readFile, mkdir, rm } from 'node:fs/promises';
@@ -1,15 +1,15 @@
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 { g as getMcpServices } from './codex.mjs';
4
4
  import { r as readMcpConfig } from './claude-config.mjs';
5
- import { i as installMcpService, u as uninstallMcpService } from '../shared/ccjk.KpFl2RDA.mjs';
5
+ import { i as installMcpService, u as uninstallMcpService } from '../shared/ccjk.DpstNaeR.mjs';
6
6
  import '../shared/ccjk.BAGoDD49.mjs';
7
7
  import 'node:fs';
8
8
  import 'node:process';
9
9
  import 'node:url';
10
10
  import '../shared/ccjk.bQ7Dh1g4.mjs';
11
11
  import '../shared/ccjk.RyizuzOI.mjs';
12
- import './index3.mjs';
12
+ import './index4.mjs';
13
13
  import 'node:readline';
14
14
  import 'stream';
15
15
  import 'node:tty';
@@ -24,7 +24,7 @@ import 'node:os';
24
24
  import 'node:crypto';
25
25
  import 'buffer';
26
26
  import 'string_decoder';
27
- import './index7.mjs';
27
+ import './index8.mjs';
28
28
  import '../shared/ccjk.DeWpAShp.mjs';
29
29
  import '../shared/ccjk.CxpGa6MC.mjs';
30
30
  import '../shared/ccjk.BBtCGd_g.mjs';
@@ -34,7 +34,7 @@ import 'node:child_process';
34
34
  import 'node:stream';
35
35
  import './constants.mjs';
36
36
  import './ccjk-config.mjs';
37
- import './index6.mjs';
37
+ import './index7.mjs';
38
38
  import './fs-operations.mjs';
39
39
  import 'node:fs/promises';
40
40
  import './json-config.mjs';
@@ -44,7 +44,7 @@ import './platform.mjs';
44
44
  import '../shared/ccjk.BFQ7yr5S.mjs';
45
45
  import './prompts.mjs';
46
46
  import '../shared/ccjk.gDEDGD_t.mjs';
47
- import '../shared/ccjk.BWFpnOr3.mjs';
47
+ import '../shared/ccjk.mJpVRDZ8.mjs';
48
48
 
49
49
  async function mcpInstallCli(options) {
50
50
  const lang = options.lang || i18n.language || "en";
@@ -64,7 +64,7 @@ async function mcpInstallCli(options) {
64
64
  process.exit(1);
65
65
  }
66
66
  if (!options.yes) {
67
- const inquirer = await import('./index3.mjs').then(function (n) { return n.c; });
67
+ const inquirer = await import('./index4.mjs').then(function (n) { return n.c; });
68
68
  const { confirm } = await inquirer.default.prompt([{
69
69
  type: "confirm",
70
70
  name: "confirm",
@@ -120,7 +120,7 @@ async function mcpUninstallCli(options) {
120
120
  return;
121
121
  }
122
122
  if (!options.yes) {
123
- const inquirer = await import('./index3.mjs').then(function (n) { return n.c; });
123
+ const inquirer = await import('./index4.mjs').then(function (n) { return n.c; });
124
124
  const { confirm } = await inquirer.default.prompt([{
125
125
  type: "confirm",
126
126
  name: "confirm",
@@ -1,12 +1,12 @@
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 'node:child_process';
4
4
  import 'node:process';
5
5
  import { M as MCP_SERVICE_TIERS, i as isCoreService, g as getServicesByTier, c as checkMcpPerformance, f as formatPerformanceWarning, a as calculateResourceUsage, b as getOptimizationSuggestions, d as getMcpTierConfig } from './mcp-performance.mjs';
6
6
  import { r as readMcpConfig, c as backupMcpConfig, w as writeMcpConfig } from './claude-config.mjs';
7
- import { i as inquirer } from './index3.mjs';
7
+ import { i as inquirer } from './index4.mjs';
8
8
  import { M as MCP_SERVICE_CONFIGS } from './codex.mjs';
9
- import { d as displayInstalledMcpServices, b as isMcpServiceInstalled, i as installMcpService, u as uninstallMcpService } from '../shared/ccjk.KpFl2RDA.mjs';
9
+ import { d as displayInstalledMcpServices, b as isMcpServiceInstalled, i as installMcpService, u as uninstallMcpService } from '../shared/ccjk.DpstNaeR.mjs';
10
10
  import { existsSync, unlinkSync, statSync, mkdirSync, readFileSync } from 'node:fs';
11
11
  import { homedir } from 'node:os';
12
12
  import { writeFileAtomic } from './fs-operations.mjs';
@@ -34,18 +34,18 @@ import 'fs';
34
34
  import 'child_process';
35
35
  import 'buffer';
36
36
  import 'string_decoder';
37
- import './index7.mjs';
37
+ import './index8.mjs';
38
38
  import '../shared/ccjk.DeWpAShp.mjs';
39
39
  import '../shared/ccjk.CxpGa6MC.mjs';
40
40
  import '../shared/ccjk.BBtCGd_g.mjs';
41
41
  import './ccjk-config.mjs';
42
- import './index6.mjs';
42
+ import './index7.mjs';
43
43
  import './config.mjs';
44
44
  import '../shared/ccjk.DXRAZcix.mjs';
45
45
  import '../shared/ccjk.BFQ7yr5S.mjs';
46
46
  import './prompts.mjs';
47
47
  import '../shared/ccjk.gDEDGD_t.mjs';
48
- import '../shared/ccjk.BWFpnOr3.mjs';
48
+ import '../shared/ccjk.mJpVRDZ8.mjs';
49
49
 
50
50
  function getReleasableServices(configuredServices, tier) {
51
51
  return configuredServices.filter((serviceId) => {
@@ -1,5 +1,5 @@
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, mkdirSync, writeFileSync } from 'node:fs';
4
4
  import { homedir } from 'node:os';
5
5
  import { AutoMemoryBridge } from './auto-memory-bridge.mjs';
@@ -22,7 +22,7 @@ import 'node:crypto';
22
22
  import 'buffer';
23
23
  import 'string_decoder';
24
24
  import 'node:fs/promises';
25
- import './index5.mjs';
25
+ import './index6.mjs';
26
26
  import 'node:url';
27
27
  import 'module';
28
28
  import 'node:child_process';
@@ -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 { n as normalizeMenuInput } from './menu.mjs';
5
5
  import '../shared/ccjk.BAGoDD49.mjs';
6
6
  import 'node:readline';
@@ -23,7 +23,7 @@ import 'node:url';
23
23
  import '../shared/ccjk.bQ7Dh1g4.mjs';
24
24
  import './codex.mjs';
25
25
  import '../shared/ccjk.RyizuzOI.mjs';
26
- import './index7.mjs';
26
+ import './index8.mjs';
27
27
  import '../shared/ccjk.DeWpAShp.mjs';
28
28
  import '../shared/ccjk.CxpGa6MC.mjs';
29
29
  import '../shared/ccjk.BBtCGd_g.mjs';
@@ -33,7 +33,7 @@ import 'node:child_process';
33
33
  import 'node:stream';
34
34
  import './constants.mjs';
35
35
  import './ccjk-config.mjs';
36
- import './index6.mjs';
36
+ import './index7.mjs';
37
37
  import './fs-operations.mjs';
38
38
  import 'node:fs/promises';
39
39
  import './json-config.mjs';
@@ -44,25 +44,25 @@ import '../shared/ccjk.DXRAZcix.mjs';
44
44
  import '../shared/ccjk.BFQ7yr5S.mjs';
45
45
  import './prompts.mjs';
46
46
  import '../shared/ccjk.gDEDGD_t.mjs';
47
- import '../shared/ccjk.BWFpnOr3.mjs';
47
+ import '../shared/ccjk.mJpVRDZ8.mjs';
48
48
  import './banner.mjs';
49
- import '../shared/ccjk.Cjj8SVrn.mjs';
49
+ import '../shared/ccjk.Cot9p9_n.mjs';
50
50
  import './smart-defaults.mjs';
51
51
  import '../shared/ccjk.BrPUmTqm.mjs';
52
- import '../shared/ccjk.BIxuVL3_.mjs';
52
+ import '../shared/ccjk.DcKLglJQ.mjs';
53
53
  import './config2.mjs';
54
54
  import './init.mjs';
55
- import '../shared/ccjk.DOBWBkFR.mjs';
55
+ import '../shared/ccjk.XsJWJuQP.mjs';
56
56
  import './auto-updater.mjs';
57
57
  import './version-checker.mjs';
58
58
  import './installer.mjs';
59
- import '../shared/ccjk._dESH4Rk.mjs';
59
+ import '../shared/ccjk.dYDLfmph.mjs';
60
60
  import './simple-config.mjs';
61
61
  import './commands.mjs';
62
62
  import './ccjk-agents.mjs';
63
63
  import '../shared/ccjk.UIvifqNE.mjs';
64
- import '../shared/ccjk.DS7UESmF.mjs';
65
- import './index8.mjs';
64
+ import '../shared/ccjk.hrRv8G6j.mjs';
65
+ import './index9.mjs';
66
66
  import 'tinyglobby';
67
67
  import '../shared/ccjk.CfKKcvWy.mjs';
68
68
  import '../shared/ccjk.C2jHOZVP.mjs';
@@ -74,10 +74,10 @@ import './api-providers.mjs';
74
74
  import '../shared/ccjk.SPoXMvZD.mjs';
75
75
  import '../shared/ccjk.J8YiPsOw.mjs';
76
76
  import './uninstall.mjs';
77
- import '../shared/ccjk.CvChMYvB.mjs';
77
+ import '../shared/ccjk.DCw2WnZU.mjs';
78
78
  import 'globby';
79
79
  import './update.mjs';
80
- import '../shared/ccjk.KpFl2RDA.mjs';
80
+ import '../shared/ccjk.DpstNaeR.mjs';
81
81
 
82
82
  function renderMenuHeader(context, isZh) {
83
83
  const title = context.breadcrumb.join(i18n.t("menu:menu.breadcrumb.separator"));
@@ -1,24 +1,24 @@
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, mkdirSync, writeFileSync, readFileSync } from 'node:fs';
4
4
  import process__default from 'node:process';
5
5
  import { k as selectMcpServices, g as getMcpServices, M as MCP_SERVICE_CONFIGS } from './codex.mjs';
6
6
  import { SUPPORTED_LANGS, LANG_LABELS, CODE_TOOL_BANNERS, CLAUDE_DIR, isCodeToolType, DEFAULT_CODE_TOOL_TYPE } from './constants.mjs';
7
- import { ensureI18nInitialized, i18n, changeLanguage } from './index5.mjs';
7
+ import { ensureI18nInitialized, i18n, changeLanguage } from './index6.mjs';
8
8
  import { displayBannerWithInfo } from './banner.mjs';
9
9
  import { updateZcfConfig, readZcfConfig } from './ccjk-config.mjs';
10
10
  import { r as readMcpConfig, f as fixWindowsMcpConfig, w as writeMcpConfig, c as backupMcpConfig, b as buildMcpServerConfig, m as mergeMcpServers } from './claude-config.mjs';
11
- import { r as resolveCodeType } from '../shared/ccjk.Cjj8SVrn.mjs';
12
- import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.BIxuVL3_.mjs';
11
+ import { r as resolveCodeType } from '../shared/ccjk.Cot9p9_n.mjs';
12
+ import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.DcKLglJQ.mjs';
13
13
  import { homedir } from 'node:os';
14
14
  import { setupCcrConfiguration, readCcrConfig, configureCcrFeature } from './config2.mjs';
15
15
  import { a as isCcrInstalled, b as installCcr, i as init } from './init.mjs';
16
16
  import { e as applyAiLanguageDirective, f as getExistingModelConfig, u as updateCustomModel, h as updateDefaultModel, g as getExistingApiConfig, p as promptApiConfigurationAction, d as configureApi, s as switchToOfficialLogin } from './config.mjs';
17
- import { c as configureOutputStyle, a as modifyApiConfigPartially, v as validateApiKey, f as formatApiKeyDisplay } from '../shared/ccjk.DOBWBkFR.mjs';
17
+ import { c as configureOutputStyle, a as modifyApiConfigPartially, v as validateApiKey, f as formatApiKeyDisplay } from '../shared/ccjk.XsJWJuQP.mjs';
18
18
  import { k as isWindows } from './platform.mjs';
19
19
  import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
20
20
  import { openSettingsJson, importRecommendedPermissions, importRecommendedEnv } from './simple-config.mjs';
21
- import { p as promptBoolean } from '../shared/ccjk.BWFpnOr3.mjs';
21
+ import { p as promptBoolean } from '../shared/ccjk.mJpVRDZ8.mjs';
22
22
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
23
23
  import { runCcrStop, runCcrStart, runCcrRestart, runCcrStatus, runCcrUi } from './commands.mjs';
24
24
  import { ccjkAgents } from './ccjk-agents.mjs';
@@ -667,8 +667,8 @@ async function configureMergedPermissionsFeature() {
667
667
  }
668
668
  async function configureMemoryFeature() {
669
669
  const { AutoMemoryBridge } = await import('./auto-memory-bridge.mjs');
670
- const inquirer2 = (await import('./index3.mjs').then(function (n) { return n.c; })).default;
671
- const ansis2 = (await import('./index2.mjs')).default;
670
+ const inquirer2 = (await import('./index4.mjs').then(function (n) { return n.c; })).default;
671
+ const ansis2 = (await import('./index3.mjs')).default;
672
672
  const { execSync } = await import('child_process');
673
673
  const fs = await import('fs/promises');
674
674
  const path = await import('path');
@@ -1137,7 +1137,7 @@ async function handleHierarchicalMenu() {
1137
1137
  defaultValue: true
1138
1138
  });
1139
1139
  if (offerGen) {
1140
- const { smartGenerateAndInstall } = await import('./index10.mjs');
1140
+ const { smartGenerateAndInstall } = await import('./index11.mjs');
1141
1141
  await smartGenerateAndInstall();
1142
1142
  }
1143
1143
  break;
@@ -1241,7 +1241,7 @@ async function showSimplifiedMenu() {
1241
1241
  defaultValue: true
1242
1242
  });
1243
1243
  if (offerGen) {
1244
- const { smartGenerateAndInstall } = await import('./index10.mjs');
1244
+ const { smartGenerateAndInstall } = await import('./index11.mjs');
1245
1245
  await smartGenerateAndInstall();
1246
1246
  }
1247
1247
  break;
@@ -1345,7 +1345,7 @@ async function showSimplifiedMenu() {
1345
1345
  return void 0;
1346
1346
  }
1347
1347
  case "g": {
1348
- const { smartGenerateAndInstall } = await import('./index10.mjs');
1348
+ const { smartGenerateAndInstall } = await import('./index11.mjs');
1349
1349
  await smartGenerateAndInstall();
1350
1350
  printSeparator();
1351
1351
  return void 0;
@@ -1,4 +1,4 @@
1
- import a from './index2.mjs';
1
+ import a from './index3.mjs';
2
2
  import '../shared/ccjk.BAGoDD49.mjs';
3
3
 
4
4
  function formatTokenCount(tokens) {
@@ -2,7 +2,7 @@ import { SETTINGS_FILE } from './constants.mjs';
2
2
  import { exists } from './fs-operations.mjs';
3
3
  import { readJsonConfig, writeJsonConfig } from './json-config.mjs';
4
4
  import 'node:os';
5
- import './index5.mjs';
5
+ import './index6.mjs';
6
6
  import 'node:fs';
7
7
  import 'node:process';
8
8
  import 'node:url';
@@ -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 { displayBannerWithInfo } from './banner.mjs';
4
4
  import process__default from 'node:process';
5
5
  import { n as nanoid } from '../shared/ccjk.BoApaI4j.mjs';
@@ -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 { m as maskToken, a as isValidTokenFormat, c as generateDeviceToken, d as decryptToken, e as encryptToken, f as getDeviceInfo, i as isDeviceBound, g as getBindingStatus, u as unbindDevice, b as bindDevice, s as sendNotification } from '../shared/ccjk.c-ETfBZ_.mjs';
5
5
  import { exec } from 'node:child_process';
6
6
  import * as fs from 'node:fs';
@@ -13,7 +13,7 @@ import process__default from 'node:process';
13
13
  import { promisify } from 'node:util';
14
14
  import { writeFileAtomic } from './fs-operations.mjs';
15
15
  import { p as parse } from '../shared/ccjk.BBtCGd_g.mjs';
16
- import { stringify } from './index6.mjs';
16
+ import { stringify } from './index7.mjs';
17
17
  import '../shared/ccjk.BAGoDD49.mjs';
18
18
  import 'node:readline';
19
19
  import 'stream';
@@ -1,7 +1,7 @@
1
- import a from './index2.mjs';
1
+ import a from './index3.mjs';
2
2
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'node:fs';
3
3
  import { CCJK_CONFIG_DIR } from './constants.mjs';
4
- import { i18n } from './index5.mjs';
4
+ import { i18n } from './index6.mjs';
5
5
  import { r as runHealthCheck } from '../shared/ccjk.CfrpIIKy.mjs';
6
6
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
7
7
  import '../shared/ccjk.BAGoDD49.mjs';
@@ -1,9 +1,9 @@
1
1
  import { existsSync, readFileSync, readdirSync, mkdirSync, statSync } from 'node:fs';
2
2
  import process__default from 'node:process';
3
- import a from './index2.mjs';
3
+ import a from './index3.mjs';
4
4
  import { d as dayjs } from '../shared/ccjk.RyizuzOI.mjs';
5
- import { i as inquirer } from './index3.mjs';
6
- import ora from './index7.mjs';
5
+ import { i as inquirer } from './index4.mjs';
6
+ import ora from './index8.mjs';
7
7
  import { CCJK_CONFIG_DIR } from './constants.mjs';
8
8
  import { d as detectProject, g as getProjectSummary, a as generateSuggestions } from '../shared/ccjk.hoqrwWdN.mjs';
9
9
  import { boxify, COLORS as theme, STATUS } from './banner.mjs';
@@ -25,7 +25,7 @@ import 'node:crypto';
25
25
  import 'buffer';
26
26
  import 'string_decoder';
27
27
  import '../shared/ccjk.DeWpAShp.mjs';
28
- import './index5.mjs';
28
+ import './index6.mjs';
29
29
  import 'node:url';
30
30
  import '../shared/ccjk.gDEDGD_t.mjs';
31
31
  import 'node:fs/promises';
@@ -1,3 +1,3 @@
1
- const version = "12.2.2";
1
+ const version = "12.3.1";
2
2
 
3
3
  export { version };
@@ -1,4 +1,4 @@
1
- import a from './index2.mjs';
1
+ import a from './index3.mjs';
2
2
  import { f as fsParadigm } from '../shared/ccjk.BxSmJ8B7.mjs';
3
3
  import '../shared/ccjk.BAGoDD49.mjs';
4
4
  import 'node:fs';
@@ -1,11 +1,11 @@
1
1
  import { existsSync, readFileSync } from 'node:fs';
2
- import a from './index2.mjs';
2
+ import a from './index3.mjs';
3
3
  import { SETTINGS_FILE, CCJK_CONFIG_DIR } from './constants.mjs';
4
4
  import { STATUS } from './banner.mjs';
5
5
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
6
6
  import '../shared/ccjk.BAGoDD49.mjs';
7
7
  import 'node:os';
8
- import './index5.mjs';
8
+ import './index6.mjs';
9
9
  import 'node:process';
10
10
  import 'node:url';
11
11
  import '../shared/ccjk.gDEDGD_t.mjs';
@@ -1,8 +1,8 @@
1
1
  import process__default from 'node:process';
2
- import a from './index2.mjs';
3
- import { i as inquirer } from './index3.mjs';
2
+ import a from './index3.mjs';
3
+ import { i as inquirer } from './index4.mjs';
4
4
  import './main.mjs';
5
- import { i18n } from './index5.mjs';
5
+ import { i18n } from './index6.mjs';
6
6
  import { g as getPermissionManager } from '../shared/ccjk.SPoXMvZD.mjs';
7
7
  import '../shared/ccjk.BAGoDD49.mjs';
8
8
  import 'node:readline';
@@ -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 { writeFileSync } from 'node:fs';
4
- import { i18n } from './index5.mjs';
4
+ import { i18n } from './index6.mjs';
5
5
  import { getContextPersistence } from './persistence.mjs';
6
6
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
7
7
  import '../shared/ccjk.BAGoDD49.mjs';
@@ -1,9 +1,9 @@
1
1
  import process__default from 'node:process';
2
- import a from './index2.mjs';
2
+ import a from './index3.mjs';
3
3
  import { Buffer } from 'node:buffer';
4
4
  import { existsSync, mkdirSync, readFileSync, unlinkSync, readdirSync, statSync, rmSync } from 'node:fs';
5
5
  import { CCJK_CLOUD_PLUGINS_DIR, CCJK_CLOUD_PLUGINS_CACHE_DIR, CCJK_CLOUD_PLUGINS_INSTALLED_DIR } from './constants.mjs';
6
- import { i18n } from './index5.mjs';
6
+ import { i18n } from './index6.mjs';
7
7
  import { writeFileAtomic } from './fs-operations.mjs';
8
8
  import { homedir } from 'node:os';
9
9
  import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
@@ -1,12 +1,12 @@
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 process__default from 'node:process';
4
4
  import { LANG_LABELS, getAiOutputLanguageLabel, SUPPORTED_LANGS, AI_OUTPUT_LANGUAGES } from './constants.mjs';
5
- import { ensureI18nInitialized, i18n } from './index5.mjs';
5
+ import { ensureI18nInitialized, i18n } from './index6.mjs';
6
6
  import { readZcfConfig, updateZcfConfig } from './ccjk-config.mjs';
7
7
  import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
8
8
  import { g as getRuntimeVersion } from '../shared/ccjk.gDEDGD_t.mjs';
9
- import { p as promptBoolean } from '../shared/ccjk.BWFpnOr3.mjs';
9
+ import { p as promptBoolean } from '../shared/ccjk.mJpVRDZ8.mjs';
10
10
  import '../shared/ccjk.BAGoDD49.mjs';
11
11
  import 'node:readline';
12
12
  import 'stream';
@@ -26,7 +26,7 @@ import '../shared/ccjk.bQ7Dh1g4.mjs';
26
26
  import 'node:fs';
27
27
  import 'node:url';
28
28
  import '../shared/ccjk.BBtCGd_g.mjs';
29
- import './index6.mjs';
29
+ import './index7.mjs';
30
30
  import './fs-operations.mjs';
31
31
  import 'node:fs/promises';
32
32
  import './json-config.mjs';
@@ -1,6 +1,6 @@
1
- import a from './index2.mjs';
1
+ import a from './index3.mjs';
2
2
  import { getApiProviderPresets } from './api-providers.mjs';
3
- import { i18n } from './index5.mjs';
3
+ import { i18n } from './index6.mjs';
4
4
  import { P as ProviderHealthMonitor } from '../shared/ccjk.J8YiPsOw.mjs';
5
5
  import '../shared/ccjk.BAGoDD49.mjs';
6
6
  import './constants.mjs';
@@ -1,6 +1,6 @@
1
1
  import { existsSync, readFileSync, writeFileSync } from 'node:fs';
2
2
  import { homedir } from 'node:os';
3
- import a from './index2.mjs';
3
+ import a from './index3.mjs';
4
4
  import { getContextPersistence } from './persistence.mjs';
5
5
  import { MetricsDisplay } from './metrics-display.mjs';
6
6
  import { r as runHealthCheck } from '../shared/ccjk.CfrpIIKy.mjs';
@@ -8,7 +8,7 @@ import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
8
8
  import '../shared/ccjk.BAGoDD49.mjs';
9
9
  import 'better-sqlite3';
10
10
  import './constants.mjs';
11
- import './index5.mjs';
11
+ import './index6.mjs';
12
12
  import 'node:process';
13
13
  import 'node:url';
14
14
  import 'fs';