wangyaominde / dsh-llm-grok-oauth

목록에 있음

Grok subscription OAuth plugin for DeepSeek Harness: one-click login in Settings → Models

main모델 소스 보기

설치

npx @deepseek-ai/dsh plugin --profile web add github:wangyaominde/dsh-llm-grok-oauth

이 명령은 GitHub 저장소 주소에서 생성됩니다. 실행 전에 업스트림 README와 소스를 검토하고 재현성이 필요하면 release 또는 commit을 고정하세요.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 108cc76동기화 2026. 8. 18.

dsh-llm-grok-oauth

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 · 简体中文

dsh-plugin stars MIT dsh no api key


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 订阅)

Settings → Models → Grok (xAI subscription)

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.

  1. Complete xAI authorization in the browser. The confirmation code is issued by xAI for that attempt; it is not shared across machines or clicks.
  2. 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

ItemRequirement
DeepSeek Harness0.1.0-rc.6 or later
AccountSuperGrok or X Premium+
Official Grok CLInot required. Reused only when already signed in
xAI API keynot required

Relation to the API key field

This pluginBuilt-in Grok config
LocationSettings → ModelsSettings → Models
AuthenticationGrok account loginAPI key
BillingSuperGrok / 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

MIT

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨
문서감지됨

저장소 정보

언어
JavaScript
라이선스
MIT
마지막 업데이트
2026. 8. 16. 오후 12:43

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.