@bendyline/molen-tooling 0.0.2 → 0.0.3

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.
Files changed (76) hide show
  1. package/dist/capture/harness.js +216 -216
  2. package/dist/capture/worldgen-preview.js +288 -288
  3. package/dist/cli.mjs +110 -10
  4. package/dist/docs-src/guide/3d-model-assets.md +35 -3
  5. package/dist/docs-src/guide/adaptive-performance.md +4 -0
  6. package/dist/docs-src/guide/agent-loop.md +6 -6
  7. package/dist/docs-src/guide/aircraft.md +16 -7
  8. package/dist/docs-src/guide/audio.md +247 -0
  9. package/dist/docs-src/guide/browser-mount.md +3 -1
  10. package/dist/docs-src/guide/building-interiors.md +5 -4
  11. package/dist/docs-src/guide/determinism.md +12 -12
  12. package/dist/docs-src/guide/earth-view.md +444 -0
  13. package/dist/docs-src/guide/entities.md +1 -1
  14. package/dist/docs-src/guide/examples.md +2 -1
  15. package/dist/docs-src/guide/game-samples.md +21 -4
  16. package/dist/docs-src/guide/graphics-performance.md +40 -8
  17. package/dist/docs-src/guide/input.md +9 -0
  18. package/dist/docs-src/guide/markers.md +52 -0
  19. package/dist/docs-src/guide/materials.md +10 -3
  20. package/dist/docs-src/guide/navigation.md +144 -0
  21. package/dist/docs-src/guide/project.md +1 -1
  22. package/dist/docs-src/guide/quickstart.md +2 -2
  23. package/dist/docs-src/guide/recognizable-places.md +3 -2
  24. package/dist/docs-src/guide/scripting.md +4 -2
  25. package/dist/docs-src/guide/sky.md +16 -0
  26. package/dist/docs-src/guide/source-bundles.md +0 -1
  27. package/dist/docs-src/guide/structure-library.md +2 -2
  28. package/dist/docs-src/guide/terrain.md +45 -2
  29. package/dist/docs-src/guide/vehicles.md +18 -9
  30. package/dist/docs-src/guide/worldgen.md +3 -3
  31. package/dist/docs-src/llms.txt +10 -4
  32. package/dist/docs-src/schemas/README.md +3 -0
  33. package/dist/docs-src/schemas/archive-set.md +175 -0
  34. package/dist/docs-src/schemas/components.md +1104 -1
  35. package/dist/docs-src/schemas/matgraph.md +6 -0
  36. package/dist/docs-src/schemas/soundbank.md +251 -0
  37. package/dist/docs-src/schemas/structure-placements.md +496 -0
  38. package/dist/docs-src/schemas/terrain-package.md +120 -0
  39. package/dist/index.d.mts +5 -1
  40. package/dist/index.mjs +1 -1
  41. package/dist/{mcp-AOfIp89b.mjs → mcp-BTVwVKFb.mjs} +67 -3
  42. package/dist/{ops-C4BvDgP-.mjs → ops-BPdHodFR.mjs} +915 -29
  43. package/dist/templates/city-courier/README.md +13 -0
  44. package/dist/templates/city-courier/delivery-run.replay.json +151 -151
  45. package/dist/templates/city-courier/gen/molen-types.ts +142 -4
  46. package/dist/templates/city-courier/package.json +1 -0
  47. package/dist/templates/city-courier/scene.json +79 -0
  48. package/dist/templates/city-courier/scripts/game.ts +5 -1
  49. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +167 -4
  50. package/dist/templates/city-courier/src/audio.ts +96 -0
  51. package/dist/templates/city-courier/src/game-shell.css +8 -0
  52. package/dist/templates/city-courier/src/main.ts +3 -0
  53. package/dist/templates/city-courier/test/headless.test.ts +1 -1
  54. package/dist/templates/index.json +3 -0
  55. package/dist/templates/skybound/README.md +13 -0
  56. package/dist/templates/skybound/first-leap.replay.json +152 -152
  57. package/dist/templates/skybound/gen/molen-types.ts +142 -4
  58. package/dist/templates/skybound/package.json +1 -0
  59. package/dist/templates/skybound/scene.json +40 -0
  60. package/dist/templates/skybound/scripts/game.ts +8 -5
  61. package/dist/templates/skybound/scripts/molen-scripts.d.ts +167 -4
  62. package/dist/templates/skybound/src/audio.ts +96 -0
  63. package/dist/templates/skybound/src/game-shell.css +8 -0
  64. package/dist/templates/skybound/src/main.ts +3 -0
  65. package/dist/templates/skybound/test/headless.test.ts +1 -1
  66. package/dist/templates/top-down-arena/README.md +14 -1
  67. package/dist/templates/top-down-arena/arena-skirmish.replay.json +152 -152
  68. package/dist/templates/top-down-arena/package.json +1 -0
  69. package/dist/templates/top-down-arena/scene.json +20 -0
  70. package/dist/templates/top-down-arena/scripts/combat.ts +1 -0
  71. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +167 -4
  72. package/dist/templates/top-down-arena/src/audio.ts +96 -0
  73. package/dist/templates/top-down-arena/src/gen/molen-types.ts +142 -4
  74. package/dist/templates/top-down-arena/src/main.ts +3 -0
  75. package/dist/templates/top-down-arena/test/headless.test.ts +1 -1
  76. package/package.json +11 -11
