@onlyworlds/sdk 4.119.0 → 4.121.0
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 +22 -0
- package/SCHEMA.md +1 -1
- package/dist/index.d.ts +3143 -3131
- package/dist/index.js +15 -10
- 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.33.0-dist.
|
|
3
|
+
**Current as of**: SDK **4.x** · schema-dist **v0.33.0-dist.100** (canonical 00.33.00).
|
|
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,28 @@ earlier history lives in git log only.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.121.0] - 2026-10-31
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **`reading_aids.strand` on `GET /me` and an agent's join answer** (schema-dist serial 100, the strand profile's rule 2). The server's front door serves the world's strand fourth in the reading aids, after the Charter, the Guide and the Domains: `strandOf`'s six slots as that key reads the world, every slot null when the world has no strand or its story is out of the key's view. `OwMe.reading_aids` and `OwAgentJoined.reading_aids` are typed `OwServedReadingAids`, `OwReadingAids` plus `strand: OwStrand`; `charterOf` still answers the three, and `strandOf(world, reader)` reads the same `strand` from a world snapshot.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **The schema pin moves to schema-dist serial 100** (`v0.33.0-dist.100`). No schema file moved; the strand fixture is unchanged at 26 cases.
|
|
17
|
+
- **`mintWorldKey`'s `name` follows the server's rule**: trimmed, at most 80 characters (a longer one is a 422), `null` or blank for a key with no name, the same rule as `createAccountWorld`'s `key_name`. The option now takes `null`; the doc said 255, the limit the server held before.
|
|
18
|
+
|
|
19
|
+
## [4.120.0] - 2026-10-31
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **A strand begins when its story is chosen** (schema-dist serial 99). `x_strand` needs only `narrative`: `event` and `location` may each be `null` or absent, read as unset, so a world whose story is chosen before its happening and place reads as a strand begun, the story, hero and now filled and the other slots empty. A place named with no event is an empty place. The value is still no mark when `narrative` is missing or not a non-empty string, or when `event` or `location` is anything but a non-empty string, `null` or absent (an empty string, a number, an object), so a broken writer never shows as a half-built strand. `strandOf` reads every case of the serial's 26-case fixture.
|
|
24
|
+
- **The schema pin moves to schema-dist serial 99** (`v0.33.0-dist.99`). No schema file moved.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **No `X-OW-Agent` on hide, unhide, `setMyCharacter` and `mintWorldKey`.** An `agent: true` client sent the header on these four, where the API document declares none and the server reads none. It now sends it only where the document lists it: the element writes, the links route, `bulk`, `adopt` and the file ticket.
|
|
29
|
+
|
|
8
30
|
## [4.119.0] - 2026-10-30
|
|
9
31
|
|
|
10
32
|
### 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.33.0-dist.
|
|
3
|
+
**Source**: https://github.com/OnlyWorlds/schema-dist @ **v0.33.0-dist.100** — canonical schema **00.33.00**, published 2026-10-31.
|
|
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.
|