본문으로 건너뛰기
L

dsh-git

lengmoxxl/dsh-git

DeepSeek Harness Web GUI용 읽기 전용 Git 브라우저입니다. 오른쪽 사이드바에 세션의 working tree 변경과 commit 기록을 표시하고 클릭한 diff를 옆에 엽니다. Host 부분은 `ctx.fs`와 `ctx.subprocess`로 저장소를 읽습니다(원문이 `so a r`에서 잘렸습니다).

설치

dsh plugin --profile web add github:lengmoxxl/dsh-git

README

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

관련 플러그인