插件目录 / Developer / dsh-llm-grok-oauth
dsh-llm-grok-oauth
已验证 · 实测可装 wangyaominde
功能简介
Grok subscription OAuth plugin for DeepSeek Harness: one-click login in Settings → Models
可用 — 实测通过,早期项目
Grok subscription OAuth plugin for DeepSeek Harness: one-click login in Settings → Models 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-llm-grok-oauth
DeepSeek Harness plugin: sign in with a Grok account under Settings → Models
and run models on a SuperGrok / X Premium+ subscription. No xAI API key.
English · 简体中文
The built-in Grok provider in DSH accepts an API key only. This plugin adds account login on the same page. The control is at:
Settings → Models → Grok (xAI 订阅)
Install
Requires DeepSeek Harness and pnpm. If dsh is not on PATH, use npx:
npx @deepseek-ai/dsh plugin --profile web add github:wangyaominde/dsh-llm-grok-oauth
If the dsh command is already installed:
dsh plugin --profile web add github:wangyaominde/dsh-llm-grok-oauth
Restart dsh web after installation. Client modules are loaded at process start; the login button will not appear until restart.
If pnpm warns about missing peers such as @deepseek-ai/cordis, ignore it. Those packages are provided by the DSH runtime and should not be installed into the plugin directory.
Usage
Open Settings → Models and click Sign in with Grok on Grok (xAI 订阅). Browser sign-in is the default. The official Grok CLI is not required.
- Complete xAI authorization in the browser. The confirmation code is issued by xAI for that attempt; it is not shared across machines or clicks.
- Return to a session and select a Grok model. If the current session still targets DeepSeek, start a new session before sending.
The DSH process must be able to reach https://auth.x.ai and https://cli-chat-proxy.grok.com. Sign-in, the model catalog, and chat share the same proxy stack (HTTPS_PROXY or the macOS system proxy). If a browser can open those hosts but sign-in or sending a message still fails, set the proxy in the environment that launches dsh web and retry.
If the official Grok CLI is already signed in, that session is reused silently. Machines without the CLI are not asked to run grok login.
Sign-out is on the same row. It clears this plugin's session immediately and does not delete the official Grok CLI login file. CLI reuse stays off until Sign in is clicked again. If an older build signs back in immediately after Sign out, or sign-in works but chat fails with TRANSPORT, update to 0.2.10 and fully restart dsh web.
Requirements
| Item | Requirement |
|---|---|
| DeepSeek Harness | 0.1.0-rc.6 or later |
| Account | SuperGrok or X Premium+ |
| Official Grok CLI | not required. Reused only when already signed in |
| xAI API key | not required |
Relation to the API key field
| This plugin | Built-in Grok config | |
|---|---|---|
| Location | Settings → Models | Settings → Models |
| Authentication | Grok account login | API key |
| Billing | SuperGrok / X Premium+ | xAI API credit |
Both may be configured at the same time. This plugin does not write or overwrite a saved API key.
Uninstall
npx @deepseek-ai/dsh plugin --profile web remove dsh-llm-grok-oauth
Restart dsh web after uninstall.
License
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-llm-grok-oauth」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:wangyaominde/dsh-llm-grok-oauth Headless(CLI)profile:
dsh plugin --profile headless add github:wangyaominde/dsh-llm-grok-oauth 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。