dsh-review-panel: Cursor-style read-only code review in the DSH right panel

Introduction

After letting an Agent modify code in DeepSeek Harness (DSH), you need to confirm “which files were changed in this round, and how each line changed.” DSH’s built-in review capability focuses on hunk-level snippets, which is fine for a quick scan. But when you need to review against the complete file line by line, or jump between multiple changed files, the experience feels fragmented.

The community plugin dsh-review-panel (maintainer: sadgsk, category: client) brings Cursor-style read-only code review into the official DSH right sidebar: full source code, line-level inline diffs, a file tree and editor tabs, and it reuses common VS Code keyboard shortcuts. Below we explain what problem it solves, what it can do, and how to install and enable it.

What Is This

dsh-review-panel is a client plugin for DSH (dsh.client.platform: web, injected into the session UI and right sidebar). It adds a read-only “Code Review” page to the right sidebar, using Monaco to display the Agent’s changes from this round: added lines are colored across the entire line, deleted lines are shown inline with their original line numbers; combined with a file tree, multiple tabs and keyboard navigation, it feels like reviewing inside an editor rather than just looking at scattered diff blocks.

The plugin does not write files, commit to Git, or silently install dependencies; code changes and operations are still left to the DSH Agent. It is licensed under MIT.

Differences from DSH’s Built-in Review

Dimension DSH built-in review dsh-review-panel
Display granularity Hunk-level snippets Complete source of the whole file + line-level inline diff
Workspace Relatively lightweight File tree, tabs, Quick Open, workspace search, etc.
Navigation Basic F12 go-to-definition, Shift+F12 references, hover, outline, read-only diagnostics (depends on language services, degrades gracefully when unavailable)
Comparison baselines — Three: Agent this round / Git uncommitted / Code only, switchable in one click

Git and language servers are both optional; when they are absent from the environment, the plugin degrades automatically and does not block opening the review panel.

Core Features

Complete Source and Line-level Inline Diff

View the entire file content on the review page: added lines are highlighted across the whole line, deleted lines are kept inline with their original line numbers, making it easy to cross-reference context instead of just seeing a patch summary.

Three Comparison Baselines

Switchable in the UI:

  • Agent this round: baseline relative to the state before the Agent started this round
  • Git uncommitted: baseline relative to the current Git working tree uncommitted state (requires Git locally)
  • Code only: no diff overlay, just the current content

VS Code-style Workspace

  • File tree, editor tabs
  • Quick Open (Ctrl+P, or Ctrl+Alt+P when occupied)
  • Command Palette (Ctrl+Shift+P)
  • Workspace search (Ctrl+Shift+F)
  • Auto-follows DSH light/dark theme

Language Service Navigation (Optional)

Supported on a read-only basis: go to definition (F12 / Ctrl+click), find references (Shift+F12), hover info, document outline (Ctrl+Shift+O), read-only diagnostics. Specific capabilities depend on whether the workspace language server is available.

Read-only and Security Boundary

The review panel is read-only; it does not modify files on disk, execute Git commits, or install components in the background. Any write operations should be done in the Agent conversation.

Environment and Dependencies

  • DSH: requires 0.2.1-rc.2 or higher (the README badge says 0.2.1+; works on both Desktop and Web).
  • Git: optional, for the “Git uncommitted” baseline.
  • Language server: optional, for definition/reference/hover etc.; related capabilities degrade when absent.

The current plugin package version is 0.2.0 (see the package.json in the repository).

Installation and Activation

The installation method comes from the official README: paste the repository address into the DSH plugin UI; do not assemble CLI install commands yourself.

  1. Open Plugins in the left sidebar of DSH, and click Add Plugin in the top-right corner.
  2. Paste the repository address into the input box and click Install:
https://github.com/sadgsk/dsh-review-panel
  1. Restart DSH as prompted.
  2. Click + in the right sidebar and select Code Review.

If the entry has not yet appeared in the “+” menu, you can also click Changes this round above the chat input box to open the same panel.

The default keyboard shortcut to open code review is Ctrl+Alt+D (macOS: Cmd+Option+D). All commands are registered under DSH Settings → General → Keyboard Shortcuts, and can be rebound as needed.

Typical Usage

  1. After the Agent completes a round of code changes, open the panel with Ctrl+Alt+D or via the right sidebar + → Code Review.
  2. Open the files you care about in the file tree or via Ctrl+P, and use F7 / Shift+F7 to jump between changes.
  3. When you need to compare against the uncommitted workspace, switch the baseline to Git uncommitted; when you only want to read the current file content, switch to Code only.
  4. Once you have confirmed everything is correct, close the panel and continue in the conversation to have the Agent commit or make further changes.

During review you can use Ctrl+Tab to switch tabs, Ctrl+Shift+E to toggle the file tree, and Ctrl+F to search within the editor, with habits similar to VS Code (on macOS replace Ctrl with Cmd).

Use Cases and Notes

Suitable for:

  • Often running Agents in DSH that modify multiple files, requiring full-file + line-level diff for manual review;
  • Wanting to keep the file tree, multiple tabs, keyboard shortcut navigation during review, reducing switching between the IDE and DSH;
  • Needing to temporarily compare the two perspectives of Agent this round and Git uncommitted.

Notes:

  • The plugin runs with the current DSH process privileges; before installing, it is recommended to read the source code and the MIT license, and see THIRD_PARTY_NOTICES for third-party components.
  • The community directory skillhub.cn is an independent ecosystem site with no official affiliation with DeepSeek / High-Flyer; plugin lists and star counts etc. are based on real-time data from each site (GitHub currently shows around 1 star).
  • If some keyboard shortcuts conflict with the system or other applications, they will appear as unbound in settings and you will need to rebind them.

Issues and suggestions can be reported via GitHub Issues.

Conclusion

dsh-review-panel brings Cursor-style read-only review into the DSH right sidebar: complete source, line-level inline diffs, three comparison baselines and a VS Code-style workspace, filling the gap of whole-file review scenarios beyond “just looking at hunks.” Installation only requires pasting the repository address on the plugin page and restarting; then you can use it from the right sidebar or the “Changes this round” entry.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye