Add checkpoint diff API and hydrate turn diffs in UI

- add server support to diff filesystem checkpoints, including root/HEAD fallbacks and lazy checkpoint initialization
- wire new `providers.getCheckpointDiff` WebSocket route through provider manager and contracts
- update web app to load per-turn diffs from checkpoints and improve diff panel behavior on narrow screens
This commit is contained in:
Julius Marminge authored and Julius Marminge committed 2026-02-18 21:59:17 -08:00
1 parent 582615971e
commit cf8a2f03fc
27 files changed
+2265 -478

No files matched your search

+3
View File
@@ -313,6 +313,9 @@ export function createServer(options: ServerOptions) {
case WS_METHODS.providersListCheckpoints:
return providerManager.listCheckpoints(request.params as never);
case WS_METHODS.providersGetCheckpointDiff:
return providerManager.getCheckpointDiff(request.params as never);
case WS_METHODS.providersRevertToCheckpoint:
return providerManager.revertToCheckpoint(request.params as never);