hy-sde/dsh-git--packages-git-tool-git ↗★ 0
@hy-sde-org/dsh-tool-git
Model-facing agentic git tools (commit analyze + commit_apply split execution with validation and a P2 review gate on push, review with P0-P3 verdicts, and worktree isolated per-task checkouts with durable leases) over the host ctx.git service — a standalone plugin for DeepSeek Harness with no upstream harness changes required. 适合需要让模型分析变更、分步提交、并行代码评审及管理隔离Git工作树的任务。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
@hy-sde-org/dsh-tool-git
Model-facing agentic git tools over the host ctx.git service:
commit— analyze the current git changes and produce a conventional-commit split proposal (read-only; never edits the repo).commit_apply— execute a validated split-commit plan: hunk-aware staging, lock-file autoplacement, topological dependency order, cycle rejection before any write, atomic per-commit execution,dryRunpreview.--pushpushes the current named branch (upstream recorded) and is released only by a currentreview --target stagedship verdict.review— fan the diff out to parallel reviewer subagents, rank every finding P0–P3 with confidence, and aggregate a ship/reject verdict; astagedreview records the verdict consumed by thecommit_apply --pushgate.worktree—acquire/release/list/prune/destroyover a persistent pool of isolated git worktrees with durable leases. The pool is shared infrastructure: never administer a slot you do not own — pruning or destroying a sibling slot destroys another task's live work.
Read surfaces (commit / review) resolve through a host vcs service when
one is registered and probing clean, and otherwise degrade to ctx.git —
the unpublished @deepseek-ai/dsh-vcs is never required.
Plus the git:tools system-prompt section. Agent-plane: the package mounts
as a preset row (inject = tools, systemPrompt, git) and resolves the host
git service; it registers no service of its own.
Install & mount
dsh plugin --profile web add @hy-sde-org/dsh-git @hy-sde-org/dsh-tool-git
Copy examples/agent-preset/ to ~/.dsh/.agent-presets// and select it
in the Web UI preset picker. The preset row configures
reviewProvider: spawn and maxReviewers: 4.
Development
pnpm install
pnpm run check # tsc --noEmit
pnpm run build # tsc -p tsconfig.build.json → dist/
pnpm run test # vitest (47 tests: commit/review/worktree/push-gate end-to-end on real temp repos)