Spencer
c3000d59a1
chore: revert unintentional modifications to unrelated files from rebase
2026-04-02 18:04:22 +00:00
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
Tommaso Sciortino
1f07efb5d8
fix(cli): only show updating spinner when auto-update is in progress ( #23709 )
2026-03-24 15:43:03 -07:00
Bryan Morgan
8db2948361
fix(cli): correctly handle auto-update for standalone binaries ( #23038 )
2026-03-19 01:52:23 +00:00
nityam
352bbc36c0
merge duplicate imports packages/cli/src subtask3 ( #22056 )
2026-03-11 21:21:40 +00:00
Tommaso Sciortino
e5207eb67f
fix(cli): wait for background auto-update before relaunching ( #20904 )
2026-03-03 17:18:29 +00:00
Gal Zahavi
45d554ae2f
fix(core,cli): enable recursive directory access for ( #17094 )
2026-01-21 17:58:23 +00:00
Alexander Farber
608da23393
feat(settings): rename negative settings to positive naming (disable* -> enable*) ( #14142 )
...
Co-authored-by: jacob314 <jacob314@gmail.com >
2026-01-16 22:33:49 +00:00
Jacob Richman
f7f38e2b9e
Make merged settings non-nullable and fix all lints related to that. ( #16647 )
2026-01-15 17:26:10 +00:00
Tommaso Sciortino
bdd15e8911
Fully detach autoupgrade process ( #14595 )
2025-12-05 22:12:54 +00:00
CHAEWAN KIM
f4babf172b
fix(async): prevent missed async errors from bypassing catch handlers ( #13714 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2025-12-01 22:11:40 +00:00
Megha Bansal
95693e265e
Improve code coverage for cli package ( #13724 )
2025-11-24 17:41:46 +00:00
Adam Weidman
723b8d33c2
chore: update tests with removed exclude from cli tsconfig ( #11540 )
2025-10-20 23:40:54 +00:00
Abhi
93c7378d3b
chore(formatting): Fix formatting on main ( #10464 )
2025-10-03 03:28:49 +00:00
Shehab
69e1239698
fix(auto-update): suppress npx nag for transient installs ( #10276 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2025-10-02 20:55:32 +00:00
Gal Zahavi
f22263c9e8
refactor: refactor settings to a nested structure ( #7244 )
2025-08-28 01:39:45 +00:00
Pascal Birchler
0f031a7f89
Explict imports & exports with type modifier ( #3774 )
2025-08-25 22:04:53 +00:00
Billy Biggs
bedcbb9feb
Add a setting to disable the version update nag message ( #5449 )
2025-08-03 18:20:55 +00:00
Gal Zahavi
820169ba2e
feat(autoupdate): Improve update check and refactor for testability ( #5389 )
2025-08-02 03:17:32 +00:00
Gal Zahavi
871e0dfab8
feat: Add auto update functionality ( #4686 )
2025-07-29 00:56:52 +00:00