Player-MINEPIG/dsh-llm-codex-oauth

Use your ChatGPT / Codex subscription in dsh (DeepSeek Harness)

Use your ChatGPT / Codex subscription (Plus / Pro / Business / Edu) inside dsh. The plugin runs the OpenAI Codex OAuth flow to log into ChatGPT and exposes the subscription quota as dsh codex-oauth provider models (gpt-5.3-codex-spark, gpt-5.4, gpt-5.5, gpt-5.6-*, maintained by the installed pi-ai). Image input: paste/drop images in the Web composer via dsh durable attachments (PNG/JPEG/WebP/GIF) for catalog models that declare image support. Settings-page login with live status; read-only /codex-status and /codex-logout commands; multi-turn support preserving provider-native replay metadata (signatures).

Coding & Development ★ 8 updated 2026-08-31 ✅ runtime-tested
View on GitHub ↗

Install

node scripts/install.mjs

Script install per README (English edition): node scripts/install.mjs (installs into the web profile by default; node scripts/install.mjs headless for another profile). Auto-locates $DSH_HOME (default ~/.dsh), copies the plugin into the node_modules location DSH resolves first, and adds the bundle entry — no pnpm involved; cross-platform (Windows/macOS/Linux, just Node). Manual alternative: dsh plugin --profile web add file:/path/to/dsh-llm-codex-oauth — the file: prefix is required (bare paths become link: symlinks and Node realpath breaks). Uninstall: node scripts/uninstall.mjs or dsh plugin --profile web remove dsh-llm-codex-oauth.

Compatibility

DeepSeek Harness web profile. Registers pi-ai's built-in openai-codex provider as the codex-oauth provider on the dsh LLM seam. OAuth credentials live in $DSH_HOME/.credentials.yaml.

Details

Recent updates

ChatGPT/Codex subscription as dsh provider; OAuth login page + live status; image input; multi-turn replay metadata; install.mjs without pnpm.

FAQ

Which subscription tiers work?
ChatGPT Plus / Pro / Business / Edu — the plugin exposes the subscription quota as codex-oauth models (gpt-5.3-codex-spark through gpt-5.6-*).
How do I install it?
node scripts/install.mjs from the repo (no pnpm needed), or dsh plugin --profile web add file:/path/to/dsh-llm-codex-oauth.
Where are credentials stored?
OAuth credentials live in $DSH_HOME/.credentials.yaml; refreshing the plugin directory does not read, move, or delete them.

Alternatives

suntianc/dsh-codex-auth · WSL043/dsh-codex-subscription · yequ172672/dsh-codex-subscription

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins