- **Suspended tabs.** `cctabs suspend <tab>` stops the Claude in a tab and leaves a small placeholder that keeps the tab's name, place and session: `⏸ cctabs suspended — <name> · <size> · <dir> / press Enter to resume`. `cctabs restore --manifest … -c --suspended` brings a whole fleet back this way in about a second per tab with no Claude started (a 66-session restore took minutes, hit the plugin's spawn timeouts, and pushed live sessions out of claude.ai's remote-control top 20); `cctabs new <name> -r <id> --suspended` opens one directly. A suspended tab wakes on Enter, on `cctabs wake`/`resume`, or — the point of it — **when `cctabs send` targets it**: send wakes the tab, waits until Claude is at a ready prompt, then delivers and checks the delivery against the transcript, so the sender never has to know. `sessions --json` reports `status: "suspended"` with the session id and dir; `manifest` keeps suspended tabs (`suspended: true`) so they restore asleep; `restore` and `restart` leave them asleep. The state lives in a registry (`~/.config/cctabs/suspended/`) and in the placeholder's own argv, never only on screen — Tabby captures nothing for a background tab. **Trade-off: a suspended tab is not on Remote Control until woken.** Needs bash or zsh as the tab shell.
0 commit comments