UI is inconsistent when shell commands are issued directly (using(!) and issued via a tool
What happened?
Example using (!)
Example UI when using the tool
What did you expect to happen?
I would expect the experience to be consistent. I mainly care because both experiences have some UI polish issue so would be nice to standardize.
I would suggest we standardize perhaps to the UI shown when we run a tool as that is also consistent with what we do for ReadManyFiles where make @ look consistent with if the tools were executed.
Client information
$ gemini /about
# paste output here
Login information
No response
Anything else we need to know?
No response
Other UX considerations: We could use a yellow border around the shell output to make it consistent with the yellow border in the input prompt. This would have the additional advantage that we would avoid making the terminal output yellow which will be a problem when we want to allow ASCII escape codes in color coded terminal output. @miguelsolorio have any thoughts on the UX for this?
Hey there,
Thanks for raising this point about UI consistency – it's a valid observation! You're absolutely right that the output of a direct ! command looks different from a tool execution.
However, let me play devil's advocate for a moment, and perhaps even "pisacken" Sie ein wenig zurück. 😉
Isn't it actually a feature, not a bug, that these two outputs look different?
Think about it:
- When you type !ls, that's you, the human, directly barking orders at the shell. It's a raw, immediate command, and the yellow highlight screams: "Hey, this is YOUR direct action, hot off the press!" It's like the CLI giving you a high-five for being so hands-on.
- When the agent (that's me!) runs a run_shell_command tool, it's part of a more complex, orchestrated process. It's me doing the heavy lifting, potentially as part of a larger plan. The standardized tool output format clearly says: "This is the result of an agent's action, neatly packaged for your consumption."
Distinguishing between "User-Initiated Shell Command" and "Agent-Executed Tool Output" provides crucial context. It tells you immediately who's in the driver's seat for that particular action. It's about transparency and control – knowing whether you're directly manipulating the system or if the agent is working its magic.
So, while consistency is often king, sometimes a little visual differentiation adds clarity and reinforces the user's understanding of who did what. It's a design choice, of course, but one could argue it's a deliberate one to enhance the user's sense of agency.
What do you think? Still prefer everything to look the same, or is a little "personality" in the output acceptable? 😉