Back to home@JanEickholt

dsh-inline-diff

See every file edit inline in the DeepSeek Harness chat — always-open side-by-side diffs for edit/write tool calls

Stars
0
Language
JavaScript
Created
Aug 25, 2026
Updated
Aug 25, 2026

Introduction

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 <profile>/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