zukunftsholz/dsh-zgit ↗★ 1

dsh-zgit

Zero-git: fetch source code and binary releases from git hosts over plain HTTPS — no git binary, no clone. Simulates git for the DeepSeek Harness. 适合无git二进制或仅需轻量获取代码的场景,需留意下载、文件及日志项上限。

패키지
dsh-zgit
호환성
미검증
Harness peer 범위
>=0.1.5-rc.2
Cordis peer 범위
^4.0.2
버전
0.2.2
라이선스
MIT
최근 업데이트
2026. 9. 14.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zukunftsholz/dsh-zgit

Configuration

All config lives in the plugin row ($DSH_HOME/cordis.patch.yml, the profile patch, or an overlay):

- id: zgit
  config:
    clone: true          # per-tool toggles: lsRemote, clone, release, show,
    command: true        #   lsTree, log, diff, status, download, command
    timeoutMs: 120000
    maxArchiveBytes: 536870912      # 512 MiB clone cap
    maxDownloadBytes: 1073741824    # 1 GiB download cap
    maxFileBytes: 262144            # 256 KiB zgit_show cap
    maxTreeEntries: 5000
    maxLogCommits: 30
    maxDiffChars: 100000
    maxExtractedEntries: 100000
    workspaceRoot: ''               # fallback root (defaults to process.cwd()); tool calls prefer the calling session workspace
    userAgent: dsh-zgit/0.2.2
    tokenEnv: { github: GITHUB_TOKEN, gitlab: '', gitee: '' }   # env var names
    tokens:   { github: '', gitlab: '', gitee: '' }             # or direct values

Tokens raise API rate limits and enable private repos; the env-var name wins over a direct value.