JanEickholt/dsh-inline-diff ↗★ 0
dsh-inline-diff
Always-expanded split diff view for edit/write tool calls in the DeepSeek Harness web GUI: shadows the stock collapsed rows via the tool.call.toolview slot and renders each mutation as an inline side-by-side diff with line numbers; word-level highlighting is optional (Settings → General)
AI 分析
核心用途是无需点击即可在聊天流中直接预览代码修改细节,包含行号和增删统计。适合使用 DSH 进行 AI 辅助编程、需要频繁审计代码变更的用户。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JanEickholt/dsh-inline-diffドキュメント
README 全文を読む ↗dsh-inline-diff
See every file your agent edits — right in the chat, no clicking required.
By default the DeepSeek Harness web GUI collapses each file edit into a tiny one-line row. This plugin replaces those rows with an always-open, side-by-side diff: old code on the left, new code on the right, additions in green, deletions in red, with line numbers and a +N −N summary for every file.
| Without | collapsed rows, one click per file to see what changed |
| With | the full diff is just there, in the conversation |
What it looks like
A typical edit — changed lines paired side by side, with the exact words that changed highlighted:

Smaller edits stay compact:

Words or whole lines
By default a changed line gets double highlighting: the row is tinted green/red, and on top of that the exact words that changed get a stronger highlight. Prefer it calmer? Open Settings → General → Diff highlighting and pick Lines only — you keep the row tint but lose the word chips. The choice is saved in your DSH settings and survives restarts.
Install
With the dsh CLI (easiest):
dsh plugin --profile web add github:JanEickholt/dsh-inline-diff
From GitHub (manual, same result):
-
Add the plugin to your profile's
package.json:"dsh-inline-diff": "github:JanEickholt/dsh-inline-diff"then run
pnpm installin the profile directory. -
Add it to your profile's
cordis.patch.yml:- insert: - id: inline-diff name: 'dsh-inline-diff' -
Refresh the GUI page. Done — every edit and file write now renders as an inline diff.
Manual: copy this repository into /node_modules/dsh-inline-diff/ and add the same patch row.
Contributing
Contributions of any kind are welcome — code, bug reports, docs, design ideas, screenshots, or just telling us what confused you. Open an issue or a pull request; nothing is too small.
About this project
This plugin was written by an AI coding agent (with a human steering it).
License
MIT