raycast / raycast/extensions

[Agent Usage] OpenCode Go usage not parsing — shows parse_error

Open
#30,822 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug extension extension: agent-usage platform: macOS
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
  1. Open the Agent Usage extension.
  2. Configure OpenCode Go with the workspace ID and auth cookie.
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.