dsh-device-fleet 0.1.0-dev.3 → 0.1.0-dev.31
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 +7 -3
- package/assets/avatars/host.png +0 -0
- package/assets/avatars/user.png +0 -0
- package/assets/avatars/worker.png +0 -0
- package/client.js +1682 -0
- package/cordis.patch.yml +3 -3
- package/docs/notes/approval-inbox-phase.md +31 -0
- package/docs/notes/approval-panel-ui.md +38 -0
- package/docs/notes/dev-release.md +134 -5
- package/docs/notes/fleet-console-ui.md +44 -0
- package/docs/notes/pairing-session-2026-11-09.md +30 -0
- package/docs/notes/remote-tests-2026-11-09.md +33 -0
- package/docs/notes/room-logic-phase.md +31 -0
- package/docs/notes/ui-surface-audit.md +93 -0
- package/package.json +11 -1
- package/src/host/approval-inbox.js +163 -0
- package/src/host/approval-web.js +95 -0
- package/src/host/avatar-web.js +179 -0
- package/src/host/config-web.js +84 -0
- package/src/host/delegation.js +127 -0
- package/src/host/direct-call.js +27 -8
- package/src/host/execution-slot.js +27 -5
- package/src/host/index.js +8 -0
- package/src/host/room-service.js +435 -0
- package/src/host/runtime-config.js +192 -0
- package/src/host/store.js +27 -1
- package/src/host/tool-policy.js +13 -10
- package/src/host/tools.js +341 -1
- package/src/host/ui-web.js +139 -0
- package/src/net/fleet-node.js +30 -0
- package/src/plugin/index.js +421 -16
package/README.md
CHANGED
|
@@ -7,11 +7,15 @@ DeepSeek Harness 的设备联邦插件:把登录同一账号、且都安装本
|
|
|
7
7
|
- ✅ **网络层 v1**:设备身份、邀请、端到端加密安全通道、直连(手动地址)、UDP 组播发现
|
|
8
8
|
- ✅ **网络层 v2**:自建 Relay(fleetKey 鉴权的信令 + TCP 拼接数据面,不做 NAT 打洞)
|
|
9
9
|
- ✅ **Host 插件 + 直调 MVP(代码完成、单测通过,待真实 DSH 安装联调)**:`fleet_list` / `fleet_tools` / `fleet_call` + `fleet_read` / `fleet_fetch` / `fleet_run`、Tool Policy、Execution Slot、审批 fail-closed
|
|
10
|
-
-
|
|
10
|
+
- ✅ **审批收件箱逻辑层(dev.7)**:`fleet_approvals` / `fleet_approve` / `fleet_deny`,ask 档排队、超时 fail-closed、once/ttl 授权、`fleet_simulate_request` 本机演练;Client 审批面板待做
|
|
11
|
+
- ✅ **Room 逻辑层(dev.8,单机模拟)**:`room_create` / `room_add_local` / `room_send` / `room_messages` / `room_status` / `room_task_*` / `room_close`;本地真实 agent 参与者、寻址唤醒、Room Board 串行交接;单机仿真验证通过
|
|
12
|
+
- ✅ **审批面板 UI(dev.12,已验证)**:Host `/device-fleet/approvals` HTTP 数据面 + Client 入口在 Settings 上方、居中审批对话框(允许一次/15 分钟/拒绝);用户点击「允许」后 Host 列表清空,端到端闭环
|
|
13
|
+
- ✅ **Fleet 控制台(dev.13,Phase A)**:Host `/device-fleet/overview`、`/rooms`、`/rooms/:id`;Room 持久化到 `$DSH_HOME/device-fleet/rooms.json` 并 rehydrate(插件重载不丢房间);Client `sidebar.panellist` + `main` 面板,设备/房间/审批三 Tab
|
|
14
|
+
- ✅ Phase B 配置页(即时生效,无需重启)、Phase C 房间/配对/审批交互(dev.18)\n- ⏳ Phase D SSE/通知/i18n/a11y
|
|
11
15
|
|
|
12
16
|
## 安装(开发版)
|
|
13
17
|
|
|
14
|
-
已发布到 npm:**`dsh-device-fleet@0.1.0-dev.
|
|
18
|
+
已发布到 npm:**`dsh-device-fleet@0.1.0-dev.3`**(dist-tag `dev`)。
|
|
15
19
|
|
|
16
20
|
```sh
|
|
17
21
|
# CLI / web profile
|
|
@@ -21,7 +25,7 @@ dsh plugin --profile web add dsh-device-fleet@dev
|
|
|
21
25
|
dsh plugin --profile desktop add dsh-device-fleet@dev
|
|
22
26
|
|
|
23
27
|
# 离线安装包(拷到另一台设备)
|
|
24
|
-
dsh plugin --profile desktop add C:/path/to/dsh-device-fleet-0.1.0-dev.
|
|
28
|
+
dsh plugin --profile desktop add C:/path/to/dsh-device-fleet-0.1.0-dev.3.tgz
|
|
25
29
|
```
|
|
26
30
|
|
|
27
31
|
两台设备的 **DSH 版本与插件版本必须一致**(ADR-0024);不一致会在握手时直接拒绝。
|
|
Binary file
|
|
Binary file
|
|
Binary file
|