dsh-xai-oauth
用设备码 OAuth 登录 xAI Grok 订阅,自动刷新访问令牌,并作为 xai 路由凭据使用,无需 API key。
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.
怎么安装
dsh plugin add dsh-xai-oauth 简介
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 官方…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- 165
- 最近更新
- 2026-09-24
- 创建于
- 2026-08-22
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- dsh-plugin
同类推荐
dsh-plugin-subscriptions
V1ki/dsh-plugin-subscriptions
把 ChatGPT(Codex)、Claude、Grok 订阅当作 DeepSeek Harness 的 LLM 提供方:设置页登录、模型目录、用量展示,以及 image_generate、video_generate 与 x_search 工具。
dsh-workbuddy-connect
corrinehu/dsh-workbuddy-connect
将 WorkBuddy 桌面 App 包含的模型自动接入 DeepSeek Harness,在 DSH 对话窗口里零配置使用。
claude-code-router
musistudio/claude-code-router
每个AI代理的本地控制平面:跨模型路由、融合新能力、编排工具,并始终保持完全控制。
dsh-thinking-effort
hytime/dsh-thinking-effort
为 DSH 自定义模型配置思考档位和子 agent 默认思考强度。