Commit Graph

6210 Commits

Author SHA1 Message Date
Adam Weidman
ab441faeba test(core): fix compilation in agent-tool.test.ts by updating getter name 2026-05-18 11:12:05 -04:00
Adam Weidman
0cbab41d0d chore(core): fix duplicate getContextManagementConfig in agent-tool branch 2026-05-18 11:12:05 -04:00
Adam Weidman
f588d400cf chore(core): remove redundant getters from config in agent-tool branch 2026-05-18 11:12:05 -04:00
Adam Weidman
5e8376e43a chore(core): use renamed isAgentSessionSubagentEnabled getter in agent-tool 2026-05-18 11:12:04 -04:00
Adam Weidman
4126071067 chore(core): revert remote-session-invocation test changes in agent-tool branch 2026-05-18 11:12:04 -04:00
Adam Weidman
2a49d10836 feat(core): wire AgentSession invocations into agent-tool behind feature flag
Add agentSessionSubagentEnabled setting under experimental.adk that
routes subagent invocations through LocalSessionInvocation and
RemoteSessionInvocation instead of legacy executors. When disabled
(default), all behavior is unchanged.

- Add agentSessionSubagentEnabled to ADKSettings, Config, and settings schema
- Thread onAgentEvent callback through AgentTool → DelegateInvocation
- Route local/remote agents to session invocations when flag is enabled
- Browser agent always uses BrowserAgentInvocation regardless of flag
- Copy local protocol files needed for the session invocation path
2026-05-18 11:12:04 -04:00
Adam Weidman
844e966c4d chore(core): remove redundant getAgentSessionSubagentEnabled method 2026-05-18 11:12:04 -04:00
Adam Weidman
e2b0e07a77 feat(core): add more getters related to agent session flag 2026-05-18 11:12:03 -04:00
Adam Weidman
78ccdb8f1e fix(core): stop spinners for running activities on remote session error/abort 2026-05-18 11:11:10 -04:00
Adam Weidman
80e1c757b7 fix(core): add optional chaining for optional abortSignal in RemoteSessionInvocation 2026-05-18 10:19:20 -04:00
Adam Weidman
eed09e0027 fix(core): use SubagentState enum in remote session invocation tests 2026-05-18 10:19:20 -04:00
Adam Weidman
7bba3b2155 test(core): add tests for composite session key in RemoteSessionInvocation 2026-05-18 10:19:20 -04:00
Adam Weidman
2cb0676bbf docs(core): update comments for composite session key in RemoteSessionInvocation 2026-05-18 10:19:20 -04:00
Adam Weidman
a9f89578d0 feat(core): use composite key for remote session state 2026-05-18 10:19:20 -04:00
Adam Weidman
99dc1514e9 refactor(core): use SubagentState enum in RemoteSessionInvocation 2026-05-18 10:19:20 -04:00
Adam Weidman
cbcb5aa2b1 feat(core): add RemoteSessionInvocation — session-based remote agent invocation
New invocation class that delegates to RemoteSubagentSession instead of
directly managing A2A client streaming. Existing RemoteAgentInvocation is
untouched — this will be wired in behind a feature flag in a later PR.

Key behaviors:
- Static sessionState map persists A2A contextId/taskId across invocations
- Subscribes to session message events for live SubagentProgress updates
- Detects post-getResult abort and surfaces proper error state
- Includes partial output in error display via getLatestProgress()
- Properly cleans up abort listeners and subscriptions in finally block

