ccjk 14.1.8 → 14.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/code-type-resolver.mjs +7 -4
- package/dist/chunks/package.mjs +1 -1
- package/dist/cli.mjs +0 -0
- package/package.json +40 -43
|
@@ -432,7 +432,8 @@ class SmartDefaultsDetector {
|
|
|
432
432
|
const platform = getPlatform();
|
|
433
433
|
const apiKey = this.detectApiKey();
|
|
434
434
|
const apiProvider = this.detectApiProvider(apiKey);
|
|
435
|
-
const
|
|
435
|
+
const codeToolType = this.detectCodeToolType();
|
|
436
|
+
const ccVersion = await this.detectClaudeCodeVersion(codeToolType);
|
|
436
437
|
const projectContext = scanProject(cwd);
|
|
437
438
|
return {
|
|
438
439
|
// Environment detection
|
|
@@ -457,7 +458,7 @@ class SmartDefaultsDetector {
|
|
|
457
458
|
"ccjk-testing-specialist"
|
|
458
459
|
],
|
|
459
460
|
// Code tool detection
|
|
460
|
-
codeToolType
|
|
461
|
+
codeToolType,
|
|
461
462
|
// Workflow preferences
|
|
462
463
|
workflows: {
|
|
463
464
|
outputStyle: "engineer-professional",
|
|
@@ -485,11 +486,13 @@ class SmartDefaultsDetector {
|
|
|
485
486
|
/**
|
|
486
487
|
* Detect installed Claude Code version
|
|
487
488
|
*/
|
|
488
|
-
async detectClaudeCodeVersion() {
|
|
489
|
+
async detectClaudeCodeVersion(preferredCodeTool) {
|
|
490
|
+
const preferredCommand = preferredCodeTool && preferredCodeTool in CODE_TOOL_INFO ? CODE_TOOL_INFO[preferredCodeTool].runtimeCommand : void 0;
|
|
489
491
|
const candidateCommands = [
|
|
492
|
+
preferredCommand,
|
|
490
493
|
CODE_TOOL_INFO["claude-code"].runtimeCommand,
|
|
491
494
|
CODE_TOOL_INFO.clavue.runtimeCommand
|
|
492
|
-
];
|
|
495
|
+
].filter((command, index, commands) => Boolean(command) && commands.indexOf(command) === index);
|
|
493
496
|
for (const command of candidateCommands) {
|
|
494
497
|
try {
|
|
495
498
|
if (!await commandExists(command)) {
|
package/dist/chunks/package.mjs
CHANGED
package/dist/cli.mjs
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccjk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "14.1.
|
|
5
|
-
"packageManager": "pnpm@10.17.1",
|
|
4
|
+
"version": "14.1.9",
|
|
6
5
|
"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.",
|
|
7
6
|
"author": {
|
|
8
7
|
"name": "CCJK Team",
|
|
@@ -81,46 +80,6 @@
|
|
|
81
80
|
"engines": {
|
|
82
81
|
"node": ">=20"
|
|
83
82
|
},
|
|
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
|
-
},
|
|
124
83
|
"dependencies": {
|
|
125
84
|
"better-sqlite3": "^12.9.0",
|
|
126
85
|
"fdir": "^6.5.0",
|
|
@@ -183,5 +142,43 @@
|
|
|
183
142
|
"unbuild": "^3.6.1",
|
|
184
143
|
"uuid": "^11.1.0",
|
|
185
144
|
"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"
|
|
186
183
|
}
|
|
187
|
-
}
|
|
184
|
+
}
|