Files
zed/crates/agent_servers
Ben Brandt 5014e5b302 Update ACP SDK to 5.2.0 and adopt schema 1.17 additions (#66832)
Updates `agent-client-protocol` to 5.2.0 (schema 1.17.0) and adopts its
new additions.

- **Session references in tool call content.**
`ToolCallContent::Session` (unstable subagents) used to render as
"Unsupported tool call content." for v2 agents and was dropped for v1
agents. It now renders as an "Open Session" link that switches to the
referenced session, labelled the same way as session-message
participants. Because references are display-only, sessions Zed doesn't
know about show as "Unavailable Session" and aren't loaded.
- **Saved config defaults sent inline with `session/new`, behind the ACP
beta flag.** If the agent advertises `sessionCapabilities.options`, Zed
now sends the user's saved config defaults in the session-creation
request (`configOptions`) instead of only applying them one
`session/set_config_option` call at a time afterwards. This covers v1
and v2. `session/options` is still a draft, so this only happens with
`acp-beta` enabled. The existing one-at-a-time pass still runs after
creation: it sends nothing when the agent already applied everything,
and it still catches defaults the agent skipped (for example, one that
depends on another option's value).
- The `session/options` request itself is not used yet.
- `AuthAccount.description` is not adopted, because Zed doesn't use auth
status.

Release Notes:

- N/A
2026-11-11 17:29:24 +00:00
..