Topics
Ownership and cleanup
Separate borrowed daemons, owned clients, jobs, and created sessions.
Dispatch, completion, and failure
Choose command chains, control replies, or authenticated shell completion.
Watching output and state
Bound stream lifetime and memory, then recover deliberately from event loss.
Use these topics when a script grows beyond a single command. They explain what your script owns, what a successful return proves, and how to react when a stream loses data.
For the object model and query boundaries, start with Concepts. For executable setup and cleanup, use the complete examples.