docs: rename plugin to dsh-watch

This commit is contained in:
2026-09-01 14:26:43 +08:00
parent 132b274768
commit 180d74c005
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -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 插件挂载。
---
@@ -279,4 +279,4 @@
1. 手表端"分骨架"具体指什么?是状态卡片/功能骨架,还是"分包/子代理"列表?→ 需要用户明确(默认理解为状态 + 最近事件 + 快捷操作)。
2. 包名用 com.dshwatch.app 可以吗?(决定后统一改)。
3. 余额显示方案(等用户稍后给)。
4. 是否要手环本地缓存(离线也能看最近状态)?
4. 是否要手环本地缓存(离线也能看最近状态)?