npm.io
0.2.0 • Published 3d ago

@pominis/narrative-runtime

Licence
UNLICENSED
Version
0.2.0
Deps
0
Vulns
0
Weekly
0

@pominis/narrative-runtime

Pure TypeScript runtime shared by Pominis Backend, Player, and Studio.

It owns deterministic condition evaluation, atomic effects, conditional archive reveal rules, session creation and migration, node-entry semantics, dialogue completion, choice resolution, and conditional transitions. It has no React, DOM, Node.js, database, or network dependency.

Development

npm install
npm test

Sibling applications can use file:../pominis-narrative-runtime while the package is under development. Release builds should install the published @pominis/narrative-runtime version so every service executes the same runtime.