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.
Install
dsh plugin --profile web add dsh-oauth-copilotCopied 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
- Repo: FMDD61/dsh-oauth-copilot
- Category: Models & Providers
- Stars: 1
- Version: GitHub repo FMDD61/dsh-oauth-copilot (MIT, per the README's License section); npm package dsh-oauth-copilot at 0.3.0 (registry check 2026-10-07; the README states Status 0.3.1, built against dsh 0.2.0-rc.2 / pi-ai 0.87.1).
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