Skip to content

onlyworlds 0.140.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 05:56
· 77 commits to main since this release
  • The schema pin moves to v0.34.1-dist.145 (canonical 00.34.01 unchanged, no schema file moved, _schema.py changes only its provenance lines). The charter page's rule 4 now names the description as the text an AI follows, the Charter's and each skill Object's, whole as the world holds it; a leading Charter whose description holds nothing gives that reader no house rules. The charter fixture gains four cases, each a newer marked Charter with an empty description beside an older one with text: the newer leads and its skill is empty. charter_of already answered all four so; no answer on an existing case moves.
  • The Kanka door reads a time with no offset as UTC, the zone Kanka writes. An export whose campaign created_at had no offset while its entities' had one (or the other way round) stopped with TypeError: can't subtract offset-naive and offset-aware datetimes; it now imports, and the possible starter entries are named as for any other export. Exports whose times all carry an offset, or all carry none, read as before.
  • The Kanka door's tables and wording are data: src/onlyworlds/convert/kanka.json holds Kanka's folders to element types, its keys to fields, the fixed key lists, the names the door makes and every line of its report; onlyworlds.kanka reads it, and its rules stay code. The same bytes are the npm SDK's src/convert/kanka.json, read by its convertKanka, which writes the same folder; each package's tests hold the file's sha256. Nothing the door writes or prints moves: on the five real Kanka exports and every export its tests make, the folder is the same byte for byte and the report the same text. MODULE_TYPES, PROVEN_MODULES, STARTER_WINDOW, MADE_NAMES and the other names keep their values.
  • Each import door tells the names it made. A name an element gets that is not one string of the export taken as written is now declared and counted, by kind. A joined name is the export's words with the door's between them (a LegendKeeper map document becomes a Map named <resource>: <document>); the door's own is a name for a thing the export never names (a frame's corner Marker, <frame>: corner 1; an arrow with no label, Board link). Each door lists its kinds in MADE_NAMES, a tuple of MadeName (kind, type, pattern, source joined or ours, and regex, read by MadeName.fits(type, name)); Notion's is empty. Each ImportReport gains made_names (kind to count) and prints one line a kind with its count and pattern. Nothing is added to an element. On the doors' real test exports: LegendKeeper's JSON export 80 made names of 280 (17 Narratives and 6 Maps <resource>: <document>, 56 frame corners, one nameless pin), its .lk export 78, each Kanka export 2 (<entity>: hidden details), World Anvil, Notion and Campfire none.