Skip to main content

Module execution

Module execution 

Source
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§

CommandExecution
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.