v1.0.0 - Production Release
π Production-ready OpenAI Codex OAuth Plugin
Features
- β ChatGPT Plus/Pro OAuth authentication with auto-refresh
- β Zero dependencies - Lightweight with only @openauthjs/openauth
- β Auto-updating Codex instructions - Fetches latest from OpenAI's Codex repo (cached 24h)
- β Full tool support with automatic remapping (apply_patch β edit, update_plan β todowrite)
- β High reasoning effort with detailed thinking blocks
- β Modular architecture for easy maintenance
Installation
npm install opencode-openai-codex-authAdd to your opencode.json:
{
"plugin": ["opencode-openai-codex-auth"],
"model": "openai/gpt-5-codex"
}Authentication
opencode auth loginSelect "OpenAI" β "ChatGPT Plus/Pro (Codex Subscription)"
Package Size
- 13.5 kB compressed
- 36.7 kB unpacked
- Only 1 dependency
Credits
Based on research from: