Make Claude Code CLI clearly marked in mobile app UI
Got a report on reddit from a user. https://old.reddit.com/r/ClaudeCode/comments/1mwyzr3/got_tired_of_babysitting_claude_code_sessions_so/naxdde1/
Installed this but immediately get a "Credit balance is too low" response with no reasoning. Unclear if this is Claude balance, Happy balance or something else?
The problem is the claude code error messages are just shown in plain text in the chat. Which is confusing. I'm thinking we should detect these errors (they are JSON) and add a note to say that they come from Claude Code.
Note that I also get this error every time I set up Happy on a new VM without adding my Claude credentials to that machine here. You will see a string that says Invalid Login, and its not clear if its from Happy or underlying Claude.
We have a parser for this already: https://github.com/slopus/happy/blob/main/sources/sync/reducer/messageToEvent.ts
Got this error too when using Happy on iPad. I'm using Claude Max subscription, and the limit has not yet been reached.
could be some problem on anthropic side, we are not making up messages and sdk use is the very straightforward
I can see this balance is too low message from my Happy terminal too.
Is Happy’s Claude code using Anthropic API credit balance? My Claude code is based on my Claude Max subscription and having 0 balance in Anthropic API. Do you think that might be the reason?
I've checked that I've been using node version v20.19 in nvm. claude and happy are both in ~/.nvm/versions/node/v20.19.4/bin/
Are you using on remote machine? I think antropic reports this also when you are not authenticated on machine in claude.
Nope. I had a "ANTHROPIC_API_KEY" in my env vars. I unset it, and then went to happy and used /logout /login commands to login again. It's now working for me.
Cool thanks!