Adds a button to the composer that rewrites the current draft into a clearer, more specific prompt through a one-shot LLM call, with one-click revert and cancel.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:GeniusHu-tgty/dsh-prompt-better
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
DSH Prompt Better
✨ One click. A clearer prompt.
Turn a rough idea into a focused prompt—right where you write. Enhance, cancel, or restore without leaving your conversation.
English · 简体中文
From rough idea to ready-to-send
Ask a quick question, then enhance it into a clear request with useful context.
A simple three-state button
| ✨ Enhance | Enhancing · click to cancel | ↺ Restore |
|---|---|---|
| Rewrite your draft in place. | The animated spinner shows the request is running. | Bring back the original draft at any time after enhancement. |
The rewrite keeps your draft's language. Your text stays safe, too: if a request fails or you keep typing while it runs, the plugin won't replace it. File-reference chips are preserved.
Uses your current DSH model
Enhancement follows the model selected for the conversation when you click ✨, using your existing DSH provider and API setup. No separate API key or model setup is needed. If the conversation has no model selection, the DSH host's default model is used.
Get started
You need a working DSH installation and profile.
Build the package:
pnpm install pnpm buildAdd it to your profile's
package.jsonand bundle list:{ "dependencies": { "dsh-prompt-better": "link:<absolute path to this package>" }, "dsh": { "profile": { "bundles": ["...", "dsh-prompt-better"] } } }Restart DSH, type a draft, and click ✨ beside the chat input.
Add this to your profile's cordis.patch.yml. Usually, no extra configuration is needed.
- id: enhance-prompt
name: dsh-prompt-better
config:
timeoutMs: 120000
# Optional: use a fixed model instead of the conversation's selection.
# provider: deepseek-account
# model: deepseek-flash
pnpm install
pnpm build
pnpm typecheck
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10703
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10703
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8557
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7523
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5405
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1091
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.