dsh-edit-diff
Redraws line-level diffs on edit, write, insert and str_replace_editor tool cards — unchanged lines render once and changed characters are underlined — covers run_code (PTC) sub-calls, adds a per-turn changed-files card, and opens or copies any of those paths from the card rows and the tool rows through a host route the plugin serves itself.
接管 edit / write / insert / str_replace_editor 四种工具行:行级对齐后相同行只渲染一次、行内改动字符带下划线;run_code(PTC) 子调用同样覆盖;轮末给出本轮改动汇总卡片;工具行与卡片行都能右键「在资源管理器中打开」或复制文件/文件夹绝对路径,由插件自己的宿主路由完成。
How to install
dsh plugin add dsh-edit-diff About
dsh-edit-diff 中文 | English DSH 客户端插件:文件变更工具的卡片上显示 +N -M 分色统计,展开后是**一行只出现一次**的差异体—— 相同行作为暗色上下文,改动行红/绿分色,行内真正改动的字符再加下划线加粗。run_code(PTC)里的 子调用与 str_replace_editor 同样接管。 轮末再给本轮改过的文件一张汇总卡:标题「N 个文件已更改」+ 合计 +A -R,头部一点整卡折叠;逐文件 一行是文件类型图标、文件名(主色)、所在目录(暗色)、+N -M,行尾「审查」「打开」,展开是同一套差异体。 **右键任意一行**(轮末卡的每一行,以及上面那些工具行)都有「在资源管理器中打开」/「复制文件夹路径」/ 「复制文件路径」;前者由插件自己的宿主路由完成(Windows 走 explorer.exe /n,/select,…),不依赖其它宿主接口。 **特性一览** **行级去重 + 背景高亮**:相同上下文行只渲染一次;改动行用**整行红/绿底色**标出(不是把文字染色),行内真正改动的字符是同一底色再深一档;文字本身走**语法着色**,用的是插件自带的本地分词器 + 主题的 --shiki-token-* 变量(与内置代码块同一套配色,见下面「语法着色与背景高亮」)。内置 diff 会把相同行在红绿两区各渲染一遍。 **覆盖四种工具行 +…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-21
- Created
- 2026-09-19
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, diff, dsh, dsh-plugin
Related plugins
magic-mcp
21st-dev/magic-mcp
It's like v0, but in your Cursor / Claude Code / Windsurf: search 10,000+ React/Tailwind components, generate new UI with AI, and publish your own — right from your editor. Magic MCP is now the 21st MCP; this package keeps old configs working. Setup: 21st.dev/mcp
UI-TARS-desktop
bytedance/UI-TARS-desktop
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
dsh-genui
omdsh-dev/dsh-genui
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
radar
skyhook-io/radar
The missing open-source Kubernetes UI with a built-in MCP server for AI agents. See what's broken, why, and what changed. Issues, Topology, event timeline, Helm, GitOps, live service traffic, and cluster audits - all in one Go binary.