wangyaominde/dsh-llm-grok-oauth ↗★ 0
dsh-llm-grok-oauth
Grok (xAI) subscription OAuth provider for DeepSeek Harness: one-click login in Settings → Models, token refresh, live catalog, streaming over cli-chat-proxy.grok.com
AI 分析
核心用途是免去官方 CLI,直接在 DSH 中接入 Grok 订阅服务。适合拥有 xAI 订阅并希望在 DSH 中使用 Grok 系列模型的用户。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wangyaominde/dsh-llm-grok-oauthドキュメント
README 全文を読む ↗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.