Spencer
822e098d32
feat(policy): map --yolo to allowedTools wildcard policy
...
This PR maps the `--yolo` flag natively into a wildcard policy array
(`allowedTools: ["*"]`) and removes the concept of `ApprovalMode.YOLO` as a
distinct state in the application, fulfilling issue #11303 .
This removes the hardcoded `ApprovalMode.YOLO` state and its associated
UI/bypasses. The `PolicyEngine` now evaluates YOLO purely via data-driven rules.
- Removes `ApprovalMode.YOLO`
- Removes UI toggle (`Ctrl+Y`) and indicators for YOLO
- Removes `yolo.toml`
- Updates A2A server and CLI config logic to translate YOLO into a wildcard tool
- Rewrites policy engine tests to evaluate the wildcard
- Enforces enterprise `disableYoloMode` and `secureModeEnabled` controls
by actively preventing manual `--allowed-tools=*` bypasses.
Fixes #11303
2026-04-02 18:04:20 +00:00
Sri Pasumarthi
b80234aa3e
fix(acp): handle all InvalidStreamError types gracefully in prompt ( #24540 )
2026-04-02 17:16:36 +00:00
Sri Pasumarthi
6b303a13eb
fix(acp) refactor(core,cli): centralize model discovery logic in ModelConfigService ( #24392 )
2026-04-01 18:03:30 +00:00
Sri Pasumarthi
e7dccabf14
fix(acp): prevent crash on empty response in ACP mode ( #23952 )
2026-03-27 18:49:13 +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
Sri Pasumarthi
c06794b3c6
fix(acp): allow attachments by adding a permission prompt ( #23680 )
2026-03-25 16:52:21 +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
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
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
joshualitt
39d3b0e28c
feat(cli): Partial threading of AgentLoopContext. ( #22978 )
2026-03-19 16:02:13 +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
kevinjwang1
0bf7ea60c5
Add ModelDefinitions to ModelConfigService ( #22302 )
2026-03-14 21:45:21 +00:00
Gal Zahavi
b49fc8122d
feat(security): add disableAlwaysAllow setting to disable auto-approvals ( #21941 )
2026-03-13 23:02:09 +00:00
nityam
016d5d8eb6
merge duplicate imports packages/cli/src subtask1 ( #22040 )
2026-03-11 17:50:42 +00:00
Shreya Keshive
7ec477d40d
feat(acp): Add support for AI Gateway auth ( #21305 )
2026-03-05 22:15:23 +00:00
Shreya Keshive
0135b03c8a
fix(acp): rename --experimental-acp to --acp & remove Zed-specific refrences ( #21171 )
2026-03-05 19:57:28 +00:00