@@ -0,0 +1,496 @@
1
+ # Geographic structure placements (`molen/structure-placements@1`)
2
+
3
+ WGS84 anchors for authored models; draft entries are indexed but not rendered.
4
+
5
+ ## Example
6
+
7
+ ```json
8
+ {
9
+ "format": "molen/structure-placements@1",
10
+ "title": "Example structures",
11
+ "entries": [
12
+ {
13
+ "id": "sample.tower",
14
+ "title": "Sample tower",
15
+ "asset": "sample.structure.tower",
16
+ "anchor": [
17
+ -122.3493,
18
+ 47.62051
19
+ ],
20
+ "status": "draft",
21
+ "source": "https://example.com/tower"
22
+ }
23
+ ]
24
+ }
25
+ ```
26
+
27
+ ## JSON Schema
28
+
29
+ ```json
30
+ {
31
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
32
+ "type": "object",
33
+ "properties": {
34
+ "format": {
35
+ "type": "string",
36
+ "const": "molen/structure-placements@1"
37
+ },
38
+ "title": {
39
+ "type": "string",
40
+ "minLength": 1
41
+ },
42
+ "entries": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "object",
46
+ "properties": {
47
+ "id": {
48
+ "type": "string",
49
+ "pattern": "^[a-z0-9][a-z0-9.-]*$"
50
+ },
51
+ "title": {
52
+ "type": "string",
53
+ "minLength": 1
54
+ },
55
+ "asset": {
56
+ "type": "string",
57
+ "pattern": "^[a-z][a-z0-9_.-]*$"
58
+ },
59
+ "anchor": {
60
+ "type": "array",
61
+ "prefixItems": [
62
+ {
63
+ "type": "number",
64
+ "minimum": -180,
65
+ "maximum": 180
66
+ },
67
+ {
68
+ "type": "number",
69
+ "minimum": -90,
70
+ "maximum": 90
71
+ }
72
+ ],
73
+ "items": false,
74
+ "minItems": 2,
75
+ "maxItems": 2
76
+ },
77
+ "heading": {
78
+ "type": "number"
79
+ },
80
+ "scale": {
81
+ "type": "array",
82
+ "prefixItems": [
83
+ {
84
+ "type": "number",
85
+ "exclusiveMinimum": 0
86
+ },
87
+ {
88
+ "type": "number",
89
+ "exclusiveMinimum": 0
90
+ },
91
+ {
92
+ "type": "number",
93
+ "exclusiveMinimum": 0
94
+ }
95
+ ],
96
+ "items": false,
97
+ "minItems": 3,
98
+ "maxItems": 3
99
+ },
100
+ "datum": {
101
+ "type": "string",
102
+ "enum": [
103
+ "terrain",
104
+ "sea-level"
105
+ ]
106
+ },
107
+ "elevation": {
108
+ "type": "number"
109
+ },
110
+ "terrainReference": {
111
+ "type": "object",
112
+ "properties": {
113
+ "anchor": {
114
+ "type": "array",
115
+ "prefixItems": [
116
+ {
117
+ "type": "number",
118
+ "minimum": -180,
119
+ "maximum": 180
120
+ },
121
+ {
122
+ "type": "number",
123
+ "minimum": -90,
124
+ "maximum": 90
125
+ }
126
+ ],
127
+ "items": false,
128
+ "minItems": 2,
129
+ "maxItems": 2
130
+ },
131
+ "modelHeight": {
132
+ "type": "number"
133
+ },
134
+ "basis": {
135
+ "type": "string",
136
+ "minLength": 1
137
+ }
138
+ },
139
+ "required": [
140
+ "anchor",
141
+ "modelHeight",
142
+ "basis"
143
+ ],
144
+ "additionalProperties": false
145
+ },
146
+ "bounds": {
147
+ "type": "array",
148
+ "prefixItems": [
149
+ {
150
+ "type": "number",
151
+ "minimum": -180,
152
+ "maximum": 180
153
+ },
154
+ {
155
+ "type": "number",
156
+ "minimum": -90,
157
+ "maximum": 90
158
+ },
159
+ {
160
+ "type": "number",
161
+ "minimum": -180,
162
+ "maximum": 180
163
+ },
164
+ {
165
+ "type": "number",
166
+ "minimum": -90,
167
+ "maximum": 90
168
+ }
169
+ ],
170
+ "items": false,
171
+ "minItems": 4,
172
+ "maxItems": 4
173
+ },
174
+ "replaceRoads": {
175
+ "type": "object",
176
+ "properties": {
177
+ "length": {
178
+ "type": "number",
179
+ "exclusiveMinimum": 0
180
+ },
181
+ "width": {
182
+ "type": "number",
183
+ "exclusiveMinimum": 0
184
+ },
185
+ "outline": {
186
+ "minItems": 3,
187
+ "maxItems": 512,
188
+ "type": "array",
189
+ "items": {
190
+ "type": "array",
191
+ "prefixItems": [
192
+ {
193
+ "type": "number"
194
+ },
195
+ {
196
+ "type": "number"
197
+ }
198
+ ],
199
+ "items": false,
200
+ "minItems": 2,
201
+ "maxItems": 2
202
+ }
203
+ },
204
+ "deckHeight": {
205
+ "type": "number"
206
+ },
207
+ "deckHeights": {
208
+ "type": "array",
209
+ "prefixItems": [
210
+ {
211
+ "type": "number"
212
+ },
213
+ {
214
+ "type": "number"
215
+ }
216
+ ],
217
+ "items": false,
218
+ "minItems": 2,
219
+ "maxItems": 2
220
+ }
221
+ },
222
+ "required": [
223
+ "length",
224
+ "width"
225
+ ],
226
+ "additionalProperties": false
227
+ },
228
+ "replaceFootprint": {
229
+ "type": "boolean"
230
+ },
231
+ "groundCutout": {
232
+ "type": "object",
233
+ "properties": {
234
+ "outline": {
235
+ "minItems": 3,
236
+ "maxItems": 512,
237
+ "type": "array",
238
+ "items": {
239
+ "type": "array",
240
+ "prefixItems": [
241
+ {
242
+ "type": "number"
243
+ },
244
+ {
245
+ "type": "number"
246
+ }
247
+ ],
248
+ "items": false,
249
+ "minItems": 2,
250
+ "maxItems": 2
251
+ }
252
+ },
253
+ "basis": {
254
+ "type": "string",
255
+ "minLength": 1
256
+ }
257
+ },
258
+ "required": [
259
+ "outline",
260
+ "basis"
261
+ ],
262
+ "additionalProperties": false
263
+ },
264
+ "mapIdentity": {
265
+ "type": "object",
266
+ "properties": {
267
+ "wikidata": {
268
+ "type": "string",
269
+ "pattern": "^Q[1-9][0-9]*$"
270
+ },
271
+ "names": {
272
+ "minItems": 1,
273
+ "type": "array",
274
+ "items": {
275
+ "type": "string",
276
+ "minLength": 1
277
+ }
278
+ },
279
+ "maxDistance": {
280
+ "type": "number",
281
+ "exclusiveMinimum": 0,
282
+ "maximum": 10000
283
+ }
284
+ },
285
+ "additionalProperties": false
286
+ },
287
+ "orientation": {
288
+ "type": "string",
289
+ "enum": [
290
+ "fixed",
291
+ "mapped"
292
+ ]
293
+ },
294
+ "lengthAxis": {
295
+ "type": "string",
296
+ "enum": [
297
+ "x",
298
+ "z"
299
+ ]
300
+ },
301
+ "minLevel": {
302
+ "type": "integer",
303
+ "minimum": 0,
304
+ "maximum": 26
305
+ },
306
+ "status": {
307
+ "type": "string",
308
+ "enum": [
309
+ "preview",
310
+ "draft",
311
+ "historical"
312
+ ]
313
+ },
314
+ "appearance": {
315
+ "type": "object",
316
+ "properties": {
317
+ "kind": {
318
+ "type": "string",
319
+ "const": "historical"
320
+ },
321
+ "currentWorldEligible": {
322
+ "type": "boolean",
323
+ "const": false
324
+ },
325
+ "representedDate": {
326
+ "type": "string",
327
+ "minLength": 1
328
+ },
329
+ "validFrom": {
330
+ "type": "string"
331
+ },
332
+ "validUntil": {
333
+ "type": "string"
334
+ }
335
+ },
336
+ "required": [
337
+ "kind",
338
+ "currentWorldEligible",
339
+ "validFrom",
340
+ "validUntil"
341
+ ],
342
+ "additionalProperties": false
343
+ },
344
+ "source": {
345
+ "type": "string",
346
+ "format": "uri"
347
+ },
348
+ "note": {
349
+ "type": "string"
350
+ }
351
+ },
352
+ "required": [
353
+ "id",
354
+ "title",
355
+ "asset",
356
+ "anchor",
357
+ "status",
358
+ "source"
359
+ ],
360
+ "additionalProperties": false
361
+ }
362
+ },
363
+ "rules": {
364
+ "type": "array",
365
+ "items": {
366
+ "type": "object",
367
+ "properties": {
368
+ "id": {
369
+ "type": "string",
370
+ "pattern": "^[a-z0-9][a-z0-9.-]*$"
371
+ },
372
+ "title": {
373
+ "type": "string",
374
+ "minLength": 1
375
+ },
376
+ "asset": {
377
+ "type": "string",
378
+ "pattern": "^[a-z][a-z0-9_.-]*$"
379
+ },
380
+ "match": {
381
+ "type": "object",
382
+ "properties": {
383
+ "classes": {
384
+ "minItems": 1,
385
+ "type": "array",
386
+ "items": {
387
+ "type": "string",
388
+ "minLength": 1
389
+ }
390
+ },
391
+ "subclasses": {
392
+ "minItems": 1,
393
+ "type": "array",
394
+ "items": {
395
+ "type": "string",
396
+ "minLength": 1
397
+ }
398
+ },
399
+ "tags": {
400
+ "type": "object",
401
+ "propertyNames": {
402
+ "type": "string",
403
+ "minLength": 1
404
+ },
405
+ "additionalProperties": {
406
+ "minItems": 1,
407
+ "type": "array",
408
+ "items": {
409
+ "type": "string",
410
+ "minLength": 1
411
+ }
412
+ }
413
+ }
414
+ },
415
+ "additionalProperties": false
416
+ },
417
+ "dimensions": {
418
+ "type": "array",
419
+ "prefixItems": [
420
+ {
421
+ "type": "number",
422
+ "exclusiveMinimum": 0
423
+ },
424
+ {
425
+ "type": "number",
426
+ "exclusiveMinimum": 0
427
+ },
428
+ {
429
+ "type": "number",
430
+ "exclusiveMinimum": 0
431
+ }
432
+ ],
433
+ "items": false,
434
+ "minItems": 3,
435
+ "maxItems": 3
436
+ },
437
+ "orientation": {
438
+ "type": "string",
439
+ "enum": [
440
+ "direction",
441
+ "longest-edge",
442
+ "north"
443
+ ]
444
+ },
445
+ "lengthAxis": {
446
+ "type": "string",
447
+ "enum": [
448
+ "x",
449
+ "z"
450
+ ]
451
+ },
452
+ "fit": {
453
+ "type": "string",
454
+ "enum": [
455
+ "native",
456
+ "footprint"
457
+ ]
458
+ },
459
+ "replaceFootprint": {
460
+ "type": "boolean"
461
+ },
462
+ "minLevel": {
463
+ "type": "integer",
464
+ "minimum": 0,
465
+ "maximum": 26
466
+ },
467
+ "maxPerTile": {
468
+ "type": "integer",
469
+ "minimum": 1,
470
+ "maximum": 64
471
+ },
472
+ "source": {
473
+ "type": "string",
474
+ "format": "uri"
475
+ }
476
+ },
477
+ "required": [
478
+ "id",
479
+ "title",
480
+ "asset",
481
+ "match",
482
+ "dimensions",
483
+ "source"
484
+ ],
485
+ "additionalProperties": false
486
+ }
487
+ }
488
+ },
489
+ "required": [
490
+ "format",
491
+ "title",
492
+ "entries"
493
+ ],
494
+ "additionalProperties": false
495
+ }
496
+ ```
@@ -305,6 +305,46 @@ Installable tiled-world package: coordinate space, elevation, optional semantic
305
305
  "url"
