← Back to list

dsh-auto-git

DeepSeek Harness Other Low risk

Runs git init in each newly registered DSH workspace, with an empty initial commit by default, so git-aware plugins have a repository to attach to; directories already inside a work tree are skipped.

在 DSH 每次注册新工作区时自动 git init 并补一个空提交;已在工作树内的目录会被跳过。

How to install

DeepSeek Harness dsh plugin add github:zhitiaojun/dsh-auto-git

About

dsh-auto-git 为**每个新注册的 DSH 工作区**自动 git init,让 git 相关插件(如 @linxin666/dsh-client-ui-git-graph 的分支胶囊 / Git 图谱)在每个工作区都能出现。 为什么需要它 git-graph 插件的 host 侧 /git/* 路由有两道门(见其 src/index.ts 的 createWorkspaceGate 与 src/host/git-service.ts): 1. 请求路径的 realpath 必须**恰好等于**某个已注册工作区路径(workspace.path === canonical,不接受子目录、不接受任意目录); 2. 该路径必须是 git 仓库(git rev-parse --show-toplevel 成功),否则 status 返回 null。 前端 BranchChip 在 repo === null 时直接 return null —— 于是"非 git 工作区"里这个插件完全没有 UI。所以想让 git 功能"每个工作区都有",唯一办法是让工作区目录本身是仓库。 它做什么 **注册时**:监听 domain/changed(domain === 'workspace' && table === 'workspaces' && operation === 'put'),…

Recommendation signals

45 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
45 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
JavaScript
GitHub stars
0
mo. downloads
Last push
2026-09-15
Created
2026-09-14

Links

GitHub ↗ Report issue ↗

Basic safety check

Findings
curated 收录但无 npm 包/安装命令
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
dsh, dsh-plugin, git, workspace

Related plugins

DeepSeek Harness Featured
Score72

dsh-web

zhu1090093659/dsh-web-ui/tree/main/packages/dsh-git-graph

Git branch selector and Git graph for the dsh web GUI: switch branches and explore branch-lane and commit history from the conversation header.

☆ 6.3K ↓ – Other
DeepSeek Harness Featured
Score72

dsh-web

zhu1090093659/dsh-web/tree/main/packages/dsh-git-graph

Git branch selector and Git graph for the dsh web GUI: switch branches and explore branch-lane and commit history from the conversation header.

☆ 7.9K ↓ – Other
DeepSeek Harness Featured
Score71

DSH_VsCodeMode

Lenonss/DSH_VsCodeMode

VSCode-style editing experience for DeepSeek Harness: a Monaco-based central file editor (tabs, Ctrl+P quick open, status bar) and interactive diff review of agent edit/write results with per-change Keep/Undo, rollback and archiving, persisted across restarts.

☆ 12 ↓ 9.6K Other
DeepSeek Harness Featured
Score70

dsh-github

PerryLink/dsh-github

Official-grade GitHub CI integration: a composite action.yml, a polling PR review bot with idempotent inline comments and a status-check gate, plus PR/issues tools with every write gated by human approval.

☆ 15 ↓ 3.2K Other