opencode-mystatus icon indicating copy to clipboard operation
opencode-mystatus copied to clipboard

Complains about `~/.config/opencode/antigravity-accounts.json`

Open Akadean opened this issue 9 months ago • 2 comments

I only have copilot configured, nothing else. When running /mystatus the results include

❌ Failed to query accounts:
ENOENT: no such file or directory, open '/home/alice/.config/opencode/antigravity-accounts.json'

which kind of makes sense, because I do not have any antigravity accounts ...

But it shouldn't throw an error there

Akadean avatar Feb 13 '26 21:02 Akadean

+1, very anoying, It would be good to implement a better output format, one that ignores non-existent suppliers and also provides a clearer output showing how much we've spent, how much is left, etc

Image

eduardolat avatar Feb 15 '26 20:02 eduardolat

I also reproduced this locally.

/mystatus was still trying to read the Antigravity accounts file even when Antigravity was not configured, which caused the ENOENT error for an unused provider.

I opened a fix here: #21

Kagameow avatar Mar 29 '26 13:03 Kagameow