Shell commands printed on the screen should highlight untrusted commands before asking the user if they should be trusted
Kiro Product
CLI
Feature Description
For example, I might see this shell command:
echo "BUILD OUTPUT:" && grep -E "passed|failed|error" build.log | tail -5
If I have trusted echo but not grep then the grep command should be highlighted so I know which part is not trusted.
Use Case
This would be used while in an interactive kiro-cli session to bring more user attention to untrusted programs which could be hidden in a long shell command.
Additional Context
No response
Thanks for opening this issue! The idea of visually highlighting untrusted commands within a shell command string is a really thoughtful way to help users quickly spot what needs their attention before approving execution. A maintainer will take a look at this soon — great suggestion for improving the CLI's trust workflow! 🙌
please see also #7611