-
Notifications
You must be signed in to change notification settings - Fork 70
agent_client_protocol::rpc: failed #177
Description
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