@onlyworlds/sdk 4.7.3 → 4.8.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.31.0-dist.19** (canonical 00.31.00).
3
+ **Current as of**: SDK **4.x** · schema-dist **v0.32.0-dist.20** (canonical 00.32.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
 
@@ -35,7 +35,8 @@ against live data). The v1 surface (`OnlyWorldsClient`, the `ElementType` enum)
35
35
  `characters=<id>` on types with a `characters` link. Any other filter key — and
36
36
  `?ordering=` — returns 422 naming the accepted ones. Sort client-side.
37
37
  - Images: `uploadImage(bytes)` returns `{ url, ... }`; set `url` as `image_url`. The bytes go
38
- to the edge with a single-use ticket from keel, never with the API key.
38
+ to the edge with a single-use ticket from keel, never with the API key. `removeImage(urlOrKey)`
39
+ takes one back (its uploader or the world's owner); it leaves `image_url` on elements as is.
39
40
  - Ids: the client mints **UUIDv7** on an id-less `create` (since 4.2.0; keel mints v7 too).
40
41
  A v4 or v7 id you supply is accepted. **Never sort elements by id**: worlds mix v7, v4
41
42
  and legacy `06x…` ids (nibble 7 too, but seconds-first). For creation order use