Generated identifiers, timings and machine details vary.
Run a command and inspect the result.
You want your agent to run a command and tell you whether it worked, not guess from what it printed.
Keep a shell across several steps.
A task takes several commands that depend on each other: move to a directory, set a variable, then use both.
Read a long output without filling the conversation.
A build prints thousands of lines and you only care about one of them.
The capture is kept in memory, per connection, in a bounded store, so read what you need soon after the run; a restart or eviction makes it unavailable.
Read the right part of the screen.
A command printed more than fits on the screen, and the agent needs the part that scrolled away without losing its place.
Talk to a program that asks questions.
A program waits for input: a Python prompt, an installer, a database client.
Start a server, carry on and look back.
A task needs a server or a long build running while the agent does something else.
Hand a terminal to the next connection.
A long job runs in a terminal, and the connection that started it is about to end.
web: false before the handoff.Let a person watch or type.
You want to see what the agent is doing in a terminal, or step in yourself.
terminal_close, and inspect its result.