Commit Graph

187 Commits

Author SHA1 Message Date
Abhi 749de0662e Add error messaging for 429 errors (#1316) 2025-06-23 21:30:13 +00:00
Jerop Kipruto 5ae029009b refactor: rename disableDataCollection to dataCollectionEnabled (#1319)
Renames the `disableDataCollection` flag to the more intuitive and positive `dataCollectionEnabled`.

This change improves code clarity by avoiding double negatives and making the purpose of the flag more direct. The logic has been inverted wherever the flag is used to accommodate the new naming convention.

Using a suffix like `"Enabled"` follows a common convention that improves readability. 
- A condition like `if (dataCollectionEnabled)` reads like a natural language sentence ("if data collection is enabled"), which reduces cognitive load.
- Distinguishes the boolean flag (representing a state) from potential functions that would perform an action (e.g., `enableDataCollection()` or `disableDataCollection()`), avoiding ambiguity between checking a value and calling a function.

#750
2025-06-23 21:19:40 +00:00
Jerop Kipruto 091d7b8ee9 Fix batch flush to Clearcut (#1337)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-23 21:12:58 +00:00
Jacob Richman 9d8bdc8e65 A couple of these log messages were now showing up every time on app startup (#1335) 2025-06-23 11:31:13 -07:00
N. Taylor Mullen 53dcaf56c7 Remove .gitignore logging from startup. (#1323) 2025-06-23 11:12:42 -07:00
owenofbrien 7201da6a02 Enable clearcut logging by default (#1309)
Clearcut logging can now be disabled via disableDataCollection in user settings
2025-06-23 10:18:58 -07:00
Tommaso Sciortino 5a13a51619 Sanitize MCP FunctionDeclarations to workaround Vertex bug (#1330) 2025-06-23 09:13:53 -07:00
Billy Biggs 92f766537d Plumb extension context filenames through for /memory refresh (#1312) 2025-06-22 16:17:05 -07:00
owenofbrien a230beb945 Clearcut logging - initial implementation (#1274)
Flag-guarded initial implementation of a clearcut logger to collect telemetry data and send it to Concord for dashboards, etc.
2025-06-22 14:26:48 +00:00
Abhi a9d2ec7d46 feat: Add client-initiated tool call handling (#1292) 2025-06-22 01:35:36 -04:00
Louis Jimenez 45b8c49709 Provide a .gitconfig for shadow repos (#1294) 2025-06-22 00:13:03 -04:00
Billy Biggs a4807bf092 Add setting enableRecursiveFileSearch to control @-file completion (#1290) 2025-06-22 01:23:35 +00:00
Marlon Gamez a33bca7567 point Code Assist client to prod server (#1201) 2025-06-21 22:25:18 +00:00
Tommaso Sciortino 42fb2fec0c Remove packages/cli/README.md (#1278) 2025-06-21 16:43:01 +01:00
Brandon Keiji 2961a191fb fix: remove circular references in core package (#1271) (#1272) 2025-06-20 16:21:09 -07:00
N. Taylor Mullen a02fd9c3e4 feat: Update default Gemini Flash model to 2.5 (#1241) 2025-06-20 05:54:00 +00:00
Abhi 695721276c Bug fix telemetry token count (#1250)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-20 05:45:29 +00:00
Louis Jimenez 18d2f3bebd Make checkpoints configurable in settings.json (#1251) 2025-06-20 00:39:15 -04:00
Louis Jimenez 23fe8abb74 Move the shell history our of the project .gemini to the home dir (#1195) 2025-06-19 23:53:24 -04:00
N. Taylor Mullen 40ca25137f Tactical client lifetime fix. (#1247) 2025-06-19 19:54:36 -07:00
matt korwel eda4c79222 Auth First Run (#1207)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-19 16:52:22 -07:00
Tommaso Sciortino 25080d2677 Set slice=true on tests to supress output. (#1168) 2025-06-19 15:27:00 -07:00
Abhi aa5b7c091d bug: removes raw api response from stdout (#1224) 2025-06-19 16:26:31 -04:00
anj-s 28ccc1379a Remove verification to prevent file reverts and endless loops (#1213) 2025-06-19 10:03:54 -07:00
Tommaso Sciortino 2de76a774d Use Env Var directly instead of through GoogleAuth() (#1202) 2025-06-18 17:24:46 -07:00
Tommaso Sciortino 0c6aa35221 Refactor in preparation for Reauth (#1196) 2025-06-18 16:34:00 -07:00
Allen Hutchison aa967d7a49 Fix noise in headless mode on STDOUT (#1184) 2025-06-18 11:40:15 -07:00
anj-s 582ecbf359 Cherry pick fix for enabling the agent to verify changes using tests (#1185) 2025-06-18 11:00:01 -07:00
Tommaso Sciortino c20d8393ee CCPA Count Token support (#1170) 2025-06-18 10:29:42 -07:00
Brandon Keiji 342b077aff feat: consolidate sandbox configurations into a single object (#1154) 2025-06-18 17:01:00 +00:00
Tommaso Sciortino 562e77284c Support logging in with Application Default Credentials (#1157)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-18 09:49:13 -07:00
anj-s 07f87ebe04 Cherrypick endless loops fix onto release (#1181) 2025-06-18 09:27:23 -07:00
Tommaso Sciortino d7678775ad Fix flakey test (#1178) 2025-06-18 08:34:22 -07:00
Louis Jimenez 3cc2e02fef Move the logs.json to a project specific user home dir (#1145) 2025-06-18 09:56:21 -04:00
N. Taylor Mullen 5ee75601d1 feat: update default gemini model to GA 2.5 pro (#1173) 2025-06-17 23:08:04 -07:00
Louis Jimenez b83cc24e07 Clear out untracked files when restoring a checkpoint (#1139) 2025-06-17 22:01:42 -04:00
Jacob MacDonald 9f4f4ae89e code review followup for compress command (#1097)
Followup to https://github.com/google-gemini/gemini-cli/pull/986
2025-06-17 15:44:54 +00:00
Tommaso Sciortino 11b43d4eba Cache credentials in home dir, not working dir (#1122) 2025-06-16 19:31:32 -07:00
Tommaso Sciortino 53ba909a81 Simplify Error handling in Code Assist onboarding (#1123) 2025-06-16 18:30:55 -07:00
Tommaso Sciortino af929f6c4f Propagate abort signal to ccpa generateContent. (#1106) 2025-06-16 13:24:42 -07:00
Marlon Gamez baad4cf0d3 fix: add httpOptions with headers field to CCPA client and set User-Agent header (#1103) 2025-06-16 12:03:06 -07:00
Mark McDonald 7be9fb5499 Added sandbox error hint when MCP servers fail to launch in sandbox mode (#972) 2025-06-16 06:37:09 +00:00
Abhi 662403c66c feat: clear should also clear chat history (#1008) 2025-06-16 06:33:59 +00:00
Louis Jimenez 6607d47c2c Move the shadow git repository to the user's home dir (#1013) 2025-06-16 06:30:02 +00:00
N. Taylor Mullen c36bccc811 feat(test): Increase test coverage across CLI and Core packages (#1089) 2025-06-15 22:41:32 -07:00
Leo 72d581369d bug: Fix modify edit (#1078) 2025-06-15 18:00:41 -07:00
Jerop Kipruto bd0f1c9b6b Add file operation telemetry (#1068)
Introduces telemetry for file create, read, and update operations.

This change adds the `gemini_cli.file.operation.count` metric, recorded by the `read-file`, `read-many-files`, and `write-file` tools.

The metric includes the following attributes:
    - `operation` (string: `create`, `read`, `update`): The type of file operation.
    - `lines` (optional, Int): Number of lines in the file.
    - `mimetype` (optional, string): Mimetype of the file.
    - `extension` (optional, string): File extension of the file.

Here is a stacked bar chart of file operations by extension (`js`, `ts`, `md`):
![image](https://github.com/user-attachments/assets/3e8f8ea9-6155-4186-863c-075cc47647c5)

Here is a stacked bar chart of file operations by type (`create`, `read`, `update`):
![image](https://github.com/user-attachments/assets/3fcf491d-31d0-4ba8-80e6-7fd2bd9c7c27)

#750 

cc @allenhutchison as discussed
2025-06-15 13:24:53 -07:00
Marat Boshernitsan 2732f83f4a Stabilize prompts snapshot test by properly mocking the SANDBOX env var. (#1067)
Co-authored-by: Marat Boshernitsan <maratb@google.com>
2025-06-15 11:33:30 -07:00
Asad Memon 07eff94919 feat: Show model thoughts while loading (#992) 2025-06-15 18:19:05 +00:00
Asad Memon 407a71396f feat: Add token stats in footer (#909) 2025-06-15 11:15:53 -07:00