[Agent Usage] OpenCode Go usage not parsing — shows parse_error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.8k
- Forks
- 6.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 442
Description
Extension
https://www.raycast.com/thuggyduck/agent-usage
Raycast Version
2.2.0.0
OS Version
macOS 27.0
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Agent Usage extension's OpenCode Go entry and reproduce the parse_error using the workspace ID and auth cookie described in the issue. Inspect the usage retrieval and parsing path, then verify that the entry displays current usage data normally instead of an Error state or stale value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100