@lmzhen/dsh-evolution-state-domain 0.32.5 → 0.32.6

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/README.md +4 -14
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,19 +1,9 @@
1
1
  # @lmzhen/dsh-evolution-state-domain
2
2
 
3
- > 内部可选组件,默认不启用。
3
+ Optional `storageDomain` provider for review, curator, and pending state. It is disabled in the shipped bundle patches and requires the platform `storageDomain` service.
4
4
 
5
- ## 你会看到
5
+ The provider defines three schema-validated tables: `review_state`, `curator_state`, and `pending`. The configured domain facility determines the actual medium, which can be JSON, SQLite, remote RPC, or another supported backend; this package does not imply that all state resides in `$DSH_HOME`.
6
6
 
7
- 没有命令、面板或工具入口。
7
+ Transient open failures receive a bounded retry; deterministic schema/version/backend failures surface immediately. Pending claim/resolve transitions and the shared caps match the JSON provider. Resolved pending history is capped at 200 and review cadence state at 500 sessions, but domain mode does not create the JSON `pending-state-archive.json` sidecar.
8
8
 
9
- ## 什么时候会用到
10
-
11
- 只有部署方要换存储介质时。
12
-
13
- ## 默认 / 前提
14
-
15
- 默认关闭;需要额外服务。
16
-
17
- ## 边界
18
-
19
- 普通用户不需要开。
9
+ When both state providers are mounted, pin `provider: domain` on the `evolution-state` row. Leaving the choice to registration order is rejected by the facade.
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.32.5",
4
+ "version": "0.32.6",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -31,13 +31,13 @@
31
31
  "peerDependencies": {
32
32
  "@deepseek-ai/cordis": "^4.0.5",
33
33
  "@deepseek-ai/dsh-storage-domain": "^0.2.1-rc.2",
34
- "@lmzhen/dsh-evolution-state-storage": "^0.32.5"
34
+ "@lmzhen/dsh-evolution-state-storage": "^0.32.6"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@deepseek-ai/dsh-storage-domain": "^0.2.1-rc.2",
38
38
  "@deepseek-ai/dsh-storage": "^0.2.1-rc.2",
39
39
  "@deepseek-ai/dsh-storage-json": "^0.2.1-rc.2",
40
- "@lmzhen/dsh-evolution-state-storage": "^0.32.5"
40
+ "@lmzhen/dsh-evolution-state-storage": "^0.32.6"
41
41
  },
42
42
  "engines": {
43
43
  "dsh": ">=0.2.1-rc.2 <0.2.2-0"