dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
在输入框加一个按钮,一键调用 LLM 把当前草稿改写成更清晰具体的提示词,支持一键恢复原文与取消。
Turn a rough idea into a focused prompt—right where you write. Enhance, cancel, or restore without leaving your conversation.
English · 简体中文
Ask a quick question, then enhance it into a clear request with useful context.
| BEFORE | AFTER |
![]() | ![]() |
| ✨ Enhance | ↺ 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.
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.
You need a working DSH installation and profile.
Build the package:
pnpm install
pnpm build
Add it to your profile's package.json and 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