dsh--prompt--enhance
Prompt enhancer for the DSH web UI with basic/standard/expert modes: standard/expert modes rewrite drafts with project context and recent session history, retry gracefully when gateways reject reasoning-effort settings, and show a before/after review with undo.
DSH Web 界面提示词增强插件:基础/标准/专家三档模式,标准/专家模式结合项目上下文与最近会话历史重写草稿;网关拒绝推理档位参数时自动去参重试;增强结果支持对比确认与撤回。
How to install
dsh plugin add @lidaxi/prompt-enhance About
prompt-enhance(提示词增强 · DSH 通用插件) 💡 觉得好用?去 dsh-plugin.org 查看插件详情并点个 ⭐,支持一下作者~ DSH Web profile 的静态插件:随 harness 启动自动加载,**无需每次手动重新加载**。任何机器、任何经 DSH 注册的模型/网关均可直接使用;模型能力差异由插件在运行时自动适配,无需修改代码。 文档 贡献指南 — 报告问题 / 提交代码 / 开发与测试 更新日志 安全说明 许可证 — Apache-2.0 结构 | 文件 | 内容 | | --- | --- | | lib/index.js | Host 半(ESM 静态 Cordis 插件):注册 POST /api/prompt-enhance/enhance,按模式读取会话 cwd 与最近对话历史 → 采集项目上下文(目录结构 + 依赖/配置/入口文件,关键词命中优先;根 AGENTS.md 自动作为事实块)→ 调会话默认 LLM 重写提示词(失败自动降级重试 + 回退候选模型链,最多 3 个候选)。 | | lib/client.js | 浏览器半(window.__ModuleLoader__.load 手写 bundle):在 conversation.input.right 注册模式选择 + ✦ 按钮、conversation.input.o…
Recommendation signals
Meta
- License
- Apache-2.0
- Language
- JavaScript
- GitHub stars
- 3
- mo. downloads
- –
- Last push
- 2026-08-30
- Created
- 2026-08-24
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- ai-tools, deepseek-harness, dsh-plugin, llm, prompt-engineering, prompt-enhancement
Related plugins
dsh-context
bowenliang123/dsh-context
DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.
TokenLedger
zh667/TokenLedger
Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.
dsh-damage-pulse
wssfk12138/dsh-damage-pulse
Tracks DeepSeek token usage, per-call and session costs, and account balance with cache-aware charge animations in the DSH Web UI.
dsh-usage-chart
Max-Samson/dsh-usage-chart
Token, cost, and balance dashboard under the composer: live indicator plus zero-dependency SVG charts for per-turn usage, estimated cost, and DeepSeek account balance.