Expand description
Session-scoped shell identity. Cwd and env do not cross sessions.
Detach, poll, and kill stay permission-checked by the caller. Persisted transcripts never copy secret-shaped env values. A timeout or cancel kills the process group.
Structs§
Enums§
Functions§
- admit
- Apply a command to the session. A denial does not change cwd or start a job.
- bind_
session - bind_
session_ rooted - Bind a session whose
cdcannot leaveroot. Isolation uses this so a conversation shell cannot walk back onto the source tree. - cwd
- detach
- drop_
session - kill
- kill_
session - Kill every detached job in the session. Used when the run is cancelled so a timeout-independent cancel still reaps the process group.
- poll
- run_
bounded - Run a command with a timeout and kill the process group if it expires.
- set_env
- transcript_
env - Model-visible env overlay. Secret-shaped keys are omitted, not redacted in place.