DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Prompt Boost Pro — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

dsh-prompt-boost-pro

Prompt Boost Pro

为 DSH 撰写器添加“Enhance prompt”按钮,以结构化或轻量模式重写草稿,并在应用前显示原始版本与增强版本的预览。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:xiaoshengliang2002/dsh-prompt-boost-pro#b3b377a8d861b3f5bc8594089c8dd6bf27e80822
README兼容性版本

兼容性与来源证明

Prompt Boost Pro 以 dsh-prompt-boost-pro 发布,当前版本为 0.1.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/15

版本

0.1.2stable
2026/9/15
0.1.1stable
2026/9/12
0.1.0stable
2026/9/12

相关插件

正在加载相关插件…

最新版
0.1.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/15
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Codex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Automation@michengai/dsh-automation在独立 DSH Session 中按计划执行编码任务,支持 Web 设置页与 Agent 双入口管理。Easyrewritedsh-easyrewriteDSH Web 中最无感的消息撤回与重新编辑插件,原生体验,兼容性强,功能简单易开关,设置丰富,采用现代化轻量 UI 框架。

README

dsh-prompt-boost-pro — enhance the draft before you send it

English | 中文

A sparkle button in the DeepSeek Harness (DSH) composer tool row. Click it, pick a mode, and the model rewrites your draft into a better prompt — shown as an original-versus-enhanced preview that you accept, re-run in the other mode, or discard. Nothing touches your draft until you accept.

Inspired by Trae CN's "optimize input": type a rough idea, get a directly executable instruction. Unlike a one-shot rewrite, this plugin keeps you in control — you always see both versions first, and after accepting, the same button becomes an undo until you change or send the text.

Features

  • Two modes, picked per use — Structured reorganises the draft for the task at hand (goal, constraints, expected output, acceptance), Light only disambiguates, fixes wording and tightens; both keep your intent and your language, and neither invents requirements you did not write.
  • It never interrogates you. The prompt policy forbids handing back information the agent can look up itself (repo layout, stack, scope, previous conclusions). At most one [待补充: …] placeholder survives, and only for a decision that is genuinely yours.
  • Comparison preview, never a silent overwrite — original and enhanced side by side; accept, re-run in the other mode, copy, or discard. If you edited the draft while the preview was open, it says so and makes the overwrite explicit.
  • Undo that knows when it is over — after accepting, the button reads "undo" only while the draft still equals the enhanced text; sending or editing the draft returns it to normal instead of offering an undo that cannot work.
  • Truncation is surfaced, not swallowed — output budget adapts to the draft (4000 → 8192 tokens) and a capped answer is still returned, flagged, with a hint instead of an error.
  • Model route resolved four ways — plugin config → the model currently shown in the picker → the session's last request → the deployment default. A brand-new session works on the first click.
  • Dismissals everywhere — click the icon again, click anywhere outside, or press Esc; the preview also closes with Esc. The button stays clickable while its menu is open, so the menu can never trap you.
  • Bilingual UI (zh / en), theme-native (real DSH design tokens), no tracking, no config files written.

Requirements

  • DSH web GUI (dsh web), harness 0.1.2-alpha.1 or newer; the current line (0.1.5-rc.x) is tested.
  • Node ^22.19.0 || >=24.0.0 (the host half runs inside the harness process).
  • A session whose model is routable — the default model counts, so no setup is needed.

Install

# from the profile that runs your web GUI (usually "web")
dsh plugin --profile web add github:xiaoshengliang2002/dsh-prompt-boost-pro

# or from a released tarball
dsh plugin --profile web add https://github.com/xiaoshengliang2002/dsh-prompt-boost-pro/releases/latest/download/dsh-prompt-boost-pro.tgz

# or from a local checkout (symlinked; rebuild shows up without reinstalling)
dsh plugin --profile web add link:/path/to/dsh-prompt-boost-pro

Then restart dsh web and reload the page. The lib/ bundles are committed, so installing from source needs no build step and no pnpm build approval.

Uninstall: dsh plugin --profile web remove dsh-prompt-boost-pro.

Where the button lives

+ | permission control | ✨ enhance | summon-expert entry | … | model | context meter | send

It registers conversation.input.left with order: -10, so it sits immediately after the permission control. Move it after the summon-expert entry by changing order to 20 in src/client/index.ts.

How it works

HalfRole
Host (lib/index.js)Registers POST /api/prompt-boost-pro/enhance on the shared API channel (same-origin, cookie-authenticated), resolves the model route, calls ctx.llm.stream() once, cleans the text and answers JSON.
Browser (lib/client.js)Registers two slots: the tool-row button with its mode menu, and the preview dialog in the composer overlay. Keeps one state machine per session and writes the draft through inputActions.setDraft only on accept.

Wire contract, error codes and the prompt policy are documented in docs/design.md; the awesome-dsh-plugin checklist is in docs/awesome-dsh-plugin-checklist.md.

Development

The repository is a normal npm package; lib/ is build output that is committed on purpose (so source installs are build-free).

npm run typecheck      # tsc --noEmit, 0 errors
npm run build          # esbuild → lib/index.js + lib/client.js
npm test               # 4 offline suites: host 28, client 28, UI dismissal/undo 40, prompt policy 27
npm run release:pack   # sync docs + build + npm pack
npm run release:verify # unpack the tarball and assert 31 contract/listing conditions

No network is required: node scripts/link-dsh.mjs links the packages of a local DSH checkout into node_modules (esbuild, typescript, react, @types) so the build and tests run offline.

preview/index.html is a clickable preview of the composer UI built from DSH's real design tokens and this plugin's real stylesheet; preview/shot-preview.cjs renders the state screenshots into preview/shots/ (declared for the storefront via screenshots.json).

Version history

  • 0.1.2 — reasoning-effort passthrough. The client sends the model picker's current reasoning effort (low/high/max) with each request and the host passes it to the LLM call; deployments can pin one via the new reasoningEffort config key. Fixes 400 {"code":"1210"} on models that always think (e.g. GLM-5.3-Flash), whose default effort is "off" and gets rejected by the upstream API.
  • 0.1.1 — upgrade-window compatibility. The host registers the legacy POST /api/prompt-boost/enhance path alongside the current one, and the client falls back to it when the current path answers 404/405 — so a half-updated pair (page refreshed but server not restarted, or the reverse) keeps working instead of failing with "unexpected response (HTTP 404)".
  • 0.1.0 — first release. Two enhancement modes (structured / light); original-versus-enhanced preview before applying; undo that expires with the draft; click-outside/Esc dismissal; adaptive output budget with a truncated flag instead of dropping a capped answer; four-level model route resolution so a brand-new session works on the first click; bilingual UI and a custom sparkle icon. 123 offline assertions plus 34 packaging checks. Wire path: POST /api/prompt-boost-pro/enhance; the button sits after the permission control.

License

MIT