ccjk 8.1.0 → 8.1.2

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.
@@ -115,8 +115,9 @@ class CloudSetupOrchestrator {
115
115
  */
116
116
  generateProjectFingerprint(analysis) {
117
117
  const hash = createHash("sha256");
118
- const depNames = analysis.dependencies?.direct.map((d) => d.name).join(",") || "";
119
- const devDepNames = analysis.dependencies?.direct.filter((d) => d.isDev).map((d) => d.name).join(",") || "";
118
+ const directDeps = analysis.dependencies?.direct || [];
119
+ const depNames = directDeps.map((d) => d.name).join(",");
120
+ const devDepNames = directDeps.filter((d) => d.isDev).map((d) => d.name).join(",");
120
121
  const frameworkNames = analysis.frameworks?.map((f) => f.name).join(",") || "";
121
122
  const languageNames = analysis.languages?.map((l) => l.language).join(",") || "";
122
123
  hash.update(depNames);
@@ -427,7 +428,7 @@ class CloudSetupOrchestrator {
427
428
  if (recommendations.hooks.length > 0) {
428
429
  await this.installHooks(recommendations.hooks, result, options);
429
430
  }
430
- result.duration = Date.now() - this.startTime;
431
+ result.duration = Math.max(Date.now() - this.startTime, 1);
431
432
  if (options.interactive !== false) {
432
433
  this.displaySummary(result, options);
433
434
  }
@@ -953,7 +953,7 @@ async function getRecommendedSkills(analysis, options) {
953
953
  const cloudResponse = await cloudClient.analyzeProject(request);
954
954
  if (cloudResponse.recommendations) {
955
955
  for (const rec of cloudResponse.recommendations) {
956
- if (rec.type === "skill") {
956
+ if (rec.category === "workflow") {
957
957
  const skill = await cloudClient.getTemplate(rec.id, options.lang);
958
958
  if (skill) {
959
959
  recommendations.push({
@@ -1,4 +1,4 @@
1
- const version = "8.1.0";
1
+ const version = "8.1.2";
2
2
  const homepage = "https://github.com/miounet11/ccjk";
3
3
 
4
4
  export { homepage, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ccjk",
3
3
  "type": "module",
4
- "version": "8.1.0",
4
+ "version": "8.1.2",
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": {