pub fn emit_claude_code_with_models(
ir: &WarbleIr,
out_dir: &Path,
target_id: &str,
render_flavor: RenderFlavor,
models: &ModelConfig,
) -> Result<(), DispatchError>Expand description
Emit Claude Code agent runtime files for a resolved IR into out_dir. Errors on any unsupported
enum value rather than emitting a silently-wrong file. Runs the capability resolution pass first;
on abort it errors and writes nothing. models resolves each step’s tier to a concrete model.
A hybrid binding uses the default HybridRealization::BashScript; call
emit_claude_code_with_realization to choose.