Adam Weidman
d034c4dd96
test(core): add unit tests for LocalSubagentProtocol and RemoteSubagentProtocol
...
Adds 58 tests covering lifecycle events, activity translation, config
buffering, session state persistence, auth setup, error handling, abort,
and concurrent send() guard for both new protocol implementations.
Also fixes a timing bug in RemoteSubagentProtocol where _sessionState was
persisted in a finally block, causing it to be written after the result
promise settled. Moved _saveSessionState() calls to run synchronously
before each _resultResolve/_resultReject so callers see updated
contextId/taskId immediately after getResult() settles.
2026-03-26 15:56:14 -04:00
Adam Weidman
f1a3387160
feat(core): wrap local and remote subagents behind AgentProtocol/AgentSession
...
Introduce LocalSubagentProtocol and RemoteSubagentProtocol that implement
AgentProtocol, wrapping LocalAgentExecutor and A2A client streaming
respectively. LocalSubagentSession and RemoteSubagentSession extend
AgentSession and are the public entry points.
- LocalSubagentProtocol: translates SubagentActivityEvent -> AgentEvent
(THOUGHT_CHUNK->message/thought, TOOL_CALL_START->tool_request,
TOOL_CALL_END->tool_response, ERROR->error). Accepts optional
rawActivityCallback for rich SubagentProgress display without losing
displayName/errorType detail that AgentEvent types do not carry.
- RemoteSubagentProtocol: wraps A2A sendMessageStream, maintains
contextId/taskId session state, tracks SubagentProgress per chunk
for error recovery, and returns a ToolResult with proper
SubagentProgress as returnDisplay.
- LocalSubagentInvocation: now uses LocalSubagentSession internally,
preserving all existing SubagentProgress display logic via
rawActivityCallback. External AbortSignal wired through session.abort().
- RemoteAgentInvocation: now uses RemoteSubagentSession, subscribing
to message events for live progress updates.
- SubagentToolWrapper and SubagentTool: add optional onAgentEvent
callback for future parent session observability (currently unused,
wired through invocation constructors to avoid a second pass later).
- index.ts: export LocalSubagentSession and RemoteSubagentSession.
No behavioral change to SubagentProgress display or ToolResult output.
2026-03-26 12:09:47 -04:00
cynthialong0-0
86111c4d54
feat(browser): dynamically discover read-only tools ( #23805 )
2026-03-25 19:16:48 +00:00
Shaswat Raj
f11bd3d079
fix(core): thread AbortSignal to chat compression requests ( #20405 ) ( #20778 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-03-25 16:57:59 +00:00
tony-shi
6deee11449
fix(browser): add proxy bypass constraint to domain restriction system prompt ( #23229 )
...
Co-authored-by: cynthialong0-0 <82900738+cynthialong0-0@users.noreply.github.com >
2026-03-25 15:59:21 +00:00
tony-shi
bbf5c2fe95
fix(browser): detect embedded URLs in query params to prevent allowedDomains bypass ( #23225 )
...
Co-authored-by: cynthialong0-0 <82900738+cynthialong0-0@users.noreply.github.com >
2026-03-25 15:26:00 +00:00
Adam Weidman
0c919857fa
feat(core): support inline agentCardJson for remote agents ( #23743 )
2026-03-25 04:03:51 +00:00
Adam Weidman
ee425aefa6
fix(core): improve agent loader error formatting for empty paths ( #23690 )
2026-03-24 22:04:28 +00:00
cynthialong0-0
466671eed4
feat(browser): add maxActionsPerTask for browser agent setting ( #23216 )
2026-03-24 21:40:48 +00:00
Adam Weidman
999ae7827d
feat(core): change user-facing auth type from oauth2 to oauth ( #23639 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 18:46:12 +00:00
Adam Weidman
91d756f391
fix(core): improve remote agent streaming UI and UX ( #23633 )
2026-03-24 15:34:04 +00:00
Abhi
a1f9af3fa7
fix(core): accurately reflect subagent tool failure in UI ( #23187 )
2026-03-24 01:56:00 +00:00
Spencer
fcd190b8b1
fix(telemetry): patch memory leak and enforce logPrompts privacy ( #23281 )
2026-03-23 23:58:06 +00:00
Adam Weidman
d5b78dbeea
fix(core): prevent redundant remote agent loading on model switch ( #23576 )
2026-03-23 19:45:59 +00:00
Abhi
0df9498674
fix(core): refine CliHelpAgent description for better delegation ( #23310 )
2026-03-21 06:24:37 +00:00
Christian Gunderman
8f391585ab
Disallow and suppress misused spread operator. ( #23294 )
2026-03-21 05:21:53 +00:00
cynthialong0-0
b316fcc44d
feat(browser): add warning message for session mode 'existing' ( #23288 )
2026-03-21 03:59:16 +00:00
Abhi
3382e0413e
fix(core): fix agent description indentation ( #23315 )
2026-03-20 23:24:57 +00:00
cynthialong0-0
e8fe43bd69
feat(browser): add sensitive action controls and read-only noise reduction ( #22867 )
2026-03-20 22:34:04 +00:00
cynthialong0-0
4e80f01fda
feat(core): add security prompt for browser agent ( #23241 )
2026-03-20 20:12:24 +00:00
Dev Randalpura
cca595971d
fix(core): add sanitization to sub agent thoughts and centralize utilities ( #22828 )
2026-03-20 19:19:18 +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
Abhi
32a123fc54
feat(core): inject memory and JIT context into subagents ( #23032 )
2026-03-19 17:16:09 +00:00
cynthialong0-0
7de0616229
fix(browser-agent): enable "Allow all server tools" session policy ( #22343 )
2026-03-19 16:32:35 +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
Abhi
5fa14dbe42
feat(core): resilient subagent tool rejection with contextual feedback ( #22951 )
2026-03-19 01:09:37 +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
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
Alisa
7ae39fd622
feat(a2a): add agent acknowledgment command and enhance registry discovery ( #22389 )
2026-03-17 22:47:05 +00:00
AK
695bcaea0d
feat(core): add foundation for subagent tool isolation ( #22708 )
2026-03-17 03:54:33 +00:00
Adam Weidman
44ce90d76c
refactor(core): introduce InjectionService with source-aware injection and backend-native background completions ( #22544 )
2026-03-16 21:06:29 +00:00
Christian Gunderman
ef5627eece
Disallow Object.create() and reflect. ( #22408 )
2026-03-16 16:24:27 +00:00
cynthialong0-0
366aa84395
feat(agent): replace the runtime npx for browser agent chrome devtool mcp with pre-built bundle ( #22213 )
...
Co-authored-by: Gaurav Ghosh <gaghosh@google.com >
Co-authored-by: Gaurav <39389231+gsquared94@users.noreply.github.com >
2026-03-16 08:05:38 +00:00
kevinjwang1
0bf7ea60c5
Add ModelDefinitions to ModelConfigService ( #22302 )
2026-03-14 21:45:21 +00:00
Christian Gunderman
64c50d32ac
Fix issue where config was undefined. ( #22397 )
2026-03-14 01:36:25 +00:00
cynthialong0-0
bfbd3c40a7
feat(agent): add allowed domain restrictions for browser agent ( #21775 )
2026-03-13 19:41:40 +00:00
Gaurav
d368997ca3
test: add Object.create context regression test and tool confirmation integration test ( #22356 )
2026-03-13 17:49:33 +00:00
Bryan Morgan
d44615ac2f
feat(core): increase sub-agent turn and time limits ( #22196 )
2026-03-13 02:39:49 +00:00
joshualitt
de656f01d7
feat(core): Fully migrate packages/core to AgentLoopContext. ( #22115 )
2026-03-13 01:56:31 +00:00
Alisa
4d393f9dca
feat(a2a): enable native gRPC support and protocol routing ( #21403 )
...
Co-authored-by: Adam Weidman <adamfweidman@google.com >
2026-03-12 21:36:50 +00:00
Gaurav
4863816b81
fix(browser): fix duplicate function declaration error in browser agent ( #22207 )
2026-03-12 19:58:09 +00:00
Adam Weidman
c68303c553
fix(core): add proxy routing support for remote A2A subagents ( #22199 )
2026-03-12 19:25:51 +00:00
Abhi
7242d71c01
fix(core): prevent duplicate tool schemas for instantiated tools ( #22204 )
2026-03-12 19:09:23 +00:00
Abhi
cd7dced951
feat(core): implement model-driven parallel tool scheduler ( #21933 )
2026-03-12 17:03:44 +00:00
Adam Weidman
4b76fe0061
feat(core): add google credentials provider for remote agents ( #21024 )
2026-03-12 15:39:59 +00:00
Abhi
8432bcee75
fix(core): resolve MCP tool FQN validation, schema export, and wildcards in subagents ( #22069 )
2026-03-12 14:17:36 +00:00
Aditya Bijalwan
333475c41f
feat(browser): implement input blocker overlay during automation ( #21132 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Gaurav <39389231+gsquared94@users.noreply.github.com >
Co-authored-by: Gaurav Ghosh <gaghosh@google.com >
2026-03-12 11:29:57 +00:00