DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Prompt Workbench — DeepSeek Harness 插件(DSH Plugin)
← Plugins
P

dsh-prompt-workbench

Prompt Workbench

适用于 DeepSeek Harness 的提示词重写工作台——支持四种重写模式、可取消的流式输出,以及令牌级的前后差异对比。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:fufuyin/dsh-prompt-workbench#73f3c08ce2716648f43ff6577149dc1138c888da
README兼容性版本

兼容性与来源证明

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

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

版本

0.1.0stable
2026/9/23

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

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

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Codex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航Univer Officedsh-univer-officeDSH × Univer 集成,内置协作 Gateway 和 Viewer:内联预览、实时浮动 Worktree 窗口,以及 DeepSeek Harness 中的会话结束审查操作。

README

dsh-prompt-workbench

A prompt rewrite workbench for DeepSeek Harness — four rewrite modes, streaming output you can stop, and a real before/after diff.

一个给 DeepSeek Harness(dsh)用的提示词重写工作台:四种增强模式、可中断的流式输出、以及真正的增强前后逐词差异对比。


Why this exists / 为什么需要它

Writing a good prompt is the highest-leverage thing you do in an agent harness, and it is also the thing everyone skips. You type a vague sentence, the agent guesses, and three turns later you are explaining what you actually meant.

dsh-prompt-workbench sits above the composer and turns that vague sentence into a prompt an agent can act on — without leaving the box you are already typing in.

It is deliberately not just an "enhance" button. Three things make it a workbench rather than a one-shot rewriter:

  1. You can see what changed. The result is diffed against your draft at token level — additions highlighted, deletions struck through. You approve a rewrite you can read, not a rewrite you have to re-read from scratch.
  2. It streams, and you can stop it. Output arrives progressively and the run is cancellable mid-flight, so a long draft never leaves you staring at a frozen composer.
  3. It lives where you type, as a compact pill in the composer tool row plus a floating panel above the composer — not in a separate window you have to go find.

Features

Four rewrite modes细化需求 (refine) · 补充约束 (constraints) · 结构化重写 (structure) · 精简表达 (concise)
Bilingual by designChinese and English drafts both work; 自动 mode detects the draft's script and answers in kind
Token-level diffLCS diff with additions highlighted and deletions struck through; degrades to plain text past its token cap instead of freezing
Streaming + cancelIncremental delivery with a live character counter and elapsed time; stop a run at any point
Two surfaces, one stateComposer tool-row pill and a floating panel above the composer — both reading one store, so they never disagree
Theme-nativeEvery colour is a --dsw-alias-* variable; light and dark both work, and prefers-reduced-motion is respected
Prompt hygienePreserves @path references, {variables}, <slots>, TODOs, URLs and fenced code blocks verbatim; never answers the prompt it is rewriting

Install

dsh plugin --profile web add github:fufuyin/dsh-prompt-workbench

Then restart the profile and reload the web GUI. Most plugins go live after a page refresh; if the pill does not appear in the composer tool row, restart the profile.

Install from a local checkout while developing:

git clone https://github.com/fufuyin/dsh-prompt-workbench.git
cd dsh-prompt-workbench
npm install
npm run build
dsh plugin --profile web add .

Usage

  1. Type or paste a draft into the composer. Anything from one sentence to a multi-paragraph brief works.
  2. Click ✦ 提示词增强 in the composer tool row. A panel opens above the composer with your draft already in the left pane. (You can also paste straight into the left pane, or hit ⭯ to pull the current composer draft in.)
  3. Pick a mode and, if you want to force it, an output language.
  4. Hit 开始增强 (or Ctrl/Cmd + Enter). The right pane streams the rewrite.
  5. Review it. Toggle 差异高亮 to see exactly what was added and removed.
  6. 替换输入框 to write the rewrite back into the composer, or 追加 to keep both. 复制 puts it on the clipboard.

Modes

ModeWhat it does
细化需求 refineTurns a vague wish into concrete, checkable requirements: the real goal, the expected outcome, the deliverables.
补充约束 constraintsMakes the implicit boundaries explicit — in scope / out of scope, platform limits, style rules, non-goals, acceptance criteria.
结构化重写 structureReorganizes the whole prompt into a scannable hierarchy (目标 / 背景 / 输入 / 具体要求 / 输出格式 / 验收标准) without changing content.
精简表达 conciseRemoves filler, hedging and repetition, merging overlaps while keeping every distinct fact.

Configuration

