FMDD61/dsh-oauth-copilot

Sign in to GitHub Copilot with the device-code flow and register a github-copilot LLM route inside DeepSeek Harness.

dsh-oauth-copilot adds GitHub Copilot sign-in and a model route to DeepSeek Harness: sign in to GitHub through the device-code flow, store the Copilot grant through the harness credential records, and register a github-copilot LLM route backed by pi-ai's Copilot model catalog — all on official dsh seams (ctx.credentials, ctx.authorization, ctx.llm). The README explains why it does not use the community dsh-oauth base (its semver peers are incompatible with the shipped dsh 0.1.x line) and notes the login keeps working when dsh-llm-pi-ai's registered Copilot flow is present. The package ships a cordis.patch.yml (llm-github-copilot) loaded from dsh.bundle.patch.

Models & Providers ★ 1
View on GitHub ↗

Install

dsh plugin --profile web add dsh-oauth-copilot

Copied verbatim from the README's 'Published form (no clone or build needed)' block, followed by 'Restart dsh web'. The README also documents a development form (build from a checkout then dsh plugin --profile web add /path/to/dsh-oauth-copilot). Sign-in itself is a separate, human-only CLI step (dsh-copilot-auth login, or npx -y dsh-oauth-copilot login).

Compatibility

The README says it is built and verified against dsh 0.2.0-rc.2 / pi-ai 0.87.1, with peer ranges >=0.1.5-rc.1 <0.3.0-0 covering the 0.1.x and 0.2.x host lines (0.2.1-alpha included) and refusing the whole 0.3.0 prerelease line. Sign-in is a human-only terminal operation with no LLM involvement, so prompt injection in a non-official model cannot start or drop an authorization. Only github.com is supported — GitHub Enterprise is not.

Details

FAQ

Does it support GitHub Enterprise?
No. The README's Known limitations state only github.com is supported and GitHub Enterprise is not.
Can a model trigger the sign-in?
No. The README says sign-in is a human-only terminal operation with no LLM involvement, so prompt injection in a non-official model cannot start or drop an authorization.

Alternatives

btspoony/dsh-llm-fallbacks · BruceLanLan/dsh-tier-router · Jensen-Yao/dsh-model-palette

More plugins in Models & Providers

Browse more in Models & Providers

Guides for Models & Providers plugins