Bug Description
i seem to be getting this error again in the plugin logs: ERROR 2025-11-19T20:09:23 +1ms service=openai-codex-plugin error=Failed to fetch OpenCode codex.txt: 404 Failed to fetch OpenCode codex.txt from GitHub
[2:12 PM]shuv: this might be bits left over from the other plugin actually
[2:13 PM]shuv: https://github.com/sst/opencode/blob/dev/.opencode/opencode.jsonc
[2:14 PM]shuv: the other codex auth plugin keeps installing whenever i dev against the opencode repo, because they have that .opencode folder with a config file adding "plugin": ["opencode-openai-codex-auth"]
Steps to Reproduce
0. clear all opencode caches ~/.opencode,.cache/opencode
- add
"plugin": ["opencode-openai-codex-auth"] to your opencode.json
- start opencode session, do some work with codex
- close opencode
- change opencode.json plugin entry to
"plugin":["@openhax/codex"]
- start opencode
Expected Behavior
User can use codex, but better
Actual Behavior
User get's an error preventing them from using the plugin
Environment
- opencode version: 1.0.78
- Plugin version: 0.0.1
- Operating System: Mac
- Node.js version:
Logs
If applicable, attach logs from ~/.opencode/logs/codex-plugin/ (enable with ENABLE_PLUGIN_REQUEST_LOGGING=1)
Compliance Checklist
Please confirm:
Additional Context
Add any other relevant information.
Bug Description
i seem to be getting this error again in the plugin logs: ERROR 2025-11-19T20:09:23 +1ms service=openai-codex-plugin error=Failed to fetch OpenCode codex.txt: 404 Failed to fetch OpenCode codex.txt from GitHub
[2:12 PM]shuv: this might be bits left over from the other plugin actually
[2:13 PM]shuv: https://github.com/sst/opencode/blob/dev/.opencode/opencode.jsonc
[2:14 PM]shuv: the other codex auth plugin keeps installing whenever i dev against the opencode repo, because they have that .opencode folder with a config file adding "plugin": ["opencode-openai-codex-auth"]
Steps to Reproduce
0. clear all opencode caches
~/.opencode,.cache/opencode"plugin": ["opencode-openai-codex-auth"]to your opencode.json"plugin":["@openhax/codex"]Expected Behavior
User can use codex, but better
Actual Behavior
User get's an error preventing them from using the plugin
Environment
Logs
If applicable, attach logs from
~/.opencode/logs/codex-plugin/(enable withENABLE_PLUGIN_REQUEST_LOGGING=1)Compliance Checklist
Please confirm:
Additional Context
Add any other relevant information.