@lmzhen/dsh-evolution-curator 0.1.0-rc.59 → 0.1.0-rc.60

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.
Files changed (2) hide show
  1. package/lib/index.js +11 -3
  2. package/package.json +7 -7
package/lib/index.js CHANGED
@@ -356,7 +356,7 @@ var EvolutionCurator = class extends Service {
356
356
  };
357
357
  const llmNominations = gatedNominations.prunings;
358
358
  const archiveCandidates = [...new Set([...result.archive, ...llmNominations])];
359
- const { archivedSkills, errors } = await this.applyMutations({
359
+ const { archivedSkills, errors, consolidated } = await this.applyMutations({
360
360
  dryRun,
361
361
  archiveCandidates,
362
362
  nominations: gatedNominations,
@@ -382,6 +382,7 @@ var EvolutionCurator = class extends Service {
382
382
  reason: errors.find((item) => item.startsWith(`${name}:`))?.slice(name.length + 2) ?? "unknown"
383
383
  };
384
384
  }),
385
+ consolidated,
385
386
  ...snapshotPath === void 0 ? {} : { snapshotPath },
386
387
  llmReviewEnabled: this.llmReview
387
388
  });
@@ -476,11 +477,13 @@ var EvolutionCurator = class extends Service {
476
477
  if (input.dryRun) return {
477
478
  archivedSkills: [],
478
479
  errors: [],
479
- suppressedChanged: false
480
+ suppressedChanged: false,
481
+ consolidated: []
480
482
  };
481
483
  const { archiveCandidates, nominations, treeNames, usage, bundledNames, suppressedNames, root, failedFrom } = input;
482
484
  const errors = [];
483
485
  const archivedSkills = [];
486
+ const executedConsolidations = [];
484
487
  let suppressedChanged = false;
485
488
  const suppressedAdded = /* @__PURE__ */ new Set();
486
489
  for (const name of archiveCandidates) {
@@ -529,6 +532,10 @@ var EvolutionCurator = class extends Service {
529
532
  record.archived_at = (/* @__PURE__ */ new Date()).toISOString();
530
533
  }
531
534
  alreadyArchived.add(nomination.from);
535
+ executedConsolidations.push({
536
+ from: nomination.from,
537
+ into: nomination.into
538
+ });
532
539
  archivedSkills.push({
533
540
  name: nomination.from,
534
541
  path: join(this.skills.root, ".archive", nomination.from),
@@ -554,7 +561,8 @@ var EvolutionCurator = class extends Service {
554
561
  return {
555
562
  archivedSkills,
556
563
  errors,
557
- suppressedChanged
564
+ suppressedChanged,
565
+ consolidated: executedConsolidations
558
566
  };
559
567
  }
560
568
  recentSessionActive() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-curator",
3
3
  "description": "Deterministic skill lifecycle and recovery (community build)",
4
- "version": "0.1.0-rc.59",
4
+ "version": "0.1.0-rc.60",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -33,20 +33,20 @@
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
35
  "@deepseek-ai/schemastery": "^3.18.1",
36
- "@lmzhen/dsh-evolution-core": "^0.1.0-rc.59"
36
+ "@lmzhen/dsh-evolution-core": "^0.1.0-rc.60"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@deepseek-ai/cordis": "^4.0.1",
40
40
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
41
41
  "@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
42
- "@lmzhen/dsh-evolution-io": "^0.1.0-rc.59",
43
- "@lmzhen/dsh-evolution-state": "^0.1.0-rc.59"
42
+ "@lmzhen/dsh-evolution-io": "^0.1.0-rc.60",
43
+ "@lmzhen/dsh-evolution-state": "^0.1.0-rc.60"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
47
47
  "@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
48
- "@lmzhen/dsh-evolution-core": "^0.1.0-rc.59",
49
- "@lmzhen/dsh-evolution-io": "^0.1.0-rc.59",
50
- "@lmzhen/dsh-evolution-state": "^0.1.0-rc.59"
48
+ "@lmzhen/dsh-evolution-core": "^0.1.0-rc.60",
49
+ "@lmzhen/dsh-evolution-io": "^0.1.0-rc.60",
50
+ "@lmzhen/dsh-evolution-state": "^0.1.0-rc.60"
51
51
  }
52
52
  }