Skip to main content

Module context

Module context 

Source
Expand description

Shared context for sandbox tools that need to spawn processes.

SandboxContext bundles the OCI runtime, sandbox configuration, and process registry into a single shareable handle. Tools that spawn or interact with sandboxed processes (e.g., run_command, open_shell) hold an Arc<SandboxContext>.

Structs§

SandboxContext
Shared context for sandbox LLM tools.

Type Aliases§

ExpectSession
An expectrl session wrapping a PTY controller fd from the OCI runtime.