From 208410b2dfcc1864a3821e25513bc69435010d1c Mon Sep 17 00:00:00 2001 From: Amit Singh Date: Fri, 12 Jun 2026 17:06:46 +0530 Subject: [PATCH] fix: use interactive exec for custom command execution Replace _forge_exec with _forge_exec_interactive in custom command dispatcher path to ensure custom commands get proper interactive terminal handling, consistent with the default agent execution path. --- shell-plugin/lib/dispatcher.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell-plugin/lib/dispatcher.zsh b/shell-plugin/lib/dispatcher.zsh index c5f13db0e0..3f37b6af59 100644 --- a/shell-plugin/lib/dispatcher.zsh +++ b/shell-plugin/lib/dispatcher.zsh @@ -39,9 +39,9 @@ function _forge_action_default() { echo # Execute custom command with execute subcommand if [[ -n "$input_text" ]]; then - _forge_exec cmd execute --cid "$_FORGE_CONVERSATION_ID" "$user_action" "$input_text" + _forge_exec_interactive cmd execute --cid "$_FORGE_CONVERSATION_ID" "$user_action" "$input_text" else - _forge_exec cmd execute --cid "$_FORGE_CONVERSATION_ID" "$user_action" + _forge_exec_interactive cmd execute --cid "$_FORGE_CONVERSATION_ID" "$user_action" fi return 0 fi