pixi-vn-history
Pixi'VN History module
Official docs: https://pixi-vn.com/start/history — this skill also documents
goBackModeand the real-world go-back/backlog patterns not detailed on the public page. It sticks to the publicstepHistoryAPI a game actually calls, not how it's implemented internally.
When to use this skill
Load this skill whenever a task involves: letting the player undo the last line(s) of dialogue ("go back" / "rewind" button), reading/rendering the narration backlog (a "history log" or "scrollback" panel), deciding how much can be undone after a save/load, or tuning how coarse/fine-grained "going back" feels (line-by-line vs paragraph-by-paragraph).
Mental model
Every time narration advances one step, Pixi'VN records that moment so the player can later go
back to it. stepHistory is the module/singleton that manages these recorded steps: going back to
an earlier one, and reading back what was shown at each one (for a backlog/scrollback UI). The
manager instance is the named export stepHistory (re-exported at the package root, so
import { stepHistory } from "@drincs/pixi-vn" works; also reachable as .history on the package's
default export object).