Skip to content

fix: remove agent_end authoritative message replacement#23

Merged
0xHexE merged 1 commit into
mainfrom
fix/agent-end-message-wipe
Mar 28, 2026
Merged

fix: remove agent_end authoritative message replacement#23
0xHexE merged 1 commit into
mainfrom
fix/agent-end-message-wipe

Conversation

@0xHexE

@0xHexE 0xHexE commented Mar 28, 2026

Copy link
Copy Markdown
Member

The agent_end handler was replacing the entire messages array with 'authoritative' messages from the backend. This caused visible messages (especially the latest user prompt added client-side via client_command) to vanish because the backend's message list had different ids or timing. Introduced in 9eb9470, guard loosened in 57d98c5.

The agent_end handler was replacing the entire messages array with
'authoritative' messages from the backend. This caused visible messages
(especially the latest user prompt added client-side via client_command)
to vanish because the backend's message list had different ids or
timing. Introduced in 9eb9470, guard loosened in 57d98c5.
@0xHexE
0xHexE merged commit 31f1b6a into main Mar 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant