Developer Toolsdsh-plugin
Stars
24
Forks
2
Open issues
0
Last push
Oct 18, 2026
Latest release
v0.6.0
24h Growth
+4
7d Growth
+4
Installation
dsh plugin --profile web add @y1x1n/dsh-prompt-optimizerOverview
DeepSeek Harness plugin that adds a one-click Optimize button beside the session composer for prompt drafts, streaming a five-dimension diagnosis and a rewritten prompt over SSE, with replace, copy, and undo actions; model routing follows the current session by default.
- Adds an Optimize (sparkle icon) button to the conversation composer; disabled on empty input and animated while optimizing.
- Streams the five-dimension diagnosis and rewritten prompt via SSE into a panel above the input card.
- Actions include replace input, undo that replacement, copy, re-optimize, and close; the panel auto-closes after sending or clearing input.
- Reads the current session's provider/model live on each click; a fixed model can alternatively be selected in settings.
- Dual strategy: structural template rewrite when there is no context, intent extraction plus polishing when session context exists.
- Optional context carry-over of up to 8 recent entries / 1600 characters, with user messages prioritized; can be turned off.
- Lightweight memory chain carries the previous optimized draft as reference when re-optimizing an edited result.
- Slash-command safe: only the body is optimized and the command prefix is re-attached; Esc cancel keeps already generated content.