Jarrod Whelan
d78334c95f
refactor(cli,core): foundational layout, identity management, and type safety
...
This commit establishes the structural foundation and required infrastructure to support the upcoming compact tool output changes. It includes identity management improvements, layout fixes, and type-safety enhancements that stand independently.
1. Identity & History Management:
- useHistoryManager: Ensure strictly increasing IDs for history items, even with identical timestamps.
- acpClient: Introduced callIdCounter to prevent callId collisions during rapid execution.
- MainContent: Implemented negative ID logic for pending items to ensure stable React keys and prevent collisions.
- historyUtils: New file containing extracted history logic (isToolExecuting, getAllToolCalls) hoisted from AppContainer.
2. UI Infrastructure & Layout:
- test-utils/render: Modernized renderWithProviders and removed legacy props.
- AskUserDialog: Fixed layout, scroll visibility, and alignment issues.
- toolLayoutUtils: Increased TOOL_RESULT_STANDARD_RESERVED_LINE_COUNT for better spacing.
- ShellToolMessage/ToolGroupMessage: Updated line-count expectations and snapshots to align with layout changes.
3. IDE & Diffing Improvements:
- ToolActionsContext: Refactored IdeClient initialization to fix a race condition and potential memory leak.
- edit/diffOptions: Improved accuracy of diff stat derivation, ensuring "full content" stats are available for the model.
- coreToolScheduler: Automatically derive diff stats from patches if missing.
- state-manager: Ensure diffStat preservation for rejected tool calls.
4. Type Safety & Constants:
- types/tools: Added foundational types like DiffStat, FileDiff, and StructuredToolResult.
- Type Guards: Added guards for isFileDiff, isTodoList, isAnsiOutput, and hasSummary.
- CodeColorizer: Added function overloads to gracefully handle null language detection.
- tool-names: Introduced DISPLAY_NAME constants for consistent tool labeling.
This commit passes all workspace tests and builds successfully. Feature-specific logic for compact output is excluded.
2026-03-20 12:10:10 -07:00
Ratish P
62cb14fa52
feat(extensions): add --skip-settings flag to install command ( #17212 )
2026-03-20 16:10:59 +00:00
kevinjwang1
7a65c1e91d
Add support for linking in the extension registry ( #23153 )
2026-03-20 15:08:34 +00:00
Jerop Kipruto
5a3c7154df
feat(worktree): add Git worktree support for isolated parallel sessions ( #22973 )
2026-03-20 14:10:51 +00:00
Michael Bleigh
b9c87c14a2
feat(core): introduce AgentSession and rename stream events to agent events ( #23159 )
2026-03-20 13:40:10 +00:00
nmcnamara-eng
52250c162d
feat(cli): conditionally exclude ask_user tool in ACP mode ( #23045 )
...
Co-authored-by: Sri Pasumarthi <sripas@google.com >
Co-authored-by: Sri Pasumarthi <111310667+sripasg@users.noreply.github.com >
2026-03-20 06:18:55 +00:00
Gaurav
8615315711
feat(core): add support for admin-forced MCP server installations ( #23163 )
2026-03-19 22:32:43 +00:00
matt korwel
c9a336976b
feat(core): implement native Windows sandboxing ( #21807 )
2026-03-19 22:25:22 +00:00
kevinjwang1
06a7873c51
Add ModelChain support to ModelConfigService and make ModelDialog dynamic ( #22914 )
2026-03-19 22:22:26 +00:00
kevinjwang1
0e66f545ca
Ensure that copied extensions are writable in the user's local directory ( #23016 )
2026-03-19 22:22:08 +00:00
ruomeng
98d1bec99f
fix(plan): clarify that plan mode policies are combined with normal mode ( #23158 )
2026-03-19 21:51:10 +00:00
Sri Pasumarthi
08063d7b0a
feat: ACP: Add token usage metadata to the send method's return value ( #23148 )
2026-03-19 21:49:50 +00:00
Sri Pasumarthi
36dbaa8462
fix: upgrade ACP SDK from 0.12 to 0.16.1 ( #23132 )
2026-03-19 21:02:33 +00:00
Sandy Tao
33f630111f
feat(core): add experimental memory manager agent to replace save_memory tool ( #22726 )
...
Co-authored-by: Christian Gunderman <gundermanc@gmail.com >
2026-03-19 12:57:52 -07:00
Sandy Tao
4e5dfd0cb7
feat(core): cap JIT context upward traversal at git root ( #23074 )
2026-03-19 17:50:58 +00:00
Jacob Richman
524b1e39a5
Fix logging and virtual list. ( #23080 )
2026-03-19 17:50:49 +00:00
Abhi
32a123fc54
feat(core): inject memory and JIT context into subagents ( #23032 )
2026-03-19 17:16:09 +00:00
Tommaso Sciortino
23264ced9a
refactor(cli): integrate real config loading into async test utils ( #23040 )
2026-03-19 17:05:33 +00:00
cynthialong0-0
7de0616229
fix(browser-agent): enable "Allow all server tools" session policy ( #22343 )
2026-03-19 16:32:35 +00:00
joshualitt
39d3b0e28c
feat(cli): Partial threading of AgentLoopContext. ( #22978 )
2026-03-19 16:02:13 +00:00
Gaurav
5acaacad96
fix(core): narrow browser agent description to prevent stealing URL tasks from web_fetch ( #23086 )
2026-03-19 10:45:59 +00:00
Jason Matthew Suhari
a921bcd9ef
fix(core): don't persist browser consent sentinel in non-interactive mode ( #23073 )
2026-03-19 06:47:13 +00:00
Sri Pasumarthi
e9171fd792
fix: circumvent genai sdk requirement for api key when using gateway auth via ACP ( #23042 )
2026-03-19 04:31:02 +00:00
Adam Weidman
2009fbbd92
feat(core): add content-utils ( #22984 )
2026-03-19 02:30:48 +00:00
Bryan Morgan
8db2948361
fix(cli): correctly handle auto-update for standalone binaries ( #23038 )
2026-03-19 01:52:23 +00:00
Abhi
5fa14dbe42
feat(core): resilient subagent tool rejection with contextual feedback ( #22951 )
2026-03-19 01:09:37 +00:00
Valery Teplyakov
c9d48026c4
fix(acp): provide more meta in tool_call_update ( #22663 )
...
Co-authored-by: Mervap <megavaprold@gmail.com >
Co-authored-by: Sri Pasumarthi <sripas@google.com >
2026-03-19 00:02:07 +00:00
Dev Randalpura
34f271504a
fix(ui): fix flickering on small terminal heights ( #21416 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2026-03-18 21:28:21 +00:00
ruomeng
94e6bf8591
fix(cli): resolve duplicate footer on tool cancel via ESC ( #21743 ) ( #21781 )
2026-03-18 20:27:38 +00:00
Emily Hedlund
f6e21f50fd
feat(core): implement strict macOS sandboxing using Seatbelt allowlist ( #22832 )
2026-03-18 20:07:54 +00:00
ruomeng
1725ec346b
feat(plan): support plan mode in non-interactive mode ( #22670 )
2026-03-18 20:00:26 +00:00
AK
c12fc340c1
fix(core): explicitly map execution context in LocalAgentExecutor ( #22949 )
...
Co-authored-by: cynthialong0-0 <82900738+cynthialong0-0@users.noreply.github.com >
2026-03-18 19:54:48 +00:00
Aditya Bijalwan
b6d5374fb7
Feat/browser privacy consent ( #21119 )
2026-03-18 19:33:24 +00:00
Christian Gunderman
0082e1ec97
Fix issue where subagent thoughts are appended. ( #22975 )
2026-03-18 19:20:31 +00:00
ANIRUDDHA ADAK
0ed9f1e7f5
feat(ui): remove write todo list tool from UI tips ( #22281 )
...
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com >
Co-authored-by: anj-s <32556631+anj-s@users.noreply.github.com >
2026-03-18 19:06:42 +00:00
Keith Guerin
4dcca1ca10
feat(ui): format multi-line banner warnings with a bold title ( #22955 )
...
Co-authored-by: Sehoon Shon <sshon@google.com >
2026-03-18 18:39:12 +00:00
Tommaso Sciortino
a5a461c234
test(cli): simplify createMockSettings calls ( #22952 )
2026-03-18 18:12:44 +00:00
Tommaso Sciortino
d7dfcf7f99
refactor(cli): simplify keypress and mouse providers and update tests ( #22853 )
2026-03-18 16:38:56 +00:00
Abhi
81a97e78f1
refactor(cli): group subagent trajectory deletion and use native filesystem testing ( #22890 )
2026-03-18 14:42:15 +00:00
Abhi
4ecb4bb24b
refactor(ui): extract SessionBrowser search and navigation components ( #22377 )
2026-03-18 04:44:01 +00:00
Abhi
be7c7bb83d
fix(cli): resolve subagent grouping and UI state persistence ( #22252 )
2026-03-18 03:11:20 +00:00
AK
7bfe6ac418
feat(core): subagent local execution and tool isolation ( #22718 )
2026-03-18 02:34:44 +00:00
adithya32
bd34a42ec3
fix(cli): lazily load settings in onModelChange to prevent stale closure data loss ( #20403 )
...
Co-authored-by: Spencer <spencertang@google.com >
2026-03-18 00:40:38 +00:00
N. Taylor Mullen
e2658ccda8
refactor(cli): remove extra newlines in ShellToolMessage.tsx ( #22868 )
...
Co-authored-by: Spencer <spencertang@google.com >
2026-03-17 23:48:16 +00:00
anj-s
b8719bcd47
feat: add 'blocked' status to tasks and todos ( #22735 )
2026-03-17 23:24:26 +00:00
Sakshi semalti
e1eefffcf1
fix(cli): automatically add all VSCode workspace folders to Gemini context ( #21380 )
...
Co-authored-by: Spencer <spencertang@google.com >
2026-03-17 23:05:49 +00:00
Alisa
7ae39fd622
feat(a2a): add agent acknowledgment command and enhance registry discovery ( #22389 )
2026-03-17 22:47:05 +00:00
N. Taylor Mullen
fb9264bf80
chore: add posttest build hooks and fix missing dependencies ( #22865 )
2026-03-17 22:23:00 +00:00
anj-s
d4397dbfc5
feat(tracker): integrate task tracker protocol into core system prompt ( #22442 )
2026-03-17 22:19:36 +00:00
Spencer
5fb0d1f01d
fix(core): add actionable warnings for terminal fallbacks ( #14426 ) ( #22211 )
2026-03-17 21:57:37 +00:00