shaomingbo/dsh-grok-build-auth-bridge

shaomingbo★ 0JavaScript最后同步: 2026-08-15

在 GitHub 打开

Reuse the official Grok Build CLI subscription login in DeepSeek Harness

README 摘要

dsh-grok-build-auth-bridge Reuse the official Grok Build CLI subscription login in DeepSeek Harness (DSH). This package is a Host Cordis bundle . It reads Grok Build's local session, delegates refresh-token handling to the official grok binary, synchronizes only the short-lived access token into DSH's credential service, and provisions a pi-ai route for the Grok Build subscription proxy. It does not contain, upload, or commit any token. Requirements - Node.js 22.19 or later - DSH with the dsh-llm-pi-ai adapter - The official Grok Build CLI installed and logged in: The login must produce ${GROK HOME:- /.grok}/auth.json . Install Run this on each device after logging in with Grok Build: The installer adds the package and its Cordis bundle to /.dsh/profiles/web/package.json , then runs pnpm install . Restart dsh web afterward. The plugin creates this model route through DSH settings without replacing existing providers: - Provider: grok-build - Model: grok-4.6 - Protocol: OpenAI Responses - Endpoint: https://cli-chat-proxy.grok.com/v1 How it works At startup, every ten minutes, and immediately before a grok-build LLM stream: 1. read ${GROK HOME:- /.grok}/auth.json ; 2. select the firs…

在 GitHub 查看完整 README →
终端/TUIdsh-pluginvision

分类