Plugin directory / Developer / dsh-client-ui-code-diffs
dsh-client-ui-code-diffs
Verified · install-tested on dsh linhoulong123
What it does
A plugin in the Developer category for DeepSeek Harness.
Works — verified, early-stage project
A plugin in the Developer category for DeepSeek Harness. It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-client-ui-code-diffs
增强 diff 卡片:替换 DeepSeek Harness 对话中 edit / write 工具卡片为整行红绿背景的内联 diff 视图,每次文件修改完成后就地显示在消息流中。
功能
- 整行红绿 diff:新增行绿色背景、删除行红色背景(跟随主题色变量)
- 字符级高亮:同一行内的变化片段高亮标记
- 语法着色:Kotlin / Java / TypeScript / JavaScript / Python / JSON / XML / CSS 关键词与字符串着色
- 行号与统计:行号、+/- 行数统计(头部徽章)
- 状态标签:执行中 / 失败 / 打开文件
- 大 diff 截断:超过 600 行自动省略中间内容
- 优先级遮蔽:以更低优先级注册,自动替换内置 edit/write 卡片
安装
dsh plugin --profile web add <npm-or-github-spec>
安装后重启 dsh web 生效。纯客户端插件,无服务端逻辑。
使用
对话中模型执行 edit / write 工具后,消息流中的工具卡片自动以整行红绿 diff 显示(新增/修改/删除一目了然)。
兼容性
- DeepSeek Harness
0.1.0-rc.6 - Node >= 20
- 依赖:react(运行时由宿主提供)
License
MIT
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-client-ui-code-diffs for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:linhoulong123/dsh-client-ui-code-diffs Headless (CLI) profile:
dsh plugin --profile headless add github:linhoulong123/dsh-client-ui-code-diffs Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.