Commit Graph

53 Commits

Author SHA1 Message Date
Shreya Keshive 3bbfd2c006 fix(acp): rename --experimental-acp to --acp & remove Zed-specific refrences (#21171) 2026-03-05 19:57:28 +00:00
Spencer 1bf1637ea2 fix(core, a2a-server): prevent hang during OAuth in non-interactive sessions (#21045) 2026-03-04 20:35:21 +00:00
nityam 9c0ff50664 fix: merge duplicate imports in packages/core (3/4) (#20928) 2026-03-04 00:12:59 +00:00
Shreya Keshive 47935c2b94 fix(acp): update auth handshake to spec (#19725) 2026-02-25 15:04:42 +00:00
sinisterchill 91340e2867 fix(core): prevent OAuth server crash on unexpected requests (#19668) 2026-02-23 18:03:31 +00:00
Emily Hedlund 2cd726a7c2 fix(core): restore auth consent in headless mode and add unit tests (#19689) 2026-02-20 20:31:43 +00:00
Abhi 00e91cfb5e feat(telemetry): add keychain availability and token storage metrics (#18971) 2026-02-17 15:11:38 +00:00
Emily Hedlund b96b093f4c feat(core): require user consent before MCP server OAuth (#18132) 2026-02-03 21:26:00 +00:00
Emily Hedlund 9814d0a4a1 feat(core): implement interactive and non-interactive consent for OAuth (#17699) 2026-01-30 14:57:34 +00:00
Shreya Keshive 622dd31cf1 fix(oauth): update oauth to use 127.0.0.1 instead of localhost (#17388) 2026-01-23 18:41:37 +00:00
N. Taylor Mullen 1bfc3a7399 Introduce GEMINI_CLI_HOME for strict test isolation (#15907) 2026-01-07 04:09:39 +00:00
Christian Gunderman 3389a6e0e2 Fix test. (#16011) 2026-01-07 00:25:16 +00:00
Christian Gunderman cde615545d Fix failing unit tests (#15940) 2026-01-05 21:41:35 +00:00
Christian Gunderman 89cd346409 Fix terminal hang when user exits browser without logging in (#15748) 2026-01-05 19:02:55 +00:00
Christian Gunderman d2f8673c01 Disallow unnecessary awaits. (#15172) 2025-12-17 05:28:18 +00:00
Marat Boshernitsan 86e001f4f6 refactor(telemetry): Improve previous PR that allows telemetry to use the CLI auth and add testing (#14589) 2025-12-08 11:20:13 -08:00
Marat Boshernitsan 86c4a55012 Allow telemetry exporters to GCP to utilize user's login credentials, if requested (#13778) 2025-12-03 05:27:37 +00:00
Allen Hutchison 3686f63257 refactor(stdio): always patch stdout and use createWorkingStdio for clean output (#14159) 2025-12-02 23:08:25 +00:00
Jacob Richman c8394229c4 Fix multiple bugs with auth flow including using the implemented but unused restart support. (#13565) 2025-11-21 16:31:47 +00:00
Jacob Richman 9409be8e1b Protect stdout and stderr so JavaScript code can't accidentally write to stdout corrupting ink rendering (#13247)
Bypassing rules as link checker failure is spurious.
2025-11-20 10:44:02 -08:00
Caroline Rose fcdd1a4590 feat(auth): Add option for metadata server application default credentials without project override (#12948) 2025-11-14 16:39:11 +00:00
Tommaso Sciortino 7c6a9c1892 Migrate to coreEvents/debugLogger (#12107) 2025-10-27 23:46:35 +00:00
cocosheng-g 5c9d97d76f Create BYOID auth client when detecting BYOID credentials (#11592) 2025-10-27 20:05:11 +00:00
Dongin Kim(Terry) 1470bae0d0 chore: Extract '.gemini' to GEMINI_DIR constant (#10540)
Co-authored-by: Richie Foreman <richie.foreman@gmail.com>
2025-10-13 17:31:39 +00:00
shishu314 6d32df4ec7 feat(security) - Encrypted oauth flag (#8101)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-16 14:05:29 +00:00
Arya Gummadi d2fbbb6488 fix(auth): improve Google OAuth error handling and prevent empty error messages (#7539) 2025-09-03 20:51:29 +00:00
Pascal Birchler a97a6cc71b Explict imports & exports with type modifier (#3774) 2025-08-25 22:04:53 +00:00
Pascal Birchler 42392f6308 chore: consistently import node modules with prefix (#3013)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-08-25 20:11:27 +00:00
Yuki Okita fbbf39b059 Refac: Centralize storage file management (#4078)
Co-authored-by: Taylor Mullen <ntaylormullen@google.com>
2025-08-20 01:55:47 +00:00
Arya Gummadi 339aa07073 fix: allow re-auth with another google account (#6544) 2025-08-20 00:06:25 +00:00
Gaurav 8f88c99a12 fix: GCA creds loading order (#6498) 2025-08-18 21:11:19 +00:00
Richie Foreman ddc9755b96 chore(compiler): Enable strict property access TS compiler flag. (#6255)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-17 16:43:21 +00:00
Marat Boshernitsan 47e1d69838 feat(oauth): Make oauth client a singleton to survive cache failures (#6348) 2025-08-16 05:05:59 +00:00
Tommaso Sciortino 979b364218 Make oauth2 test windows compatible. (#4895) 2025-07-25 21:29:54 +00:00
Gal Zahavi 41dc51574f feat(auth): Enhance non-interactive gcp auth (#4811) 2025-07-25 17:19:38 +00:00
Marat Boshernitsan 5a25560447 Refactor the logic for deciding whether to launch a browser into config (#4622) 2025-07-21 23:23:28 +00:00
Marat Boshernitsan 90b0f23994 Automatically detect non-interactive environments and fall back to a manual, code-based authentication flow (#4475) 2025-07-19 00:22:50 +00:00
Yongsheng Xu 465405d78d feat(auth): Enhance OAuth callback for robust Docker support (#3532)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-18 01:55:26 +00:00
warjiang d9451d0e39 feat(cli): add explicit proxy option in cli (#2526)
Co-authored-by: Dcatfly <dcatfly@gmail.com>
2025-07-17 18:57:37 +00:00
N. Taylor Mullen 0343a9ae31 fix(auth): Remove sharp edges from headless auth (#3985) 2025-07-12 15:42:47 -07:00
Seth Troisi ff23f9794a Add oauth test (#3916) 2025-07-11 21:05:27 +00:00
Gaurav 1c6a0c6430 fix: clearcut logging (retry #3744) (#3751) 2025-07-11 17:57:35 +00:00
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
Marat Boshernitsan 5c6d8f7548 Enable Gemini CLI to reuse user's auth in Cloud Shell (#3070) 2025-07-07 22:02:13 +00:00
Bryan Morgan 5024c1043b Fixed Google User Id pass to Clearcut (#3147) 2025-07-03 20:54:35 +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 0c6aa35221 Refactor in preparation for Reauth (#1196) 2025-06-18 16:34:00 -07:00