← 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

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

Meta

License
MIT
Language
JavaScript
GitHub stars
6
mo. downloads
Last push
2026-09-07
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

DeepSeek Harness
Score84

DeepSeek-Balance-Whale-Widget

MeteorNOX/DeepSeek-Balance-Whale-Widget

A fixed-corner whale widget showing DeepSeek balance, today usage, per-turn cost and random talk lines, with sound effects and a menu.

☆ 1.9K ↓ 15.9K UI Enhancements
DeepSeek Harness
Score77

dsh-desktop

anywhere-labs/deepseek-harness-desktop

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

☆ 24.2K ↓ 1.3K UI Enhancements
DeepSeek Harness
Score75

dsh-status-rotator

01Virex/dsh-status-rotator

Replaces the "Deep diving..." turn-status label with rotating meme-worthy phrases, with typewriter and gradient effects.

☆ 71 ↓ 5.6K UI Enhancements
DeepSeek Harness
Score75

dsh-annotation

omdsh-dev/dsh-annotation

Select text → annotate → send with your message; replies map back to each annotation.

☆ 111 ↓ 2.2K UI Enhancements