CodeCommandResult
Interface: CodeCommandResult
Defined in: src/provider-contract/types.ts:1343
What one shell command produced — only what the backend reported.
Properties
checkpointSeen?
readonlyoptionalcheckpointSeen?:boolean
Defined in: src/provider-contract/types.ts:1364
Present IFF a checkpoint was asked for: whether stdout held that line.
exitCode?
readonlyoptionalexitCode?: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?
readonlyoptionalisError?: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
readonlystderr:string
Defined in: src/provider-contract/types.ts:1345
stdout
readonlystdout:string
Defined in: src/provider-contract/types.ts:1344
terminatedBy?
readonlyoptionalterminatedBy?: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?
readonlyoptionaltruncated?:CodeTruncation
Defined in: src/provider-contract/types.ts:1362
Present IFF output was cut — see CodeTruncation.
