Closes #40322 When users run multi-line terminal commands, the confirmation dialog was only showing the first line with '- N more lines' truncated. This meant dangerous commands like 'rm -rf' or 'sudo' operations could be hidden from view, creating a security risk. Now terminal commands always display in full, with scroll support for very long commands (20+ lines) to keep the confirmation buttons visible. Other tools continue using truncation for better UI efficiency since they don't pose the same security concerns. Release Notes: - Agent: Fixed terminal command truncation in the agent panel to better expose long commands (e.g., potentially dangerous multi-line commands are now fully visible before execution) --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Co-authored-by: dino <dinojoaocosta@gmail.com>