From ae65619cd9eb342974a0c182d4fa4d56a70160b3 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 1 May 2026 06:49:50 +0900 Subject: [PATCH] fix: block /plugins update in resume mode, fix comment Address REQUEST_CHANGES from OMX review: 1. Add 'update' to the blocked mutation actions in resume mode (previously only install/uninstall/enable/disable were blocked) 2. Fix comment: 'Only list is supported' instead of 'Only list/help' since /plugins help doesn't actually parse as a valid action --- rust/crates/rusty-claude-cli/src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rust/crates/rusty-claude-cli/src/main.rs b/rust/crates/rusty-claude-cli/src/main.rs index 8c2fa404..eaa0713a 100644 --- a/rust/crates/rusty-claude-cli/src/main.rs +++ b/rust/crates/rusty-claude-cli/src/main.rs @@ -3543,9 +3543,10 @@ fn run_resume_command( }) } SlashCommand::Plugins { action, target } => { - // Only list/help are supported in resume mode (no runtime to reload) + // Only list is supported in resume mode (no runtime to reload) match action.as_deref() { - Some("install") | Some("uninstall") | Some("enable") | Some("disable") => { + Some("install") | Some("uninstall") | Some("enable") | Some("disable") + | Some("update") => { return Err( "resumed /plugins mutations are interactive-only; start `claw` and run `/plugins` in the REPL".into(), );