summaryrefslogtreecommitdiff
path: root/packages/server/src
AgeCommit message (Collapse)Author
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
2025-04-21fix: use relative imports within the same package (#93)Brandon Keiji
2025-04-21Remove dead methods from ToolRegistry (#91)Jaana Dogan
* getToolSchemas is deprecated. * listAvailableTools is now getAllTools.
2025-04-21Remove duplicate CLI tools module, remove the global tool registry (#89)Jaana Dogan
2025-04-21Remove redundant else branches (#86)Jaana Dogan
Else branches are an anti pattern especially if you can easily return from the previous branch. Over time, else branches cause deep nesting and make code unreadable and unmaintainable. Remove elses where possible.
2025-04-21Fix confirmations.Taylor Mullen
- This fixes what it means to get confirmations in GC. Prior to this they had just been accidentally unwired as part of all of the refactorings to turns + to server/core. - The key piece of this is that we wrap the onConfirm in the gemini stream hook in order to resubmit function responses. This isn't 100% ideal but gets the job done for now. - Fixed history not updating properly with confirmations. Fixes https://b.corp.google.com/issues/412323656
2025-04-21Fix Gemini Code's (GC) smarts.Taylor Mullen
- The tl;dr; is that GC couldn't see what the user was saying when tool call events happened in response. The rason why this was happening was because we were instantly invoking tools that the model told us to invoke and then instantly re-requesting. This resulted in the bug because the genai APIs can't update the chat history before a full response has been completed (doesn't know how to update if it's incomplete). - To address the above issue I had to do quite the large refactor. The gist is that now turns truly drive everything on the server (vs. a server client split). This ensured that when we got tool invocations we could control when/how re-requesting would happen and then also ensure that history was updated. This change also meant that the server would act as an event publisher to enable the client to react to events rather than try and weave in complex logic between the events. - A BIG change that this changeset incudes is the removal of all of the CLI tools in favor of the server tools. - Removed some dead code as part of this - **NOTE: Confirmations are still broken (they were broken prior to this); however, I've set them up to be able to work in the future, I'll dot hat in a follow up to be less breaking to others.** Fixes https://b.corp.google.com/issues/412320087
2025-04-20Fix read-file from exploding with path not found error.Taylor Mullen
- There were a few hiccups here. Somehow 2.5-flash wasn't actually abiding by our tool schema. Instead it was inferring `path`. To semi-combat this I've renamed `file_path` -> `path`. - We weren't elevating errors that were created via schema validation. Instead both the `glob` and `read-file.ts` now surface this. - In error scenarios (like failing schema) we were improperly surfacing these as success cases because we were overriding tool status.
2025-04-20fix function calling for gemini 2.5 series (#65)Olcan
2025-04-20add linter for checking license headers (and eslint --fix target to match, ↵Tyler
and fix missing license headers while we're here) (#62)