Commit Graph

197 Commits

Author SHA1 Message Date
Bryan Morgan f5c2c51d5a [JUNE 25] Permanent failover to Flash model for OAuth users after persistent 429 errors (#1376)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-24 22:48:55 +00:00
anj-s eab527bbc8 Add the link to the privacy policy to the Usage Statistics section and remove debug logs (#1393) 2025-06-24 22:31:45 +00:00
Bryan Morgan 2079fbdf7d [June 25] Fixed user agent string to be standards-compliant (#1384) 2025-06-24 09:11:09 -07:00
cornmander c6f7229499 Update editor.ts (#1371) 2025-06-24 06:41:40 +00:00
Scott Densmore 1a57c3d61b Add Zed Editor to Eidtor List (#1372) 2025-06-23 23:32:09 -07:00
Tommaso Sciortino ce8abef6e7 Improve Auth error messaging (#1358) 2025-06-24 01:37:41 +00:00
owenofbrien 43cff878a1 Fix Clearcut logging wire format (#1359)
Fix for Clearcut logging wire format based on validation thread with Clearcut / Concord eng
2025-06-23 17:47:37 -07:00
Jerop Kipruto a8ad0a7b7d Refactor usage statistics to be a top-level setting (#1363)
This commit refactors the `usageStatisticsEnabled` setting from a sub-property of the `telemetry` configuration to a top-level setting. This change simplifies the configuration by decoupling usage statistics from the telemetry settings.

The documentation has also been updated to reflect this change.
2025-06-24 00:29:31 +00:00
anj-s 629ed02a9a Fix duplicate startSession logs and duplicate logging events over the wire (#1357) 2025-06-24 00:05:42 +00:00
Jerop Kipruto 463797730e Ensure telemetry events are flushed immediately (#1344)
The previous implementation used `flushIfNeeded` to batch most telemetry events, but it was not reliably sending them, leading to data loss. Notably, the `startSession` event, which already used `flushToClearcut`, was working correctly, indicating an issue with the batching logic itself.

This change replaces all calls to `flushIfNeeded` with `flushToClearcut` to align all event logging with the working `startSession` implementation and ensure that events are sent immediately. This prioritizes the reliability of data collection over network efficiency.

This is a temporary solution to prevent further data loss. The underlying issue with the batching mechanism in `flushIfNeeded` should be investigated and fixed in the future, at which point this change can be reverted.
2025-06-23 22:05:02 +00:00
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