dsh-polish
Manifest validUI acceptance you need to do (go through each item after restart) 1. A four-pointed star button appears to the right of the book icon: thin-line hollow, small dots at the four points, light gray, same size as adjacent buttons, works normally in dark theme 2. Hover shows "Optimize and refine the current user input" 3. Switching the permission dropdown to Read Only → button grays out; switching back restores it 4. Empty input click → Toast "Please enter content before optimizing and refining" 5. Text present click → loading spinner → full-text overwrite (not append) → cursor at the end allows direct continuation
dsh-polish
DSH Desktop 输入框四角星按钮插件:一键调用 DeepSeek 优化并细化当前输入,润色语句、梳理逻辑、补充细节后整体覆盖草稿,光标定位文本末尾。
- 按钮位于底部工具栏书本图标(精读)右侧(
conversation.input.left,order 31) - 权限下拉切到 Read Only 时按钮置灰不可点
- 输入框为空时点击提示「请先输入内容再进行优化细化」
- host 半直连
api.deepseek.com(modeldeepseek-v4-flash-vision-exp,非流式);密钥走 DSH credentials 服务,兜底DEEPSEEK_API_KEY环境变量 - 支持图片识别:composer 附件栏已上传的图片随优化请求一起发送;文本中的公网图片链接(png/jpg/jpeg/gif/webp)由模型侧自动下载识别
- RPC 路由
POST /dsh-polish/optimize带 loopback trust fence - 个性化优化设置:设置 → 插件设置 → dsh-polish 卡片,可编辑优化系统提示词(初值 = 内置默认提示词,多行等宽编辑器),保存后持久化并立即生效;清空保存回退默认
安装
pnpm install
pnpm build
dsh plugin --profile <name> add "link:<本目录绝对路径>"
安装后重启 DSH Desktop。若 profile 的 node_modules/@deepseek-ai 出现真实目录副本(双实例崩溃坑),请将其替换为指向 app 副本的悬空 Junction(profile-only 包如 dsh-plugin-check 除外)。
开发
pnpm test # node --test,87 用例(pretest 自动构建)
pnpm check # tsc host + client
MIT
Comments
Loading…
Similar plugins
by zzy6-a
DSH 输入框旁的一键提示词增强:把口语化的一句话改写成目标明确、细节完整的任务说明,可一键撤销;五种改写风格、模型可跟随或固定,含 @引用/命令芯片时自动置灰保护。
★ 0
↓ 2.7k/wk
MIT
TypeScript
Sep 14, 2026
dsh plugin --profile web add dsh-prompt-enhanceDeepSeek Harness plugin: a four-pointed-star button left of the composer's model selector that rewrites your draft before you send it — fixing grammar, ambiguity and execution order — plus a dedicated settings page. AI-generated.
★ 0
MIT
JavaScript
dsh plugin --profile web add dsh-input-optimizerby senyayume
DSH 插件:在文件变更工具卡片上重绘行级 diff(相同行只渲染一次 + 行内字符高亮),覆盖 run_code(PTC) 与 str_replace_editor,轮末给出改动汇总卡,并可在资源管理器中定位或复制路径。
★ 0
MIT
JavaScript
Sep 22, 2026
dsh plugin --profile web add dsh-edit-diffby JoukoPuro
一个 DeepSeek Harness(DSH)插件: 在 Web 输入框的工具行中添加一个 ✨ 图标按钮。点击后选择打磨风格,已接入的大模型 会把你草稿中的提示词改写得更专业、更易被 AI 理解 。A DeepSeek Harness plugin: icon-only composer button that rewrites your prompt via the connected LLM
★ 8
↓ 121/wk
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-prompt-polishby akilonewbility
Redraw the left-hand workspace sidebar to add color highlighting, sorting, status indicators, and system notifications. You can also switch back to the original sidebar, which likewise implements some
★ 2
MIT
JavaScript
Nov 2, 2026
dsh plugin --profile web add dsh-workspace-optimizeby anticbv
DSH(DeepSeek Harness)字体颜色插件:正文/代码/终端/工作步骤四作用域独立调色,仅染对话区子树,宿主文件持久化跨重启保留,官方设置页原生集成
★ 0
MIT
JavaScript
Oct 24, 2026
dsh plugin --profile web add dsh-plugin-font-color