dsh-xai-oauth
Sign in to an xAI Grok subscription with device-code OAuth, refresh the access token, and use it as the xai route credential without an API key.
用设备码 OAuth 登录 xAI Grok 订阅,自动刷新访问令牌,并作为 xai 路由凭据使用,无需 API key。
How to install
dsh plugin add dsh-xai-oauth About
dsh-xai-oauth Native xAI(Grok / X 订阅)OAuth 登录插件 for DeepSeek Harness。 用 SuperGrok 或 X Premium 订阅登录 xAI,**不需要 API key**。插件完成 xAI 设备码(RFC 8628 device-code)授权,把 access token 注入 DSH 凭据 (XAI_OAUTH_TOKEN),并在 token 接近过期时用 refresh token 自动续期, 让 llm-pi-ai 的 xai provider 路由每次请求都能拿到有效令牌。 安装 从 npm 安装(推荐): sh dsh plugin --profile web add dsh-xai-oauth 或从 GitHub 安装: sh dsh plugin --profile web add github:tonylee2022/dsh-xai-oauth 本地源码安装(开发调试用): sh dsh plugin --profile web add ./dsh-xai-oauth 然后重启 web profile(dsh --profile web)。重启后在 **设置 → 模型提供方** 旁会出现 **xAI(Grok/X)** 设置页:点击“登录 xAI”→ 复制用户码 → 点“打开授权页”在 xAI 官方…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- 165
- Last push
- 2026-09-24
- Created
- 2026-08-22
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh-plugin
Related plugins
dsh-plugin-subscriptions
V1ki/dsh-plugin-subscriptions
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
dsh-workbuddy-connect
corrinehu/dsh-workbuddy-connect
Brings the models in the WorkBuddy desktop app straight into DeepSeek Harness — zero configuration in the DSH chat.
claude-code-router
musistudio/claude-code-router
One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.
dsh-thinking-effort
hytime/dsh-thinking-effort
Configure reasoning-effort levels and sub-agent defaults for custom DSH models.