306
306
  ],
307
307
  "additionalProperties": false
308
+ },
309
+ {
310
+ "type": "object",
311
+ "properties": {
312
+ "kind": {
313
+ "type": "string",
314
+ "const": "pmtiles-set",
315
+ "description": "Archive kind 'pmtiles-set': a molen/archive-set@1 document naming many archives."
316
+ },
317
+ "path": {
318
+ "type": "string",
319
+ "minLength": 1,
320
+ "description": "Package-relative path of the archive-set document."
321
+ }
322
+ },
323
+ "required": [
324
+ "kind",
325
+ "path"
326
+ ],
327
+ "additionalProperties": false
328
+ },
329
+ {
330
+ "type": "object",
331
+ "properties": {
332
+ "kind": {
333
+ "type": "string",
334
+ "const": "pmtiles-set",
335
+ "description": "Archive kind 'pmtiles-set': a molen/archive-set@1 document naming many archives."
336
+ },
337
+ "url": {
338
+ "type": "string",
339
+ "format": "uri",
340
+ "description": "Absolute URL of the archive-set document."
341
+ }
342
+ },
343
+ "required": [
344
+ "kind",
345
+ "url"
346
+ ],
347
+ "additionalProperties": false
308
348
  }
309
349
  ],
310
350
  "description": "Archive holding the elevation tiles."
