Andrea Cosentino created CAMEL-25444:
----------------------------------------

             Summary: camel-jbang-plugin-tui - do not deliver injected keys to 
confirmation dialogs
                 Key: CAMEL-25444
                 URL: https://issues.apache.org/jira/browse/CAMEL-25444
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang
            Reporter: Andrea Cosentino


Keys injected by the tui_send_keys tool are dispatched through the same handler 
as real user keystrokes (CamelMonitor.handleTickEvent -> handleEvent), so they 
can reach confirmation popups such as FileWritePopup. The mcpInjectedKey marker 
is currently used only for tape recording. Injected keys should not be 
delivered to confirmation dialogs/popups - the existing mcpInjectedKey marker 
can be used to exclude them.

Module: dsl/camel-jbang/camel-jbang-plugin-tui.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to