DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

dsh-refine

Refine

dsh continual-harness engine(dsh-continual-harness)的 UX 层:提供 /refine 人类命令和设置面板,支持条目浏览、优化历史时间线、一键回滚和自动门控审计——运行时引擎可选。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-refine@1.2.1
README兼容性版本

兼容性与来源证明

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

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

版本

1.2.1stable
2026/9/18
1.2.0stable
2026/9/9
1.0.3stable
2026/8/21
查看其余 3 个版本收起版本
1.0.2stable
2026/8/21
1.0.1stable
2026/8/20
1.0.0stable
2026/8/20

相关插件

正在加载相关插件…

最新版
1.2.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 2
周下载
209
安全扫描
✓ v1.2.1 扫描通过
最近提交
2026/9/18
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

README

dsh-refine

English | 简体中文

A refinement UX layer for the DeepSeek Harness (dsh): the /refine human command plus a settings panel with entry browsing, a refinement history timeline, one-click rollback, and auto-gate audit. It drives the dsh-continual-harness engine, which is optional at runtime — when the engine is not mounted, every operation degrades into an actionable instruction instead of an error.

The plugin is the shell, and since 1.2.0 it mounts the engine itself: dsh-continual-harness starts as a child plugin under ctx.isolate('commands'), so the engine's own /refine adapter never registers and dsh-refine keeps the full command surface (status / list / history / rollback / triggers) while forwarding the engine's --global / --local grammar to it. List only dsh-refine in your profile's dsh.profile.bundles; a profile that still mounts dsh-continual-harness as its own row keeps working — the shell detects the already-registered engine, skips its own mount, and falls back to the engine's /refine.

This project is a port and practical adaptation of the prime-agent /refine idea for the dsh ecosystem.

Features

  • /refine command — status / list [kind] / history [n] / rollback <id>, plus free-text refinement instructions (owned by the engine when it is mounted; provided by dsh-refine otherwise)
  • Settings panel — harness timeline, entry browsing, one-click rollback, auto-gate audit
  • Bilingual & themed — the panel reads the host locale (Simplified Chinese / English) and adapts to the dark and light themes through dsh design tokens with no hardcoded colors
  • Session-history compatibility — the harness/refinement session event written by older engine builds is registered into the host reader so legacy refined-session logs stay loadable (the 0.3.0 engine self-registers and no longer writes it; dsh-refine keeps an idempotent defensive registration)
  • Host gap bridging — where the installed engine's turn-time code reads session.events but the dsh host only exposes snapshotEvents(), dsh-refine installs a guarded events getter so the engine's projection/planner stops crashing with Cannot read properties of undefined (reading 'length')
  • Engine optional — without the engine you get actionable setup guidance; nothing errors out, nothing pollutes the session

Requirements

  • Node.js ≥ 18
  • dsh 0.1.5-rc.2 (verified against it; peer deps follow the dsh core convention ^0.1.5-rc.2 for @deepseek-ai/dsh-home-paths / @deepseek-ai/dsh-typert-protocol, which must stay single-instance with the host — align them via the profile's pnpm.overrides)

Installation

Add the package to your profile and let it mount the engine itself (since 1.2.0 the shell owns the whole arrangement — do not mount dsh-continual-harness as a separate bundle row):

dsh plugin --profile web add dsh-refine

For development, point the profile's package.json dependency at a local checkout and reinstall:

cd ~/.dsh/profiles/web
pnpm add link:/path/to/dsh-refine
dsh plugin --profile web install

The engine arrives as dsh-refine's own dependency (dsh-continual-harness ^0.3.1) and mounts under an isolated commands scope, so its /refine adapter never collides with this package's.

Restart dsh web to apply (host-side changes need a restart; client panel changes hot-reload while pnpm run dev:web is running).

Usage

Command

InputDescription
/refine statusOverview of engine/rollback state
/refine list [kind]List current entries (filter by prompt/memory/skill/subagent)
/refine history [n]Recent refinement history (default 10, max 50)
/refine rollback <id>Roll back one committed refinement (ids from history)
/refine <any text>Trigger an engine refinement; returns immediately, results appear later in the panel / history

/refine <text> treats the text as a refinement instruction handed to the engine's planner. For ordinary chat, just type in the input box without the / prefix. When dsh-continual-harness@0.3.0+ is mounted it owns /refine (plan + rollback); the panel below still offers the browse / timeline / one-click-rollback views.

Panel

Settings → Refine Harness: a settings-style overview of engine and state path, browse prompt / memory / skill / subagent entries, inspect the history timeline and roll back with one click, and audit auto-gate decisions.

How it works

engine mounted (dsh-continual-harness@0.3.0+):
  /refine  ──► engine's own /refine ──► coordinator ──► harness_state.json / refinements.jsonl

engine absent:
  /refine  ──► dsh-refine /refine ──► tools.execute('harness_refine') ──► actionable setup instruction

panel (always): 设置 → 精炼 Harness ──► refineUx data/rollback ──► ESP files + harness_refine
  • Instruction triggers are background fire-and-forget: the engine and agent are validated synchronously, then the command acks immediately so the input box is never frozen for a planner round-trip; engine results land in the panel timeline and /refine history.
  • Rollback is synchronous: it applies the stored inverse edits only, with no LLM round-trip.
  • Session-event compatibility: lib/compat.js registers harness/refinement into the host reader's known event-type set (KNOWN_SESSION_EVENT_TYPES) — one registration keeps logs from older engine builds loadable; as of 0.3.0 the engine no longer writes the event and self-registers the type itself.

Development

npm install
npm run lint    # ESLint (lib/ + smoke-host.mjs)
npm test        # smoke suite — no engine required; extra host-registration
                # assertions run when dsh is on PATH

The smoke suite is hermetic: minimal engine ESP fixtures are bootstrapped automatically when ~/.dsh/harness lacks them, and it also exercises the real dsh install paths for compatibility regression (skipped gracefully when dsh is not on PATH). Run DSH_HOME=/tmp/fresh npm test to reproduce the CI environment in a clean directory.

See CONTRIBUTING.md for commit style, changelog policy, and the release process; see SECURITY.md for reporting vulnerabilities.

License

MIT © dushaobindoudou

相关插件

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

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。