2100 Commits

Author SHA1 Message Date
Adam Weidman
38c706dbb9 Merge remote-tracking branch 'origin/main' into fix/agent-loader-error-formatting
# Conflicts:
#	packages/core/src/agents/agentLoader.ts

# Conflicts:
#	packages/core/src/agents/agentLoader.ts
2026-03-26 14:04:36 -04:00
Adam Weidman
5e18b14c10 feat(core): support inline agentCardJson for remote agents
- Add agent_card_json field as alternative to agent_card_url in remote
  agent markdown frontmatter with Zod schema enforcing mutual exclusivity
- Refactor loadAgent to accept AgentCardLoadOptions discriminated union
- Add AgentCardLoadOptions, getAgentCardLoadOptions, getRemoteAgentTargetUrl
  helpers in types.ts to centralize remote agent card resolution
- Fix google-credentials auth crash when using agentCardJson by extracting
  targetUrl from inline JSON card
- Hash agentCardJson with SHA-256 for metadata.hash instead of raw string
- Add JSON syntax validation via Zod .refine() on agent_card_json field
- Refactor formatZodError with recursive flatMap and deduplication
- Update remote agents documentation for oauth type naming
- Add comprehensive test coverage for all agentCardJson code paths

# Conflicts:
#	packages/core/src/agents/agentLoader.ts
2026-03-26 14:03:52 -04:00
Adib234
a3a3e66922 fix(policy): relax write_file argsPattern in plan mode to allow paths without session ID (#23695) 2026-03-25 14:06:21 -04:00
Gal Zahavi
d4555a473e fix(core): conditionally expose additional_permissions in shell tool (#23729)
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2026-03-25 10:36:46 -07:00
gemini-cli-robot
4a95ab62d4
fix(patch): cherry-pick 055ff92 to release/v0.36.0-preview.0-pr-23672 to patch version v0.36.0-preview.0 and create version 0.36.0-preview.1 (#23723)
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
2026-03-24 20:07:02 -04: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
Christian Gunderman
6b7dc4d822
refactor(core): stop gemini CLI from producing unsafe casts (#23611) 2026-03-24 16:19:59 +00:00
Adam Weidman
91d756f391
fix(core): improve remote agent streaming UI and UX (#23633) 2026-03-24 15:34:04 +00:00
Gal Zahavi
fc18768155
refactor(sandbox): reorganize Windows sandbox files (#23645) 2026-03-24 14:32:20 +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
Gal Zahavi
36e6445dba
feat(sandbox): dynamic macOS sandbox expansion and worktree support (#23301) 2026-03-24 04:48:13 +00:00
David Pierce
37c8de3c06
Implementation of sandbox "Write-Protected" Governance Files (#23139)
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
2026-03-24 04:04:17 +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
Spencer
fcd190b8b1
fix(telemetry): patch memory leak and enforce logPrompts privacy (#23281) 2026-03-23 23:58:06 +00:00
Keith Schaab
b35c12d8d0
fix(core)!: Force policy config to specify toolName (#23330) 2026-03-23 22:35:08 +00:00
Adam Weidman
4728028512
feat(core): add LegacyAgentSession (#22986) 2026-03-23 21:50:23 +00:00
Abhi
919e5da581
refactor(core): delete obsolete coreToolScheduler (#23502) 2026-03-23 21:21:14 +00:00
Tommaso Sciortino
37857ab956
fix(core): properly support allowRedirect in policy engine (#23579) 2026-03-23 20:32:50 +00:00
Abhi
153f2630b9
refactor(core): update production type imports from coreToolScheduler (#23498) 2026-03-23 19:48:38 +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
b2d6dc4e32
chore(config): disable agents by default (#23546) 2026-03-23 19:24:16 +00:00
Abhi
ac95282758
test(core): migrate hook tests to scheduler (#23496) 2026-03-23 19:21:49 +00:00
Adam Weidman
efeb9f7e7b
fix(core): harden AgentSession replay semantics (#23548) 2026-03-23 18:43:38 +00:00
Tommaso Sciortino
daf3691841
fix: "allow always" for commands with paths (#23558) 2026-03-23 17:25:31 +00:00
Adam Weidman
ec0161ad37
feat(core): add event-translator and update agent types (#22985) 2026-03-23 16:08:09 +00:00
Emily Hedlund
cdf077da56
feat(core): refactor SandboxManager to a stateless architecture and introduce explicit Deny interface (#23141) 2026-03-23 15:43:58 +00:00
Abhi
c7d44e339b
fix(core): ensure subagent tool updates apply configuration overrides immediately (#23161) 2026-03-23 00:24:24 +00:00
Adib234
4c533b1249
fix(plan): add state transition override to prevent plan mode freeze (#23020)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-21 22:56:31 +00:00
N. Taylor Mullen
4a3d9414ef
fix(core): enable global session and persistent approval for web_fetch (#23295)
Co-authored-by: Spencer <spencertang@google.com>
2026-03-21 10:32:07 -07: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
Alisa
1a70fdd364
chore(lint): enforce zero warnings and cleanup syntax restrictions (#22902) 2026-03-21 04:01:48 +00:00
cynthialong0-0
b316fcc44d
feat(browser): add warning message for session mode 'existing' (#23288) 2026-03-21 03:59:16 +00:00
Christian Gunderman
d1dc4902fd
fix(hooks): support 'ask' decision for BeforeTool hooks (#21146) 2026-03-21 03:52:39 +00:00
Yuna Seol
244a608186
feat(core): set up onboarding telemetry (#23118)
Co-authored-by: Yuna Seol <yunaseol@google.com>
2026-03-21 01:15:47 +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
Coco Sheng
8eb419a47a
refactor(ide): replace dynamic undici import with static fetch import (#23268) 2026-03-20 21:14:25 +00:00
cynthialong0-0
4e80f01fda
feat(core): add security prompt for browser agent (#23241) 2026-03-20 20:12:24 +00:00
Sehoon Shon
05e4ea80ee
feat(core): refine User-Agent for VS Code traffic (unified format) (#23256) 2026-03-20 19:31:01 +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
26b9af1cdc
refactor(core): use absolute paths in GEMINI.md context markers (#23135) 2026-03-20 19:10:01 +00:00
Jerop Kipruto
b459e1a108
feat(telemetry): track if session is running in a Git worktree (#23265) 2026-03-20 19:01:12 +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
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