Skip to content

onlyworlds 0.20.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 11:09
· 507 commits to main since this release
  • The room profile (schema-dist profiles/room.md, serial 45; ruled 2026-10-22): ROOM_PAIRS, the eight (type, supertype) pairs a parlor puts in a world (narrative/Message, narrative/Board, relation/Work item, construct/Spec, relation/Heart, relation/Vote, event/Sitting, character/Member), and is_room_element(element) (module onlyworlds.room, both at the package root), true when a body's or a FolderElement's type and supertype, each trimmed and compared without regard to case, match one of them and it carries the mark x_room_of (the id of the world or sitting the room belongs to) as a non-empty string. A pair without the mark is lore (a novel's letters are Narratives with supertype Message); a mark without a pair is not a room element. The pair match is the whole word, a missing or empty supertype is never a room element, and a Law with supertype Charter stays lore. A lore view leaves room elements out unless the person asks; the room's own views show them whole. A convention on the 22 types: no type, field or wire change. ROOM_PAIRS and the mark's name (ROOM_MARK in _schema.py, not exported) are generated from the fixture's pairs and mark.field and checked against the page (generation fails if they disagree); case is folded by Unicode simple case folding (simple_case_fold, the .owworld reader's table), the same fold as the npm SDK's isRoomElement. tests/test_room.py replays the fixture's 23 cases from the vendored dist.
  • Schema repinned to schema-dist v0.33.0-dist.45 (same canonical 00.33.00; SCHEMA_DIST_TAG, SCHEMA_DIST_SERIAL and SCHEMA_MANIFEST_SHA256 move with it). The dist adds profiles/room.md and profiles/room.fixture.json; VERSION, README.md and MANIFEST.json carry the new serial; no schema file moved. Serial 44, the pairs without the mark, was superseded within the hour and is skipped. The same pin as the npm SDK's 4.55.0.