BB-84C / deepseek-harness-mobile-solution

목록에 있음

dsh plugins: control a local DeepSeek Harness from your phone — tailscale point-to-point or your own VPS relay. One entry point: dsh --profile mobile

master기타 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:BB-84C/deepseek-harness-mobile-solution

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 18cbc30동기화 2026. 8. 18.
dsh mobile

dsh Mobile

Control your local DeepSeek Harness from any remote device

License: MIT Node ≥22 dsh plugin


This project adds a remote control plane and two transports:

  • Tailscale — point-to-point over your tailnet.
  • VPS relay — If you happen to have your own VPS, use your VPS as relay. One relay, many machines, one menu.

Both serve the same thing: the official dsh web UI through an authenticating gateway.

Install

This is a dsh plugin — installed with the stock plugin manager, controlled through one entry point:

# one command (recommended)
dsh --profile mobile install
# or add the two plugins directly
dsh plugin --profile mobile add @bb-84c/dsh-mobile-cli
dsh plugin --profile web    add @bb-84c/dsh-mobile-server

Everything lives behind dsh --profile mobileservice, tailscale, relay, device, config, status, doctor, logs, update, uninstall.

PackageProfileRole
@bb-84c/dsh-mobile-climobilecommand family
@bb-84c/dsh-mobile-serverwebgateway + transports + session hydration

📖 docs/plugin-install.md

Features

  • One entry point: dsh --profile mobile <command>
  • Official UI, unchanged — official updates reach your phone automatically
  • Device auth: one-time pairing codes, token hashes only, instant revocation
  • Live streaming over SSE/WS, tunneled end-to-end
  • Instance menu at your relay domain
  • One resident instance enforced; pidfile-guarded stop/restart
  • Three-OS scripts, auto-start templates
  • 144+ offline tests

How it works

phone / browser
   │
   ├─ tailscale ──────────────────────────────┐
   │                                          ▼
   └─ https://<relay>/instance/<id>/ ─▶ relay ─▶ tunnel ─▶ gateway (device auth, :3081) ─▶ dsh web (:3080)
  • dsh web stays loopback-only, as shipped.
  • The gateway plugin lives inside the same dsh process and proxies the official UI.
  • The relay is a standalone zero-dependency Node service. It stores credential hashes and a machine directory — never session data.

Modes

Tailscale

dsh --profile mobile tailscale connect
dsh --profile mobile tailscale start
dsh --profile mobile device pair --name iPhone
dsh --profile mobile url

📖 docs/deployment/tailscale.md

VPS relay

dsh --profile mobile relay connect https://relay.example.com --token <instance-token>
dsh --profile mobile relay start
dsh --profile mobile device pair --name iPhone

Open https://relay.example.com, pick a machine, pair, done.

📖 docs/deployment/relay.md

For dsh agents

Setting this up for a user? Read in order, then execute:

  1. docs/plugin-install.md — install the plugins.
  2. docs/deployment/tailscale.md or docs/deployment/relay.md — set up a transport. Relay mode also needs the relay on a VPS (scripts/relay-deploy).
  3. docs/commands.md — command reference.
  4. Pair: dsh --profile mobile device pair --name <name>. Verify with docs/acceptance.md.

Rules:

  • Never patch the shipped @deepseek-ai/* packages.
  • Exactly one resident dsh web instance per $DSH_HOME.
  • Stop/restart only through the CLI.
  • Keep tokens out of logs and chat.
  • After an official dsh upgrade, run docs/research/upstream-touchpoints.md.

Repository

├── packages/
│   ├── dsh-mobile-cli/        # dsh plugin: command family
│   ├── dsh-mobile-server/     # dsh plugin: gateway + tunnel + hydration
│   ├── dsh-mobile-common/     # shared library
│   └── dsh-relay/             # standalone relay service
├── scripts/                   # installers, deploy, probe, repair, autostart
├── docs/                      # guides, deployment, research, specs
└── assets/                    # artwork

Security

  • Web server stays loopback-only; the gateway is the only network surface.
  • Tailscale mode rides WireGuard; relay mode is HTTPS behind Caddy.
  • Pairing codes are single-use, 5-minute expiry. Tokens are stored hashed, verified in constant time, revoked instantly.
  • Relay stores credential hashes and a public directory only.

Documentation

DocAudience
docs/plugin-install.mdusers
docs/commands.mdusers
docs/deployment/service.mdusers
docs/deployment/tailscale.mdusers
docs/deployment/relay.mdusers
docs/acceptance.mdusers & agents
docs/plan.mdproject
docs/research/project & agents
docs/specs/app implementors

Requirements

  • A machine running DeepSeek Harness that stays online.
  • Node.js ≥ 22.
  • Tailscale or a small VPS.

License

MIT — see LICENSE.

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨
기여 가이드감지됨
문서감지됨

저장소 정보

언어
JavaScript
라이선스
MIT
마지막 업데이트
2026. 8. 17. 오후 6:46

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.