bonya console [sandbox]
Aliases:
sh, shellWhat it does
- Resumes the sandbox if it’s currently suspended, with a spinner while it wakes. Attaching would trigger the wake anyway, but doing it explicitly first means the wait is visible instead of looking like a hang.
- Attaches to the sandbox’s
consolesession, creating it if it doesn’t exist yet.consoleis a reserved session name used specifically for this command, so repeated runs ofbonya consoleland back in the same session rather than piling up new ones. - If a
consolesession exists but has already finished (exited, killed, or failed), it’s replaced with a fresh one rather than reused.
exit, or closing the terminal) detaches from the session — it keeps running in the sandbox. Running bonya console again reattaches to the same place, replaying any scrollback produced while you were away.
Flags
Passing
--session points console at a different managed session — useful for keeping a dedicated long-running terminal (say, dev) separate from your interactive one.
Examples
For full control over managed sessions — listing them, creating one running a specific command, killing one — see
bonya session. console is a convenient shortcut for the single most common case.