Connect Sybil to the Pi root conversation with authenticated REST and WebSocket APIs, persistent read state, and a dedicated agent tab. Keep optimistic messages stable through delivery and retries, and animate arrivals without losing the reader's scroll position. Share bubble styling with regular chats and remove the obsolete admission sender. Reject malformed upstream receipts and WebSocket upgrade requests, with regression coverage and updated API documentation. Validated with 51 web tests, 44 server tests, both production builds, desktop/mobile bubble comparisons, and 11 browser animation and scrolling checks.
6 lines
139 B
SQL
6 lines
139 B
SQL
CREATE TABLE "AgentReadState" (
|
|
"id" TEXT NOT NULL PRIMARY KEY,
|
|
"cursor" TEXT NOT NULL DEFAULT '0',
|
|
"updatedAt" DATETIME NOT NULL
|
|
);
|