Tests4gptplay/dsh-codex-native

Registers the official OpenAI Codex app-server as a DSH main LLM provider (codex-local), so DSH keeps its Agent Loop, tool scheduling and session history while inference uses the native app-server protocol.

Unlike the built-in one-shot Codex subagent, DSH retains its Agent Loop, tool scheduling and durable session history when using codex-local as the main model. Model inference uses the native Codex app-server protocol rather than an OpenAI Chat Completions API key. Upstream session cache, streaming and image mapping are carried forward from the Codex adapter. Two sign-in flows are implemented in Settings: browser sign-in (Sign in with ChatGPT → official OpenAI authorization page) and device code (official verification page + user code); both hand off to the Codex app-server, which owns and refreshes its own credentials.

Models & Providers ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add github:Tests4gptplay/dsh-codex-native

The GitHub line from the README. The README explicitly labels this a development preview (0.2.1-alpha.0): 'Typecheck, all 124 account-free unit tests and hosted packaging have passed; actual DSH installation, OAuth login and subscribed-model E2E have not yet been verified. Do not treat this as a stable release.' Install only if you understand the alpha caveats. No separate OpenAI API key is used — sign-in is managed by the Codex app itself via ChatGPT OAuth, which consumes applicable Codex/ChatGPT plan allowances, not unlimited free or ordinary Chat-message allowances.

Compatibility

MIT. Uses @openai/codex@0.154.0 native app-server protocol. A DSH Settings section for browser/device-code sign-in, account status, sign-out and native Codex usage lookup has been implemented; the frontend never receives OAuth tokens. Codex app-server Dynamic Tools are passed back through DSH's tool loop and permissions. Codex still owns additional native instruction/tool layers; this is not a raw model API.

Details

Alternatives

WNJXYK/dsh-codex-oauth · DamonBao/dsh-codex-suite · btspoony/dsh-keys-manager

More plugins in Models & Providers

Browse more in Models & Providers

Guides for Models & Providers plugins