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 Plus — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
C

dsh-codex-plus

Codex Plus

Integrates the Codex (ChatGPT Plus/Pro) subscription with DSH: displays five-hour and weekly window quotas, reset times, and reset ticket counts in the sidebar, supports one-click resets, automatically adds subscription models to the model selector when retrieving quota information, and renews the a

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

npx -y @deepseek-ai/dsh plugin --profile web add github:mia-wong1016/dsh-codex-plus#662d2751b7d22faaba222b56bb9d705018bff966
READMECompatibilityVersions

Description

Codex (ChatGPT Plus/Pro) subscription integration for DSH: a quota panel with one-click reset, automatic subscription routing, and access token renewal before expiration.

Compatibility and provenance

Codex Plus is published as dsh-codex-plus and currently resolves to version 0.1.4. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

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

Versions

0.1.4stable
9/21/2026
0.1.1stable
9/21/2026

Related plugins

Loading related plugins…

Latest
0.1.4
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/21/2026
View source ↗
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

Related plugins

More verified plugins in models-usage.

Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with a compact price glance card above the sidebar's Settings rowWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinCommandcode Provider@mars-sea/dsh-commandcode-providerUnofficial DeepSeek Harness LLM provider plugin for Command Code, ported from pi-commandcode-provider (MIT). Registers the 'commandcode' provider route with a Models-page card and live model catalog.Plugin Subscriptionsdsh-plugin-subscriptionsUse ChatGPT (Codex), Claude, Grok (X Premium), GitHub Copilot, and Google Antigravity subscriptions as DeepSeek Harness LLM providers, with OAuth login from the web Settings page

README

dsh-codex-plus

用途:把你本机已经登录的 Codex(ChatGPT Plus/Pro)订阅接入 DeepSeek Harness。 它显示 5 小时窗口与一周窗口的剩余额度、重置时间与剩余重置券数量,支持一键消耗一张重置券重置额度; 读取额度时自动把订阅线路注册进 DSH,使 Codex 模型出现在模型选择器中;并在 access token 到期前 自动续期。无需填写任何 API key,使用的是你本机 Codex 登录已有的凭证。

English: use your Codex (ChatGPT Plus/Pro) subscription inside DeepSeek Harness

用途

  1. 看得见订阅额度 —— 侧边栏 Codex 胶囊与面板显示两个窗口的剩余额度与重置券;
  2. 能用订阅的模型 —— 读额度时自动注册 openai-codex 路由,模型出现在模型选择器;
  3. 能一键重置额度 —— 面板按钮消耗 1 张重置券,重置 5 小时 + 一周窗口;
  4. 凭证自动续期 —— token 剩余不足 24 小时时自动续期并原子写回。

中文详解(功能明细、面板路由、安装与配置、安全边界)见 README.zh.md。


English

Use your Codex (ChatGPT Plus/Pro) subscription inside DeepSeek Harness.

It reads the quota of the Codex account you are already signed in to on this machine, shows it in the UI, exposes the subscription's models to DSH's model picker, and can spend a rate-limit reset credit with one click.

What it does

Quota panel

  • A Codex chip in the sidebar footer: remaining 5-hour window, remaining weekly window, and how many reset credits are left (collapses to the percentage when the sidebar is in rail mode).
  • Click it for a panel with both windows (used %, reset time) and every reset credit with its expiry date.
  • One-click reset spends one reset credit and resets the 5-hour + weekly windows. The button is disabled when no credit is available, and the outcome is reported (reset / nothingToReset / noCredit / alreadyRedeemed). This consumes a real credit and cannot be undone.

Model routing

Reading the quota also registers the subscription route in the llm-pi-ai settings namespace, so the Codex models appear in DSH's model picker:

llm-pi-ai:
  providers:
    openai-codex:
      apiKeyEnv: OPENAI_CODEX_API_KEY
      displayName: Codex (ChatGPT Plus/Pro)
      baseURL: https://chatgpt.com/backend-api

Only that one provider entry is touched — the merge is line-based and idempotent, so your other providers and the file's formatting are preserved.

Token upkeep

The access token is refreshed against auth.openai.com when it has less than 24 hours left, and the rotated access_token / refresh_token / id_token triple is written back to auth.json atomically with mode 0600. The current access token is stored in DSH's credential store under the reference name above, so settings.yaml never holds a secret.

Panel transport

The browser half talks to the host half over this plugin's own same-origin routes — GET /codex-plus/status, POST /codex-plus/sync, POST /codex-plus/reset — which the DSH web server already protects with its browser-session policy. No new RPC channel and no token in the page are involved.

Delegation tool

codex hands a self-contained task to the local Codex agent and returns its final answer — useful for a second opinion, a fresh-context review, or an independent subtask.

ToolPurpose
codexRun a task through codex exec and return the answer
codex_quotaRead the quota and re-sync the provider route
codex_models_syncRefresh the token and re-register the models now
codexprobeDiagnostics: resolved CLI, Codex home, cached catalog, quota read

Requirements

  • A Codex CLI on this machine that is already signed in with a ChatGPT account (codex login); its login lives in <codexHome>/auth.json.
  • The CLI is looked up in DSH_CODEX_BIN, then /usr/lib/chatgpt/resources/codex, /usr/local/bin/codex, /usr/bin/codex, ~/.codex/bin/codex, ~/.local/bin/codex.
  • The Codex home is DSH_CODEX_HOME, else ~/.codex.
  • Node 20 or newer. No Python, no extra npm dependency.

Install

dsh plugin --profile web add dsh-codex-plus

Then restart the profile and refresh the page. Switch the conversation's model to Codex (ChatGPT Plus/Pro) to use the subscription for that session.

Configuration

All keys are optional.

- id: codex-plus
  name: 'dsh-codex-plus'
  config:
    codexBin: /usr/local/bin/codex        # explicit CLI path
    codexHome: ~/.codex                   # explicit CODEX_HOME
    workspace: /path/to/workspace         # shell sandbox root (default: process cwd)
    providerRoute: openai-codex           # pi-ai catalog route to configure
    providerDisplayName: Codex (ChatGPT Plus/Pro)
    credentialRef: OPENAI_CODEX_API_KEY   # credential-store reference name
    syncProviders: true                   # set false to skip the settings write entirely
    sandboxPolicy: true                   # false disables the workspace-write policy

Set syncProviders: false if you only want the quota panel and would rather wire the provider yourself.

Security

  • No credentials are bundled, and none are logged. The plugin reads the token your own Codex login already wrote to auth.json.
  • The token value goes to DSH's credential store; settings.yaml only carries the reference name OPENAI_CODEX_API_KEY.
  • auth.json is only ever written with the refreshed triple, atomically, at mode 0600.
  • The reset action requires an explicit confirmation argument and an available credit.
  • The panel routes are readable by any caller that already holds a valid DSH web session (they are behind the same browser-session policy as the rest of the web UI); they expose the quota, the plan type, and the account email, not the token.
  • codex exec runs with the sandbox you pass to the codex tool (read-only by default). Note that running Codex inside a sandbox that already blocks user namespaces can make Codex's own workspace-write sandbox fail; danger-full-access then defers to DSH's own sandbox, which is the safer pairing.

Licence

MIT