dsh-prompt-polisher

Composer prompt polisher: a button in the input tool row rewrites the current draft through the session model (workflow engine, enabled automatically) or an OpenAI-compatible standalone API with host-side key storage, backfills the rewritten text with a replace/give-up dialog when the draft changed mid-run, and ships concise/structured style presets, custom templates with a {draft} placeholder, one-click restore from the status dock and reference-chip protection.

Overview

Composer prompt polisher: a button in the input tool row rewrites the current draft through the session model (workflow engine, enabled automatically) or an OpenAI-compatible standalone API with host-side key storage, backfills the rewritten text with a replace/give-up dialog when the draft changed mid-run, and ships concise/structured style presets, custom templates with a {draft} placeholder, one-click restore from the status dock and reference-chip protection.

Installation

Install from npm

dsh plugin --profile web add dsh-prompt-polisher

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:yuluo554/dsh-prompt-polisher

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.