Files

39 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DSHWatch 项目状态汇总(v0.1)
> 截至当前,整体为"UI 空壳 + 通信骨架 + 一键部署"均已就绪;真机联调和插件清单确认尚需运行环境。
## 已实现
| 模块 | 状态 |
| --- | --- |
| DSHWatch_Server(Node 中继) | 可跑,relay 全链路已验证(client->server->plugin->mock api->回传) |
| dsh-watch(Harness 插件) | direct / relay 双模式,均验证;已挂入 web/desktop profile(node_modules 链接已建) |
| DSHWatch(手表 Vela UI) | 三页 swiper + 圆点/长条 + 吉祥物 + 会话/设置/详情/输入 空壳;@system.interconnect 真封装 |
| DSHWatchPhone(Android) | Main/Settings/SessionList/EventLog 空壳;OkHttp WebSocket ServerClient + Xiaomi Wearable SDK WatchBridge(MessageApi) |
## 仓库
- DSHWatch
- DSHWatchPhone
- DSHWatch_Server
- dsh-watch
## 关键资产
- 官方 demo:Xiaomi 穿戴 SDK AAR(xms-wearable-lib_1.4_release.aar)已放进 DSHWatchPhone/app/libs。
- 签名:开发用 demo keystore(本地,gitignored);包名统一 com.dshwatch.app。
- 文档:DESIGN.md / PROTOCOL.md / WATCH_UI.md / BUILD_DEPLOY.md。
## 待办
1. 重启 DSH,确认 dsh-watch 出现在插件清单。
2. 真机:手机装 APK + 手表装 rpk(同签名)→ 跑服务器 → 配 userId/token → 发指令看回显。
3. 功能填充:会话列表真实数据、事件流渲染、手表端状态/命令完整闭环。
4. 麦克风:system.record 对 Band 10/10 Pro 大概率不支持,语音输入暂不启用。
## 一键命令
bash DSHWatch_Server/scripts/start.sh
node DSHWatch_Server/scripts/setup-plugin.mjs web
node DSHWatch_Server/scripts/setup-plugin.mjs desktop