valing1837/dsh-plugin-github ↗★ 0
dsh-plugin-github
Host-only GitHub integration for DeepSeek Harness: repo, pull-request and review tools over the GitHub REST API. The token resolves from the DSH credentials domain, never from the plugin source.
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:valing1837/dsh-plugin-github配置项
全部有默认值,可在 profile 的 patch 里按行覆盖:
| 键 | 默认 | 说明 |
|---|---|---|
tokenRef | GITHUB_TOKEN | 凭证域引用名 |
token | — | 字面 token(不推荐) |
apiBase | https://api.github.com | REST API 基址 |
gitHost | github.com | 构建 clone/push URL 用,GitHub Enterprise 改这里 |
gitPath | git | git 可执行文件 |
sslBackend | openssl | 强制 git 的 http.sslBackend;置空则用 git 自己的默认 |
authorName / authorEmail | DeepSeek Harness / dsh@localhost | 仅在仓库无身份时使用 |
defaultOwner | — | 省略 owner 时假定的用户/组织 |
userAgent | dsh-plugin-github | 请求头 |
approveWrites | true | 是否对写操作走人工审批(ask,无应答方则拒绝) |
reviewMinSeverity | warning | 成为行内评论的最低严重度:error / warning / note |
reviewMaxComments | 20 | github_analyze_pull 产出的行内评论上限(≤50) |
largeChangeLines | 800 | 改动行数超过它就把 PR 标为 large |
sslBackend 默认 openssl 是有意的:Windows 证书库在受限宿主里可能取不到,改用 OpenSSL 可绕开
(实测沙箱内 schannel 会报 SEC_E_NO_CREDENTIALS,而 OpenSSL 正常)。