Skip to content

session/load support is currently broken #361

@catern

Description

@catern

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

  • I agree to communicate with the author myself (not AI-generated).
  • I've read the README's Filing issues section.
  • I'm running the latest versions (fill in below).
    • agent-shell:
    • acp.el:
    • ACP package (e.g. claude-code-acp):
    • Agent CLI (e.g. claude, gemini):
  • For requesting new agent support, I'm including a link to the ACP-capable agent or related ACP package.
  • For issues, I'm including ACP traffic (as per README).
Pinned by xenodium

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions