ccjk 13.5.7 → 13.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/agent-teams.mjs +3 -3
- package/dist/chunks/agent.mjs +2 -2
- package/dist/chunks/agents.mjs +3 -3
- package/dist/chunks/api-cli.mjs +5 -5
- package/dist/chunks/api-providers.mjs +1 -1
- package/dist/chunks/api.mjs +4 -4
- package/dist/chunks/auto-bootstrap.mjs +1 -1
- package/dist/chunks/auto-fix.mjs +17 -5
- package/dist/chunks/auto-fixer.mjs +3 -3
- package/dist/chunks/auto-init.mjs +3 -3
- package/dist/chunks/auto-updater.mjs +7 -7
- package/dist/chunks/banner.mjs +2 -2
- package/dist/chunks/boost.mjs +5 -5
- package/dist/chunks/ccjk-agents.mjs +2 -2
- package/dist/chunks/ccjk-all.mjs +6 -6
- package/dist/chunks/ccjk-config.mjs +2 -2
- package/dist/chunks/ccjk-hooks.mjs +3 -3
- package/dist/chunks/ccjk-mcp.mjs +4 -4
- package/dist/chunks/ccjk-setup.mjs +4 -4
- package/dist/chunks/ccjk-skills.mjs +4 -4
- package/dist/chunks/ccr.mjs +16 -16
- package/dist/chunks/ccu.mjs +2 -2
- package/dist/chunks/check-updates.mjs +8 -8
- package/dist/chunks/claude-code-config-manager.mjs +5 -5
- package/dist/chunks/claude-code-incremental-manager.mjs +6 -6
- package/dist/chunks/claude-config.mjs +2 -2
- package/dist/chunks/claude-wrapper.mjs +1 -1
- package/dist/chunks/cli-hook.mjs +5 -5
- package/dist/chunks/codex-config-switch.mjs +6 -6
- package/dist/chunks/codex-provider-manager.mjs +7 -7
- package/dist/chunks/codex-uninstaller.mjs +2 -2
- package/dist/chunks/codex.mjs +7 -7
- package/dist/chunks/commands.mjs +2 -2
- package/dist/chunks/commands2.mjs +2 -2
- package/dist/chunks/commit.mjs +3 -3
- package/dist/chunks/completion.mjs +2 -2
- package/dist/chunks/config-consolidator.mjs +2 -2
- package/dist/chunks/config-switch.mjs +8 -8
- package/dist/chunks/config.mjs +20 -9
- package/dist/chunks/config2.mjs +4 -4
- package/dist/chunks/config3.mjs +3 -3
- package/dist/chunks/constants.mjs +1 -1
- package/dist/chunks/context.mjs +3 -3
- package/dist/chunks/dashboard.mjs +2 -2
- package/dist/chunks/doctor.mjs +4 -4
- package/dist/chunks/evolution.mjs +2 -2
- package/dist/chunks/features.mjs +8 -8
- package/dist/chunks/help.mjs +1 -1
- package/dist/chunks/impact.mjs +1 -1
- package/dist/chunks/index.mjs +18 -19
- package/dist/chunks/index10.mjs +5145 -528
- package/dist/chunks/index11.mjs +1061 -569
- package/dist/chunks/index12.mjs +193 -1146
- package/dist/chunks/index13.mjs +607 -937
- package/dist/chunks/index14.mjs +951 -136
- package/dist/chunks/index15.mjs +185 -209
- package/dist/chunks/index2.mjs +7623 -12
- package/dist/chunks/index3.mjs +160 -19081
- package/dist/chunks/index4.mjs +19 -18
- package/dist/chunks/index5.mjs +12 -7623
- package/dist/chunks/index6.mjs +19077 -156
- package/dist/chunks/index7.mjs +565 -1551
- package/dist/chunks/index8.mjs +1535 -5166
- package/dist/chunks/init.mjs +1107 -1101
- package/dist/chunks/installer.mjs +5 -5
- package/dist/chunks/installer2.mjs +2 -2
- package/dist/chunks/interview.mjs +4 -4
- package/dist/chunks/manager.mjs +1 -1
- package/dist/chunks/marketplace.mjs +3 -3
- package/dist/chunks/mcp-cli.mjs +9 -9
- package/dist/chunks/mcp.mjs +10 -10
- package/dist/chunks/memory-check.mjs +2 -2
- package/dist/chunks/memory-paths.mjs +2 -2
- package/dist/chunks/memory-sync.mjs +2 -2
- package/dist/chunks/memory.mjs +4 -4
- package/dist/chunks/metrics-display.mjs +1 -1
- package/dist/chunks/migrator.mjs +1 -1
- package/dist/chunks/monitor.mjs +2 -2
- package/dist/chunks/notification.mjs +4 -4
- package/dist/chunks/onboarding.mjs +4 -4
- package/dist/chunks/package.mjs +1 -1
- package/dist/chunks/paradigm.mjs +1 -1
- package/dist/chunks/permission-manager.mjs +2 -2
- package/dist/chunks/permissions.mjs +3 -3
- package/dist/chunks/persistence-manager.mjs +3 -3
- package/dist/chunks/platform.mjs +1 -1
- package/dist/chunks/plugin.mjs +2 -2
- package/dist/chunks/prompts.mjs +5 -5
- package/dist/chunks/providers.mjs +2 -2
- package/dist/chunks/quick-actions.mjs +3 -3
- package/dist/chunks/quick-provider.mjs +4 -4
- package/dist/chunks/quick-setup.mjs +11 -11
- package/dist/chunks/remote.mjs +5 -5
- package/dist/chunks/session-manager.mjs +1 -1
- package/dist/chunks/session.mjs +2 -2
- package/dist/chunks/sessions.mjs +1 -1
- package/dist/chunks/silent-updater.mjs +1 -1
- package/dist/chunks/simple-config.mjs +1 -1
- package/dist/chunks/skill2.mjs +3 -3
- package/dist/chunks/skills-sync.mjs +5 -5
- package/dist/chunks/skills.mjs +3 -3
- package/dist/chunks/slash-commands.mjs +3 -3
- package/dist/chunks/startup.mjs +1 -1
- package/dist/chunks/stats.mjs +2 -2
- package/dist/chunks/status.mjs +3 -3
- package/dist/chunks/team.mjs +3 -3
- package/dist/chunks/thinking.mjs +4 -4
- package/dist/chunks/trace.mjs +2 -2
- package/dist/chunks/uninstall.mjs +8 -8
- package/dist/chunks/update.mjs +12 -12
- package/dist/chunks/upgrade-manager.mjs +3 -3
- package/dist/chunks/upgrade.mjs +1 -1
- package/dist/chunks/version-checker.mjs +4 -4
- package/dist/chunks/vim.mjs +3 -3
- package/dist/chunks/workflows.mjs +1 -1
- package/dist/chunks/wsl.mjs +1 -1
- package/dist/chunks/zero-config.mjs +3 -3
- package/dist/cli.mjs +195 -185
- package/dist/index.mjs +8 -8
- package/dist/shared/{ccjk.BJMRY2Ra.mjs → ccjk.8oaxX4iR.mjs} +1 -1
- package/dist/shared/{ccjk.8VhZ_dEO.mjs → ccjk.Bq8TqZG_.mjs} +1 -1
- package/dist/shared/{ccjk.Bb9Mpi2O.mjs → ccjk.C1hANZTu.mjs} +1 -1
- package/dist/shared/{ccjk.KpFl2RDA.mjs → ccjk.C4m4ypdk.mjs} +5 -5
- package/dist/shared/{ccjk.I6IuYdc_.mjs → ccjk.CQd7SKNC.mjs} +2 -2
- package/dist/shared/{ccjk.Cjj8SVrn.mjs → ccjk.CiKtBUW_.mjs} +1 -1
- package/dist/shared/{ccjk.DKBI0lAR.mjs → ccjk.Cv13QsGp.mjs} +3 -3
- package/dist/shared/{ccjk.D8BqKRwH.mjs → ccjk.CwsecBYP.mjs} +4 -4
- package/dist/shared/{ccjk.DCw2WnZU.mjs → ccjk.D75wivnp.mjs} +1 -1
- package/dist/shared/{ccjk.DZ4ehAHg.mjs → ccjk.DDq2hqA5.mjs} +24 -4
- package/dist/shared/{ccjk.BIxuVL3_.mjs → ccjk.DGllfVCZ.mjs} +3 -3
- package/dist/shared/{ccjk.BWFpnOr3.mjs → ccjk.DZ2LLOa-.mjs} +1 -1
- package/dist/shared/{ccjk.eDO9cM5o.mjs → ccjk.DbigonEQ.mjs} +1 -1
- package/dist/shared/{ccjk.CIObNAcl.mjs → ccjk.Dhu8ia5S.mjs} +1 -1
- package/dist/shared/{ccjk.CHUEFqmw.mjs → ccjk.DlTXS9rP.mjs} +1 -1
- package/dist/shared/{ccjk.CxAFICpL.mjs → ccjk.DvAP4XfP.mjs} +4 -4
- package/dist/shared/{ccjk.BOu1yav7.mjs → ccjk.KPLeMP-o.mjs} +1 -1
- package/dist/shared/{ccjk.D8ZLYSZZ.mjs → ccjk.vO3d1ABk.mjs} +1 -1
- package/dist/templates/claude-code/common/settings.json +0 -1
- package/package.json +68 -65
- package/templates/claude-code/common/settings.json +0 -1
package/dist/chunks/cli-hook.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from 'node:events';
|
|
2
2
|
import { a as getGlobalStateManager, g as getGlobalConvoyManager, c as contextLoader, S as SessionIntelligence } from './session-manager.mjs';
|
|
3
|
-
import { l as logger } from '../shared/ccjk.
|
|
4
|
-
import { h as hookRegistry } from '../shared/ccjk.
|
|
3
|
+
import { l as logger } from '../shared/ccjk.8oaxX4iR.mjs';
|
|
4
|
+
import { h as hookRegistry } from '../shared/ccjk.KPLeMP-o.mjs';
|
|
5
5
|
import { Buffer } from 'node:buffer';
|
|
6
6
|
import { randomUUID } from 'node:crypto';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'node:fs';
|
|
@@ -16,8 +16,8 @@ import 'node:path';
|
|
|
16
16
|
import 'node:stream';
|
|
17
17
|
import 'node:readline';
|
|
18
18
|
import 'tinyglobby';
|
|
19
|
-
import '../shared/ccjk.
|
|
20
|
-
import './
|
|
19
|
+
import '../shared/ccjk.DlTXS9rP.mjs';
|
|
20
|
+
import './index5.mjs';
|
|
21
21
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
22
22
|
import '../shared/ccjk.wLJHO0Af.mjs';
|
|
23
23
|
import 'node:fs/promises';
|
|
@@ -2224,7 +2224,7 @@ const promptUserQuestion = async (question) => {
|
|
|
2224
2224
|
return null;
|
|
2225
2225
|
}
|
|
2226
2226
|
try {
|
|
2227
|
-
const inquirer = (await import('./
|
|
2227
|
+
const inquirer = (await import('./index6.mjs').then(function (n) { return n.c; })).default;
|
|
2228
2228
|
const choices = question.options.map((option) => ({
|
|
2229
2229
|
name: option.description ? `${option.label} \u2014 ${option.description}` : option.label,
|
|
2230
2230
|
value: option.value
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import a from './
|
|
2
|
-
import { i as inquirer } from './
|
|
1
|
+
import a from './index5.mjs';
|
|
2
|
+
import { i as inquirer } from './index6.mjs';
|
|
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
|
-
import { p as promptBoolean } from '../shared/ccjk.
|
|
7
|
+
import { p as promptBoolean } from '../shared/ccjk.DZ2LLOa-.mjs';
|
|
8
8
|
import { d as detectConfigManagementMode } from './codex.mjs';
|
|
9
9
|
import { deleteProviders, addProviderToExisting, editExistingProvider } from './codex-provider-manager.mjs';
|
|
10
10
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
@@ -30,7 +30,7 @@ import '../shared/ccjk.RyizuzOI.mjs';
|
|
|
30
30
|
import './fs-operations.mjs';
|
|
31
31
|
import 'node:fs/promises';
|
|
32
32
|
import '../shared/ccjk.DeWpAShp.mjs';
|
|
33
|
-
import './
|
|
33
|
+
import './index8.mjs';
|
|
34
34
|
import '../shared/ccjk.CxpGa6MC.mjs';
|
|
35
35
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
36
36
|
import './main.mjs';
|
|
@@ -38,7 +38,7 @@ import 'module';
|
|
|
38
38
|
import 'node:child_process';
|
|
39
39
|
import 'node:stream';
|
|
40
40
|
import './ccjk-config.mjs';
|
|
41
|
-
import './
|
|
41
|
+
import './index3.mjs';
|
|
42
42
|
import './config.mjs';
|
|
43
43
|
import './claude-config.mjs';
|
|
44
44
|
import './platform.mjs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ensureI18nInitialized, i18n } from './
|
|
2
|
-
import {
|
|
1
|
+
import { ensureI18nInitialized, i18n } from './index2.mjs';
|
|
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';
|
|
5
5
|
import 'node:url';
|
|
6
6
|
import '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
7
|
-
import './
|
|
7
|
+
import './index5.mjs';
|
|
8
8
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
9
9
|
import '../shared/ccjk.RyizuzOI.mjs';
|
|
10
|
-
import './
|
|
10
|
+
import './index6.mjs';
|
|
11
11
|
import 'node:readline';
|
|
12
12
|
import 'stream';
|
|
13
13
|
import 'node:tty';
|
|
@@ -22,7 +22,7 @@ import 'node:os';
|
|
|
22
22
|
import 'node:crypto';
|
|
23
23
|
import 'buffer';
|
|
24
24
|
import 'string_decoder';
|
|
25
|
-
import './
|
|
25
|
+
import './index8.mjs';
|
|
26
26
|
import '../shared/ccjk.DeWpAShp.mjs';
|
|
27
27
|
import '../shared/ccjk.CxpGa6MC.mjs';
|
|
28
28
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
@@ -32,7 +32,7 @@ import 'node:child_process';
|
|
|
32
32
|
import 'node:stream';
|
|
33
33
|
import './constants.mjs';
|
|
34
34
|
import './ccjk-config.mjs';
|
|
35
|
-
import './
|
|
35
|
+
import './index3.mjs';
|
|
36
36
|
import './fs-operations.mjs';
|
|
37
37
|
import 'node:fs/promises';
|
|
38
38
|
import './json-config.mjs';
|
|
@@ -43,7 +43,7 @@ import '../shared/ccjk.DScm_NnL.mjs';
|
|
|
43
43
|
import '../shared/ccjk.BFQ7yr5S.mjs';
|
|
44
44
|
import './prompts.mjs';
|
|
45
45
|
import '../shared/ccjk.gDEDGD_t.mjs';
|
|
46
|
-
import '../shared/ccjk.
|
|
46
|
+
import '../shared/ccjk.DZ2LLOa-.mjs';
|
|
47
47
|
|
|
48
48
|
async function addProviderToExisting(provider, apiKey, allowOverwrite = false) {
|
|
49
49
|
ensureI18nInitialized();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { promises } from 'node:fs';
|
|
2
2
|
import { CODEX_DIR, CODEX_CONFIG_FILE, CODEX_AUTH_FILE, CODEX_AGENTS_FILE, CODEX_PROMPTS_DIR } from './constants.mjs';
|
|
3
|
-
import { i18n } from './
|
|
3
|
+
import { i18n } from './index2.mjs';
|
|
4
4
|
import { writeFileAtomic } from './fs-operations.mjs';
|
|
5
|
-
import { m as moveToTrash } from '../shared/ccjk.
|
|
5
|
+
import { m as moveToTrash } from '../shared/ccjk.D75wivnp.mjs';
|
|
6
6
|
import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
7
7
|
import 'node:os';
|
|
8
8
|
import 'node:process';
|
package/dist/chunks/codex.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import process__default from 'node:process';
|
|
2
2
|
import { readdirSync } from 'node:fs';
|
|
3
3
|
import { fileURLToPath } from 'node:url';
|
|
4
|
-
import a from './
|
|
4
|
+
import a from './index5.mjs';
|
|
5
5
|
import { d as dayjs } from '../shared/ccjk.RyizuzOI.mjs';
|
|
6
|
-
import { i as inquirer } from './
|
|
7
|
-
import ora from './
|
|
6
|
+
import { i as inquirer } from './index6.mjs';
|
|
7
|
+
import ora from './index8.mjs';
|
|
8
8
|
import { a as semver } from '../shared/ccjk.CxpGa6MC.mjs';
|
|
9
9
|
import { p as parse } from '../shared/ccjk.BBtCGd_g.mjs';
|
|
10
10
|
import { x as K } from './main.mjs';
|
|
11
11
|
import { CODEX_CONFIG_FILE, CODEX_AUTH_FILE, CODEX_DIR, SUPPORTED_LANGS, CODEX_AGENTS_FILE, CODEX_PROMPTS_DIR, ZCF_CONFIG_FILE, AI_OUTPUT_LANGUAGES } 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 { h as applyAiLanguageDirective } from './config.mjs';
|
|
15
15
|
import { exists, readFile, ensureDir, writeFileAtomic, writeFile, copyDir, copyFile } from './fs-operations.mjs';
|
|
16
16
|
import { readJsonConfig, writeJsonConfig } from './json-config.mjs';
|
|
17
|
-
import { k as isWindows,
|
|
17
|
+
import { k as isWindows, l as getMcpCommand, m as getSystemRoot, w as wrapCommandWithSudo, n as normalizeTomlPath } from './platform.mjs';
|
|
18
18
|
import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
|
|
19
19
|
import { resolveAiOutputLanguage } from './prompts.mjs';
|
|
20
|
-
import { p as promptBoolean } from '../shared/ccjk.
|
|
20
|
+
import { p as promptBoolean } from '../shared/ccjk.DZ2LLOa-.mjs';
|
|
21
21
|
import { execSync } from 'node:child_process';
|
|
22
22
|
import { j as join, d as dirname } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
23
23
|
|
|
@@ -2425,4 +2425,4 @@ const codex = {
|
|
|
2425
2425
|
writeCodexConfig: writeCodexConfig
|
|
2426
2426
|
};
|
|
2427
2427
|
|
|
2428
|
-
export { MCP_SERVICE_CONFIGS as M,
|
|
2428
|
+
export { MCP_SERVICE_CONFIGS as M, switchToOfficialLogin as a, switchToProvider as b, runCodexUpdate as c, detectConfigManagementMode as d, backupCodexComplete as e, writeAuthFile as f, getMcpServices as g, getMcpService as h, dynamicMcpRegistry as i, applyCodexPlatformCommand as j, runCodexFullInit as k, listCodexProviders as l, runCodexUninstall as m, configureCodexAiMemoryFeature as n, configureCodexDefaultModelFeature as o, configureCodexMcp as p, configureCodexApi as q, readCodexConfig as r, switchCodexProvider as s, configureCodexPresetFeature as t, runCodexWorkflowImportWithLanguageSelection as u, codex as v, writeCodexConfig as w };
|
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
|
-
import a from './
|
|
4
|
-
import { ensureI18nInitialized, i18n } from './
|
|
3
|
+
import a from './index5.mjs';
|
|
4
|
+
import { ensureI18nInitialized, i18n } from './index2.mjs';
|
|
5
5
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:process';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import process__default from 'node:process';
|
|
2
|
-
import a from './
|
|
2
|
+
import a from './index5.mjs';
|
|
3
3
|
import { checkAgentBrowserInstalled } from './installer2.mjs';
|
|
4
4
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
5
5
|
import 'node:child_process';
|
|
6
6
|
import 'node:util';
|
|
7
|
-
import './
|
|
7
|
+
import './index2.mjs';
|
|
8
8
|
import 'node:fs';
|
|
9
9
|
import 'node:url';
|
|
10
10
|
import '../shared/ccjk.bQ7Dh1g4.mjs';
|
package/dist/chunks/commit.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import a from './
|
|
2
|
-
import { i as inquirer } from './
|
|
1
|
+
import a from './index5.mjs';
|
|
2
|
+
import { i as inquirer } from './index6.mjs';
|
|
3
3
|
import { exec as q } from './main.mjs';
|
|
4
|
-
import { s as showImpactReminder } from '../shared/ccjk.
|
|
4
|
+
import { s as showImpactReminder } from '../shared/ccjk.C1hANZTu.mjs';
|
|
5
5
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
6
6
|
import 'node:readline';
|
|
7
7
|
import 'stream';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, writeFileSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
|
-
import a from './
|
|
5
|
-
import { i18n } from './
|
|
4
|
+
import a from './index5.mjs';
|
|
5
|
+
import { i18n } from './index2.mjs';
|
|
6
6
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
7
7
|
import 'node:process';
|
|
8
8
|
import 'node:url';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { existsSync, statSync, readFileSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import process__default from 'node:process';
|
|
4
|
-
import a from './
|
|
4
|
+
import a from './index5.mjs';
|
|
5
5
|
import { d as dayjs } from '../shared/ccjk.RyizuzOI.mjs';
|
|
6
6
|
import { SETTINGS_FILE, ClAUDE_CONFIG_FILE, CLAUDE_VSC_CONFIG_FILE } from './constants.mjs';
|
|
7
7
|
import { STATUS } from './banner.mjs';
|
|
8
8
|
import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
9
9
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
10
|
-
import './
|
|
10
|
+
import './index2.mjs';
|
|
11
11
|
import 'node:url';
|
|
12
12
|
import '../shared/ccjk.gDEDGD_t.mjs';
|
|
13
13
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import process__default from 'node:process';
|
|
2
|
-
import a from './
|
|
3
|
-
import { i as inquirer } from './
|
|
2
|
+
import a from './index5.mjs';
|
|
3
|
+
import { i as inquirer } from './index6.mjs';
|
|
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
|
-
import { s as switchCodexProvider, l as listCodexProviders,
|
|
9
|
-
import {
|
|
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.DGllfVCZ.mjs';
|
|
10
10
|
import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
|
|
11
11
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
12
12
|
import 'node:readline';
|
|
@@ -27,7 +27,7 @@ import '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
|
27
27
|
import 'node:fs';
|
|
28
28
|
import 'node:url';
|
|
29
29
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
30
|
-
import './
|
|
30
|
+
import './index3.mjs';
|
|
31
31
|
import './fs-operations.mjs';
|
|
32
32
|
import 'node:fs/promises';
|
|
33
33
|
import './json-config.mjs';
|
|
@@ -40,12 +40,12 @@ import 'module';
|
|
|
40
40
|
import 'node:child_process';
|
|
41
41
|
import 'node:stream';
|
|
42
42
|
import '../shared/ccjk.DScm_NnL.mjs';
|
|
43
|
-
import './
|
|
43
|
+
import './index8.mjs';
|
|
44
44
|
import '../shared/ccjk.DeWpAShp.mjs';
|
|
45
45
|
import '../shared/ccjk.CxpGa6MC.mjs';
|
|
46
46
|
import './prompts.mjs';
|
|
47
47
|
import '../shared/ccjk.gDEDGD_t.mjs';
|
|
48
|
-
import '../shared/ccjk.
|
|
48
|
+
import '../shared/ccjk.DZ2LLOa-.mjs';
|
|
49
49
|
|
|
50
50
|
async function configSwitchCommand(options) {
|
|
51
51
|
try {
|
package/dist/chunks/config.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import a from './index2.mjs';
|
|
1
|
+
import a from './index5.mjs';
|
|
3
2
|
import { d as dayjs } from '../shared/ccjk.RyizuzOI.mjs';
|
|
4
|
-
import { i as inquirer } from './
|
|
3
|
+
import { i as inquirer } from './index6.mjs';
|
|
4
|
+
import { fileURLToPath } from 'node:url';
|
|
5
5
|
import { CLAUDE_DIR, SETTINGS_FILE, CLAUDE_VSC_CONFIG_FILE, AI_OUTPUT_LANGUAGES } from './constants.mjs';
|
|
6
|
-
import { ensureI18nInitialized, i18n } from './
|
|
6
|
+
import { ensureI18nInitialized, i18n } from './index2.mjs';
|
|
7
7
|
import { s as setPrimaryApiKey, a as addCompletedOnboarding, d as deepMerge } from './claude-config.mjs';
|
|
8
8
|
import { exists, ensureDir, copyDir, writeFileAtomic, copyFile } from './fs-operations.mjs';
|
|
9
9
|
import { readJsonConfig, writeJsonConfig } from './json-config.mjs';
|
|
@@ -28,6 +28,12 @@ function clearModelEnv(env, mode = "reset") {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
const BUILTIN_MODEL_VALUES = ["opus", "sonnet", "sonnet[1m]"];
|
|
32
|
+
function hasAdaptiveRoutingEnv(settings) {
|
|
33
|
+
return Boolean(
|
|
34
|
+
settings.env?.ANTHROPIC_DEFAULT_HAIKU_MODEL || settings.env?.ANTHROPIC_DEFAULT_SONNET_MODEL || settings.env?.ANTHROPIC_DEFAULT_OPUS_MODEL
|
|
35
|
+
);
|
|
36
|
+
}
|
|
31
37
|
function ensureClaudeDir() {
|
|
32
38
|
ensureDir(CLAUDE_DIR);
|
|
33
39
|
}
|
|
@@ -249,6 +255,12 @@ function mergeSettingsFile(templatePath, targetPath) {
|
|
|
249
255
|
}
|
|
250
256
|
}
|
|
251
257
|
mergedSettings.env = mergedEnv;
|
|
258
|
+
if (mergedSettings.model === "default") {
|
|
259
|
+
delete mergedSettings.model;
|
|
260
|
+
}
|
|
261
|
+
if (mergedSettings.model && hasAdaptiveRoutingEnv(mergedSettings)) {
|
|
262
|
+
delete mergedSettings.model;
|
|
263
|
+
}
|
|
252
264
|
if (mergedSettings.permissions && mergedSettings.permissions.allow) {
|
|
253
265
|
mergedSettings.permissions.allow = mergeAndCleanPermissions(
|
|
254
266
|
templateSettings.permissions?.allow,
|
|
@@ -280,11 +292,10 @@ function getExistingModelConfig() {
|
|
|
280
292
|
if (hasModelEnv) {
|
|
281
293
|
return "custom";
|
|
282
294
|
}
|
|
283
|
-
if (!settings.model) {
|
|
295
|
+
if (!settings.model || settings.model === "default") {
|
|
284
296
|
return "default";
|
|
285
297
|
}
|
|
286
|
-
|
|
287
|
-
if (validModels.includes(settings.model)) {
|
|
298
|
+
if (BUILTIN_MODEL_VALUES.includes(settings.model)) {
|
|
288
299
|
return settings.model;
|
|
289
300
|
}
|
|
290
301
|
return "custom";
|
|
@@ -300,7 +311,7 @@ function getExistingCustomModelConfig() {
|
|
|
300
311
|
ANTHROPIC_DEFAULT_SONNET_MODEL,
|
|
301
312
|
ANTHROPIC_DEFAULT_OPUS_MODEL
|
|
302
313
|
} = settings.env || {};
|
|
303
|
-
const primaryModel = settings.model &&
|
|
314
|
+
const primaryModel = settings.model && settings.model !== "default" && !BUILTIN_MODEL_VALUES.includes(settings.model) ? settings.model : settings.env?.ANTHROPIC_MODEL;
|
|
304
315
|
if (!primaryModel && !ANTHROPIC_DEFAULT_HAIKU_MODEL && !ANTHROPIC_DEFAULT_SONNET_MODEL && !ANTHROPIC_DEFAULT_OPUS_MODEL) {
|
|
305
316
|
return null;
|
|
306
317
|
}
|
|
@@ -427,4 +438,4 @@ const config = {
|
|
|
427
438
|
updateDefaultModel: updateDefaultModel
|
|
428
439
|
};
|
|
429
440
|
|
|
430
|
-
export { getExistingCustomModelConfig as a, backupExistingConfig as b,
|
|
441
|
+
export { getExistingCustomModelConfig as a, backupExistingConfig as b, updateDefaultModel as c, copyConfigFiles as d, configureApi as e, getExistingApiConfig as f, getExistingModelConfig as g, applyAiLanguageDirective as h, ensureClaudeDir as i, config as j, overwriteModelSettings as o, promptApiConfigurationAction as p, switchToOfficialLogin as s, updateCustomModel as u };
|
package/dist/chunks/config2.mjs
CHANGED
|
@@ -3,15 +3,15 @@ import { existsSync, copyFileSync, mkdirSync } from 'node:fs';
|
|
|
3
3
|
import { homedir } from 'node:os';
|
|
4
4
|
import process__default from 'node:process';
|
|
5
5
|
import { promisify } from 'node:util';
|
|
6
|
-
import a from './
|
|
6
|
+
import a from './index5.mjs';
|
|
7
7
|
import { d as dayjs } from '../shared/ccjk.RyizuzOI.mjs';
|
|
8
|
-
import { i as inquirer } from './
|
|
8
|
+
import { i as inquirer } from './index6.mjs';
|
|
9
9
|
import { SETTINGS_FILE } from './constants.mjs';
|
|
10
|
-
import { ensureI18nInitialized, i18n } from './
|
|
10
|
+
import { ensureI18nInitialized, i18n } from './index2.mjs';
|
|
11
11
|
import { s as setPrimaryApiKey, a as addCompletedOnboarding } from './claude-config.mjs';
|
|
12
12
|
import { b as backupExistingConfig } from './config.mjs';
|
|
13
13
|
import { readJsonConfig, writeJsonConfig } from './json-config.mjs';
|
|
14
|
-
import { p as promptBoolean } from '../shared/ccjk.
|
|
14
|
+
import { p as promptBoolean } from '../shared/ccjk.DZ2LLOa-.mjs';
|
|
15
15
|
import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
16
16
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
17
17
|
import 'node:readline';
|
package/dist/chunks/config3.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { existsSync, readFileSync, writeFileSync } from 'node:fs';
|
|
2
2
|
import process__default from 'node:process';
|
|
3
|
-
import a from './
|
|
4
|
-
import { i as inquirer } from './
|
|
3
|
+
import a from './index5.mjs';
|
|
4
|
+
import { i as inquirer } from './index6.mjs';
|
|
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 '../shared/ccjk.BAGoDD49.mjs';
|
|
10
10
|
import 'node:readline';
|
package/dist/chunks/context.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { mkdir, writeFile, access, readFile, readdir, stat } from 'node:fs/promises';
|
|
2
2
|
import { d as dirname, j as join, r as relative } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
3
3
|
import { constants, existsSync, lstatSync, readFileSync, readdirSync } from 'node:fs';
|
|
4
|
-
import a from './
|
|
5
|
-
import { getTranslation } from './
|
|
4
|
+
import a from './index5.mjs';
|
|
5
|
+
import { getTranslation } from './index2.mjs';
|
|
6
6
|
import { inspectMemoryFiles } from './memory-sync.mjs';
|
|
7
7
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
8
8
|
import 'node:process';
|
|
@@ -12,7 +12,7 @@ import './memory-paths.mjs';
|
|
|
12
12
|
import './constants.mjs';
|
|
13
13
|
import 'node:os';
|
|
14
14
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
15
|
-
import './
|
|
15
|
+
import './index3.mjs';
|
|
16
16
|
import './fs-operations.mjs';
|
|
17
17
|
import 'node:crypto';
|
|
18
18
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { existsSync, statSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import process__default from 'node:process';
|
|
4
|
-
import a from './
|
|
5
|
-
import { i18n } from './
|
|
4
|
+
import a from './index5.mjs';
|
|
5
|
+
import { i18n } from './index2.mjs';
|
|
6
6
|
import { createHash } from 'node:crypto';
|
|
7
7
|
import { exec as q } from './main.mjs';
|
|
8
8
|
import { n as normalize, j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
package/dist/chunks/doctor.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, statSync, writeFileSync, readFileSync, copyFileSync, readdirSync } from 'node:fs';
|
|
2
2
|
import process__default from 'node:process';
|
|
3
|
-
import a from './
|
|
4
|
-
import { i as inquirer } from './
|
|
3
|
+
import a from './index5.mjs';
|
|
4
|
+
import { i as inquirer } from './index6.mjs';
|
|
5
5
|
import { getApiProviderPresets } from './api-providers.mjs';
|
|
6
6
|
import { SETTINGS_FILE, CLAUDE_DIR } from './constants.mjs';
|
|
7
|
-
import { i18n } from './
|
|
7
|
+
import { i18n } from './index2.mjs';
|
|
8
8
|
import { g as getPermissionManager } from '../shared/ccjk.SPoXMvZD.mjs';
|
|
9
9
|
import { e as commandExists } from './platform.mjs';
|
|
10
10
|
import { P as ProviderHealthMonitor } from '../shared/ccjk.J8YiPsOw.mjs';
|
|
11
11
|
import { platform, userInfo, homedir } from 'node:os';
|
|
12
|
-
import ora from './
|
|
12
|
+
import ora from './index8.mjs';
|
|
13
13
|
import { exec as q } from './main.mjs';
|
|
14
14
|
import { STATUS } from './banner.mjs';
|
|
15
15
|
import { writeFileAtomic } from './fs-operations.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import a from './
|
|
1
|
+
import a from './index5.mjs';
|
|
2
2
|
import { getCloudBaseUrl } from './constants.mjs';
|
|
3
|
-
import { i18n } from './
|
|
3
|
+
import { i18n } from './index2.mjs';
|
|
4
4
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
5
5
|
import 'node:os';
|
|
6
6
|
import '../shared/ccjk.bQ7Dh1g4.mjs';
|
package/dist/chunks/features.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import process__default from 'node:process';
|
|
4
|
-
import a from './
|
|
5
|
-
import { i as inquirer } from './
|
|
4
|
+
import a from './index5.mjs';
|
|
5
|
+
import { i as inquirer } from './index6.mjs';
|
|
6
6
|
import { SUPPORTED_LANGS, LANG_LABELS } from './constants.mjs';
|
|
7
|
-
import { ensureI18nInitialized, i18n, changeLanguage } from './
|
|
7
|
+
import { ensureI18nInitialized, i18n, changeLanguage } from './index2.mjs';
|
|
8
8
|
import { updateZcfConfig, readZcfConfig } from './ccjk-config.mjs';
|
|
9
|
-
import { g as getExistingModelConfig, a as getExistingCustomModelConfig, u as updateCustomModel,
|
|
9
|
+
import { g as getExistingModelConfig, a as getExistingCustomModelConfig, u as updateCustomModel, c as updateDefaultModel } from './config.mjs';
|
|
10
10
|
import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
|
|
11
|
-
import { p as promptBoolean } from '../shared/ccjk.
|
|
11
|
+
import { p as promptBoolean } from '../shared/ccjk.DZ2LLOa-.mjs';
|
|
12
12
|
import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
13
13
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
14
14
|
import 'node:readline';
|
|
@@ -26,7 +26,7 @@ import 'buffer';
|
|
|
26
26
|
import 'string_decoder';
|
|
27
27
|
import 'node:url';
|
|
28
28
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
29
|
-
import './
|
|
29
|
+
import './index3.mjs';
|
|
30
30
|
import './fs-operations.mjs';
|
|
31
31
|
import 'node:fs/promises';
|
|
32
32
|
import './json-config.mjs';
|
|
@@ -369,8 +369,8 @@ async function updateCodexLanguageDirective(aiOutputLang) {
|
|
|
369
369
|
return setCodexLanguageDirective(aiOutputLang, "update");
|
|
370
370
|
}
|
|
371
371
|
async function configureMemoryFeature() {
|
|
372
|
-
const inquirer2 = (await import('./
|
|
373
|
-
const ansis2 = (await import('./
|
|
372
|
+
const inquirer2 = (await import('./index6.mjs').then(function (n) { return n.c; })).default;
|
|
373
|
+
const ansis2 = (await import('./index5.mjs')).default;
|
|
374
374
|
const { execSync } = await import('node:child_process');
|
|
375
375
|
const fs = await import('node:fs/promises');
|
|
376
376
|
const { getCcjkMemoryPath, getClaudeMemoryPath } = await import('./memory-paths.mjs');
|
package/dist/chunks/help.mjs
CHANGED
package/dist/chunks/impact.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, writeFileSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
|
-
import a from './
|
|
3
|
+
import a from './index5.mjs';
|
|
4
4
|
import { getContextPersistence } from './persistence.mjs';
|
|
5
5
|
import { g as getStatsStorage } from '../shared/ccjk.OTnevPNE.mjs';
|
|
6
6
|
import { j as join, d as dirname } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
package/dist/chunks/index.mjs
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
1
|
+
export { r as runHealthCheck } from '../shared/ccjk.xkKNsC02.mjs';
|
|
2
|
+
import 'node:fs';
|
|
3
|
+
import './constants.mjs';
|
|
4
|
+
import 'node:os';
|
|
3
5
|
import './index2.mjs';
|
|
4
|
-
import '../shared/ccjk.BAGoDD49.mjs';
|
|
5
|
-
import './index3.mjs';
|
|
6
|
-
import 'node:readline';
|
|
7
|
-
import 'stream';
|
|
8
|
-
import 'node:tty';
|
|
9
6
|
import 'node:process';
|
|
10
|
-
import 'node:
|
|
11
|
-
import '../shared/ccjk.
|
|
12
|
-
import '
|
|
13
|
-
import 'tty';
|
|
14
|
-
import 'fs';
|
|
15
|
-
import 'child_process';
|
|
7
|
+
import 'node:url';
|
|
8
|
+
import '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
9
|
+
import './memory-check.mjs';
|
|
16
10
|
import 'node:path';
|
|
17
|
-
import '
|
|
18
|
-
import '
|
|
19
|
-
import '
|
|
20
|
-
import '
|
|
21
|
-
import '
|
|
11
|
+
import '../shared/ccjk.BAGoDD49.mjs';
|
|
12
|
+
import 'fs';
|
|
13
|
+
import 'constants';
|
|
14
|
+
import 'stream';
|
|
15
|
+
import 'util';
|
|
16
|
+
import 'assert';
|
|
17
|
+
import 'path';
|
|
18
|
+
import './memory-paths.mjs';
|
|
19
|
+
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
20
|
+
import './index3.mjs';
|
|
22
21
|
import './fs-operations.mjs';
|
|
22
|
+
import 'node:crypto';
|
|
23
23
|
import 'node:fs/promises';
|
|
24
|
-
import '../shared/ccjk.bQ7Dh1g4.mjs';
|