dsh-diff-viewer
PiUI-style diff viewer replacing the stock DiffBlock for write/edit tool calls.
PiUI 风格 diff 查看器,替换 write/edit 工具调用的默认 DiffBlock。
How to install
dsh plugin add github:lehhair/dsh-diff-viewer About
dsh-diff-viewer DSH Web GUI 的 PiUI 风格 diff 查看器插件:替换 write/edit 工具调用的 diff 渲染(原 DiffBlock)。 **unified 单栏默认**:同一 gutter 并排显示旧/新行号,无左右错位;split 双栏可选(viewMode) **变更条**:新增实心绿条、删除条纹红条;行背景色带统一延伸到最宽行 **词级高亮**:行内改动叠加绿/红标记,shiki 语法着色(highlightLines) **上下文折叠**:长段未变更行折叠为"N 行未变更",向上/向下/全部展开 **窗口化渲染**:固定行高窗口化,大 diff 不挂载全部行;sticky 横向滚动条(hover 显现) **复制 + └ +A -R · N file(s) 页脚** 机制 插件通过 **keyed 接管**替换 write/edit 的工具行渲染:ui-tool 的 tool.call.toolview 槽是开放 key 域,同一 key 以**更低 priority 阴影**(最低优先渲染)。插件注册 edit/write 键(priority -1),接管后的行**完全复刻官方 FileMutationRow**(复用官方 ToolRow 样式 + DisclosureRow/StateDot 等平台组件),只把展开后的 d…
Recommendation signals
Meta
- License
- –
- Language
- JavaScript
- GitHub stars
- 28
- mo. downloads
- –
- Last push
- 2026-09-06
- Created
- 2026-08-12
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令;无 license
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh-plugin
Related plugins
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-git-graph
Git branch selector and Git graph for the dsh web GUI: switch branches and explore branch-lane and commit history from the conversation header.
dsh-web
zhu1090093659/dsh-web/tree/main/packages/dsh-git-graph
Git branch selector and Git graph for the dsh web GUI: switch branches and explore branch-lane and commit history from the conversation header.
dsh-github
PerryLink/dsh-github
Official-grade GitHub CI integration: a composite action.yml, a polling PR review bot with idempotent inline comments and a status-check gate, plus PR/issues tools with every write gated by human approval.
dsh-diff-approval
9087/dsh-diff-approval
Pending-change review for DeepSeek Harness: every `edit`, `write` and `str_replace_editor` change is collected automatically into the file list, where a single change block, the blocks within a selection, or the whole file can be kept or reverted, and undo/redo is supported. It imports the workspace's version-control changes, shows the diff in a single-column or side-by-side view, and provides a Markdown preview in which changes can also be kept or reverted, in-file search, block jumping and copyable line references; the diff data is stored persistently, so the review continues after a restart.