@lmzhen/dsh-evolution-activity 0.3.65 → 0.3.67
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 +6 -5
- package/lib/types/index.d.ts +6 -5
- package/package.json +5 -5
package/lib/index.js
CHANGED
|
@@ -68,11 +68,12 @@ function parseActivityContent(raw) {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
* H-06:
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
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)));
|
package/lib/types/index.d.ts
CHANGED
|
@@ -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:
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
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.
|
|
4
|
+
"version": "0.3.67",
|
|
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.
|
|
34
|
+
"@lmzhen/dsh-evolution-core": "^0.3.67"
|
|
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.
|
|
44
|
-
"@lmzhen/dsh-evolution-io": "^0.3.
|
|
45
|
-
"@lmzhen/dsh-evolution-io-node": "^0.3.
|
|
43
|
+
"@lmzhen/dsh-evolution-core": "^0.3.67",
|
|
44
|
+
"@lmzhen/dsh-evolution-io": "^0.3.67",
|
|
45
|
+
"@lmzhen/dsh-evolution-io-node": "^0.3.67"
|
|
46
46
|
}
|
|
47
47
|
}
|