summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-05-10Don't prematurely end convo w/ Gemini.Taylor Mullen
- There seems to be a root model bug where the model will preemptively bail on conversations without trying harder. Typically the stops are VERY obvious and bug-looking where you need to prmopt the model to "continue". - This PR attempts to fix the above by running a 2.0-flash request (don't need somethign more powerful) at the end of every full interaction to see who should speak (user or model). - Add tests for nextSpeakerChecker Fixes https://b.corp.google.com/issues/416826051
2025-05-10Show model decline/cancellation states.Taylor Mullen
- Upon decline / cancellation we weren't showing the model the cancellation status or states. Therefore it didn't know why things would or wouldn't happen Fixes https://b.corp.google.com/issues/416797704
2025-05-10Enable tools to cancel active execution.Taylor Mullen
- Plumbed abort signals through to tools - Updated the shell tool to properly cancel active requests by killing the entire child process tree of the underlying shell process and then report that the shell itself was canceled. Fixes https://b.corp.google.com/issues/416829935
2025-05-09Make cancel not explode.Taylor Mullen
- We were console.erroring, throwing and early aborting. Instead we now treat cancels like a normal user message and show an indicator in the UI Fixes https://b.corp.google.com/issues/416515841
2025-05-09fix: Resolve infinite loopTaylor Mullen
- This change addresses and resolves an infinite loop. The patch ensures the loop condition is correctly handled, preventing its recurrence. - Added tests for markdownUtilities.test.ts Fixes: https://b.corp.google.com/issues/416795337 Signed-off-by: Gemini <My circuits hummed, and the loop was no more.>
2025-05-09fix for b/414940078 (#306)Allen Hutchison
2025-05-09feat: Update default Gemini model to gemini-2.5-pro-preview-05-06Taylor Mullen
Fixes https://b.corp.google.com/issues/416778280 Signed-off-by: Your Witty AI Assistant
2025-05-09sandbox/seatbelt-aware system prompt, support for custom seatbelt profiles ↵Olcan
under project settings (#304)
2025-05-09feat: Improve theme not found handlingTaylor Mullen
Modify to return a boolean instead of throwing an error when a theme is not found. Update CLI startup and hook to handle the boolean return value for more graceful error handling.
2025-05-09fix MCP under seatbelt, improve error handling (#301)Olcan
2025-05-09fix debugging with seatbelt, including in strict profile (#300)Olcan
2025-05-08Ensure dogfood packaging more accurately mirrors local build.Taylor Mullen
- Removed `build:package` in favor of `npm run build`. - The regular build does extra work to copy over relevant information into the `dist` dir. Alternatively without this we get a `dist` dir in the `cli` folder that has no seatbelt packaging. Fixes https://b.corp.google.com/issues/416634356
2025-05-08Add bundling support.Taylor Mullen
- This can now be invoked with `npm run bundle`, it creates a `bundle/` folder that has: - gemini.js - sandbox-macos-minimal.sb - sandbox-macos-strict.sb - shell.json - shell.md - This doesn't include any sort of automation for auto bundling pieces. It's just the root capability which we can weave into other locations. Fixes https://b.corp.google.com/issues/411432723
2025-05-08Fix: Prevent CLI from crashing when a configured theme is not foundAmir Hardon
Previously, if a theme specified in the user's settings was not found, the CLI would crash during startup. This was particularly affecting users upgrading from older versions as the "ANSI colors only" theme was renamed to "ANSI". This commit adds error handling to catch the theme not found error during initial loading and when setting themes later. Instead of crashing, the application now logs a warning, displays an error message in the UI, and opens the theme selection dialog to allow the user to choose a valid theme.
2025-05-08fix(sandbox): set --inspect-brk in production sandbox when env DEBUG is ↵Brandon Keiji
truthy (#295)
2025-05-08UI Polish for theme selector (#294)Miguel Solorio
2025-05-08allow SEATBELT_PROFILE=none to disable seatbelt on macos (#296)Olcan
2025-05-08refined sandbox/seatbelt log message, pass NODE_OPTIONS along to sandboxed ↵Olcan
node (#292)
2025-05-08fix json import warning (#291)Olcan
2025-05-08Make ascii logo simpler (#288)Miguel Solorio
2025-05-08minor comment fix (#290)Olcan
2025-05-08adjust seatbelt to allow write into specific dirs under user home (#289)Olcan
2025-05-07initTae Hyung Kim
2025-05-07Remove unnecessary sleep.Taylor Mullen
- Code review comment: https://github.com/google-gemini/gemini-code/pull/271#pullrequestreview-2821741430
2025-05-07rename SANDBOX_EXEC_PROFILE as SEATBELT_PROFILE, and fix another accidental ↵Olcan
rephrasing (#285)
2025-05-07Fix bugs from useGeminiStream refactor (#284)Tae Hyung Kim
2025-05-07use seatbelt on macos, with two profiles: minimal (default) which only ↵Olcan
restricts writes, and strict, which is deny-by-default and only allows specific operations (#283)
2025-05-07 Update EditTool description for clarity and better parameter guidance.Taylor Mullen
- Prior to this change, the model would often escape parameters when requesting edits, leading to failures in matching the original content. This update clarifies the expected format for `old_string` and `new_string` to prevent such issues. - Update `EditTool` description to provide clearer instructions. - Clarify expectations for `old_string` and `new_string` parameters, emphasizing the need for exact, unescaped text. - Aim to reduce user errors by setting better expectations for tool usage. Fixes: https://b.corp.google.com/issues/413088274 — Your friendly neighborhood Gemini
2025-05-07Continue to work through 429/500s.Taylor Mullen
- The root of this issue was actually a genai SDK bug that was fixed here: https://critique.corp.google.com/cl/753255997 - Upgrade to latest genai SDK for latest bug fixes (including the above) - Removed specific 429 handling for uncaught rejections. Fixes https://b.corp.google.com/issues/413760164
2025-05-07Create simple script for setting up a dev environment. (#277)cornmander
2025-05-07Fix flicker in iterm2 (#266)Tae Hyung Kim
2025-05-07fix: use react-jsx for typecheck (#280)Brandon Keiji
2025-05-07Refactor: Enhance @-command, Autocomplete, and Input Stability (#279)Allen Hutchison
2025-05-07make sandbox build quiet by default but allow VERBOSE=1 option. enable ↵Olcan
caching by default but allow disabling via BUILD_SANDBOX_FLAGS="--no-cache" (#278)
2025-05-07drop the comment to fix npmrc warning about "always-auth" in most recent ↵Olcan
version of npm (#276)
2025-05-07fix: build image with --no-cache (#275)Brandon Keiji
2025-05-07feat: add build:sandbox and build:all npm scripts (#274)Brandon Keiji
2025-05-07fix(sandbox): consolidate dev and prod sandbox (#273)Brandon Keiji
2025-05-06drop restriction on whitespace in bash commands (#272)Olcan
2025-05-06Prevent UI hang on long tool confirmations.Taylor Mullen
Problem: When a tool confirmation dialog appeared for a potentially long-running operation (e.g., `npm install`), accepting the confirmation would cause the UI to appear to hang. The confirmation dialog would remain visible, and no further UI updates would occur until the long-running task completed. This provided a poor user experience as the application seemed unresponsive. Fix: This change addresses the issue by ensuring the UI is updated to remove the confirmation dialog *before* the long-running operation begins. It also marks the tool as executing so a spinner can be shown. Fixes https://b.corp.google.com/issues/415844994 Signed, sealed, delivered, it's yours! - Gemini, your friendly neighborhood code-slinger
2025-05-06Fix edit confirmation re-submission.Taylor Mullen
- This broke in [this commit](https://github.com/google-gemini/gemini-code/commit/7d13f242887f4204a2c8a0ca719e121621472db9#diff-e257a7e5e02896371ce002da8963abdb91f5c77990d38e3d2f7ea07e5b19e32eR428)
2025-05-06Fix rendering & indentation of bullets (numeric and *).Taylor Mullen
- Prior to this numeric bullets wouldn't have a period suffix and * bullets wouldn't be indented if they were nested. Fixes https://b.corp.google.com/issues/414266756
2025-05-06refactor(cli): Centralize history management via useHistoryManager hook (#261)Allen Hutchison
2025-05-06Refactor: Memoize hook callbacks, update dependencies, and fix lint errors ↵Allen Hutchison
(#268) Co-authored-by: N. Taylor Mullen <[email protected]>
2025-05-06use temp file instead of footer to allow arbitrary chunking of streams and ↵Olcan
arbitrary interleaving with output from background processes (#267)
2025-05-06fix: use flat config for react eslint plugin (#265)Brandon Keiji
2025-05-06Revert "Support syntax highlighting for more languages (#246)" (#264)Jacob Richman
2025-05-05Add vibe coding instructions for 0->game.Taylor Mullen
- Prior to this GC would attempt to utilize React components as game assets (instead of using canvas) + would fail to deal with placeholder assets effectively. Part of https://b.corp.google.com/issues/413718497
2025-05-05added todo about removing mcp dependency once support is built into genai SDKolcan
2025-05-05extra spacing in discovered tool descriptionsolcan