@rig-c/play 1.21.2 → 1.22.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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="assets/banner.svg" alt="@rig-c/play - plays rigc's compiled model as DOM elements or one canvas" width="100%" />
2
+ <img src="https://raw.githubusercontent.com/rig-c/play/main/assets/banner.svg" alt="@rig-c/play — Plays rig-c's compiled model as plain DOM elements or one canvas" width="100%" />
3
3
  </p>
4
4
 
5
5
  <p align="center">
@@ -39,65 +39,14 @@ links to either earlier name keep working.
39
39
 
40
40
  ### Measured
41
41
 
42
- **Standing comparison against `@esotericsoftware/spine-webgl 4.3.13` (`npm run bench`, #39)** —
43
- measured on 2026-10-17 in **headed** Chromium `151.0.7922.34` on an Apple M4 GPU
44
- (`ANGLE (Apple, ANGLE Metal Renderer: Apple M4, Unspecified Version)`, macOS `Darwin 25.6.0`,
45
- 10 cores, 32 GiB RAM, `1280×720` viewport, `devicePixelRatio: 1`, 100 warm-up frames +
46
- 600 measured frames per row, `loadPerCoreBefore: 0.33`, `loadPerCoreAfter: 0.33` under the
47
- `1.0` load guard; each row is its own page load with only that runtime animating, and grid
48
- scenes batch the official skeletons through one shared WebGL canvas while `small players`
49
- mounts independent player instances):
50
-
51
- | scene | runtime | rig | clipped to | fps | pose ms | render ms | drawn players | triangles | draw calls | origin Δpx | live contexts |
52
- | --- | --- | --- | --- | --: | --: | --: | --: | --: | --: | --: | --: |
53
- | 1 meshed rig animating | dom | `portrait-packed` `turn` | pane | 59.99 | 0.17 | 0.16 | —/1 | 48 | — | 0.007 | —/1 |
54
- | 1 meshed rig animating | canvas | `portrait-packed` `turn` | pane | 59.99 | 0.23 | 0.18 | —/1 | 0 | 0 | 0.007 | —/1 |
55
- | 1 meshed rig animating | official | `portrait-packed` `turn` | pane | 60.00 | 0.05 | 0.13 | 1/1 | 88 | 1 | 0.000 | 1/1 |
56
- | 4 meshed rigs animating | dom | `portrait-packed` `turn` | pane | 60.01 | 0.46 | 0.48 | —/4 | 96 | — | 0.009 | —/1 |
57
- | 4 meshed rigs animating | canvas | `portrait-packed` `turn` | pane | 60.00 | 0.60 | 0.49 | —/4 | 176 | 2 | 0.009 | —/1 |
58
- | 4 meshed rigs animating | official | `portrait-packed` `turn` | pane | 59.99 | 0.13 | 0.17 | 4/4 | 352 | 1 | 0.000 | 1/1 |
59
- | 16 meshed rigs animating | dom | `portrait-packed` `turn` | pane | 60.00 | 0.66 | 0.74 | —/16 | 384 | — | 0.010 | —/1 |
60
- | 16 meshed rigs animating | canvas | `portrait-packed` `turn` | pane | 59.87 | 0.84 | 0.50 | —/16 | 704 | 8 | 0.010 | —/1 |
61
- | 16 meshed rigs animating | official | `portrait-packed` `turn` | pane | 60.00 | 0.21 | 0.30 | 16/16 | 1408 | 1 | 0.000 | 1/1 |
62
- | 36 meshed rigs animating | dom | `portrait-packed` `turn` | pane | 48.28 | 1.24 | 1.42 | —/36 | 1104 | — | 0.010 | —/1 |
63
- | 36 meshed rigs animating | canvas | `portrait-packed` `turn` | pane | 60.11 | 1.15 | 0.85 | —/36 | 1760 | 20 | 0.010 | —/1 |
64
- | 36 meshed rigs animating | official | `portrait-packed` `turn` | pane | 60.00 | 0.43 | 0.49 | 36/36 | 3168 | 1 | 0.000 | 1/1 |
65
- | 64 meshed rigs animating | dom | `portrait-packed` `turn` | pane | 29.07 | 2.13 | 2.69 | —/64 | 1824 | — | 0.010 | —/1 |
66
- | 64 meshed rigs animating | canvas | `portrait-packed` `turn` | pane | 53.99 | 1.62 | 1.17 | —/64 | 3168 | 36 | 0.010 | —/1 |
67
- | 64 meshed rigs animating | official | `portrait-packed` `turn` | pane | 59.99 | 0.42 | 0.54 | 64/64 | 5632 | 1 | 0.000 | 1/1 |
68
- | 1 meshed rig animating (canvas2d) | dom | `portrait-packed` `turn` | pane | 60.00 | 0.18 | 0.28 | —/1 | 48 | — | 0.007 | —/0 |
69
- | 1 meshed rig animating (canvas2d) | canvas | `portrait-packed` `turn` | pane | 60.00 | 0.20 | 0.18 | —/1 | 88 | 1 | 0.007 | —/1 |
70
- | 1 meshed rig animating (canvas2d) | official | `portrait-packed` `turn` | pane | 59.99 | 0.06 | 0.14 | 1/1 | 88 | 1 | 0.000 | 1/1 |
71
- | 16 meshed rigs animating (canvas2d) | dom | `portrait-packed` `turn` | pane | 59.89 | 0.65 | 0.99 | —/16 | 384 | — | 0.010 | —/0 |
72
- | 16 meshed rigs animating (canvas2d) | canvas | `portrait-packed` `turn` | pane | 60.00 | 0.93 | 0.59 | —/16 | 792 | 9 | 0.010 | —/1 |
73
- | 16 meshed rigs animating (canvas2d) | official | `portrait-packed` `turn` | pane | 60.00 | 0.18 | 0.31 | 16/16 | 1408 | 1 | 0.000 | 1/1 |
74
- | 1 held pose | dom | `portrait-packed` `turn` | pane | 60.11 | 0.00 | 0.15 | —/1 | 0 | — | 0.007 | —/1 |
75
- | 1 held pose | canvas | `portrait-packed` `turn` | pane | 60.02 | 0.01 | 0.11 | —/1 | 0 | 0 | 0.007 | —/1 |
76
- | 1 held pose | official | `portrait-packed` `turn` | pane | 60.00 | 0.00 | 0.13 | 1/1 | 88 | 1 | 0.000 | 1/1 |
77
- | 16 held poses | dom | `portrait-packed` `turn` | pane | 60.09 | 0.00 | 0.43 | —/16 | 0 | — | 0.010 | —/1 |
78
- | 16 held poses | canvas | `portrait-packed` `turn` | pane | 59.99 | 0.01 | 0.55 | —/16 | 0 | 0 | 0.010 | —/1 |
79
- | 16 held poses | official | `portrait-packed` `turn` | pane | 60.08 | 0.00 | 0.35 | 16/16 | 1408 | 1 | 0.000 | 1/1 |
80
- | 64 held poses | dom | `portrait-packed` `turn` | pane | 59.99 | 0.02 | 2.43 | —/64 | 0 | — | 0.010 | —/1 |
81
- | 64 held poses | canvas | `portrait-packed` `turn` | pane | 60.10 | 0.02 | 2.56 | —/64 | 0 | 0 | 0.010 | —/1 |
82
- | 64 held poses | official | `portrait-packed` `turn` | pane | 60.10 | 0.00 | 0.90 | 64/64 | 5632 | 1 | 0.000 | 1/1 |
83
- | 1 rigid rig animating | dom | `walk-packed` `walk` | pane | 59.99 | 0.30 | 0.15 | —/1 | 0 | — | 0.007 | —/1 |
84
- | 1 rigid rig animating | canvas | `walk-packed` `walk` | pane | 59.99 | 0.33 | 0.21 | —/1 | 30 | 1 | 0.007 | —/1 |
85
- | 1 rigid rig animating | official | `walk-packed` `walk` | pane | 60.00 | 0.04 | 0.16 | 1/1 | 30 | 1 | 0.000 | 1/1 |
86
- | 16 rigid rigs animating | dom | `walk-packed` `walk` | pane | 60.00 | 0.77 | 0.65 | —/16 | 0 | — | 0.010 | —/1 |
87
- | 16 rigid rigs animating | canvas | `walk-packed` `walk` | pane | 60.00 | 0.62 | 0.47 | —/16 | 480 | 16 | 0.010 | —/1 |
88
- | 16 rigid rigs animating | official | `walk-packed` `walk` | pane | 60.00 | 0.15 | 0.22 | 16/16 | 480 | 1 | 0.000 | 1/1 |
89
- | 64 rigid rigs animating | dom | `walk-packed` `walk` | pane | 59.89 | 1.58 | 1.63 | —/64 | 0 | — | 0.010 | —/1 |
90
- | 64 rigid rigs animating | canvas | `walk-packed` `walk` | pane | 42.00 | 1.50 | 1.21 | —/64 | 1920 | 64 | 0.010 | —/1 |
91
- | 64 rigid rigs animating | official | `walk-packed` `walk` | pane | 60.00 | 0.14 | 0.13 | 64/64 | 1920 | 1 | 0.000 | 1/1 |
92
- | 8 small players | dom | `walk-packed` `walk` | cell | 60.00 | 0.24 | 0.18 | —/8 | 0 | — | 0.012 | —/1 |
93
- | 8 small players | canvas | `walk-packed` `walk` | cell | 60.00 | 0.33 | 0.30 | —/8 | 240 | 8 | 0.012 | —/1 |
94
- | 8 small players | official | `walk-packed` `walk` | cell | 60.00 | 0.09 | 0.24 | 8/8 | 240 | 8 | 0.007 | 8/8 |
95
- | 20 small players | dom | `walk-packed` `walk` | cell | 60.00 | 1.03 | 0.84 | —/20 | 0 | — | 0.015 | —/1 |
96
- | 20 small players | canvas | `walk-packed` `walk` | cell | 59.99 | 0.69 | 0.54 | —/20 | 600 | 20 | 0.015 | —/1 |
97
- | 20 small players | official | `walk-packed` `walk` | cell | 60.00 | 0.13 | 0.24 | 16/20 | 480 | 16 | 0.006 | 16/20 |
98
-
99
- Where each side wins and loses on that table, the Safari mesh-backend readings
100
- and the 0.x numbers are in [docs/BENCHMARK.md](docs/BENCHMARK.md).
42
+ The [standing comparison and its conditions](https://github.com/rig-c/play/blob/main/docs/BENCHMARK.md#measured) record these tradeoffs:
43
+
44
+ | scene | observation in that comparison |
45
+ | --- | --- |
46
+ | High-count meshed grids | Batched official WebGL leads. |
47
+ | Held poses | DOM and canvas modes skip rasterization. |
48
+ | Rigid-heavy grids | DOM avoids per-player canvas blits. |
49
+ | Many independent players | DOM and canvas share a WebGL context across players. |
101
50
 
102
51
  ## Install
103
52
 
@@ -179,23 +128,24 @@ package built from this tree.
179
128
 
180
129
  ## Where to read next
181
130
 
182
- - [docs/REFERENCE.md](docs/REFERENCE.md) — what the player does once it is on
131
+ - [docs/REFERENCE.md](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md) — what the player does once it is on
183
132
  the page: what ships and what is measured (*Status*), then every API section
184
133
  from wind, gravity and dragging to the runtime knobs and what they cost.
185
134
  `physicsMoved(scope, motion)` supplies apparent world movement to named bone,
186
135
  subtree or constraint physics; `moved()` continues to report whole-rig motion.
187
136
  See the reference for explicit pivots, units and evaluation/history limits.
188
- - [docs/MIGRATION.md](docs/MIGRATION.md) — adding live-frame consumers, coming
137
+ - [docs/MIGRATION.md](https://github.com/rig-c/play/blob/main/docs/MIGRATION.md) — adding live-frame consumers, coming
189
138
  from 1.8 (meshes draw through WebGL by default since 1.9) and from `spine-html`
190
139
  0.8 (the 0.8 → 1.0 table, what has no counterpart, before and after).
191
- - [docs/TESTING.md](docs/TESTING.md) — how the suite holds the picture: the two
140
+ - [docs/TESTING.md](https://github.com/rig-c/play/blob/main/docs/TESTING.md) — how the suite holds the picture: the two
192
141
  render modes' parity, the clipping oracle, the loading harness, and the
193
142
  independent official raster oracle.
194
- - [docs/BENCHMARK.md](docs/BENCHMARK.md) — the readings behind *Measured*, and
143
+ - [docs/BENCHMARK.md](https://github.com/rig-c/play/blob/main/docs/BENCHMARK.md) — the readings behind *Measured*, and
195
144
  the bench that produces them: scenes, framing, and what a headless number is
196
145
  not evidence of.
197
- - [CHANGELOG.md](CHANGELOG.md) — what each version changed;
198
- [RELEASING.md](RELEASING.md) — how a version is cut.
146
+ - [CHANGELOG.md](https://github.com/rig-c/play/blob/main/CHANGELOG.md) — what each version changed;
147
+ [RELEASING.md](https://github.com/rig-c/play/blob/main/RELEASING.md) — how a version is cut.
148
+ - [`skills/rig-play/SKILL.md`](skills/rig-play/SKILL.md) — the agent skill that routes a web-page playback or live-frame request to the guides above.
199
149
 
200
150
  ## Demo (this repository)
201
151
 
@@ -232,13 +182,11 @@ operations outside that path's coverage use the `rig-c/core` oracle —
232
182
  physics constraints stay on that oracle path. `player.poser` reports `"runtime"` or
233
183
  `"oracle: <reason>"`; `poser: 'oracle'` selects the oracle explicitly. Posing
234
184
  stays CPU-side and renderer-agnostic, advancing one `dt` at a time.
235
-
236
185
  Both renderers accept a borrowed `LiveFrame` or a detached `PosedFrame`.
237
186
  `player.posedFrame()` returns a snapshot that survives later pose mutations;
238
187
  a live frame is valid only until the next pose mutation. See
239
- [Borrowing a live frame](docs/REFERENCE.md#borrowing-a-live-frame) for the
188
+ [Borrowing a live frame](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#borrowing-a-live-frame) for the
240
189
  buffer layout, lifetime and fallback policy.
241
-
242
190
  At load time each region of the document's `pages` section is cut into its own
243
191
  bitmap (rotation restored), one blob URL per region — except regions that
244
192
  already cover their whole page, which are used as they are. Both frame forms
@@ -249,39 +197,4 @@ corners, write one `matrix()` string. That's the whole rigid render path.
249
197
 
250
198
  ## License
251
199
 
252
- @rig-c/play's own code is MIT (see [LICENSE](LICENSE)). That says nothing about Spine,
253
- so here is what is true of this package and this repository, stated plainly:
254
-
255
- 1. The published package — `@rig-c/play`, and `rig-play` and `spine-html`, the same files — **links
256
- nothing from Esoteric Software**. Its one module bundles the renderer and
257
- `rig-c/core` and `rig-c/runtime` (MIT), which pose rigc's model document;
258
- no part of the
259
- [Spine Runtimes](https://github.com/EsotericSoftware/spine-runtimes) is in it or
260
- required beside it.
261
- 2. Development tooling pins `@esotericsoftware/spine-webgl` 4.3.13 and its matching
262
- spine-core dependency for the independent oracle and comparison/benchmark.
263
- The [Spine Runtimes License Agreement](https://esotericsoftware.com/spine-runtimes-license)
264
- covers those runtimes, not this project's MIT license. They remain outside
265
- production source, the public API and the library package; package guards
266
- and the library-only pack allowlist hold that boundary.
267
- The optional load-profile harness keeps `spine-pixi-v8` 4.3.13 and PixiJS
268
- in a separate private install under `bench/oracle`.
269
- 3. `rigc build`, which this repository runs to make its fixtures, also writes Spine
270
- skeleton data (`skeleton.json` and `skeleton.atlas`) beside each model document.
271
- Development tooling reads this paired export independently. Generated fixtures
272
- remain gitignored and excluded from the library package. See [NOTICE.md](NOTICE.md).
273
- 4. A product that plays that Spine data with a Spine Runtime has integrated the Spine
274
- Runtimes, whose licence permits it **under Section 2 of the
275
- [Spine Editor License Agreement](https://esotericsoftware.com/spine-editor-license)**,
276
- or otherwise on the condition that **each user of the product obtains their own
277
- Spine Editor license** — the licence's own two routes, restated, not a term of
278
- this project.
279
-
280
- > **What a consumer does with rigc's Spine-format output is governed by Esoteric
281
- > Software's terms**, not by this package — @rig-c/play neither adds those terms nor
282
- > removes them.
283
-
284
- The optional load-profile harness fetches checksum-pinned spineboy and raptor
285
- example assets together with their upstream `license.txt`. These development
286
- fixtures are gitignored and excluded from the library package. See
287
- [NOTICE.md](NOTICE.md) for the full notice.
200
+ See [NOTICE.md](NOTICE.md) for licensing and third-party notices.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rig-c/play",
3
- "version": "1.21.2",
3
+ "version": "1.22.0",
4
4
  "description": "Plays skeleton.model.json written by rigc build as plain DOM elements — rigid slots as <img> posed by CSS matrix, deform meshes on small per-part canvases — or as one canvas.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -60,7 +60,8 @@
60
60
  "dist/liveFrame.d.ts",
61
61
  "dist/liveFrame.d.ts.map",
62
62
  "dist/liveFrameSource.d.ts",
63
- "dist/liveFrameSource.d.ts.map"
63
+ "dist/liveFrameSource.d.ts.map",
64
+ "skills"
64
65
  ],
65
66
  "sideEffects": false,
66
67
  "scripts": {
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: rig-play
3
+ description: Play a rig built by rigc (skeleton.model.json) on a web page with @rig-c/play — as plain DOM (<img> for rigid slots posed by CSS matrix(), small per-part canvases for deforming meshes) or as one <canvas> per player, with multi-track playback, attachment sets, wind and gravity physics, bone adjustments and live-frame borrowing. Use when the request puts a compiled rig into the DOM or a standalone page canvas, or integrates a custom consumer over LiveFrame or PosedFrame. Not for authoring or compiling a rig (use rigc or rig-parts), retargeting a pose sequence (use rig-pose), or drawing inside PixiJS, Phaser or Three.js (use the rig-pixi, rig-phaser or rig-three skill).
4
+ license: MIT
5
+ compatibility: Browser ES2022 runtime (DOM and Canvas2D/WebGL). The canonical npm package is @rig-c/play (npm i @rig-c/play; rig-play is the convenience install name, spine-html is the legacy install name). Loads skeleton.model.json written by rigc build (@rig-c/core); bundles its own posing core and links no Esoteric Software runtime.
6
+ ---
7
+
8
+ # @rig-c/play — playing a built rig on a web page
9
+
10
+ Load this when a built rig (`skeleton.model.json` and its page images from
11
+ `rigc build`, authored under `--profile rig-play`) goes **onto a web page as DOM
12
+ elements or a standalone canvas**, or when a custom renderer consumes
13
+ `player.liveFrame()` or `player.posedFrame()`. Every rule below is owned by
14
+ [docs/REFERENCE.md](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md);
15
+ this file says when to open it and when an engine adapter is the better route.
16
+
17
+ ## When an engine adapter is the better route
18
+
19
+ - **The page already runs PixiJS 8, Phaser 4.2+ or Three.js.** Do not stack a
20
+ separate DOM root or second `<canvas>` over an engine canvas: use
21
+ [`@rig-c/pixi`](https://github.com/rig-c/adapters/tree/main/packages/pixi) (`rig-pixi` skill),
22
+ [`@rig-c/phaser`](https://github.com/rig-c/adapters/tree/main/packages/phaser) (`rig-phaser` skill) or
23
+ [`@rig-c/three`](https://github.com/rig-c/adapters/tree/main/packages/three) (`rig-three` skill) so the rig draws
24
+ inside the host's scene graph, camera, draw order and WebGL context while
25
+ posing through `@rig-c/play`.
26
+ - **High-count meshed grids.** Where many meshed instances are drawn together,
27
+ batched WebGL draw calls lead DOM/per-player canvas modes; use a host WebGL
28
+ adapter or check the scene tradeoffs in [docs/BENCHMARK.md](https://github.com/rig-c/play/blob/main/docs/BENCHMARK.md#measured).
29
+
30
+ ## Non-negotiables
31
+
32
+ - **Load `skeleton.model.json`, never a Spine export.** `loadModel` reads
33
+ `rigc-compiled/*` (with `pages`) emitted by `rigc build` and refuses
34
+ `skeleton.json`, `.skel` and `rigc-compiled/1` by name before fetching —
35
+ [REFERENCE.md](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#status).
36
+ - **Layout, Y-up origin and `syncPixelRatio()` belong to the caller.** The root
37
+ element is the rig's world origin (`Y` grows upward); after scaling the root
38
+ or container in CSS, call `player.renderer.syncPixelRatio()` so mesh canvases
39
+ raster at screen size rather than `1 / scale²` —
40
+ [README.md](https://github.com/rig-c/play/blob/main/README.md#a-minimal-page) and
41
+ [REFERENCE.md](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#runtime-knobs-and-what-they-cost).
42
+ - **Respect `LiveFrame` lease lifetime.** `player.liveFrame()` is a borrowed
43
+ buffer valid only until the next pose mutation (`frame`, `seek`, `play`,
44
+ `setAttachmentSet`, physics or bone adjust); call `player.posedFrame()` when a
45
+ detached snapshot must survive later mutations —
46
+ [REFERENCE.md](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#borrowing-a-live-frame).
47
+ - **Dispose player before assets.** Call `player.dispose()` first to remove DOM
48
+ elements and release shared WebGL page-texture references, then
49
+ `assets.dispose()` (or `revokeRegions`) once no player draws from those assets
50
+ so cut region blob URLs are freed —
51
+ [REFERENCE.md](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#what-unloading-frees).
52
+
53
+ ## What this will not do
54
+
55
+ - Compile, gate or edit a rig (build with `rigc build --profile rig-play` first).
56
+ - Load Spine `skeleton.json` or `.skel` exports, or link any `@esotericsoftware/*` runtime.
57
+ - Render two-colour dark tint (`rgb2`) in DOM mode or the canvas2d fallback (supported on `CanvasRenderer`'s WebGL path; [REFERENCE.md](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#status)).
58
+ - Re-measure CSS scale per frame (`syncPixelRatio()` forces a layout read and is caller-invoked only).
59
+
60
+ ## Read, in this order
61
+
62
+ 1. [README.md](https://github.com/rig-c/play/blob/main/README.md#install) —
63
+ `loadModel` + `RigPlayer`, fitting `assets.stage ?? player.bounds()` to a
64
+ container, `syncPixelRatio()` and cleanup (`node_modules/@rig-c/play/README.md` in an install).
65
+ 2. [docs/REFERENCE.md](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md) —
66
+ [what ships and what is measured](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#status),
67
+ [wind, gravity and dragging](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#wind-gravity-and-dragging-the-rig),
68
+ [borrowing a live frame](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#borrowing-a-live-frame),
69
+ [attachment sets (`sets.json`)](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#attachment-sets-setsjson),
70
+ [several tracks](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#several-tracks),
71
+ [adjusting bones](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#adjusting-bones),
72
+ [live physics parameters](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#live-physics-parameters),
73
+ [what unloading frees](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#what-unloading-frees) and
74
+ [runtime knobs](https://github.com/rig-c/play/blob/main/docs/REFERENCE.md#runtime-knobs-and-what-they-cost).
75
+ 3. [docs/MIGRATION.md](https://github.com/rig-c/play/blob/main/docs/MIGRATION.md) and
76
+ [docs/BENCHMARK.md](https://github.com/rig-c/play/blob/main/docs/BENCHMARK.md).
77
+
78
+ `docs/` lives in the GitHub repository and is not packed into `node_modules/@rig-c/play`;
79
+ the installed package carries `README.md` and the exact TypeScript declarations
80
+ under `node_modules/@rig-c/play/dist/*.d.ts`.