Repository navigation
OnlyWorlds Unity SDK 0.21.0
Messages between a world's members: OWMessage reads who a message is addressed to, whether its sender is proved
against the members list, a reader's read mark and unread messages, and a thread, held to the shared message
fixture's 55 cases. OWFrontDoor.MySeats lists the AI and player seats a key's person answers for, and
OWApiError.IsCharacterPlayed names a refused delete of a Character someone plays. A minor release because it adds
public API (below). The schema pin moves to dist.75.
Added
OWApiError.IsCharacterPlayed: a delete that names a Character someone plays on the world's roster (the owner's
Character or a member's) is refused as 422character_played, paramid, and nothing is deleted. Re-point that
member to another Character, or remove the member, then delete. The wire fixture is refreshed from the API's
document (this code, and a public counts route this SDK does not call).OWFrontDoor.MySeats: the live AI and player seats the key's person answers for, agent seats first, each an
OWFrontDoorSeat(Idthe membership id,Kindagent or player,Name,Characterthe Character it plays or
null). This is how a tool on a person's key tells which Character is that person's AI. The list is empty for a seat's
own key, for anyone who answers for none, and on an API from before it. OnGET /meand an agent's join answer. The
wire fixture is refreshed (this key, and an account route this SDK does not call).OWMessage, the message profile's readers (schema-distprofiles/message.md, serials 72, 73 and 75): a message
between a world's members is a Narrative with supertypeMessage(OWMessage.Pair, one of the room profile's
pairs; a world's own message needs nox_room_of).IsMessagematches it trimmed and case-blind;RecipientsOf,
IsAddressedToandIsToEveryonereadcharacters(empty, absent or null is everyone; a list of no valid id is
nobody);IsSentByreadsnarrator, the claim.SenderStatus(message, members)proves the claim against the
membership increated_byon the world's members list and answers anOWSender:Verified,Mismatch(with
WrittenBy, the author's Character) orUnverifiable; show anything but verified as a claim.ReadMarkOffinds a
reader's read mark (a Relation with supertypeRead, the reader asactor) counted only when every write on it was
the reader's own hand (itscreated_byplays the reader, and achanged_byequals thatcreated_by), the newest
updated_atamong several wherever it stands in the list.UnreadFor(messages, characterId, readMark, members)
leaves out the reader's own messages: in a folder, where nothing carriescreated_by, those whosenarratoris the
reader; on the wire only those the members list proves the reader sent, so a claim never marks a message read.
UnreadForandThreadOflist messages increated_atorder, equal times keeping the list's order; a thread's walk
stops at aparent_narrativethat is not a string id. An empty Character id is addressed by nothing and has no mark.
Bodies areJObjects, lists any sequence of them. The profile's 55-case fixture is its test, as it is the
TypeScript SDK's and the Python package's. Parity with the TypeScript SDK 4.81.0 and the Python package 0.64.0 for
serials 72 and 73.
Changed
- The schema pin moves to dist.71 (
v0.33.0-dist.71; only the calendar and room profiles' fixtures and pages
moved). At serial 69 the calendar fixture's Gregorian case gains twelve steps around Leap Day in 1900, 2000 and
2100, as LegendKeeper's API gave them for a user's own project on 2026-10-25, so a reader whose year layout ignores
exceptwhile its year count keeps it now fails the shared fixture; this SDK reads all 198 steps, and its fixture
test now counts the steps and refusals as well as the cases. At serial 71 the room profile says "trimmed" means
Unicode White_Space at both ends, with three new cases (a tab and an ideographic space are trimmed; a leading byte
order mark and a trailing U+001C are not);OWRoomalready read all 28. Serial 70 is skipped: its manifest was
superseded by 71's. - The schema pin moves to dist.75 (
v0.33.0-dist.75): serials 72 and 73 add the message profile (profiles/message.md
and its fixture of 43 cases), vendored with the distribution; 74 changes only the text of the README and six
profile pages; 75 rules who proves a reader's own message and mark (the fixture grows to 55 cases) and rewords the
calendar fixture's two LegendKeeper notes. No generated model changed;OWMessagereads the message profile (above).