dsh-zgit

Zero-git source & release fetcher for DeepSeek Harness

Install
dsh plugin --profile web add dsh-zgit

What is dsh-zgit?

dsh-zgit (the /zgit plugin) is a DeepSeek Harness (dsh) plugin for when the first thought about fetching source code or binary releases from a git host should not be git clone.

It fetches over plain HTTPS, with no git binary and zero runtime dependencies:

Tools

Toolgit analogWhat it does
zgit_ls_remotegit ls-remoteBranches, tags, ref→sha resolution, default branch, latest release tag.
zgit_clonegit clone / git archiveDownloads the source archive at a ref, extracts it as a simulated checkout (.zerogit/meta.json); supports subdir sparse extraction and explicit archive URLs.
zgit_fetch_releasegh release downloadLists or downloads release assets (latest or a tag) with glob patterns and sha256 verification.
zgit_showgit showFetches one raw file at a ref.
zgit_ls_treegit ls-treeLists files/dirs at a ref via the forge API.
zgit_loggit logRecent commits at a ref.
zgit_diffgit diffCompare two refs: changed-files summary or a single-file unified diff.
zgit_statusgit status + git fetchChecks a simulated checkout against the remote: moved ref, commits behind.
zgit_downloadcurlAny direct HTTPS download into the workspace, capped, with optional sha256.

Plus the human-plane command /zgit (Web UI slash menu / TUI): clone, get, show, ls, log, diff, resolve, status, download — the same operations without the model in the loop.

Forge support

Repo references accept owner/repo, owner/repo@ref, full https:// URLs, git@host:owner/repo.git, and ssh:// URLs.

FAQ

What is dsh-zgit?

dsh-zgit (zgit) is a DeepSeek Harness plugin that fetches source archives and release assets from git hosts over plain HTTPS. It needs no git binary and adds no runtime dependencies.

Do I need git installed?

No. Everything runs over HTTPS against the forge's archive, raw-file and release endpoints.

Which git hosts are supported?

GitHub, GitLab (API v4, nested groups) and Gitee (API v5). Generic GitHub-style self-hosted hosts (Gitea, GitHub Enterprise) work for archive/raw URL guessing.

How do I install it?

dsh plugin --profile web add dsh-zgit — the package is on npm. The Git form github:zukunftsholz/dsh-zgit and a local checkout (./dsh-zgit) work too.

Is it a git replacement?

It reimplements the read side of git (ls-remote, show, ls-tree, log, diff, status) over the forge APIs, plus release-asset download. It does not do writes or pushes.

Are downloads verified?

Release assets and zgit_download support sha256 verification against shipped checksum files. Zip entries are CRC32-verified; gzip is decompressed under a hard cap (bomb guard).

Which DSH version does it target?

DSH 0.1.5-rc.2 (cordis 4.0.2, schemastery 3.18.2).

What license is dsh-zgit?

MIT.


中文简介

dsh-zgit/zgit 插件)是一个 DeepSeek Harness(dsh)插件:当需要从 git 仓库拉取源代码或二进制发行版时,第一想法不再是 git clone,而是更敏捷的纯 HTTPS 方案。它无需 git 二进制、零运行时依赖

安装:

dsh plugin --profile web add dsh-zgit

支持 GitHub、GitLab(API v4,含嵌套分组)、Gitee(API v5),以及通用 GitHub 风格自建主机。完整说明见 README.zh.md