← Back to list

dsh-prompt-optimizer

DeepSeek Harness UI Enhancements Low risk

Adds an optimize button beside the composer that analyzes and rewrites the prompt draft with SSE streaming, conversation-context awareness (template vs intent-polish strategies), an edit-continuity memory chain, undo, and model routing with fallback and a connectivity test.

在输入框旁加「优化」按钮:流式分析并改写提示词草稿,支持会话上下文感知(模板/润色双策略)、跨编辑记忆链与撤回,模型路由带 fallback 与连通性测试。

How to install

DeepSeek Harness dsh plugin add dsh-prompt-optimizer

About

dsh-prompt-optimizer **中文** | English DeepSeek Harness 插件:在会话输入框(发送栏)旁提供一个「优化」按钮(✨ 图标),一键分析并优化当前输入的提示词草稿,**结果经 SSE 流式逐段上屏**。优化调用默认复用当前会话的模型路由(每次点击实时读取,会话里切换模型立即生效)。 **Host 半侧**:注册 POST /dsh-prompt-optimizer/optimize(SSE 流式)与 POST /dsh-prompt-optimizer/test-model(连通性探活)两条路由,调用 ctx.llm 完成「分析 + 改写」。 **Client 半侧**:向 conversation.input.right 槽位注入按钮,向 conversation.input.dock 注入结果面板(输入卡上方整行、与 TodoDock 同族,新会话界面也渲染,且不遮挡输入框),向 settings.plugin.item 注入可折叠的设置卡片(设置页自动获得配置界面,无需单独开发页面)。界面文案跟随 DSH 界面语言(中文 / English)。 功能 发送栏工具行右侧新增「优化」按钮(输入为空时禁用,优化中带呼吸动画);等待期间面板实时显示当前阶段(等待模型响应 / 分析诊断 / 输出优化稿)与已用秒数,完成后模型徽章处展示总用时…

Recommendation signals

54 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
54 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
4
mo. downloads
Last push
2026-08-20
Created
2026-08-18

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
deepseek-harness, dsh, dsh-plugin

Related plugins

Claude Code New
Score89

claudecodeui

siteboon/claudecodeui

Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your Claude Code session and projects remotely.

☆ 13.4K ↓ 19.1K UI Enhancements
MCP ServerClaude Code New
Score88

magic-mcp

21st-dev/magic-mcp

It's like v0, but in your Cursor / Claude Code / Windsurf: search 10,000+ React/Tailwind components, generate new UI with AI, and publish your own — right from your editor. Magic MCP is now the 21st MCP; this package keeps old configs working. Setup: 21st.dev/mcp

☆ 5.7K ↓ 214.7K UI Enhancements
DeepSeek Harness New
Score85

deepseek-harness-desktop

anywhere-labs/deepseek-harness-desktop

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

☆ 16.4K ↓ 563 UI Enhancements
MCP Server New
Score78

inbox-zero

elie222/inbox-zero

The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.

☆ 12.0K ↓ 8 UI Enhancements