Harden state persistence and tighten WS thread update API

- Fix persistence edge cases around pagination offsets, assistant message ordering, and checkpoint merge semantics
- Make state DB and sqlite adapter failures safer with better cleanup and runtime errors
- Treat `threads.update` as unsupported, keep `threads.updateTerminalState` canonical, and avoid failing revert RPCs on persistence-write errors
- Add focused server/web/contracts tests for the new failure and compatibility paths
e81c2acb78Julius Marminge committed on 2/20/2026, 8:43:30 AMparentfda3073
21 files changedLine totals unavailable