jayantTang/DSH_Mobile--plugins-mobile-link ↗★ 16
dsh-plugin-mobile-link
Put your PC's DeepSeek Harness in your pocket: dials a relay over WSS so the native iOS client reaches this machine even without a public IP.
Install
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-plugin-mobile-linkREADME
Read the full README ↗Configuration
All optional; the defaults are what a stock deployment needs. Set them in the
plugin's config block (cordis.patch.yml), not by editing this file.
| Key | Default | Meaning |
|---|---|---|
enabled | true | false stops the outbound link without uninstalling |
relayUrl | from agent.json | Relay base URL; a bare deployment dials /link/agent. Pinning a real value here outranks the enrolled identity and makes the panel field read-only |
defaultRelayUrl | empty | Form-only default: prefills the panel's relay input, but never outranks the enrolled identity. Official installs set this so users can still edit it |
agentId / agentSecret | from agent.json | Override the enrolled identity |
stateFile | ~/.dsh/mobile-link/agent.json | Where the identity lives |
journalFile | ~/.dsh/mobile-link/link-events.jsonl | Lifecycle journal (rotated once at 256 KiB); false keeps it in memory only |
slowRequestMs | 2000 | A slower single request gets its own request.slow entry; 0 disables those (per-attach device.summary is still written) |
diagnostics | true | false refuses the phone's phase uploads; the phone ignores the refusal and stays connected |
dshUrl | discovery | Explicit local DSH base URL (usually unnecessary — the host hands the connector its own address) |
heartbeatMs | 20000 | DLP ping interval |
The connector does not read an endpoint handoff file any more: discovery happens inside
the host process (ctx.inject(['webServer','connection'])), which is what makes one npm
package work on both the desktop app and the command-line host. It writes one instead —
$DSH_HOME/mobile-link/endpoint.json, mode 0600 — for tools that run outside the host
(our dev/test scripts and the iOS integration helpers).
Address resolution order: this config block, then DSH_RELAY_URL (or
DSH_MOBILE_LINK_RELAY), then the enrolled identity file, then the repository
placeholder wss://relay.example.com/dsh-link — the placeholder being the
"nothing configured yet" sentinel rather than a real address.