Expand description
Provider-neutral execution helpers for AI sessions.
Workflow crates can still decide which provider CLI to run, but the common session concerns live here: prompt sizing, working-directory context, cwd enforcement, and structured subprocess results.
Structs§
- Command
Execution - Result of a single provider subprocess execution.
Constants§
- DEFAULT_
MAX_ PROMPT_ BYTES - Default prompt byte cap before spawning a provider subprocess.
Functions§
- prepare_
provider_ prompt - Validate and annotate a provider prompt with the intended working directory.
- run_
provider_ command - Execute a provider command with a centrally enforced working directory.