ccjk 8.0.4 → 8.0.5
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/ccjk-all.mjs
CHANGED
|
@@ -96,7 +96,7 @@ class CloudSetupOrchestrator {
|
|
|
96
96
|
}
|
|
97
97
|
const analysis = await analyzeProject(options.targetDir || process.cwd(), {
|
|
98
98
|
analyzeTransitiveDeps: true,
|
|
99
|
-
maxFilesToScan
|
|
99
|
+
// Use default maxFilesToScan of 10000 for better large project support
|
|
100
100
|
analyzeGitHistory: true,
|
|
101
101
|
analyzeTeamMetrics: true
|
|
102
102
|
});
|
package/dist/chunks/ccjk-mcp.mjs
CHANGED
|
@@ -348,8 +348,8 @@ async function ccjkMcp(options = {}) {
|
|
|
348
348
|
try {
|
|
349
349
|
consola.info(isZh ? "\u{1F50D} \u5206\u6790\u9879\u76EE\u4E2D..." : "\u{1F50D} Analyzing project...");
|
|
350
350
|
const analysis = await analyzeProject(projectPath, {
|
|
351
|
-
analyzeTransitiveDeps: false
|
|
352
|
-
maxFilesToScan
|
|
351
|
+
analyzeTransitiveDeps: false
|
|
352
|
+
// Use default maxFilesToScan of 10000 for better large project support
|
|
353
353
|
});
|
|
354
354
|
result.project.type = analysis.projectType;
|
|
355
355
|
result.project.languages = analysis.languages.map((l) => l.language);
|
|
@@ -494,7 +494,9 @@ class SetupOrchestrator {
|
|
|
494
494
|
skills: skillIds,
|
|
495
495
|
install: true,
|
|
496
496
|
lang: options.lang || "en",
|
|
497
|
-
verbose: options.verbose || false
|
|
497
|
+
verbose: options.verbose || false,
|
|
498
|
+
targetDir: options.projectPath || process.cwd(),
|
|
499
|
+
interactive: false
|
|
498
500
|
};
|
|
499
501
|
const skillsResult = await ccjkSkills(skillsOptions);
|
|
500
502
|
result.installed = skillsResult.installed || 0;
|
|
@@ -535,7 +537,9 @@ class SetupOrchestrator {
|
|
|
535
537
|
services: mcpIds,
|
|
536
538
|
install: true,
|
|
537
539
|
lang: options.lang || "en",
|
|
538
|
-
verbose: options.verbose || false
|
|
540
|
+
verbose: options.verbose || false,
|
|
541
|
+
targetDir: options.projectPath || process.cwd(),
|
|
542
|
+
interactive: false
|
|
539
543
|
};
|
|
540
544
|
const mcpResult = await ccjkMcp(mcpOptions);
|
|
541
545
|
result.installed = mcpResult.installed || 0;
|
|
@@ -576,7 +580,9 @@ class SetupOrchestrator {
|
|
|
576
580
|
agents: agentIds,
|
|
577
581
|
create: true,
|
|
578
582
|
lang: options.lang || "en",
|
|
579
|
-
verbose: options.verbose || false
|
|
583
|
+
verbose: options.verbose || false,
|
|
584
|
+
targetDir: options.projectPath || process.cwd(),
|
|
585
|
+
interactive: false
|
|
580
586
|
};
|
|
581
587
|
const agentsResult = await ccjkAgents(agentsOptions);
|
|
582
588
|
result.installed = agentsResult.created || 0;
|
|
@@ -617,7 +623,9 @@ class SetupOrchestrator {
|
|
|
617
623
|
hooks: hookIds,
|
|
618
624
|
install: true,
|
|
619
625
|
lang: options.lang || "en",
|
|
620
|
-
verbose: options.verbose || false
|
|
626
|
+
verbose: options.verbose || false,
|
|
627
|
+
targetDir: options.projectPath || process.cwd(),
|
|
628
|
+
interactive: false
|
|
621
629
|
};
|
|
622
630
|
const hooksResult = await ccjkHooks(hooksOptions);
|
|
623
631
|
result.installed = hooksResult.installed || 0;
|
|
@@ -820,8 +820,8 @@ async function ccjkSkills(options = {}) {
|
|
|
820
820
|
console.log(ansis.bold(` ${i18n.t("ccjk-skills:analyzing")}`));
|
|
821
821
|
}
|
|
822
822
|
const analysis = await analyzeProject(opts.targetDir, {
|
|
823
|
-
analyzeTransitiveDeps: true
|
|
824
|
-
maxFilesToScan
|
|
823
|
+
analyzeTransitiveDeps: true
|
|
824
|
+
// Don't override maxFilesToScan - use default of 10000
|
|
825
825
|
});
|
|
826
826
|
if (!opts.json) {
|
|
827
827
|
displayProjectInfo(analysis, opts.lang);
|
|
@@ -926,31 +926,23 @@ async function getRecommendedSkills(analysis, options) {
|
|
|
926
926
|
retries: 2
|
|
927
927
|
});
|
|
928
928
|
const request = {
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
confidence: l.confidence,
|
|
933
|
-
fileCount: l.fileCount
|
|
934
|
-
})),
|
|
935
|
-
frameworks: analysis.frameworks.map((f) => ({
|
|
936
|
-
name: f.name,
|
|
937
|
-
version: f.version,
|
|
938
|
-
confidence: f.confidence
|
|
939
|
-
})),
|
|
940
|
-
packageManager: analysis.packageManager,
|
|
941
|
-
buildSystem: analysis.buildSystem,
|
|
942
|
-
dependencies: analysis.dependencies?.direct.map((d) => ({
|
|
943
|
-
name: d.name,
|
|
944
|
-
version: d.version,
|
|
945
|
-
type: d.type,
|
|
946
|
-
isDev: d.isDev
|
|
947
|
-
})),
|
|
948
|
-
configFiles: analysis.configFiles,
|
|
949
|
-
metadata: {
|
|
950
|
-
confidence: analysis.metadata.confidence,
|
|
951
|
-
filesScanned: analysis.metadata.filesScanned
|
|
952
|
-
}
|
|
929
|
+
projectRoot: analysis.rootPath || process.cwd(),
|
|
930
|
+
language: options.lang,
|
|
931
|
+
ccjkVersion: "8.0.4"
|
|
953
932
|
};
|
|
933
|
+
if (analysis.dependencies?.direct) {
|
|
934
|
+
const deps = {};
|
|
935
|
+
const devDeps = {};
|
|
936
|
+
for (const dep of analysis.dependencies.direct) {
|
|
937
|
+
if (dep.isDev) {
|
|
938
|
+
devDeps[dep.name] = dep.version || "*";
|
|
939
|
+
} else {
|
|
940
|
+
deps[dep.name] = dep.version || "*";
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
request.dependencies = deps;
|
|
944
|
+
request.devDependencies = devDeps;
|
|
945
|
+
}
|
|
954
946
|
logger.info("Fetching cloud recommendations...");
|
|
955
947
|
const cloudResponse = await cloudClient.analyzeProject(request);
|
|
956
948
|
if (cloudResponse.recommendations) {
|
package/dist/chunks/package.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccjk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.5",
|
|
5
5
|
"packageManager": "pnpm@10.17.1",
|
|
6
6
|
"description": "Ultimate AI Development Tool - Code Tool Abstraction Layer with 83% Token Savings - Now with Cloud Sync, Hot-Reload Skills, Multi-Agent Orchestration, and Full Claude Code CLI 2.1+ Compatibility",
|
|
7
7
|
"author": {
|