mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 06:59:22 +01:00
703b5ac3f4
Updates `agent-client-protocol` to 5.3.0 (schema 1.18.0) and brings what Zed already implements in line with the rules that changed. - **Plan operations: the `file` plan type is removed.** Markdown plans carry an optional absolute `path` instead, and the client always renders `content`. A markdown plan with a `path` keeps the collapsible plan row and gets an "Open Plan File" button. A relative `path` is ignored, so the plan has no file. Naming or changing the file counts as a change to the plan, so it re-shows a dismissed plan, as a new URI did for file plans. - **Unknown v2 command types are no longer offered as slash commands.** The spec used to let a client show a command type it doesn't understand as a plain command. It now says the client must not. The composer only offers `command` entries for completion, input hints, validation, and the "/ for commands" placeholder. `AcpThread` still keeps the full list. This also covers the new `skill` entries, which Zed doesn't advertise support for. - **The new `speed` config option category converts from v1.** The `unstable` SDK feature now parses `speed` as a known category. The v1 conversion rejected categories it didn't list, so one `speed` option would have failed the agent's whole option list. Checked against the 1.18 docs, no change needed: - `replay_complete` (v2) is ignored. Zed still treats the `session/resume` response as the end of replay and discards the thread when a resume fails, and the RFD keeps the subagent freshness boundary at the response. - The subagent clarifications already hold. An `unknown` state shows as unconfirmed, and a session message without a sender renders as a message from another session. - Zed doesn't send `tool_call/cancel` or `terminal/cancel` once the tool call is final or the terminal has exited. - Zed doesn't call `session/options` or `session/fork`, so the new rules for them don't apply. Not adopted yet: prompt suggestions, Agent Skills, placing `speed` options next to the model selector, and using `replay_complete` to show replayed history before the resume response. Release Notes: - N/A