Commit Graph
2 Commits
Author SHA1 Message Date
Alessandro 797a88faec Keep welcome sends visible while initial chat history loads
The first history snapshot could clear the optimistic user bubble after a
Welcome send created and selected a chat, leaving the prompt invisible
until its backend log arrived.

Skip the redundant history reset on the first snapshot and rebuild the
merged message window in log order. Reuse the existing message IDs and
renderer so the greeting precedes the prompt and the backend echo updates
the same user row. Later full snapshots still clear stale history.

Add browser regressions for text and attachment sends with snapshots
arriving during or after rendering, and update the WebUI contracts.

Validation: 72 focused tests passed. Live desktop and mobile checks covered
delayed dispatch, normal in-chat sending, and a real backend message echo.
2026-11-10 19:30:54 +01:00
Alessandro dc34830447 fix: preserve compatibility across tool plugin refactor
Initialize the scheduler store before snapshots. Preserve legacy memory calls and per-action permissions while advertising the unified tool, and retain saved policy IDs for moved tools. Restore legacy log rendering and connector tool events, and reject malformed boolean arguments by default.
2026-10-27 17:33:33 +01:00