@@ -460,6 +500,46 @@ Installable tiled-world package: coordinate space, elevation, optional semantic
460
500
  "url"
461
501
  ],
462
502
  "additionalProperties": false
503
+ },
504
+ {
505
+ "type": "object",
506
+ "properties": {
507
+ "kind": {
508
+ "type": "string",
509
+ "const": "pmtiles-set",
510
+ "description": "Archive kind 'pmtiles-set': a molen/archive-set@1 document naming many archives."
511
+ },
512
+ "path": {
513
+ "type": "string",
514
+ "minLength": 1,
515
+ "description": "Package-relative path of the archive-set document."
516
+ }
517
+ },
518
+ "required": [
519
+ "kind",
520
+ "path"
521
+ ],
522
+ "additionalProperties": false
523
+ },
524
+ {
525
+ "type": "object",
526
+ "properties": {
527
+ "kind": {
528
+ "type": "string",
529
+ "const": "pmtiles-set",
530
+ "description": "Archive kind 'pmtiles-set': a molen/archive-set@1 document naming many archives."
531
+ },
532
+ "url": {
533
+ "type": "string",
534
+ "format": "uri",
535
+ "description": "Absolute URL of the archive-set document."
536
+ }
537
+ },
538
+ "required": [
539
+ "kind",
540
+ "url"
541
+ ],
542
+ "additionalProperties": false
463
543
  }
