kaziii/dsh-github-connector--packages-github-github-connect ↗★ 9

dsh-github-connect

GitHub连接服务,设备流授权、流程状态检测与远程方法。 提供GitHub授权与PR状态栏驱动,适合需要在会话中创建合并PR的用户。

包名
dsh-github-connect
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.6
Cordis 依赖范围
^4.0.1
版本
0.1.3
许可证
MIT
最近更新
2026年8月17日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kaziii/dsh-github-connector#34117bfad325e47a30c5146d4b7c2421d07594b5&path:packages/github/github-connect

Configuration

FieldDefaultSemantics
clientIdthe shared dsh-github-connector OAuth AppClient id for the Device Flow (a public identifier, not a secret). Override on GHES with an App registered on your instance.
credentialRefGITHUB_TOKENWhere the token is stored and resolved (credentials seam, env fallback).
apiBaseURL / authBaseURLgithub.com endpointsGHES: point apiBaseURL at /api/v3, authBaseURL at the GHES host.
hostgithub.comThe host a workspace remote must point at to activate flow-state.
cwd / baseBranchcalling session’s workspace, else process cwd / remote HEADcwd forces every git check into one directory (ADR-0010: normally the calling session’s header.cwd decides); baseBranch overrides the detected base.
scoperepoOAuth scope requested by the Device Flow.