DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Codex — DSH Plugin for DeepSeek Harness
← Plugins

@syncended/dsh-codex

Codex

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

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @syncended/dsh-codex@0.0.10
READMECompatibilityVersions

Compatibility and provenance

Codex is published as @syncended/dsh-codex and currently resolves to version 0.0.10. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/21/2026

Versions

0.0.10stable
9/4/2026
0.0.9stable
8/21/2026
0.0.8stable
8/21/2026
Show 6 more versionsCollapse versions
0.0.7stable
8/19/2026
0.0.6stable
8/16/2026
0.0.4stable
8/15/2026
0.0.3stable
8/15/2026
0.0.2stable
8/15/2026
0.0.1stable
8/15/2026

Related plugins

Loading related plugins…

Latest
0.0.10
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
77.7 kB
Files
7
Surface
web
License
MIT
Source
npm
GitHub
★ 2
Weekly downloads
97
Last push
9/4/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in models-usage.

Usage Stats@ychris12138/dsh-usage-statsToken usage heatmap, provider balances, and subscription quotas for the dsh web GUICodex Connectdsh-codex-connectChatGPT OAuth and Codex models for DeepSeek Harness.Damage Pulsedsh-damage-pulseDeepSeek Harness balance monitor with a whale-girl companion and cache-aware damage animations for every token charge.Agy Linkdsh-agy-linkGoogle Antigravity (agy CLI) models for DeepSeek Harness — stream Gemini/Claude/GPT-OSS subscriptions into DSH with thinking, tool activity, token usage and in-GUI Google OAuth login.

README

DeepSeek Harness — OpenAI Codex Plugin

Use a ChatGPT Plus or Pro subscription as an LLM provider in DeepSeek Harness.

The plugin adds device-code OAuth login through the Web settings UI and an interactive Harness /codex slash command. It does not run a browser callback server or localhost listener. After login, Codex models appear with other providers, tokens refresh automatically, and Web shows 5-hour and weekly limits in a Codex limits popup.

Dark-theme OpenAI Codex usage limits popup in DeepSeek Harness

Rendered by the real plugin UI with sanitized demonstration balances.

The limits view uses OpenAI's undocumented Codex usage endpoint. Its availability and response shape may change without notice.

Requirements

  • A ChatGPT Plus or Pro subscription with Codex access.
  • DeepSeek Harness 0.1.0-rc.6 or a compatible release.
  • Node.js 18 or newer.
  • pnpm available to the dsh plugin command.
  • Outbound HTTPS access to auth.openai.com and chatgpt.com.

Install

DSH reconciles plugins per profile. Install the package in every profile where the provider or /codex command is needed; web is shown here:

dsh plugin --profile web add -w @syncended/dsh-codex

For local development, install a checkout instead:

dsh plugin --profile web add -w /absolute/path/to/deepseek-harness-openai-codex

The package declares a DSH bundle. It registers the openai-codex route and maps its credential automatically, so no dsh settings set command is needed. Restart the selected profile after installing or upgrading.

To remove it:

dsh plugin --profile web remove @syncended/dsh-codex

Connect a ChatGPT account

Web GUI

  1. Open Settings → OpenAI Codex.
  2. Click Sign in. The plugin opens OpenAI's device-login page in another tab.
  3. Return to DSH, copy the one-time code displayed there, and paste it into the OpenAI page.
  4. Approve access and return to DSH. The settings page updates to Connected automatically.
  5. Choose an openai-codex/... model from the standard model selector and send a test prompt.
  6. Use Codex limits above Settings to inspect the normalized 5-hour and weekly balances.

Like other DSH credential settings, Web login is restricted to a loopback/same-origin Host session. For a remote Host, use an authenticated SSH/local tunnel to its loopback Web UI rather than exposing credential operations publicly.

Interactive Harness command

/codex is a Harness slash command, not a shell executable. Run it inside an interactive profile that has this plugin installed:

CommandDescription
/codex loginStart the device-code flow and print the verification URL and code.
/codex statusShow token status and expiry.
/codex logoutDelete the stored token file and unpublish the live credential.

How it works

  1. The plugin stores { access, refresh, expires } in $DSH_HOME/openai-codex.json by default.
  2. It publishes only the live access token to the DSH credential service as OPENAI_CODEX_TOKEN.
  3. The bundled llm-pi-ai route uses the openai-codex-responses API, keeps the installed pi-ai Codex models, and adds a gpt-6-astra fallback until pi-ai ships that catalog entry.
  4. The refresh loop renews credentials shortly before expiry without requiring a Host restart.
  5. The Web limits API calls OpenAI from the Host and returns only normalized percentages, reset times, and optional credit balances; OAuth tokens never cross into browser JavaScript.

Protect $DSH_HOME: the token file is sensitive local credential state. /codex logout removes it and clears the published credential.

Configuration

The defaults normally need no changes. To override them, edit the existing openai-codex row in $DSH_HOME/profiles/<profile>/cordis.patch.yml and restart that profile:

- id: openai-codex
  config:
    # clientId: app_EMoamEEZ…hrann
    credentialRef: OPENAI_CODEX_TOKEN
    deviceCodeTimeoutSeconds: 900
    refreshWindowMs: 300000
    # dshHome: /absolute/path/to/dsh-home
    # tokenFile: /absolute/private/path/openai-codex.json
KeyDefaultDescription
clientIdbuilt inOpenAI OAuth client ID used by the device flow.
credentialRefOPENAI_CODEX_TOKENDSH credential ref receiving the live access token.
deviceCodeTimeoutSeconds900Maximum time to approve a device login.
refreshWindowMs300000Refresh-loop scheduling window; the implementation still refreshes only near expiry.
dshHomenormal DSH homeAlternate base directory used to derive the default token path.
tokenFile$DSH_HOME/openai-codex.jsonAbsolute token persistence path; takes precedence over dshHome.

Token-path precedence is tokenFile, then dshHome, then DSH_HOME, then ~/.dsh.

If credentialRef is changed, update the matching provider mapping in the existing llm-pi-ai row as well; otherwise the route continues reading OPENAI_CODEX_TOKEN:

- id: llm-pi-ai
  config:
    providers:
      openai-codex:
        displayName: OpenAI Codex
        apiKeyEnv: MY_CODEX_TOKEN_REF

Troubleshooting

  • No Codex models: confirm the plugin is installed in the active profile, restart that profile, and verify /codex status reports a credential.
  • Login never completes: confirm outbound access to OpenAI endpoints, repeat /codex login, and approve before the 15-minute timeout.
  • Remote Web login is rejected: connect through loopback using an authenticated tunnel; credential mutation is intentionally restricted.
  • Limits fail but models work: the undocumented usage endpoint may have changed or be unavailable; model requests use a separate API path.
  • Repeated sign-in after configuration changes: verify the token path is writable and credentialRef matches the llm-pi-ai provider mapping.

Development

npm test
npm pack --dry-run

Tag-driven publication is documented in RELEASING.md.

License

MIT — see LICENSE.