ccjk 14.2.0 → 14.2.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/api-cli.mjs +3 -2
- package/dist/chunks/api-config-selector.mjs +8 -6
- package/dist/chunks/auto-updater.mjs +1 -1
- package/dist/chunks/ccjk-agents.mjs +2 -2
- package/dist/chunks/ccjk-all.mjs +6 -6
- package/dist/chunks/ccjk-hooks.mjs +2 -2
- package/dist/chunks/ccjk-mcp.mjs +5 -5
- package/dist/chunks/ccjk-setup.mjs +4 -4
- package/dist/chunks/ccjk-skills.mjs +2 -2
- package/dist/chunks/ccr.mjs +11 -9
- package/dist/chunks/check-updates.mjs +2 -1
- package/dist/chunks/claude-code-incremental-manager.mjs +8 -6
- package/dist/chunks/claude-config.mjs +594 -62
- package/dist/chunks/claude-config2.mjs +62 -0
- package/dist/chunks/clavue-config.mjs +1390 -0
- package/dist/chunks/code-type-resolver.mjs +1 -1
- package/dist/chunks/codex-config-switch.mjs +1 -0
- package/dist/chunks/codex-provider-manager.mjs +2 -1
- package/dist/chunks/codex.mjs +4 -3
- package/dist/chunks/config-switch.mjs +6 -4
- package/dist/chunks/config.mjs +7 -1973
- package/dist/chunks/config2.mjs +8 -7
- package/dist/chunks/config3.mjs +1 -0
- package/dist/chunks/doctor.mjs +7 -6
- package/dist/chunks/features.mjs +9 -7
- package/dist/chunks/index10.mjs +14 -5379
- package/dist/chunks/index9.mjs +5379 -14
- package/dist/chunks/init.mjs +12 -10
- package/dist/chunks/installer.mjs +7 -5
- package/dist/chunks/interview.mjs +1 -1
- package/dist/chunks/mcp-cli.mjs +23 -22
- package/dist/chunks/mcp.mjs +8 -7
- package/dist/chunks/package.mjs +1 -1
- package/dist/chunks/platform.mjs +1 -1
- package/dist/chunks/quick-provider.mjs +7 -5
- package/dist/chunks/quick-setup.mjs +7 -5
- package/dist/chunks/simple-config.mjs +3 -2
- package/dist/chunks/slash-commands.mjs +1 -1
- package/dist/chunks/thinking.mjs +1 -1
- package/dist/chunks/uninstall.mjs +1 -1
- package/dist/chunks/update.mjs +10 -9
- package/dist/chunks/version-checker.mjs +1 -1
- package/dist/chunks/zero-config.mjs +4 -3
- package/dist/cli.mjs +3 -3
- package/dist/index.mjs +7 -6
- package/dist/shared/{ccjk.DGllfVCZ.mjs → ccjk.BtrioX1Z.mjs} +1 -1
- package/dist/shared/{ccjk.DOw7Fawt.mjs → ccjk.C1Be3aJN.mjs} +2 -2
- package/dist/shared/{ccjk.BCzOWT1L.mjs → ccjk.C94P8gCY.mjs} +2 -2
- package/dist/shared/{ccjk.Cgv_cFVX.mjs → ccjk.CTr4yCZ1.mjs} +2 -2
- package/dist/shared/{ccjk.Cv13QsGp.mjs → ccjk.CoCHVXl3.mjs} +1 -1
- package/dist/shared/{ccjk.f3TBLJSt.mjs → ccjk.CwGZSTAK.mjs} +7 -7
- package/dist/shared/{ccjk.CfKJnpbB.mjs → ccjk.D-magaEx.mjs} +2 -2
- package/dist/shared/{ccjk.CbWVbtb9.mjs → ccjk.DhJ1kyDR.mjs} +1 -1
- package/dist/shared/{ccjk.zFGcZT7Y.mjs → ccjk.OJKHVSOb.mjs} +1 -1
- package/package.json +43 -40
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import a from '../chunks/index5.mjs';
|
|
2
2
|
import { i as inquirer } from '../chunks/index6.mjs';
|
|
3
|
-
import {
|
|
3
|
+
import { a as getMcpService, d as dynamicMcpRegistry, r as readMcpConfig, b as buildMcpServerConfig, w as writeMcpConfig, M as MCP_SERVICE_CONFIGS } from '../chunks/claude-config.mjs';
|
|
4
4
|
import { CLAVUE_CONFIG_FILE, CLAVUE_SETTINGS_FILE, ClAUDE_CONFIG_FILE, CODEX_CONFIG_FILE } from '../chunks/constants.mjs';
|
|
5
5
|
import { ensureI18nInitialized, i18n } from '../chunks/index2.mjs';
|
|
6
|
-
import {
|
|
6
|
+
import { a as readCodexConfig, b as applyCodexPlatformCommand, w as writeCodexConfig } from '../chunks/codex.mjs';
|
|
7
7
|
import { exists } from '../chunks/fs-operations.mjs';
|
|
8
|
-
import { i as isWindows,
|
|
8
|
+
import { i as isWindows, g as getSystemRoot } from '../chunks/platform.mjs';
|
|
9
9
|
import { r as resolveClaudeFamilySettingsTarget } from './ccjk.DDL-4C-k.mjs';
|
|
10
10
|
|
|
11
11
|
function detectActiveTool() {
|
|
@@ -283,8 +283,8 @@ ${i18n.t("mcp:installer.installedServices", { tool: targetTool })}
|
|
|
283
283
|
async function autoAuthorizeMcpService(tool, serviceId) {
|
|
284
284
|
const mcpPermission = `mcp__${serviceId.toLowerCase().replace(/-/g, "_")}__*`;
|
|
285
285
|
const target = resolveClaudeFamilySettingsTarget(tool);
|
|
286
|
-
const { readClaudeConfig } = await import('../chunks/claude-
|
|
287
|
-
const { updateClaudeConfig } = await import('../chunks/claude-
|
|
286
|
+
const { readClaudeConfig } = await import('../chunks/claude-config2.mjs');
|
|
287
|
+
const { updateClaudeConfig } = await import('../chunks/claude-config2.mjs');
|
|
288
288
|
const currentSettings = readClaudeConfig(target.settingsFile) || {};
|
|
289
289
|
if (!currentSettings.permissions) {
|
|
290
290
|
currentSettings.permissions = {};
|
|
@@ -302,8 +302,8 @@ async function autoAuthorizeMcpService(tool, serviceId) {
|
|
|
302
302
|
async function removeAuthorizeMcpService(tool, serviceId) {
|
|
303
303
|
const mcpPermission = `mcp__${serviceId.toLowerCase().replace(/-/g, "_")}__*`;
|
|
304
304
|
const target = resolveClaudeFamilySettingsTarget(tool);
|
|
305
|
-
const { readClaudeConfig } = await import('../chunks/claude-
|
|
306
|
-
const { updateClaudeConfig } = await import('../chunks/claude-
|
|
305
|
+
const { readClaudeConfig } = await import('../chunks/claude-config2.mjs');
|
|
306
|
+
const { updateClaudeConfig } = await import('../chunks/claude-config2.mjs');
|
|
307
307
|
const currentSettings = readClaudeConfig(target.settingsFile) || {};
|
|
308
308
|
if (currentSettings.permissions?.allow) {
|
|
309
309
|
const index = currentSettings.permissions.allow.indexOf(mcpPermission);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import a from '../chunks/index5.mjs';
|
|
2
2
|
import { i as inquirer } from '../chunks/index6.mjs';
|
|
3
|
-
import { M as MCP_SERVICE_CONFIGS } from '../chunks/config.mjs';
|
|
3
|
+
import { M as MCP_SERVICE_CONFIGS } from '../chunks/claude-config.mjs';
|
|
4
4
|
import { i18n } from '../chunks/index2.mjs';
|
|
5
|
-
import { d as displayInstalledMcpServices, b as isMcpServiceInstalled, i as installMcpService, u as uninstallMcpService } from './ccjk.
|
|
5
|
+
import { d as displayInstalledMcpServices, b as isMcpServiceInstalled, i as installMcpService, u as uninstallMcpService } from './ccjk.CwGZSTAK.mjs';
|
|
6
6
|
import { existsSync, unlinkSync, statSync, mkdirSync, readFileSync } from 'node:fs';
|
|
7
7
|
import { homedir } from 'node:os';
|
|
8
8
|
import { CLOUD_ENDPOINTS } from '../chunks/constants.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import a from '../chunks/index5.mjs';
|
|
2
2
|
import { i as inquirer } from '../chunks/index6.mjs';
|
|
3
|
-
import { g as getMcpServices, M as MCP_SERVICE_CONFIGS } from '../chunks/config.mjs';
|
|
3
|
+
import { g as getMcpServices, M as MCP_SERVICE_CONFIGS } from '../chunks/claude-config.mjs';
|
|
4
4
|
import { ensureI18nInitialized, i18n } from '../chunks/index2.mjs';
|
|
5
5
|
|
|
6
6
|
async function selectMcpServices() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as consola, o as ofetch } from './ccjk.
|
|
1
|
+
import { c as consola, o as ofetch } from './ccjk.CoCHVXl3.mjs';
|
|
2
2
|
import fs__default, { existsSync, readFileSync, mkdirSync, writeFileSync } from 'node:fs';
|
|
3
3
|
import path__default, { join, dirname } from 'node:path';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccjk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "14.2.
|
|
4
|
+
"version": "14.2.1",
|
|
5
|
+
"packageManager": "pnpm@10.17.1",
|
|
5
6
|
"description": "Production-ready AI dev environment for Claude Code, Codex, and modern coding workflows with 30-second onboarding, persistent memory, Agent Teams, remote control, and capability discovery.",
|
|
6
7
|
"author": {
|
|
7
8
|
"name": "CCJK Team",
|
|
@@ -80,6 +81,46 @@
|
|
|
80
81
|
"engines": {
|
|
81
82
|
"node": ">=20"
|
|
82
83
|
},
|
|
84
|
+
"scripts": {
|
|
85
|
+
"dev": "tsx ./src/cli.ts",
|
|
86
|
+
"build": "pnpm build:release:deps && pnpm build:root",
|
|
87
|
+
"build:root": "unbuild",
|
|
88
|
+
"build:release:deps": "pnpm --filter @ccjk/wire build && pnpm --filter @ccjk/evolution build",
|
|
89
|
+
"start": "node bin/ccjk.mjs",
|
|
90
|
+
"typecheck": "pnpm build:release:deps && pnpm typecheck:root",
|
|
91
|
+
"typecheck:root": "tsc --noEmit",
|
|
92
|
+
"release:verify": "node scripts/release-verify.mjs",
|
|
93
|
+
"release:verify:full": "node scripts/release-verify.mjs --with-tests",
|
|
94
|
+
"prepublishOnly": "node scripts/validate-prepublish.mjs && pnpm contract:check && pnpm build",
|
|
95
|
+
"lint": "eslint",
|
|
96
|
+
"lint:fix": "eslint --fix",
|
|
97
|
+
"test": "vitest",
|
|
98
|
+
"test:ui": "vitest --ui",
|
|
99
|
+
"test:coverage": "vitest run --coverage",
|
|
100
|
+
"test:run": "vitest run",
|
|
101
|
+
"test:release": "vitest run src/commands/menu/index.test.ts src/commands/menu/main-menu.test.ts src/utils/tool-update-scheduler.test.ts tests/commands/api-config-selector.test.ts tests/commands/init.silent.test.ts tests/commands/onboarding-wizard.test.ts tests/commands/research.test.ts tests/utils/banner.test.ts tests/utils/code-type-resolver.test.ts tests/utils/memory-feature.test.ts",
|
|
102
|
+
"test:watch": "vitest watch",
|
|
103
|
+
"test:e2e": "NODE_ENV=test vitest --config vitest.e2e.config.ts",
|
|
104
|
+
"test:e2e:run": "NODE_ENV=test vitest run --config vitest.e2e.config.ts",
|
|
105
|
+
"test:e2e:ui": "NODE_ENV=test vitest --config vitest.e2e.config.ts --ui",
|
|
106
|
+
"test:e2e:coverage": "NODE_ENV=test vitest run --config vitest.e2e.config.ts --coverage",
|
|
107
|
+
"test:e2e:debug": "NODE_ENV=test CCJK_E2E_DEBUG=true vitest --config vitest.e2e.config.ts",
|
|
108
|
+
"test:integration": "NODE_ENV=test vitest --config vitest.integration.config.ts",
|
|
109
|
+
"test:integration:run": "NODE_ENV=test vitest run --config vitest.integration.config.ts",
|
|
110
|
+
"test:integration:ui": "NODE_ENV=test vitest --config vitest.integration.config.ts --ui",
|
|
111
|
+
"test:integration:coverage": "NODE_ENV=test vitest run --config vitest.integration.config.ts --coverage",
|
|
112
|
+
"prepare": "husky",
|
|
113
|
+
"format": "prettier --write src/**/*.ts",
|
|
114
|
+
"prepublish:fix": "node scripts/fix-package-catalog.mjs",
|
|
115
|
+
"cleanup": "node scripts/cleanup.js",
|
|
116
|
+
"cleanup:auto": "node scripts/cleanup.js --auto",
|
|
117
|
+
"cleanup:dry": "node scripts/cleanup.js --dry-run",
|
|
118
|
+
"clean": "rm -rf dist coverage .turbo *.tsbuildinfo",
|
|
119
|
+
"benchmark:compression": "tsx scripts/benchmark-compression.ts",
|
|
120
|
+
"i18n:check": "tsx scripts/check-i18n.ts",
|
|
121
|
+
"i18n:report": "tsx scripts/check-i18n.ts --report",
|
|
122
|
+
"contract:check": "node scripts/check-remote-contract.mjs"
|
|
123
|
+
},
|
|
83
124
|
"dependencies": {
|
|
84
125
|
"better-sqlite3": "^12.9.0",
|
|
85
126
|
"fdir": "^6.5.0",
|
|
@@ -142,43 +183,5 @@
|
|
|
142
183
|
"unbuild": "^3.6.1",
|
|
143
184
|
"uuid": "^11.1.0",
|
|
144
185
|
"vitest": "^3.2.4"
|
|
145
|
-
},
|
|
146
|
-
"scripts": {
|
|
147
|
-
"dev": "tsx ./src/cli.ts",
|
|
148
|
-
"build": "pnpm build:release:deps && pnpm build:root",
|
|
149
|
-
"build:root": "unbuild",
|
|
150
|
-
"build:release:deps": "pnpm --filter @ccjk/wire build && pnpm --filter @ccjk/evolution build",
|
|
151
|
-
"start": "node bin/ccjk.mjs",
|
|
152
|
-
"typecheck": "pnpm build:release:deps && pnpm typecheck:root",
|
|
153
|
-
"typecheck:root": "tsc --noEmit",
|
|
154
|
-
"release:verify": "node scripts/release-verify.mjs",
|
|
155
|
-
"release:verify:full": "node scripts/release-verify.mjs --with-tests",
|
|
156
|
-
"lint": "eslint",
|
|
157
|
-
"lint:fix": "eslint --fix",
|
|
158
|
-
"test": "vitest",
|
|
159
|
-
"test:ui": "vitest --ui",
|
|
160
|
-
"test:coverage": "vitest run --coverage",
|
|
161
|
-
"test:run": "vitest run",
|
|
162
|
-
"test:release": "vitest run src/commands/menu/index.test.ts src/commands/menu/main-menu.test.ts src/utils/tool-update-scheduler.test.ts tests/commands/api-config-selector.test.ts tests/commands/init.silent.test.ts tests/commands/onboarding-wizard.test.ts tests/commands/research.test.ts tests/utils/banner.test.ts tests/utils/code-type-resolver.test.ts tests/utils/memory-feature.test.ts",
|
|
163
|
-
"test:watch": "vitest watch",
|
|
164
|
-
"test:e2e": "NODE_ENV=test vitest --config vitest.e2e.config.ts",
|
|
165
|
-
"test:e2e:run": "NODE_ENV=test vitest run --config vitest.e2e.config.ts",
|
|
166
|
-
"test:e2e:ui": "NODE_ENV=test vitest --config vitest.e2e.config.ts --ui",
|
|
167
|
-
"test:e2e:coverage": "NODE_ENV=test vitest run --config vitest.e2e.config.ts --coverage",
|
|
168
|
-
"test:e2e:debug": "NODE_ENV=test CCJK_E2E_DEBUG=true vitest --config vitest.e2e.config.ts",
|
|
169
|
-
"test:integration": "NODE_ENV=test vitest --config vitest.integration.config.ts",
|
|
170
|
-
"test:integration:run": "NODE_ENV=test vitest run --config vitest.integration.config.ts",
|
|
171
|
-
"test:integration:ui": "NODE_ENV=test vitest --config vitest.integration.config.ts --ui",
|
|
172
|
-
"test:integration:coverage": "NODE_ENV=test vitest run --config vitest.integration.config.ts --coverage",
|
|
173
|
-
"format": "prettier --write src/**/*.ts",
|
|
174
|
-
"prepublish:fix": "node scripts/fix-package-catalog.mjs",
|
|
175
|
-
"cleanup": "node scripts/cleanup.js",
|
|
176
|
-
"cleanup:auto": "node scripts/cleanup.js --auto",
|
|
177
|
-
"cleanup:dry": "node scripts/cleanup.js --dry-run",
|
|
178
|
-
"clean": "rm -rf dist coverage .turbo *.tsbuildinfo",
|
|
179
|
-
"benchmark:compression": "tsx scripts/benchmark-compression.ts",
|
|
180
|
-
"i18n:check": "tsx scripts/check-i18n.ts",
|
|
181
|
-
"i18n:report": "tsx scripts/check-i18n.ts --report",
|
|
182
|
-
"contract:check": "node scripts/check-remote-contract.mjs"
|
|
183
186
|
}
|
|
184
|
-
}
|
|
187
|
+
}
|