CodeCommandResult

Interface: CodeCommandResult

Defined in: src/provider-contract/types.ts:1343

What one shell command produced — only what the backend reported.

Properties

checkpointSeen?

readonly optional checkpointSeen?: boolean

Defined in: src/provider-contract/types.ts:1364

Present IFF a checkpoint was asked for: whether stdout held that line.


exitCode?

readonly optional exitCode?: number

Defined in: src/provider-contract/types.ts:1351

The exit status the backend reported. ABSENT when it reported none: the outcome is unknown. Never inferred from CodeCommandResult.isError, never defaulted, never derived from the output.


isError?

readonly optional isError?: boolean

Defined in: src/provider-contract/types.ts:1357

The backend's own error flag, as it reported it (AgentCore's isError); absent when it reported none. It is NOT an exit status — a command can fail without it, and it can be set with no exit status at all.


stderr

readonly stderr: string

Defined in: src/provider-contract/types.ts:1345


stdout

readonly stdout: string

Defined in: src/provider-contract/types.ts:1344


terminatedBy?

readonly optional terminatedBy?: string

Defined in: src/provider-contract/types.ts:1360

The signal that ended the command before it exited, when the runner knows it ('SIGKILL'). There is no exitCode then, and none is made up.


truncated?

readonly optional truncated?: CodeTruncation

Defined in: src/provider-contract/types.ts:1362

Present IFF output was cut — see CodeTruncation.

On this page