-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Description
Bug Report
Environment
- OpenCode Version: 1.1.53
- oh-my-opencode Version: 3.2.3 (latest)
- OS: macOS (Darwin 25.2.0)
- Installation Method: npm install in ~/.config/opencode
Description
After installing oh-my-opencode plugin, OpenCode completely breaks with multiple critical errors:
- UI Loading Failed: "Failed to reload ui"
- Provider Request Errors:
error sending request for url (http://127.0.0.1:65322/provider)(and other random ports) - Session System Crash: "无法加载 ui 的会话" (Cannot load UI sessions)
- File System Failure: "列出文件失败" (Failed to list files)
Steps to Reproduce
-
Install oh-my-opencode:
cd ~/.config/opencode npm install oh-my-opencode
-
Add plugin to
~/.config/opencode/opencode.json:{ "plugin": ["oh-my-opencode@latest"] } -
Restart OpenCode
-
Result: OpenCode UI completely breaks with the errors mentioned above
Expected Behavior
Plugin should load without breaking OpenCode's core functionality.
Actual Behavior
- UI fails to load
- Session system crashes
- File listing fails
- All core OpenCode features become unusable
- OAuth server (127.0.0.1:xxxxx) crashes immediately after startup
Workaround
Removing the plugin from opencode.json and restarting OpenCode restores functionality:
{
"plugin": []
}Additional Context
- The OAuth server indicator (bottom-left corner) turns green on startup, then immediately turns red
- Same behavior occurs with or without
opencode-antigravity-authplugin - Even with all providers successfully authenticated, the plugin still causes crashes
- This appears to be a compatibility issue specific to OpenCode 1.1.53
Providers Configured (all working without the plugin)
- OpenAI (OAuth)
- GitHub Copilot (OAuth)
- antigravity (API)
- Kimi For Coding (API)
Error Screenshots Reference
The errors appear as notification banners:
- "Failed to reload ui - error sending request for url (http://127.0.0.1:65322/provider)"
- "无法加载 ui 的会话"
- "列出文件失败"
Suggestion
This seems like a critical compatibility bug with OpenCode 1.1.53. Would appreciate investigation or guidance on supported OpenCode versions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels