@morlay/session-rdb 0.1.10 → 0.1.12

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 +8 -5
  2. package/package.json +27 -27
package/README.md CHANGED
@@ -22,11 +22,14 @@ provider 面),并接管 `ctx.sessionQuery`(全文检索 disabled)、`ctx
22
22
  preparedSessionCacheSize: 1 # 冷会话观察缓存容量(条数,最小 1)
23
23
  ```
24
24
 
25
- PostgreSQL 同理:`type: postgres` + `connectionString`(可加 `schema`,默认 `public`)。字段、默认值、装配默认值的
26
- 来源与「改配置由 Loader 重挂这一行生效」见[设计总览](./.agents/designs/20260917-设计总览.md)的「配置门面」。
27
-
28
- PG 的方言能力(连接、`PRAGMA` 库身份、聚合的 int8、JSON 提取、本地日、事务串行)由 `@morlay/rdbkit` 自己的
29
- `pg.spec.ts` 等用例验证;本包的契约与接管用例只在 SQLite 上跑(两个方言共用同一个后端实现,同一份逻辑不重复测)。
25
+ PostgreSQL 同理:`type: postgres` + `connectionString`(可加 `schema`,默认 `public`)。**`schema` 是唯一事实
26
+ 来源**:结构对齐、迁移账本(`t_schema_migrations`)、结构探测与所有业务读写都渲染成 `"<schema>"."<表>"`,不看
27
+ 连接串的 `search_path`(schema 本身要预先建好)。字段、默认值、装配默认值的来源与「改配置由 Loader 重挂这一行
28
+ 生效」见[设计总览](./.agents/designs/20260917-设计总览.md)的「配置门面」。
29
+
30
+ PG 的方言能力(连接、`PRAGMA` 库身份、聚合的 int8、JSON 提取、本地日、事务串行、自定义 schema)由
31
+ `@morlay/rdbkit` 自己的 `pg.spec.ts` 等用例验证;本包的契约与接管用例只在 SQLite 上跑(两个方言共用同一个后端
32
+ 实现,同一份逻辑不重复测)。
30
33
  本地跑 rdbkit 的 PG 用例时用它的 dev 实例起库(`just pg up`,端口 25433),再设
31
34
  `TEST_PG_URL=postgres://postgres:postgres@localhost:25433/postgres`。
32
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morlay/session-rdb",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "RDB durable session backend for DeepSeek Harness: implements both session-persistence and session-branch (rewind / retry / fork) providers.",
5
5
  "keywords": [
6
6
  "branch",
@@ -64,39 +64,39 @@
64
64
  "./locale/*.json": "./locale/*.json"
65
65
  },
66
66
  "dependencies": {
67
- "@morlay/rdbkit": "0.0.1",
68
- "@morlay/session-branch": "0.1.10",
67
+ "@morlay/rdbkit": "0.0.3",
68
+ "@morlay/session-branch": "0.1.12",
69
69
  "fflate": "^0.8.2"
70
70
  },
71
71
  "devDependencies": {
72
- "@deepseek-ai/cosmokit": "^1.8.7-alpha.2",
73
- "@deepseek-ai/dsh-agent-loop-testkit": "^0.2.2-alpha.3",
74
- "@deepseek-ai/dsh-compaction": "^0.2.2-alpha.3",
75
- "@deepseek-ai/dsh-cua": "^0.2.2-alpha.3",
76
- "@deepseek-ai/dsh-session-turn-outline": "^0.2.2-alpha.3",
77
- "@deepseek-ai/dsh-storage": "^0.2.2-alpha.3",
78
- "@deepseek-ai/dsh-storage-domain": "^0.2.2-alpha.3",
79
- "@deepseek-ai/dsh-token-meter": "^0.2.2-alpha.3"
72
+ "@deepseek-ai/cosmokit": "^1.9.0",
73
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.2.2-rc.1",
74
+ "@deepseek-ai/dsh-compaction": "^0.2.2-rc.1",
75
+ "@deepseek-ai/dsh-cua": "^0.2.2-rc.1",
76
+ "@deepseek-ai/dsh-session-turn-outline": "^0.2.2-rc.1",
77
+ "@deepseek-ai/dsh-storage": "^0.2.2-rc.1",
78
+ "@deepseek-ai/dsh-storage-domain": "^0.2.2-rc.1",
79
+ "@deepseek-ai/dsh-token-meter": "^0.2.2-rc.1"
80
80
  },
81
81
  "peerDependencies": {
82
- "@deepseek-ai/cordis": "^4.0.6-alpha.2",
83
- "@deepseek-ai/cosmokit": "^1.8.7-alpha.2",
84
- "@deepseek-ai/dsh-llm": "^0.2.2-alpha.3",
85
- "@deepseek-ai/dsh-schedule": "^0.2.2-alpha.3",
86
- "@deepseek-ai/dsh-scope": "^0.2.2-alpha.3",
87
- "@deepseek-ai/dsh-session": "^0.2.2-alpha.3",
88
- "@deepseek-ai/dsh-session-format": "^0.2.2-alpha.3",
89
- "@deepseek-ai/dsh-session-format-catalog": "^0.2.2-alpha.3",
90
- "@deepseek-ai/dsh-session-persistence": "^0.2.2-alpha.3",
91
- "@deepseek-ai/dsh-session-projection": "^0.2.2-alpha.3",
92
- "@deepseek-ai/dsh-session-projection-cache": "^0.2.2-alpha.3",
93
- "@deepseek-ai/dsh-session-query": "^0.2.2-alpha.3",
94
- "@deepseek-ai/dsh-storage": "^0.2.2-alpha.3",
95
- "@deepseek-ai/dsh-workspace": "^0.2.2-alpha.3",
96
- "@deepseek-ai/schemastery": "^3.18.6-alpha.2"
82
+ "@deepseek-ai/cordis": "^4.1.0",
83
+ "@deepseek-ai/cosmokit": "^1.9.0",
84
+ "@deepseek-ai/dsh-llm": "^0.2.2-rc.1",
85
+ "@deepseek-ai/dsh-schedule": "^0.2.2-rc.1",
86
+ "@deepseek-ai/dsh-scope": "^0.2.2-rc.1",
87
+ "@deepseek-ai/dsh-session": "^0.2.2-rc.1",
88
+ "@deepseek-ai/dsh-session-format": "^0.2.2-rc.1",
89
+ "@deepseek-ai/dsh-session-format-catalog": "^0.2.2-rc.1",
90
+ "@deepseek-ai/dsh-session-persistence": "^0.2.2-rc.1",
91
+ "@deepseek-ai/dsh-session-projection": "^0.2.2-rc.1",
92
+ "@deepseek-ai/dsh-session-projection-cache": "^0.2.2-rc.1",
93
+ "@deepseek-ai/dsh-session-query": "^0.2.2-rc.1",
94
+ "@deepseek-ai/dsh-storage": "^0.2.2-rc.1",
95
+ "@deepseek-ai/dsh-workspace": "^0.2.2-rc.1",
96
+ "@deepseek-ai/schemastery": "^3.19.0"
97
97
  },
98
98
  "engines": {
99
- "dsh": ">= 0.2.2-alpha.3 < 0.2.3"
99
+ "dsh": ">= 0.2.2-rc.1 < 0.2.3"
100
100
  },
101
101
  "scripts": {
102
102
  "build": "pnpm exec tsdown"