dsh-claude-oauth
Manifest valid★ 9Claude Pro/Max OAuth model provider for DeepSeek Harness with Google/Gmail login in Settings, auto-token refresh, live model discovery, and real-time quota tracking
dsh-claude-oauth
Claude Pro / Max OAuth integration for DeepSeek Harness (DSH) — sign in directly with your Google / Gmail account from the DSH Web Settings page, with automatic token rotation, live model discovery, and real-time 5-hour / 7-day subscription quota tracking.
English · 简体中文 · Technical Article
Preview
Key Features
- 🚀 One-Click Google / Gmail Sign-In in Settings: Dedicated Claude section in DSH Settings (
order: 13, beside Antigravity and Codex). Click "Sign in with Google / Gmail" to authenticate directly in your browser. - ⚡ Zero Terminal Hassle: No manual CLI token dumping, copying strings, or editing YAML config files.
- 🔄 Dual-Stack PKCE OAuth Engine: Ephemeral loopback callback server listening on dual-stack IPv4 (
127.0.0.1) and IPv6 (::1), avoiding Windows localhost resolution traps. - 🛡️ Multi-Store Credential Sync: Exchanged tokens automatically sync to:
~/.claude/.credentials.json(shares authorization with the official Claude Code CLI)~/.dsh/.credentials.yaml(ANTHROPIC_OAUTH_TOKENandCLAUDE_CODE_OAUTH_TOKEN)~/.dsh/settings.yaml(configuresllm-pi-ai.providers.anthropicwith active models)
- 📊 Live Subscription Quota Meters: Displays real-time 5-hour and 7-day quota utilization bars with reset countdowns in both Settings and the ambient chat composer dock.
- 🤖 Live Model Catalog: Queries
GET /v1/modelsdynamically. All latest Claude releases (Claude 3.7 Sonnet, Claude Sonnet 4.5, Claude Opus 4.5, Claude Haiku 4.5) mount automatically.
Architecture Flow
Quick Start
Installation
Install dsh-claude-oauth into your active DSH Web profile:
# From GitHub repository
dsh plugin --profile web add github:grloper/dsh-claude-oauth
# Or from local checkout
dsh plugin --profile web add ./dsh-claude-oauth
Sign In via Web Settings
- Start or open DeepSeek Harness Web GUI:
dsh web - Open Settings (gear icon on the sidebar).
- Select the Claude section from the navigation list.
- Click "Sign in with Google / Gmail".
- In the opened browser window, choose "Continue with Google", pick your Gmail account, and click Authorize.
- The tab will display "Claude Connected". Return to DSH — your account email, tier (
CLAUDE PROorCLAUDE MAX), live quota bars, and models are now active!
Optional: Sign In via CLI
You can also authenticate directly from the command line using the bundled bin script:
claude-oauth-login
# Or via npx
npx dsh-claude-oauth
Setting Claude as Default Agent Model
To make Claude Sonnet 4.5 your default model for all sessions:
In ~/.dsh/settings.yaml:
agent-default-model:
provider: anthropic
model: claude-sonnet-4-5
Or pick Claude per-session from the composer model selector.
Verification & Testing
Run the included test suite:
npm run check
npm test
License
Comments
Loading…
Similar plugins
by shaneconner
Use a Claude Pro or Max subscription as a DeepSeek Harness model provider, via the Claude Code CLI.
★ 0
MIT
TypeScript
Aug 30, 2026
dsh plugin --profile web add dsh-claude-bridgeby V1ki
Use ChatGPT (Codex), Claude, and Grok (X Premium) subscriptions as DeepSeek Harness LLM providers — OAuth login in the web UI, no API keys
★ 592
↓ 4.3k/wk
MIT
TypeScript
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-subscriptionsby shaneconner
Sign in to DeepSeek Harness model providers with a Claude Pro/Max or ChatGPT Plus/Pro subscription.
★ 0
MIT
TypeScript
Aug 30, 2026
dsh plugin --profile web add dsh-provider-loginby MoFeng2223
Custom Claude provider support for DeepSeek Harness
★ 35
↓ 1k/wk
MIT
JavaScript
Nov 4, 2026
dsh plugin --profile web add @mofeng2223/dsh-claude-providerCommunity Codex provider for DeepSeek Harness with ChatGPT OAuth, Codex models, image input, quota display, per-session Fast and transport controls, and safe stream recovery.
★ 0
↓ 209/wk
dsh plugin --profile web add dsh-codex-communityby ddowbnac
LLM provider plugin for the DeepSeek Harness (dsh): streams Claude through your Claude Code subscription (claude.ai OAuth credentials), no Anthropic API key required.
★ 0
TypeScript
Nov 7, 2026
dsh plugin --profile web add @djdowbnac/dsh-claude-auth