Expand description
Non-interactive runner (S10).
Takes a single prompt, runs it through the agent, captures assistant text for stdout, diagnostics for stderr, and returns an exit code.
Structs§
- NonInteractive
Hooks - Hooks for non-interactive mode with tool safety policy.
- NonInteractive
Result - Captured output from a non-interactive run.
- NonInteractive
Runner - Non-interactive runner that executes a single prompt and captures output.
Enums§
- Exit
Code - Exit codes for the non-interactive runner.
Constants§
- NDJSON_
SCHEMA_ VERSION - NDJSON output schema version.
Functions§
- format_
persist_ errors - Format any captured session persist errors into a stderr suffix.