kaziii/dsh-github-connector--packages-github-github-rest ↗★ 9
dsh-github-rest
GitHub REST v3 provider for the dsh-github capability seam — plain fetch (no octokit), per-operation credential-ref resolution, Link-header pagination, rate-limit and HTTP error mapping to GitHubError, idempotent pull request creation, and GHES baseURL support 为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.