Pre-flight checks
OpenCode version tested
1.15.13
opencode-quota version tested
3.8.6
Bug summary
When I use the /quota command in the desktop version of OpenCode, this error appears. In the CLI version, everything is fine.
Steps to reproduce
No response
Expected behavior
No response
Actual behavior
No response
Relevant logs/output
WARN 2026-06-03T12:12:37 +771ms service=weave url=http://127.0.0.1:52495/skill?directory=%2FUsers%2Fxxxx status=401 OpenCode /skill endpoint returned non-OK status — skills will not be loaded
WARN 2026-06-03T12:12:37 +74ms service=weave url=http://127.0.0.1:52495/skill?directory=%2FUsers%2Fxxxx%2FDocuments%2FWorkspaces%2FWebStorm%2Flab-ui-angular status=401 OpenCode /skill endpoint returned non-OK status — skills will not be loaded
ERROR 2026-06-03T12:12:38 +965ms service=plugin.copilot error=Missing key
at ["data"][15]["capabilities"]["limits"]["max_context_window_tokens"] failed to fetch copilot models
ERROR 2026-06-03T12:12:39 +106ms service=plugin.copilot error=Missing key
at ["data"][15]["capabilities"]["limits"]["max_context_window_tokens"] failed to fetch copilot models
ERROR 2026-06-03T12:12:39 +598ms service=mcp key=angular-cli command=["npx","-y","@angular/cli","mcp"] cwd=/Users/xxxx/Documents/Workspaces/WebStorm/lab-ui-angular error=MCP error -32000: Connection closed local mcp startup failed
WARN 2026-06-03T12:12:41 +1508ms service=weave url=http://127.0.0.1:52495/skill?directory=%2FUsers%2Fxxxx%2FDocuments%2FWorkspaces%2FWebStorm%2Flab-ui-angular status=401 OpenCode /skill endpoint returned non-OK status — skills will not be loaded
ERROR 2026-06-03T12:12:41 +288ms service=plugin.copilot error=Missing key
at ["data"][15]["capabilities"]["limits"]["max_context_window_tokens"] failed to fetch copilot models
ERROR 2026-06-03T12:12:41 +565ms service=server ref=err_3ae3188f error=__QUOTA_COMMAND_HANDLED__ cause=Error: __QUOTA_COMMAND_HANDLED__
at handled (file:///Users/xxxx/.cache/opencode/packages/@slkiser/opencode-quota@latest/node_modules/@slkiser/opencode-quota/dist/lib/command-handled.js:13:11)
at injectCommandOutputAndHandle (file:///Users/xxxx/.cache/opencode/packages/@slkiser/opencode-quota@latest/node_modules/@slkiser/opencode-quota/dist/plugin.js:1094:9)
at async handleQuotaSlashCommand (file:///Users/xxxx/.cache/opencode/packages/@slkiser/opencode-quota@latest/node_modules/@slkiser/opencode-quota/dist/plugin.js:1115:16)
at async command.execute.before (file:///Users/xxxx/.cache/opencode/packages/@slkiser/opencode-quota@latest/node_modules/@slkiser/opencode-quota/dist/plugin.js:1289:28)
at Plugin.trigger (file:///Applications/OpenCode.app/Contents/Resources/app.asar/out/main/chunks/node-CiOkNpBx.js:335631:21)
at Plugin.trigger (definition) (file:///Applications/OpenCode.app/Contents/Resources/app.asar/out/main/chunks/node-CiOkNpBx.js:338844:36)
at SessionPrompt.command (file:///Applications/OpenCode.app/Contents/Resources/app.asar/out/main/chunks/node-CiOkNpBx.js:458753:31)
at SessionPrompt.command (definition) (file:///Applications/OpenCode.app/Contents/Resources/app.asar/out/main/chunks/node-CiOkNpBx.js:335550:36)
at SessionHttpApi.command (file:///Applications/OpenCode.app/Contents/Resources/app.asar/out/main/chunks/node-CiOkNpBx.js:231608:30)
at SessionHttpApi.command (definition) (file:///Applications/OpenCode.app/Contents/Resources/app.asar/out/main/chunks/node-CiOkNpBx.js:458751:36)
at Server.listen (file:///Applications/OpenCode.app/Contents/Resources/app.asar/out/main/chunks/node-CiOkNpBx.js:459645:52)
at Server.listen (definition) (file:///Applications/OpenCode.app/Contents/Resources/app.asar/out/main/chunks/node-CiOkNpBx.js:459768:33) failed
If not tested on current production OpenCode, explain why
No response
Pre-flight checks
OpenCode version tested
1.15.13
opencode-quota version tested
3.8.6
Bug summary
When I use the
/quotacommand in the desktop version of OpenCode, this error appears. In the CLI version, everything is fine.Steps to reproduce
No response
Expected behavior
No response
Actual behavior
No response
Relevant logs/output
If not tested on current production OpenCode, explain why
No response