lengmoXXL/dsh-git ↗★ 0

@lengmoxxl/dsh-git

A read-only git browser for the DeepSeek Harness Web GUI: a right-sidebar page with the session's working-tree changes and commit history, and the diff a click opens beside them. The host half reads the repository through ctx.fs and ctx.subprocess, so a routed (remote) execution world works unchanged. 适合需要在DSH界面内快速查看代码差异和提交历史的开发者。

Package
@lengmoxxl/dsh-git
Compatibility
Unverified
Harness peer range
^0.1.5-rc.1 || ^0.1.6-alpha.1
Cordis peer range
^4.0.2
Version
0.2.1
License
MIT
Last updated
Sep 20, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lengmoXXL/dsh-git

dsh-git

A DSH plugin that adds a Git page to the right sidebar: the working tree's changes and the recent commits on one side, and the diff a click opens on the other — read-only, highlighted, side by side. The list stays where it is, so two diffs can be put beside each other.

English | 中文

The Git page: changes and commits on the left, the diff a click opens beside them. Click a commit to expand its files.

Two columns, wrappedTwo columns, unwrappedOne column
The default: long lines wrap inside their halfEach half scrolls its own long lines; line numbers stay putOne column, each change as its removal then its insertion

Install

Needs Node 22.19+ (or 24+) and the DSH CLI.

dsh plugin --profile web add @lengmoxxl/dsh-git
dsh --profile web

Requirements, permissions, and limits

  • A git executable on PATH, and a Git working tree as the session's working directory.
  • Reads that repository through the Harness filesystem and runs git through the Harness subprocess: no network, no credentials, no other path.
  • Writes nothing — not the tree, not the index. Commands run with the DSH process's own privileges, and a large repository or diff takes time to gather and draw.

Release

From a clean main:

npm version patch -m "Cut %s"   # or minor / major
npm publish

License

MIT