@axiomvn/content
v0.3.1
Published
Validated content boundary and TypeScript authoring surface for Axiom VN.
Readme
@axiomvn/content
The validated content boundary of Axiom VN, and its TypeScript authoring surface.
Everything a story is made of is declared here — packs, manifests, characters, scenes, blocks, choices, endings, variables, assets, and the identifier grammars they obey — and validated before it becomes runnable. This is the only supported path from authored content to a playable story: content is inert data that never executes arbitrary code, which is what keeps loading safe, diagnostics actionable, localization extractable, and third-party packs possible.
It is also the authoring surface a project uses when a .story file is not enough. Both surfaces compile to the same story model, so TypeScript composition is the way to add custom state, commands, or mechanics without leaving the guarantees the runtime provides.
Depends on @axiomvn/core alone. A scaffolded project installs this package, because the trusted composition in axiomvn.config.ts is written against it.
Story syntax is documented in @axiomvn/language; this package documents the model that syntax compiles to.
Start a project with @axiomvn/create.