464
544
  ],
465
545
  "description": "Archive holding the landcover tiles."
@@ -535,6 +615,46 @@ Installable tiled-world package: coordinate space, elevation, optional semantic
535
615
  "url"
536
616
  ],
537
617
  "additionalProperties": false
618
+ },
619
+ {
620
+ "type": "object",
621
+ "properties": {
622
+ "kind": {
623
+ "type": "string",
624
+ "const": "pmtiles-set",
625
+ "description": "Archive kind 'pmtiles-set': a molen/archive-set@1 document naming many archives."
626
+ },
627
+ "path": {
628
+ "type": "string",
629
+ "minLength": 1,
630
+ "description": "Package-relative path of the archive-set document."
631
+ }
632
+ },
633
+ "required": [
634
+ "kind",
635
+ "path"
636
+ ],
637
+ "additionalProperties": false
638
+ },
639
+ {
640
+ "type": "object",
641
+ "properties": {
642
+ "kind": {
643
+ "type": "string",
644
+ "const": "pmtiles-set",
645
+ "description": "Archive kind 'pmtiles-set': a molen/archive-set@1 document naming many archives."
646
+ },
647
+ "url": {
648
+ "type": "string",
649
+ "format": "uri",
650
+ "description": "Absolute URL of the archive-set document."
651
+ }
652
+ },
653
+ "required": [
654
+ "kind",
655
+ "url"
656
+ ],
657
+ "additionalProperties": false
538
658
  }
