opencode-mystatus
opencode-mystatus copied to clipboard
Complains about `~/.config/opencode/antigravity-accounts.json`
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
+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
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