Introduction¶
When running multiple machines on DeepSeek Harness (DSH), session titles, current tools, and pending approval items are scattered across local web interfaces. Switching machines or doing wall-screen patrols requires repeatedly changing URLs. The community plugin dsh-remote-dashboard (maintainer stephenlstrange2) aggregates session snapshots from multiple DSH instances into a single hub, providing a read-only dashboard accessible via tablet or large-screen browsers. Agents can be pulled by the hub, or they can push snapshots from behind a NAT/VM. The plugin does not modify DSH state; the server primarily uses GET/HEAD, with a single token-restricted POST /v1/push endpoint.
What is this¶
dsh-remote-dashboard is a client type plugin for DSH: a read-only, multi-machine session monitor designed for wall screens/tablets. The current package version is 0.2.0, licensed under MIT, requiring Node >=22, with no extra npm dependencies and no build step. A common practice in the DeepSeek Harness ecosystem is “everything is a plugin.” The plugin directory site skillhub.cn is a community collection and is not officially affiliated with DeepSeek or High-Flyer.
Architecturally, each monitored machine (or the pusher in push mode) provides snapshots to the hub; the hub serves the tablet page and /api/fleet externally. Browsers access it using a viewerKey (initially via URL parameter, then swapped for an HttpOnly cookie):
machine A (DSH) ──┐ agent GET /v1/snapshot (Bearer token)
machine B (DSH) ──┼──────────────► HUB (one DSH) ──► tablet browser http://hub:3090/?key=VIEWER_KEY
machine C (DSH) ──┘ polled every pollMs serves the page + /api/fleet
Operating Modes¶
| mode | Capabilities Provided | Typical Use Case |
|---|---|---|
agent |
/v1/snapshot (requires token) |
Every machine that the hub pulls snapshots from |
hub |
Tablet page + /api/fleet |
The machine acting solely as an aggregator |
both |
All of the above, including local sessions | Hosts the dashboard while also monitoring the local machine |
push |
Does not listen on host/port | NAT, VM, no inbound access: machine actively pushes snapshots to hub |
Peer tokens are stored only on the hub; the tablet side only holds the viewer key. In push mode, the hub identifies the machine name based on its own configuration and token, and does not accept payloads impersonating other machines.
Core Functionality¶
Dashboard Display (Read-Only)¶
For each machine: online status and round-trip latency (errors shown if offline; push peers may show something like push · 5s), and number of running sessions. For each session: running indicator, title, time since last activity, currently executing tool, working directory name, turns, tokens in/out, active background tasks, and goal progress. Pending approvals/questions on any machine are highlighted in an orange banner and the browser tab title. Unreachable machines are greyed out with error messages displayed.
Pull and Push¶
- Pull: The hub polls each agent’s
GET /v1/snapshotaccording topollMs(example: 3000 ms). - Push: The pusher submits snapshots to the hub’s
POST /v1/pusheverypushMs; if no push is received for longer thanmax(10 s, 3 × pushMs), the machine is considered offline. Poll and push peers can be mixed.
Security Behaviors (README Notes)¶
- Non-loopback binding requires
allowRemote: true, and the agent must configure atoken, while the hub must configure aviewerKey. - No TLS; the viewer key will appear in the URL upon first opening. Officially recommended to use within Tailscale or another VPN, or a trusted LAN, do not port-map to the public internet.
tokenFile(recommendedchmod 600) can move secrets out ofcordis.patch.ymlwhich might be committed.- Push requests verify the token before reading the body, with a 1 MB body limit; the storage side has boundaries for session count, field cropping, etc. The viewer key cannot be used for push, and the push token cannot open the page.
Installation and Activation¶
The installation command comes from the project README (replace the path with your local plugin directory):
dsh plugin --profile web add /path/to/DSH-Dashboard
Then, append the plugin block to the top-level YAML list in the corresponding profile’s cordis.patch.yml. Secrets can be generated with:
openssl rand -hex 16
Each machine pulled by the hub (agent) (requires Tailscale/LAN reachability):
- id: dsh-remote-dashboard
config:
mode: agent
machine: lab-pc
host: 100.64.0.10 # Local Tailscale/LAN IP, do not use public IP
allowRemote: true # Required for non-loopback
port: 3090
token: <random 16+ chars>
Hub machine (Example: both, includes local sessions):
- id: dsh-remote-dashboard
config:
mode: both
machine: hub-pc
host: 0.0.0.0 # Or LAN/Tailscale IP
allowRemote: true
port: 3090
viewerKey: <random 8+ chars>
pollMs: 3000
peers:
- { name: lab-pc, url: 'http://100.64.0.10:3090', token: <that agent's token> }
- { name: home-nuc, url: 'http://100.64.0.11:3090', token: <...> }
Machines unreachable by inbound hub access (push):
Pusher:
- id: dsh-remote-dashboard
config:
mode: push
machine: otx-box
hub: http://10.0.2.2:3090 # Example: host is 10.0.2.2 under QEMU/Boxes user-space NAT
tokenFile: /home/me/.dsh-remote-dashboard-token # chmod 600; or use token: <16+ chars>
pushMs: 3000
Add to the hub’s peers:
- { name: otx-box, push: true, tokenFile: /home/me/.otx-box-token, pushMs: 3000 }
After configuration, run once on the hub: http://<hub>:3090/?key=<viewerKey>. The browser will write a cookie and redirect to a keyless URL; you can add this page to the tablet’s home screen.
After updating the plugin code, you must restart dsh web: patchReload: live re-reads the config but does not reload plugin code; old code may reject configs containing new fields (such as push peers).
Migrating from dsh-monitor¶
Before 0.2.0, the plugin was named dsh-monitor (note there is an unrelated project with the same name on npm). According to the README: on each machine run dsh plugin --profile web remove dsh-monitor, then dsh plugin --profile web add dsh-remote-dashboard (or the local clone path), run python3 scripts/apply-config.py YOUR_ENTRY.yml --migrate-from dsh-monitor to replace the id in the config block, then restart dsh web; tokens and keys can remain unchanged.
Use Cases and Limitations¶
Suitable for: Multi-machine DSH development/experimental setups needing a read-only wall screen or tablet overview; combined with push mode when some nodes only have outbound access to the hub.
Limitations and Notes (Key points from the README):
- “Live metrics” such as turns, tokens, current tool, etc., count events seen since the plugin started.
- Sessions that exist only on disk and are not loaded will not appear in the list.
- The page uses ES5 for compatibility with older tablet browsers; Keep-awake is unavailable over pure HTTP, requiring longer screen saver timeouts or the use of a kiosk browser.
- The plugin runs with the permissions of the current dsh web process; please review the GitHub source and MIT license before installing, and do not commit viewerKey or peer tokens to version control.
Links¶
- Community Directory: https://www.skillhub.cn/plugins/stephenlstrange2/dsh-remote-dashboard
- Source Code and Full Documentation: https://github.com/stephenlstrange2/dsh-remote-dashboard