@axiomvn/persistence
v0.3.1
Published
Durable saves, replays, and story fingerprints for Axiom VN.
Readme
@axiomvn/persistence
Durable saves, durable replays, and story fingerprints for Axiom VN.
A save is provenance-aware: it records the engine version, the pack version, and a fingerprint of the story it was taken against, so a save written by a story that has since changed is detected rather than silently misapplied. A replay is the same idea applied to a command log — a recorded playthrough that can be verified to still reach where it did. Recovery from a save a changed story can no longer accept is opt-in and never silent about what it did.
This package produces and consumes strings. It never touches storage: where those strings live — localStorage, a file, a server — belongs to the deployment.
Depends on @axiomvn/content and @axiomvn/core. A creator normally reaches it through @axiomvn/game rather than installing it directly.
Start a project with @axiomvn/create.
