summaryrefslogtreecommitdiff
path: root/packages/server/src
AgeCommit message (Collapse)Author
2025-05-10Log server information on error.Taylor Mullen
- The goal of this is to enable us to better diagnose server issues when they occur. - Added tests because why not.
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-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-09sandbox/seatbelt-aware system prompt, support for custom seatbelt profiles ↵Olcan
under project settings (#304)
2025-05-09fix MCP under seatbelt, improve error handling (#301)Olcan
2025-05-08fix json import warning (#291)Olcan
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-06drop restriction on whitespace in bash commands (#272)Olcan
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-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
2025-05-05support for mcp toolsolcan
2025-05-05support for discovered tools using project settings for discovery and call ↵olcan
commands
2025-05-05Remove passthroughCommands (#252)Seth Troisi
2025-05-02Cleanup low value comments. (#248)Jacob Richman
2025-05-02Use parameter properties for constructor parameters in config.ts (#245)Jacob Richman
2025-05-02Use parameter properties where possible. (#242)Jacob Richman
2025-05-02sandbox setting and argument (#243)Olcan
2025-05-01Support escaping spaces in file paths. (#241)Jacob Richman
2025-04-30simplify directory display in shell tool description (#230)Olcan
2025-04-29do not prepend ./ to absolute paths or . (#220)Olcan
2025-04-28switch to shell tool, deprecating terminal (#203)Olcan
* switch to shell tool, deprecating terminal * Merge remote-tracking branch 'origin/main' into deprecate_terminal
2025-04-28do not prepend ./ unless missing (#200)Olcan
* do not prepend ./ unless missing * Merge remote-tracking branch 'origin/main' into dir_prefix_fix
2025-04-28rename dev image with -dev suffix (#195)Olcan
2025-04-28shell tool tweaks (#194)Olcan
2025-04-27Refactor: Update core system prompt with new application workflow and ↵Taylor Mullen
improved structure - Refine agent persona from 'assistant' to 'agent'. - Restructure prompt into distinct 'Software Engineering Tasks' and 'New Application' workflows. - Add detailed steps and tool usage guidance for creating new applications. - Improve clarity and formatting of prompt instructions. Part of https://b.corp.google.com/issues/413718497 Signed-off-by: Gemini, your friendly neighborhood code agent.
2025-04-27minimal shell tool (#191)Olcan
2025-04-27don't confirm invalid params in terminal tool, or in general (added comments ↵Olcan
to base class) (#187)
2025-04-26Prevent console.warn's for tool calls.Taylor Mullen
- Added helper for extracting text content from responses without warning. See fixed issue for more detail: https://b.corp.google.com/issues/414005146
2025-04-25more consistent confirmations, TODO to improve write confirmations, drop ↵Olcan
"description" from execution confirmation, add confirmation to new (still dummy) shell tool (#176)
2025-04-24enable json imports (#165)Olcan
* enable json imports * Merge remote-tracking branch 'origin/main' into enable_json_imports
2025-04-24shell bones (#160)Olcan
* shell bones * Merge remote-tracking branch 'origin/main' into shell_bones * add line break * another line break * drop the log to avoid breaking terminals * rename tool to be consistent with terminal * fix build
2025-04-24Adding a full_context command line argument. (#158)Allen Hutchison
* Adding a full_context command line argument. * Update packages/cli/src/config/config.ts Co-authored-by: N. Taylor Mullen <[email protected]> * lint fix. --------- Co-authored-by: N. Taylor Mullen <[email protected]>
2025-04-24general rules should apply to whole project (#159)Olcan
* general rules should apply to whole project * Merge remote-tracking branch 'origin/main' into fix_eslint * lint fixes under server package
2025-04-24remove dead code (+ dont reset shellReady unless restarting) (#156)Olcan
2025-04-24rename read_many_files (#153)Olcan
2025-04-23unban commands (#146)Olcan
2025-04-23Add concatenation tool (#130)Allen Hutchison
* Adding a tool inspired by files-to-prompt that will recursivly read through all the files in a directory (guarded by targetDir) and concatenate those files for the model. Ignores common build artifacts and non-text files. * Migraded glob logic to fast-glob. Buffed the tool description to give more guidance to the model. Incorporated reveiw feedback. * lint and error checking.
2025-04-23Refactor: Remove GEMINI.md memory and refactor system promptTaylor Mullen
- Updates CONTRIBUTING.md and Tips.tsx to remove references to GEMINI.md and the /init command, and renumbers tips. - Fixes a typo in Tips.tsx ("information.s" -> "information."). - Refactors the core system prompt in prompts.ts from a constant string to a function . - Updates client.ts to call the function. - Updates tool name references within the system prompt to use template literals for dynamic naming. Fixes bug: https://buganizer.corp.google.com/issues/413061073 --- Generated by yours truly __Gemini Code__
2025-04-23Updating the system prompt to allow for more complex app creationChris Perry
2025-04-23remove dead code (#131)Olcan
2025-04-22Question flag (#125)Allen Hutchison
2025-04-22fix hanging toolsJaana Dogan
https://github.com/google-gemini/gemini-code/pull/117/
2025-04-22Initiate the GeminiClient with a configJaana Dogan
Also address the open readability improvement comments from #104.
2025-04-21Simplify GeminiClient (#101)Jaana Dogan
Doing some more clean-up: * Remove confusing continue/break * Handle empty result * Rename the file just client.js
2025-04-21fix: remove circular dependency in background terminal analyzer (#94)Brandon Keiji