dsh-draft-studio

You type half a thought — "make me a scraper for Douban" — and the AI has to guess the rest. Click one button beside the input box and that line becomes a full instruction it can actually follow: what to build, what to output, what the limits are, how you'll know it's done. It never picks for you: where you haven't decided something (which library, which format), it lists the options instead of choosing one. The result is still a draft — never sent, and one click or Ctrl+Z puts your original back. Four presets (general / code / writing / translation), each one editable text you can rewrite to taste, and you choose which buttons appear. Optional: read the last few turns of the conversation so "that thing I mentioned" resolves correctly; use the current session's model or pin a specific one. Pure JS, no build, no bundled dependencies.

Overview

You type half a thought — "make me a scraper for Douban" — and the AI has to guess the rest. Click one button beside the input box and that line becomes a full instruction it can actually follow: what to build, what to output, what the limits are, how you'll know it's done. It never picks for you: where you haven't decided something (which library, which format), it lists the options instead of choosing one. The result is still a draft — never sent, and one click or Ctrl+Z puts your original back. Four presets (general / code / writing / translation), each one editable text you can rewrite to taste, and you choose which buttons appear. Optional: read the last few turns of the conversation so "that thing I mentioned" resolves correctly; use the current session's model or pin a specific one. Pure JS, no build, no bundled dependencies.

Installation

Install from npm

dsh plugin --profile web add dsh-draft-studio

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:wufeng0105/dsh-draft-studio

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.