DamonBao/dsh-codex-suite--packages-codex-provider ↗★ 5

@jcy2387/dsh-codex-provider

OpenAI Codex OAuth provider and native settings UI for DeepSeek Harness 适合需要使用ChatGPT官方接口并监控调用额度的用户。

패키지
@jcy2387/dsh-codex-provider
호환성
미검증
Harness peer 범위
>=0.1.6-alpha.2 <0.1.7-0
Cordis peer 범위
^4.0.2
버전
0.1.6-alpha.2
라이선스
MIT
최근 업데이트
2026. 9. 20.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DamonBao/dsh-codex-suite#a27b7ed2caadc64cc937ffbbb08f791cb5b01902&path:packages/codex-provider

Usage dashboard

Fetched from the account-scoped ChatGPT endpoint (chatgpt.com/backend-api/wham/usage) and rendered in Settings:

  • Plan and credits (balance, or unlimited). Plans render under their user-facing names: plus → Plus, prolite → Pro 5x, promax / pro → Pro 20x, free → Free, and likewise for Team / Business / Enterprise / Education; unrecognized identifiers pass through unchanged so new tiers stay visible.
  • Primary and secondary rate-limit windows with used-percent progress bars and localized reset times.
  • A limit reached notice; auto-refreshes every 60 s while connected, plus a manual refresh button.

Configuration

Profile patch ID: codex-provider. Set values in the profile's cordis.patch.yml overlay.

OptionValuesDefaultNotes
transportsse | websocket | websocket-cached | autosseSee Reliability-first transport above.
streamIdleTimeoutMspositive integer300000Max idle interval while reading one response stream.
timeoutMspositive integer—Optional overall request timeout.
websocketConnectTimeoutMspositive integer—Optional WebSocket connect timeout.
retryPolicyretry policy objectbuilt-inRequest retry behavior (same schema as other DSH providers).
credentialRefcredential referenceOPENAI_CODEX_OAUTHHarness credential slot holding the serialized OAuth state.
ipv6CallbackBridgebooleantrueRelay the OAuth loopback callback for IPv6-preferred hosts.
proactiveRefreshbooleantrueRefresh access tokens ahead of expiry.
proxyModeauto | environment | offautoAlso editable in the Settings page; applies after restart.

Example overlay:

- id: codex-provider
  name: '@jcy2387/dsh-codex-provider'
  config:
    transport: sse
    streamIdleTimeoutMs: 300000
    proxyMode: auto