You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cca2dca
Browse filesBrowse the repository at this point in the historyBrowse files
Addresses zed-industries/zed#65727
Command approval requests replaced the command title with “Run command,”
hiding what Zed was asking the user to approve. Use the command minus
the shell bits as the approval title, including when approval arrives
before the command’s start event.
Add ACP v1/v2 regression coverage and update the documented approval
contract.
Validation:
- Typecheck, build, 206 focused tests, and all 19 real-Codex integration
tests passed.
- Confirmed fixed in Zed (v1.24.2 on macOS 26.6.2)
Copy file name to clipboardExpand all lines: docs/air-extensions.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,8 @@ Only these differences are allowed:
59
59
After a cancelled or failed permission request, the next update carries every field again.
60
60
ACP defines no merge for `_meta` keys, so the `_meta` of each report keeps every key that the adapter sent before.
61
61
- Bug fixes: a unique MCP startup tool call id, the result of a dynamic tool in `content`,
62
-
no output after a tool call ended, and a terminal status for a replayed image generation.
62
+
no output after a tool call ended, a terminal status for a replayed image generation,
63
+
and the command as the title of a command approval.
63
64
- Feature changes for every client: the `/mcp` command has a new description and an input hint.
64
65
- The client gets no AIR-only key.
65
66
That is no `_meta.jetbrains.air` key and none of the earlier keys in [Removed keys](#removed-keys).
@@ -359,7 +360,7 @@ The other clients get the same fields as before the AIR extensions.
359
360
| Turn plan (`turn/plan/updated`) | standard `plan` with entries | The same. |
360
361
|`contextCompaction`|`compaction_update` when the client declares `session.compaction`. Otherwise a synthetic tool call with `_meta.jetbrains.air.contextCompaction`. | The same, without `_meta`. |
361
362
|`agentMessage`|`agent_message_chunk` with `_meta.jetbrains.air.phase` when Codex reports a phase. | No `_meta`. |
362
-
| Command, file change, or sandbox permission request | See [Tool call of the request](#tool-call-of-the-request). |`kind`, `status: pending`, and a generic title such as `Run command`or `Edit files`, also for a started tool call. No `_meta`. |
363
+
| Command, file change, or sandbox permission request | See [Tool call of the request](#tool-call-of-the-request). |`kind`, `status: pending`, and a title, also for a started tool call. Command approvals keep the started title or show the command; other requests use a generic title or a network title. No `_meta`. |
363
364
|`imageView`, fuzzy search, MCP startup | standard shape. A fuzzy search that finds no file sends `locations: []`. | The same. |
364
365
365
366
## Diff patch
@@ -542,7 +543,10 @@ The `toolCall` is an ACP `ToolCallUpdate`. The client merges it into the stored
542
543
A client without `rawInputRendering` also gets it as text in `content`.
543
544
544
545
A client that is not AIR gets the request tool call of the adapter before the AIR extensions.
545
-
It always carries `kind` and `status: pending`, and a generic title such as `Run command`, `Edit files`, or a network title.
546
+
It always carries `kind` and `status: pending`. A started command keeps its title, including a parsed read, search, or list title.
547
+
An approval without a start uses the command without its shell wrapper as the title, so Zed keeps the command visible.
548
+
When Codex supplies no command, the title describes the parsed action or falls back to `Run command`.
549
+
File changes and network approvals keep their generic or network titles.
546
550
Its `locations` hold every path of the Codex command actions.
547
551
548
552
Command approvals use `kind: execute`. File changes use `kind: edit`.
0 commit comments