@onlyworlds/sdk 4.169.0 → 4.169.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +15 -0
- package/SCHEMA.md +1 -1
- package/dist/index.d.ts +11 -9
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# For AI agents using @onlyworlds/sdk
|
|
2
2
|
|
|
3
|
-
**Current as of**: SDK **4.x** · schema-dist **v0.34.1-dist.
|
|
3
|
+
**Current as of**: SDK **4.x** · schema-dist **v0.34.1-dist.131** (canonical 00.34.01).
|
|
4
4
|
This line is asserted by `codegen:check` in CI — if the pin moves and this file is not
|
|
5
5
|
re-read against it, the check fails rather than letting this document rot quietly.
|
|
6
6
|
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,21 @@ earlier history lives in git log only.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.169.2] - 2026-11-15
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **The schema pin moves to `v0.34.1-dist.131`** (canonical 00.34.01 unchanged; no schema file moved). The room profile now says once what simple case folding is: each code point replaced by its mapping in the C and S rows of Unicode's CaseFolding.txt at 15.1, never a language's lower-casing and never full folding, so `MEſſAGE` (two long s) is the word `message` and `Meßage` is not. The room and message profiles say a value that is not an object (`null`, a list, a string) is no element: every reader answers for it as for a body that is not a message, and none fails. The readers here already answered so; no source file moves. The fixtures gain the cases that hold it: room 38 to 48 (the two folds, the Kelvin sign, the dotless and dotted i, a type with a ligature, every White_Space at both ends, three bodies that are no object), message 103 to 120, lens 235 to 242 (the first line and a paragraph separator, and a description that is one separator alone) and calendar 77 to 78 (`v2-except-offset-leap-mid-year`, 229 steps).
|
|
13
|
+
- Tests: the message and room readers on a value that is no object.
|
|
14
|
+
|
|
15
|
+
- Comments only: an address on an agent link is a label, never matched to an account (the platform, 2026-11-15). `OwFrontDoor.sponsor` and `my_seats`, a roster row's `sponsor_member` and the account members row's `sponsor` no longer say a seat made for an email address names nobody: it answers to the link's maker and is listed in their seats.
|
|
16
|
+
|
|
17
|
+
## [4.169.1] - 2026-11-15
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- **The schema pin moves to `v0.34.1-dist.130`** (canonical 00.34.01 unchanged; no schema file moved): the message profile says a body that is not a message answers false from the unseen-recipients reading whatever the key, and its fixture gains one case for it (`keyless-non-message-is-not-unseen`), which `hasUnseenRecipients` already answered; the profile writes the keyless readers as the package takes them (`isToEveryone(message, { keyless })`). `hasUnseenRecipients`' description says so.
|
|
22
|
+
|
|
8
23
|
## [4.169.0] - 2026-11-15
|
|
9
24
|
|
|
10
25
|
### Added
|
package/SCHEMA.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OnlyWorlds Schema Reference
|
|
2
2
|
|
|
3
|
-
**Source**: https://github.com/OnlyWorlds/schema-dist @ **v0.34.1-dist.
|
|
3
|
+
**Source**: https://github.com/OnlyWorlds/schema-dist @ **v0.34.1-dist.131** — canonical schema **00.34.01**, published 2026-11-15.
|
|
4
4
|
|
|
5
5
|
GENERATED from the canonical schema YAML — do not hand-edit (regenerate: `python codegen/generate_types.py`).
|
|
6
6
|
Written for both humans and AI agents reading this package locally.
|
package/dist/index.d.ts
CHANGED
|
@@ -2105,9 +2105,10 @@ declare function isToEveryone(message: object | null | undefined, options?: OwAd
|
|
|
2105
2105
|
/**
|
|
2106
2106
|
* True when the message is addressed to someone this reader cannot see: the server served it with
|
|
2107
2107
|
* `characters` trimmed (its `x_served_trimmed` list names `characters`), whatever is left in the
|
|
2108
|
-
* list. It says that such a recipient exists, never who or how many. Null for a
|
|
2108
|
+
* list. It says that such a recipient exists, never who or how many. Null for a message read keyless
|
|
2109
2109
|
* (`{ keyless: true }`): it carries no mark, so the reader cannot say either way. False for a Note,
|
|
2110
|
-
* or any
|
|
2110
|
+
* or any body that is not a message, whatever the key: it has no recipients, so nothing about them
|
|
2111
|
+
* is unknown (the message profile, serial 130).
|
|
2111
2112
|
*/
|
|
2112
2113
|
declare function hasUnseenRecipients(message: object | null | undefined, options?: OwAddressingOptions): boolean | null;
|
|
2113
2114
|
/**
|
|
@@ -3121,8 +3122,9 @@ interface OwFrontDoor {
|
|
|
3121
3122
|
/**
|
|
3122
3123
|
* The person who answers for this seat (an AI or a player seat): `id` their membership id
|
|
3123
3124
|
* (null for the world's owner), `kind`, and `name` their Character's name (null when they play
|
|
3124
|
-
* none this key can read). Null for the owner's keys, a person's own key, and a
|
|
3125
|
-
* link for an email address
|
|
3125
|
+
* none this key can read). Null for the owner's keys, a person's own key, and a sponsor who is no
|
|
3126
|
+
* longer a member. A seat made from a link for an email address names the link's maker, like any
|
|
3127
|
+
* other seat: the address is a label, never matched to an account (the platform, 2026-11-15).
|
|
3126
3128
|
*/
|
|
3127
3129
|
sponsor: {
|
|
3128
3130
|
id: string | null;
|
|
@@ -3135,8 +3137,8 @@ interface OwFrontDoor {
|
|
|
3135
3137
|
my_character: string | null;
|
|
3136
3138
|
/**
|
|
3137
3139
|
* The live AI and player seats you answer for, agent seats first (since keel's front door of
|
|
3138
|
-
* 2026-10-26). Empty for an AI or a player seat's own key and for anyone who answers for none
|
|
3139
|
-
*
|
|
3140
|
+
* 2026-10-26). Empty for an AI or a player seat's own key and for anyone who answers for none.
|
|
3141
|
+
* A seat made from a link for an email address is listed for the link's maker (since 2026-11-15).
|
|
3140
3142
|
*/
|
|
3141
3143
|
my_seats: OwMySeat[];
|
|
3142
3144
|
/** The world's Charter: the newest marked Charter Law (a Law with supertype Charter carrying the mark `x_charter_of`), or null. Every member may read it. */
|
|
@@ -3239,8 +3241,8 @@ interface OwMember {
|
|
|
3239
3241
|
lenses_from: 'chosen' | 'titles' | 'none';
|
|
3240
3242
|
/**
|
|
3241
3243
|
* Agent rows only: who answers for this AI, as the roster names them: the sponsor's membership id
|
|
3242
|
-
* (the `id` of their row here), `owner` when the world's owner answers for it, or null for a
|
|
3243
|
-
*
|
|
3244
|
+
* (the `id` of their row here), `owner` when the world's owner answers for it, or null for a
|
|
3245
|
+
* sponsor with no live membership here. Every
|
|
3244
3246
|
* reader reads it; person and player rows carry no `sponsor_member`.
|
|
3245
3247
|
*/
|
|
3246
3248
|
sponsor_member?: string | null;
|
|
@@ -3877,7 +3879,7 @@ interface OwSeat {
|
|
|
3877
3879
|
kind: 'agent';
|
|
3878
3880
|
/** The Character the seat plays, or null. With `character: 'mine'` it is its sponsor's own: two rows, one Character. */
|
|
3879
3881
|
character: string | null;
|
|
3880
|
-
/** Who answers for the seat: a username when they are the world's owner or a member; null for a seat from an email
|
|
3882
|
+
/** Who answers for the seat: a username when they are the world's owner or a member; null for a sponsor who left. A seat from a link for an email address answers to the link's maker (since 2026-11-15). */
|
|
3881
3883
|
sponsor: string | null;
|
|
3882
3884
|
/** ISO 8601, UTC. */
|
|
3883
3885
|
joined_at: string | null;
|