mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
def6cca68a
P0 fix: the frontend generated client-side UUIDs for messages while the
backend independently generated tmsg_{uuid} IDs. When edit/retry sent
the client UUID as truncate_before_message_id, the backend lookup found
nothing and never truncated.
Fix:
- Frontend sends messageId on PromptRequest (ACP unstable_message_id)
- Server uses args.message_id as the thread message ID instead of
generating a new one, so both sides share the same ID
- Replay chunks now carry message_id so loaded sessions also have
correct IDs for future edit/retry operations
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>