Expand description
Exec-related protocol message payloads.
Structs§
- Exec
Exited - Notification that a command has exited.
- Exec
Failed - Notification that a command failed to start (the user’s program
never got to run). Distinct from
ExecExited, which means the process ran and reported an exit code. - Exec
Limits - Runtime-owned execution policy advertised in Ready. Effective policy shared by every execution in one sandbox.
- Exec
Output Ack - Acknowledges cumulative output consumed by the SDK, including per-chunk overhead.
- Exec
Request - Request to execute a command in the guest.
- Exec
Resize - Request to resize the PTY of a running command.
- Exec
Rlimit - A POSIX resource limit to apply to a spawned process.
- Exec
Signal - Request to send a signal to a running command.
- Exec
Started - Confirmation that a command has been started.
- Exec
Stderr - Stderr data from a running command.
- Exec
Stdin - Stdin data sent to a running command.
- Exec
Stdin Ack - Acknowledges cumulative bytes written into the child’s stdin pipe.
- Exec
Stdin Error - Notification that an
ExecStdinwrite to the child’s stdin failed. The most common cause is the child closing its read end (EPIPE); the session is otherwise alive and may still produce output and an exit code, so this is delivered as a non-terminal event. - Exec
Stdout - Stdout data from a running command.
Enums§
- Exec
Failure Kind - Coarse classification of an
ExecFailedcause. The CLI’s stage-to-hint mapper keys off this; the SDK exposes it directly for programmatic consumers. - Rlimit
Resource - POSIX resource limit identifiers.
Constants§
- EXEC_
OUTPUT_ EVENT_ OVERHEAD - Window charge for each output chunk, bounding even very small writes. Memory-accounting charge in addition to each output payload.
- MAX_
EXEC_ CONTROL_ BYTES - Maximum encoded execution acknowledgement, signal or resize envelope.