Commit Graph

95 Commits

Author SHA1 Message Date
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 6c2f005428 Merge branch 'pr4-cli' into mb/agents/01-core-types-fixes 2026-04-02 11:04:29 -07:00
Adam Weidman 9dfe9eeb89 feat(cli): split nonInteractiveCli and implement flag toggle (proper fix) 2026-04-01 12:39:21 -07: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
Michael Bleigh 52f2479007 feat(core): add agent protocol UI types and experimental flag
Also fixes a minor type error in nonInteractiveCli and mock ToolRegistry in tests that the new protocol exposes.
2026-03-30 14:08:55 -07:00
Adam Weidman 8e9961a791 fixes 2026-03-29 17:43:07 -04:00
Michael Bleigh 6a80311a37 Merge branch 'main' into pr4-cli 2026-03-27 11:08:15 -07:00
Adam Weidman 6fb7bcf868 fix(core): preserve first-turn display content 2026-03-26 11:51:15 -04:00
cynthialong0-0 5e186bfb22 fix(cli): skip console log/info in headless mode (#22739) 2026-03-25 13:46:00 +00:00
Adam Weidman 56656dfbc9 fix(cli): preserve max-turns non-interactive parity 2026-03-23 18:47:11 -04:00
Adam Weidman 93322430a0 fix(cli): align non-interactive loop warning handling 2026-03-23 18:38:56 -04:00
Adam Weidman 25c5d44678 !feat(cli): harden non-interactive agent session handling 2026-03-23 18:38:56 -04:00
Adam Weidman 2dfe237738 !feat(cli): address non-interactive review follow-ups 2026-03-23 18:38:56 -04:00
Adam Weidman f77e4716fa !feat(cli): adopt protocol-backed agent session streaming 2026-03-23 18:38:56 -04:00
Adam Weidman 3e0b8aa958 fix(cli): consume the stream returned by send 2026-03-23 18:38:56 -04:00
Adam Weidman b268e93a1d refactor(cli): handle max turns from stream end 2026-03-23 18:38:56 -04:00
Adam Weidman 218adcd6c3 feat(cli): migrate nonInteractiveCli to LegacyAgentSession 2026-03-23 18:38:56 -04:00
krishdef7 19e0b1ff7d fix(cli): escape @ symbols on paste to prevent unintended file expansion (#21239) 2026-03-12 22:05:12 +00:00
joshualitt 20a226a5ab feat(core): Thread AgentLoopContext through core. (#21944) 2026-03-11 01:12:59 +00:00
Abhi 621ddbe744 refactor(core): move session conversion logic to core (#19972) 2026-02-23 01:18:07 +00:00
Sandy Tao f5b1245f51 feat(cli): defer devtools startup and integrate with F12 (#18695) 2026-02-10 16:54:23 +00:00
Christian Gunderman fd65416a2f Disallow unsafe type assertions (#18688) 2026-02-10 00:10:15 +00:00
Sandy Tao ef957a368d feat(cli): add DevTools integration with gemini-cli-devtools (#18648) 2026-02-09 22:03:10 +00:00
Sandy Tao 7409ce5df6 feat(cli): add WebSocket-based network logging and streaming chunk support (#18383) 2026-02-07 00:20:22 +00:00
Jacob Richman bb6a336ca9 Fix bugs where Rewind and Resume showed Ugly and 100X too verbose content. (#17940) 2026-01-30 18:09:27 +00:00
Sandy Tao 9e09db1ddb feat(cli): enable activity logging for non-interactive mode and evals (#17703) 2026-01-28 17:02:41 +00:00
Abhi 67b00252d3 refactor(cli): migrate non-interactive flow to event-driven scheduler (#17572) 2026-01-27 03:11:29 +00:00
Sehoon Shon 7990073543 feat(cli): sanitize ANSI escape sequences in non-interactive output (#17172) 2026-01-21 04:58:37 +00:00
Alex Austin Chettiar a2dab146b9 feat(cli): undeprecate the --prompt flag (#13981)
Co-authored-by: Allen Hutchison <adh@google.com>
2026-01-14 23:09:27 +00:00
Jack Wotherspoon c7d17dda49 fix: properly use systemMessage for hooks in UI (#16250) 2026-01-09 20:47:14 +00:00
Sandy Tao dd84c2fb83 feat(hooks): implement granular stop and block behavior for agent hooks (#15824) 2026-01-05 02:58:34 +00:00
Sandy Tao 05049b5abf feat(hooks): implement STOP_EXECUTION and enhance hook decision handling (#15685) 2025-12-30 23:22:53 +00:00
Christian Gunderman 5d13145995 Code Assist backend telemetry for user accept/reject of suggestions (#15206) 2025-12-17 23:12:59 +00:00
Gaurav Sehgal d9f94103cd Add clarity to error messages (#14879) 2025-12-13 01:01:12 +00:00
破茧 68ebf5d655 Fix: Correct typo in code comment (#14671)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2025-12-10 17:11:54 +00:00
Jainam M 8b0a8f47c1 Adding session id as part of json o/p (#14504) 2025-12-04 17:06:20 +00:00
Edilmo Palencia 1c12da1fad feat(hooks): Hook Session Lifecycle & Compression Integration (#14151) 2025-12-03 17:04:13 +00:00
Allen Hutchison 828afe113e refactor(stdio): always patch stdout and use createWorkingStdio for clean output (#14159) 2025-12-02 23:08:25 +00:00
Jacob Richman d1e35f8660 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
bl-ue 6893d27441 feat(sessions): add resuming to geminiChat and add CLI flags for session management (#10719)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-11 01:31:00 +00:00