lengmoXXL/dsh-git ↗★ 0

@lengmoxxl/dsh-git

在右侧边栏提供只读的Git变更与历史浏览器 适合需要在DSH界面内快速查看代码差异和提交历史的开发者。

包名
@lengmoxxl/dsh-git
兼容性
待验证
Harness 依赖范围
^0.1.5-rc.1 || ^0.1.6-alpha.1
Cordis 依赖范围
^4.0.2
版本
0.2.1
许可证
MIT
最近更新
2026年9月20日

安装

$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