You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release v1.0.2 - Smart caching and stability improvements
## 🎯 Major Improvements
### Smart ETag-Based Caching
- Replaced 24-hour TTL cache with HTTP ETag-based conditional requests
- Only downloads instructions when content actually changes (304 Not Modified responses)
- Significantly reduces GitHub API calls while staying up-to-date
### Release Tag Tracking for Stability
- Now fetches Codex instructions from latest GitHub release tag instead of main branch
- Ensures compatibility with ChatGPT Codex API (main branch may have unreleased features)
- Prevents "Instructions are not valid" errors from bleeding-edge changes
## 🐛 Bug Fixes
### Model Normalization
- Fixed default model fallback: unsupported models now default to `gpt-5` (not `gpt-5-codex`)
- Preserves user's choice between `gpt-5` and `gpt-5-codex` when explicitly specified
- Only codex model variants normalize to `gpt-5-codex`
### Error Prevention
- Added `body.text` initialization check to prevent TypeError on `body.text.verbosity`
- Improved error handling in request transformation
### Code Quality
- Standardized all console.error prefixes to `[openai-codex-plugin]`
- Updated documentation to reflect ETag caching implementation
- Added npm version and downloads badges to README
## 📚 Documentation
- Updated README with accurate caching behavior description
- Added npm package badges for version tracking
- Clarified release-based fetching strategy
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
This plugin enables opencode to use OpenAI's Codex backend via ChatGPT Plus/Pro OAuth authentication, allowing you to use your ChatGPT subscription instead of OpenAI Platform API credits.
4
7
5
8
## Features
6
9
7
10
- ✅ ChatGPT Plus/Pro OAuth authentication
8
11
- ✅ **Zero external dependencies** - Lightweight with only @openauthjs/openauth
0 commit comments