DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Approval Diff — DeepSeek Harness 插件(DSH Plugin)
← Plugins
A

dsh-approval-diff

Approval Diff

聊天内审批审查:当模型请求更改文件时,composer 接管原生审批卡片,替换为真正的差异审查。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:joao-paulo-santos/dsh-approval-diff#b6128abc45a8e7de53aa1dba1cd67ed88db01a5a
README兼容性版本
Plugin screenshot

说明

聊天内审批审查:当模型请求更改文件时,composer 接管原生审批卡片,替换为真正的差异审查。支持带词级高亮的行差异、从磁盘获取并带行号的上下文、单侧绿色创建审查以及红色删除审查。每张卡片对应一个文件(连续的同文件调用会合并为一个差异,并显示两个文件范围按钮);所有非文件更改审批都会交由原生卡片处理。

兼容性与来源证明

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

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

版本

0.24.1stable
2026/8/31
0.24.0stable
2026/8/31
0.23.0stable
2026/8/30
查看其余 4 个版本收起版本
0.21.0stable
2026/8/30
0.20.0stable
2026/8/29
0.19.2stable
2026/8/26
0.17.1stable
2026/8/26

相关插件

正在加载相关插件…

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

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

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

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

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

相关插件

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

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序

README

dsh-approval-diff

A DeepSeek Harness (DSH) plugin: install it into a profile alongside your own plugins.

See what you approve. When the model asks permission to change a file, the native card shows the tool arguments: old_string and new_string as raw text, no file context, no line numbers. This plugin replaces that ask with a real diff review: red and green lines side by side, word-level highlights inside changed lines, surrounding file content with true line numbers, and exactly two buttons.

Plugin value proposition

image
alternativefalls short
the native approval cardraw tool arguments; you reconstruct the diff in your head, every ask
reading the file yourselfyou become the diff engine, and the model already read it once
auto-approve and hopeno review at all

What you get

  • The pending edit rendered as a real diff INSIDE the native approval card, through the card's own conversation.approval.detail seat: disk- anchored line numbers, a context window around the change, and word-level highlights (via dsh-diff-view)
  • Split or Unified views (GitHub-style toggle, choice remembered); split pairs removals left with additions right, unified groups each change run as all removed lines then all added
  • write shows the new content as additions, merged against the current file when one exists; deletion commands (rm and friends) render a review notice so the command text gets read before allowing
  • The diff is anchored to DISK TRUTH fetched at ask time from this package's host route; when the file cannot be read, the operands still render as an aligned diff with blank numbers, never lying numbers
  • Stale-operand warning: when the edit's old text is no longer in the file, the card says so instead of showing a diff that cannot apply
  • ARMING: "Auto-allow edits to this file" answers the current request and every later same-file request for the session (allowed-once only, never wider), with a visible armed state and one-click disarm
  • QUEUED SAME-FILE EDITS ARE ONE REVIEW: every pending (unsettled) edit to the same file that the model has already emitted joins one merged review. The card shows "N edits merged", the grid renders all changes merged against the disk copy (sequential anchors), and the native card's answer applies to the whole group — later same-file asks auto-answer with the outcome the user already saw
  • The decision itself stays on the native card's own buttons (group decisions automate that exact answer, never wider)

How to install

Requires a DeepSeek Harness checkout and a profile, here web. Clone the plugin into a plugins folder:

mkdir -p ~/dsh-plugins && cd ~/dsh-plugins
git clone https://github.com/joao-paulo-santos/dsh-approval-diff.git

# from the harness checkout
pnpm dsh plugin --profile web add ~/dsh-plugins/dsh-approval-diff

# verify the profile still composes
pnpm dsh --profile web --dump-config

Restart the harness after installing: the host half loads at boot. The client half hot-reloads once installed.

Limitations

  • File-changing approvals only (edit, write, deletion-only bash). Everything else renders no detail and stays fully native.
  • Deletion review shows the command text, not the deleted content.
  • Requires dsh 0.1.2+ (the pending-interaction approval model). The v0.20 composer takeover and its per-card buttons are retired: the native card owns the chrome and the buttons. Approvals arrive one at a time (the session queues them internally); arming replaces the old batch decision workflow for repeated edits to the same file.

Dependencies

  • dsh-diff-view owns the diff engine and stylesheet this plugin renders its review cards with (required; the plugin does not activate without it)

Plugins dependent on this

(none yet)