dsh-vcs
DiscoveredNative vcs plumbing for DeepSeek Harness: the host ctx.vcs service (pi-vcs CLI resolution + probe, repo-info / rev-diff / staged-diff / worktree operations).
[!NOTE] 📦 This plugin lives in the dsh-plugins monorepo — file issues & pull requests there. npm:
@hy-sde-org/dsh-vcs
dsh-vcs — native vcs service for DeepSeek Harness
A standalone public package: @hy-sde-org/dsh-vcs — the host-plane
ctx.vcs service: a thin, read-only wrapper around the user-installed
pi-vcs CLI (the narrow native slice of the oh-my-pi vcs surface, rendered
in-process by gitoxide) over the ctx.subprocess seam. It exposes
repo-info / rev-diff / staged-diff / worktree-diff / status / branch plus a
HEAD-change watch companion, every text surface byte-compatible with the
corresponding git diff output.
Published standalone so any DeepSeek Harness installation can mount
ctx.vcs without depending on the fork that originally hosted
@deepseek-ai/dsh-vcs. The package is purely additive and feature-detected:
ctx.git (TS/git-CLI) stays the default path, and ctx.vcs resolves only
when a pi-vcs binary is reachable (config → DSH_VCS_PATH → PATH) and
probing clean. No jj backend, no mutation verbs.
The
pi-vcsbinary is not shipped by this package — build it fromnative/pi-vcs-cli/in the hy-sde deepseek-harness fork (a Rust crate over gitoxide) and install it on PATH, exactly like theavCLI.
Install & mount
pnpm add @hy-sde-org/dsh-vcs
# or: npm install @hy-sde-org/dsh-vcs
dsh plugin --profile web add @hy-sde-org/dsh-vcs
The bundle ships a cordis.patch.yml (stock INSERT patch form) that adds the
vcs row to the profile's base composition — host-plane, stateless per call,
one instance across sessions. Peers: @deepseek-ai/cordis and
@deepseek-ai/dsh-subprocess (the host must mount a subprocess
implementation, e.g. @deepseek-ai/dsh-subprocess-local). No model-facing
tools ship here, so no agent preset is needed.
Development
pnpm install
pnpm -r check # strict typecheck (src + tests)
pnpm -r test # service tests over a fake pi-vcs shim
pnpm -r build # tsc -> dist
bash scripts/release-public.sh --check # pre-publish validation
bash scripts/release-public.sh --publish # publish to npm
Layout
packages/vcs/ @hy-sde-org/dsh-vcs — the host ctx.vcs service
src/index.ts Cordis plugin registration (apply → ctx.vcs)
src/service.ts VcsService + VcsCommandError + effect runner
src/types.ts CLI JSON payload types (repo-info/status/watch)
tests/service.spec.ts 18 tests over a fake pi-vcs shim
cordis.patch.yml host-plane row insert (stock INSERT form)
Comments
Loading…
Similar plugins
by bx33661
Native DeepSeek Harness workbench for evidence-first vulnerability research, reproduction, and reporting.
★ 3
MIT
TypeScript
Sep 10, 2026
dsh plugin --profile web add dsh-omvby rogerdigital
DeepSeek Harness (dsh) plugin that adds a SearXNG-backed web_search provider to the ctx.web seam — free, self-hosted, key-less search instead of paid Exa/Perplexity APIs.
★ 7
↓ 550/wk
MIT
TypeScript
Sep 21, 2026
dsh plugin --profile web add dsh-searxngby cyanseek
Task-aware native capability manager for DeepSeek Harness — use, prepare, and verify built-in DSH tools before adding another plugin.
★ 4
MIT
TypeScript
Sep 28, 2026
dsh plugin --profile web add dsh-native-playbookby yoggu
Brave-backed ctx.web search provider and settings card for the DeepSeek Harness.
★ 0
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-brave-search-providerby yewenyell-lang
Durable workspace-owned Workloads and Runtime Center for DeepSeek Harness
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-workloads-local-ui1by taxueseek
DeepSeek Harness 插件:原生上传管线上的文件夹按钮 + read_document 文档解析(PDF/DOCX/XLSX)。The folder button on the native upload pipeline, plus the read_document parser.
★ 38
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add dsh-files