@zhushanwen/zcode-session-source 0.2.3 → 0.2.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.
package/dist/index.d.ts CHANGED
@@ -292,7 +292,7 @@ declare function readZcodeSession(dbPath: string, sessionId: string): Promise<No
292
292
  * 该不变量。pi 侧对 header.id 无格式校验(恢复路径不校验——assertValidSessionId
293
293
  * 仅在显式指定 id 时调用),本函数的字符集是 taiji 自定约束(pi
294
294
  * assertValidSessionId 允许集的真子集,收紧方向安全;锚点
295
- * dist/core/session-manager.js:15-19 正则字面量 :16,verifiedWith 0.84.4)。
295
+ * dist/core/session-manager.js assertValidSessionId 正则字面量(语义登记 PS-52,verifiedWith 以该登记为准))。
296
296
  *
297
297
  * 相对 runtime 旧版的改造(设计 §1.5 source 包契约第 4 条「错误面归消费侧」):不再
298
298
  * 抛 runtime services 层的 ImportServiceError(本包不私建 import_* / zcode_* 错误码),
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/recovery.ts
2
- import { copyFileSync, existsSync, mkdtempSync, readdirSync, rmSync, statSync, writeFileSync } from "fs";
2
+ import { copyFileSync, existsSync, mkdtempSync, rmSync, statSync, writeFileSync } from "fs";
3
3
  import { basename, join } from "path";
4
4
  import { tmpdir } from "os";
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhushanwen/zcode-session-source",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "type": "module",
5
5
  "description": "Read-only zcode session database source: bun/node dual sqlite driver with a four-level CANTOPEN recovery ladder, transcript row queries, and schema version gate",
6
6
  "main": "dist/index.mjs",
@@ -18,8 +18,8 @@
18
18
  ],
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@zhushanwen/session-core": "0.11.0",
22
- "@zhushanwen/subagent-engine-sdk": "0.8.0"
21
+ "@zhushanwen/session-core": "0.12.0",
22
+ "@zhushanwen/subagent-engine-sdk": "0.9.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitest/coverage-v8": "^4.1.9",