@actantdb/replay
v0.0.12
Published
Replay engine: checkpoint, run-from-event, diff, override (policy / memory / model).
Readme
@actantdb/replay
Replay engine: checkpoint, run-from-event, diff, override (policy / memory / model).
v0.1 scope (per /CHANGELOG.md days 36–50):
import { Replay } from "@actantdb/replay";
const r = new Replay({ project: "support-agent" });
const checkpoint = await r.checkpoint(eventId);
const run = await r.run(checkpoint, {
withoutMemory: ["mem_42"],
policy: "strict",
});
const diff = await r.diff(originalRunId, run.id);Replay does NOT re-execute real side effects in v0.1. Tool results in replay mode are reused from the recorded effect_result. Experimental mode (re-invoke models / tools) is deferred until after Gate 3.
All public types come from @actantdb/types (generated from crates/actant-contracts).
