rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:DashingMonkey/dsh-git-panel
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Git workspace panel for DSH (Web and Desktop): discover Git repositories under the current workspace, stage & commit like VS Code Source Control, and generate commit messages with LLM under configurable rules.
管理当前工作空间下的所有 Git 仓库,提供类 VS Code Source Control 的暂存/提交体验,并通过可配置的提交规则系统增强「AI 生成提交信息」能力。同一份插件同时适配 dsh web(命令行版)与 DeepSeek Harness 桌面版——两侧是各自独立的 profile,装到哪个由安装脚本的参数决定。
前置要求:git 在 PATH 中;建议 Windows(Windows 专用探测在其他平台自动降级)。
目标环境二选一(或都装,互不影响):
| 目标 | profile | 说明 |
|---|---|---|
| 命令行版 | ~/.dsh/profiles/web |
npx @deepseek-ai/dsh web 可运行 |
| 桌面版 | ~/.dsh/profiles/desktop |
已安装并至少启动过一次 DeepSeek Harness 桌面应用 |
node scripts/install.mjs desktop # 桌面版(先完全退出桌面应用)
node scripts/install.mjs web # 命令行版(dsh web)
node scripts/install.mjs # 只有一个 profile 时自动选中;两个都在会提示二选一
./install.sh [web|desktop] 与 node scripts/install.mjs 等价(Git Bash / WSL / macOS / Linux)。
卸载用 node scripts/uninstall.mjs desktop(或 web)。
为什么两个 profile 的安装方式不同? 命令行版走「复制式」:构建产物直接复制进 profile 的
node_modules并在cordis.patch.yml注册插件行,不依赖 pnpm。桌面版的 profile 由 Electron 应用独占管理(DSH 明确拒绝dsh --profile desktop的普通启动与配置导出),只能用桌面应用 自带的 CLI 把本包登记为link:依赖——安装脚本会自动定位应用安装目录并调用它,你不需要 手敲那串长命令。
dsh plugin(官方机制;需要 pnpm 在 PATH)git clone https://github.com/DashingMonkey/dsh-git-panel.git
cd dsh-git-panel
npm run build # 本地目录安装需先构建
npx @deepseek-ai/dsh plugin --profile web add .
# 桌面版必须用桌面应用自带的 dsh(普通 dsh 会拒绝 desktop 这个保留 profile):
& "<应用安装目录>\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add .
卸载:... plugin --profile <web|desktop> remove @dsh-local/git-panel。
桌面版自带插件管理页(侧栏 Plugins),「Add plugin」接受包名(可带版本)、Git 地址、 tarball 或本地绝对路径——填本仓库路径即可安装,内部走同一套组合包机制与自带 pnpm, 不需要终端。装完同样需要重启应用(或按提示重载)。
git 仓库 / tarball / 手动安装及迁移到另一台机器,见安装详解。
重启(桌面版需完全退出应用再打开)后,侧栏底部出现 Git Panel 按钮。面板自动跟随当前工作空间发现仓库;顶部提交区支持按生效规则生成 commit message(只填入不提交)。
面板总览:

Diff 窗口:

提交规则编辑器:

MIT © 2026 DashingMonkey
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。