lninghaha/dsh-coding-subscription-oauth
Coding-subscription OAuth for DeepSeek Harness: sign in once to SuperGrok / X Premium (Grok Build), ChatGPT Plus/Pro (Codex), Kimi Code, Claude Pro/Max and Google Antigravity from Settings, and use those subscriptions inside DSH without a second pay-as-you-go API key or pasting any token into chat.
dsh-coding-subscription-oauth brings coding-subscription OAuth to DeepSeek Harness. One plugin covers five providers — SuperGrok / X Premium (Grok Build), ChatGPT Plus/Pro (Codex), Kimi Code, Claude Pro/Max and Google Antigravity — with local OAuth so access and refresh tokens never enter chat, logs or HTTP status. Grok Build uses its dedicated cli-chat-proxy.grok.com route and official CLI fingerprint headers rather than the pay-as-you-go api.x.ai route; tokens are refreshed five minutes before expiry and a 401 invalidates the stored token and retries the step. The model selector lists only signed-in routes labelled (OAuth), and optional capabilities (Codex search, usage/quota, image generate/edit, Fast, Grok Imagine and an opt-in loopback OpenAI/Anthropic-compatible gateway) are default-off and apply live when enabled.
Install
dsh plugin --profile web add dsh-coding-subscription-oauth@0.8.5Copied verbatim from the README's Quick start (# 1. install the current npm release into the web profile). The same block then restarts the existing DSH Web process and opens Settings → Coding OAuth. Upgrades follow the versioned steps in INSTALL.md.
Compatibility
Installs into a DSH web profile and adds a Coding OAuth section in Settings. Credential files are owner-only (0600), written atomically and cross-process locked. Remote/headless hosts prefer device-code sign-in for Grok, Codex and Kimi; Claude accepts a pasted localhost redirect URL. Proxying is allowlisted per reviewed subscription domain, leaving Kimi China direct unless proxyKimi: true. The optional local API gateway is loopback-only and default-off.
Details
- Repo: lninghaha/dsh-coding-subscription-oauth
- Category: Models & Providers
- Stars: 25
- Version: GitHub repo lninghaha/dsh-coding-subscription-oauth (formerly dsh-grok-build); npm package dsh-coding-subscription-oauth at 0.8.5 (registry check 2026-10-09; registry repository field resolves back to this repo). Apache-2.0 license.
Alternatives
aa2246740/dsh-antigravity-oauth · grloper/dsh-claude-oauth · FMDD61/dsh-oauth-copilot