Preface

In DeepSeek Harness (DSH), agents can modify multiple files per conversation turn. While the chat window retains context during follow-up questions and debugging, there is still a lack of a centralized entry point for viewing specific code changes: which files were modified, how many lines were changed in each turn, and how to return to the corresponding question often require switching between logs and files.

dsh-codeui provides a code review workbench for this scenario: per-turn Review cards, a resizable Review panel on the right, and a turn navigation track.

What is this

dsh-codeui is a code review workbench plugin for DeepSeek Harness, maintained by YLingHao, under the MIT license.

The core problem it solves is: after AI continuously modifies code, view file differences by turn, view file paths, and jump back to the corresponding turn.

Core Features

Workspace Resource Manager

Provides a file tree, read-only Git status markers, branch, and lead/lag information.

All Git operations are read-only: no writes, no commits, no branch switching. Auto-degrades when Git is unavailable: hides Git markers, patch export shows a prompt.

Right-side Review Panel

Provides unified diff, side-by-side preservation, before/after/current view, and cumulative patch export.

The Review panel defaults to the unified view; click “Unified” to switch between simplified/complete file; click “Edit” to enter the current file editing mode.

IDE-like Code Display

Uses full file line numbers, highlights added/deleted lines, and provides common syntax highlighting.

Inline Editing in Review

Supports directly modifying current disk files, and supports auto-save, blur-save, as well as:

Ctrl+S
Cmd+S

Editing is restricted to the current workspace scope; paths outside the workspace are rejected, and reloading is required when the file version is outdated.

Review Card at End of Each Turn

After each conversation turn ends, a Review card is displayed below the artifact list, including:

Edited N files

and total added/removed lines, file paths, and for each file:

+/-

Right-side Turn Track

Hover to view file details card, click turn to jump to conversation.

Operation Capture & History Turn Details

Captures the following operations:

write
edit
str_replace_editor

The Host scans the complete persisted session logs to provide file modification details for unloaded historical turns.

Settings are persisted to:

localStorage

Installation and Enablement

dsh-codeui is currently primarily in the form of a static npm package for installation and maintenance; the dynamic Cordis plugin is kept for compatibility.

Installation can be done directly from GitHub without first publishing to npm. If you want users to execute the short command npm install dsh-codeui, you need to publish to the npm registry.

Installation command:

dsh plugin --profile web add github:YLingHao/dsh-codeui

This command uses the web profile to install the plugin from the GitHub repository.

Typical Usage

  1. Switch the resource manager in the bottom left corner.
  2. After each conversation turn ends, view the Review card below the artifact list; click a file or Review to open the right-side panel.
  3. The Review panel defaults to the unified view; click “Unified” to switch between simplified/complete file; click “Edit” to enter the current file editing mode.
  4. Hover over the question line on the right track to view the file details card; click the turn to jump to the conversation.
  5. Adjust plugin items in settings:
Settings → Code UI
Resource Manager
Review Panel
Git Markers
Plugin Language

Applicable Scenarios and Notes

Suitable for developers using DeepSeek Harness for code modification who wish to review AI changes turn by turn.

It is recommended to check the source code before installation. The plugin runs with the current dsh process permissions, and the source code and license should be part of the pre-installation confirmation items. The license for this project is MIT.

Links

https://github.com/YLingHao/dsh-codeui