DeepSeek Harness plugin

deepseek-harness-openai-codex

OpenAI Codex (ChatGPT Plus/Pro) provider for DeepSeek Harness, with Web UI and CLI device-code OAuth login.

Jump to install

Source facts

Repository
syncended/deepseek-harness-openai-codex
Latest update
Aug 21, 2026
Category
Tools & Capabilities
GitHub stars
0
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/syncended/deepseek-harness-openai-codex
Plugin: deepseek-harness-openai-codex
Author: syncended

Check the source files

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

File explorer3 files
README.mdSource · read only

DeepSeek Harness — OpenAI Codex Plugin

Use your ChatGPT Plus/Pro subscription as an LLM provider in the DeepSeek Harness.

This plugin adds device-code OAuth login through both the Web settings UI and /codex CLI command — no browser callback server or localhost listener. After login, Codex models appear alongside your other providers in the DSH model selector, the access token refreshes automatically without a restart, and a Codex limits popup above Settings shows the 5-hour and weekly balance.

How it works

1. In the Web app, open Settings → OpenAI Codex → Sign in. The page opens OpenAI, shows the one-time code, and updates automatically after approval. Headless/TUI users can run /codex login for the same device-code flow. 2. The plugin stores the token triple {access, refresh, expires} in $DSH_HOME/openai-codex.json and publishes only the live access token to the DSH credential seam under OPENAI_CODEX_TOKEN. 3. Your settings.yaml maps that credential to the openai-codex route, and dsh-llm-pi-ai uses the built-in openai-codex-responses API to serve all Codex models. 4. The plugin refreshes the token automatically ~5 minutes before expiry. 5. In Web, Codex limits calls OpenAI from the server and returns only normalized usage percentages, reset times, and optional credit balances; OAuth tokens never cross into the browser.

> The limits view uses OpenAI's undocumented Codex usage endpoint, so its > response shape may change without notice.

Install

# Add the plugin to your profile (web, tui, headless, …)
dsh plugin --profile web add @syncended/dsh-codex

# Restart dsh

> Note: the profile is a pnpm workspace root, so on some dsh versions the > add command needs -w: dsh plugin --profile web add -w @syncended/dsh-codex.

The plugin registers the openai-codex route defaults automatically, so no dsh settings set is needed. In Web, use Settings → OpenAI Codex. The

/codex login | status | logout commands remain available in every profile.

Like DSH's other credential settings, Web login is restricted to a loopback Web session. For a remote deployment, run /codex login on the host-facing profile instead.

Commands

CommandDescription
/codex loginStart device-code OAuth login
/codex statusShow token status and expiry
/codex logoutClear the stored token

Configuration

The plugin accepts these optional config values (rarely needed):

KeyDefaultDescription
clientIdapp_EMoamEEZ…hrannOpenAI OAuth client id
credentialRefOPENAI_CODEX_TOKENCredential seam ref
deviceCodeTimeoutSeconds900 (15 min)How long the user has to approve
refreshWindowMs300_000 (5 min)Refresh this far before expiry
tokenFile$DSH_HOME/openai-codex.jsonOverride token persistence path

Requirements

License

MIT — see [LICENSE](./LICENSE).