Michael Bleigh
6975224e45
feat: implement tool display parity for agent stream
...
This commit achieves visual parity for tool execution in the interactive stream when using the experimental 'useAgentProtocol' flag. It removes direct UI dependency on the tool scheduler's internal state.
Key changes:
- Core 'LegacyAgentSession' now attaches display metadata (displayName, description, etc.) to 'tool_request' AgentEvents.
- Core 'LegacyAgentSession' listens to the MessageBus to emit 'tool_update' AgentEvents for live output (e.g., shell commands).
- UI 'useAgentStream' now maintains its own 'trackedTools' local state, constructed entirely from incoming 'tool_request', 'tool_update', and 'tool_response' events.
- The local 'trackedTools' state is mapped to 'pendingToolGroupItems' using the existing 'mapToDisplay' function for seamless visual parity.
2026-03-27 15:02:18 -07:00
Michael Bleigh
d3a7fc39e3
feat: implement experimental useAgentStream with unified agent protocol
...
This change introduces an experimental 'useAgentProtocol' flag to interactive mode.
When enabled, the UI uses the new 'useAgentStream' hook which leverages
the core 'LegacyAgentSession' (AgentProtocol) instead of the custom
'useGeminiStream' logic.
Key changes:
- Added 'useAgentProtocol' experimental setting to CLI and Core config.
- Implemented 'useAgentStream' hook with basic interaction and thought support.
- Modified 'useToolScheduler' to expose its internal Scheduler instance to ensure implementation parity.
- Updated 'AppContainer' to conditionally branch between implementations via ternary operator.
- Added comprehensive unit tests for the new hook.
2026-03-27 14:55:11 -07:00
Michael Bleigh
3b317f9198
feat: add experimental useAgentProtocol flag
2026-03-27 14:55:11 -07:00
Michael Bleigh
6a80311a37
Merge branch 'main' into pr4-cli
2026-03-27 11:08:15 -07:00
Abhi
104587bae8
feat(core): subagent isolation and cleanup hardening ( #23903 )
2026-03-27 03:43:39 +00:00
Yuna Seol
aca8e1af05
fix(core): explicitly set error names to avoid bundling renaming issues ( #23913 )
2026-03-27 03:40:49 +00:00
Sri Pasumarthi
750dec5d8d
fix(acp): Update allow approval policy flow for ACP clients to fix config persistence and compatible with TUI ( #23818 )
2026-03-27 01:42:17 +00:00
Jacob Richman
b5ba88b001
dep(update) Update Ink version to 6.5.0 ( #23843 )
2026-03-26 23:49:51 +00:00
Aditya Bijalwan
73dd7328df
feat(core): implement persistent browser session management ( #21306 )
...
Co-authored-by: Gaurav <39389231+gsquared94@users.noreply.github.com >
Co-authored-by: cynthialong0-0 <82900738+cynthialong0-0@users.noreply.github.com >
2026-03-26 21:33:37 +00:00
Spencer
d25ce0e143
fix(core): remove shell outputChunks buffer caching to prevent memory bloat and sanitize prompt input ( #23751 )
2026-03-26 21:16:07 +00:00
Gen Zhang
84f1c19265
feat(cli): enable notifications cross-platform via terminal bell fallback ( #21618 )
...
Co-authored-by: Sandy Tao <sandytao520@icloud.com >
2026-03-26 20:10:49 +00:00
ruomeng
c888da5f73
fix(core): replace hardcoded non-interactive ASK_USER denial with explicit policy rules ( #23668 )
2026-03-26 18:35:12 +00:00
Adam Weidman
6fb7bcf868
fix(core): preserve first-turn display content
2026-03-26 11:51:15 -04:00
Sehoon Shon
49534209f2
fix(cli): prioritize primary name matches in slash command search ( #23850 )
2026-03-26 12:18:57 +00:00
Jacob Richman
a86935b6de
fix(cli): allow ask question dialog to take full window height ( #23693 )
2026-03-25 23:26:34 +00:00
nirali
8595b07f6d
fix(cli): show helpful guidance when no skills are available ( #23785 )
2026-03-25 22:06:44 +00:00
christine betts
3ada29fb51
feat(core,ui): Add experiment-gated support for gemini flash 3.1 lite ( #23794 )
2026-03-25 20:28:49 +00:00
Prasanna Pal
fd0893c346
fix(ui): prevent escape key from cancelling requests in shell mode ( #21245 )
2026-03-25 20:25:13 +00:00
Tommaso Sciortino
20aa695ac4
Revert "perf(cli): optimize --version startup time ( #23671 )" ( #23812 )
2026-03-25 19:59:23 +00:00
Jerop Kipruto
6d3437badb
docs: clarify policy requirement for general.plan.directory in settings schema ( #23784 )
2026-03-25 19:37:48 +00:00
Keith Guerin
fe92a43e31
fix(ui): cleanup estimated string length hacks in composer ( #23694 )
2026-03-25 19:15:08 +00:00
Coco Sheng
830f7dec61
fix(cli): resolve TTY hang on headless environments by unconditionally resuming process.stdin before React Ink launch ( #23673 )
2026-03-25 18:18:43 +00:00
Sri Pasumarthi
c06794b3c6
fix(acp): allow attachments by adding a permission prompt ( #23680 )
2026-03-25 16:52:21 +00:00
cynthialong0-0
5e186bfb22
fix(cli): skip console log/info in headless mode ( #22739 )
2026-03-25 13:46:00 +00:00
Keith Guerin
46aa3fd193
fix(ui): prevent over-eager slash subcommand completion ( #20136 )
2026-03-25 03:11:09 +00:00
matt korwel
bbdd8457df
fix(cli): stabilize copy mode to prevent flickering and cursor resets ( #22584 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 23:16:48 +00:00
Tommaso Sciortino
1f07efb5d8
fix(cli): only show updating spinner when auto-update is in progress ( #23709 )
2026-03-24 15:43:03 -07:00
cynthialong0-0
466671eed4
feat(browser): add maxActionsPerTask for browser agent setting ( #23216 )
2026-03-24 21:40:48 +00:00
Abhi
055ff92276
revert: chore(config): disable agents by default ( #23672 )
2026-03-24 20:14:48 +00:00
Adib234
bf80e27dbc
test(evals): fix overlapping act() deadlock in app-test-helper ( #23666 )
2026-03-24 19:12:22 +00:00
Sehoon Shon
139cc7b97c
perf(cli): optimize --version startup time ( #23671 )
2026-03-24 15:58:41 +00:00
Adam Weidman
91d756f391
fix(core): improve remote agent streaming UI and UX ( #23633 )
2026-03-24 15:34:04 +00:00
Sehoon Shon
893c7d3880
feat(ui): allow immediate user input during startup ( #23661 )
2026-03-24 13:33:17 +00:00
Adib234
dcedc42979
fix(plan): sandbox path resolution in Plan Mode to prevent hallucinations ( #22737 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 13:19:29 +00:00
Sri Pasumarthi
46fd7b4864
fix(acp): Pass the cwd to AcpFileSystemService to avoid looping failures in asking for perms to write plan md file ( #23612 )
2026-03-24 05:34:08 +00:00
Gal Zahavi
36e6445dba
feat(sandbox): dynamic macOS sandbox expansion and worktree support ( #23301 )
2026-03-24 04:48:13 +00:00
kartik
1c1416678d
fix: API key input dialog user interaction when selected Gemini API Key ( #21057 )
...
Signed-off-by: Kartik Angiras <angiraskartik@gmail.com >
2026-03-24 03:00:50 +00:00
Jarrod Whelan
271908dc94
feat(ui): implement refreshed UX for Composer layout ( #21212 )
...
Co-authored-by: Keith Guerin <keithguerin@gmail.com >
2026-03-24 02:30:48 +00:00
Abhi
a1f9af3fa7
fix(core): accurately reflect subagent tool failure in UI ( #23187 )
2026-03-24 01:56:00 +00:00
Jarrod Whelan
89ca78837e
refactor(cli,core): foundational layout, identity management, and type safety ( #23286 )
2026-03-24 01:49:51 +00:00
Sri Pasumarthi
84caf00cd4
fix: ACP: separate conversational text from execute tool command title ( #23179 )
2026-03-24 00:39:15 +00:00
Wesley Tanaka
a7bed2cc4c
fix(cli): prevent Ctrl+D exit when input buffer is not empty ( #23306 )
...
Co-authored-by: wtanaka.com <wtanaka@users.noreply.github.com >
2026-03-24 00:13:13 +00:00
Sehoon Shon
a7aa6bd6cf
perf(cli): background IDE client to speed up initialization ( #23603 )
2026-03-24 00:06:53 +00:00
Spencer
fcd190b8b1
fix(telemetry): patch memory leak and enforce logPrompts privacy ( #23281 )
2026-03-23 23:58:06 +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