ccjk 9.4.7 → 9.4.9

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 (98) hide show
  1. package/dist/chunks/agent.mjs +1 -1
  2. package/dist/chunks/api-providers.mjs +1 -1
  3. package/dist/chunks/api.mjs +2 -2
  4. package/dist/chunks/auto-bootstrap.mjs +1 -1
  5. package/dist/chunks/auto-updater.mjs +1 -1
  6. package/dist/chunks/ccjk-agents.mjs +3 -7
  7. package/dist/chunks/ccjk-all.mjs +3 -7
  8. package/dist/chunks/ccjk-config.mjs +1 -1
  9. package/dist/chunks/ccjk-hooks.mjs +3 -7
  10. package/dist/chunks/ccjk-mcp.mjs +4 -8
  11. package/dist/chunks/ccjk-setup.mjs +3 -7
  12. package/dist/chunks/ccjk-skills.mjs +3 -7
  13. package/dist/chunks/ccr.mjs +11 -15
  14. package/dist/chunks/ccu.mjs +1 -1
  15. package/dist/chunks/check-updates.mjs +2 -2
  16. package/dist/chunks/claude-code-config-manager.mjs +2 -2
  17. package/dist/chunks/claude-code-incremental-manager.mjs +2 -2
  18. package/dist/chunks/claude-config.mjs +1 -1
  19. package/dist/chunks/claude-wrapper.mjs +1 -1
  20. package/dist/chunks/codex-config-switch.mjs +1 -1
  21. package/dist/chunks/codex-provider-manager.mjs +1 -1
  22. package/dist/chunks/codex-uninstaller.mjs +11 -4
  23. package/dist/chunks/codex.mjs +1 -1
  24. package/dist/chunks/commands.mjs +1 -1
  25. package/dist/chunks/completion.mjs +1 -1
  26. package/dist/chunks/config-consolidator.mjs +2 -2
  27. package/dist/chunks/config-switch.mjs +2 -2
  28. package/dist/chunks/config.mjs +1 -1
  29. package/dist/chunks/config2.mjs +1 -1
  30. package/dist/chunks/config3.mjs +1 -1
  31. package/dist/chunks/constants.mjs +1 -1
  32. package/dist/chunks/context-menu.mjs +1 -1
  33. package/dist/chunks/doctor.mjs +2 -2
  34. package/dist/chunks/features.mjs +2 -2
  35. package/dist/chunks/hooks-sync.mjs +3 -3
  36. package/dist/chunks/index2.mjs +176 -7879
  37. package/dist/chunks/index3.mjs +1162 -169
  38. package/dist/chunks/index4.mjs +910 -1076
  39. package/dist/chunks/index5.mjs +137 -947
  40. package/dist/chunks/index6.mjs +630 -167
  41. package/dist/chunks/init.mjs +13 -13
  42. package/dist/chunks/installer.mjs +1 -1
  43. package/dist/chunks/interview.mjs +2 -2
  44. package/dist/chunks/marketplace.mjs +1 -1
  45. package/dist/chunks/mcp-market.mjs +1 -1
  46. package/dist/chunks/mcp.mjs +1 -1
  47. package/dist/chunks/menu.mjs +11 -15
  48. package/dist/chunks/monitor.mjs +2 -2
  49. package/dist/chunks/notification.mjs +1 -1
  50. package/dist/chunks/onboarding.mjs +2 -2
  51. package/dist/chunks/package.mjs +5 -4
  52. package/dist/chunks/permission-manager.mjs +2 -2
  53. package/dist/chunks/permissions.mjs +1 -1
  54. package/dist/chunks/plugin.mjs +1 -1
  55. package/dist/chunks/project-detector.mjs +1 -1
  56. package/dist/chunks/prompts.mjs +1 -1
  57. package/dist/chunks/providers.mjs +1 -1
  58. package/dist/chunks/quick-setup.mjs +8 -8
  59. package/dist/chunks/silent-updater.mjs +1 -1
  60. package/dist/chunks/simple-config.mjs +1 -1
  61. package/dist/chunks/skill.mjs +1 -1
  62. package/dist/chunks/skills-sync.mjs +1 -1
  63. package/dist/chunks/skills.mjs +1 -1
  64. package/dist/chunks/startup.mjs +1 -1
  65. package/dist/chunks/stats.mjs +1 -1
  66. package/dist/chunks/team.mjs +1 -1
  67. package/dist/chunks/thinking.mjs +2 -2
  68. package/dist/chunks/tools.mjs +3 -3
  69. package/dist/chunks/uninstall.mjs +13 -6
  70. package/dist/chunks/update.mjs +5 -5
  71. package/dist/chunks/upgrade-manager.mjs +2 -2
  72. package/dist/chunks/version-checker.mjs +1 -1
  73. package/dist/chunks/vim.mjs +1 -1
  74. package/dist/chunks/workflows.mjs +93 -1
  75. package/dist/cli.mjs +5 -5
  76. package/dist/i18n/locales/en/workflow.json +17 -1
  77. package/dist/i18n/locales/zh-CN/workflow.json +17 -1
  78. package/dist/index.mjs +6 -2
  79. package/dist/shared/{ccjk.CrB6OYHv.mjs → ccjk.BKoi8-Hy.mjs} +1 -1
  80. package/dist/shared/{ccjk.B45Qw6ip.mjs → ccjk.BM_HZogn.mjs} +7 -3
  81. package/dist/shared/{ccjk.zChMF_WZ.mjs → ccjk.BaEp4UHQ.mjs} +1 -1
  82. package/dist/shared/ccjk.BqF4q-Hs.mjs +2735 -0
  83. package/dist/shared/{ccjk.CoQJ5yWS.mjs → ccjk.C4Z5DNIG.mjs} +3 -3
  84. package/dist/shared/{ccjk.D1zFzlNS.mjs → ccjk.CUdzQluX.mjs} +1 -1
  85. package/dist/shared/{ccjk.DGjQxTq_.mjs → ccjk.DntgA8fQ.mjs} +9 -1
  86. package/dist/shared/{ccjk.CiPa6kZ5.mjs → ccjk.f40us0yY.mjs} +1 -1
  87. package/dist/shared/{ccjk.DHVCT7SF.mjs → ccjk.zCqdxT2Y.mjs} +1 -1
  88. package/package.json +5 -4
  89. package/templates/common/workflow/continuousDelivery/en/continuous-delivery.md +628 -0
  90. package/templates/common/workflow/continuousDelivery/zh-CN/continuous-delivery.md +628 -0
  91. package/templates/common/workflow/linearMethod/en/linear-method.md +651 -0
  92. package/templates/common/workflow/linearMethod/zh-CN/linear-method.md +750 -0
  93. package/templates/common/workflow/refactoringMaster/en/refactoring-master.md +516 -0
  94. package/templates/common/workflow/refactoringMaster/zh-CN/refactoring-master.md +810 -0
  95. package/templates/common/workflow/specFirstTDD/en/spec-first-tdd.md +364 -0
  96. package/templates/common/workflow/specFirstTDD/zh-CN/spec-first-tdd.md +364 -0
  97. package/dist/chunks/index7.mjs +0 -658
  98. package/dist/shared/ccjk.0Alj2iLZ.mjs +0 -5679
