iOS remote companion for DSH Desktop 0.2.0-rc.2 on macOS Apple Silicon, with pairing, approval notifications, and device revocation.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:chinahhy/DSH-plugins#path:/packages/dsh-tether-ios
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
macOS Apple Silicon companion for the iOS arm64 app at chinahhy/dsh-tether ios-only. Verified with DSH Desktop 0.2.0-rc.2 only, Mac mini M4 and an iOS arm64 iPhone. On 2026-10-05 the maintainer confirmed normal physical-device use and an outdoor cellular connection to the home DSH. The actual direct/relay path and sleep/wake recovery were not separately established. See validation scope.
Architecture
Desktop's existing desktop profile → owned tether-host → iroh → iOS app.
No additional DSH runtime or CLI daemon. ALPN dsh-tether/0, Pair/Hello,
Proxy, Approval/ApprovalCancel and field spellings remain compatible.
Approvals are notifications only; decisions stay in DSH's normal web UI.
The sidebar “连接 iPhone” button generates an expiring pairing string on demand. Only the local authenticated Mac window can manage pairing/revocation. There is no automatic startup code, console credential output or settings-file export. A paired phone has full DSH operator access. Keep the phone and Mac trusted. Pairing: 6 digits, 10 minutes, at most 3 wrong attempts per window. Revocation closes active connections. The phone app's existing localhost-proxy limitation still applies; the plugin does not create an iOS background push service.
Installation
The published main package includes the verified bin/darwin-arm64/tether-host.
No Rust compiler, installation hooks or separate download are needed. Install the
GitHub subpackage through DSH's plugin manager:
github:chinahhy/DSH-plugins#path:/packages/dsh-tether-ios
For manual/offline installation, use the versioned .tgz and SHA256SUMS from
GitHub Releases.
Use the existing Desktop desktop profile. Do not create an extra web profile.
Development branches intentionally omit native binaries; use published main
or a complete CI archive. Existing local link/file installs do not automatically
follow GitHub updates and require an explicitly authorized source migration.
The official Desktop profile/package manager owns dependency and bundle changes. The bundle adds the host plus in-app directory browsing, and disables the exact 0.2.0-rc.2 automatic picker. While enabled, folder selection on the Mac also uses in-app browsing. Removing the bundle restores the base picker unless overridden by another user patch. No persistent user patch is directly written by this plugin.
Files and removal
<DSH_HOME> below means the application's ctx.dshHomePath() result, normally
~/.dsh; no HOME fallback is guessed by this plugin.
| Location | Owner / behavior |
|---|---|
<DSH_HOME>/profiles/desktop/node_modules/dsh-tether-ios/ |
Installed package and bin/darwin-arm64/tether-host; package-manager symlinks/store may affect physical location |
<DSH_HOME>/profiles/desktop/package.json, lockfile, bundle inventory |
Existing DSH package manager updates these when installing/removing |
<DSH_HOME>/data/dsh-tether-ios/identity.key |
Host identity, 0600 |
<DSH_HOME>/data/dsh-tether-ios/paired.json |
Device allowlist, 0600; containing plugin directory 0700 |
<DSH_HOME>/data/dsh-tether-ios/.identity.key.tmp, .paired.json.tmp |
Atomic-write crash remnants, normally absent |
| DSH-owned package cache/store | Package-manager controlled; may retain archive/package after uninstall |
| iOS application's own sandbox | Existing iOS identity and host list; unaffected by Mac uninstall |
Disable/remove the plugin using DSH's plugin manager. The disposer closes routes, stops renewal, ends sidecar stdin, sends SIGTERM and escalates to SIGKILL after 2 seconds if needed. Parent-pipe EOF also stops the sidecar after a parent crash. There is no LaunchAgent or login item. Confirm the sidecar has exited.
Uninstall removes the package/bundle through DSH. Pairing data is deliberately
preserved for reinstall; for a full reset, after stopping the plugin, explicitly
delete only <DSH_HOME>/data/dsh-tether-ios/ and remove the saved computer from
iOS. This destroys that host identity and requires re-pairing. Do not delete the
whole DSH home or shared package cache. No automatic deletion hook runs.
No /usr/local/bin, npm global installation, Homebrew, new ~/.xxx, external
runtime, permanent background service, or real account credentials are needed.
The browser session cookie stays in parent/child memory and is never logged.
Development / artifacts
node scripts/build.mjs; node --test test/*.test.mjs require only Node 24.
Rust build/test and official DSH API integration run on the macOS arm64 Actions
runner. scripts/build-sidecar.mjs uses Cargo.lock and targets aarch64-apple-darwin.
Actions builds and tests the locked macOS arm64 host, verifies the native checksum
and licenses, then promotes only this package to main and creates a versioned
Release. Source installs and tgz installs both include the binary. It has an
ad-hoc linker signature; it is not a notarized distribution. No npm publication
or global installation is involved.
Remaining validation boundaries
- Full uninstall/reset and all reload paths; normal Desktop quit/restart was verified.
- Exhaustive iPhone UI, reconnect/revocation and folder browsing scenarios.
- Identify direct versus relay transport, force relay fallback, and test sleep/wake and app foreground return. Outdoor cellular use was confirmed by the maintainer.
- Approval notification while connected and approval decision in the real web UI.
- Gatekeeper/quarantine behavior with the actual downloaded binary and signed iOS IPA.
- Narrow-screen usability; this candidate does not copy upstream's fragile CSS selectors.
See API evidence and upstream changes.
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-remote-web-ui★ 10696
Remote control of a dsh web workspace from phone or PC: QR-code pairing through a token-gated channel, SSE real-time sync, and separate mobile and full desktop GUI modes.
zhu1090093659/dsh-web#packages/dsh-ssh★ 10696
SSH ops panel for DSH: web terminal, SFTP transfer with progress, local port forwarding, and one-command cluster execution across hosts; agents share the same host config.
liguobao/ds-harness-remote★ 4060
Multi-device remote access for DeepSeek Harness and supported coding workspaces through an end-to-end encrypted channel, with adaptive Relay/WebRTC transport, device authorization, workspace files, read-only previews, terminals, and optional Codex Remote.
saya-ch/dsh-mobile★ 1029
Access DeepSeek Harness from the Android app or a mobile browser with secure LAN and remote connections, persistent device pairing, and a customizable mobile interface.
uumit-ai/dsh-uumit-remote★ 534
Open dsh web from your phone or another computer through a UUMit account, without running your own server or installing another program: a built-in tunnel client connects to UUMit's hosted tunnel, and a panel in the sidebar handles pairing and who can use it (only you, people you invite by link or phone number, or everyone), with revocation. Requires dsh web on DSH >=0.2.1-rc.2.
WNLUO/dsh-mobile-plugin★ 503
The DeepSeek Harness app lets you use the DeepSeek Harness on this computer or server from your phone. Phones and tablets both work, on Android and iOS. On your phone you can keep chatting, look at files and manage plugins, and the machine you are using can also connect to DeepSeek Harness on your other machines and open each one separately.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.