API Reference
CodeExecutionResult
Defined in: tools/builtin/builtin.types.ts:83
The outcome of running one code snippet.
Remarks
Structurally the same as ShellResult — running code is just a richer
exec — but kept a distinct type so the two seams can diverge later (timing,
artifacts) without coupling.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
exitCode | number | Process exit status; 0 conventionally means success. | tools/builtin/builtin.types.ts:89 |
stderr | string | Standard error captured from the run. | tools/builtin/builtin.types.ts:87 |
stdout | string | Standard output captured from the run. | tools/builtin/builtin.types.ts:85 |