← Back to list

dsh-edit-diff

DeepSeek Harness UI Enhancements Low risk

Client-side re-render of edit/write tool cards with a near-linear line-level diff that drops duplicate unchanged lines and underlines the actual changed characters inside replaced lines.

接管浏览器端 edit/write 工具卡片,用近线性行级 diff 只显示真正变化行,并对替换对做行内字符下划线高亮,消除内置 diff 对未变化相同行的重复渲染。

How to install

DeepSeek Harness dsh plugin add dsh-edit-diff

About

dsh·修改显示优化插件 接管 DSH 浏览器的 edit / write 工具卡片,用近线性行级 diff 做真正的差异展示,消除内置 DiffBlock 把「未变化的相同行」在删除区红 - 行和新增区绿 + 行各渲染一遍的重复。 纯浏览器端 client 插件,单击即换新渲染,不碰 DSH 源码。 引言 原版 diff 的显示相当离谱:一次只修改一行,它却把这行连同上下各三行一起带进 diff,共十四行,其中七行被折叠,正好红区和绿区完全不重叠。不点开二级展开根本看不出到底改了什么——点开了也照样看花眼。 这个插件把无关的相同行全部去除。只修改一行时,就只显示一行红一行绿,真正的修改加粗划线,一眼就能看清改在哪里。 另外,PTC 模式下默认只显示调用成功与否,本插件也做了适配,能正常显示修改内容。 功能 **仅差异行**:完全相同行直接不渲染,只显示真实变化的删除行红 - 与新增行绿 +,消除重复。 **行内字符高亮**:删/增行数相等的替换对,再做字符级 diff,用下划线在行内标出真正改动的字符,而不是整行糊在一起。 **近线性算法**:先做公共前缀/后缀收缩线性,仅对中间小差异带运行 Myers diff,复杂度与差异量成正比而非平方,超大文件也流畅。 **默认收起**:卡片默认一行摘要,点开才显示 diff 体,不刷屏。 **长 diff 二次折叠**:展开后若差异行超…

Recommendation signals

53 Tool quality · Based on stars, downloads, maintenance, security and docs
– User interest · Adjusted by in-site views, install copies and download clicks
53 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
10
mo. downloads
1.1K
Last push
2026-09-13
Created
2026-08-28

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
ai-assistant, browser-plugin, client-plugin, deepseek, developer-tools, diff, diff-viewer, dsh, dsh-plugin, plugin, productivity, web-plugin

Related plugins

MCP Server
Score83

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.

☆ 3.5K ↓ 1.9K UI Enhancements ↗
MCP Server
Score79

inbox-zero

elie222/inbox-zero

The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.

☆ 12.3K ↓ 17 UI Enhancements ↗
MCP Server
Score78

UI-TARS-desktop

bytedance/UI-TARS-desktop

The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra

☆ 39.1K ↓ 463 UI Enhancements ↗
DeepSeek Harness
Score77

dsh-desktop

anywhere-labs/deepseek-harness-desktop

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

☆ 28.9K ↓ 1.4K UI Enhancements ↗