Gaurav Ghosh
e75c7418d4
fix: use vi.restoreAllMocks and toMatchSnapshot in dialog tests
...
- OverageMenuDialog.test.tsx: add afterEach with vi.restoreAllMocks(),
remove RadioButtonSelect mock, use renderWithProviders + toMatchSnapshot
for rendering tests and keyboard input for handler tests
- EmptyWalletDialog.test.tsx: same treatment as OverageMenuDialog
- useQuotaAndFallback.test.ts: vi.clearAllMocks() → vi.restoreAllMocks()
in afterEach to prevent test pollution
2026-02-27 07:39:55 -08:00
Gaurav Ghosh
5cc9644a16
update: add Pro 3.1
2026-02-27 00:45:43 -08:00
Gaurav Ghosh
6836f0e1b2
feat: implement G1 AI credits overage flow with billing telemetry
...
Adds end-to-end support for Google One AI credits in quota exhaustion flows:
- New billing module (packages/core/src/billing/) with credit balance
checking, overage strategy management, and G1 URL construction
- OverageMenuDialog and EmptyWalletDialog UI components for quota
exhaustion with credit purchase options
- Credits flow handler extracted to creditsFlowHandler.ts with overage
menu, empty wallet, and auto-use-credits logic
- Server-side credit tracking: enabledCreditTypes on requests,
consumed/remaining credits from streaming responses
- Billing telemetry events (overage menu shown, option selected, credits
used, credit purchase click, API key updated)
- OpenTelemetry metrics for overage option and credit purchase counters
- Credit balance display in /stats command with refresh support
- Settings: general.overageStrategy (ask/always/never) for credit usage
- Error handling: INSUFFICIENT_G1_CREDITS_BALANCE as terminal error
regardless of domain field presence
- Persistent info message after
2026-02-25 05:08:13 -08:00
Jerop Kipruto
bf278ef2b0
feat(plan): support automatic model switching for Plan Mode ( #20240 )
2026-02-25 00:15:14 +00:00
Sandy Tao
3ff5cfaaf6
feat(telemetry): Add context breakdown to API response event ( #19699 )
2026-02-24 23:26:28 +00:00
Ishaan Gupta
70b650122f
feat: prompt users to run /terminal-setup with yes/no ( #16235 )
...
Co-authored-by: Vedant Mahajan <Vedant.04.mahajan@gmail.com >
2026-02-24 21:48:28 +00:00
Adam Weidman
16d3883642
fix: additional high vulnerabilities (minimatch, cross-spawn) ( #20221 )
2026-02-24 21:47:37 +00:00
Jenna Inouye
5c23f7f6e0
Docs: Update UI links. ( #20224 )
2026-02-24 21:12:53 +00:00
Michael Bleigh
d47d4855db
feat(hooks): adds support for RuntimeHook functions. ( #19598 )
2026-02-24 21:03:36 +00:00
Gal Zahavi
6510347d5b
feat(extensions): enforce folder trust for local extension install ( #19703 )
2026-02-24 19:58:44 +00:00
Jerop Kipruto
4dd940f8ce
feat(plan): inject message when user manually exits Plan mode ( #20203 )
2026-02-24 19:31:41 +00:00
christine betts
8e9ce3f4c3
Fix extension env dir loading issue ( #20198 )
2026-02-24 18:13:21 +00:00
Himanshu Soni
e4204d5939
fix(core): create new McpClient on restart to apply updated config ( #20126 )
2026-02-24 18:03:33 +00:00
Jerop Kipruto
baccda969d
feat(plan): summarize work after executing a plan ( #19432 )
2026-02-24 17:35:32 +00:00
Gaurav
9e95b8b3c5
feat(browser): implement experimental browser agent ( #19284 )
2026-02-24 17:22:09 +00:00
Jerop Kipruto
182c858e67
feat(policy): centralize plan mode tool visibility in policy engine ( #20178 )
...
Co-authored-by: Mahima Shanware <mshanware@google.com >
2026-02-24 17:17:43 +00:00
Jasmeet Bhatia
c0b76af442
feat(mcp): add progress bar, throttling, and input validation for MCP tool progress ( #19772 )
2026-02-24 17:13:51 +00:00
sinisterchill
4efdbe9089
fix(a2a-server): pass allowedTools settings to core Config ( #19680 )
2026-02-24 16:52:32 +00:00
Jerop Kipruto
15f6c8b8da
feat(policy): Propagate Tool Annotations for MCP Servers ( #20083 )
2026-02-24 14:20:11 +00:00
Kiryl Dubarenka
ee2e947435
feat(ide): add GEMINI_CLI_IDE_PID env var to override IDE process detection ( #15842 )
...
Co-authored-by: Adib234 <30782825+Adib234@users.noreply.github.com >
2026-02-24 13:35:25 +00:00
Jacob Richman
6676546a4b
fix punycode2 ( #20154 )
2026-02-24 09:43:22 +00:00
Keith Guerin
d143a83d5b
refactor(ui): Update and simplify use of gray colors in themes ( #20141 )
2026-02-24 09:21:10 +00:00
Keith Guerin
e69e23e4a0
Shortcuts: Move SectionHeader title below top line and refine styling ( #18721 )
2026-02-24 08:12:29 +00:00
Steven Robertson
b0ceb74462
feat: implement AfterTool tail tool calls ( #18486 )
2026-02-24 03:57:00 +00:00
nityam
ee5eb70070
fix(cli): Remove unsafe type assertions in activityLogger #19713 ( #19745 )
2026-02-24 03:54:09 +00:00
Rishabh Khandelwal
dde844dbe1
feat(security): Introduce Conseca framework ( #13193 )
2026-02-24 02:44:28 +00:00
Yuki Okita
05bc0399f3
feat(cli): allow expanding full details of MCP tool on approval ( #19916 )
2026-02-24 01:45:05 +00:00
kevinjwang1
2ff7738b5d
Add new setting to configure maxRetries ( #20064 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-23 23:57:16 +00:00
Tommaso Sciortino
1ad26adb2b
fix critical dep vulnerability ( #20087 )
2026-02-23 23:36:35 +00:00
nityam
af5aec69da
Fix: Handle corrupted token file gracefully when switching auth types ( #19845 ) ( #19850 )
2026-02-23 23:15:54 +00:00
nityam
dae67983a8
fix(a2a-server): Remove unsafe type assertions in agent ( #19723 )
2026-02-23 22:40:55 +00:00
Abhijit Balaji
cec45a1ebc
fix(cli): skip workspace policy loading when in home directory ( #20054 )
2026-02-23 22:08:56 +00:00
Adam Weidman
767d80e768
fix(core): prevent utility calls from changing session active model ( #20035 )
2026-02-23 21:54:02 +00:00
Jerop Kipruto
3e5e608a22
feat(policy): Implement Tool Annotation Matching in Policy Engine ( #20029 )
2026-02-23 21:39:40 +00:00
Gal Zahavi
0bc2d3ab16
fix(core): allow environment variable expansion and explicit overrides for MCP servers ( #18837 )
2026-02-23 21:35:01 +00:00
Sandy Tao
0cc4f09595
feat(core): replace expected_replacements with allow_multiple in replace tool ( #20033 )
2026-02-23 19:53:58 +00:00
Michael Bleigh
70336e73b1
feat(core): implement experimental direct web fetch ( #19557 )
2026-02-23 19:50:14 +00:00
Aishanee Shah
7cfbb6fb71
feat(core): optimize tool descriptions and schemas for Gemini 3 ( #19643 )
2026-02-23 19:27:35 +00:00
Jerop Kipruto
347f3fe7e4
feat(policy): Support MCP Server Wildcards in Policy Engine ( #20024 )
2026-02-23 19:07:06 +00:00
Himanshu Soni
774ae220be
fix(core): prevent state corruption in McpClientManager during collis ( #19782 )
2026-02-23 18:35:31 +00:00
Tommaso Sciortino
813e0c18ac
Allow ask headers longer than 16 chars ( #20041 )
2026-02-23 18:26:59 +00:00
Sri Pasumarthi
3966f3c053
feat: Map tool kinds to explicit ACP.ToolKind values and update test … ( #19547 )
2026-02-23 18:22:05 +00:00
sinisterchill
2e3cbd6363
fix(core): prevent OAuth server crash on unexpected requests ( #19668 )
2026-02-23 18:03:31 +00:00
Adib234
8b1dc15182
fix(plan): allow plan mode writes on Windows and fix prompt paths ( #19658 )
2026-02-23 17:48:50 +00:00
owenofbrien
fa9aee2bf0
Fix for silent failures in non-interactive mode ( #19905 )
2026-02-23 17:35:13 +00:00
Sehoon Shon
aa9163da60
feat(core): add policy chain support for Gemini 3.1 ( #19991 )
2026-02-23 15:13:48 +00:00
Sehoon Shon
ec0f23ae03
fix(core): increase default retry attempts and add quota error backoff ( #19949 )
2026-02-23 15:13:34 +00:00
nityam
ac04c388e0
Fix: Persist manual model selection on restart #19864 ( #19891 )
2026-02-23 03:44:00 +00:00
Abhi
621ddbe744
refactor(core): move session conversion logic to core ( #19972 )
2026-02-23 01:18:07 +00:00
Sehoon Shon
c537fd5aec
refactor(config): remove enablePromptCompletion from settings ( #19974 )
2026-02-22 19:10:20 -05:00