Expand description
Getting a container agent’s container ready for a turn: the container is running, and the provider CLI is installed in it.
Both places that start a container turn (agentinput and agent.send)
go through prepare, so a failure reads the same in the pane whichever
way the message arrived.
Spec: docs/specs/SPEC_CONTAINER_AGENTS_WORK_FOR_EVERYONE_2026_10_07.md.
Structs§
- Container
Turn 🔒Prep - Everything
prepareneeds from the turn that is starting.
Functions§
- error_
result_ 🔒frame - The
resultframe that ends a turn with an error and carriesmessage. - fail 🔒
- Log
e, write its plain-language message to the pane, and return it. - prepare 🔒
- Start the container, then make sure the provider CLI is in it. On failure the pane gets a plain-language error frame (persisted, so it survives a reload) and the same text is returned.