wangzhishou/onebox-dsh-bridge

wangzhishou★ 0JavaScript最后同步: 2026-08-20

在 GitHub 打开

README 摘要

onebox-dsh-bridge English 简体中文 A DeepSeek Harness (dsh) plugin that bridges your local dsh web to the OneBox cloud relay, so the OneBox Android app can reach your computer's AI agent over the public internet — scan-to-pair, token management and tunnel frame multiplexing, all inside the plugin. Your agent is online as soon as dsh web starts. Built for the open-source OneBox (万宝盒) Android app. The plugin page also includes the app download info, so anyone running DSH can pair their phone in a minute. How it works - Mounts a /onebox-bridge page in the dsh web GUI (self-contained HTML, zero external deps) showing the pairing QR code and online status - Pairing: POST /dsh/pair-sessions → a ≥128-bit secret is generated locally and encoded into the QR ( oneboxdsh://pair?v=1&g=…&p=…&s=… ) → polls GET /dsh/pair-sessions/:id/status?s=… every 2s; once the app scans and claims, the plugin receives its device token - Goes online via outbound WSS /dsh/agent?token=… ; tunnel frames: http → local POST /api/ answered by http-resp ; ws-open / ws-frame / ws-close bridge the local /api/events.mux host streams - Control WS drop → all local bridges closed, exponential-backoff reconnect (1s→30s); token 4…

在 GitHub 查看完整 README →
Agent/智能体agentdeepseekdeepseek-harnessdsh-pluginonebox

分类