dsh-session-api

Loopback-only HTTP surface on the DSH web server for reading session run state and driving the composer from outside the page: send or steer a message, switch model and permission preset, cancel, edit the queue, and decide pending approvals and questions. Bearer token, Host/Origin fence, JSON or Markdown output. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Overview

Loopback-only HTTP surface on the DSH web server for reading session run state and driving the composer from outside the page: send or steer a message, switch model and permission preset, cancel, edit the queue, and decide pending approvals and questions. Bearer token, Host/Origin fence, JSON or Markdown output. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Installation

Install from GitHub

dsh plugin --profile web add github:yukre/dsh-session-api

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.

Installation notes

  • May run terminal commands
  • May require credentials