dsh-code-quote

Composer code-quote collapse for the DSH Web UI: pasting a `path:line` header followed by code folds the input into one compact inline quote chip, and at send time the `agent/pre-step` hook injects the full pasted snapshot to the model as a separate context message. 0.5.x also folds sidebar file-selections that insert only a `path:lines` line (large selections), fetching the code from disk by session cwd, and preempts Ctrl+V paste interception.

Overview

Composer code-quote collapse for the DSH Web UI: pasting a `path:line` header followed by code folds the input into one compact inline quote chip, and at send time the `agent/pre-step` hook injects the full pasted snapshot to the model as a separate context message. 0.5.x also folds sidebar file-selections that insert only a `path:lines` line (large selections), fetching the code from disk by session cwd, and preempts Ctrl+V paste interception.

Installation

Install from npm

dsh plugin --profile web add dsh-code-quote

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:hanrr92/dsh-code-quote

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

Independent install test

Install result
Installed and registered
Test date