@lmzhen/dsh-evolution-state-domain 0.1.0-rc.2 → 0.1.0-rc.20
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 +2 -0
- package/lib/types/index.d.ts +1 -0
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -18,6 +18,8 @@ const reviewStateSchema = z.object({
|
|
|
18
18
|
lastTurn: z.number().int().nonnegative()
|
|
19
19
|
});
|
|
20
20
|
const curatorStateSchema = z.object({
|
|
21
|
+
/** Optional record-shape version; legacy records without it stay compatible. */
|
|
22
|
+
schemaVersion: z.number().int().nonnegative().optional(),
|
|
21
23
|
lastRunAt: z.number().nonnegative(),
|
|
22
24
|
runCount: z.number().int().nonnegative(),
|
|
23
25
|
lastSummary: z.string(),
|
package/lib/types/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare const reviewStateSchema: z.ZodObject<{
|
|
|
18
18
|
lastTurn: z.ZodNumber;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
20
|
export declare const curatorStateSchema: z.ZodObject<{
|
|
21
|
+
schemaVersion: z.ZodOptional<z.ZodNumber>;
|
|
21
22
|
lastRunAt: z.ZodNumber;
|
|
22
23
|
runCount: z.ZodNumber;
|
|
23
24
|
lastSummary: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-state-domain",
|
|
3
3
|
"description": "storage-domain provider for evolution state (community build)",
|
|
4
|
-
"version": "0.1.0-rc.
|
|
4
|
+
"version": "0.1.0-rc.20",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
|
|
39
39
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
40
40
|
"@deepseek-ai/dsh-storage-domain": "^0.1.0-rc.6",
|
|
41
|
-
"@lmzhen/dsh-evolution-state-storage": "^0.1.0-rc.
|
|
41
|
+
"@lmzhen/dsh-evolution-state-storage": "^0.1.0-rc.20"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
|
|
45
45
|
"@deepseek-ai/dsh-storage-domain": "^0.1.0-rc.6",
|
|
46
|
-
"@lmzhen/dsh-evolution-state-storage": "^0.1.0-rc.
|
|
46
|
+
"@lmzhen/dsh-evolution-state-storage": "^0.1.0-rc.20"
|
|
47
47
|
}
|
|
48
48
|
}
|