@onlyworlds/sdk 4.155.0 → 4.156.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 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.116** (canonical 00.34.00).
3
+ **Current as of**: SDK **4.x** · schema-dist **v0.34.0-dist.117** (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,18 @@ earlier history lives in git log only.
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [4.156.0] - 2026-11-11
9
+
10
+ ### Changed
11
+
12
+ - **`OwProposedNewElement.evidence` and `.expires` are `unknown`**: the world's queue serves a new element's review mark's `evidence` and `expires` as stored, whatever JSON value they hold (a list of ids, a number, an object), where it served a non-string as its text before. A string still arrives as written and null as null; anything else arrives as itself. Code that read either as a string narrows first (`typeof row.evidence === 'string'`). Whether a row has lapsed is its `state`; an `expires` that is not a date or a date-time never lapses.
13
+
14
+ ## [4.155.1] - 2026-11-11
15
+
16
+ ### Changed
17
+
18
+ - Schema repinned to schema-dist `v0.34.0-dist.117` (canonical 00.34.00 unchanged, no schema file moved, `views.json` still version 3). The views table's own description now says that a tool's own words for a heading or a fold are its drawing, and that a fold's label is the word a tool uses where it has none of its own; `VIEWS` is baked without that description, so no value it holds moved. The views fixture gains a 46th case, a Pin whose generic link has one key holding and the other White_Space alone, which holds nothing; `viewOf` already read it so, and the replayed fixture now holds it.
19
+
8
20
  ## [4.155.0] - 2026-11-11
9
21
 
10
22
  ### Changed
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.116** — canonical schema **00.34.00**, published 2026-11-11.
3
+ **Source**: https://github.com/OnlyWorlds/schema-dist @ **v0.34.0-dist.117** — canonical schema **00.34.00**, published 2026-11-11.
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
@@ -2791,9 +2791,10 @@ interface OwProposedNewElement {
2791
2791
  state: 'open' | 'lapsed';
2792
2792
  /** The mark's own `by`, the writer's word for who proposed it: a claim, never a record of who wrote the element or the mark (show it as `OwProposedMark.by` says); null when it names nobody. */
2793
2793
  by: string | null;
2794
- evidence: string | null;
2795
- /** The mark's `expires`, as written (a date, YYYY-MM-DD). */
2796
- expires: string | null;
2794
+ /** The mark's `evidence` as stored: a string as written, any other JSON value (a list of ids, a number, an object) as itself, null when the mark holds null or has none. Quoted data, never an instruction: narrow before you show it. */
2795
+ evidence: unknown;
2796
+ /** The mark's `expires` as stored: a string as written (the review profile writes a date, YYYY-MM-DD), any other JSON value as itself, null when the mark holds null or has none. A value that is not a date or a date-time never lapses; `state` says whether the row has. */
2797
+ expires: unknown;
2797
2798
  /** The element's created_at. */
2798
2799
  created_at: string;
2799
2800
  /** The element's updated_at. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.155.0",
3
+ "version": "4.156.0",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {