Files
coder/docs/coder-agents
Ethan 673b29ee74 feat(site): show steer as the default for busy chats (#31173)
The site has never sent a `busy_behavior`, so since #31174 a message
sent whilst the agent is working already steers. This catches the UI up.
The send button now just says "Send" whilst the agent is busy, instead
of "Queue", and the queued messages list groups rows by lane, "Next
step" for steer messages and "After turn" for queue messages, in the
order they'll be delivered. Queue messages can still come from the API
or MCP, there's just no way to make one from the site.

"Send now" moves a row to the end of the "Next step" group instead of
hiding it, and the row leaves the list once the server delivers it. That
gets rid of the separate set of hidden "Send now" rows in the chat
store. When a send delivers queued messages, e.g. on an errored chat,
reconciliation now removes the rows named by `queued_message_id` on the
inserted messages, instead of assuming it was the queue head. The store
also compares queued rows by ID and lane, so a row that only moves to
the other lane still re-renders.

Removing a queued message now ignores a 404, as the message may have
been delivered or removed in the meantime.

Since #31156, "Send now" doesn't interrupt, so on a running chat it no
longer clears the live stream or sets the status. Whilst the agent is
working, a "Next step" row already goes in before the next model call,
so we hide its "Send now", and Enter on an empty composer doesn't send a
steer head either. The docs now describe the two groups and "Send now".

Part of CODAGT-1140
2026-11-09 15:55:17 +11:00
..