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
{{ message }}
Repository navigation
[Agent Usage] OpenCode Go usage not parsing — shows parse_error #30822
The OpenCode Go entry in Agent Usage is no longer able to retrieve usage data. Instead, it shows an Error state, and the displayed usage value appears to be stuck on an older value.
This previously updated normally, so it looks like the OpenCode Go usage page may have changed in a way the extension's parser no longer handles.
Opening the detail panel shows:
Message: Could not find usage data in OpenCode Go page. The page format may have changed.
Status: Error
Error Type: parse_error
Steps To Reproduce
Open the Agent Usage extension.
Configure OpenCode Go with the workspace ID and auth cookie.
View the OpenCode Go entry.
Current Behaviour
The OpenCode Go entry shows an Error state instead of current usage data, and the displayed value no longer updates.
Expected Behaviour
The OpenCode Go entry should retrieve and display the current usage data normally.
This is fixed by #30849 (just merged): OpenCode Go usage is now fetched from the Zen JSON API (https://opencode.ai/zen/go/v1/usage) instead of scraping the workspace web page, so the parse_error from page changes is gone.
On the setup side, the workspace ID and auth cookie preferences were replaced by an OpenCode Go API Key preference, which is auto-detected from ~/.local/share/opencode/auth.json (the opencode-go entry) after running opencode auth login. You can also paste your Zen API key manually from https://opencode.ai/settings — the manual preference takes priority.
The fix should land in the Raycast Store once the extension update is published; if you still see the error after updating, let us know.
Activity
raycastbot commentedon Sep 6, 2026
Thank you for opening this issue!
🔔 @natsustan @alexibuild @AdrianBonpin @GarrickZ2 @EDM115 @chingweih @natsustan @jakoss you might want to have a look.
💡 Author and Contributors commands
The author and contributors of
thuggyduck/agent-usagecan trigger bot actions by commenting:@raycastbot close this issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot close as duplicateCloses the issue as duplicate.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.ericrocha97 commentedon Sep 8, 2026
Hi @AllenLINNN — thanks for the report 👋
This is fixed by #30849 (just merged): OpenCode Go usage is now fetched from the Zen JSON API (
https://opencode.ai/zen/go/v1/usage) instead of scraping the workspace web page, so theparse_errorfrom page changes is gone.On the setup side, the workspace ID and auth cookie preferences were replaced by an OpenCode Go API Key preference, which is auto-detected from
~/.local/share/opencode/auth.json(theopencode-goentry) after runningopencode auth login. You can also paste your Zen API key manually from https://opencode.ai/settings — the manual preference takes priority.The fix should land in the Raycast Store once the extension update is published; if you still see the error after updating, let us know.
AllenLINNN commentedon Sep 8, 2026
Confirmed it's working now. Thanks for the quick fix! 🙌