@lmzhen/dsh-evolution-curator 0.1.0-rc.18 → 0.1.0-rc.19

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/lib/index.js CHANGED
@@ -240,6 +240,7 @@ var EvolutionCurator = class extends Service {
240
240
  }
241
241
  const summary = `${dryRun ? "dry-run" : "auto"}: stale:${result.markStale.length} archived:${archivedSkills.length} consolidated:${nominations.consolidations.length}`;
242
242
  await stateService?.saveCuratorState({
243
+ schemaVersion: 1,
243
244
  lastRunAt: dryRun ? persisted?.lastRunAt ?? this.lastRun : this.lastRun,
244
245
  runCount: dryRun ? persisted?.runCount ?? 0 : (persisted?.runCount ?? 0) + 1,
245
246
  lastSummary: summary,
@@ -46,6 +46,14 @@ export interface CuratorRunOutcome {
46
46
  /** LLM nominations when the optional review pass is enabled (audit visibility). */
47
47
  nominations?: CuratorNominations;
48
48
  }
49
+ /** Persisted curator-state record shape (schemaVersion optional for legacy reads). */
50
+ export interface CuratorStateRecordShape {
51
+ schemaVersion?: number;
52
+ lastRunAt: number;
53
+ runCount: number;
54
+ lastSummary: string;
55
+ paused: boolean;
56
+ }
49
57
  export declare class EvolutionCurator extends Service {
50
58
  static inject: string[];
51
59
  static Config: Schema<Config>;
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.18",
4
+ "version": "0.1.0-rc.19",
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.18"
36
+ "@lmzhen/dsh-evolution-core": "^0.1.0-rc.19"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@deepseek-ai/cordis": "^4.0.1",
40
40
  "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
41
41
  "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
42
- "@lmzhen/dsh-evolution-io": "^0.1.0-rc.18",
43
- "@lmzhen/dsh-evolution-state": "^0.1.0-rc.18"
42
+ "@lmzhen/dsh-evolution-io": "^0.1.0-rc.19",
43
+ "@lmzhen/dsh-evolution-state": "^0.1.0-rc.19"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
47
47
  "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
48
- "@lmzhen/dsh-evolution-core": "^0.1.0-rc.18",
49
- "@lmzhen/dsh-evolution-io": "^0.1.0-rc.18",
50
- "@lmzhen/dsh-evolution-state": "^0.1.0-rc.18"
48
+ "@lmzhen/dsh-evolution-core": "^0.1.0-rc.19",
49
+ "@lmzhen/dsh-evolution-io": "^0.1.0-rc.19",
50
+ "@lmzhen/dsh-evolution-state": "^0.1.0-rc.19"
51
51
  }
52
52
  }