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
Michael Bleigh
d47d4855db
feat(hooks): adds support for RuntimeHook functions. ( #19598 )
2026-02-24 21:03:36 +00:00
Abhi
acb7f577de
chore(lint): fix lint errors seen when running npm run lint ( #19844 )
2026-02-21 18:33:25 +00:00
Yuna Seol
8aca3068cf
feat: add role-specific statistics to telemetry and UI (cont. #15234 ) ( #18824 )
...
Co-authored-by: Yuna Seol <yunaseol@google.com >
2026-02-17 17:32:30 +00:00
Jerop Kipruto
60be42f095
refactor(core): adopt CoreToolCallStatus enum for type safety ( #18998 )
2026-02-13 16:27:20 +00:00
Adib234
868f43927e
feat(plan): create metrics for usage of AskUser tool ( #18820 )
...
Co-authored-by: Jerop Kipruto <jerop@google.com >
2026-02-12 17:46:59 +00:00
Kevin Ramdass
a2174751de
feat(telemetry): Ensure experiment IDs are included in OpenTelemetry logs ( #18747 )
2026-02-10 21:01:35 +00:00
Sandy Tao
28805a4b2d
refactor: simplify tool output truncation to single config ( #18446 )
2026-02-06 21:41:19 +00:00
Adib234
fe975da91e
feat(plan): implement support for MCP servers in Plan mode ( #18229 )
2026-02-05 21:37:28 +00:00
matt korwel
a8b4c38c89
chore(core): reassign telemetry keys to avoid server conflict ( #18161 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-03 06:43:57 -06:00
Christian Gunderman
6ef2a92233
Collect hardware details telemetry. ( #16119 )
2026-01-12 23:59:22 +00:00
Adib234
57012ae5b3
Core data structure updates for Rewind functionality ( #15714 )
2026-01-07 17:10:22 +00:00
Abhi
b13c6b57ae
chore: rename smart-edit to edit ( #15923 )
2026-01-05 20:25:54 +00:00
Abhi
f3625aab13
refactor: consolidate EditTool and SmartEditTool ( #15857 )
2026-01-05 04:52:14 +00:00
Abhi
12c7c9cc42
feat(core,cli): enforce mandatory MessageBus injection (Phase 3 Hard Migration) ( #15776 )
2026-01-04 22:11:43 +00:00
Abhi
c0ccb22460
chore: cleanup old smart edit settings ( #15832 )
2026-01-02 22:28:28 +00:00
Abhi
b923604602
feat(telemetry): add clearcut logging for hooks ( #15405 )
2025-12-21 21:18:42 +00:00
Shardul Natu
d030a1f62f
update(telemetry): add hashed_extension_name to field to extension events ( #15025 )
...
Co-authored-by: Shnatu <snatu@google.com >
2025-12-15 17:40:54 +00:00
Marat Boshernitsan
b9b3b8050d
Allow telemetry exporters to GCP to utilize user's login credentials, if requested ( #13778 )
2025-12-03 05:27:37 +00:00
Shardul Natu
bbd61f375f
feat(telemetry): Add Semantic logging for to ApiRequestEvents ( #13912 )
...
Co-authored-by: Shnatu <snatu@google.com >
2025-11-30 03:35:24 +00:00
Shardul Natu
6a43b31218
update(telemetry): OTel API response event with finish reasons ( #13849 )
...
Co-authored-by: Shnatu <snatu@google.com >
2025-11-27 04:46:40 +00:00
Adib234
99c5bf2e97
Remove useModelRouter experimental flag ( #13593 )
2025-11-21 17:54:17 +00:00
Caroline Rose
9d74b7c0e8
feat(auth): Add option for metadata server application default credentials without project override ( #12948 )
2025-11-14 16:39:11 +00:00
N. Taylor Mullen
7bb13d1c41
telemetry: track interactive session state ( #12856 )
...
Co-authored-by: owenofbrien <86964623+owenofbrien@users.noreply.github.com >
2025-11-11 10:03:32 +00:00
christine betts
43b8731241
Fix extensions logging race condition and slash command logging ( #12732 )
2025-11-08 15:29:36 +00:00
Jacob MacDonald
da4fa5ad75
Extensions MCP refactor ( #12413 )
2025-11-04 15:51:18 +00:00
Shardul Natu
236334d015
feat(telemetry): Add extension name to ToolCallEvent telemetry ( #12343 )
...
Co-authored-by: Shnatu <snatu@google.com >
2025-10-31 13:50:22 +00:00
matt korwel
b382ae6803
feat: Prevent self-imports and fix build loop ( #12309 )
2025-10-30 20:15:49 +00:00
Jerop Kipruto
135d981e3c
Create line change metrics ( #12299 )
2025-10-30 18:55:47 +00:00
Shardul Natu
36207abec2
feat(telemetry): Add extensions to StartSessionEvent telemetry ( #12261 )
...
Co-authored-by: Shnatu <snatu@google.com >
2025-10-29 22:21:32 +00:00
Shardul Natu
66e981ed1e
feat: Add auth_type to StartSessionEvent OTel logging ( #12034 )
...
Co-authored-by: Shnatu <snatu@google.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-29 19:28:28 +00:00
Christie Warwick (Wilson)
70996bfdee
feat: Add Open Telemetric semantic standard compliant log ( #11975 )
2025-10-28 20:02:46 +00:00
christine betts
c6a59896f3
Add extensions logging ( #11261 )
2025-10-21 20:55:16 +00:00
Allen Hutchison
937c15c66e
refactor: Remove deprecated --all-files flag ( #11228 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-16 19:09:21 +00:00
Jacob MacDonald
a6e00d9183
Fix rough edges around extension updates ( #10926 )
2025-10-10 21:28:13 +00:00
Jerop Kipruto
38bc856212
feat(telemetry): ensure all telemetry includes user email and installation id ( #10897 )
2025-10-10 16:06:08 +00:00
Christie Warwick (Wilson)
83075b2800
refactor: make log/event structure clear ( #10467 )
2025-10-09 23:02:58 +00:00
Jerop Kipruto
1f6716f98a
feat(telemetry): add diff stats to tool call metrics ( #10819 )
2025-10-09 22:01:35 +00:00
Abhi
70610c740e
feat(telemetry): Add telemetry for web_fetch fallback attempts ( #10749 )
2025-10-09 17:01:17 +00:00
Abhi
c0552ceb22
feat(core): add telemetry for subagent execution ( #10456 )
2025-10-08 12:42:33 -07:00
Jerop Kipruto
eae8b8b1a1
fix(core): use constant for tool_output_truncated event name ( #10372 )
2025-10-02 16:51:14 +00:00
Jerop Kipruto
5b16771567
feat(telemetry): add OpenTelemetry GenAI semantic convention metrics ( #10343 )
2025-10-01 20:24:55 +00:00
Christie Warwick (Wilson)
5c6f006634
Refactor metrics definitions to be easily understandable ( #10215 )
2025-10-01 13:33:47 +00:00
shishu314
98461ff667
metrics(extension) - Add logging for disable extension ( #9238 )
...
Co-authored-by: Shi Shu <shii@google.com >
2025-09-23 18:37:35 +00:00
Shardul Natu
bbcc906133
add(mcp): Add MCP Server name to ToolCallEvent OTel logging ( #7829 )
...
Co-authored-by: Shnatu <snatu@google.com >
Co-authored-by: owenofbrien <86964623+owenofbrien@users.noreply.github.com >
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com >
2025-09-18 22:00:11 +00:00
shishu314
bcfd50b45b
metrics(extensions) - Add logging methods for extensions operations ( #8702 )
...
Co-authored-by: Shi Shu <shii@google.com >
2025-09-18 18:01:36 +00:00
Abhi
a0079785af
feat(telemetry): Add telemetry and metrics for model routing ( #8518 )
2025-09-16 20:53:58 +00:00
shishu314
5504f933e1
fix(metrics) - Remove the error field from ApiResponseEvent ( #8207 )
...
Co-authored-by: Shi Shu <shii@google.com >
2025-09-11 17:35:17 +00:00
Sandy Tao
095351bf39
feat(telemetry): Add content length to tool calls and log tool output truncation event ( #8014 )
2025-09-11 15:40:46 +00:00