@@ -5,7 +5,7 @@ import { CCJK_CONFIG_DIR } from './constants.mjs';
5
5
  import { w as writeAgentFile } from '../shared/ccjk.Bvoex4TZ.mjs';
6
6
  import { g as getPluginManager } from '../shared/ccjk.Cg7t5XaL.mjs';
7
7
  import { homedir } from 'node:os';
8
- import './index3.mjs';
8
+ import './index2.mjs';
9
9
  import 'node:process';
10
10
  import 'node:url';
11
11
  import 'i18next';
@@ -1,7 +1,7 @@
1
1
  import { CCJK_CLOUD_API_URL } from './constants.mjs';
2
2
  import 'node:os';
3
3
  import 'pathe';
4
- import './index3.mjs';
4
+ import './index2.mjs';
5
5
  import 'node:fs';
6
6
  import 'node:process';
7
7
  import 'node:url';
@@ -1,6 +1,6 @@
1
1
  import ansis from 'ansis';
2
- import { i18n, format } from './index3.mjs';
3
- import { S as STATUS, t as theme } from '../shared/ccjk.DHVCT7SF.mjs';
2
+ import { i18n, format } from './index2.mjs';
3
+ import { S as STATUS, t as theme } from '../shared/ccjk.zCqdxT2Y.mjs';
4
4
  import inquirer from 'inquirer';
5
5
  import { existsSync, readFileSync, mkdirSync } from 'node:fs';
6
6
  import { homedir } from 'node:os';
@@ -4,7 +4,7 @@ import { release, platform, type, homedir, hostname } from 'node:os';
4
4
  import { fileURLToPath } from 'node:url';
5
5
  import { join, dirname } from 'pathe';
6
6
  import { CCJK_CONFIG_DIR } from './constants.mjs';
7
- import './index3.mjs';
7
+ import './index2.mjs';
8
8
  import 'node:process';
9
9
  import 'i18next';
10
10
  import 'i18next-fs-backend';
@@ -1,7 +1,7 @@
1
1
  import ansis from 'ansis';
2
2
  import ora from 'ora';
3
3
  import { exec } from 'tinyexec';
4
- import { ensureI18nInitialized, i18n, format } from './index3.mjs';
4
+ import { ensureI18nInitialized, i18n, format } from './index2.mjs';
5
5
  import { s as shouldUseSudoForGlobalInstall } from './platform.mjs';
6
6
  import { p as promptBoolean } from '../shared/ccjk.DHbrGcgg.mjs';
7
7
  import { checkClaudeCodeVersion, fixBrokenNpmSymlink, checkCcrVersion, handleDuplicateInstallations, checkCometixLineVersion } from './version-checker.mjs';
@@ -1,18 +1,14 @@
1
1
  import process__default, { cwd } from 'node:process';
2
2
  import consola from 'consola';
3
- import { P as ProjectAnalyzer, g as getTemplatesClient } from '../shared/ccjk.0Alj2iLZ.mjs';
4
- import { i18n } from './index3.mjs';
3
+ import { P as ProjectAnalyzer, g as getTemplatesClient } from '../shared/ccjk.BqF4q-Hs.mjs';
4
+ import { i18n } from './index2.mjs';
5
5
  import { existsSync, readFileSync, writeFileSync, readdirSync } from 'node:fs';
6
6
  import { join, dirname } from 'pathe';
7
7
  import { CLAUDE_AGENTS_DIR } from './constants.mjs';
8
8
  import { w as writeAgentFile } from '../shared/ccjk.Bvoex4TZ.mjs';
9
9
  import { fileURLToPath } from 'node:url';
10
10
  import { e as extractDisplayName, a as extractString } from '../shared/ccjk.AqnXPAzw.mjs';
11
- import 'fs-extra';
12
- import 'fs';
13
- import 'path';
14
- import 'url';
15
- import 'module';
11
+ import 'tinyglobby';
16
12
  import 'smol-toml';
17
13
  import 'ofetch';
18
14
  import 'i18next';
@@ -6,8 +6,8 @@ import { hash } from 'ohash';
6
6
  import { fileURLToPath } from 'node:url';
7
7
  import { ofetch } from 'ofetch';
8
8
  import { randomUUID, createHash } from 'node:crypto';
9
- import { i18n, ensureI18nInitialized } from './index3.mjs';
10
- import { a as analyzeProject } from '../shared/ccjk.0Alj2iLZ.mjs';
9
+ import { i18n, ensureI18nInitialized } from './index2.mjs';
10
+ import { a as analyzeProject } from '../shared/ccjk.BqF4q-Hs.mjs';
11
11
  import { ccjkAgents } from './ccjk-agents.mjs';
12
12
  import { ccjkHooks } from './ccjk-hooks.mjs';
13
13
  import { ccjkMcp } from './ccjk-mcp.mjs';
@@ -17,11 +17,7 @@ import 'node:process';
17
17
  import 'i18next';
18
18
  import 'i18next-fs-backend';
19
19
  import 'pathe';
20
- import 'fs-extra';
21
- import 'fs';
22
- import 'path';
23
- import 'url';
24
- import 'module';
20
+ import 'tinyglobby';
25
21
  import 'smol-toml';
26
22
  import './constants.mjs';
27
23
  import 'node:os';
