| Age | Commit message (Collapse) | Author |
|
This change extends the shell command processing functionality.
After a shell commands output is successfully written to a log file
in /tmp, the application will now automatically invoke `gemini --input`
with the generated filename to process the contents of that log file.
This enables a seamless workflow where shell command results can be
immediately used as context for further interactions with the Gemini CLI.
|
|
This change modifies the `shellCommandProcessor` to write the complete
output of any executed shell command to a log file in the /tmp
directory.
The filename is formatted as `gemini-cli-output-<timestamp>.log`.
This provides a persistent record of shell command interactions for
debugging and auditing purposes, without altering the user-facing
display in the CLI.
|
|
Co-authored-by: Jacob Richman <[email protected]>
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Jacob Richman <[email protected]>
Co-authored-by: Sandy Tao <[email protected]>
|
|
Signed-off-by: Josh Soref <[email protected]>
Co-authored-by: Sandy Tao <[email protected]>
|
|
|
|
|
|
|
|
(#784)
|
|
|
|
|
|
|
|
|
|
fix bug that prevented aborts after first abort. more robust killing logic (#616)
|
|
|
|
SIGPIPE) or eventual blocking (e.g. due to filled OS buffers) (#586)
|
|
|
|
|
|
|
|
|
|
- The shell command processor was incorrectly truncating the first
character of the command (e.g., 'ls' became 's') due to an
erroneous `slice(1)` operation, likely introduced during a
previous merge. This change removes the slice, ensuring the full
command is processed.
- Introduces unit tests for the shellCommandProcessor hook.
- Fixes a minor grammatical issue in the display of GEMINI.md file count.
|
|
Addresses an issue where commands prefixed with `!` (e.g., `!ls`) were incorrectly handled by the shell command processor if the `!` was added after initially typing the command.\n- Ensures that such commands are correctly forwarded to the Gemini model.\n- Updates `useGeminiStream` to be aware of shell mode to properly manage streaming state.\n\nFixes https://buganizer.corp.google.com/issues/418761305
|
|
|
|
logs to console.warn for now, and does not restore (but see comment on how to restore) (#438)
|
|
- Implements a toggleable shell mode, removing the need to prefix every command with `!`.
- Users can now enter and exit shell mode by typing `!` as the first character in an empty input prompt.
- The input prompt visually indicates active shell mode with a distinct color and `! ` prefix.
- Shell command history items (`user_shell`) are now visually differentiated from regular user messages.
- This provides a cleaner and more streamlined user experience for frequent shell interactions.
Fixes https://b.corp.google.com/issues/418509745
|
|
|
|
useGeminiStream (#341)
|
|
|
|
|
|
|