DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-diff-approval

Diff Approval

DeepSeek Harness 插件:待处理编辑审查,支持整文件差异对比以及“保留/还原”

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-diff-approval@0.37.1
README兼容性版本
Markdown preview

兼容性与来源证明

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

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

版本

0.37.1stable
2026/11/1
0.37.0stable
2026/11/1
0.36.1stable
2026/10/19
查看其余 48 个版本收起版本
0.36.0stable
2026/10/18
0.35.0stable
2026/10/15
0.34.0stable
2026/10/11
0.33.0stable
2026/10/8
0.32.0stable
2026/10/7
0.31.0stable
2026/10/7
0.30.1stable
2026/9/28
0.30.0stable
2026/9/28
0.29.1stable
2026/9/22
0.29.0stable
2026/9/22
0.28.0stable
2026/9/21
0.27.0stable
2026/9/20
0.26.0stable
2026/9/18
0.25.0stable
2026/9/18
0.24.1stable
2026/9/15
0.24.0stable
2026/9/15
0.23.2stable
2026/9/15
0.23.1stable
2026/9/14

相关插件

正在加载相关插件…

最新版
0.37.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
19.3 MB
文件数
215
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 15
周下载
2,147
安全扫描
✓ v0.37.1 扫描通过
最近提交
2026/11/1
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题
0.23.0stable
2026/9/14
0.22.2stable
2026/9/13
0.22.1stable
2026/9/13
0.22.0stable
2026/9/13
0.21.0stable
2026/9/12
0.20.1stable
2026/9/12
0.20.0stable
2026/9/11
0.19.3stable
2026/9/11
0.19.2stable
2026/9/10
0.19.1stable
2026/9/9
0.19.0stable
2026/9/8
0.18.0stable
2026/9/7
0.17.0stable
2026/9/6
0.16.0stable
2026/9/3
0.15.0stable
2026/9/2
0.14.1stable
2026/9/1
0.14.0stable
2026/8/31
0.13.1stable
2026/8/31
0.13.0stable
2026/8/30
0.12.0stable
2026/8/28
0.11.0stable
2026/8/27
0.10.0stable
2026/8/25
0.9.0stable
2026/8/24
0.8.0stable
2026/8/24
0.7.0stable
2026/8/20
0.6.0stable
2026/8/19
0.5.0stable
2026/8/18
0.4.0stable
2026/8/17
0.3.0stable
2026/8/16
0.2.0stable
2026/8/16

相关插件

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

Cc Safety Netcc-safety-net编码代理 CLI 钩子——阻止破坏性命令和访问机密文件Plugindsh-pluginDeepSeek Harness 社区插件市场,遵循官方插件规范:无需离开应用,即可浏览、搜索并安装 10000+ 个人工精选的社区插件。· DeepSeek Harness 社区插件市场(遵循官方开发规范):10000+ 人工精选社区插件,每日更新。Cco Market@chatcode/cco-marketChatCode CLI Plugin Market — 浏览、搜索并一键安装社区插件。Rewind Plugindsh-rewind-plugin窗口内对话回溯与工作区文件恢复

README

dsh-diff-approval

English | 中文

A DeepSeek Harness (DSH) plugin for pending-change review: it automatically tracks every successful edit, write, and editor (str_replace_editor) mutation, folds them into a single pending list in the sidebar where each file's diff can be reviewed and kept/reverted — and it can also import the workspace's version-control repository's local changes (Git / SVN / Perforce) in one click.

Floating review panel

The panel also collapses its review sidebar into a floating card; while floating, each of its four edges — the left sidebar, the header above, the right sidebar, the composer below — can be chosen to be covered (all four is what used to be fullscreen, and covering nothing is a plain floating card).

Two entries open it: the row at the sidebar foot, and a button in the Session header's right-hand controls — the cluster the app keeps its own per-session actions in (where "Download session log" lives) — so the review stays one click away with the sidebar collapsed or hidden.

The panel can also dock as a tab in the app's right sidebar:

Docked in the right sidebar

