One-click draft polishing plug-in
tianji-qingtian/dsh-composer-polish · skills
One-click draft polisher for the DeepSeek Harness () composer.
★ 6GitHub stars
0Forks
2026-08-15Last updated
JavaScriptLanguage
MITLicense
Key features
- button in the tool row — sits in conversation.input.right, the official seat for clickable controls beside the send button.
- Disabled while the draft is empty or pure whitespace, shows a spinner while polishing, and never lets double-clicks fire a second request.
- Zero-prefix flash rewrite — the host half rewrites the draft with a single deepseek-v4-flash stream (reasoningEffort: 'off', 2000 token cap).
- The main model never runs and its prefix cache is never touched.
- If the pinned model id is missing from the provider catalog, it retries once with a flash-class model discovered via llm.listModels.
Requirements
- The dsh CLI must be on your PATH.
- If you only ever ran the harness through npx, dsh is not installed and you will get zsh: command not found: dsh — install it globally first
Install command
dsh plugin --profile web add github:tianji-qingtian/dsh-composer-polish