Skip to content

@onlyworlds/sdk 4.229.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 09:21
· 8 commits to main since this release

Added

  • The change feed on an account token. changes() and changesHead() on a client holding an account token (ow_a_…, a sign-in's or a game's) with world set read that world's feed as the person's own access there, sending the Bearer token and world=<id>: a guest's or a contributor's slice as for their key, a world they cannot read a 404. Without world set, a TypeError before anything is sent, as before. Keep a cursor and a head tag per world and per signed-in person.

  • The local door follows the hosted door's words. @onlyworlds/sdk/mcp's tool descriptions are refreshed from the door as it serves them today: get_me first, the Charter named as the world's core knowledge and never ordered read, and each tool's title and openWorldHint in its annotations.

  • front_door.charter_text and charter_text_more. The server's front door (on me(), the character and lenses answers, and an AI's join answer) now carries the world's Charter's own text: its description as reading the Law serves it to that caller, cut to its first 20,000 code points, with charter_text_more true when it was cut. Both are null where charter is; a Charter with an empty description gives "" and false. OwFrontDoor declares both.

  • The local door's get_me carries them too: @onlyworlds/sdk/mcp on a folder reads the Charter Law's description and cuts it the same way, so a get_me on a folder answers as the hosted door does.