✨ Features

  • Diff view: syntax-highlighted whole-file diff with +/− counts, an overview ruler on the scrollbar showing where changes sit, and an in-file search (Ctrl+F, step with F3 / Shift+F3) that highlights matched words. Rows are virtualized, so huge files stay smooth. The line-number column keeps a surface of its own — a shade lighter than the code block, so the numbers read as a column rather than as part of the code — and stays pinned while the code scrolls sideways.

  • Block navigation & decisions: jump between change blocks with Ctrl+↑/↓ (or the previous/next buttons) — the focused block flashes, navigation is anchored to the scroll position and wraps at the top/bottom. Hover a block to Keep or Revert just that block from a small actions frame that also shows its position (e.g. "2/5"); after a single-block decision, focus advances to the next block. The lead rows left above the jumped-to block are configurable in settings.

  • Selection frame: drag to select a range of lines and a frame appears to Keep / Revert exactly that range.

  • Per-file and bulk decisions: the files in the review sidebar can be kept / reverted one at a time, or Keep all / Revert all from its footer.

  • Resolved files stay listed: once every change in a file has been kept/reverted, the entry remains in the list and the panel asks whether to remove it or keep it there.

  • Undo / Redo: every keep, revert, import, and comment is undoable with Ctrl+Z / Ctrl+Shift+Z (rebindable in Shortcuts; Ctrl+Y remains an alias), active while the panel is open — text inputs keep their own editing.

  • Quick summon & file cycling: Ctrl+D (configurable in settings) toggles the review panel from anywhere and Esc closes it; the panel is also one click away from the sidebar-foot row and from a button in the Session header beside the app's own controls; Ctrl+Tab / Ctrl+Shift+Tab cycle through the pending files.

  • Line references: select text in the diff — the status bar shows its (file:line) / (file:start-end) reference; click it (or press Ctrl+L) to copy, and with the setting on it auto-pastes into the composer and focuses it. References in the composer and queued messages are auto-aligned when the referenced file changes: surviving lines re-map to their new range, and a fully-removed line becomes (file:LINE_MISSING).

  • Highlight language: auto-detected from the file extension, or overridden from a dropdown.

  • Auto-wrap: a "Wrap lines" toggle beside the language selector wraps long lines for that language (CJK breaks between characters, Latin words stay whole), remembered per language.

  • Side-by-side split view: an opt-in two-column diff (left "before" | right "current"), line-aligned with per-side horizontal scrolling and a shared vertical scrollbar. Toggle it from the toolbar or in settings (default: single-column unified view). In split view, changed blocks are aligned by content similarity and changed lines show intra-line word diffs — whole words for Latin text, per-character for CJK.

  • Markdown preview: for Markdown files, toggle between the source-line diff and a rendered before/after preview (Preview / Source); the preview content max width is configurable. With "Structure-rendered Markdown diff" in the "Diff view" group on, the diff is mapped onto the document's own Markdown rendering: lists, tables, headings and code blocks keep their structure; character-level changes are marked, and even a change the rendering cannot show is flagged. The switch is off by default; while it is off the preview keeps the original fragment renderer. The figure below shows the structure-rendered two-column view, with word-level highlights and the hovered block's Keep / Revert toolbar.

    Markdown preview

  • Customizable appearance: from the "Diff view" settings group, adjust the diff's code font size (%), line height (px), the added / removed line colors, and the tab width (2 / 4 / 8 spaces), with a live preview.

  • Comments & annotations: select any lines and write a comment. The card is anchored below the selected lines and holds the discussion with the agent; it shows the (file:line) anchor, the note, and its own comment box. Comment mode is on by default and can be turned off in settings. The agent can comment on its own (annotate): asking it to annotate a piece of code is one way to read that code faster. Say "annotate this project's startup flow for me" and it marks the entry point, the initialisation order and the important branches, line by line, to be read in order. In the side-by-side view the comment quotes both sides of the change, the removed lines and the added ones, so the agent reads the whole replacement.

    Comment card

  • File menu: on by default (the "File menu" row in the "Diff view" group turns it off). It takes over the click on some file links: a file row in the shell's edited / produced lists, an @file reference or file link in a message, and a relative link in this plugin's Markdown preview, and offers: Open as usual (the shell's own behaviour, replayed), View in the review panel, and Copy file path.

  • Bundled CJK code font: the panel ships JetBrains Maple Mono, subset and sliced by unicode-range; it is on by default and can be turned off in settings.

  • External changes: files already in the pending list are monitored — if one is later modified outside the reviewed edits (another tool, an editor), the panel adopts the new content and flags the divergence.

  • Open / Reveal: while reviewing a file's diff, open it in its default app or reveal it in the system file manager with one click.

  • Import version-control changes: when the list is empty, click the button to import the workspace's local changes from Git / SVN / Perforce — everything that is not committed yet, staged or not (Git is read against the last commit, the git diff HEAD view), plus deleted files and, opt-in, files the VCS has never seen (untracked / unversioned). The VCS root is found by walking up from the workspace, so a workspace inside a subdirectory works too.

  • Persistence: pending state is stored per workspace at <dshHome>/diff-approval/workspaces/<workspaceId>.json and survives restarts — unhandled changes are still there when you come back, even in a fresh session.

📦 Install

If dsh is on your PATH:

dsh plugin --profile web add dsh-diff-approval

Or, if you run the harness through npx (e.g. npx @deepseek-ai/dsh web):

npx @deepseek-ai/dsh plugin --profile web add dsh-diff-approval

or manually: add the package to your profile's package.json dependencies and insert this row into the profile's cordis.patch.yml:

- insert:
    - id: diff-approval
      name: dsh-diff-approval
      # Optional: relocate durable pending state (defaults to
      # <dshHome>/diff-approval/workspaces).
      # config:
      #   storageDir: ~/dsh-pending

Then restart dsh web.

🚀 Usage

  1. Work with the agent as usual — successful edit / write / editor (str_replace_editor) calls are recorded automatically.
  2. Click the Pending changes action at the sidebar footer, review each file's diff, and Keep / Revert.
  3. When the list is empty, Import version-control changes pulls in what the workspace has not committed yet.

📝 Notes

  • Only tracked mutations (edit, write, and str_replace_editor editor calls) are recorded automatically. Deletions made outside these tools (e.g. shell rm) are sensed only for tracked files: the entry turns "File is gone" and its Revert restores the file.
  • The VCS import runs read-only Git/SVN/Perforce commands through the deployment's shell executor, so the respective CLI must be on PATH. Including files version control has not seen (default off) scans the whole workspace, which can be slow on large trees.
  • For a newly-created file, the whole-file revert action reads Delete and removes the file.
  • Reverting a file writes it back with its current line endings (LF / CRLF) preserved.
  • Sessions with no workspace keep their entries memory-only; corrupt persistence files are rejected and can be deleted to reset.
  • The sidebar footer entry stacks vertically with other plugins' footer actions and defers to the dedicated dsh-footer-order plugin when it is present.

🛠 Development

Development setup, the command list, the two halves' reload rules and the font pipeline: DEVELOP.md.