hy-sde/dsh-vcs--packages-vcs ↗★ 0

@hy-sde-org/dsh-vcs

Native vcs plumbing for DeepSeek Harness: the host ctx.vcs service (pi-vcs CLI resolution + probe, repo-info / rev-diff / staged-diff / worktree-diff / status / watch over the subprocess seam) wrapping the narrow native slice of the omp vcs surface; the git service stays the default path, as a standalone npm package. 提供轻量级原生VCS状态与差异查询。适合需要监控工作区变更的底层服务。

Package
@hy-sde-org/dsh-vcs
Compatibility
Unverified
Harness peer range
^0.2.0-rc.2
Cordis peer range
~4.0.4
Version
0.2.0-rc.2
License
MIT
Last updated
Oct 3, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hy-sde/dsh-vcs#bf131aea45e28ebce3ce8a0dad1967adac21d90a&path:packages/vcs

Configuration

import { Context } from '@deepseek-ai/cordis'
import vcsPackage from '@hy-sde-org/dsh-vcs'

const ctx = new Context()
ctx.plugin(vcsPackage, {
  vcsPath: '/usr/local/bin/pi-vcs',
  timeoutMs: 120000,
  maxStdoutBytes: 8 * 1024 * 1024,
  maxStderrBytes: 64 * 1024,
  graceMs: 5000,
  watchIntervalMs: 1000,
})