Introduction

DeepSeek Harness (DSH) focuses on agent development and execution. During development, frequently switching between the terminal and code editor to perform Git operations (viewing changes, committing, and syncing) can disrupt flow state. young1lin/dsh-ui-gitworkbench is an out-of-tree Web UI plugin that adds a Git workbench chip to the DSH Web interface. Clicking the chip slides out a right-side panel that provides a complete file tree, diff viewing, history, branch comparison, staging, committing, and syncing, so all Git operations can be performed without leaving the browser.

Plugin Overview

  • Name: young1lin/dsh-ui-gitworkbench
  • Type: Out-of-tree Web UI plugin
  • Owner: young1lin
  • License: MIT

Core Features

The plugin integrates a Git status card into the DSH session header and provides a feature-rich drawer-style workbench:
* Status Display: Shows the current branch, ahead/behind counts, and additions/deletions counts in the session header.
* Change Management: File tree view with keyword filtering. Each file provides full side-by-side diff comparison with syntax highlighting. Supports file-level staging, unstaging, and discarding.
* History and Comparison: Provides a commit list view with filtering by user, path, and time. Supports comparing any two branches.
* Commit and Sync: Provides a commit box and supports fetch / pull / push operations.
* Worktree Simulation: Supports creating, exiting, and checking worktree status through tools in a session, suitable for agent environments.
* Appearance: Provides 7 themes, supports light/dark mode switching, and defaults to following the system.

Installation and Activation

Before installation, ensure the environment meets the requirements: DSH is installed and running, Node.js version >= 20, and pnpm version >= 10.

  1. Run the official installation command:
    dsh plugin --profile web add @young1lin/dsh-ui-gitworkbench
  1. After installation completes, restart the DSH service and perform a hard refresh in the browser (Ctrl/Cmd + Shift + R) to ensure the plugin loads.

Typical Usage

  • File Search: Press Ctrl / Cmd + F in the workbench panel to search files.
  • History Filtering: Use the user:, path:, and after: syntax in the history view to filter commit records.
  • Worktree Tools: Call the agent tools worktree_enter, worktree_exit, and worktree_status to manage isolated environments.

Use Cases and Notes

This plugin is suitable for developers who need to manage Git repository changes directly in the browser. The plugin runs with the permissions of the current DSH process, so ensure that you have read and write access to the target repository. All code is licensed under the MIT License.

Summary

By integrating a status card and a drawer-style workbench into the session header, this plugin deeply integrates Git operations into the DSH Web UI, greatly reducing developers’ switching cost between the terminal and the editor.