Troubleshooting
The most common problems and what to do about each. If yours is not here, report it.
An agent will not start or answer
- “Not signed in”. Your message comes back as a card naming the agent. Click Sign in: Cocobox signs in for you or types the agent's login command into the tab's Terminal for you to finish. Then click Try again. Each agent uses its own account; Cocobox holds no model keys.
- The tab shows as failed. A tab whose agent cannot start, or that ends a turn with nothing, is marked failed and says why. Read the reason on the tab, fix it, and send the message again.
- A model is missing. Open the model dialog (⌥⌘O) and click Refresh models. It restarts the agent and asks it again.
- “This provider does not run that model”. The message lists the models the agent can use. Pick one of them.
- An agent broke after an update. Open Settings › Agents and click Roll back on that agent. A running tab keeps its version until you restart it.
- An agent you added yourself. Check its command and environment variables in Settings › Agents. The program must speak ACP.
A tab looks stuck
- It is waiting on you. Press ⌘J to go to the next thing that needs you: an approval, a question or a flag, in this tab or any tab under it.
- It is waiting on background work. A turn that has answered but stays open, waiting on subagents it started, says so. You can reply; your message goes out.
- It is paused at its spend cap. The tab says how much it used. Choose Continue for today, or raise the cap in Settings › Safety & spend; the tab resumes when the cap lifts.
- Your message did not send. A message sent while the agent works goes to the queue above the message box and is sent when the turn ends.
- Stop. Stop beside the message box ends the turn, also in the middle of a command. A file edit in progress is finished, not left half-written.
An approval does not arrive, or a key does nothing
- A child tab says “Waiting for agent-1 to approve”. Its parent agent is asked first. Click Decide myself on the tab to take the request, or wait: an unanswered request comes to you.
- ⌘Y does nothing. The card is critical. Critical requests take ⌘⇧⏎.
- The request was refused on its own. Each card shows the time left before it is refused for you. Ask the agent to try again.
- A write was refused with no card. The connection is read-only, or a policy rule blocks the statement. See Guardrails.
- A scheduled run refused a command. Scheduled runs are unattended and refuse anything risky. Add the command to the job's list of allowed commands in Schedules.
A shortcut does nothing
- Open Settings › Keyboard. It lists every shortcut and lets you change one. Key check there shows whether a key press reaches Cocobox at all.
- macOS keeps ⌘⇧3 to ⌘⇧6 for screenshots, so they never reach Cocobox.
- Since 0.9.19, ⌘J goes to the next thing that needs you and Zen mode is ⌘⇧J.
- Changes saved to the keybindings file apply when the window next gets the focus.
The defaults are in Keyboard shortcuts.
Branches and worktrees
- A new tab did not open. Every tab in a space gets its own worktree. If the worktree cannot be made, the tab is not opened and the error says why.
- Two tabs share a folder. The sidebar flags them. Close one, or move it to its own branch with the branch picker.
- New branches start from the wrong place. They start from the default branch, freshly fetched. Set another base with
git config cocobox.base <branch>in the repository. - You closed a tab with work in it. Closed tabs go to the Archive (⌃⌘5) with their branch, uncommitted files and unpushed commits. Restore it from there. See History, archive and side questions.
The disk is filling up
Each worktree builds on its own. Closing a tab frees its worktree's Rust build output. For the rest, click the disk icon in the Spaces header: Free build output lists every worktree's size and frees the unused ones. See Build output cleanup.
A database will not connect
- A connection opens when you use it, not when the app starts. Its row shows not connected, connecting, connected or failed, with the error.
- TLS. Remote hosts require encryption by default. If the server has none, the error offers connect without encryption for that connection only.
- SSH tunnel. Cocobox uses your Mac's own
ssh: your keys, agent and~/.ssh/config. Ifssh hostworks in a terminal, the tunnel will. - It disconnected. A connection idle for 15 minutes closes and reconnects on the next use.
- Password. Passwords are in the macOS keychain, or the system keyring on Linux. Edit the connection to type it again.
The phone app and notifications
- No notifications. They arrive only while you are away from your Mac. Send a test notification from the phone's settings: if it cannot be sent, the phone says why.
- The phone cannot reach the Mac away from home. Reaching it from another network is part of Pro and has to be switched on: From anywhere (Pro) in Settings › Phone & remote. On your own Wi-Fi it is free.
- “Sign in again”. An expired sign-in reconnects on its own. If it does not, pair the phone again: Settings › Phone & remote › Phone › Pair a phone.
- An approval is not offered on the phone. The phone answers questions and safe approvals. Others wait for you at the Mac.
More in The phone app and Notifications.
Signing in to Cocobox
- Cocobox asks you to sign in once with a free account. If no browser opened, click Browser didn't open? Open the sign-in page.
- After you sign in, the app works offline.
- Stuck on Confirm your email? Open the link in the email from Cocobox (check spam), then press Continue. To sign in with another account instead, click Use a different account.
- If your sign-in expires, the message box says so with a Sign in again button.
Updates and versions
- The app updates itself. Settings › About shows the build you are on and, when a newer one is ready, a button to restart into it.
- What changed in each version is in the command palette under What's new, in What's new, and under Releases on GitHub, where you can also download a specific version.
- Cocobox runs on macOS on Apple Silicon, and on Linux (x86_64) as an AppImage or a .deb. Windows is being built.