Repository navigation
v2.1.1 - Fix cache clear command
🐛 Bug Fix
Fixed cache clear command causing directory issues
Updated the plugin cache clearing command in README to run in a subshell, preventing directory navigation issues when users execute it from within the cache folder being deleted.
Before:
sed -i.bak '/"opencode-openai-codex-auth"/d' ~/.cache/opencode/package.json && rm -rf ~/.cache/opencode/node_modules/opencode-openai-codex-authAfter:
(cd ~ && sed -i.bak '/"opencode-openai-codex-auth"/d' .cache/opencode/package.json && rm -rf .cache/opencode/node_modules/opencode-openai-codex-auth)The command now:
- Runs in a subshell to avoid affecting the user's current directory
- Changes to home directory first
- Uses relative paths from home
- Returns to original directory after completion
📦 Installation
"plugin": ["opencode-openai-codex-auth"]Full Changelog: v2.1.0...v2.1.1