cyjyyd/dsh-llm-xai-oauth
Puts a SuperGrok / X Premium subscription into DeepSeek Harness as a live xai route (grok-4.7) using device-code OAuth instead of an xAI API key: after a one-time login the plugin refreshes the roughly one-hour access token five minutes before expiry and again on HTTP 401, and a separate daemon --install keeps it alive when dsh itself is not running. Works in headless, web and terminal profiles.
dsh-llm-xai-oauth puts an existing SuperGrok / X Premium subscription into DeepSeek Harness as a live xai route (grok-4.7) using device-code OAuth instead of an xAI API key. After a one-time login, dsh talks to the subscription proxy with an access token stored locally; the token lasts about an hour, and while dsh is running the plugin refreshes it five minutes before expiry and again on HTTP 401. Because that refresh only happens while dsh runs, the README documents a separate daemon --install refresher for keeping the token alive overnight, and it works in headless, web and terminal profiles (an optional SSH TUI can sit on top).
Install
dsh plugin --profile headless add dsh-llm-xai-oauth@latestCopied verbatim from the README's npm install block; the README stresses installing from npm (not the GitHub source, which is for development) and always using @latest for updates because a bare add keeps whatever version pnpm already pinned. Follow with npx dsh-llm-xai-oauth login and npx dsh-llm-xai-oauth daemon --install.
Compatibility
Needs Node.js >= 22.19 and the DSH CLI (npm i -g @deepseek-ai/dsh); verified on dsh 0.1.5-rc.1 through 0.1.5-rc.3, 0.1.7-rc.1/rc.2 and 0.2.0-rc.1/rc.2. Requires an active SuperGrok / X Premium subscription. English README with a 中文 translation.
Details
- Repo: cyjyyd/dsh-llm-xai-oauth
- Category: Models & Providers
- Stars: 0
- Version: GitHub repo cyjyyd/dsh-llm-xai-oauth (0★); npm package dsh-llm-xai-oauth at 0.1.8 (registry check 2026-10-12; registry repository field resolves back to this repo).
- Last push: 2026-10-12
- First seen: 2026-08-27
Alternatives
aa2246740/dsh-antigravity-oauth · AmmarByFar/dsh-trustedrouter · BruceLanLan/dsh-tier-router