docs: rename plugin to dsh-watch
This commit is contained in:
+5
-5
@@ -7,7 +7,7 @@
|
||||
|
||||
## 1. 一句话目标
|
||||
|
||||
把 DeepSeek Harness 变成"可被远程控制的服务":DSH 里装一个插件(dsh-watch-bridge),插件主动连到一个 Node 中继服务器(DSHWatch_Server),手机 APP(DSHWatchPhone)连同一个服务器;手表(DSHWatch)没有网络只能走蓝牙,由手机 APP 作为网关转发。这样手表和手机都能看状态、选会话、发指令、输入文字、中断任务。
|
||||
把 DeepSeek Harness 变成"可被远程控制的服务":DSH 里装一个插件(dsh-watch),插件主动连到一个 Node 中继服务器(DSHWatch_Server),手机 APP(DSHWatchPhone)连同一个服务器;手表(DSHWatch)没有网络只能走蓝牙,由手机 APP 作为网关转发。这样手表和手机都能看状态、选会话、发指令、输入文字、中断任务。
|
||||
|
||||
---
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
┌─────────────────────────────┐
|
||||
│ DeepSeek Harness(本机) │
|
||||
│ + dsh-watch-bridge (插件) │
|
||||
│ + dsh-watch (插件) │
|
||||
└──────────────┬──────────────┘
|
||||
│ ws/wss 主动外连
|
||||
▼
|
||||
@@ -52,7 +52,7 @@
|
||||
- 健康检查:GET /health。
|
||||
- 部署:腾讯云/公网,建议 nginx/caddy 挂 TLS(wss://)。
|
||||
|
||||
### 3.2 dsh-watch-bridge(DSH 插件)
|
||||
### 3.2 dsh-watch(DSH 插件)
|
||||
|
||||
- 运行在 Harness 内,apply(ctx, config)。
|
||||
- 配置:userId / token / serverUrl / reconnectMs / timeoutMs。
|
||||
@@ -213,7 +213,7 @@
|
||||
### P0:链路打通(最小闭环)
|
||||
|
||||
- [ ] DSHWatch_Server 可启动,/health 正常。
|
||||
- [ ] dsh-watch-bridge 装入 DSH,配置 userId/token/serverUrl 后连上服务器。
|
||||
- [ ] dsh-watch 装入 DSH,配置 userId/token/serverUrl 后连上服务器。
|
||||
- [ ] Android APP 能连服务器、发一条 session.list / harness.status,收到响应 & 状态推送。
|
||||
- 验收:手机看到 Harness 在线状态和当前会话,能发送一条命令并看到返回。
|
||||
|
||||
@@ -269,7 +269,7 @@
|
||||
## 11. 已搭骨架(代码暂停,待颗粒度对齐后继续完善)
|
||||
|
||||
- DSHWatch_Server/server.js:中继 Broker(可跑,已语法检查)。
|
||||
- DSHWatch_Server/plugin/:dsh-watch-bridge 插件骨架。
|
||||
- DSHWatch_Server/plugin/:dsh-watch 插件骨架。
|
||||
- 后续:Android 工程(DSHWatchPhone 改为原生 Android)、Vela 手表 UI、桌面 profile 插件挂载。
|
||||
|
||||
---
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
|
||||
1. 手表(DSHWatch) <-> 手机(DSHWatchPhone):BLE / @system.interconnect / Wearable MessageApi。
|
||||
2. 手机 <-> 服务器(DSHWatch_Server):WebSocket。
|
||||
3. 服务器 <-> DSH 插件(dsh-watch-bridge):WebSocket。
|
||||
3. 服务器 <-> DSH 插件(dsh-watch):WebSocket。
|
||||
|
||||
手机在 1 和 2 之间做双向网关翻译。手表看到的永远是"整理过的短文本",不直接透传原始大 JSON。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user