Files
opencode-mobile/src
engineer 059b5cc0f5 fix(sessions): don't flash error / refresh wrong session on send failure
sendMessage captured currentSession at call time; if the user switched sessions
while a prompt was in flight and it failed, the catch handler surfaced the error
on and refetched the NOW-current session. Clear the sending flag for the session
we actually sent to, but only set error / refreshMessages when it's still on
screen. Found via runtime bug audit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 00:41:42 -07:00
..