Dmitry Lyalin
96aa6004fb
fix(headless): complete debug diagnostics parity for json and stream-json
2026-02-25 10:23:16 -08:00
Dmitry Lyalin
8fb2f1e7f8
Merge branch 'main' into gemini-cli-headless-monitor
2026-02-25 09:52:48 -08:00
Dmitry Lyalin
941a479855
feat(headless): gate diagnostic output behind --debug flag
...
Diagnostic monitoring data (auth_method, user_tier, api_requests,
api_errors, retry_count, RETRY events, LOOP_DETECTED events, and
stderr warnings) is now only emitted when --debug / -d is passed.
Without the flag, headless output is identical to before — no new
fields, no new events, no stderr noise. This keeps default output
clean for piped workflows while making diagnostics available on demand.
2026-02-25 09:52:14 -08:00
Adam Weidman
6c739955c0
feat(core): implement robust A2A streaming reassembly and fix task continuity ( #20091 )
2026-02-25 16:51:08 +00:00
Shreya Keshive
50947c57ce
fix(acp): update auth handshake to spec ( #19725 )
2026-02-25 15:04:42 +00:00
Dmitry Lyalin
a4b3229513
feat(headless): surface diagnostic monitoring data in non-interactive output
...
When running Gemini CLI in headless mode (-p), critical diagnostic data
like auth method, API retry attempts, loop detection, and request stats
was invisible despite being tracked internally. This change surfaces
that data across all three output formats (stream-json, json, text).
Changes:
- Add RETRY and LOOP_DETECTED event types to stream-json output
- Include auth_method and user_tier in init events and JSON output
- Add api_requests, api_errors, and retry_count to result stats
- Track and expose detected loop type (tool call, chanting, LLM-detected)
- Emit [RETRY] and [WARNING] messages to stderr in text mode
- Listen to CoreEvent.RetryAttempt in non-interactive CLI
- Add test script (scripts/test_gemini.sh) for manual verification
2026-02-24 23:37:39 -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
Michael Bleigh
d47d4855db
feat(hooks): adds support for RuntimeHook functions. ( #19598 )
2026-02-24 21:03:36 +00:00
Jerop Kipruto
4dd940f8ce
feat(plan): inject message when user manually exits Plan mode ( #20203 )
2026-02-24 19:31:41 +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
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
Steven Robertson
b0ceb74462
feat: implement AfterTool tail tool calls ( #18486 )
2026-02-24 03:57:00 +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
nityam
af5aec69da
Fix: Handle corrupted token file gracefully when switching auth types ( #19845 ) ( #19850 )
2026-02-23 23:15:54 +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
Shivangi Sharma
a91bc60e18
fix(core): add uniqueness guard to edit tool ( #19890 )
...
Co-authored-by: Bryan Morgan <bryanmorgan@google.com >
2026-02-22 20:24:58 +00:00
Nick Salerni
faa1ec3044
fix(core): prevent omission placeholder deletions in replace/write_file ( #19870 )
...
Co-authored-by: Bryan Morgan <bryanmorgan@google.com >
2026-02-22 19:58:31 +00:00
Bryan Morgan
d96bd05d36
fix(core): allow any preview model in quota access check ( #19867 )
2026-02-22 12:53:24 +00:00
Adib234
84666e1bbc
fix(plan): time share by approval mode dashboard reporting negative time shares ( #19847 )
2026-02-22 00:32:57 +00:00
N. Taylor Mullen
a7d851146a
feat(core): remove unnecessary login verbiage from Code Assist auth ( #19861 )
2026-02-21 21:55:11 +00:00
Abhi
acb7f577de
chore(lint): fix lint errors seen when running npm run lint ( #19844 )
2026-02-21 18:33:25 +00:00
Abhi
d2d345f41a
fix(cli): filter subagent sessions from resume history ( #19698 )
2026-02-21 17:41:27 +00:00
Christian Gunderman
dfd7721e69
Disallow unsafe returns. ( #19767 )
2026-02-21 01:12:56 +00:00
matt korwel
09218572d0
refactor(core): remove unsafe type assertions in error utils (Phase 1.1) ( #19750 )
2026-02-21 01:00:57 +00:00