ccjk 14.1.7 → 14.1.8
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/bin/ccjk.mjs +3 -2
- package/bin/ccjk.ts +104 -104
- package/dist/chunks/agent.mjs +2 -2
- package/dist/chunks/api-cli.mjs +2 -2
- package/dist/chunks/api-config-selector.mjs +5 -6
- package/dist/chunks/auto-updater.mjs +1 -1
- package/dist/chunks/brain-config.mjs +1 -1
- package/dist/chunks/brain-status.mjs +13 -7
- package/dist/chunks/ccjk-all.mjs +3 -3
- package/dist/chunks/ccjk-mcp.mjs +2 -2
- package/dist/chunks/ccjk-setup.mjs +1 -1
- package/dist/chunks/ccjk-skills.mjs +1 -1
- package/dist/chunks/ccr.mjs +11 -12
- package/dist/chunks/check-updates.mjs +1 -2
- package/dist/chunks/claude-code-incremental-manager.mjs +9 -9
- package/dist/chunks/claude-config.mjs +2 -2
- package/dist/chunks/code-type-resolver.mjs +2 -4
- package/dist/chunks/codex-config-switch.mjs +3 -4
- package/dist/chunks/codex-provider-manager.mjs +1 -2
- package/dist/chunks/codex.mjs +2 -33
- package/dist/chunks/config-switch.mjs +8 -5
- package/dist/chunks/config.mjs +382 -19
- package/dist/chunks/config2.mjs +3 -3
- package/dist/chunks/config3.mjs +1 -1
- package/dist/chunks/context.mjs +2 -2
- package/dist/chunks/doctor.mjs +4 -5
- package/dist/chunks/evolution.mjs +10 -6
- package/dist/chunks/features.mjs +13 -14
- package/dist/chunks/index10.mjs +4 -4
- package/dist/chunks/init.mjs +556 -557
- package/dist/chunks/installer.mjs +2 -2
- package/dist/chunks/mcp-cli.mjs +6 -7
- package/dist/chunks/mcp.mjs +6 -7
- package/dist/chunks/memory-check.mjs +2 -2
- package/dist/chunks/memory-paths.mjs +1 -1
- package/dist/chunks/memory-sync.mjs +2 -2
- package/dist/chunks/memory.mjs +7 -7
- package/dist/chunks/notification.mjs +1 -1
- package/dist/chunks/package.mjs +1 -1
- package/dist/chunks/quick-provider.mjs +37 -7
- package/dist/chunks/quick-setup.mjs +6 -7
- package/dist/chunks/remote.mjs +1 -1
- package/dist/chunks/research.mjs +118 -118
- package/dist/chunks/simple-config.mjs +4 -4
- package/dist/chunks/skill2.mjs +129 -80
- package/dist/chunks/skills-sync.mjs +1 -1
- package/dist/chunks/slash-commands.mjs +1 -1
- package/dist/chunks/uninstall.mjs +1 -1
- package/dist/chunks/update.mjs +10 -11
- package/dist/chunks/zero-config.mjs +8 -9
- package/dist/cli.mjs +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +7 -7
- package/dist/shared/{ccjk.QNhw2Y_5.mjs → ccjk.B9OuS4xZ.mjs} +3 -3
- package/dist/shared/{ccjk.DqlzNDEQ.mjs → ccjk.BEiR3L4C.mjs} +2 -3
- package/dist/shared/{ccjk.4iw1XCF3.mjs → ccjk.BJ3Zpjo5.mjs} +1 -1
- package/dist/shared/{ccjk.Nwf9bR70.mjs → ccjk.BzxpiEPF.mjs} +2 -2
- package/dist/shared/{ccjk.BI-hdI7P.mjs → ccjk.CbWVbtb9.mjs} +1 -1
- package/dist/shared/{ccjk.UhjQ1seV.mjs → ccjk.DMV3x5Sd.mjs} +1 -1
- package/dist/shared/{ccjk.DQXk596F.mjs → ccjk.DuzJZlgj.mjs} +107 -103
- package/dist/shared/{ccjk.DTdjs-qK.mjs → ccjk.MwtjAULc.mjs} +1 -1
- package/dist/shared/{ccjk.DsYaCCx4.mjs → ccjk.i_vn-9C3.mjs} +2 -2
- package/dist/shared/{ccjk.kAZkKbGW.mjs → ccjk.tI_s2uSh.mjs} +2 -3
- package/package.json +5 -5
- package/dist/shared/ccjk.DKXs7Fbm.mjs +0 -361
- package/dist/shared/{ccjk.BBizCO6_.mjs → ccjk.DcMvE7lf.mjs} +1 -1
- package/dist/shared/{ccjk.Dhu8ia5S.mjs → ccjk.zFGcZT7Y.mjs} +1 -1
package/dist/chunks/context.mjs
CHANGED
|
@@ -9,10 +9,10 @@ import 'node:process';
|
|
|
9
9
|
import 'node:url';
|
|
10
10
|
import 'node:path';
|
|
11
11
|
import './memory-paths.mjs';
|
|
12
|
-
import './constants.mjs';
|
|
13
|
-
import 'node:os';
|
|
14
12
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
15
13
|
import './index3.mjs';
|
|
14
|
+
import './constants.mjs';
|
|
15
|
+
import 'node:os';
|
|
16
16
|
import './fs-operations.mjs';
|
|
17
17
|
import 'node:crypto';
|
|
18
18
|
|
package/dist/chunks/doctor.mjs
CHANGED
|
@@ -7,9 +7,9 @@ import { SETTINGS_FILE, CLAUDE_DIR, CODEX_DIR, CODEX_CONFIG_FILE, getCodeToolRun
|
|
|
7
7
|
import { i18n } from './index2.mjs';
|
|
8
8
|
import { g as getPermissionManager } from '../shared/ccjk.DsZsc4LR.mjs';
|
|
9
9
|
import { i as isCcrInstalled } from '../shared/ccjk.DFRPtmK_.mjs';
|
|
10
|
-
import { i as inspectClaudeFamilyCoreFeatures } from '../shared/ccjk.
|
|
11
|
-
import { r as readCodexConfig,
|
|
12
|
-
import { b as backupExistingConfig,
|
|
10
|
+
import { i as inspectClaudeFamilyCoreFeatures } from '../shared/ccjk.BEiR3L4C.mjs';
|
|
11
|
+
import { r as readCodexConfig, g as readCodexGoalsFeatureEnabled } from './codex.mjs';
|
|
12
|
+
import { b as backupExistingConfig, n as copyConfigFiles } from './config.mjs';
|
|
13
13
|
import { c as commandExists } from './platform.mjs';
|
|
14
14
|
import { P as ProviderHealthMonitor } from '../shared/ccjk.J8YiPsOw.mjs';
|
|
15
15
|
import { r as resolveClaudeFamilySettingsTarget } from '../shared/ccjk.Di1IYU3u.mjs';
|
|
@@ -42,12 +42,11 @@ import './version-checker.mjs';
|
|
|
42
42
|
import '../shared/ccjk.CxpGa6MC.mjs';
|
|
43
43
|
import 'module';
|
|
44
44
|
import 'node:stream';
|
|
45
|
-
import '../shared/ccjk.DKXs7Fbm.mjs';
|
|
46
45
|
import '../shared/ccjk.B8oqkakg.mjs';
|
|
47
46
|
import 'node:fs/promises';
|
|
48
47
|
import './json-config.mjs';
|
|
49
48
|
import '../shared/ccjk.RyizuzOI.mjs';
|
|
50
|
-
import '../shared/ccjk.
|
|
49
|
+
import '../shared/ccjk.BJ3Zpjo5.mjs';
|
|
51
50
|
import './ccjk-config.mjs';
|
|
52
51
|
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
53
52
|
import './index3.mjs';
|
|
@@ -65,12 +65,16 @@ class A2AClient {
|
|
|
65
65
|
async fetch(options = {}) {
|
|
66
66
|
this.ensureAuthenticated();
|
|
67
67
|
const params = new URLSearchParams();
|
|
68
|
-
if (options.minGDI !== void 0)
|
|
69
|
-
|
|
70
|
-
if (options.
|
|
71
|
-
|
|
68
|
+
if (options.minGDI !== void 0)
|
|
69
|
+
params.set("minGDI", String(options.minGDI));
|
|
70
|
+
if (options.limit !== void 0)
|
|
71
|
+
params.set("limit", String(options.limit));
|
|
72
|
+
if (options.signature)
|
|
73
|
+
params.set("signature", options.signature);
|
|
74
|
+
if (options.geneId)
|
|
75
|
+
params.set("geneId", options.geneId);
|
|
72
76
|
const qs = params.toString();
|
|
73
|
-
const response = await this.request(`/a2a/fetch${qs ?
|
|
77
|
+
const response = await this.request(`/a2a/fetch${qs ? `?${qs}` : ""}`, {
|
|
74
78
|
method: "GET",
|
|
75
79
|
auth: true
|
|
76
80
|
});
|
|
@@ -135,7 +139,7 @@ class A2AClient {
|
|
|
135
139
|
"Content-Type": "application/json"
|
|
136
140
|
};
|
|
137
141
|
if (options.auth && this.token) {
|
|
138
|
-
headers
|
|
142
|
+
headers.Authorization = `Bearer ${this.token}`;
|
|
139
143
|
}
|
|
140
144
|
const response = await globalThis.fetch(url, {
|
|
141
145
|
method: options.method,
|
package/dist/chunks/features.mjs
CHANGED
|
@@ -3,14 +3,13 @@ import { homedir } from 'node:os';
|
|
|
3
3
|
import process__default from 'node:process';
|
|
4
4
|
import a from './index5.mjs';
|
|
5
5
|
import { i as inquirer } from './index6.mjs';
|
|
6
|
-
import { g as getMcpServices } from '
|
|
6
|
+
import { a as getExistingModelConfig, c as getExistingCustomModelConfig, u as updateCustomModel, s as syncClavueActiveProviderModelSelection, d as updateDefaultModel, r as readMcpConfig, f as fixWindowsMcpConfig, w as writeMcpConfig, e as backupMcpConfig, g as getMcpServices, h as buildMcpServerConfig, m as mergeMcpServers, i as getExistingApiConfig, p as promptApiConfigurationAction, j as configureApi } from './config.mjs';
|
|
7
7
|
import { SUPPORTED_LANGS, LANG_LABELS } from './constants.mjs';
|
|
8
8
|
import { ensureI18nInitialized, i18n, changeLanguage } from './index2.mjs';
|
|
9
9
|
import { readZcfConfig, updateZcfConfig } from './ccjk-config.mjs';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { c as configureOutputStyle } from '../shared/ccjk.4iw1XCF3.mjs';
|
|
10
|
+
import { m as modifyApiConfigPartially, v as validateApiKey, f as formatApiKeyDisplay } from '../shared/ccjk.BzxpiEPF.mjs';
|
|
11
|
+
import { s as selectMcpServices } from '../shared/ccjk.CbWVbtb9.mjs';
|
|
12
|
+
import { c as configureOutputStyle } from '../shared/ccjk.BJ3Zpjo5.mjs';
|
|
14
13
|
import { i as isWindows } from './platform.mjs';
|
|
15
14
|
import { a as addNumbersToChoices } from '../shared/ccjk.BFQ7yr5S.mjs';
|
|
16
15
|
import { openSettingsJson, importRecommendedPermissions, importRecommendedEnv } from './simple-config.mjs';
|
|
@@ -30,15 +29,15 @@ import 'node:path';
|
|
|
30
29
|
import 'node:crypto';
|
|
31
30
|
import 'buffer';
|
|
32
31
|
import 'string_decoder';
|
|
33
|
-
import 'node:child_process';
|
|
34
32
|
import 'node:url';
|
|
35
|
-
import '../shared/ccjk.
|
|
36
|
-
import '
|
|
33
|
+
import '../shared/ccjk.RyizuzOI.mjs';
|
|
34
|
+
import 'node:child_process';
|
|
35
|
+
import '../shared/ccjk.Di1IYU3u.mjs';
|
|
37
36
|
import './fs-operations.mjs';
|
|
38
37
|
import 'node:fs/promises';
|
|
39
38
|
import './json-config.mjs';
|
|
40
|
-
import '../shared/ccjk.
|
|
41
|
-
import '
|
|
39
|
+
import '../shared/ccjk.BBtCGd_g.mjs';
|
|
40
|
+
import './index3.mjs';
|
|
42
41
|
import './main.mjs';
|
|
43
42
|
import 'module';
|
|
44
43
|
import 'node:stream';
|
|
@@ -361,7 +360,7 @@ async function changeScriptLanguageFeature(currentLang) {
|
|
|
361
360
|
}
|
|
362
361
|
async function configureCodexDefaultModelFeature() {
|
|
363
362
|
ensureI18nInitialized();
|
|
364
|
-
const { readCodexConfig } = await import('./codex.mjs').then(function (n) { return n.
|
|
363
|
+
const { readCodexConfig } = await import('./codex.mjs').then(function (n) { return n.t; });
|
|
365
364
|
const existingConfig = readCodexConfig();
|
|
366
365
|
const currentModel = existingConfig?.model;
|
|
367
366
|
if (currentModel) {
|
|
@@ -461,14 +460,14 @@ ${a.green(`\u2139 ${i18n.t("configuration:existingLanguageConfig") || "Existing
|
|
|
461
460
|
} else if (option === "systemPrompt") {
|
|
462
461
|
const zcfConfig = readZcfConfig();
|
|
463
462
|
const currentLang = zcfConfig?.aiOutputLang || "English";
|
|
464
|
-
const { runCodexSystemPromptSelection } = await import('./codex.mjs').then(function (n) { return n.
|
|
463
|
+
const { runCodexSystemPromptSelection } = await import('./codex.mjs').then(function (n) { return n.t; });
|
|
465
464
|
await runCodexSystemPromptSelection();
|
|
466
465
|
await ensureLanguageDirectiveInAgents(currentLang);
|
|
467
466
|
console.log(a.green(`\u2714 ${i18n.t("configuration:systemPromptConfigured")}`));
|
|
468
467
|
}
|
|
469
468
|
}
|
|
470
469
|
async function updateCodexModelProvider(modelProvider) {
|
|
471
|
-
const { readCodexConfig, writeCodexConfig, backupCodexConfig, getBackupMessage } = await import('./codex.mjs').then(function (n) { return n.
|
|
470
|
+
const { readCodexConfig, writeCodexConfig, backupCodexConfig, getBackupMessage } = await import('./codex.mjs').then(function (n) { return n.t; });
|
|
472
471
|
const backupPath = backupCodexConfig();
|
|
473
472
|
if (backupPath) {
|
|
474
473
|
console.log(a.gray(getBackupMessage(backupPath)));
|
|
@@ -499,7 +498,7 @@ const codexLanguageLabels = {
|
|
|
499
498
|
};
|
|
500
499
|
async function setCodexLanguageDirective(aiOutputLang, mode) {
|
|
501
500
|
const { readFile, writeFileAtomic, exists } = await import('./fs-operations.mjs');
|
|
502
|
-
const { backupCodexAgents, getBackupMessage } = await import('./codex.mjs').then(function (n) { return n.
|
|
501
|
+
const { backupCodexAgents, getBackupMessage } = await import('./codex.mjs').then(function (n) { return n.t; });
|
|
503
502
|
const CODEX_AGENTS_FILE = join(homedir(), ".codex", "AGENTS.md");
|
|
504
503
|
if (!exists(CODEX_AGENTS_FILE)) {
|
|
505
504
|
console.log(a.yellow(i18n.t("codex:agentsFileNotFound")));
|
package/dist/chunks/index10.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { G as buildMyclaudeProviderPresentation } from './config.mjs';
|
|
2
1
|
import a from './index5.mjs';
|
|
3
2
|
import { i as inquirer } from './index6.mjs';
|
|
4
3
|
import { CLOUD_ENDPOINTS, CCJK_CONFIG_DIR, SUPPORTED_LANGS, LANG_LABELS, CODE_TOOL_BANNERS, isCodeToolType, DEFAULT_CODE_TOOL_TYPE } from './constants.mjs';
|
|
5
4
|
import { ensureI18nInitialized, i18n, resolveSupportedLanguage, changeLanguage } from './index2.mjs';
|
|
6
5
|
import { displayBannerWithInfo } from './banner.mjs';
|
|
7
6
|
import { readZcfConfig, updateZcfConfig } from './ccjk-config.mjs';
|
|
8
|
-
import {
|
|
7
|
+
import { L as buildMyclaudeProviderPresentation } from './config.mjs';
|
|
8
|
+
import { b as runCodexUpdate, j as runCodexUninstall, k as configureCodexAiMemoryFeature, m as configureCodexDefaultModelFeature, n as configureCodexMcp, o as configureCodexApi, p as configureCodexPresetFeature, q as runCodexWorkflowImportWithLanguageSelection, i as runCodexFullInit } from './codex.mjs';
|
|
9
9
|
import { S as STARTUP_CODE_TOOL_CHOICES, a as resolveStartupCodeType } from './code-type-resolver.mjs';
|
|
10
10
|
import { a as handleExitPromptError, h as handleGeneralError } from '../shared/ccjk.DGllfVCZ.mjs';
|
|
11
11
|
import { changeScriptLanguageFeature } from './features.mjs';
|
|
@@ -28,7 +28,7 @@ import { configSwitchCommand } from './config-switch.mjs';
|
|
|
28
28
|
import process__default from 'node:process';
|
|
29
29
|
import { readFile, writeFileAtomic, ensureDir, exists, readJsonFile } from './fs-operations.mjs';
|
|
30
30
|
import { workspaceDiagnostics, doctor } from './doctor.mjs';
|
|
31
|
-
import { a as mcpList, c as mcpUninstall, m as mcpInstall, d as mcpTrending, b as mcpSearch } from '../shared/ccjk.
|
|
31
|
+
import { a as mcpList, c as mcpUninstall, m as mcpInstall, d as mcpTrending, b as mcpSearch } from '../shared/ccjk.B9OuS4xZ.mjs';
|
|
32
32
|
import { notificationCommand } from './notification.mjs';
|
|
33
33
|
import { g as getRuntimeVersion } from '../shared/ccjk.gDEDGD_t.mjs';
|
|
34
34
|
import { uninstall } from './uninstall.mjs';
|
|
@@ -5345,7 +5345,7 @@ async function showMainMenu(options = {}) {
|
|
|
5345
5345
|
const codeTool = getCurrentCodeTool();
|
|
5346
5346
|
displayBannerWithInfo(CODE_TOOL_BANNERS[codeTool] || "CCJK");
|
|
5347
5347
|
if (codeTool === "clavue") {
|
|
5348
|
-
const { syncMyclaudeProviderProfilesFromCurrentClaudeConfig } = await import('./config.mjs').then(function (n) { return n.
|
|
5348
|
+
const { syncMyclaudeProviderProfilesFromCurrentClaudeConfig } = await import('./config.mjs').then(function (n) { return n.P; });
|
|
5349
5349
|
clavueRuntimeSyncResult = syncMyclaudeProviderProfilesFromCurrentClaudeConfig();
|
|
5350
5350
|
}
|
|
5351
5351
|
const result = await showProgressiveMenu(codeTool, clavueRuntimeSyncResult);
|