summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/utils/commandUtils.ts
AgeCommit message (Collapse)Author
2025-08-20fix: copy command gets stuck (#6482)hritan
Co-authored-by: Hriday Taneja <[email protected]>
2025-08-07feat: open repo secrets page in addition to README (#5684)Lee James
2025-07-20feat: Added /copy command for copying output to clipboard with new Command ↵Devansh Sharma
Service approach (#3706) Co-authored-by: Abhi <[email protected]> Co-authored-by: N. Taylor Mullen <[email protected]>
2025-05-19fix: Ensure user written `!` is treated opaquely if not in shell mode\n\n- ↵Taylor Mullen
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
2025-05-07Refactor: Enhance @-command, Autocomplete, and Input Stability (#279)Allen Hutchison
2025-05-02Add autocomplete for slash commandsSeth Troisi
2025-04-30Added bang(!) commands as a shell passthroughSeth Troisi
2025-04-29Add @ command handling to useGeminiStream (#217)Allen Hutchison
* First integration of at commands into useGeminiStream.ts * feat: Integrate @ command for file/directory reading - Adds support for `@<path>` commands in the CLI UI to read file or directory contents using the `read_many_files` tool. - Refactors `useGeminiStream` hook to handle slash, passthrough, and @ commands before sending queries to the Gemini API. - Improves history item ID generation to prevent React duplicate key warnings. * fix: Handle additional text after @ command path - Modifies the `@` command processor to parse text following the file/directory path (e.g., `@README.md explain this`). - Includes both the fetched file content and the subsequent text in the query sent to the Gemini API. - Resolves the TODO item in `atCommandProcessor.ts`. * feat: Allow @ command anywhere in query and fix build - Update `atCommandProcessor` to correctly parse `@<path>` commands regardless of their position in the input string using regex. This enables queries like "Explain @README.md to me". - Fix build error in `useGeminiStream` by importing the missing `findSafeSplitPoint` function. * rename isPotentiallyAtCommand to isAtCommand * respond to review comments.
2025-04-29Refactor useGeminiStream to pull slash commands and passthrough comma… (#215)Allen Hutchison
* Refactor useGeminiStream to pull slash commands and passthrough commands into their own processors. * whitespace lint errors. * Add sugestions from code review.
2025-04-29First four independent files for @ commands. (#205)Allen Hutchison