pub async fn run_staged(
print_only: bool,
model: Option<String>,
beta_header: Option<(String, String)>,
context_dir: Option<&Path>,
repo_path: Option<&Path>,
) -> Result<StagedOutcome>Expand description
Public entry point for the staged-commit command.
Mirrors crate::cli::git::run_twiddle’s shape so the MCP server can wrap
it the same way: pin the CWD, run AI preflight, build the client, delegate
to the test-injectable inner [run_staged_with_client].