Back to home

dd2673

dsh-remote-control

Remote control suite for DeepSeek Harness: Android companion APP, self-hosted relay server, and low-power Windows lifecycle agent.

Stars
0
Language
JavaScript
Created
Aug 16, 2026
Updated
Aug 16, 2026

Introduction

dsh-remote-control — 远程控制套件

DeepSeek Harness 远程控制套件,包含三个相互协作的组件,统一在 127.0.0.1:3090 relay 上通信,不对外暴露 3080:

目录组件说明
android/Android APP轻量 Android WebView 壳,Keystore 加密 token,支持会话/审批/提问/goal
relay-server/Relay 服务端Node.js 20 服务,连接单个本地 DSH Host、一台 Android 设备与 Windows 生命周期 Agent
windows-agent/Windows 生命周期 Agent低功耗常驻进程,DeepSeek 未运行时保持 relay 的 55 秒 long-poll

安全边界

  • TLS 终止于 Nginx;relay 只监听 127.0.0.1:3090
  • Host 与生命周期 Agent 使用独立的 256-bit bearer 凭据。
  • Android 凭据由本地官方 DSH 插件生成与撤销,仅持久化 SHA-256 摘要;明文 token 只展示一次, 手机端用 Android Keystore AES-GCM 加密保存。
  • 设备 RPC 只走版本化 allowlist;Git/SSH 直接 API 只读,变更经 DSH 会话提交并受官方审批流约束。
  • 远程中继不持久化完整对话、终端正文、SSH/Git 凭据或文件内容;日志只保留脱敏的元数据。
  • Windows 生命周期 Agent 固定管理 3080;stop/restart 只作用于自己启动且 PID/启动时间匹配的进程; 已消费的 messageId 持久化,断线后不自动重放。

构建

各组件构建方式见各自目录 README。

License

Apache-2.0