dshbase

Plugin directory / Developer / dsh-oauth-api

dsh-oauth-api

Unverified hahaha-taotao

✓ Actively maintained 2 contributors Pure TypeScript

View on GitHub ↗ ← Back to plugin directory

1Stars
0Forks
0Open issues
TypeScriptLanguage
2026-08-14Last push
Cross-platformPlatform

What it does

DeepSeek Harness (dsh) out-of-tree OAuth plugin for Grok/xAI, Codex, and Claude Code. Community plugin, not official.

Our take
Unverified — not yet verified

DeepSeek Harness (dsh) out-of-tree OAuth plugin for Grok/xAI, Codex, and Claude Code. Community plugin, not official. Not yet verified — install and test it yourself.

“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

Plugin author? Get the “Verified” label — submit your own evidence (screenshots, logs, or a short demo) and we'll review and flip the badge.

Submit verification evidence ↗

README

dsh-oauth-api

锟斤拷锟斤拷说锟斤拷

Out-of-tree DeepSeek Harness plugin for third-party OAuth login. It is a community plugin, not an official DeepSeek product and not an upstream PR.

After install, Settings 锟斤拷 OAuth 锟斤拷录 shows one card per provider. Successful login does not change the current default model 锟斤拷 pick the provider in the official model picker.

Providers

Settings card Model picker group Auth Inference
Grok / xAI xai-oauth Device code (auth.x.ai) https://api.x.ai/v1/responses
Codex / ChatGPT codex-oauth Device code (auth.openai.com/codex/device) https://chatgpt.com/backend-api/codex
Claude Code claude-oauth PKCE: open authorize URL, paste code#state https://api.anthropic.com/v1/messages
Kimi Code kimi-oauth Device code (auth.kimi.com) https://api.kimi.com/coding/v1

Install

git clone https://github.com/hahaha-taotao/dsh-oauth-api.git
cd dsh-oauth-api
pnpm install
pnpm build
dsh plugin --profile web add .

Confirm the Cordis rows:

dsh --profile web --dump-config

You should see dsh-oauth-host and dsh-oauth-client.

Login

  1. Start the UI: dsh web
  2. Open Settings 锟斤拷 OAuth 锟斤拷录
  3. Click 锟斤拷录 on a provider card
  4. Finish the browser step (device code, or paste Claude锟斤拷s code#state)
  5. Select the matching group in the model picker (xai-oauth, codex-oauth, claude-oauth, or kimi-oauth)

Grok tokens need the api:access scope. If inference says the scope is missing, log in again.

Token store

Tokens live only in this plugin锟斤拷s store:

  • $DSH_HOME/oauth/xai.json
  • $DSH_HOME/oauth/codex.json
  • $DSH_HOME/oauth/claude.json
  • $DSH_HOME/oauth/kimi.json

Default $DSH_HOME is ~/.dsh.

Develop

pnpm install
pnpm test
pnpm run typecheck

License

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-oauth-api for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:hahaha-taotao/dsh-oauth-api

Headless (CLI) profile:

dsh plugin --profile headless add github:hahaha-taotao/dsh-oauth-api

Test report

Not yet L3-verified — see failure note below if we already ran it.

Status: pending
Note: 验证: install-fail (0.1.0-rc.6) Browse all pending failures →

When to use it

Extend the agent's coding surface — give it a new tool, workflow, or integration so it handles a dev task it couldn't before.

Who it's for

Developers who want dsh to behave like a teammate on real codebases — editing, running, and verifying changes rather than just answering.

For developers — extending it

The tool/command surface is the seam: expose more of the SDK, add smarter context wiring, or tighten the loop between code changes and verification.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7795 plugins →