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.
- package/dist/chunks/agent.mjs +1 -1
- package/dist/chunks/api-providers.mjs +1 -1
- package/dist/chunks/api.mjs +2 -2
- package/dist/chunks/auto-bootstrap.mjs +1 -1
- package/dist/chunks/auto-updater.mjs +1 -1
- package/dist/chunks/ccjk-agents.mjs +3 -7
- package/dist/chunks/ccjk-all.mjs +3 -7
- package/dist/chunks/ccjk-config.mjs +1 -1
- package/dist/chunks/ccjk-hooks.mjs +3 -7
- package/dist/chunks/ccjk-mcp.mjs +4 -8
- package/dist/chunks/ccjk-setup.mjs +3 -7
- package/dist/chunks/ccjk-skills.mjs +3 -7
- package/dist/chunks/ccr.mjs +11 -15
- package/dist/chunks/ccu.mjs +1 -1
- package/dist/chunks/check-updates.mjs +2 -2
- package/dist/chunks/claude-code-config-manager.mjs +2 -2
- package/dist/chunks/claude-code-incremental-manager.mjs +2 -2
- package/dist/chunks/claude-config.mjs +1 -1
- package/dist/chunks/claude-wrapper.mjs +1 -1
- package/dist/chunks/codex-config-switch.mjs +1 -1
- package/dist/chunks/codex-provider-manager.mjs +1 -1
- package/dist/chunks/codex-uninstaller.mjs +11 -4
- package/dist/chunks/codex.mjs +1 -1
- package/dist/chunks/commands.mjs +1 -1
- package/dist/chunks/completion.mjs +1 -1
- package/dist/chunks/config-consolidator.mjs +2 -2
- package/dist/chunks/config-switch.mjs +2 -2
- package/dist/chunks/config.mjs +1 -1
- package/dist/chunks/config2.mjs +1 -1
- package/dist/chunks/config3.mjs +1 -1
- package/dist/chunks/constants.mjs +1 -1
- package/dist/chunks/context-menu.mjs +1 -1
- package/dist/chunks/doctor.mjs +2 -2
- package/dist/chunks/features.mjs +2 -2
- package/dist/chunks/hooks-sync.mjs +3 -3
- package/dist/chunks/index2.mjs +176 -7879
- package/dist/chunks/index3.mjs +1162 -169
- package/dist/chunks/index4.mjs +910 -1076
- package/dist/chunks/index5.mjs +137 -947
- package/dist/chunks/index6.mjs +630 -167
- package/dist/chunks/init.mjs +13 -13
- package/dist/chunks/installer.mjs +1 -1
- package/dist/chunks/interview.mjs +2 -2
- package/dist/chunks/marketplace.mjs +1 -1
- package/dist/chunks/mcp-market.mjs +1 -1
- package/dist/chunks/mcp.mjs +1 -1
- package/dist/chunks/menu.mjs +11 -15
- package/dist/chunks/monitor.mjs +2 -2
- package/dist/chunks/notification.mjs +1 -1
- package/dist/chunks/onboarding.mjs +2 -2
- package/dist/chunks/package.mjs +5 -4
- package/dist/chunks/permission-manager.mjs +2 -2
- package/dist/chunks/permissions.mjs +1 -1
- package/dist/chunks/plugin.mjs +1 -1
- package/dist/chunks/project-detector.mjs +1 -1
- package/dist/chunks/prompts.mjs +1 -1
- package/dist/chunks/providers.mjs +1 -1
- package/dist/chunks/quick-setup.mjs +8 -8
- package/dist/chunks/silent-updater.mjs +1 -1
- package/dist/chunks/simple-config.mjs +1 -1
- package/dist/chunks/skill.mjs +1 -1
- package/dist/chunks/skills-sync.mjs +1 -1
- package/dist/chunks/skills.mjs +1 -1
- package/dist/chunks/startup.mjs +1 -1
- package/dist/chunks/stats.mjs +1 -1
- package/dist/chunks/team.mjs +1 -1
- package/dist/chunks/thinking.mjs +2 -2
- package/dist/chunks/tools.mjs +3 -3
- package/dist/chunks/uninstall.mjs +13 -6
- package/dist/chunks/update.mjs +5 -5
- package/dist/chunks/upgrade-manager.mjs +2 -2
- package/dist/chunks/version-checker.mjs +1 -1
- package/dist/chunks/vim.mjs +1 -1
- package/dist/chunks/workflows.mjs +93 -1
- package/dist/cli.mjs +5 -5
- package/dist/i18n/locales/en/workflow.json +17 -1
- package/dist/i18n/locales/zh-CN/workflow.json +17 -1
- package/dist/index.mjs +6 -2
- package/dist/shared/{ccjk.CrB6OYHv.mjs → ccjk.BKoi8-Hy.mjs} +1 -1
- package/dist/shared/{ccjk.B45Qw6ip.mjs → ccjk.BM_HZogn.mjs} +7 -3
- package/dist/shared/{ccjk.zChMF_WZ.mjs → ccjk.BaEp4UHQ.mjs} +1 -1
- package/dist/shared/ccjk.BqF4q-Hs.mjs +2735 -0
- package/dist/shared/{ccjk.CoQJ5yWS.mjs → ccjk.C4Z5DNIG.mjs} +3 -3
- package/dist/shared/{ccjk.D1zFzlNS.mjs → ccjk.CUdzQluX.mjs} +1 -1
- package/dist/shared/{ccjk.DGjQxTq_.mjs → ccjk.DntgA8fQ.mjs} +9 -1
- package/dist/shared/{ccjk.CiPa6kZ5.mjs → ccjk.f40us0yY.mjs} +1 -1
- package/dist/shared/{ccjk.DHVCT7SF.mjs → ccjk.zCqdxT2Y.mjs} +1 -1
- package/package.json +5 -4
- package/templates/common/workflow/continuousDelivery/en/continuous-delivery.md +628 -0
- package/templates/common/workflow/continuousDelivery/zh-CN/continuous-delivery.md +628 -0
- package/templates/common/workflow/linearMethod/en/linear-method.md +651 -0
- package/templates/common/workflow/linearMethod/zh-CN/linear-method.md +750 -0
- package/templates/common/workflow/refactoringMaster/en/refactoring-master.md +516 -0
- package/templates/common/workflow/refactoringMaster/zh-CN/refactoring-master.md +810 -0
- package/templates/common/workflow/specFirstTDD/en/spec-first-tdd.md +364 -0
- package/templates/common/workflow/specFirstTDD/zh-CN/spec-first-tdd.md +364 -0
- package/dist/chunks/index7.mjs +0 -658
- package/dist/shared/ccjk.0Alj2iLZ.mjs +0 -5679
package/dist/chunks/agent.mjs
CHANGED
|
@@ -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 './
|
|
8
|
+
import './index2.mjs';
|
|
9
9
|
import 'node:process';
|
|
10
10
|
import 'node:url';
|
|
11
11
|
import 'i18next';
|
package/dist/chunks/api.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ansis from 'ansis';
|
|
2
|
-
import { i18n, format } from './
|
|
3
|
-
import { S as STATUS, t as theme } from '../shared/ccjk.
|
|
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 './
|
|
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 './
|
|
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.
|
|
4
|
-
import { i18n } from './
|
|
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 '
|
|
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';
|
package/dist/chunks/ccjk-all.mjs
CHANGED
|
@@ -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 './
|
|
10
|
-
import { a as analyzeProject } from '../shared/ccjk.
|
|
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 '
|
|
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 './
|
|
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.
|
|
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 './
|
|
11
|
-
import '
|
|
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';
|
package/dist/chunks/ccjk-mcp.mjs
CHANGED
|
@@ -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.
|
|
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 './
|
|
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
|
|
11
|
+
import 'node:fs';
|
|
12
12
|
import 'pathe';
|
|
13
|
-
import '
|
|
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.
|
|
4
|
-
import { i18n } from './
|
|
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 '
|
|
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.
|
|
9
|
-
import { i18n } from './
|
|
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 '
|
|
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';
|
package/dist/chunks/ccr.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as displayBannerWithInfo } from '../shared/ccjk.
|
|
2
|
-
import { a as handleExitPromptError, h as handleGeneralError } from '../shared/ccjk.
|
|
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 './
|
|
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.
|
|
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.
|
|
40
|
+
import '../shared/ccjk.CUdzQluX.mjs';
|
|
41
41
|
import './features.mjs';
|
|
42
|
-
import '../shared/ccjk.
|
|
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.
|
|
52
|
-
import '
|
|
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.
|
|
66
|
+
import '../shared/ccjk.BM_HZogn.mjs';
|
|
71
67
|
import './installer.mjs';
|
|
72
|
-
import '../shared/ccjk.
|
|
68
|
+
import '../shared/ccjk.BKoi8-Hy.mjs';
|
|
73
69
|
import './uninstall.mjs';
|
|
74
|
-
import '../shared/ccjk.
|
|
70
|
+
import '../shared/ccjk.DntgA8fQ.mjs';
|
|
75
71
|
import 'trash';
|
|
76
72
|
import './update.mjs';
|
|
77
73
|
|
package/dist/chunks/ccu.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import process__default from 'node:process';
|
|
2
2
|
import ansis from 'ansis';
|
|
3
|
-
import { ensureI18nInitialized, i18n } from './
|
|
4
|
-
import { r as resolveCodeType } from '../shared/ccjk.
|
|
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 './
|
|
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('./
|
|
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 './
|
|
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.
|
|
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 './
|
|
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 './
|
|
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 './
|
|
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 './
|
|
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 {
|
|
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 './
|
|
4
|
+
import { i18n } from './index2.mjs';
|
|
5
5
|
import { writeFileAtomic } from './fs-operations.mjs';
|
|
6
|
-
import { m as moveToTrash } from '../shared/ccjk.
|
|
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();
|
package/dist/chunks/codex.mjs
CHANGED
|
@@ -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 './
|
|
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';
|
package/dist/chunks/commands.mjs
CHANGED
|
@@ -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 './
|
|
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 './
|
|
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.
|
|
9
|
-
import './
|
|
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 './
|
|
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.
|
|
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';
|
package/dist/chunks/config.mjs
CHANGED
|
@@ -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 './
|
|
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';
|
package/dist/chunks/config2.mjs
CHANGED
|
@@ -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 './
|
|
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';
|
package/dist/chunks/config3.mjs
CHANGED
|
@@ -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 './
|
|
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 ansis from 'ansis';
|
|
2
2
|
import inquirer from 'inquirer';
|
|
3
|
-
import { i18n } from './
|
|
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';
|
package/dist/chunks/doctor.mjs
CHANGED
|
@@ -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 './
|
|
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.
|
|
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';
|
package/dist/chunks/features.mjs
CHANGED
|
@@ -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 './
|
|
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.
|
|
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 './
|
|
6
|
-
import { a as displayBannerWithInfo } from '../shared/ccjk.
|
|
7
|
-
import { a as handleExitPromptError, h as handleGeneralError } from '../shared/ccjk.
|
|
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';
|