e2505ae (from #345 ) broke session/load support; the replayed agent messages from the ACP server are put in Messages instead of inserted into the agent-shell buffer.
Specifically all agent message are dropped because of this:
;; Notification is out of context (session/prompt finished).
;; Cannot derive where to display, so show in minibuffer.
(if (not (shell-maker-busy))
(message "%s %s (stale, consider reporting to ACP agent)"
(agent-shell--make-status-kind-label
:status (map-nested-elt acp-notification '(params update status))
:kind (map-nested-elt acp-notification '(params update kind)))
(propertize (or (map-nested-elt acp-notification '(params update title)) "")
'face font-lock-doc-markup-face))
This happens for both claude-agent-acp and for my own ACP server.
Checklist
e2505ae (from #345 ) broke session/load support; the replayed agent messages from the ACP server are put in Messages instead of inserted into the agent-shell buffer.
Specifically all agent message are dropped because of this:
This happens for both claude-agent-acp and for my own ACP server.
Checklist
Been looking more into this space as agent bugs were resulting in unusable shell prompts (populated with our of turn data). The spec seems to be fairly explicit about keeping notification updates within prompt turns https://agentclientprotocol.com/protocol/prompt-turn
For example:
Wrt
claude-agent-acp, out of turn updates look like a bu…