dsh-task-dispatch

Dispatch a task to a real DSH session by workspace path or session id; results land in a persistent task ledger that can be queried without triggering the model. It serves HTTP on 127.0.0.1:7391 and requires a bearer token it generates on first run (kept in ~/.dsh/relay/token), rejects non-loopback Host and foreign Origin, and stores task results as JSON files under ~/.dsh/relay/tasks; an optional notifyUrl receives each finished result.

Overview

Dispatch a task to a real DSH session by workspace path or session id; results land in a persistent task ledger that can be queried without triggering the model. It serves HTTP on 127.0.0.1:7391 and requires a bearer token it generates on first run (kept in ~/.dsh/relay/token), rejects non-loopback Host and foreign Origin, and stores task results as JSON files under ~/.dsh/relay/tasks; an optional notifyUrl receives each finished result.

Installation

Install from GitHub

dsh plugin --profile web add github:vinson1101/dsh-task-dispatch

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.