From f59acb5b8030673832e06e4109f173ed34118f39 Mon Sep 17 00:00:00 2001 From: tylerjenningsw Date: Fri, 9 Oct 2026 16:24:53 -0400 Subject: [PATCH] Project: Delete Project Items Without Confirmation is a command, on Shift+Delete (#484) A frontend command (project.deleteWithoutConfirmation) so the shortcut is listed and rebindable in Keyboard Shortcuts and runs by id over the control channel and MCP. The UI runs project.delete for it. --- crates/engine/src/commands/frontend.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/crates/engine/src/commands/frontend.rs b/crates/engine/src/commands/frontend.rs index 296160d1..57fdb60a 100644 --- a/crates/engine/src/commands/frontend.rs +++ b/crates/engine/src/commands/frontend.rs @@ -106,5 +106,15 @@ pub fn specs() -> Vec { fe!("layer.openLayer", "Open Layer", ["Layer"], None, "{layer?}", has_layers), fe!("effect.manage", "Manage Effects...", ["Effect"], None, "{}", always), fe!("anim.browsePresets", "Browse Presets...", ["Animation"], None, "{}", always), + // Project panel: delete the selected items without the prompt that Delete shows when + // compositions use them. The UI runs `project.delete` (agents can run it directly). + fe!( + "project.deleteWithoutConfirmation", + "Delete Project Items Without Confirmation", + [], + Some("Shift+Delete"), + "{} — the Project panel's selection, with the layers that use it; one undo step", + always + ), ] }