There is no settings page and no config file. The plugin follows your session's default model route — change the model in the composer's model selector and the next rewrite uses it. The active route is shown as a read-only chip in the panel header.

Deliberate limits, all enforced host-side:

LimitValueBehaviour past it
Draft length24,000 charactersRefused with an explicit message; no silent truncation
Live diff size700 tokens per sideDiff view degrades to plain text with a note
Concurrent runs8 tracked tasksFinished tasks are reaped first

Architecture

An everything-is-a-plugin harness means this is two halves and a patch layer:

cordis.patch.yml        the profile patch that installs the plugin
src/index.ts            HOST   — plugin entry; registers the plugin's HTTP routes
src/runs.ts             HOST   — the run table and the one model call per run
src/prompt.ts           HOST   — modes + system instruction (pure, testable)
src/http.ts             HOST   — JSON / same-origin / body helpers
src/client/index.ts     CLIENT — inject declaration, style injection, mounting
src/client/panel.ts     CLIENT — the two composer surfaces
src/client/api.ts       CLIENT — the fetch carrier
src/client/store.ts     CLIENT — the one store they share
src/client/diff.ts      CLIENT — token-level LCS diff
src/client/styles.ts    CLIENT — the whole stylesheet, as one string
scripts/preflight.mjs   the post-build assertions `prepack` runs

The host half owns the model call and the run table; the browser half polls it on a fixed cadence and only ever receives the delta since its last cursor, so a long rewrite costs a bounded amount of traffic rather than re-sending the whole buffer.

How the two halves talk

Through the plugin's own HTTP routes on ctx.webServer.register(), not through @Remote / ctx.remote. That is not a stylistic choice: the host gateway does discover @Remote markers from a third-party package, but the client's $mount path rejects any descriptor that is not a generated strict codec, and the assembly that mounts remote namespaces is a closed in-tree list. Shipping generated codecs would require the harness's own codegen toolchain.

Because plugin-owned routes are not covered by the connection's Host/Origin checks, the two mutating routes gate themselves with a same-origin check. The polling route deliberately does not — browsers omit Origin on same-origin GET, so enforcing it there would reject the plugin's own traffic.

Status

Targets the DeepSeek Harness developer preview. The harness itself ships compatibility-breaking changes, so pin the version you build against.

License

MIT © 2026 fufuyin


中文说明

这是一个给 DeepSeek Harness 用的提示词重写工作台。

它解决什么

在 agent harness 里,写好提示词是收益最高、也最容易被跳过的一步。你打一句模糊的话, agent 只能猜,三轮之后你才开始解释自己到底想要什么。

这个插件就停在输入框上方,把那句模糊的话变成 agent 能准确执行的任务说明——不用离开你 正在打字的那个框。

它刻意不只是一个「增强」按钮,有三点让它更像个工作台:

  1. 你看得见改了什么。 结果会与你的草稿做逐词差异对比:新增高亮、删除划线。 你审的是一份读得懂的改写,而不是一份得从头再读一遍的改写。
  2. 流式输出,且能中途停。 长草稿不会让你对着卡死的输入框干等。
  3. 它就待在你打字的地方——输入框工具行里的胶囊按钮,加上浮在输入框上方的面板, 而不是另开一个窗口让你去找。

四种模式

模式作用
细化需求把模糊诉求拆成明确、可执行、可验收的具体要求
补充约束补齐边界、非目标、技术/风格约束与验收标准
结构化重写重排为 目标 / 背景 / 输入 / 具体要求 / 输出格式 / 验收标准 的清晰层级
精简表达去冗余与重复,合并重叠表述,关键信息零丢失

安装

dsh plugin --profile web add github:fufuyin/dsh-prompt-workbench

装完重启 profile 并刷新 Web GUI。若输入框工具行没出现胶囊按钮,重启 profile。

使用

在输入框打好草稿 → 点工具行的 ✦ 提示词增强 → 选模式 → 开始增强(或 Ctrl/Cmd + ↵) → 右栏流式出结果 → 点 差异高亮 看逐词改动 → 替换输入框 写回。

配置

没有设置页,也没有配置文件。插件跟随你当前会话的默认模型路由——在输入框的模型选择器 里换模型,下一次增强就用新模型。面板标题栏会显示当前路由。

三条硬限制(全部在 Host 侧强制)

限制阈值超限行为
草稿长度24,000 字符明确报错,不静默截断
差异对比规模每侧 700 token降级为纯文本并注明原因,避免卡住界面
并发任务8 条优先回收已完成任务

许可证

MIT © 2026 fufuyin