mod abort;
mod ci_gate;
mod execution;
mod retry;
mod revert;
mod shell;
#[cfg(test)]
mod tests;
pub use revert::{
RevertDecision, RevertOutcome, RevertPromptContext, RevertPromptHandler, RevertSource,
apply_git_revert_mode, apply_git_revert_mode_with_context, format_revert_failure_message,
parse_revert_response, prompt_revert_choice_with_io,
};
pub(crate) use abort::{
RunAbort, RunAbortReason, abort_reason, is_dirty_repo_error, is_queue_validation_error,
};
pub(crate) use ci_gate::execute_ci_gate;
pub(crate) use execution::{
RunnerErrorMessages, RunnerInvocation, run_prompt_with_handling,
should_fallback_to_fresh_continue,
};
pub(crate) use retry::{
FixedBackoffSchedule, RunnerRetryPolicy, SeededRng, compute_backoff, format_duration,
};
pub(crate) use shell::{
ManagedCommand, TimeoutClass, execute_checked_command, execute_managed_command,
sleep_with_cancellation,
};
#[cfg(test)]
pub(crate) use execution::{RunnerBackend, run_prompt_with_handling_backend};