/** * Hydrate Route * * POST /hydrate - Restore agent state from a previous run's action log. * * Loads actions from persistence, optionally slices them to a boundary * (sequence number or turn), replays them through the runtime so reducers * rebuild state, then optionally continues execution from that point. * * Replay uses `dispatchToReducer` — actions go straight to reducers, * bypassing the entire middleware chain. No model calls, no tool execution, * no streaming events. Same approach as Redux DevTools time-travel. */ import { Hono } from "hono"; import type { Runtime, Action } from "@gizmo-ai/runtime"; import type { PersistenceStore } from "../persistence/index.ts"; export interface HydrateRouteConfig = Record, A extends Action = Action> { runtime: Runtime; persistence: PersistenceStore | null; } /** * Create the hydrate route */ export declare function createHydrateRoute, A extends Action>(config: HydrateRouteConfig): Hono; //# sourceMappingURL=hydrate.d.ts.map