Commit Graph

38 Commits

Author SHA1 Message Date
Seth Troisi
815dd3f1c7 Add NO_BROWSER environment variable to trigger offline oauth flow (#3713) 2025-07-11 01:59:02 +00:00
matt korwel
373ff1690e Revert "fix: Use Email for Clearcut Logging and Refactor User Info Fetching" (#3744) 2025-07-09 21:51:37 -07:00
Gaurav
b65778199b fix: Use Email for Clearcut Logging and Refactor User Info Fetching (#3620) 2025-07-10 04:17:40 +00:00
Bryan Morgan
fd717d922d Remove auto-execution on Flash in the event of a 429/Quota failover (#3662)
Co-authored-by: Jenna Inouye <jinouye@google.com>
2025-07-09 17:55:56 +00:00
Marat Boshernitsan
387cb2303d Improve auth env var validation logic and messaging to detect settings that confuse GenAI SDK (#1381)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-08 16:37:10 +00:00
Marat Boshernitsan
5c6d8f7548 Enable Gemini CLI to reuse user's auth in Cloud Shell (#3070) 2025-07-07 22:02:13 +00:00
Tommaso Sciortino
1afb62ad31 Initialize MCP tools once at start up instead of every time we auth. (#3483) 2025-07-07 22:01:59 +00:00
Tommaso Sciortino
8400bca3dd Remove unneeded code. (#3467)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-07 19:35:29 +00:00
Bryan Morgan
5024c1043b Fixed Google User Id pass to Clearcut (#3147) 2025-07-03 20:54:35 +00:00
Bryan Morgan
cffa9cac87 Added support for session_id in API calls (#2886) 2025-07-01 23:16:09 +00:00
Tommaso Sciortino
1760779bab Rename AuthType LOGIN_WITH_GOOGLE_PERSONAL -> LOGIN_WITH_GOOGLE (#2769) 2025-07-01 00:11:54 +00:00
Tommaso Sciortino
5002be6791 Fix CODE_ASSIST_ENDPOINT env var. (#2712) 2025-06-30 22:41:14 +00:00
Tommaso Sciortino
a4a5cf537d Fix oauth credential caching. (#2709) 2025-06-30 15:47:01 +00:00
Bryan Morgan
e223a7ed12 Added obfuscated google account ID to clearcut log messages (#2593) 2025-06-29 20:35:20 +00:00
Tommaso Sciortino
1d5307d113 Add privacy notice slash command (#2059) 2025-06-27 19:07:38 +00:00
Tommaso Sciortino
20cb3f4321 Improve LoadCodeAssist error handling (#1645) 2025-06-26 15:27:20 +00:00
Noritaka Kobayashi
8bd166f74b chore: fix typos in comment-out (#1540)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-26 04:34:53 +00:00
Tommaso Sciortino
f59a7d75a2 Merge "Login with Google Workspace" auth option into "Login with Google" (#1574)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-25 22:38:18 +00:00
Tommaso Sciortino
ce8abef6e7 Improve Auth error messaging (#1358) 2025-06-24 01:37:41 +00:00
Marlon Gamez
a33bca7567 point Code Assist client to prod server (#1201) 2025-06-21 22:25:18 +00: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
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
Tommaso Sciortino
c20d8393ee CCPA Count Token support (#1170) 2025-06-18 10:29:42 -07: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
Tommaso Sciortino
d7678775ad Fix flakey test (#1178) 2025-06-18 08:34:22 -07: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
N. Taylor Mullen
c36bccc811 feat(test): Increase test coverage across CLI and Core packages (#1089) 2025-06-15 22:41:32 -07:00
Marlon Gamez
1a86e60807 fix: remove quota project override in non-streaming calls to CCPA (#1032) 2025-06-14 01:23:12 +00:00
Marlon Gamez
8bc23cfea2 Use allowedTiers from LoadCodeAssist response when calling OnboardUser (#995)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jerop Kipruto <jerop@google.com>
Co-authored-by: Marat Boshernitsan <maratb@nitsan.org>
Co-authored-by: Marat Boshernitsan <maratb@google.com>
2025-06-13 02:32:13 +00:00
Tommaso Sciortino
eeda52b896 Code Assist cleanup and docs (#993) 2025-06-12 18:00:17 -07:00
Tommaso Sciortino
55770f5bee Convert CCPA requests to proper format (#981)
CCPA uses a different format than GenAi. This adds conversion code to get it to the right format.

Note that this doesn't work against the current ccpa staging server, The changes it needs are in cl/770266927
2025-06-12 09:33:49 -07:00
Tommaso Sciortino
3da4b71ae1 Cache oauth credentials (#927) 2025-06-11 13:26:41 -07:00
Tommaso Sciortino
93cd4e20ab Basic code assist support (#910) 2025-06-10 16:00:13 -07:00
Tommaso Sciortino
713dd4661f Code to support Oauth login (#881) 2025-06-09 15:14:06 -07:00