dsh-claude-oauth
Manifest validClaude 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…
From the same category
by nexu-io
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards,
★ 98.9k
Apache-2.0
TypeScript
Sep 30, 2026
by Molunerfinn
:rocket: The Ultimate Image Uploader for Efficient Creators. Supports Obsidian, Typora, VS Code etc. and 60+ image hosting services (S3, GitHub, Cloudflare R2, Imgur, Aliyun OSS...). Paste, upload, d
★ 27.3k
MIT
TypeScript
Sep 24, 2026
by zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.2k
↓ 134/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile web add dsh-webby YaoApp
✨ All your agents and workspaces in one place, on every device you own. Track tasks on a board, accessible from desktop, mobile, browser, or API. Self-hosted.
★ 8.1k
Go
Sep 28, 2026
by omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 3.9k
↓ 53.7k/wk
MIT
TypeScript
Sep 28, 2026
dsh plugin --profile web add dsh-better-sidebarby ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 3.9k
↓ 11.6k/wk
MIT
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui