#[non_exhaustive]pub struct BackgroundTerminalCompletion {
pub tool_call_id: String,
pub command: String,
pub terminal_status: String,
pub output: String,
pub output_truncated: bool,
pub exit_code: Option<i32>,
pub reason: Option<String>,
}Expand description
backgroundTerminalCompletion: the facts the Finished cell renders. The
fold reads them from the inbox terminal record and the backgrounded call it
names; every member is required (empty output serializes as "", never
absent) except exit_code and reason, each absent when the terminal
carries none.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tool_call_id: StringThe backgrounded call’s call id: the live/history correlation key behind the skip-when-minted rule.
command: StringThe title text gate-off shows for the backgrounded command.
terminal_status: StringOne of completed, failed, cancelled, timedOut, rejected.
output: StringThe completion text; empty when the terminal carries none.
output_truncated: boolTrue when output is a prefix of the terminal text.
exit_code: Option<i32>The process exit code from the terminal record’s exit_code: line;
absent when the terminal carries none. i32, the gate-off frozen-header
twin’s width (BackgroundTerminalTailTerminal.exit_code). Old clients
ignore the unknown member.
reason: Option<String>The terminal’s reason from the terminal record’s reason: line,
trimmed like gate-off’s parse; absent when the terminal carries none or
an empty one. Old clients ignore the unknown member.