ignotuss/dsh-desktop-bridge

Publishes a running DSH host's sessions over a token-authenticated HTTP API on 127.0.0.1, so any local script, tool or agent in any language can drive them.

DSH deliberately keeps session control inside the host process as the sessionController service, and the usual routes cannot reach a running app: the CLI refuses to touch the desktop profile the Electron app owns, and the SDK and ACP entry points boot their own host instead of addressing yours. This plugin runs inside that host and republishes the controller on a loopback port behind a bearer token, so a script, build tool or another vendor's agent can list sessions, read the tail of an event log, send messages into a session and create new ones, with no second profile and no remote access. It is explicitly security-sensitive: any local process that can read the bridge's JSON file can do all of that, and each new session starts an agent running with your permissions, so the README says to read SECURITY.md and disable the plugin when it is not in use.

Infrastructure & Deployment ★ 1
View on GitHub ↗

Install

dsh plugin --profile web add @ignotuss/dsh-desktop-bridge

The npm line; @ignotuss/dsh-desktop-bridge@0.1.0 resolves its registry repository to this repo. The scoped name exists because the unscoped dsh-desktop-bridge on npm is an unrelated read-only package, as the README explains.

Compatibility

The plugin itself uses the host's own runtime and the bundled command-line client needs Node.js 20 or newer. Verified against DSH 0.2.0-rc.2 in the desktop profile on Windows. The package is a bundle whose cordis.patch.yml mounts the plugin, so installing is the whole setup.

Details

Alternatives

LvienOeria/dsh-desktop-launcher · ilimei/dsh-desktop · functy23/DSH-Desktop

More plugins in Infrastructure & Deployment

Browse more in Infrastructure & Deployment

Guides for Infrastructure & Deployment plugins