dsh-git
界面增强 已归档

dsh-git

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.

1
Stars 标星
2
Forks 分支
1
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
20.6 MB
仓库大小
2 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:lengmoXXL/dsh-git
git clone https://github.com/lengmoXXL/dsh-git.git
git clone git@github.com:lengmoXXL/dsh-git.git
README.md main

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, wrapped Two columns, unwrapped One column
The default: long lines wrap inside their half Each half scrolls its own long lines; line numbers stay put One 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