@onlyworlds/sdk 4.159.0 → 4.159.1

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 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.0-dist.120** (canonical 00.34.00).
3
+ **Current as of**: SDK **4.x** · schema-dist **v0.34.0-dist.121** (canonical 00.34.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,14 @@ earlier history lives in git log only.
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [4.159.1] - 2026-11-13
9
+
10
+ ### Changed
11
+
12
+ - Schema repinned to schema-dist `v0.34.0-dist.121` (canonical 00.34.00 unchanged, no schema file moved). The report profile states what rule 9 left unsaid: a parent that is no string, padded, or one id given twice; a thread whose report has a date alone; a ring of reports, which hides no report. The message profile states the whole time grammar, a `created_at` with no offset read as UTC and the years 0000 to 9999 included. `reportThreadsOf` and every message reader already answered each new case as ruled, so no reader changed: the report fixture's 27 thread cases and the message fixture's 93 cases are their own tests.
13
+ - `instantOf`'s notes say what a year is: any four of the digits 0 to 9, 0000 among them, on the Gregorian calendar run on in both directions, so 0000 is a leap year and an offset may carry an instant past either end.
14
+ - Comments only: the generated types' header and the codegen README name every server-managed field on the shared base (`doors` and `hidden` were left out of the header's list, `doors` and `x_served_trimmed` out of the README's).
15
+
8
16
  ## [4.159.0] - 2026-11-13
9
17
 
10
18
  ### 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.0-dist.120** — canonical schema **00.34.00**, published 2026-11-12.
3
+ **Source**: https://github.com/OnlyWorlds/schema-dist @ **v0.34.0-dist.121** — canonical schema **00.34.00**, published 2026-11-13.
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
@@ -2039,7 +2039,9 @@ interface OwInstant {
2039
2039
  * `YYYY-MM-DDTHH:MM:SS`, an optional fraction after `.`, then `Z` or `+HH:MM` / `-HH:MM` or nothing
2040
2040
  * (read as UTC); `T` and `Z` in either case; ASCII digits; nothing trimmed. Each part in its range:
2041
2041
  * a month 1 to 12, a day that month has (Gregorian leap years), an hour to 23, a minute and a second
2042
- * to 59, an offset's hours to 23 and minutes to 59. A fraction counts to its sixth digit; later digits
2042
+ * to 59, an offset's hours to 23 and minutes to 59. A year is any four of the digits 0 to 9, 0000
2043
+ * among them, on the Gregorian calendar run on in both directions, so 0000 is a leap year and an offset
2044
+ * may carry an instant before 0000 or past the end of 9999. A fraction counts to its sixth digit; later digits
2043
2045
  * are dropped, never rounded. Not read: a date alone, a space for the `T`, a time without seconds, an
2044
2046
  * offset without its colon, a trailing line break.
2045
2047
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.159.0",
3
+ "version": "4.159.1",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {