gsxdsm
30cadb1345
fix(dashboard): show planning thinking output and silently recover from stream errors
...
Two related planning-mode issues:
1. The streaming "thinking" panel only showed for models that emit explicit
thinking_delta events (e.g. Anthropic Extended Thinking). For every other
model the user saw a spinner with no streaming content because text_delta
was being accumulated server-side without being broadcast over SSE. Now
onText also forwards deltas through the same stream channel so any model
surfaces its in-flight output.
2. Returning to the planning screen after the browser tab was backgrounded
long enough for the SSE socket to time out would land the user in a
permanent error view ("Session failed while contacting the AI") even
though the server session was still alive. The onError handler now first
re-fetches the AI session row; if the server still reports the session as
generating or awaiting_input it silently reconnects without surfacing the
transient error. Only genuine server-side failures still surface.
Tests for the obsolete manual-retry recovery path were rewritten as
auto-recovery assertions.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-25 10:50:54 -07:00
..
2026-04-13 15:35:08 -07:00
2026-04-13 14:15:00 -07:00
2026-04-15 19:27:53 -07:00
2026-04-24 19:39:20 -07:00
2026-04-18 12:14:43 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 07:45:36 -07:00
2026-04-17 09:16:08 -07:00
2026-04-22 09:56:26 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 10:21:03 -07:00
2026-04-25 10:21:03 -07:00
2026-04-25 00:07:19 -07:00
2026-04-25 10:50:32 -07:00
2026-04-24 12:18:10 -07:00
2026-04-25 01:45:29 -07:00
2026-04-25 10:21:03 -07:00
2026-04-24 09:54:00 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 10:21:03 -07:00
2026-04-05 23:08:27 -07:00
2026-04-18 12:21:14 -07:00
2026-04-08 14:17:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-09 21:08:16 -07:00
2026-04-24 08:55:02 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 13:29:48 -07:00
2026-04-22 16:31:30 -07:00
2026-04-22 15:53:08 -07:00
2026-04-24 20:58:45 -07:00
2026-04-24 08:55:02 -07:00
2026-04-08 20:04:23 -07:00
2026-04-25 10:50:32 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-18 07:36:57 -07:00
2026-04-06 15:37:45 -07:00
2026-04-12 21:40:34 -07:00
2026-04-24 22:25:57 -07:00
2026-04-25 10:50:32 -07:00
2026-04-24 15:00:43 -07:00
2026-04-17 20:16:23 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 09:38:16 -07:00
2026-04-09 16:35:41 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 09:44:44 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-23 23:02:33 -07:00
2026-04-12 19:16:21 -07:00
2026-04-17 05:36:02 -07:00
2026-04-25 08:25:11 -07:00
2026-04-14 10:43:59 -07:00
2026-04-23 11:16:11 -07:00
2026-04-24 14:31:12 -07:00
2026-04-24 15:00:43 -07:00
2026-04-16 09:08:06 -07:00
2026-04-16 08:38:08 -07:00
2026-04-24 19:39:20 -07:00
2026-04-09 13:01:19 -07:00
2026-04-16 09:08:06 -07:00
2026-04-17 08:01:38 -07:00
2026-04-25 07:04:50 -07:00
2026-04-25 07:04:50 -07:00
2026-04-24 08:55:02 -07:00
2026-04-25 10:50:54 -07:00
2026-04-12 18:10:39 -07:00
2026-04-24 12:51:53 +02:00
2026-04-16 10:04:44 -07:00
2026-04-25 07:04:50 -07:00
2026-04-20 22:10:07 -07:00
2026-04-14 10:43:51 -07:00
2026-04-18 03:08:00 -07:00
2026-04-06 15:05:21 -07:00
2026-04-09 21:28:00 -07:00
2026-04-23 10:58:36 -07:00
2026-04-25 07:04:50 -07:00
2026-04-24 13:51:55 -07:00
2026-04-24 19:39:20 -07:00
2026-04-16 15:07:10 -07:00
2026-04-10 03:07:25 -07:00
2026-04-24 22:54:44 -07:00
2026-04-23 12:00:05 -07:00
2026-04-16 08:38:55 -07:00
2026-04-15 09:45:57 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 10:46:35 -07:00
2026-04-25 10:39:15 -07:00
2026-04-16 08:38:08 -07:00
2026-04-16 08:38:08 -07:00
2026-04-16 04:38:05 -07:00
2026-04-19 20:48:13 -07:00
2026-04-24 08:54:25 -07:00
2026-04-24 19:39:20 -07:00
2026-04-18 14:09:47 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-06 21:07:41 -07:00
2026-04-25 10:21:03 -07:00
2026-04-22 08:04:24 -07:00
2026-04-25 07:04:50 -07:00
2026-04-25 08:26:13 -07:00
2026-04-25 07:34:58 -07:00
2026-04-10 00:59:17 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-13 17:41:33 -07:00