dsh-explainer

Zero-friction quick ask for DSH: select text in chat, Markdown/code, rendered HTML reports, or the better-sidebar editor. The default answer starts automatically (English prose is translated, a term is explained, a question is answered); typing cancels it. Answers stream from a one-shot completion on the main window's model, inherit a read-only conversation snapshot, read the selected file as context (up to 20,000 characters by default), and never write to the main session. One-line install; host routes, client slots, document renderers and the iframe selection bridge are separable extension points.

Overview

Zero-friction quick ask for DSH: select text in chat, Markdown/code, rendered HTML reports, or the better-sidebar editor. The default answer starts automatically (English prose is translated, a term is explained, a question is answered); typing cancels it. Answers stream from a one-shot completion on the main window's model, inherit a read-only conversation snapshot, read the selected file as context (up to 20,000 characters by default), and never write to the main session. One-line install; host routes, client slots, document renderers and the iframe selection bridge are separable extension points.

Installation

Install from npm

dsh plugin --profile web add dsh-explainer

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:wzciczw/dsh-explainer

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