Commit Graph

  • 2571e07175 enable debugging through sandbox (#88) Olcan 2025-04-21 12:39:58 -07:00
  • 53a5728009 Remove redundant else branches (#86) Jaana Dogan 2025-04-21 12:15:47 -07:00
  • dea0782c89 fix flags via sandbox (again) (#87) Olcan 2025-04-21 12:13:16 -07:00
  • 651a543403 Remove gemini-stream.ts (#84) Jaana Dogan 2025-04-21 11:49:46 -07:00
  • 738c2692fb Fix confirmations. Taylor Mullen 2025-04-21 14:32:18 -04:00
  • 618f8a43cf don't assume .env file (#83) Olcan 2025-04-21 11:21:48 -07:00
  • 0a531f732b Ignore grep error if .env doesn't exist (#82) Jaana Dogan 2025-04-21 11:15:55 -07:00
  • 7f95c594c0 More license headers, add a CONTRIBUTING.md file (also fix README.md formatting) (#81) Tyler 2025-04-21 10:04:03 -07:00
  • fad526c63f make sandbox attachable, document in README (#80) Olcan 2025-04-21 09:17:17 -07:00
  • 7588aef07c added sandbox section to readme (#79) Olcan 2025-04-21 08:31:36 -07:00
  • 81f0f618f7 Fix Gemini Code's (GC) smarts. Taylor Mullen 2025-04-21 10:53:11 -04:00
  • e351baf10f feat: add custom eslint rule for cross-package imports (#77) Brandon Keiji 2025-04-21 08:02:11 -07:00
  • 39bdedab9c seamless sandboxing (just set GEMINI_CODE_SANDBOX=true in .env) (#76) Olcan 2025-04-21 07:50:18 -07:00
  • bfb064024e Revert debug undo. Taylor Mullen 2025-04-20 22:28:12 -04:00
  • ce0f2dd868 Update README to reflect current state of the world. Taylor Mullen 2025-04-20 22:19:48 -04:00
  • d668600672 fix passing of flags through start scripts (#73) Olcan 2025-04-20 19:19:42 -07:00
  • 63f864cdd7 Fix read-file from exploding with path not found error. Taylor Mullen 2025-04-20 22:10:23 -04:00
  • c095091853 fix function calling for gemini 2.5 series (#65) Olcan 2025-04-20 19:05:27 -07:00
  • d55168f51f add linter for checking license headers (and eslint --fix target to match, and fix missing license headers while we're here) (#62) Tyler 2025-04-20 17:16:25 -07:00
  • 305ed41b88 drop /dist suffix no longer needed (#71) Olcan 2025-04-20 14:55:36 -07:00
  • ef909f6335 start and debug scripts (will enable seamless container use later), strict error handling in bash scripts (#63) Olcan 2025-04-20 14:50:12 -07:00
  • c80800a3ee use /sandbox/<proj_name> instead of /project as workdir in container (#64) Olcan 2025-04-20 14:49:02 -07:00
  • 9d608135e3 Make model-generated code copyable (#70) Juliette Love 2025-04-20 21:48:30 +01:00
  • 8180ed9a68 Add terminal clear (#69) Juliette Love 2025-04-20 21:13:32 +01:00
  • d6556c5246 fix: remove 'dist' suffix from start_container.sh command (#67) Brandon Keiji 2025-04-20 13:07:54 -07:00
  • a76d9b4dcf Adds shell command allowlist (#68) Juliette Love 2025-04-20 21:06:22 +01:00
  • f480ef4bbc refactor: clean up build output (#53) Brandon Keiji 2025-04-20 12:33:39 -07:00
  • a66ad2e2af Simple debug mode for CLI side (#66) Juliette Love 2025-04-20 20:20:40 +01:00
  • 99f5ed9ecb Minimal container setup. Install docker (or podman), build container with scripts/build_container.sh, then start with scripts/start_container.sh. Exit with ^C for now. (#61) Olcan 2025-04-20 08:22:17 -07:00
  • 044ccc6dd7 Enable npm run debug from root. Taylor Mullen 2025-04-19 17:37:15 -04:00
  • f7edf71190 Give Gemini Code a face lift. Taylor Mullen 2025-04-19 12:38:09 -04:00
  • 3fce6cea27 Starting to modularize into separate cli / server packages. (#55) Evan Senter 2025-04-19 19:45:42 +01:00
  • 0c9e1ef61b Adding some simple tests. (#54) Evan Senter 2025-04-19 18:07:24 +01:00
  • d9ad2a74ae Fix the double warning for iterm. (#51) Allen Hutchison 2025-04-19 07:02:12 -07:00
  • ce1c83da89 Quick fix gitignore (#49) Allen Hutchison 2025-04-19 07:01:54 -07:00
  • 75ecb4a81f Adding in a history buffer (#38) Evan Senter 2025-04-19 14:31:59 +01:00
  • 2f5f6baf0f fix format jlove29 2025-04-19 11:08:50 +01:00
  • d2ef83bc60 Add direct execution of shell commands jlove29 2025-04-19 11:07:39 +01:00
  • 24371a3954 Take the turn management out of GeminiClient (#42) Jaana Dogan 2025-04-18 23:11:33 -07:00
  • 65e8e3ed1f Show error when GEMINI_API_KEY is not set (#52) Jaana Dogan 2025-04-18 19:26:16 -07:00
  • 4354458cad Add apache2 SPDX headers to all source files (#48) Tyler 2025-04-18 17:44:24 -07:00
  • e75f0722e7 All the pipes (#47) Allen Hutchison 2025-04-18 17:12:14 -07:00
  • 3adc0dfbaf Command line flags got broke. Now to run with flags run: (#46) Allen Hutchison 2025-04-18 16:41:51 -07:00
  • f3669f20a9 minor lint fix (#45) Olcan 2025-04-18 16:38:01 -07:00
  • e5a50d0154 fix: point server 'main' to dist folder (#44) Brandon Keiji 2025-04-18 16:29:49 -07:00
  • 6e4d4fc604 fix: temporarily comment out .npmrc (#43) Brandon Keiji 2025-04-18 16:18:44 -07:00
  • 40e11e053c Fix remaining tslint errors (YAY). Taylor Mullen 2025-04-18 19:09:41 -04:00
  • 2a850ed051 fix: add --build flag to tsc commands (#40) Brandon Keiji 2025-04-18 16:14:20 -07:00
  • 383b917784 Run npm run format Taylor Mullen 2025-04-18 18:08:43 -04:00
  • fa264e4286 Make CI fail if there are unformatted changes. Taylor Mullen 2025-04-18 18:08:20 -04:00
  • 23b43ff651 fix: add clean command to individual packages (#36) Brandon Keiji 2025-04-18 14:57:20 -07:00
  • e7fa39112a Manually fix hooks and utils linting errors (partial) Taylor Mullen 2025-04-18 17:47:49 -04:00
  • dfae3f6284 Iterm refactor (#33) Allen Hutchison 2025-04-18 14:39:05 -07:00
  • 52683dafc3 infra: add multipackage support (#34) Brandon Keiji 2025-04-18 14:37:02 -07:00
  • f51ca774cf Add a warning about the flickering in iTerm. (#32) Allen Hutchison 2025-04-18 14:09:06 -07:00
  • 482aeaff10 Warn if npm run start is out of date. (#20) Evan Senter 2025-04-18 21:55:02 +01:00
  • 3ed61f1ff2 Web fetch tool (#31) Allen Hutchison 2025-04-18 13:20:39 -07:00
  • 56d4a35d05 feat: initial configs for npm publishing (#30) Brandon Keiji 2025-04-18 12:46:42 -07:00
  • abb60a4d10 Finish manually fixing linter errors for tools dir (partial). Taylor Mullen 2025-04-18 14:34:34 -04:00
  • 328846c6e3 Remove extra args from config (#27) Jaana Dogan 2025-04-18 11:26:39 -07:00
  • 3afaa8033b Introduce a config module to manage configuration (#22) Jaana Dogan 2025-04-18 11:12:18 -07:00
  • e1fac40256 Rename invalidParams to validateToolParams (#12) Jaana Dogan 2025-04-18 11:06:30 -07:00
  • 7cd3b95317 Fix linting errors in a number of core and tool files (partial) Taylor Mullen 2025-04-18 13:37:51 -04:00
  • 93fd6a9160 Style improvements to ls tool (#14) Jaana Dogan 2025-04-18 10:57:20 -07:00
  • f6a4a5c44d Revert "Adding some wiring to allow the Ink app to warn if there are local development changes that haven't been captured in the recent build of the Gemini CLI." Evan Senter 2025-04-18 18:32:20 +01:00
  • bb95c8c45a Revert "Adding support for up / down arrows in the command history." Evan Senter 2025-04-18 18:29:31 +01:00
  • dbf4c3a37c Revert "Including a test harness for it, and making sure the cursor is always at the end." Evan Senter 2025-04-18 18:29:27 +01:00
  • f330a87e50 add LICENSE (#25) Tyler 2025-04-18 10:30:07 -07:00
  • f72aa8c840 Cicd (#24) Allen Hutchison 2025-04-18 10:26:27 -07:00
  • 999d0568fa Refactor: Update API key missing message with link (#23) Brandon Keiji 2025-04-18 10:25:32 -07:00
  • 7878f54043 Add basic non blocking CI workflow. (#21) Allen Hutchison 2025-04-18 10:20:39 -07:00
  • 97db77997f Including a test harness for it, and making sure the cursor is always at the end. Evan Senter 2025-04-18 18:14:45 +01:00
  • 3829ac6353 Adding support for up / down arrows in the command history. Evan Senter 2025-04-18 17:50:22 +01:00
  • 1bfc62dcc2 Adding some wiring to allow the Ink app to warn if there are local development changes that haven't been captured in the recent build of the Gemini CLI. Evan Senter 2025-04-18 17:35:29 +01:00
  • e0339993ae Initial auto-fixing of linting errors. Taylor Mullen 2025-04-18 10:53:16 -04:00
  • cb30351403 Adding a new parameter for model, and updating the default to 2.5 Flash. (#18) Evan Senter 2025-04-18 17:06:16 +01:00
  • b56d9c8639 Merge pull request #9 from google-gemini/target-directory Allen Hutchison 2025-04-17 16:57:22 -07:00
  • 00d29aa162 Change the run command to properly pass the command line arguments to gemini.ts Allen Hutchison 2025-04-17 16:55:46 -07:00
  • cfc697a96d Run npm run format Taylor Mullen 2025-04-17 18:06:21 -04:00
  • 7928c1727f Configure linter + prettier. Taylor Mullen 2025-04-17 17:57:39 -04:00
  • d3ee91ff92 Merge pull request #3 from google-gemini/readme Jaana Dogan 2025-04-17 14:39:13 -07:00
  • a280727248 Remove internal docs and mention of Gerrit from README Jaana Dogan 2025-04-17 12:21:28 -07:00
  • d970882428 Fix build break (tool -> tools). Taylor Mullen 2025-04-17 17:25:01 -04:00
  • ece8630c33 Revert camelCasing for schemas Taylor Mullen 2025-04-17 17:13:26 -04:00
  • 81ba61df7f Improve readability issues Jaana Dogan 2025-04-17 12:03:02 -07:00
  • 898a83031c docs: Add setup instructions for API key to README (#1) Brandon Keiji 2025-04-17 11:59:12 -07:00
  • f10aaf7e7e fix: Suppress crash from unhandled 429 stream error via global handler Introduces a process.on('unhandledRejection') handler in src/gemini.ts as a workaround for an issue where 429 ClientErrors originating from the @google/genai library's sendMessageStream during iteration can cause an unhandled rejection, even when caught within local try/catch blocks in the application code (e.g., in processGeminiStream). The handler specifically identifies this known 429 ClientError based on its type and message content. If matched, it logs a warning indicating the known issue is being suppressed and prevents process.exit(1). Any other genuinely unhandled promise rejections will still be logged as critical errors and will terminate the application, maintaining default behavior for unexpected issues. This workaround mitigates a suspected library-internal problem related to error propagation during asynchronous stream iteration. Allen Hutchison 2025-04-16 16:53:56 -07:00
  • 123c3050dc Add and update README files Taylor Mullen 2025-04-16 14:47:00 -07:00
  • add233c504 Initial commit of Gemini Code CLI Taylor Mullen 2025-04-15 21:41:08 -07:00