command_index: number

The index of the shell command that produced output.

item_id: string

The ID of the output item that was updated.

output: Array<Output>

The output contents emitted for the shell command.

outcome: Timeout { type } | Exit { exit_code, type }

Represents either an exit outcome (with an exit code) or a timeout outcome for a shell call output chunk.

One of the following:
Timeout { type }

Indicates that the shell call exceeded its configured time limit.

type: "timeout"

The outcome type. Always timeout.

Exit { exit_code, type }

Indicates that the shell commands finished and returned an exit code.

exit_code: number

Exit code from the shell process.

type: "exit"

The outcome type. Always exit.

stderr: string

The standard error output that was captured.

stdout: string

The standard output that was captured.

created_by?: string

The identifier of the actor that created the item.

output_index: number

The index of the output item that was updated.

sequence_number: number

The sequence number of the event that was emitted.

type: "response.shell_call_output_content.done"

The type of the event, always response.shell_call_output_content.done.

agent?: Agent { agent_name }

The agent that owns this multi-agent streaming event.

agent_name: string

The canonical name of the agent that produced this item.