Introduction

DSH’s plugin mechanism allows extending capabilities into the Web UI. The community directory is an independent site with no official affiliation with DeepSeek/Huansuan and is not equivalent to the official app store. For workflows using Agents to modify workspace files, viewing Git changes directly in the browser, and executing stage, commit, and revert, is more direct than switching back and forth between terminals. dsh-git-gui is a Git graphical user interface plugin: it allows viewing, staging, committing, and reverting project changes in the browser, and enables users to see Agent (harness) modifications to workspace files in real-time.

Below is an introduction to its positioning, core capabilities, installation method, and precautions.

Positioning

lovetree128/dsh-git-gui is a browser-side plugin for the DeepSeek Harness Web UI. It mainly solves three problems:

  • View workspace file status, line-level diffs, and commit history in the browser.
  • Perform common Git operations such as stage, unstage, commit, and revert on changes.
  • Provide an operation entry point on the same side as the Web UI when the Agent modifies files.

The plugin is licensed under the MIT License.

Core Features

Changes View

  • Categorize changes into Staged, Modified, Untracked, and Merge Conflicts.
  • View line-level diffs.
  • Support stage/unstage.
  • Confirmation is required when discarding changes or deleting untracked files.

File Tree View

  • Browse workspace files, respecting .gitignore.
  • Color-code files by status.
  • Support directory collapsing and filtering by name.
  • Preview content of unmodified files.

Commit History View

  • View commit history.
  • Support reverting individual commits.

Nested Repository Detection

  • When the session workspace is not a Git repository, the plugin searches for a unique nested repository and uses it as the operation root directory.
  • If multiple nested repositories are detected, the plugin prompts the user to choose rather than guessing automatically.

Remote Sync and Dark Mode

  • Provides remote sync capability.
  • Supports dark mode.

Installation and Activation

Can be installed from GitHub:

dsh plugin --profile web add github:lovetree128/dsh-git-gui

Can also be installed from npm:

dsh plugin --profile web add @amorligno/dsh-git-gui

After installation, restart dsh web and refresh the browser page.

Update and Uninstall

Update:

dsh plugin --profile web update @amorligno/dsh-git-gui

Uninstall:

dsh plugin --profile web remove @amorligno/dsh-git-gui

Typical Usage

  1. Open the DeepSeek Harness Web UI.
  2. Click the newly added button in the bottom left to open the sidebar.
  3. View changes, file tree, and commit history in the sidebar.
  4. Execute stage, commit, revert, or confirm discarding changes as needed.

Use Cases and Precautions

Suitable for users who wish to view both the Agent workspace and Git status in the DSH Web UI simultaneously. Precautions before use:

  • The plugin runs with the permissions of the current dsh process; it is recommended to check the source code and confirm the MIT license before installing.
  • The npm package name @amorligno/dsh-git-gui does not match the GitHub owner lovetree128; the source material has not confirmed the relationship between the two; please verify the source yourself before installing.
  • When panel operations and Agent edits occur simultaneously, rely on the Git status itself.
  • A warning bar will be displayed during session execution; operations like discarding changes require confirmation.
  • The content preview limit for untracked files is 512 KiB; diff output limit is 4 MiB; the file tree supports up to 3,000 files.
  • Credentials rely on existing Git credential helpers; interactive password input is disabled, GIT_TERMINAL_PROMPT=0.
  • On Windows, if the .git directory was created with administrator privileges, standard privilege tools may need to execute:
git config --global --add safe.directory '<path>'
  • The plugin has not yet been tested on macOS or Linux.
  • Descriptions of features like branch, stash, and merge appearing in the material are not considered currently verified capabilities in this document.

Links

  • Community Directory: https://www.skillhub.cn/plugins/lovetree128/dsh-git-gui
  • GitHub: https://github.com/lovetree128/dsh-git-gui