pub async fn run_plugin_rollback(
claude_path: Option<PathBuf>,
cwd_raw: String,
record: PluginUpdateRecord,
install_location: String,
) -> Result<PluginRollbackOutcome, String>Expand description
Roll one plugin back to its recorded previous version: restore the
marketplace clone to the pre-update ref, let claude plugin update
install the version that manifest points at, then move the clone
forward again so other plugins keep tracking the latest. A failed
git or plugin-update step aborts with Err; only the trailing
clone-restore failure lands as [PluginRollbackOutcome:: RolledBackCloneParked].