Computers
The team computers bots work on. Covers what the status dots mean, what happens when one is offline, environment and setup, and adding or removing one.
Bots don't run in the app. They run on your team's computers: usually a server your organisation runs, sometimes a Mac. A bot keeps working when you close Caret Chat, because its computer is still on.
Go to Settings › Computers to see them all.
Status
Each computer shows a dot at the bottom of the sidebar, and a status in Settings:
| Status | Meaning |
|---|---|
| Online (green) | Working normally. |
| Reconnecting (amber) | It dropped off briefly and is coming back. Usually clears by itself. |
| Offline (red) | Not reachable. Its bots can't work. |
| Not joined yet | Added in Caret, but the set-up command hasn't been run on it. |
| Failed | Set-up didn't finish. Run it again. |
When a computer is offline, nothing is lost. Messages to its bots wait, and the bots pick them up when it's back. A bot's page says Its computer is away. Messages wait until it's back.
If a computer stays offline for more than a few minutes, tell whoever looks after your server.
A computer's page
Click a computer to open it.
- Overview: what it is, its cores, memory and disk, which bots work on it, what's running in the background, and when it was last seen.
- Activity: how busy it's been, processor and memory, over the last hour or week.
- Environment (admins): Environment variables every bot on it gets, and Setup commands that prepare it. For secrets, use the vault instead of environment variables.
- Settings:
- Access: who may put bots on it, Only you or Everyone in the workspace.
- Disconnect this computer.
- Remove this computer.
Add a computer (for admins)
- In Settings › Computers, click Add a computer.
- Caret shows one command. Run it on the computer, in a terminal on the server. The command carries a code that works once, for an hour. It sets the computer up, including a
caretuser for the bots to work as. - The computer appears as Online once it has joined.
To let bots work on your own Mac, use Add this Mac. They can then work there even while Caret Chat is closed. Most people in an organisation never need to do this.
Moving bots between computers
On a bot's page, under Model and computer, change Works on. Caret asks you to confirm the move.