@takboo/dsh-session-bin 0.2.2 → 0.2.4
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/README.md +15 -12
- package/dist/host/platform-files.d.ts +3 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +2 -2
- package/docs/client-interface.md +1 -1
- package/docs/host-lifecycle.md +1 -1
- package/package.json +5 -3
package/docs/client-interface.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 客户端与 Remote 接口
|
|
2
2
|
|
|
3
|
-
当前 `0.2.
|
|
3
|
+
当前 `0.2.4` 使用精确 DSH `0.2.1-rc.2`;CLI/Web 兼容性见[rc.2 验证](verification/dsh-0.2.1-rc2.md),新增桌面运行时及跨运行时恢复见[桌面验证](verification/desktop-runtime.md)。
|
|
4
4
|
|
|
5
5
|
本文说明客户端交互、严格 Remote 合约和插件生命周期。实际验证结果见[客户端验证](verification/client-interface.md),实现状态见 [README](../README.md)。
|
|
6
6
|
|
package/docs/host-lifecycle.md
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
## 真实冷 JSONL 单项删除 Adapter
|
|
45
45
|
|
|
46
|
-
`NativeRetirementOwner` 自行拥有被明确 adoption
|
|
46
|
+
`NativeRetirementOwner` 自行拥有被明确 adoption 的会话记录删除生命周期。当前默认生产资格包含 DSH `0.2.1-rc.2` 的两类独立验收运行时:独立 Node `24.18.1` / libuv `1.52.1` 对应 Windows x64、macOS ARM64/Intel、Linux ARM64/x64;Electron `44.7.0` / Node `24.21.0` / libuv `1.52.1` 仅对应 macOS ARM64/APFS 桌面组合。两者均限单 Host,以及独立验证通过的 JSONL raw/zstd、已知 Workspace/JSON domain、已启用 SQLite 查询与投影 cache 组合;确认没有相应 optional provider 的最小组合也可使用。未验收的平台/架构(包括 Windows ARM64)不因 Adapter 存在或 Host 配置 true 自动获得生产资格。正在初始化的 provider 会先等待,unknown/disabled/path 或实例漂移不伪称不存在。具体运行时由 `nativeRuntimeCandidate` 与独立的 `nativePlatformVerified` 表检查;普通 Node 24.21、其他 Electron 版本或桌面架构不因候选存在而获得资格。[桌面运行证据](verification/desktop-runtime.md)记录 ASAR、SQLite、raw/zstd 及进程中断的实际结果。SDK 所有参与包版本与源码 SHA-256 固定于 `native-retirement-sdk`;变更组合需独立验收。支持的是会话日志和声明的会话元数据/派生索引,共享附件、外部工具副本和独立 fork 保留,不做全局 GC 或安全擦除。
|
|
47
47
|
|
|
48
48
|
当前运行时准入与持久化协议身份分离:`native-retirement-sdk` 核对实际 `0.2.1-rc.2` 宿主及参与包;schema 1 的资源 fingerprint、`hostVersion: 0.2.0-rc.2`、queryProvider 字符串保留为历史协议标识,维持既有 binding、grant、冻结清单和回执。它们不表示当前宿主版本,也不接受未知 SDK。升级需完整关闭旧宿主后重开;协议兼容依据、跨版本运行证据与边界见 [ADR 0011](decisions/0011-runtime-and-durable-retirement-identity.md) 和[新版兼容性验证](verification/dsh-0.2.1-rc2.md)。
|
|
49
49
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takboo/dsh-session-bin",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Manage native archives with search, filters, unarchive, and explicit permanent deletion.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"packageManager": "pnpm@11.23.0",
|
|
8
8
|
"engines": {
|
|
9
|
-
"node": "24.18.1",
|
|
9
|
+
"node": "24.18.1 || 24.21.0",
|
|
10
10
|
"dsh": "0.2.1-rc.2"
|
|
11
11
|
},
|
|
12
12
|
"main": "./dist/index.js",
|
|
@@ -59,7 +59,9 @@
|
|
|
59
59
|
"verify:gui:locale": "node scripts/verify-gui.mjs",
|
|
60
60
|
"verify:linux": "node scripts/verify-linux.mjs",
|
|
61
61
|
"verify:platform": "node scripts/verify-platform.mjs",
|
|
62
|
-
"verify": "pnpm run verify:market && pnpm run check && pnpm run build && pnpm run test && pnpm run verify:package"
|
|
62
|
+
"verify": "pnpm run verify:market && pnpm run check && pnpm run build && pnpm run test && pnpm run verify:package",
|
|
63
|
+
"verify:desktop": "node scripts/verify-desktop.mjs",
|
|
64
|
+
"verify:desktop:gui": "node scripts/verify-desktop.mjs --gui"
|
|
63
65
|
},
|
|
64
66
|
"peerDependencies": {
|
|
65
67
|
"@deepseek-ai/cordis": "4.0.5",
|