Skip to content

agent_client_protocol::rpc: failed #177

@freke1981SWE

Description

@freke1981SWE

Get this error from time to time in different sessions, running the latest version.

agent_client_protocol::rpc: failed to parse incoming message: expected value at line 1 column 1
Source: The Rust ACP runtime inside the agent CLI process (not the Node backend)
"line 1 column 1": The parser expected JSON but the very first character wasn't { or [
Raw content: stitem parent list node; CSS resets require explicit list-style-type... — a mid-sentence fragment
Consequence: The RPC channel broke, no more messages could be exchanged, the agent hit idle timeout

The backend sends JSON-RPC to the agent's stdin via ndJsonStream — always JSON.stringify(message) + "\n"
The agent's Rust ACP runtime reads from stdin and failed to parse what it received
The unparseable content is a fragment of mulch JSONL — it starts mid-word (stitem = listitem), no JSON framing
Terminal commands run by the backend use stdio: ["pipe", "pipe", "pipe"] — their output is captured, not leaked

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