DeepSeek Harness 插件

dsh-git-gui

Git GUI panel for the DeepSeek Harness web surface: visualize working-tree changes (including every modification the agent makes), stage/commit/branch/merge/log/pull/push/stash/revert — all from the(英文原文)

跳到安装方式

来源信息

GitHub 仓库
lovetree128/dsh-git-gui
最近更新
2026年8月18日
分类
通知与集成
GitHub stars
3
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/lovetree128/dsh-git-gui
插件名:dsh-git-gui
作者:lovetree128

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-git-gui

<p align="center"> <a href="./README.md">English</a> · <a href="./docs/README.zh-CN.md">简体中文</a> </p>

<p align="center"> <img alt="Version 0.1.2" src="https://img.shields.io/badge/version-0.1.2-blue"> <img alt="DeepSeek Harness rc.6" src="https://img.shields.io/badge/dsh-0.1.0--rc.6-skyblue"> <img alt="MIT License" src="https://img.shields.io/badge/license-MIT-green"> </p>

A Git graphical interface plugin for the DeepSeek Harness Web UI: view, stage, commit, and revert project changes directly in the browser, while seeing every modification the Agent (harness) makes to workspace files in real time.

> Current version: v0.1.2 — Visual operations for viewing changes, committing/reverting, remote synchronization, and more are now available. Branch management, stash, and the AI modification timeline are planned to be completed and released in v0.2.0. See the [Roadmap](#roadmap) below for details.

Features

  • Changes View: Changes are grouped into "Staged / Modified / Untracked / Merge Conflicts". Click to view line-level diffs, stage/unstage changes with one click, and discard changes or delete untracked files with confirmation dialogs.
  • File Tree View: Browse all files in the workspace (automatically respecting .gitignore). File names are color-coded by status — unmodified files use the default text color (black in light mode / white in dark mode), modified but uncommitted files are blue, and untracked files are red. Supports directory collapsing and name filtering. Click an unmodified file to preview its contents directly.
  • Log View: View commit history (hash / reference badges / author / relative time), with support for reverting individual commits using revert.
  • Nested Repository Detection: When the session workspace itself is not a Git repository, the plugin automatically searches subdirectories for a single nested repository and uses it as the operation root (for example, when the repository is located in the dsh-git-gui/ subdirectory of the workspace). If multiple nested repositories are found, the plugin explicitly prompts the user instead of guessing which one to use.

Installation

GitHub Source

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

npm Source

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

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

Update

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

Uninstall

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

Where to start

After installing the plugin, open the DeepSeek Harness Web UI and click the added button in the bottom-left corner to open the sidebar. Then just enjoy the version control.

Structure

Host (Node):  GitService (@Remote, namespace `git`, Typert SRC mode → git/* endpoints)
               ├─ runner.js   spawn git (no shell) + per-workspace queue + output limit + error classification
               ├─ parse.js    porcelain v2 / unified diff / log / refs / stash parsing
               └─ activity.js session/event → (session, turn, tool, file) timeline (Stage 2)

Client (Browser): sidebar.footer.action entry button (uncommitted-count badge) + shell.overlay floating panel
               ├─ control.js  session cwd synchronization + polling + operation runner + confirmation dialogs
               ├─ v-*.js      view components (React.createElement, no JSX)
               └─ styles.js   theme tokens (--dsw-alias-*) and styles, adaptive to light/dark mode

Roadmap

StageContentStatus
v0.1.1Changes / file tree / log + commit, stage, discard, revert, Pull/Push/Fetch + Add Remote, dark mode, nested repository detection✅ Current version
v0.2.0 (unreleased)Branch management (local/remote lists, switch/create, merge, ahead/behind)🔧 In progress
v0.2.0 (unreleased)Stash (push/pop/apply/drop)🔧 In progress
v0.2.0 (unreleased)AI modification timeline (session × turn × tool → file attribution view)🔧 In progress
Future ideasReset entry point, file history (git log -- <path>), settings card (polling interval / Git path / identity fallback), interactive rebase (PTY)💡 To be designed

Limitations

  • When panel operations and Agent edits occur concurrently, Git's own state is treated as authoritative. A warning bar is displayed while the session is running, and operations such as discarding changes require confirmation.
  • Untracked file content previews are limited to 512 KiB; diff output is limited to 4 MiB (truncation is marked); the file tree supports a maximum of 3,000 files.
  • Credentials rely on existing Git credential helpers (WinCred / SSH agent). Interactive password input is disabled (GIT_TERMINAL_PROMPT=0) to ensure operations do not hang.
  • On Windows, if the repository's .git directory was created by a process running with administrator privileges, tools running with normal privileges, such as PyCharm, need to execute git config --global --add safe.directory '<path>' (Git 2.35+ hijacking protection).
  • The plugin has not yet been tested on macOS or Linux. Please report any issues you encounter.