Also adds initialState param and getSessionState() to
RemoteSubagentProtocol/RemoteSubagentSession for cross-invocation
state persistence.
2026-05-18 10:19:20 -04:00
Adam Weidman
aed703c0db refactor: address review follow-ups for local protocol 2026-05-18 10:19:20 -04:00
Adam Weidman
ba8f283844 refactor: address review comments for local protocol 2026-05-18 10:19:20 -04:00
Adam Weidman
31126979a1 fix(core): address review comments on local session invocation 2026-05-18 10:18:58 -04:00
Adam Weidman
eaab123892 Merge remote-tracking branch 'origin/main' into agent-session/local-invocation 2026-05-18 09:56:48 -04:00
Adam Weidman
5611ff40e7 feat(core): add adk.agentSessionSubagentEnabled flag (#26947) 2026-05-17 17:38:34 +00:00
David Pierce
77e65c0db5 fix(core): use hasAccessToPreview for auto model resolution and fix disappearing models (#27112) 2026-05-15 17:26:59 +00:00
Anish Sabharwal
b36788eb2a fix(core): add aliases and thinking config for gemini-3.1 models (#27007) 2026-05-15 16:29:15 +00:00
PROTHAM
d32c9b77df Fix/web fetch ctrl c abort (#24320)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-05-15 16:26:03 +00:00
Tommaso Sciortino
b213fd68ec security: update dependencies to fix critical and high vulnerabilities (#27077) 2026-05-15 02:01:38 +00:00
sotokisehiro
928a311fb0 fix(core): externalize https-proxy-agent to fix proxy support (#26361) 2026-05-14 22:34:36 +00:00
7. Sun
f6494f3862 docs: update sandbox image command (#26774) 2026-05-14 22:08:15 +00:00
Coco Sheng
b7f2067dd7 fix(cli): explicitly clear entrypoint when spawning sandbox container (#27059) 2026-05-14 21:50:29 +00:00
Dev Randalpura
7a5a8183bf fix(ui): add ENAMETOOLONG and ENOTDIR to exceptions for file parsing errors (#27069) 2026-05-14 21:23:42 +00:00
Gal Zahavi
0c0d88d90b docs(extensions): clarify env var sanitization policy for MCP and ext… (#22854)
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
Co-authored-by: Jenna Inouye <jinouye@google.com>
2026-05-14 21:23:38 +00:00
PROTHAM
2151653133 fix(core): resolve EISDIR errors during file processing (#21527) (#27041) 2026-05-14 21:21:57 +00:00
Tommaso Sciortino
a6ed2cc5e3 fix(deps): update vulnerable dependencies (#27062) 2026-05-14 21:19:27 +00:00
David Pierce
5159b081bd fix(core): ensure stable admin settings comparison across IPC to prevent restart loop (#27066) 2026-05-14 19:44:03 +00:00
Gal Zahavi
918d6b6085 fix(core): ensure Vertex AI sets hasAccessToPreviewModels and remove aggressive 404 fallback revocation (#27067) 2026-05-14 19:42:09 +00:00
Dev Randalpura
6fee663ddc fix(ui): preserve new line at the end of edit window (#27057) 2026-05-14 18:33:41 +00:00
Coco Sheng
456d1aec74 fix(cli): resolve permission denied in sandbox on NixOS and other distros (#27004) 2026-05-14 17:15:12 +00:00
Coco Sheng
e3f2d3e1ef fix(core): respect NO_PROXY for network-based MCP servers (#27012) 2026-05-14 17:11:17 +00:00
Sri Pasumarthi
b705505dae fix(acp/auth): prevent conflicting credentials on enterprise gateways and support optional API keys natively (#27021) 2026-05-14 15:38:01 +00:00
Spencer
488d71b8c9 feat(core): expose RAG snippets to local log file for debugging (#27016) 2026-05-14 02:34:12 +00:00
Gal Zahavi
77078b3e8a fix(core): ensure stable fallback for restricted preview models (#26999) 2026-05-13 21:46:41 +00:00
ifitisit
1814c7f358 fix(cli): don't crash when an @-mention captures a non-path blob (#25980) 2026-05-13 21:43:08 +00:00
EMERSON BUSSON
724981baf8 fix(core): throttle shell text output and bound live UI buffer (#26955) 2026-05-13 21:34:32 +00:00
Sandy Tao
7504259d72 chore: clean up launched memory features (#26941)
Co-authored-by: Jenna Inouye <jinouye@google.com>
2026-05-13 21:22:56 +00:00
Coco Sheng
0750b01fe4 fix: add system PATH fallback for ripgrep resolution (#26777) (#26868) 2026-05-13 21:05:37 +00:00
Dev Randalpura
41599ce29f fix(core): made context files append instead of replace (#26950)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-05-13 19:45:30 +00:00
Tommaso Sciortino
74e9079e5b chore: add execution permission to scripts/review.sh (#27009) 2026-05-13 12:22:00 -07:00
AK
9da30b8831 fix(core): isolate subagent thread context (#26449) 2026-05-13 18:55:17 +00:00
Dev Randalpura
71a2c0264e fix(ui): clamped table column widths (#26991)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-05-13 18:43:49 +00:00
Sahil Kirad
fd01cc03bf fix(core): refresh MCP OAuth token usage after re-auth (#26312)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2026-05-13 12:01:27 -07:00
Coco Sheng
fc4054446f ci: suppress bot comments during standard triage maintenance (#27006) 2026-05-13 18:43:07 +00:00