DeepSeek Harness plugin

dsh-oauth-api

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

Jump to install

Source facts

Repository
hahaha-taotao/dsh-oauth-api
Latest update
Aug 14, 2026
Category
Tools & Capabilities
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/hahaha-taotao/dsh-oauth-api
Plugin: dsh-oauth-api
Author: hahaha-taotao

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

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 cardModel picker groupAuthInference
Grok / xAIxai-oauthDevice code (auth.x.ai)https://api.x.ai/v1/responses
Codex / ChatGPTcodex-oauthDevice code (auth.openai.com/codex/device)https://chatgpt.com/backend-api/codex
Claude Codeclaude-oauthPKCE: open authorize URL, paste code#statehttps://api.anthropic.com/v1/messages
Kimi Codekimi-oauthDevice 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