zed/crates/settings
Oliver Azevedo Barnes 692a137782
agent: Add project-level disable_ai setting (#47902)
Closes #47854

Move `disable_ai` from root settings to `ProjectSettingsContent` to
enable per-project AI configuration via `.zed/settings.json`.

- Update settings UI to allow viewing/editing at both user and project
level
- Update editor to check project-level settings for edit predictions and
context menus
- Prevent MCP servers from starting when AI is disabled at project level

Note: SaturatingBool ensures that if user globally disables AI, projects
cannot re-enable it. Projects can only further restrict AI, not grant
it.

Release Notes:

- added support for disabling AI in project settings 

---------

Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com>
2026-02-13 11:57:43 -06:00
..
src agent: Add project-level disable_ai setting (#47902) 2026-02-13 11:57:43 -06:00
Cargo.toml acp: Allow installing ACP agents from the registry (#47218) 2026-01-20 14:06:21 +00:00
LICENSE-GPL