Commit Graph

2909 Commits

Author SHA1 Message Date
Michael Bleigh 430a52fc27 fix: use agentSessionInteractiveEnabled 2026-04-03 14:04:52 -07:00
Michael Bleigh 72ec782fe0 fix: trim PR and move interactive flag to ADK settings
- Reverted unrelated changes to nonInteractiveCli.test.ts and snapshots.
- Reverted unrelated history truncation config additions.
- Renamed useAgentProtocol to interactiveAgentSessionEnabled and moved it to the ADKSettings group as requested.
2026-04-03 13:44:36 -07:00
Michael Bleigh 9b40e96f80 fix: restore nonInteractiveCli.ts and update AgentSession logic
- Reverted packages/cli/src/nonInteractiveCli.ts to the main branch state, restoring the fallback while(true) loop behavior.
- Added debugLogger.error call for unknown event types in the AgentSession event loop.
2026-04-03 13:33:10 -07:00
Michael Bleigh 8a00e41ba8 fix: address PR feedback for non-interactive and event translator
- Restore 'never' return type for runTerminalExitHandler

- Add TODO for usage event and debugLogger for unknown events

- Check for 'status' in isStructuredError type guard

- Fix unused property build error for experimentalAgentHistorySummarization
2026-04-03 09:44:35 -07:00
Michael Bleigh 35905c29ab Merge branch 'main' of github.com:google-gemini/gemini-cli into mb/agents/01-core-types-fixes 2026-04-03 09:36:50 -07:00
Gal Zahavi e54eecca51 feat(cli): minimalist sandbox status labels (#24582) 2026-04-03 05:22:21 +00:00
Jacob Richman 1f5d7014c6 feat(ui): enable "TerminalBuffer" mode to solve flicker (#24512) 2026-04-03 00:39:49 +00:00
Michael Bleigh 839c6da07c Merge branch 'main' into mb/agents/01-core-types-fixes 2026-04-02 17:10:53 -07:00
Dev Randalpura 9d741abdba fix(ui): fixed table styling (#24565) 2026-04-02 22:52:25 +00:00
Dan Zaharia 29caa52bb7 fix(ui): hide model quota in /stats and refactor quota display (#24206) 2026-04-02 20:49:14 +00:00
Adam Weidman 6fb58bd31f feat(cli): migrate nonInteractiveCli to LegacyAgentSession (#22987) 2026-04-02 20:21:40 +00:00
Aashir Javed 77027dff82 fix(cli): clear stale retry/loading state after cancellation (#21096) (#21960)
Co-authored-by: Aashir Javed <Aaxhirrr@users.noreply.github.com>
Co-authored-by: Dev Randalpura <devrandalpura@google.com>
2026-04-02 19:44:39 +00:00
ruomeng c0dfa1aec3 Enable 'Other' option for yesno question type (#24545) 2026-04-02 19:42:53 +00:00
Michael Bleigh 6c2f005428 Merge branch 'pr4-cli' into mb/agents/01-core-types-fixes 2026-04-02 11:04:29 -07:00
Sri Pasumarthi b80234aa3e fix(acp): handle all InvalidStreamError types gracefully in prompt (#24540) 2026-04-02 17:16:36 +00:00
Jacob Richman efbddcbf98 Update ink version to 6.6.7 (#24514) 2026-04-02 16:42:52 +00:00
joshualitt e0044f2868 feat(core): Land ContextCompressionService (#24483) 2026-04-02 16:22:04 +00:00
Gaurav beff8c91aa fix(browser): handle computer-use model detection for analyze_screenshot (#24502) 2026-04-02 15:05:21 +00:00
ruomeng 7b6ab50138 feat(cli): support default values for environment variables (#24469) 2026-04-02 14:38:45 +00:00
Sehoon Shon 44c8b43328 fix(cli): prevent crash in AnsiOutputText when handling non-array data (#24498) 2026-04-02 11:48:17 +00:00
Sehoon Shon 242afd49a1 revert(cli): bring back input box and footer visibility in copy mode (#24504) 2026-04-02 06:54:51 +00:00
Jarrod Whelan 66c07d7296 fix(ui): resolve unwanted vertical spacing around various tool output treatments (#24449) 2026-04-02 06:29:56 +00:00
Jacob Richman 40b73c9447 Fix shell output display (#24490) 2026-04-02 05:53:46 +00:00
Sandy Tao e446733b53 feat(core): add background memory service for skill extraction (#24274) 2026-04-02 05:05:31 +00:00
Alisa 3344f6849c Unused error variables in catch block are not allowed (#24487) 2026-04-02 04:33:07 +00:00
Jacob Richman 84936dc85d Auto configure memory. (#24474) 2026-04-02 03:15:27 +00:00
N. Taylor Mullen ca78a0f177 fix(cli): ensure agent stops when all declinable tools are cancelled (#24479) 2026-04-01 23:16:34 +00:00
Keith Guerin cb7f7d6c72 feat(cli): change default loadingPhrases to 'off' to hide tips (#24342) 2026-04-01 23:04:43 +00:00
Adam Weidman 05baea6627 fix(cli): fix tests and remove unused imports in non-interactive agent session 2026-04-01 14:36:46 -07:00
Adam Weidman ab2f9bd9a7 Merge branch 'origin/main' into pr4-cli 2026-04-01 14:22:11 -07:00
Adam Weidman b5f568fefe feat(config): add experimental.adk.agentSessionNoninteractiveEnabled setting (#24439) 2026-04-01 20:41:38 +00:00
Adam Weidman 9dfe9eeb89 feat(cli): split nonInteractiveCli and implement flag toggle (proper fix) 2026-04-01 12:39:21 -07:00
N. Taylor Mullen 4e21e5b8a3 fix(cli): refresh slash command list after /skills reload (#24454) 2026-04-01 19:15:27 +00:00
Sri Pasumarthi 6b303a13eb fix(acp) refactor(core,cli): centralize model discovery logic in ModelConfigService (#24392) 2026-04-01 18:03:30 +00:00
Adam Weidman cd34c9666e fixes 2026-04-01 10:40:11 -07:00
Adam Weidman bb459defe9 fix(core): preserve first-turn display content 2026-04-01 10:40:11 -07:00
Adam Weidman 1088e1febf fix(cli): preserve max-turns non-interactive parity 2026-04-01 10:40:11 -07:00
Adam Weidman 6795567d28 fix(cli): align non-interactive loop warning handling 2026-04-01 10:40:11 -07:00
Adam Weidman 7c7150f487 !feat(cli): harden non-interactive agent session handling 2026-04-01 10:40:11 -07:00
Adam Weidman 24a4a0da1e !feat(cli): address non-interactive review follow-ups 2026-04-01 10:40:11 -07:00
Adam Weidman f7b08330f7 !feat(cli): adopt protocol-backed agent session streaming 2026-04-01 10:40:11 -07:00
Adam Weidman c3b5bcb84c fix(cli): consume the stream returned by send 2026-04-01 10:40:10 -07:00
Adam Weidman 6d8cee7620 refactor(cli): handle max turns from stream end 2026-04-01 10:40:10 -07:00
Adam Weidman f34b146a05 feat(cli): migrate nonInteractiveCli to LegacyAgentSession 2026-04-01 10:40:10 -07:00
Adam Weidman e02072abf8 feat(config): add experimental.adk.agentSessionNoninteractiveEnabled setting 2026-04-01 10:33:49 -07:00
joshualitt 377e834e03 refactor(core): Unified context management settings schema (#24391) 2026-04-01 17:24:45 +00:00
Dev Randalpura 4c4d8bc411 fix(ui): removed additional vertical padding for tables (#24381) 2026-04-01 16:46:38 +00:00
Dev Randalpura 066da2a1d1 fix(ui): add accelerated scrolling on alternate buffer mode (#23940)
Co-authored-by: jacob314 <jacob314@gmail.com>
2026-04-01 16:23:40 +00:00
PROTHAM 7d1848d578 fix(cli): cap shell output at 10 MB to prevent RangeError crash (#24168) 2026-04-01 16:09:30 +00:00
ruomeng eb95e99b3d feat(plan): conditionally add enter/exit plan mode tools based on current mode (#24378) 2026-04-01 15:56:10 +00:00