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.

包名
dsh-plugin-github
兼容性
待验证
Harness 依赖范围
>=0.2.0-rc.2
Cordis 依赖范围
^4.0.2
版本
0.1.0
许可证
MIT
最近更新
2026年10月1日

同名包的其他仓库

安装

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

配置项

全部有默认值,可在 profile 的 patch 里按行覆盖:

键默认说明
tokenRefGITHUB_TOKEN凭证域引用名
token—字面 token(不推荐)
apiBasehttps://api.github.comREST API 基址
gitHostgithub.com构建 clone/push URL 用,GitHub Enterprise 改这里
gitPathgitgit 可执行文件
sslBackendopenssl强制 git 的 http.sslBackend;置空则用 git 自己的默认
authorName / authorEmailDeepSeek Harness / dsh@localhost仅在仓库无身份时使用
defaultOwner—省略 owner 时假定的用户/组织
userAgentdsh-plugin-github请求头
approveWritestrue是否对写操作走人工审批(ask,无应答方则拒绝)
reviewMinSeveritywarning成为行内评论的最低严重度:error / warning / note
reviewMaxComments20github_analyze_pull 产出的行内评论上限(≤50)
largeChangeLines800改动行数超过它就把 PR 标为 large

sslBackend 默认 openssl 是有意的:Windows 证书库在受限宿主里可能取不到,改用 OpenSSL 可绕开 (实测沙箱内 schannel 会报 SEC_E_NO_CREDENTIALS,而 OpenSSL 正常)。