539
659
  ],
540
660
  "description": "Archive holding the feature tiles."
package/dist/index.d.mts CHANGED
@@ -44,8 +44,12 @@ interface ImportAssetInput {
44
44
  path: string;
45
45
  /** Asset id (default: slugged filename). Dotted ids fall under namespace reservations. */
46
46
  id?: string;
47
- /** Output assets root (default: <project dir>/assets, else ./assets). */
47
+ /** Output assets root; explicit overrides retain the <root>/<dotted-id-as-path> layout. */
48
48
  outDir?: string;
49
+ /** Exact bundle directory, relative to cwd when not absolute. Mutually exclusive with outDir.
50
+ * Without either override, reimports preserve the project-registered asset directory; new
51
+ * assets use <project dir>/assets/<dotted-id-as-path> (or ./assets without a project). */
52
+ assetDir?: string;
49
53
  /** Also extract a whole-asset collision trimesh into collision.bin. */
50
54
  trimesh?: boolean;
51
55
  /** Skip the normalize pass (dedup/prune/weld/quantize). */
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as assetFileIndex, A as inspectContentPack, B as OPS_CATALOG, C as checkTypesOp, D as buildContentPack, E as reserveNamespace, G as ASSET_INDEX_FILE, H as formatOp, I as exportFrames, K as stageAssets, L as driveScene, M as generateTypes, N as renderTypesModule, O as extractContentPack, Q as listAssets, R as locateDocsRoot, S as rasterizeMaterial, T as projectInfo, U as checkScripts, V as describeOps, W as schemaToTsType, X as packAsset, Z as inspectAsset, a as lineupBatchDoc, at as updateProjectFile, b as diffSnapshots, c as validateAsset, ct as registerExperiencePlaySchema, d as runSimulation, et as importAsset, f as screenshotScene, g as listSchemasOp, h as listComponentsOp, i as bakeWorldgen, it as loadSetupLike, j as verifyContentPack, k as fetchContentPack, l as applyUvPaintOp, m as getSchemaOp, n as worldgenStats, nt as loadProject, o as loadStylePackFromDisk, ot as parseExperiencePlayScenario, p as getComponentOp, q as screenshotAsset, r as previewWorldgen, rt as loadSceneDocument, s as simWatch, st as playExperience, tt as findProjectFile, u as testTypes, v as scaffoldExperience, w as listTypes, x as runReplayFile, y as listTemplates, z as searchDocs } from "./ops-C4BvDgP-.mjs";
1
+ import { $ as packAsset, A as inspectContentPack, B as OPS_CATALOG, C as checkTypesOp, D as buildContentPack, E as reserveNamespace, H as formatOp, I as exportFrames, J as ASSET_INDEX_FILE, L as driveScene, M as generateTypes, N as renderTypesModule, O as extractContentPack, R as locateDocsRoot, S as rasterizeMaterial, T as projectInfo, U as checkScripts, V as describeOps, W as schemaToTsType, X as screenshotAsset, Y as stageAssets, a as lineupBatchDoc, at as loadProject, b as diffSnapshots, c as validateAsset, ct as updateProjectFile, d as runSimulation, dt as registerExperiencePlaySchema, et as inspectAsset, f as screenshotScene, g as listSchemasOp, h as listComponentsOp, i as bakeWorldgen, it as findProjectFile, j as verifyContentPack, k as fetchContentPack, l as applyUvPaintOp, lt as parseExperiencePlayScenario, m as getSchemaOp, n as worldgenStats, nt as assetFileIndex, o as loadStylePackFromDisk, ot as loadSceneDocument, p as getComponentOp, r as previewWorldgen, rt as importAsset, s as simWatch, st as loadSetupLike, tt as listAssets, u as testTypes, ut as playExperience, v as scaffoldExperience, w as listTypes, x as runReplayFile, y as listTemplates, z as searchDocs } from "./ops-BPdHodFR.mjs";
2
2
  import { access, copyFile, mkdir, readFile, writeFile } from "node:fs/promises";
3
3
  import { dirname } from "node:path";
4
4
  import pixelmatch from "pixelmatch";