@onlyworlds/sdk 4.179.0 → 4.179.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 +1 -1
- package/README.md +1 -1
- package/SCHEMA.md +1 -1
- package/dist/index.d.ts +8 -4
- package/package.json +1 -2
- package/CHANGELOG.md +0 -2811
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.134** (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/README.md
CHANGED
|
@@ -538,7 +538,7 @@ Use this SDK for known operations in your own code (CRUD, sync, bulk). To let an
|
|
|
538
538
|
|
|
539
539
|
## Links
|
|
540
540
|
|
|
541
|
-
[Docs](https://onlyworlds.github.io/docs/development/typescript) · [Games](https://onlyworlds.github.io/docs/development/games) · [API reference](https://www.onlyworlds.com/api/docs) · [Issues](https://github.com/OnlyWorlds/sdk/issues) · [Changelog](CHANGELOG.md)
|
|
541
|
+
[Docs](https://onlyworlds.github.io/docs/development/typescript) · [Games](https://onlyworlds.github.io/docs/development/games) · [API reference](https://www.onlyworlds.com/api/docs) · [Issues](https://github.com/OnlyWorlds/sdk/issues) · [Changelog](https://github.com/OnlyWorlds/sdk/blob/main/CHANGELOG.md)
|
|
542
542
|
|
|
543
543
|
## Licence and contributions
|
|
544
544
|
|
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.134** — canonical schema **00.34.01**, published 2026-11-17.
|
|
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
|
@@ -3685,8 +3685,10 @@ interface OwDraught {
|
|
|
3685
3685
|
name: string;
|
|
3686
3686
|
}>;
|
|
3687
3687
|
/**
|
|
3688
|
-
* Present only with `lens` (one frame), or,
|
|
3689
|
-
*
|
|
3688
|
+
* Present only with `lens` (one frame, on any Character), or, on a read of the caller's own Character with
|
|
3689
|
+
* no lens and no policy key but `compact`, the lenses the caller starts with (one frame each, in its order:
|
|
3690
|
+
* the ones it chose, or for a seat that never chose, the ones its Titles give it). A frame is the caller's
|
|
3691
|
+
* own reading and its own Character's mail, never hers: each lens is read for the caller's own view, never past it.
|
|
3690
3692
|
*/
|
|
3691
3693
|
lenses?: OwDraughtLens[];
|
|
3692
3694
|
}
|
|
@@ -4950,8 +4952,10 @@ declare class OwV2Client {
|
|
|
4950
4952
|
* without the room mark is placed as any Narrative unless `messages` is named, when it is there
|
|
4951
4953
|
* and in no other section; a room-marked Message is in `messages` or nowhere. `lens` (a lens id)
|
|
4952
4954
|
* adds `lenses`, one frame with that lens read for this key's own view (beside `depth` or `budget`
|
|
4953
|
-
* a 422); with no policy key but `compact`,
|
|
4954
|
-
*
|
|
4955
|
+
* a 422), on any Character; with no policy key but `compact`, a read of the caller's own Character (the
|
|
4956
|
+
* one `me()` names) adds one frame per lens the caller starts with: the ones chosen with setMyLenses, or
|
|
4957
|
+
* for a seat that never chose, the ones its Titles give it. A read of any other Character adds none of
|
|
4958
|
+
* them. A frame is the caller's own reading and its own Character's mail, never the Character's. Served `Cache-Control: private, no-store`. On a client with `world` set, an account token
|
|
4955
4959
|
* reads the draught as the account's own access there, and no key reads it as the public reads the world.
|
|
4956
4960
|
*/
|
|
4957
4961
|
draught(characterId: string, policy?: OwDraughtPolicy & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onlyworlds/sdk",
|
|
3
|
-
"version": "4.179.
|
|
3
|
+
"version": "4.179.1",
|
|
4
4
|
"description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
"dist",
|
|
31
31
|
"README.md",
|
|
32
32
|
"AGENTS.md",
|
|
33
|
-
"CHANGELOG.md",
|
|
34
33
|
"SCHEMA.md"
|
|
35
34
|
],
|
|
36
35
|
"scripts": {
|