Skip to content

Unwanted prompt content on session/load #579

@agentcooper

Description

@agentcooper
Zed 0.232.3 
Commit: da25b914c25f17ba457abc8cf75b8e42d0b899e2
Version: 0.232.3+stable.231.da25b914c25f17ba457abc8cf75b8e42d0b899e2

Steps to reproduce:

  1. Use Claude Agent (v0.30.0, from registry) to create a session, send hi as a prompt
  2. Close Zed and reopen

Expected: see previous session with the hi prompt.

Actual:

<command-name>/model</command-name>
            <command-message>model</command-message>
            <command-args>opus</command-args><local-command-stdout>Set model to opus (claude-opus-4-7)</local-command-stdout><command-name>/model</command-name>
            <command-message>model</command-message>
            <command-args>opus[1m]</command-args><local-command-stdout>Set model to opus[1m] (claude-opus-4-7[1m])</local-command-stdout>hi

Here are ACP logs: zed-acp-logs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions