ccjk 12.2.1 → 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.
- package/dist/chunks/agent-teams.mjs +3 -3
- package/dist/chunks/agent.mjs +2 -2
- package/dist/chunks/agents.mjs +4 -5
- 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-fixer.mjs +3 -3
- package/dist/chunks/auto-init.mjs +3 -77
- package/dist/chunks/auto-updater.mjs +9 -9
- package/dist/chunks/banner.mjs +2 -2
- package/dist/chunks/boost.mjs +4 -4
- package/dist/chunks/ccjk-agents.mjs +3 -3
- package/dist/chunks/ccjk-all.mjs +6 -6
- package/dist/chunks/ccjk-config.mjs +2 -2
- package/dist/chunks/ccjk-hooks.mjs +4 -4
- package/dist/chunks/ccjk-mcp.mjs +5 -5
- package/dist/chunks/ccjk-setup.mjs +5 -5
- package/dist/chunks/ccjk-skills.mjs +5 -5
- package/dist/chunks/ccr.mjs +14 -14
- package/dist/chunks/ccu.mjs +2 -2
- package/dist/chunks/check-updates.mjs +6 -6
- package/dist/chunks/claude-code-config-manager.mjs +5 -4
- package/dist/chunks/claude-code-incremental-manager.mjs +6 -6
- package/dist/chunks/claude-config.mjs +1 -1
- package/dist/chunks/claude-wrapper.mjs +1 -1
- package/dist/chunks/cli-hook.mjs +998 -8
- package/dist/chunks/codex-config-switch.mjs +6 -6
- package/dist/chunks/codex-provider-manager.mjs +6 -6
- package/dist/chunks/codex-uninstaller.mjs +2 -2
- package/dist/chunks/codex.mjs +5 -5
- package/dist/chunks/commands.mjs +2 -2
- package/dist/chunks/commands2.mjs +1 -1
- package/dist/chunks/commit.mjs +2 -2
- package/dist/chunks/completion.mjs +2 -2
- package/dist/chunks/config-consolidator.mjs +2 -2
- package/dist/chunks/config-switch.mjs +7 -7
- package/dist/chunks/config.mjs +3 -3
- 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-opt.mjs +442 -0
- package/dist/chunks/convoy-manager.mjs +355 -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/health-alerts.mjs +530 -4
- package/dist/chunks/help.mjs +1 -1
- package/dist/chunks/index.mjs +0 -23
- package/dist/chunks/index10.mjs +571 -634
- package/dist/chunks/index11.mjs +569 -1061
- package/dist/chunks/index12.mjs +1076 -914
- package/dist/chunks/index13.mjs +951 -135
- package/dist/chunks/index14.mjs +184 -209
- package/dist/chunks/index15.mjs +218 -0
- package/dist/chunks/index2.mjs +24 -19
- package/dist/chunks/index3.mjs +12 -19085
- package/dist/chunks/index4.mjs +19092 -16
- package/dist/chunks/index5.mjs +16 -7602
- package/dist/chunks/index6.mjs +7590 -159
- package/dist/chunks/index7.mjs +171 -1602
- package/dist/chunks/index8.mjs +1602 -19
- package/dist/chunks/index9.mjs +15 -612
- package/dist/chunks/init.mjs +13 -13
- package/dist/chunks/installer.mjs +5 -5
- package/dist/chunks/installer2.mjs +1 -1
- package/dist/chunks/interview.mjs +4 -4
- package/dist/chunks/manager.mjs +1 -1
- package/dist/chunks/marketplace.mjs +2 -2
- package/dist/chunks/mcp-cli.mjs +9 -9
- package/dist/chunks/mcp.mjs +7 -7
- package/dist/chunks/memory.mjs +3 -3
- package/dist/chunks/menu-hierarchical.mjs +14 -14
- package/dist/chunks/menu.mjs +12 -12
- 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-wizard.mjs +2 -2
- 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/plugin.mjs +2 -2
- package/dist/chunks/prompts.mjs +5 -5
- package/dist/chunks/providers.mjs +2 -2
- package/dist/chunks/quick-actions.mjs +2 -2
- package/dist/chunks/quick-provider.mjs +6 -5
- package/dist/chunks/quick-setup.mjs +10 -10
- package/dist/chunks/remote.mjs +5 -5
- 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 +4 -4
- 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 +2 -2
- 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 +9 -9
- package/dist/chunks/upgrade-manager.mjs +3 -3
- 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 +56 -23
- package/dist/index.mjs +5 -5
- package/dist/shared/ccjk.B1TwPltj.mjs +78 -0
- package/dist/shared/{ccjk.CePkJq2S.mjs → ccjk.BfIpomdz.mjs} +1 -1
- package/dist/shared/{ccjk.D8ZLYSZZ.mjs → ccjk.CXzjn01x.mjs} +1 -1
- package/dist/shared/{ccjk.Cjj8SVrn.mjs → ccjk.Cot9p9_n.mjs} +1 -1
- package/dist/shared/{ccjk.CvChMYvB.mjs → ccjk.DCw2WnZU.mjs} +1 -1
- package/dist/shared/{ccjk.DG_o24cZ.mjs → ccjk.DJdmgr2d.mjs} +1 -1
- package/dist/shared/{ccjk.BIxuVL3_.mjs → ccjk.DcKLglJQ.mjs} +2 -2
- package/dist/shared/{ccjk.DLLw-h4Y.mjs → ccjk.DfXjf8EC.mjs} +2 -2
- package/dist/shared/{ccjk.KpFl2RDA.mjs → ccjk.DpstNaeR.mjs} +3 -3
- package/dist/shared/{ccjk.DOBWBkFR.mjs → ccjk.XsJWJuQP.mjs} +5 -5
- package/dist/shared/{ccjk._dESH4Rk.mjs → ccjk.dYDLfmph.mjs} +1 -1
- package/dist/shared/{ccjk.DS7UESmF.mjs → ccjk.hrRv8G6j.mjs} +4 -4
- package/dist/shared/{ccjk.BWFpnOr3.mjs → ccjk.mJpVRDZ8.mjs} +1 -1
- package/dist/templates/claude-code/common/settings.json +3 -1
- package/package.json +20 -18
- package/templates/claude-code/common/settings.json +3 -1
- package/dist/chunks/context-loader.mjs +0 -351
- package/dist/chunks/context.mjs +0 -372
- package/dist/chunks/health-check.mjs +0 -532
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { existsSync, readFileSync } from 'node:fs';
|
|
2
|
-
import a from './
|
|
2
|
+
import a from './index3.mjs';
|
|
3
3
|
import { SETTINGS_FILE } from './constants.mjs';
|
|
4
|
-
import { ensureI18nInitialized, i18n } from './
|
|
4
|
+
import { ensureI18nInitialized, i18n } from './index6.mjs';
|
|
5
5
|
import { writeJsonConfig } from './json-config.mjs';
|
|
6
6
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
7
7
|
import 'node:os';
|
|
@@ -71,7 +71,7 @@ async function agentTeamsCommand(options) {
|
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
73
|
const current = isAgentTeamsEnabled();
|
|
74
|
-
const { default: inquirer } = await import('./
|
|
74
|
+
const { default: inquirer } = await import('./index4.mjs').then(function (n) { return n.c; });
|
|
75
75
|
const { action } = await inquirer.prompt([{
|
|
76
76
|
type: "list",
|
|
77
77
|
name: "action",
|
package/dist/chunks/agent.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import a from './
|
|
1
|
+
import a from './index3.mjs';
|
|
2
2
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync } from 'node:fs';
|
|
3
3
|
import { CCJK_CONFIG_DIR } from './constants.mjs';
|
|
4
4
|
import { w as writeAgentFile } from '../shared/ccjk.CfKKcvWy.mjs';
|
|
@@ -6,7 +6,7 @@ import { g as getPluginManager } from '../shared/ccjk.DTdjs-qK.mjs';
|
|
|
6
6
|
import { homedir } from 'node:os';
|
|
7
7
|
import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
8
8
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
9
|
-
import './
|
|
9
|
+
import './index6.mjs';
|
|
10
10
|
import 'node:process';
|
|
11
11
|
import 'node:url';
|
|
12
12
|
import './main.mjs';
|
package/dist/chunks/agents.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import a from './
|
|
2
|
-
import ora from './
|
|
1
|
+
import a from './index3.mjs';
|
|
2
|
+
import ora from './index8.mjs';
|
|
3
3
|
import { n as nanoid } from '../shared/ccjk.BoApaI4j.mjs';
|
|
4
4
|
import { EventEmitter } from 'node:events';
|
|
5
5
|
import { c as resolve } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
6
|
-
import { e as executionTracer } from '../shared/ccjk.
|
|
6
|
+
import { e as executionTracer } from '../shared/ccjk.BfIpomdz.mjs';
|
|
7
7
|
import { t as taskPersistence } from '../shared/ccjk.BFxsJM0k.mjs';
|
|
8
|
-
import { contextLoader } from './
|
|
9
|
-
import { S as SessionIntelligence, g as getGlobalConvoyManager } from './convoy-manager.mjs';
|
|
8
|
+
import { c as contextLoader, S as SessionIntelligence, g as getGlobalConvoyManager } from './convoy-manager.mjs';
|
|
10
9
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
11
10
|
import 'node:process';
|
|
12
11
|
import '../shared/ccjk.Cjgrln_h.mjs';
|
package/dist/chunks/api-cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import a from './
|
|
2
|
-
import { i18n } from './
|
|
1
|
+
import a from './index3.mjs';
|
|
2
|
+
import { i18n } from './index6.mjs';
|
|
3
3
|
import { d as configureApi, g as getExistingApiConfig } from './config.mjs';
|
|
4
4
|
import { g as getAllPresets } from '../shared/ccjk.CL4Yat0G.mjs';
|
|
5
5
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
@@ -8,7 +8,7 @@ import 'node:process';
|
|
|
8
8
|
import 'node:url';
|
|
9
9
|
import '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
10
10
|
import '../shared/ccjk.RyizuzOI.mjs';
|
|
11
|
-
import './
|
|
11
|
+
import './index4.mjs';
|
|
12
12
|
import 'node:readline';
|
|
13
13
|
import 'stream';
|
|
14
14
|
import 'node:tty';
|
|
@@ -39,7 +39,7 @@ async function apiConfigure(options = {}) {
|
|
|
39
39
|
const lang = options.lang || i18n.language || "en";
|
|
40
40
|
const isZh = lang === "zh-CN";
|
|
41
41
|
if (options.interactive !== false && !options.provider) {
|
|
42
|
-
const { runConfigWizard } = await import('./
|
|
42
|
+
const { runConfigWizard } = await import('./index2.mjs');
|
|
43
43
|
await runConfigWizard(lang);
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
@@ -62,7 +62,7 @@ async function apiConfigure(options = {}) {
|
|
|
62
62
|
process.exit(1);
|
|
63
63
|
}
|
|
64
64
|
if (!options.yes) {
|
|
65
|
-
const inquirer = await import('./
|
|
65
|
+
const inquirer = await import('./index4.mjs').then(function (n) { return n.c; });
|
|
66
66
|
const { confirm } = await inquirer.default.prompt([{
|
|
67
67
|
type: "confirm",
|
|
68
68
|
name: "confirm",
|
package/dist/chunks/api.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import a from './
|
|
2
|
-
import { i18n, format } from './
|
|
1
|
+
import a from './index3.mjs';
|
|
2
|
+
import { i18n, format } from './index6.mjs';
|
|
3
3
|
import { STATUS, COLORS as theme } from './banner.mjs';
|
|
4
|
-
import { r as runConfigWizard, t as testApiConnection, d as displayCurrentStatus, q as quickSetup } from '../shared/ccjk.
|
|
4
|
+
import { r as runConfigWizard, t as testApiConnection, d as displayCurrentStatus, q as quickSetup } from '../shared/ccjk.DfXjf8EC.mjs';
|
|
5
5
|
import { g as getAllPresets } from '../shared/ccjk.CL4Yat0G.mjs';
|
|
6
6
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
7
7
|
import 'node:fs';
|
|
@@ -9,7 +9,7 @@ import 'node:process';
|
|
|
9
9
|
import 'node:url';
|
|
10
10
|
import '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
11
11
|
import '../shared/ccjk.gDEDGD_t.mjs';
|
|
12
|
-
import './
|
|
12
|
+
import './index4.mjs';
|
|
13
13
|
import 'node:readline';
|
|
14
14
|
import 'stream';
|
|
15
15
|
import 'node:tty';
|
|
@@ -4,7 +4,7 @@ import { release, platform, type, homedir, hostname } from 'node:os';
|
|
|
4
4
|
import { fileURLToPath } from 'node:url';
|
|
5
5
|
import { CCJK_CONFIG_DIR } from './constants.mjs';
|
|
6
6
|
import { j as join, d as dirname } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
7
|
-
import './
|
|
7
|
+
import './index6.mjs';
|
|
8
8
|
import 'node:process';
|
|
9
9
|
|
|
10
10
|
const __filename = fileURLToPath(import.meta.url);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import a from './
|
|
1
|
+
import a from './index3.mjs';
|
|
2
2
|
import { x as K } from './main.mjs';
|
|
3
|
-
import { i18n } from './
|
|
3
|
+
import { i18n } from './index6.mjs';
|
|
4
4
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
5
5
|
import 'module';
|
|
6
6
|
import 'node:child_process';
|
|
@@ -17,7 +17,7 @@ async function autoFix(results, options = {}) {
|
|
|
17
17
|
const fixable = results.filter((r) => r.status !== "pass" && r.command);
|
|
18
18
|
const report = { attempted: 0, succeeded: 0, failed: 0, results: [] };
|
|
19
19
|
if (fixable.length === 0) return report;
|
|
20
|
-
const { default: inquirer } = await import('./
|
|
20
|
+
const { default: inquirer } = await import('./index4.mjs').then(function (n) { return n.c; });
|
|
21
21
|
for (const result of fixable) {
|
|
22
22
|
const cmd = result.command;
|
|
23
23
|
console.log("");
|
|
@@ -1,86 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as hookRegistry } from '../shared/ccjk.B1TwPltj.mjs';
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { c as commonjsGlobal } from '../shared/ccjk.BAGoDD49.mjs';
|
|
4
4
|
import require$$0 from 'crypto';
|
|
5
|
+
import { l as logger } from '../shared/ccjk.DJdmgr2d.mjs';
|
|
5
6
|
import { existsSync, readFileSync } from 'fs';
|
|
6
7
|
import { homedir } from 'os';
|
|
7
8
|
import { join } from 'path';
|
|
8
|
-
import './
|
|
9
|
-
|
|
10
|
-
class HookRegistry {
|
|
11
|
-
hooks = /* @__PURE__ */ new Map();
|
|
12
|
-
/**
|
|
13
|
-
* Register a hook for an event
|
|
14
|
-
*/
|
|
15
|
-
register(event, hook) {
|
|
16
|
-
const hooks = this.hooks.get(event) || [];
|
|
17
|
-
hooks.push(hook);
|
|
18
|
-
hooks.sort((a, b) => (b.priority || 0) - (a.priority || 0));
|
|
19
|
-
this.hooks.set(event, hooks);
|
|
20
|
-
logger.debug(`Registered hook "${hook.name}" for event "${event}"`);
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Unregister a hook
|
|
24
|
-
*/
|
|
25
|
-
unregister(event, hookName) {
|
|
26
|
-
const hooks = this.hooks.get(event);
|
|
27
|
-
if (!hooks) return;
|
|
28
|
-
const filtered = hooks.filter((h) => h.name !== hookName);
|
|
29
|
-
this.hooks.set(event, filtered);
|
|
30
|
-
logger.debug(`Unregistered hook "${hookName}" for event "${event}"`);
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Execute all hooks for an event
|
|
34
|
-
* Returns false if any hook returns continue: false
|
|
35
|
-
*/
|
|
36
|
-
async execute(context) {
|
|
37
|
-
const hooks = this.hooks.get(context.event) || [];
|
|
38
|
-
const enabledHooks = hooks.filter((h) => h.enabled !== false);
|
|
39
|
-
if (enabledHooks.length === 0) {
|
|
40
|
-
return { continue: true };
|
|
41
|
-
}
|
|
42
|
-
let currentContext = context;
|
|
43
|
-
let aggregatedData = {};
|
|
44
|
-
for (const hook of enabledHooks) {
|
|
45
|
-
try {
|
|
46
|
-
const result = await hook.fn(currentContext);
|
|
47
|
-
if (result.data) {
|
|
48
|
-
aggregatedData = { ...aggregatedData, ...result.data };
|
|
49
|
-
}
|
|
50
|
-
if (!result.continue) {
|
|
51
|
-
return {
|
|
52
|
-
continue: false,
|
|
53
|
-
data: aggregatedData,
|
|
54
|
-
error: result.error
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
currentContext = {
|
|
58
|
-
...currentContext,
|
|
59
|
-
data: { ...currentContext.data, ...aggregatedData }
|
|
60
|
-
};
|
|
61
|
-
} catch (error) {
|
|
62
|
-
logger.error(`Hook "${hook.name}" failed:`, error);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
return {
|
|
66
|
-
continue: true,
|
|
67
|
-
data: aggregatedData
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Get all registered hooks for an event
|
|
72
|
-
*/
|
|
73
|
-
getHooks(event) {
|
|
74
|
-
return this.hooks.get(event) || [];
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Clear all hooks
|
|
78
|
-
*/
|
|
79
|
-
clear() {
|
|
80
|
-
this.hooks.clear();
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
const hookRegistry = new HookRegistry();
|
|
9
|
+
import './index3.mjs';
|
|
84
10
|
|
|
85
11
|
var cuid2 = {};
|
|
86
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import a from './
|
|
2
|
-
import ora from './
|
|
1
|
+
import a from './index3.mjs';
|
|
2
|
+
import ora from './index8.mjs';
|
|
3
3
|
import { exec as q } from './main.mjs';
|
|
4
|
-
import { ensureI18nInitialized, i18n, format } from './
|
|
4
|
+
import { ensureI18nInitialized, i18n, format } from './index6.mjs';
|
|
5
5
|
import { s as shouldUseSudoForGlobalInstall } from './platform.mjs';
|
|
6
|
-
import { p as promptBoolean } from '../shared/ccjk.
|
|
6
|
+
import { p as promptBoolean } from '../shared/ccjk.mJpVRDZ8.mjs';
|
|
7
7
|
import { checkClaudeCodeVersion, fixBrokenNpmSymlink, checkCcrVersion, handleDuplicateInstallations, checkCometixLineVersion } from './version-checker.mjs';
|
|
8
8
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
9
9
|
import 'node:process';
|
|
@@ -19,7 +19,7 @@ import 'node:url';
|
|
|
19
19
|
import '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:async_hooks';
|
|
22
|
-
import './
|
|
22
|
+
import './index4.mjs';
|
|
23
23
|
import 'stream';
|
|
24
24
|
import 'node:tty';
|
|
25
25
|
import 'node:util';
|
|
@@ -110,7 +110,7 @@ async function updateClaudeCode(force = false, skipPrompt = false) {
|
|
|
110
110
|
console.log(a.green(` ${i18n.t("installation:correctPackage")}: @anthropic-ai/claude-code`));
|
|
111
111
|
console.log();
|
|
112
112
|
if (!skipPrompt) {
|
|
113
|
-
const inquirer = (await import('./
|
|
113
|
+
const inquirer = (await import('./index4.mjs').then(function (n) { return n.c; })).default;
|
|
114
114
|
const { shouldFix } = await inquirer.prompt([
|
|
115
115
|
{
|
|
116
116
|
type: "confirm",
|
|
@@ -358,7 +358,7 @@ async function checkCcjkVersionAndPrompt(skipPrompt) {
|
|
|
358
358
|
try {
|
|
359
359
|
const { readFileSync } = await import('node:fs');
|
|
360
360
|
const { fileURLToPath } = await import('node:url');
|
|
361
|
-
const { dirname, join } = await import('./
|
|
361
|
+
const { dirname, join } = await import('./index9.mjs');
|
|
362
362
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
363
363
|
const pkgPath = join(__dirname, "..", "..", "package.json");
|
|
364
364
|
const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
|
|
@@ -372,7 +372,7 @@ async function checkCcjkVersionAndPrompt(skipPrompt) {
|
|
|
372
372
|
return;
|
|
373
373
|
}
|
|
374
374
|
if (!skipPrompt) {
|
|
375
|
-
const inquirer = (await import('./
|
|
375
|
+
const inquirer = (await import('./index4.mjs').then(function (n) { return n.c; })).default;
|
|
376
376
|
const { shouldUpdate } = await inquirer.prompt([
|
|
377
377
|
{
|
|
378
378
|
type: "confirm",
|
|
@@ -391,7 +391,7 @@ async function checkCcjkVersionAndPrompt(skipPrompt) {
|
|
|
391
391
|
await q("npm", ["cache", "clean", "--force"]);
|
|
392
392
|
} catch {
|
|
393
393
|
}
|
|
394
|
-
const ora2 = (await import('./
|
|
394
|
+
const ora2 = (await import('./index8.mjs')).default;
|
|
395
395
|
const updateSpinner = ora2("Updating CCJK...").start();
|
|
396
396
|
try {
|
|
397
397
|
await execWithSudoIfNeeded("npm", ["install", "-g", "ccjk@latest", "--force"]);
|
package/dist/chunks/banner.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import a from './
|
|
2
|
-
import { ensureI18nInitialized, i18n } from './
|
|
1
|
+
import a from './index3.mjs';
|
|
2
|
+
import { ensureI18nInitialized, i18n } from './index6.mjs';
|
|
3
3
|
import { a as getRuntimeHomepage, g as getRuntimeVersion } from '../shared/ccjk.gDEDGD_t.mjs';
|
|
4
4
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
5
5
|
import 'node:fs';
|
package/dist/chunks/boost.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import a from './
|
|
1
|
+
import a from './index3.mjs';
|
|
2
2
|
import { existsSync, readFileSync } from 'node:fs';
|
|
3
3
|
import process__default from 'node:process';
|
|
4
4
|
import { SETTINGS_FILE } from './constants.mjs';
|
|
@@ -6,7 +6,7 @@ import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
|
6
6
|
import { r as runHealthCheck } from '../shared/ccjk.CfrpIIKy.mjs';
|
|
7
7
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
8
8
|
import 'node:os';
|
|
9
|
-
import './
|
|
9
|
+
import './index6.mjs';
|
|
10
10
|
import 'node:url';
|
|
11
11
|
import 'fs';
|
|
12
12
|
import 'constants';
|
|
@@ -312,7 +312,7 @@ async function runCcjkCommand(args) {
|
|
|
312
312
|
}
|
|
313
313
|
async function boost(options = {}) {
|
|
314
314
|
console.log(a.cyan.bold("\n\u{1F680} CCJK Boost - One-Click Optimization\n"));
|
|
315
|
-
const ora = (await import('./
|
|
315
|
+
const ora = (await import('./index8.mjs')).default;
|
|
316
316
|
let spinner = ora("Analyzing your setup...").start();
|
|
317
317
|
const [report, profile] = await Promise.all([
|
|
318
318
|
runHealthCheck(),
|
|
@@ -352,7 +352,7 @@ async function boost(options = {}) {
|
|
|
352
352
|
}
|
|
353
353
|
let selectedActions = actions;
|
|
354
354
|
if (!options.yes) {
|
|
355
|
-
const { default: inquirer } = await import('./
|
|
355
|
+
const { default: inquirer } = await import('./index4.mjs').then(function (n) { return n.c; });
|
|
356
356
|
const { selected } = await inquirer.prompt([{
|
|
357
357
|
type: "checkbox",
|
|
358
358
|
name: "selected",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import process__default, { cwd } from 'node:process';
|
|
2
2
|
import { c as consola, g as getTemplatesClient } from '../shared/ccjk.UIvifqNE.mjs';
|
|
3
|
-
import { P as ProjectAnalyzer } from '../shared/ccjk.
|
|
4
|
-
import { i18n } from './
|
|
3
|
+
import { P as ProjectAnalyzer } from '../shared/ccjk.hrRv8G6j.mjs';
|
|
4
|
+
import { i18n } from './index6.mjs';
|
|
5
5
|
import { existsSync, readFileSync, writeFileSync, readdirSync } from 'node:fs';
|
|
6
6
|
import { CLAUDE_AGENTS_DIR } from './constants.mjs';
|
|
7
7
|
import { j as join, d as dirname } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
8
8
|
import { w as writeAgentFile } from '../shared/ccjk.CfKKcvWy.mjs';
|
|
9
9
|
import { fileURLToPath } from 'node:url';
|
|
10
10
|
import { a as extractDisplayName, e as extractString } from '../shared/ccjk.C2jHOZVP.mjs';
|
|
11
|
-
import './
|
|
11
|
+
import './index9.mjs';
|
|
12
12
|
import 'tinyglobby';
|
|
13
13
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
14
14
|
import 'node:os';
|
package/dist/chunks/ccjk-all.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import a from './
|
|
1
|
+
import a from './index3.mjs';
|
|
2
2
|
import { c as consola } from '../shared/ccjk.UIvifqNE.mjs';
|
|
3
3
|
import { c as createCompleteCloudClient } from '../shared/ccjk.CtXhbEqb.mjs';
|
|
4
|
-
import { i18n, ensureI18nInitialized } from './
|
|
4
|
+
import { i18n, ensureI18nInitialized } from './index6.mjs';
|
|
5
5
|
import { createHash } from 'node:crypto';
|
|
6
6
|
import { promises, readFileSync } from 'node:fs';
|
|
7
7
|
import { join } from 'node:path';
|
|
8
|
-
import { a as analyzeProject } from '../shared/ccjk.
|
|
8
|
+
import { a as analyzeProject } from '../shared/ccjk.hrRv8G6j.mjs';
|
|
9
9
|
import { c as createDefaultGateway } from '../shared/ccjk.BtB1e5jm.mjs';
|
|
10
10
|
import { ccjkAgents } from './ccjk-agents.mjs';
|
|
11
11
|
import { ccjkHooks } from './ccjk-hooks.mjs';
|
|
@@ -16,7 +16,7 @@ import '../shared/ccjk.BAGoDD49.mjs';
|
|
|
16
16
|
import 'node:url';
|
|
17
17
|
import 'node:process';
|
|
18
18
|
import '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
19
|
-
import './
|
|
19
|
+
import './index9.mjs';
|
|
20
20
|
import 'tinyglobby';
|
|
21
21
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
22
22
|
import './constants.mjs';
|
|
@@ -24,7 +24,7 @@ import 'node:os';
|
|
|
24
24
|
import '../shared/ccjk.D6ycHbak.mjs';
|
|
25
25
|
import '../shared/ccjk.CfKKcvWy.mjs';
|
|
26
26
|
import 'node:perf_hooks';
|
|
27
|
-
import './
|
|
27
|
+
import './index4.mjs';
|
|
28
28
|
import 'node:readline';
|
|
29
29
|
import 'stream';
|
|
30
30
|
import 'node:tty';
|
|
@@ -450,7 +450,7 @@ class CloudSetupOrchestrator {
|
|
|
450
450
|
return false;
|
|
451
451
|
}
|
|
452
452
|
try {
|
|
453
|
-
const inquirerModule = await import('./
|
|
453
|
+
const inquirerModule = await import('./index4.mjs').then(function (n) { return n.c; });
|
|
454
454
|
const inquirer = inquirerModule.default || inquirerModule;
|
|
455
455
|
const { confirm } = await inquirer.prompt([
|
|
456
456
|
{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, renameSync, copyFileSync, rmSync } from 'node:fs';
|
|
2
2
|
import { p as parse } from '../shared/ccjk.BBtCGd_g.mjs';
|
|
3
|
-
import { stringify } from './
|
|
3
|
+
import { stringify } from './index7.mjs';
|
|
4
4
|
import { DEFAULT_CODE_TOOL_TYPE, ZCF_CONFIG_FILE, LEGACY_ZCF_CONFIG_FILES, ZCF_CONFIG_DIR, isCodeToolType, SUPPORTED_LANGS } from './constants.mjs';
|
|
5
5
|
import { exists, readFile, ensureDir, writeFileAtomic } from './fs-operations.mjs';
|
|
6
6
|
import { readJsonConfig } from './json-config.mjs';
|
|
7
7
|
import { d as dirname } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
8
8
|
import 'node:os';
|
|
9
|
-
import './
|
|
9
|
+
import './index6.mjs';
|
|
10
10
|
import 'node:process';
|
|
11
11
|
import 'node:url';
|
|
12
12
|
import 'node:crypto';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { performance } from 'node:perf_hooks';
|
|
2
2
|
import { c as consola, g as getTemplatesClient } from '../shared/ccjk.UIvifqNE.mjs';
|
|
3
|
-
import { i as inquirer } from './
|
|
4
|
-
import { P as ProjectAnalyzer } from '../shared/ccjk.
|
|
3
|
+
import { i as inquirer } from './index4.mjs';
|
|
4
|
+
import { P as ProjectAnalyzer } from '../shared/ccjk.hrRv8G6j.mjs';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'node:fs';
|
|
6
6
|
import process__default from 'node:process';
|
|
7
7
|
import { exec } from 'node:child_process';
|
|
8
8
|
import { promisify } from 'node:util';
|
|
9
9
|
import { j as join, d as dirname } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
10
|
-
import { i18n } from './
|
|
10
|
+
import { i18n } from './index6.mjs';
|
|
11
11
|
import 'node:readline';
|
|
12
12
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
13
13
|
import 'stream';
|
|
@@ -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 './index9.mjs';
|
|
26
26
|
import 'tinyglobby';
|
|
27
27
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
28
28
|
import 'node:url';
|
package/dist/chunks/ccjk-mcp.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { join } from 'node:path';
|
|
2
2
|
import { cwd } from 'node:process';
|
|
3
|
-
import a from './
|
|
3
|
+
import a from './index3.mjs';
|
|
4
4
|
import { c as consola, g as getTemplatesClient } from '../shared/ccjk.UIvifqNE.mjs';
|
|
5
|
-
import { i as inquirer } from './
|
|
6
|
-
import { a as analyzeProject } from '../shared/ccjk.
|
|
5
|
+
import { i as inquirer } from './index4.mjs';
|
|
6
|
+
import { a as analyzeProject } from '../shared/ccjk.hrRv8G6j.mjs';
|
|
7
7
|
import { CLAUDE_DIR } from './constants.mjs';
|
|
8
|
-
import { ensureI18nInitialized, i18n } from './
|
|
8
|
+
import { ensureI18nInitialized, i18n } from './index6.mjs';
|
|
9
9
|
import { c 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
11
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
@@ -23,7 +23,7 @@ import 'node:crypto';
|
|
|
23
23
|
import 'buffer';
|
|
24
24
|
import 'string_decoder';
|
|
25
25
|
import 'node:fs';
|
|
26
|
-
import './
|
|
26
|
+
import './index9.mjs';
|
|
27
27
|
import '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
28
28
|
import 'tinyglobby';
|
|
29
29
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import a from './
|
|
1
|
+
import a from './index3.mjs';
|
|
2
2
|
import { c as consola } from '../shared/ccjk.UIvifqNE.mjs';
|
|
3
|
-
import { P as ProjectAnalyzer } from '../shared/ccjk.
|
|
4
|
-
import { i18n } from './
|
|
3
|
+
import { P as ProjectAnalyzer } from '../shared/ccjk.hrRv8G6j.mjs';
|
|
4
|
+
import { i18n } from './index6.mjs';
|
|
5
5
|
import { promises } from 'node:fs';
|
|
6
6
|
import { performance } from 'node:perf_hooks';
|
|
7
7
|
import { ccjkAgents } from './ccjk-agents.mjs';
|
|
@@ -11,7 +11,7 @@ import { ccjkSkills } from './ccjk-skills.mjs';
|
|
|
11
11
|
import { d as dayjs } from '../shared/ccjk.RyizuzOI.mjs';
|
|
12
12
|
import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
13
13
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
14
|
-
import './
|
|
14
|
+
import './index9.mjs';
|
|
15
15
|
import 'tinyglobby';
|
|
16
16
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
17
17
|
import 'node:process';
|
|
@@ -20,7 +20,7 @@ import './constants.mjs';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import '../shared/ccjk.CfKKcvWy.mjs';
|
|
22
22
|
import '../shared/ccjk.C2jHOZVP.mjs';
|
|
23
|
-
import './
|
|
23
|
+
import './index4.mjs';
|
|
24
24
|
import 'node:readline';
|
|
25
25
|
import 'stream';
|
|
26
26
|
import 'node:tty';
|
|
@@ -2,11 +2,11 @@ import { promises } from 'node:fs';
|
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import { join, dirname } from 'node:path';
|
|
4
4
|
import { fileURLToPath } from 'node:url';
|
|
5
|
-
import a from './
|
|
5
|
+
import a from './index3.mjs';
|
|
6
6
|
import { c as consola, g as getTemplatesClient } from '../shared/ccjk.UIvifqNE.mjs';
|
|
7
|
-
import { i as inquirer } from './
|
|
8
|
-
import { a as analyzeProject } from '../shared/ccjk.
|
|
9
|
-
import { i18n } from './
|
|
7
|
+
import { i as inquirer } from './index4.mjs';
|
|
8
|
+
import { a as analyzeProject } from '../shared/ccjk.hrRv8G6j.mjs';
|
|
9
|
+
import { i18n } from './index6.mjs';
|
|
10
10
|
import { g as getSkillParser } from '../shared/ccjk.DsYaCCx4.mjs';
|
|
11
11
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
12
12
|
import 'node:readline';
|
|
@@ -22,7 +22,7 @@ import 'child_process';
|
|
|
22
22
|
import 'node:crypto';
|
|
23
23
|
import 'buffer';
|
|
24
24
|
import 'string_decoder';
|
|
25
|
-
import './
|
|
25
|
+
import './index9.mjs';
|
|
26
26
|
import '../shared/ccjk.bQ7Dh1g4.mjs';
|
|
27
27
|
import 'tinyglobby';
|
|
28
28
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
package/dist/chunks/ccr.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { displayBannerWithInfo } from './banner.mjs';
|
|
2
|
-
import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.
|
|
2
|
+
import { h as handleExitPromptError, a as handleGeneralError } from '../shared/ccjk.DcKLglJQ.mjs';
|
|
3
3
|
import { s as showCcrMenu, a as showMainMenu } from './menu.mjs';
|
|
4
|
-
import './
|
|
4
|
+
import './index3.mjs';
|
|
5
5
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
6
|
-
import './
|
|
6
|
+
import './index6.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.gDEDGD_t.mjs';
|
|
12
|
-
import './
|
|
12
|
+
import './index4.mjs';
|
|
13
13
|
import 'node:readline';
|
|
14
14
|
import 'stream';
|
|
15
15
|
import 'node:tty';
|
|
@@ -26,7 +26,7 @@ import 'buffer';
|
|
|
26
26
|
import 'string_decoder';
|
|
27
27
|
import './codex.mjs';
|
|
28
28
|
import '../shared/ccjk.RyizuzOI.mjs';
|
|
29
|
-
import './
|
|
29
|
+
import './index8.mjs';
|
|
30
30
|
import '../shared/ccjk.DeWpAShp.mjs';
|
|
31
31
|
import '../shared/ccjk.CxpGa6MC.mjs';
|
|
32
32
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
@@ -36,7 +36,7 @@ import 'node:child_process';
|
|
|
36
36
|
import 'node:stream';
|
|
37
37
|
import './constants.mjs';
|
|
38
38
|
import './ccjk-config.mjs';
|
|
39
|
-
import './
|
|
39
|
+
import './index7.mjs';
|
|
40
40
|
import './fs-operations.mjs';
|
|
41
41
|
import 'node:fs/promises';
|
|
42
42
|
import './json-config.mjs';
|
|
@@ -46,23 +46,23 @@ import './platform.mjs';
|
|
|
46
46
|
import '../shared/ccjk.DXRAZcix.mjs';
|
|
47
47
|
import '../shared/ccjk.BFQ7yr5S.mjs';
|
|
48
48
|
import './prompts.mjs';
|
|
49
|
-
import '../shared/ccjk.
|
|
50
|
-
import '../shared/ccjk.
|
|
49
|
+
import '../shared/ccjk.mJpVRDZ8.mjs';
|
|
50
|
+
import '../shared/ccjk.Cot9p9_n.mjs';
|
|
51
51
|
import './smart-defaults.mjs';
|
|
52
52
|
import '../shared/ccjk.BrPUmTqm.mjs';
|
|
53
53
|
import './config2.mjs';
|
|
54
54
|
import './init.mjs';
|
|
55
|
-
import '../shared/ccjk.
|
|
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.
|
|
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.
|
|
65
|
-
import './
|
|
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.
|
|
77
|
+
import '../shared/ccjk.DCw2WnZU.mjs';
|
|
78
78
|
import 'globby';
|
|
79
79
|
import './update.mjs';
|
|
80
|
-
import '../shared/ccjk.
|
|
80
|
+
import '../shared/ccjk.DpstNaeR.mjs';
|
|
81
81
|
|
|
82
82
|
async function ccr(options = {}) {
|
|
83
83
|
try {
|
package/dist/chunks/ccu.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import process__default from 'node:process';
|
|
2
|
-
import a from './
|
|
2
|
+
import a from './index3.mjs';
|
|
3
3
|
import { x as K } from './main.mjs';
|
|
4
|
-
import { i18n } from './
|
|
4
|
+
import { i18n } from './index6.mjs';
|
|
5
5
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
6
6
|
import 'module';
|
|
7
7
|
import 'node:child_process';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import process__default from 'node:process';
|
|
2
|
-
import a from './
|
|
3
|
-
import { ensureI18nInitialized, i18n } from './
|
|
4
|
-
import { r as resolveCodeType } from '../shared/ccjk.
|
|
2
|
+
import a from './index3.mjs';
|
|
3
|
+
import { ensureI18nInitialized, i18n } from './index6.mjs';
|
|
4
|
+
import { r as resolveCodeType } from '../shared/ccjk.Cot9p9_n.mjs';
|
|
5
5
|
import { checkAndUpdateTools } from './auto-updater.mjs';
|
|
6
6
|
import { r as runCodexUpdate } from './codex.mjs';
|
|
7
7
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
@@ -26,13 +26,13 @@ import 'node:readline';
|
|
|
26
26
|
import '../shared/ccjk.BrPUmTqm.mjs';
|
|
27
27
|
import './ccjk-config.mjs';
|
|
28
28
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
29
|
-
import './index6.mjs';
|
|
30
29
|
import './index7.mjs';
|
|
30
|
+
import './index8.mjs';
|
|
31
31
|
import '../shared/ccjk.Cjgrln_h.mjs';
|
|
32
32
|
import '../shared/ccjk.DeWpAShp.mjs';
|
|
33
|
-
import '../shared/ccjk.
|
|
33
|
+
import '../shared/ccjk.mJpVRDZ8.mjs';
|
|
34
34
|
import 'node:async_hooks';
|
|
35
|
-
import './
|
|
35
|
+
import './index4.mjs';
|
|
36
36
|
import 'stream';
|
|
37
37
|
import 'node:tty';
|
|
38
38
|
import 'node:util';
|