6 months ago
d0b242aMultiple updates across desktop UI, server routes, session management and tests: - Desktop: detect/migrate legacy A2UI feature-flag shapes into desktop overrides and fanout changes to workspaces with error notifications for failures. - UI: switch sidebar resizers to PointerEvent (pointerdown/move/up/cancel), add touch-none to resizer elements and adjust settings heading color. - Server JSON-RPC: validate thread/hydrate params with schemas, implement afterSeq/includeTurns handling (returns journalTailSeq), return snapshot+turns without subscribing clients, and add tests covering behavior and param validation. - Session/runtime: avoid evicting sessions that are busy; HistoryManager no longer truncates allMessages (preserve full history for seeding) while keeping runtime messages capped; tests updated accordingly. - Cost tracking: preserve lifetime turn counts/totals even when per-turn window is capped and reflect lifetime totals in snapshots; tests updated. Also includes minor docs tweak and test updates for these behaviors.
Parent9cad3df