mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 23:20:18 +01:00
5014e5b302
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