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
- Add "Plugin Versioning & Updates" section early in README
- Explain why pinning is required (Bun lockfile pins "latest")
- Show upgrade workflow: change version in config, restart
- Provide cache-clearing command for stuck users
- Update all config examples to use @4.0.0
- Remove redundant "Updating the Plugin" section
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
**Why pin versions?** OpenCode uses Bun's lockfile which pins resolved versions. If you use `"opencode-openai-codex-auth"` without a version, it resolves to "latest" once and **never updates** even when new versions are published.
67
+
68
+
#### Upgrading to a New Version
69
+
70
+
Simply change the version in your config and restart OpenCode:
Then restart OpenCode with a pinned version in your config.
91
+
92
+
Check [releases](https://github.com/numman-ali/opencode-openai-codex-auth/releases) for version history.
93
+
94
+
---
95
+
56
96
#### ⚠️ REQUIRED: Full Configuration (Only Supported Setup)
57
97
58
98
**IMPORTANT**: You MUST use the full configuration from [`config/full-opencode.json`](./config/full-opencode.json). Other configurations are not officially supported and may not work reliably.
@@ -68,7 +108,7 @@ Follow me on [X @nummanthinks](https://x.com/nummanthinks) for future updates an
68
108
{
69
109
"$schema": "https://opencode.ai/config.json",
70
110
"plugin": [
71
-
"opencode-openai-codex-auth"
111
+
"opencode-openai-codex-auth@4.0.0"
72
112
],
73
113
"provider": {
74
114
"openai": {
@@ -329,6 +369,7 @@ Codex backend caching is enabled automatically. When OpenCode supplies a `prompt
329
369
```
330
370
331
371
**Why this doesn't work:**
372
+
- Unpinned plugin version won't receive updates (see [Plugin Versioning](#plugin-versioning--updates))
332
373
- GPT 5 models are temperamental and need proper configuration
333
374
- Missing model metadata breaks OpenCode features
334
375
- No support for usage limits or context compaction
0 commit comments