JanEickholt/dsh-inline-diff0

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)

包名
dsh-inline-diff
版本
0.7.0
许可证
MIT
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JanEickholt/dsh-inline-diff

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.

Withoutcollapsed rows, one click per file to see what changed
Withthe 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:

A side-by-side diff of an edit, with changed words highlighted

Smaller edits stay compact:

A compact diff card

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):

  1. Add the plugin to your profile's package.json:

    "dsh-inline-diff": "github:JanEickholt/dsh-inline-diff"
    

    then run pnpm install in the profile directory.

  2. Add it to your profile's cordis.patch.yml:

    - insert:
        - id: inline-diff
          name: 'dsh-inline-diff'
    
  3. 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