Adds a server-side run-journal live snapshot (_run_journal_live_snapshot) returned in GET /api/session as runtime_journal_snapshot, so a FRESH client (another device, or a tab with no in-memory snapshot) opening an in-progress session immediately sees the already-streamed assistant text + tool cards rebuilt from the server. Composes with the existing _replay_run_journal cursor path (seeds lastRunJournalSeq so replay resumes from the snapshot cutoff, not duplicating it) and keys tool cards by the same 5 id aliases (tid/id/tool_call_id/tool_use_id/call_id) as #3763 so SSE replay replaces rather than duplicates snapshot cards. Payload values truncated; redaction test added. Co-authored-by: t3chn0pr13st <technopriest@live.ru> |
||
|---|---|---|
| .. | ||
| vendor | ||
| apple-touch-icon.png | ||
| boot.js | ||
| commands.js | ||
| favicon-32.png | ||
| favicon-192.png | ||
| favicon-512.png | ||
| favicon-512.svg | ||
| favicon.ico | ||
| favicon.svg | ||
| i18n.js | ||
| icons.js | ||
| index.html | ||
| login.js | ||
| manifest.json | ||
| messages.js | ||
| onboarding.js | ||
| panels.js | ||
| pwa-startup.js | ||
| sessions.js | ||
| style.css | ||
| sw.js | ||
| terminal.js | ||
| ui.js | ||
| workspace.js | ||