@lmzhen/dsh-evolution-activity 0.3.66 → 0.3.68

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
@@ -68,11 +68,12 @@ function parseActivityContent(raw) {
68
68
  }
69
69
  }
70
70
  /**
71
- * H-06: @internal — test-support API. The runtime listener path
72
- * persists through the `transactIo` fold inside `apply()` and never calls
73
- * this helper; it is kept only because the tests use it as a read barrier.
74
- * Do not extend it into a second production read path (the apply() listener
75
- * is the single sink).
71
+ * H-06: the read barrier over the sidecar. V24-13 (v24): `loadActivity` now
72
+ * HAS a production consumer — `evolution-replay` backfills its `/evolution
73
+ * replay` leaderboard from this store at mount (the two packages'
74
+ * "persistence is the activity store's job" contract is actually wired
75
+ * through this call). The single-writer rule is unchanged: `apply()`'s
76
+ * transact listener remains the only WRITE path.
76
77
  */
77
78
  async function loadActivity(root, io) {
78
79
  return parseActivityContent(await io.readText(activityFile(root)));
@@ -49,11 +49,12 @@ export declare function applyActivityEvent(items: EvolutionActivityRecord[], eve
49
49
  export declare function serializeActivity(items: EvolutionActivityRecord[]): string;
50
50
  export declare function parseActivityContent(raw: string | null): EvolutionActivityRecord[];
51
51
  /**
52
- * H-06: @internal — test-support API. The runtime listener path
53
- * persists through the `transactIo` fold inside `apply()` and never calls
54
- * this helper; it is kept only because the tests use it as a read barrier.
55
- * Do not extend it into a second production read path (the apply() listener
56
- * is the single sink).
52
+ * H-06: the read barrier over the sidecar. V24-13 (v24): `loadActivity` now
53
+ * HAS a production consumer — `evolution-replay` backfills its `/evolution
54
+ * replay` leaderboard from this store at mount (the two packages'
55
+ * "persistence is the activity store's job" contract is actually wired
56
+ * through this call). The single-writer rule is unchanged: `apply()`'s
57
+ * transact listener remains the only WRITE path.
57
58
  */
58
59
  export declare function loadActivity(root: string, io: EvolutionIoLike): Promise<EvolutionActivityRecord[]>;
59
60
  export declare const name = "evolution-activity";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-activity",
3
3
  "description": "Durable activity store for self-evolution plan outcomes (community build)",
4
- "version": "0.3.66",
4
+ "version": "0.3.68",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -31,7 +31,7 @@
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
33
  "@deepseek-ai/schemastery": "^3.18.1",
34
- "@lmzhen/dsh-evolution-core": "^0.3.66"
34
+ "@lmzhen/dsh-evolution-core": "^0.3.68"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@deepseek-ai/cordis": "^4.0.1",
@@ -40,8 +40,8 @@
40
40
  "devDependencies": {
41
41
  "@deepseek-ai/cordis": "^4.0.1",
42
42
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
43
- "@lmzhen/dsh-evolution-core": "^0.3.66",
44
- "@lmzhen/dsh-evolution-io": "^0.3.66",
45
- "@lmzhen/dsh-evolution-io-node": "^0.3.66"
43
+ "@lmzhen/dsh-evolution-core": "^0.3.68",
44
+ "@lmzhen/dsh-evolution-io": "^0.3.68",
45
+ "@lmzhen/dsh-evolution-io-node": "^0.3.68"
46
46
  }
47
47
  }