dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
MobileVC-style mobile / PWA surface for DeepSeek Harness.
中文 | English
MobileVC 给 DSH 加一个手机端界面:连上你正在跑的 DSH,直接看会话、发消息、打断、审批、传图片/文件、管理插件。
它不是第二个 Agent,也不是另一套 relay/session。所有读写都走 DSH 的 sessionController,一套会话,一套运行时。
0.1.00.2.0-rc.2、Node 22+docs/images/docs/media/mobilevc-demo.mp4docs/media/mobilevc-promo.mp4sessionController.follow() + assistantStream,逐 token 的思考/正文read_image 从 DSH attachment store 读原图,缩略图 + 全屏fileUploads receipt 发送pluginManager 列表与开关对话 · 执行迹 · 插件 · ·
更多:docs/images/sessions.png、docs/images/files.png、docs/images/image-preview.png。
需要一台已经能跑 DSH Web 的机器。
dsh plugin --profile web add "github:JayCRL/MobileVC"
systemctl restart dsh-web或者本地 clone:
git clone https://github.com/JayCRL/MobileVC.git mobilevc
dsh plugin --profile web add ./mobilevc
systemctl restart dsh-web打开:
http://127.0.0.1:8898/mobilevc/健康检查:
curl http://127.0.0.1:8898/mobilevc/api/health
# {"ok":true,"plugin":"mobilevc","interactive":true}如果你想把“反代 + 登录 + Cloudflare Tunnel”一起交给用户,edge/ 目录提供 Caddy + 可选 cloudflared 的 compose:
cd edge
cp .env.example .env
./hash-password.sh
docker compose --profile tunnel up -d详见 edge/README.md。它只封装入口,不包含 DSH 或 Agent runtime。
完整部署、nginx、PWA、升级/卸载、排错:INSTALL.md。
/mobilevc/ 没有独立登录页,必须放在认证 HTTPS 反向代理后面。read_image 缩略图:全屏AGENTS.mdflowchart LR
B[Phone / PWA] -->|HTTPS + SSE| P[MobileVC host plugin]
P --> S[ctx.sessionController]
P --> F[ctx.fileUploads]
P --> A[approval/request answerer]
P --> M[ctx.pluginManager]
S --> L[(DSH session log)]
F --> O[(DSH attachment store)]/mobilevc/api/follow → sessionController.follow({ assistantStream: true })/mobilevc/api/prompt → sessionController.prompt();图片直接作为 image part,文件先 fileUploads.uploadStream() 换 receipt/mobilevc/api/approval → 手机 presence answerer;没有活跃 follow/presence 时 next() 交回桌面/mobilevc/api/queue → resolveAgent().inbox 列出插话,updateQueue() 修改/删除/steer/mobilevc/api/plugins → pluginManager浏览器不能直接连进 NAT 后的 DSH。两种做法:
mobilevc-connect 插件,DSH 主动外连;Relay 只做透明隧道,不存 session当前仓库只提供 Host plugin 和 UI,不内置 Relay。
/mobilevc/ 由 Host plugin 注册,不走 DSH /api 的 browser-trust fence。它可以:
AGENTS.md所有登录用户共享同一个 DSH 身份,没有多租户隔离。公网必须使用认证 + HTTPS,不要把 8898 裸露。
不做:重写 Agent loop、在插件里再塞 relay/E2EE、单 DSH 进程内做多租户隔离。
旧版是 Flutter 客户端 + Go relay + E2EE。它保留在 legacy/,也保留在 git 历史里,但不再是默认客户端。
转向 DSH 的原因很简单:DSH 已经提供 Agent runtime、durable session log、follow 流、审批和插件系统。继续维护 Flutter + relay,等于在 DSH 之外再维护一套 session/queue/runtime,这会重新引入同步和队列问题。
现在只保留一层:
DSH owns the runtime. MobileVC owns the surface.
旧版仅作历史参考;新部署请使用上面的 DSH 安装方式。
MIT — see LICENSE.