@bluechatbox/pi-bluechatbox0.1.0
Chat with your Pi agent from the BlueChatBox app on iPhone, Android, Mac and web
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
BlueChatBox for Pi
Chat with your Pi agent from the BlueChatBox app (iPhone, Android, Mac, web).
Install
pi install npm:@bluechatbox/pi-bluechatbox
Then, in Pi, run /bluechatbox. It asks for a name for your agent and your BlueChatBox username or email, then you approve the agent in the app (or open the link it shows if you don't have an account yet) and confirm "Is this you?" in Pi. A chat with your agent opens in BlueChatBox.
How it works
While a Pi window is open, a message you send your agent in BlueChatBox arrives in that Pi session as if you had typed it (marked [BlueChatBox]), and the agent's answer comes back to the app. If Pi is busy, your message waits until the current work is done. When Pi is closed, messages wait and are answered the next time you open it.
Only one Pi window answers at a time. /bluechatbox here moves it to the window you're in.
Messages you type in the terminal stay in the terminal. Ask your agent to "tell me on BlueChatBox when it's done" and it messages your phone when the job finishes.
Features
- Photos and files both ways. What you send is saved under
~/.pi/agent/bluechatbox/inbox/and the agent sees it (models that read images also get the picture). The agent can send you files up to 10 MB. - Typing and what it's doing: "typing…" while the agent works, with the current step ("Running a command…", "Editing a file…").
- Long tasks: a reply that takes more than about 20 seconds gets a task card with the current step and a Stop button. Stop cancels the agent's run.
- Buttons: when the agent asks a question with a few clear answers, they show as buttons you can tap.
- Reactions: the agent can react to your message with an emoji.
Commands
/bluechatbox: connect, or show the connection status./bluechatbox here: answer BlueChatBox messages in this Pi window./bluechatbox disconnect: forget the sign-in on this computer. To delete the agent itself, use Settings → AI Agents in BlueChatBox.
Agent tools
bluechatbox_send (message your phone), bluechatbox_send_file, bluechatbox_choices (tap buttons under a reply) and bluechatbox_react. To turn one off, disable it with pi config.
Privacy
The sign-in is stored in ~/.pi/agent/bluechatbox/credentials.json (mode 600). Your BlueChatBox messages, and the agent's replies and files it sends, go through bluechatbox.com. Only you, the owner, can message your agent; messages from anyone else are ignored.