DeepSeek Harness plugin

dsh-code-review-coostack

Codex-style per-turn code change summaries, review tab, and guarded undo for DeepSeek Harness

Jump to install

Source facts

Repository
CooStack/dsh-code-review
Latest update
Aug 19, 2026
Category
Tools & Capabilities
GitHub stars
5
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/CooStack/dsh-code-review
Plugin: dsh-code-review-coostack
Author: CooStack

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-code-review

![DSH Plugin](https://github.com/topics/dsh-plugin) ![License: GPL-3.0-only](LICENSE)

English | 简体中文

<img width="2255" height="812" alt="image" src="https://github.com/user-attachments/assets/19f7bfd7-aef0-490d-87ac-d7a8321eb2d9" />

A community DeepSeek Harness Web plugin for reviewing code changes turn by turn. It adds a Codex-style change summary, a resizable diff sidebar, a workspace-relative file tree, syntax highlighting, and guarded undo for safe iteration in a shared workspace.

This is an independent community plugin. It is not an official DeepSeek product and does not imply DeepSeek endorsement.

<p align="center"> <img width="2255" height="812" alt="dsh-code-review change review sidebar" src="https://github.com/user-attachments/assets/19f7bfd7-aef0-490d-87ac-d7a8321eb2d9"> </p>

Highlights

  • Turn-level review — See added and removed line totals, open a completed turn from the conversation, and jump between changed files without leaving the chat.
  • Code and file tree together — Inspect the selected unified diff on the left and a searchable, workspace-relative file tree on the right. The inner divider is independently draggable and persisted.
  • Large, practical sidebar — Resize the review sidebar beyond the shell's former 520px cap. The layout collapses the left navigation when a narrow window needs the space and restores it when the review closes.
  • Parent and child aggregation — Changes recorded by ordinary subagents and workflow children are projected into the parent review. All agents write to the same workspace immediately; no artificial merge step is introduced.
  • Syntax-aware diffs — Plugin-owned Shiki highlighting tokenizes complete old and new files before mapping tokens back to diff rows, so multiline comments and strings keep their grammar state.
  • Light and dark palettes — Configure syntax, diff, gutter, and omitted-line colors separately for light and dark themes.
  • Font control that does not surprise you — Type to move the best matching font candidate to the top of the menu. A font is applied only after clicking a candidate or pressing Enter. System font families can be loaded on demand through Chromium Local Font Access.
  • Guarded undo — Undo uses recorded before-and-after snapshots, resolved sandbox policy, filesystem version guards, and exact same-file content chains. Ambiguous, stale, or active-agent changes are refused instead of overwritten.
  • Native DSH integration — Uses DSH conversation nodes, session utility slots, settings plugin cards, theme events, and the DSH Menu primitive rather than replacing the host shell.

Install

The repository contains the prebuilt client bundle, so a GitHub source install is enough:

dsh plugin --profile web add github:CooStack/dsh-code-review#main

Restart the DSH Web profile after installation so the Host and Client plugin graph is rebuilt.

To install a local checkout while developing:

git clone https://github.com/CooStack/dsh-code-review.git
dsh plugin --profile web add file:./dsh-code-review

The profile command forwards the package to the profile's package manager. To remove it:

dsh plugin --profile web remove dsh-code-review

Use

After restarting DSH Web, completed turns with recorded changes expose the 变更 utility in the conversation header. Open it to review the selected turn, search the file tree, inspect a unified diff, or open the source file in the workspace.

The conversation summary node also exposes changed files. Selecting a file opens the matching turn and path in the review sidebar.

Settings

Open:

设置 -> 插件 -> 插件配置 -> dsh-code-review

The card is collapsed by default and contains both settings groups:

  • Font — Load system fonts, type to reorder candidates, then click or press Enter to apply one. Typing and clearing a draft never changes the currently applied font.
  • Code highlighting — Edit light and dark palettes independently, reset one palette, reset all overrides, and preview the resulting colors before returning to a diff.

The plugin applies the code font only to its diff renderers. The selected font and highlighter overrides are persisted through the DSH code-review settings namespace; layout dimensions remain browser-local preferences. Existing browser-local palette data is retained only as a compatibility fallback.

Undo safety

Undo is intentionally conservative:

  • It never runs while the parent agent or an owning descendant is active.
  • Every file is preflighted against the recorded final content before a write is attempted.
  • Existing files use the filesystem provider's version guard.
  • Concurrent same-file writes are ordered through an exact before -> after content chain, not callback timestamps.
  • Broken chains, ambiguous same-baseline writes, external edits, and stale snapshots return a conflict without overwriting newer work.
  • Historical results from before installation can be displayed when durable diff metadata exists, but they cannot be undone without complete file snapshots.

Reversible snapshots are stored under:

${DSH_HOME:-~/.dsh}/code-review/

Development

npm install
npm test
npm run build

npm test covers host-side aggregation and undo safety, client registration and layout behavior, and detailed highlighter token categories. npm run build regenerates lib/client.bundle.js, the bundle consumed by the DSH Web client.

Scope and privacy

The plugin does not add a telemetry client, credentials flow, or background network service. Its host side records review metadata and snapshots through DSH services; its client side uses the active DSH theme and, when requested, the browser's local font enumeration API.

License

Copyright (C) 2026 CooStack.

This project is licensed under the [GNU General Public License v3.0](LICENSE) (GPL-3.0-only).