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
安装
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.