@@ -5,7 +5,7 @@ import { DEFAULT_CODE_TOOL_TYPE, ZCF_CONFIG_FILE, LEGACY_ZCF_CONFIG_FILES, ZCF_C
5
5
  import { exists, readFile, ensureDir, writeFileAtomic } from './fs-operations.mjs';
6
6
  import { readJsonConfig } from './json-config.mjs';
7
7
  import 'node:os';
8
- import './index3.mjs';
8
+ import './index2.mjs';
9
9
  import 'node:process';
10
10
  import 'node:url';
11
11
  import 'i18next';
@@ -1,18 +1,14 @@
1
1
  import { performance } from 'node:perf_hooks';
2
2
  import { consola } from 'consola';
3
3
  import inquirer from 'inquirer';
4
- import { P as ProjectAnalyzer, g as getTemplatesClient } from '../shared/ccjk.0Alj2iLZ.mjs';
4
+ import { P as ProjectAnalyzer, g as getTemplatesClient } from '../shared/ccjk.BqF4q-Hs.mjs';
5
5
  import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'node:fs';
6
6
  import process__default from 'node:process';
7
7
  import { join, dirname } from 'pathe';
8
8
  import { exec } from 'node:child_process';
9
9
  import { promisify } from 'node:util';
10
- import { i18n } from './index3.mjs';
11
- import 'fs-extra';
12
- import 'fs';
13
- import 'path';
14
- import 'url';
15
- import 'module';
10
+ import { i18n } from './index2.mjs';
11
+ import 'tinyglobby';
16
12
  import 'smol-toml';
17
13
  import 'ofetch';
18
14
  import 'node:url';
@@ -3,21 +3,17 @@ import { cwd } from 'node:process';
3
3
  import ansis from 'ansis';
4
4
  import consola from 'consola';
5
5
  import inquirer from 'inquirer';
6
- import { a as analyzeProject, g as getTemplatesClient } from '../shared/ccjk.0Alj2iLZ.mjs';
6
+ import { a as analyzeProject, g as getTemplatesClient } from '../shared/ccjk.BqF4q-Hs.mjs';
7
7
  import { CLAUDE_DIR } from './constants.mjs';
8
- import { ensureI18nInitialized, i18n } from './index3.mjs';
8
+ import { ensureI18nInitialized, i18n } from './index2.mjs';
9
9
  import { b as backupMcpConfig, r as readMcpConfig, m as mergeMcpServers, w as writeMcpConfig } from './claude-config.mjs';
10
10
  import { e as commandExists } from './platform.mjs';
11
- import 'fs-extra';
11
+ import 'node:fs';
12
12
  import 'pathe';
13
- import 'fs';
14
- import 'path';
15
- import 'url';
16
- import 'module';
13
+ import 'tinyglobby';
17
14
  import 'smol-toml';
18
15
  import 'ofetch';
19
16
  import 'node:os';
20
- import 'node:fs';
21
17
  import 'node:url';
22
18
  import 'i18next';
23
19
  import 'i18next-fs-backend';
@@ -1,7 +1,7 @@
1
1
  import ansis from 'ansis';
2
2
  import { consola } from 'consola';
3
- import { P as ProjectAnalyzer } from '../shared/ccjk.0Alj2iLZ.mjs';
4
- import { i18n } from './index3.mjs';
3
+ import { P as ProjectAnalyzer } from '../shared/ccjk.BqF4q-Hs.mjs';
4
+ import { i18n } from './index2.mjs';
5
5
  import { promises } from 'node:fs';
6
6
  import { performance } from 'node:perf_hooks';
7
7
  import { join } from 'pathe';
@@ -10,11 +10,7 @@ import { ccjkHooks } from './ccjk-hooks.mjs';
10
10
  import { ccjkMcp } from './ccjk-mcp.mjs';
11
11
  import { ccjkSkills } from './ccjk-skills.mjs';
12
12
  import dayjs from 'dayjs';
13
- import 'fs-extra';
14
- import 'fs';
15
- import 'path';
16
- import 'url';
17
- import 'module';
13
+ import 'tinyglobby';
18
14
  import 'smol-toml';
19
15
  import 'ofetch';
20
16
  import 'node:process';
@@ -5,15 +5,11 @@ import { fileURLToPath } from 'node:url';
5
5
  import ansis from 'ansis';
6
6
  import consola from 'consola';
7
7
  import inquirer from 'inquirer';
8
- import { a as analyzeProject, g as getTemplatesClient } from '../shared/ccjk.0Alj2iLZ.mjs';
9
- import { i18n } from './index3.mjs';
8
+ import { a as analyzeProject, g as getTemplatesClient } from '../shared/ccjk.BqF4q-Hs.mjs';
9
+ import { i18n } from './index2.mjs';
10
10
  import { g as getSkillParser } from '../shared/ccjk.Bdhyg3X-.mjs';
11
- import 'fs-extra';
12
11
  import 'pathe';
13
- import 'fs';
14
- import 'path';
15
- import 'url';
16
- import 'module';
12
+ import 'tinyglobby';
17
13
  import 'smol-toml';
18
14
  import 'ofetch';
19
15
  import 'node:process';
@@ -1,10 +1,10 @@
1
- import { a as displayBannerWithInfo } from '../shared/ccjk.DHVCT7SF.mjs';
2
- import { a as handleExitPromptError, h as handleGeneralError } from '../shared/ccjk.CiPa6kZ5.mjs';
1
+ import { a as displayBannerWithInfo } from '../shared/ccjk.zCqdxT2Y.mjs';
2
+ import { a as handleExitPromptError, h as handleGeneralError } from '../shared/ccjk.f40us0yY.mjs';
3
3
  import { s as showCcrMenu } from './tools.mjs';
4
4
  import { showMainMenu } from './menu.mjs';
5
5
  import 'ansis';
6
6
  import './package.mjs';
7
- import './index3.mjs';
7
+ import './index2.mjs';
8
8
  import 'node:fs';
9
9
  import 'node:process';
10
10
  import 'node:url';
@@ -29,7 +29,7 @@ import 'tinyexec';
29
29
  import './config.mjs';
30
30
  import '../shared/ccjk.DHbrGcgg.mjs';
31
31
  import 'inquirer-toggle';
32
- import '../shared/ccjk.zChMF_WZ.mjs';
32
+ import '../shared/ccjk.BaEp4UHQ.mjs';
33
33
  import './auto-updater.mjs';
34
34
  import 'ora';
35
35
  import './version-checker.mjs';
@@ -37,9 +37,9 @@ import 'node:path';
37
37
  import 'semver';
38
38
  import './ccjk-config.mjs';
39
39
  import 'smol-toml';
40
- import '../shared/ccjk.D1zFzlNS.mjs';
40
+ import '../shared/ccjk.CUdzQluX.mjs';
41
41
  import './features.mjs';
42
- import '../shared/ccjk.CoQJ5yWS.mjs';
42
+ import '../shared/ccjk.C4Z5DNIG.mjs';
43
43
  import '../shared/ccjk.BFQ7yr5S.mjs';
44
44
  import './simple-config.mjs';
45
45
  import './claude-code-config-manager.mjs';
@@ -48,12 +48,8 @@ import './codex.mjs';
48
48
  import './prompts.mjs';
49
49
  import './ccjk-agents.mjs';
50
50
  import 'consola';
51
- import '../shared/ccjk.0Alj2iLZ.mjs';
52
- import 'fs-extra';
53
- import 'fs';
54
- import 'path';
55
- import 'url';
56
- import 'module';
51
+ import '../shared/ccjk.BqF4q-Hs.mjs';
52
+ import 'tinyglobby';
57
53
  import 'ofetch';
58
54
  import '../shared/ccjk.Bvoex4TZ.mjs';
59
55
  import '../shared/ccjk.AqnXPAzw.mjs';
@@ -67,11 +63,11 @@ import '../shared/ccjk.pi0nsyn3.mjs';
67
63
  import '../shared/ccjk.J8YiPsOw.mjs';
68
64
  import './init.mjs';
69
65
  import './workflows.mjs';
70
- import '../shared/ccjk.B45Qw6ip.mjs';
66
+ import '../shared/ccjk.BM_HZogn.mjs';
71
67
  import './installer.mjs';
72
- import '../shared/ccjk.CrB6OYHv.mjs';
68
+ import '../shared/ccjk.BKoi8-Hy.mjs';
73
69
  import './uninstall.mjs';
74
- import '../shared/ccjk.DGjQxTq_.mjs';
70
+ import '../shared/ccjk.DntgA8fQ.mjs';
75
71
  import 'trash';
76
72
  import './update.mjs';
77
73
 
@@ -1,7 +1,7 @@
1
1
  import process__default from 'node:process';
2
2
  import ansis from 'ansis';
3
3
  import { x } from 'tinyexec';
4
- import { i18n } from './index3.mjs';
4
+ import { i18n } from './index2.mjs';
5
5
  import 'node:fs';
6
6
  import 'node:url';
7
7
  import 'i18next';
@@ -1,7 +1,7 @@
1
1
  import process__default from 'node:process';
2
2
  import ansis from 'ansis';
3
- import { ensureI18nInitialized, i18n } from './index3.mjs';
4
- import { r as resolveCodeType } from '../shared/ccjk.D1zFzlNS.mjs';
3
+ import { ensureI18nInitialized, i18n } from './index2.mjs';
4
+ import { r as resolveCodeType } from '../shared/ccjk.CUdzQluX.mjs';
5
5
  import { checkAndUpdateTools } from './auto-updater.mjs';
6
6
  import { c as runCodexUpdate } from './codex.mjs';
7
7
  import 'node:fs';
@@ -6,7 +6,7 @@ import { c as clearModelEnv } from './config.mjs';
6
6
  import { ensureDir, exists, copyFile } from './fs-operations.mjs';
7
7
  import { readJsonConfig } from './json-config.mjs';
8
8
  import 'node:os';
9
- import './index3.mjs';
9
+ import './index2.mjs';
10
10
  import 'node:fs';
11
11
  import 'node:process';
12
12
  import 'node:url';
@@ -186,7 +186,7 @@ class ClaudeCodeConfigManager {
186
186
  * Apply profile settings to Claude Code runtime
187
187
  */
188
188
  static async applyProfileSettings(profile) {
189
- const { ensureI18nInitialized, i18n } = await import('./index3.mjs');
189
+ const { ensureI18nInitialized, i18n } = await import('./index2.mjs');
190
190
  ensureI18nInitialized();
191
191
  try {
192
192
  if (!profile) {
@@ -1,10 +1,10 @@
1
1
  import ansis from 'ansis';
2
2
  import inquirer from 'inquirer';
3
- import { ensureI18nInitialized, i18n } from './index3.mjs';
3
+ import { ensureI18nInitialized, i18n } from './index2.mjs';
4
4
  import { ClaudeCodeConfigManager } from './claude-code-config-manager.mjs';
5
5
  import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
6
6
  import { p as promptBoolean } from '../shared/ccjk.DHbrGcgg.mjs';
7
- import { v as validateApiKey } from '../shared/ccjk.CoQJ5yWS.mjs';
7
+ import { v as validateApiKey } from '../shared/ccjk.C4Z5DNIG.mjs';
8
8
  import 'node:fs';
9
9
  import 'node:process';
10
10
  import 'node:url';
@@ -1,6 +1,6 @@
1
1
  import { join } from 'pathe';
2
2
  import { CLAUDE_VSC_CONFIG_FILE, CLAUDE_DIR, ClAUDE_CONFIG_FILE } from './constants.mjs';
3
- import { ensureI18nInitialized, i18n } from './index3.mjs';
3
+ import { ensureI18nInitialized, i18n } from './index2.mjs';
4
4
  import { readJsonConfig, writeJsonConfig, backupJsonConfig } from './json-config.mjs';
5
5
  import { k as isWindows, l as getMcpCommand } from './platform.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import process__default from 'node:process';
2
2
  import { exec } from 'tinyexec';
3
- import { i18n, initI18n } from './index3.mjs';
3
+ import { i18n, initI18n } from './index2.mjs';
4
4
  import { j as findRealCommandPath } from './platform.mjs';
5
5
  import 'node:fs';
6
6
  import 'node:url';
@@ -1,7 +1,7 @@
1
1
  import ansis from 'ansis';
2
2
  import inquirer from 'inquirer';
3
3
  import { CODEX_AUTH_FILE } from './constants.mjs';
4
- import { ensureI18nInitialized, i18n } from './index3.mjs';
4
+ import { ensureI18nInitialized, i18n } from './index2.mjs';
5
5
  import { readJsonConfig } from './json-config.mjs';
6
6
  import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
7
7
  import { p as promptBoolean } from '../shared/ccjk.DHbrGcgg.mjs';
@@ -1,4 +1,4 @@
1
- import { ensureI18nInitialized, i18n } from './index3.mjs';
1
+ import { ensureI18nInitialized, i18n } from './index2.mjs';
2
2
  import { r as readCodexConfig, e as backupCodexComplete, w as writeCodexConfig, f as writeAuthFile } from './codex.mjs';
3
3
  import 'node:fs';
4
4
  import 'node:process';
@@ -1,11 +1,10 @@
1
- import { pathExists } from 'fs-extra';
1
+ import { promises } from 'node:fs';
2
2
  import { join } from 'pathe';
3
3
  import { CODEX_DIR, CODEX_CONFIG_FILE, CODEX_AUTH_FILE, CODEX_AGENTS_FILE, CODEX_PROMPTS_DIR } from './constants.mjs';
4
- import { i18n } from './index3.mjs';
4
+ import { i18n } from './index2.mjs';
5
5
  import { writeFileAtomic } from './fs-operations.mjs';
6
- import { m as moveToTrash } from '../shared/ccjk.DGjQxTq_.mjs';
6
+ import { m as moveToTrash } from '../shared/ccjk.DntgA8fQ.mjs';
7
7
  import 'node:os';
8
- import 'node:fs';
9
8
  import 'node:process';
10
9
  import 'node:url';
11
10
  import 'i18next';
@@ -14,6 +13,14 @@ import 'node:crypto';
14
13
  import 'node:fs/promises';
15
14
  import 'trash';
16
15
 
16
+ async function pathExists(p) {
17
+ try {
18
+ await promises.access(p);
19
+ return true;
20
+ } catch {
21
+ return false;
22
+ }
23
+ }
17
24
  class CodexUninstaller {
18
25
  _lang;
19
26
  conflictResolution = /* @__PURE__ */ new Map();
@@ -9,7 +9,7 @@ import semver__default from 'semver';
9
9
  import { parse } from 'smol-toml';
10
10
  import { x } from 'tinyexec';
11
11
  import { CODEX_AUTH_FILE, SUPPORTED_LANGS, CODEX_DIR, CODEX_AGENTS_FILE, CODEX_PROMPTS_DIR, CODEX_CONFIG_FILE, AI_OUTPUT_LANGUAGES, ZCF_CONFIG_FILE } from './constants.mjs';
12
- import { ensureI18nInitialized, i18n, format } from './index3.mjs';
12
+ import { ensureI18nInitialized, i18n, format } from './index2.mjs';
13
13
  import { updateZcfConfig, readZcfConfig, readDefaultTomlConfig, updateTomlConfig } from './ccjk-config.mjs';
14
14
  import { a as applyAiLanguageDirective } from './config.mjs';
15
15
  import { exists, readFile, ensureDir, writeFileAtomic, writeFile, copyFile, copyDir } from './fs-operations.mjs';
@@ -1,7 +1,7 @@
1
1
  import { exec } from 'node:child_process';
2
2
  import { promisify } from 'node:util';
3
3
  import ansis from 'ansis';
4
- import { ensureI18nInitialized, i18n } from './index3.mjs';
4
+ import { ensureI18nInitialized, i18n } from './index2.mjs';
5
5
  import 'node:fs';
6
6
  import 'node:process';
7
7
  import 'node:url';
@@ -2,7 +2,7 @@ import { existsSync, mkdirSync, writeFileSync } from 'node:fs';
2
2
  import { homedir } from 'node:os';
3
3
  import { join } from 'node:path';
4
4
  import ansis from 'ansis';
5
- import { i18n } from './index3.mjs';
5
+ import { i18n } from './index2.mjs';
6
6
  import 'node:process';
7
7
  import 'node:url';
8
8
  import 'i18next';
@@ -5,8 +5,8 @@ import ansis from 'ansis';
5
5
  import dayjs from 'dayjs';
6
6
  import { join } from 'pathe';
7
7
  import { SETTINGS_FILE, ClAUDE_CONFIG_FILE, CLAUDE_VSC_CONFIG_FILE } from './constants.mjs';
8
- import { S as STATUS } from '../shared/ccjk.DHVCT7SF.mjs';
9
- import './index3.mjs';
8
+ import { S as STATUS } from '../shared/ccjk.zCqdxT2Y.mjs';
9
+ import './index2.mjs';
10
10
  import 'node:url';
11
11
  import 'i18next';
12
12
  import 'i18next-fs-backend';
@@ -2,11 +2,11 @@ import process__default from 'node:process';
2
2
  import ansis from 'ansis';
3
3
  import inquirer from 'inquirer';
4
4
  import { resolveCodeToolType, isCodeToolType, DEFAULT_CODE_TOOL_TYPE } from './constants.mjs';
5
- import { ensureI18nInitialized, i18n } from './index3.mjs';
5
+ import { ensureI18nInitialized, i18n } from './index2.mjs';
6
6
  import { readZcfConfig } from './ccjk-config.mjs';
7
7
  import { ClaudeCodeConfigManager } from './claude-code-config-manager.mjs';
8
8
  import { s as switchCodexProvider, l as listCodexProviders, r as readCodexConfig, a as switchToOfficialLogin, b as switchToProvider } from './codex.mjs';
9
- import { h as handleGeneralError } from '../shared/ccjk.CiPa6kZ5.mjs';
9
+ import { h as handleGeneralError } from '../shared/ccjk.f40us0yY.mjs';
10
10
  import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
11
11
  import 'node:os';
12
12
  import 'pathe';
@@ -4,7 +4,7 @@ import dayjs from 'dayjs';
4
4
  import inquirer from 'inquirer';
5
5
  import { join, dirname } from 'pathe';
6
6
  import { SETTINGS_FILE, CLAUDE_VSC_CONFIG_FILE, CLAUDE_DIR, AI_OUTPUT_LANGUAGES } from './constants.mjs';
7
- import { ensureI18nInitialized, i18n } from './index3.mjs';
7
+ import { ensureI18nInitialized, i18n } from './index2.mjs';
8
8
  import { d as deepMerge, s as setPrimaryApiKey, a as addCompletedOnboarding } from './claude-config.mjs';
9
9
  import { ensureDir, exists, copyDir, writeFileAtomic, copyFile } from './fs-operations.mjs';
10
10
  import { readJsonConfig, writeJsonConfig } from './json-config.mjs';
@@ -8,7 +8,7 @@ import dayjs from 'dayjs';
8
8
  import inquirer from 'inquirer';
9
9
  import { join } from 'pathe';
10
10
  import { SETTINGS_FILE } from './constants.mjs';
11
- import { ensureI18nInitialized, i18n } from './index3.mjs';
11
+ import { ensureI18nInitialized, i18n } from './index2.mjs';
12
12
  import { s as setPrimaryApiKey, a as addCompletedOnboarding } from './claude-config.mjs';
13
13
  import { b as backupExistingConfig } from './config.mjs';
14
14
  import { readJsonConfig, writeJsonConfig } from './json-config.mjs';
@@ -4,7 +4,7 @@ import ansis from 'ansis';
4
4
  import inquirer from 'inquirer';
5
5
  import { getApiProviderPresets } from './api-providers.mjs';
6
6
  import { SETTINGS_FILE } from './constants.mjs';
7
- import { i18n } from './index3.mjs';
7
+ import { i18n } from './index2.mjs';
8
8
  import { b as backupExistingConfig } from './config.mjs';
9
9
  import 'node:os';
10
10
  import 'pathe';
@@ -1,6 +1,6 @@
1
1
  import { homedir } from 'node:os';
2
2
  import { join } from 'pathe';
3
- import { i18n } from './index3.mjs';
3
+ import { i18n } from './index2.mjs';
4
4
  import 'node:fs';
5
5
  import 'node:process';
6
6
  import 'node:url';
@@ -1,6 +1,6 @@
1
1
  import ansis from 'ansis';
2
2
  import inquirer from 'inquirer';
3
- import { i18n } from './index3.mjs';
3
+ import { i18n } from './index2.mjs';
4
4
  import { existsSync, readdirSync, statSync } from 'node:fs';
5
5
  import { homedir } from 'node:os';
6
6
  import process__default from 'node:process';
@@ -5,14 +5,14 @@ import inquirer from 'inquirer';
5
5
  import { resolve, join, dirname } from 'pathe';
6
6
  import { getApiProviderPresets } from './api-providers.mjs';
7
7
  import { SETTINGS_FILE, CLAUDE_DIR } from './constants.mjs';
8
- import { i18n } from './index3.mjs';
8
+ import { i18n } from './index2.mjs';
9
9
  import { g as getPermissionManager } from '../shared/ccjk.pi0nsyn3.mjs';
10
10
  import { e as commandExists } from './platform.mjs';
11
11
  import { P as ProviderHealthMonitor } from '../shared/ccjk.J8YiPsOw.mjs';
12
12
  import { platform, userInfo, homedir } from 'node:os';
13
13
  import ora from 'ora';
14
14
  import { exec } from 'tinyexec';
15
- import { S as STATUS } from '../shared/ccjk.DHVCT7SF.mjs';
15
+ import { S as STATUS } from '../shared/ccjk.zCqdxT2Y.mjs';
16
16
  import { writeFileAtomic } from './fs-operations.mjs';
17
17
  import 'node:url';
18
18
  import 'i18next';
@@ -1,10 +1,10 @@
1
1
  import ansis from 'ansis';
2
2
  import inquirer from 'inquirer';
3
3
  import { SUPPORTED_LANGS, LANG_LABELS } from './constants.mjs';
4
- import { ensureI18nInitialized, i18n, changeLanguage } from './index3.mjs';
4
+ import { ensureI18nInitialized, i18n, changeLanguage } from './index2.mjs';
5
5
  import { updateZcfConfig, readZcfConfig } from './ccjk-config.mjs';
6
6
  import { a as applyAiLanguageDirective, g as getExistingModelConfig, u as updateCustomModel, d as updateDefaultModel, e as getExistingApiConfig, p as promptApiConfigurationAction, f as configureApi } from './config.mjs';
7
- import { c as configureOutputStyle, m as modifyApiConfigPartially, v as validateApiKey, f as formatApiKeyDisplay } from '../shared/ccjk.CoQJ5yWS.mjs';
7
+ import { c as configureOutputStyle, m as modifyApiConfigPartially, v as validateApiKey, f as formatApiKeyDisplay } from '../shared/ccjk.C4Z5DNIG.mjs';
8
8
  import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
9
9
  import { openSettingsJson, importRecommendedPermissions, importRecommendedEnv } from './simple-config.mjs';
10
10
  import { p as promptBoolean } from '../shared/ccjk.DHbrGcgg.mjs';
@@ -2,9 +2,9 @@ import { homedir } from 'node:os';
2
2
  import ansis from 'ansis';
3
3
  import inquirer from 'inquirer';
4
4
  import { join } from 'pathe';
5
- import { i18n } from './index3.mjs';
6
- import { a as displayBannerWithInfo } from '../shared/ccjk.DHVCT7SF.mjs';
7
- import { a as handleExitPromptError, h as handleGeneralError } from '../shared/ccjk.CiPa6kZ5.mjs';
5
+ import { i18n } from './index2.mjs';
6
+ import { a as displayBannerWithInfo } from '../shared/ccjk.zCqdxT2Y.mjs';
7
+ import { a as handleExitPromptError, h as handleGeneralError } from '../shared/ccjk.f40us0yY.mjs';
8
8
  import { ensureDir, writeFileAtomic, exists, readJsonFile } from './fs-operations.mjs';
9
9
  import 'node:fs';
10
10
  import 'node:process';