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

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 +10 -14
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,23 +1,19 @@
1
1
  # @lmzhen/dsh-evolution-state-domain
2
2
 
3
- storage-domain provider for evolution state: records live in the DSH storage-domain data form —
4
- schema-validated, change-emitting durable KV routed by whatever backend the domain facility
5
- provides (`json`, `sqlite`, remote RPC).
3
+ > 内部可选组件,默认不启用。
6
4
 
7
- ## Model surface
5
+ ## 你会看到
8
6
 
9
- - **Model-visible:** nothing of its own: the rows that read this state own the injection.
10
- - **Prompt prefix / KV cache:** unchanged by this package: family-level rules single-sourced in `packages/README.md` §"Model-visible prompt prefix and the KV cache".
11
- - **Mount it?** yes — the `evolution-state-domain` row, in `evolution-host`/`evolution-all`/one-click `evolution-preset`, where it is `disabled: true` until the host has the `storage-domain` facility.
7
+ 没有命令、面板或工具入口。
12
8
 
13
- ## Known limitations
9
+ ## 什么时候会用到
14
10
 
15
- - Requires the host-plane `storage-domain` facility. The bundle row stays dormant when it is absent.
16
- - Both tables are capped (200 pending, 500 sessions), and past the caps records are gone, not archived: the audit-archive sidecar the json provider keeps has no equivalent here (a failed prune warns and retries on the next save).
11
+ 只有部署方要换存储介质时。
17
12
 
18
- **Runtime invariant:** No companion is published. The platform auto-assembles nothing and the family mounts no `<pkg>/invariant` cordis row, so a companion here would never execute (v37 S2.1 / I-3).
13
+ ## 默认 / 前提
19
14
 
20
- ## Notes and history
15
+ 默认关闭;需要额外服务。
21
16
 
22
- - P2-4 (v15): the live pending table is BOUNDED — resolved (approved/rejected) records are kept to the most recent `PENDING_RESOLVED_CAP` (200, seam constant in `evolution-state-storage`); the oldest by `resolvedAt` are deleted on resolve.
23
- - V25-11 (v25): the review-state table is likewise BOUNDED: `REVIEW_STATE_SESSION_CAP` (500, seam constant) rows keyed by session; on every save the least-recently-active sessions (provider-stamped `updatedAt`) are pruned (delete failures warn and retry on the next save).
17
+ ## 边界
18
+
19
+ 普通用户不需要开。
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.4",
4
+ "version": "0.32.5",
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.4"
34
+ "@lmzhen/dsh-evolution-state-storage": "^0.32.5"
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.4"
40
+ "@lmzhen/dsh-evolution-state-storage": "^0.32.5"
41
41
  },
42
42
  "engines": {
43
43
  "dsh": ">=0.2.1-rc.2 <0.2.2-0"