kaziii/dsh-github-connector--packages-github-github-rest ↗★ 9
dsh-github-rest
GitHub REST v3提供方,基于fetch实现分页、限流与错误映射。 为GitHub接缝提供REST实现,适合使用GitHub或企业版并需读写仓库的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kaziii/dsh-github-connector#34117bfad325e47a30c5146d4b7c2421d07594b5&path:packages/github/github-rest说明文档
阅读完整 README ↗Configuration
| Field | Default | Semantics |
|---|---|---|
credentialRef | GITHUB_TOKEN | Environment-variable NAME the token resolves through — a reference, never the secret itself, so the settings document stays token-free. |
baseURL | https://api.github.com | API root. Point it at https://ghes.example.com/api/v3 for GitHub Enterprise Server; trailing slashes are tolerated. |
The config doubles as the github-rest settings section (installSettingsSection): while a settings seam is mounted, user changes apply LIVE — both fields are re-read on every operation — and when it detaches, the composition entry config takes over again.