@chrona-city/ugc-kit 1.5.9 → 1.5.10

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 (31) hide show
  1. package/README.md +79 -5
  2. package/contracts/ugc/public-runtime/v1/README.md +42 -5
  3. package/contracts/ugc/public-runtime/v1/manifest.mjs +35 -4
  4. package/contracts/ugc/public-runtime/v1/runtime-manifest.schema.json +126 -23
  5. package/contracts/ugc/public-runtime/v1/target-compatibility.test.mjs +98 -0
  6. package/docs/harness-onboarding.md +55 -12
  7. package/docs/npm-creator.md +95 -12
  8. package/docs/runtime-download.md +43 -2
  9. package/lib/creator-cli.mjs +6 -4
  10. package/lib/creator-platform.mjs +2 -1
  11. package/lib/creator-toolchain-compat.mjs +3 -0
  12. package/lib/host-ipc/distribution-node-support-contract/contracts/ugc/public-runtime/v1/manifest.mjs +198 -0
  13. package/lib/host-ipc/distribution-node-support-contract/contracts/ugc/public-runtime/v1/runtime-manifest.schema.json +854 -0
  14. package/lib/host-ipc/distribution-node-support-contract/contracts/ugc/registry/v1/conformance/js/capability-resolver.mjs +191 -0
  15. package/lib/host-ipc/host-ipc.schema.json +2 -27
  16. package/lib/host-ipc/runtime-contract.mjs +7 -3
  17. package/lib/host-ipc/source-lock.json +16 -4
  18. package/lib/local-development.mjs +5 -2
  19. package/lib/runtime-host-client.mjs +1 -0
  20. package/lib/runtime-host.mjs +10 -3
  21. package/lib/runtime-install.mjs +1 -0
  22. package/node_modules/@esbuild/darwin-x64/README.md +3 -0
  23. package/node_modules/@esbuild/darwin-x64/bin/esbuild +0 -0
  24. package/node_modules/@esbuild/darwin-x64/package.json +20 -0
  25. package/node_modules/@esbuild/linux-x64/README.md +3 -0
  26. package/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
  27. package/node_modules/@esbuild/linux-x64/package.json +20 -0
  28. package/package.json +1 -1
  29. package/public-runtime.snapshot.lock.json +8 -4
  30. package/runtime-catalog.json +8 -24
  31. /package/lib/host-ipc/{distribution-document-tool-package-contract → distribution-node-support-contract}/contracts/ugc/creator-source/v1/tool-package.schema.json +0 -0
@@ -0,0 +1,854 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://contracts.chrona.dev/ugc/public-runtime/v1/runtime-manifest.schema.json",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schemaVersion",
8
+ "kind",
9
+ "apiVersion",
10
+ "runtimeId",
11
+ "executionTier",
12
+ "source",
13
+ "compatibility",
14
+ "entrypoints",
15
+ "files",
16
+ "archive",
17
+ "runtimeHash",
18
+ "targets"
19
+ ],
20
+ "properties": {
21
+ "schemaVersion": {
22
+ "enum": [
23
+ "1.0.0",
24
+ "1.1.0"
25
+ ]
26
+ },
27
+ "kind": {
28
+ "const": "public-local-runtime"
29
+ },
30
+ "apiVersion": {
31
+ "const": "1.0.0"
32
+ },
33
+ "runtimeId": {
34
+ "type": "string",
35
+ "pattern": "^runtime_[a-f0-9]{64}$"
36
+ },
37
+ "executionTier": {
38
+ "const": "public-untrusted"
39
+ },
40
+ "source": {
41
+ "oneOf": [
42
+ {
43
+ "type": "object",
44
+ "additionalProperties": false,
45
+ "required": [
46
+ "clientsCommitSha",
47
+ "publicNode",
48
+ "publicFlight"
49
+ ],
50
+ "properties": {
51
+ "clientsCommitSha": {
52
+ "$ref": "#/$defs/commit"
53
+ },
54
+ "publicNode": {
55
+ "$ref": "#/$defs/source"
56
+ },
57
+ "publicFlight": {
58
+ "$ref": "#/$defs/source"
59
+ }
60
+ }
61
+ },
62
+ {
63
+ "type": "object",
64
+ "additionalProperties": false,
65
+ "required": [
66
+ "clientsCommitSha",
67
+ "publicNode",
68
+ "contentRoom",
69
+ "documentAuthority"
70
+ ],
71
+ "properties": {
72
+ "clientsCommitSha": {
73
+ "$ref": "#/$defs/commit"
74
+ },
75
+ "publicNode": {
76
+ "$ref": "#/$defs/source"
77
+ },
78
+ "contentRoom": {
79
+ "$ref": "#/$defs/source"
80
+ },
81
+ "documentAuthority": {
82
+ "$ref": "#/$defs/source"
83
+ }
84
+ }
85
+ }
86
+ ]
87
+ },
88
+ "compatibility": {
89
+ "oneOf": [
90
+ {
91
+ "type": "object",
92
+ "additionalProperties": false,
93
+ "required": [
94
+ "protocol",
95
+ "content",
96
+ "policyFiles",
97
+ "localContentContract"
98
+ ],
99
+ "properties": {
100
+ "protocol": {
101
+ "type": "object",
102
+ "additionalProperties": false,
103
+ "required": [
104
+ "major",
105
+ "schemaRevision"
106
+ ],
107
+ "properties": {
108
+ "major": {
109
+ "const": 1
110
+ },
111
+ "schemaRevision": {
112
+ "const": 2
113
+ }
114
+ }
115
+ },
116
+ "policyFiles": {
117
+ "type": "object",
118
+ "additionalProperties": false,
119
+ "required": [
120
+ "worldScene",
121
+ "sceneRender"
122
+ ],
123
+ "properties": {
124
+ "worldScene": {
125
+ "$ref": "#/$defs/path"
126
+ },
127
+ "sceneRender": {
128
+ "$ref": "#/$defs/path"
129
+ }
130
+ }
131
+ },
132
+ "localContentContract": {
133
+ "$ref": "#/$defs/path"
134
+ },
135
+ "content": {
136
+ "type": "array",
137
+ "minItems": 1,
138
+ "maxItems": 8,
139
+ "uniqueItems": true,
140
+ "items": {
141
+ "$ref": "#/$defs/content"
142
+ }
143
+ }
144
+ }
145
+ },
146
+ {
147
+ "type": "object",
148
+ "additionalProperties": false,
149
+ "required": [
150
+ "protocol",
151
+ "content",
152
+ "policyFiles",
153
+ "localContentContract"
154
+ ],
155
+ "properties": {
156
+ "protocol": {
157
+ "type": "object",
158
+ "additionalProperties": false,
159
+ "required": [
160
+ "major",
161
+ "schemaRevision"
162
+ ],
163
+ "properties": {
164
+ "major": {
165
+ "const": 1
166
+ },
167
+ "schemaRevision": {
168
+ "enum": [
169
+ 2,
170
+ 3
171
+ ]
172
+ }
173
+ }
174
+ },
175
+ "policyFiles": {
176
+ "type": "object",
177
+ "additionalProperties": false,
178
+ "required": [
179
+ "documentPresentation"
180
+ ],
181
+ "properties": {
182
+ "documentPresentation": {
183
+ "$ref": "#/$defs/path"
184
+ }
185
+ }
186
+ },
187
+ "localContentContract": {
188
+ "$ref": "#/$defs/path"
189
+ },
190
+ "content": {
191
+ "type": "array",
192
+ "minItems": 1,
193
+ "maxItems": 8,
194
+ "uniqueItems": true,
195
+ "items": {
196
+ "$ref": "#/$defs/documentContent"
197
+ }
198
+ }
199
+ }
200
+ }
201
+ ]
202
+ },
203
+ "entrypoints": {
204
+ "oneOf": [
205
+ {
206
+ "type": "object",
207
+ "additionalProperties": false,
208
+ "required": [
209
+ "api",
210
+ "browser",
211
+ "sandbox"
212
+ ],
213
+ "properties": {
214
+ "api": {
215
+ "const": "node/host.mjs"
216
+ },
217
+ "browser": {
218
+ "const": "web/index.html"
219
+ },
220
+ "sandbox": {
221
+ "const": "sandbox/public-content-bridge.html"
222
+ }
223
+ }
224
+ },
225
+ {
226
+ "type": "object",
227
+ "additionalProperties": false,
228
+ "required": [
229
+ "api",
230
+ "browser",
231
+ "sandbox"
232
+ ],
233
+ "properties": {
234
+ "api": {
235
+ "const": "node/host.mjs"
236
+ },
237
+ "browser": {
238
+ "const": "web/index.html"
239
+ },
240
+ "sandbox": {
241
+ "const": "sandbox/document-view.html"
242
+ }
243
+ }
244
+ }
245
+ ]
246
+ },
247
+ "files": {
248
+ "type": "array",
249
+ "minItems": 1,
250
+ "maxItems": 4096,
251
+ "items": {
252
+ "type": "object",
253
+ "additionalProperties": false,
254
+ "required": [
255
+ "path",
256
+ "bytes",
257
+ "sha256",
258
+ "role"
259
+ ],
260
+ "properties": {
261
+ "path": {
262
+ "$ref": "#/$defs/path"
263
+ },
264
+ "bytes": {
265
+ "type": "integer",
266
+ "minimum": 0,
267
+ "maximum": 33554432
268
+ },
269
+ "sha256": {
270
+ "$ref": "#/$defs/hash"
271
+ },
272
+ "role": {
273
+ "enum": [
274
+ "node",
275
+ "browser",
276
+ "sandbox",
277
+ "wasm",
278
+ "data",
279
+ "license"
280
+ ]
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "archive": {
286
+ "type": "object",
287
+ "additionalProperties": false,
288
+ "required": [
289
+ "path",
290
+ "format",
291
+ "bytes",
292
+ "sha256"
293
+ ],
294
+ "properties": {
295
+ "path": {
296
+ "const": "runtime.zip"
297
+ },
298
+ "format": {
299
+ "const": "zip-store-v1"
300
+ },
301
+ "bytes": {
302
+ "type": "integer",
303
+ "minimum": 22,
304
+ "maximum": 268435456
305
+ },
306
+ "sha256": {
307
+ "$ref": "#/$defs/hash"
308
+ }
309
+ }
310
+ },
311
+ "runtimeHash": {
312
+ "$ref": "#/$defs/hash"
313
+ },
314
+ "targets": {
315
+ "type": "array",
316
+ "minItems": 1,
317
+ "maxItems": 4,
318
+ "uniqueItems": true,
319
+ "items": {
320
+ "$ref": "#/$defs/target"
321
+ }
322
+ }
323
+ },
324
+ "$defs": {
325
+ "hash": {
326
+ "type": "string",
327
+ "pattern": "^sha256:[a-f0-9]{64}$"
328
+ },
329
+ "commit": {
330
+ "type": "string",
331
+ "pattern": "^[a-f0-9]{40}$"
332
+ },
333
+ "path": {
334
+ "type": "string",
335
+ "maxLength": 512,
336
+ "pattern": "^[A-Za-z0-9_@-][A-Za-z0-9_@.-]*(/[A-Za-z0-9_@-][A-Za-z0-9_@.-]*)*$"
337
+ },
338
+ "source": {
339
+ "type": "object",
340
+ "additionalProperties": false,
341
+ "required": [
342
+ "commitSha",
343
+ "sourceHash",
344
+ "lockPath"
345
+ ],
346
+ "properties": {
347
+ "commitSha": {
348
+ "$ref": "#/$defs/commit"
349
+ },
350
+ "sourceHash": {
351
+ "$ref": "#/$defs/hash"
352
+ },
353
+ "lockPath": {
354
+ "$ref": "#/$defs/path"
355
+ }
356
+ }
357
+ },
358
+ "target": {
359
+ "oneOf": [
360
+ {
361
+ "$ref": "#/$defs/legacyTarget"
362
+ },
363
+ {
364
+ "$ref": "#/$defs/supportedTarget"
365
+ }
366
+ ]
367
+ },
368
+ "tool": {
369
+ "type": "object",
370
+ "additionalProperties": false,
371
+ "properties": {
372
+ "packageName": {
373
+ "$ref": "../../creator-source/v1/tool-package.schema.json"
374
+ },
375
+ "packageVersion": {
376
+ "$ref": "#/$defs/toolVersion"
377
+ },
378
+ "kitVersion": {
379
+ "$ref": "#/$defs/toolVersion"
380
+ },
381
+ "kitSnapshotHash": {
382
+ "$ref": "#/$defs/hash"
383
+ }
384
+ },
385
+ "required": [
386
+ "packageName",
387
+ "packageVersion",
388
+ "kitVersion",
389
+ "kitSnapshotHash"
390
+ ]
391
+ },
392
+ "contracts": {
393
+ "type": "object",
394
+ "additionalProperties": false,
395
+ "properties": {
396
+ "registryVersion": {
397
+ "$ref": "#/$defs/version"
398
+ },
399
+ "registryHash": {
400
+ "$ref": "#/$defs/hash"
401
+ },
402
+ "resolutionPolicyHash": {
403
+ "$ref": "#/$defs/hash"
404
+ },
405
+ "contractSetHashes": {
406
+ "type": "object",
407
+ "additionalProperties": false,
408
+ "properties": {
409
+ "localContent": {
410
+ "$ref": "#/$defs/hash"
411
+ },
412
+ "worldScene": {
413
+ "$ref": "#/$defs/hash"
414
+ }
415
+ },
416
+ "required": [
417
+ "localContent",
418
+ "worldScene"
419
+ ]
420
+ }
421
+ },
422
+ "required": [
423
+ "registryVersion",
424
+ "registryHash",
425
+ "resolutionPolicyHash",
426
+ "contractSetHashes"
427
+ ]
428
+ },
429
+ "toolVersion": {
430
+ "type": "string",
431
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-alpha\\.[1-9][0-9]*(?:\\.[1-9][0-9]*)?)?$(?![\\s\\S])"
432
+ },
433
+ "version": {
434
+ "type": "string",
435
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
436
+ },
437
+ "content": {
438
+ "type": "object",
439
+ "additionalProperties": false,
440
+ "required": [
441
+ "builderVersion",
442
+ "tool",
443
+ "contracts"
444
+ ],
445
+ "properties": {
446
+ "builderVersion": {
447
+ "const": "local-content@1.0.0"
448
+ },
449
+ "tool": {
450
+ "$ref": "#/$defs/tool"
451
+ },
452
+ "contracts": {
453
+ "$ref": "#/$defs/contracts"
454
+ }
455
+ }
456
+ },
457
+ "documentContracts": {
458
+ "type": "object",
459
+ "additionalProperties": false,
460
+ "properties": {
461
+ "registryVersion": {
462
+ "$ref": "#/$defs/version"
463
+ },
464
+ "registryHash": {
465
+ "$ref": "#/$defs/hash"
466
+ },
467
+ "resolutionPolicyHash": {
468
+ "$ref": "#/$defs/hash"
469
+ },
470
+ "contractSetHashes": {
471
+ "type": "object",
472
+ "additionalProperties": false,
473
+ "properties": {
474
+ "localContent": {
475
+ "$ref": "#/$defs/hash"
476
+ },
477
+ "worldScene": {
478
+ "$ref": "#/$defs/hash"
479
+ },
480
+ "documentPresentation": {
481
+ "$ref": "#/$defs/hash"
482
+ }
483
+ },
484
+ "required": [
485
+ "localContent",
486
+ "worldScene",
487
+ "documentPresentation"
488
+ ]
489
+ }
490
+ },
491
+ "required": [
492
+ "registryVersion",
493
+ "registryHash",
494
+ "resolutionPolicyHash",
495
+ "contractSetHashes"
496
+ ]
497
+ },
498
+ "documentContent": {
499
+ "type": "object",
500
+ "additionalProperties": false,
501
+ "required": [
502
+ "builderVersion",
503
+ "tool",
504
+ "contracts"
505
+ ],
506
+ "properties": {
507
+ "builderVersion": {
508
+ "const": "local-content@1.1.0"
509
+ },
510
+ "tool": {
511
+ "$ref": "#/$defs/tool"
512
+ },
513
+ "contracts": {
514
+ "$ref": "#/$defs/documentContracts"
515
+ }
516
+ }
517
+ },
518
+ "legacyTarget": {
519
+ "type": "object",
520
+ "additionalProperties": false,
521
+ "properties": {
522
+ "os": {
523
+ "type": "string",
524
+ "enum": [
525
+ "darwin",
526
+ "linux"
527
+ ]
528
+ },
529
+ "arch": {
530
+ "type": "string",
531
+ "enum": [
532
+ "arm64",
533
+ "x64"
534
+ ]
535
+ },
536
+ "nodeVersion": {
537
+ "const": "22.16.0"
538
+ }
539
+ },
540
+ "required": [
541
+ "os",
542
+ "arch",
543
+ "nodeVersion"
544
+ ]
545
+ },
546
+ "observedTarget": {
547
+ "type": "object",
548
+ "additionalProperties": false,
549
+ "properties": {
550
+ "os": {
551
+ "type": "string",
552
+ "enum": [
553
+ "darwin",
554
+ "linux"
555
+ ]
556
+ },
557
+ "arch": {
558
+ "type": "string",
559
+ "enum": [
560
+ "arm64",
561
+ "x64"
562
+ ]
563
+ },
564
+ "nodeVersion": {
565
+ "type": "string",
566
+ "maxLength": 48,
567
+ "pattern": "^[1-9][0-9]*\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$(?![\\s\\S])"
568
+ }
569
+ },
570
+ "required": [
571
+ "os",
572
+ "arch",
573
+ "nodeVersion"
574
+ ]
575
+ },
576
+ "supportedTarget": {
577
+ "type": "object",
578
+ "additionalProperties": false,
579
+ "required": [
580
+ "os",
581
+ "arch",
582
+ "nodeSupport"
583
+ ],
584
+ "properties": {
585
+ "os": {
586
+ "type": "string",
587
+ "enum": [
588
+ "darwin",
589
+ "linux"
590
+ ]
591
+ },
592
+ "arch": {
593
+ "type": "string",
594
+ "enum": [
595
+ "arm64",
596
+ "x64"
597
+ ]
598
+ },
599
+ "nodeSupport": {
600
+ "type": "object",
601
+ "additionalProperties": false,
602
+ "required": [
603
+ "schemaVersion",
604
+ "lines"
605
+ ],
606
+ "properties": {
607
+ "schemaVersion": {
608
+ "const": "1.0.0"
609
+ },
610
+ "lines": {
611
+ "type": "array",
612
+ "minItems": 1,
613
+ "maxItems": 4,
614
+ "items": {
615
+ "type": "object",
616
+ "additionalProperties": false,
617
+ "required": [
618
+ "major",
619
+ "minimum"
620
+ ],
621
+ "properties": {
622
+ "major": {
623
+ "type": "integer",
624
+ "minimum": 1,
625
+ "maximum": 9007199254740991
626
+ },
627
+ "minimum": {
628
+ "type": "string",
629
+ "maxLength": 48,
630
+ "pattern": "^[1-9][0-9]*\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$(?![\\s\\S])"
631
+ }
632
+ }
633
+ }
634
+ }
635
+ }
636
+ }
637
+ }
638
+ }
639
+ },
640
+ "allOf": [
641
+ {
642
+ "if": {
643
+ "properties": {
644
+ "schemaVersion": {
645
+ "const": "1.0.0"
646
+ }
647
+ }
648
+ },
649
+ "then": {
650
+ "properties": {
651
+ "source": {
652
+ "type": "object",
653
+ "additionalProperties": false,
654
+ "required": [
655
+ "clientsCommitSha",
656
+ "publicNode",
657
+ "publicFlight"
658
+ ],
659
+ "properties": {
660
+ "clientsCommitSha": {
661
+ "$ref": "#/$defs/commit"
662
+ },
663
+ "publicNode": {
664
+ "$ref": "#/$defs/source"
665
+ },
666
+ "publicFlight": {
667
+ "$ref": "#/$defs/source"
668
+ }
669
+ }
670
+ },
671
+ "compatibility": {
672
+ "type": "object",
673
+ "additionalProperties": false,
674
+ "required": [
675
+ "protocol",
676
+ "content",
677
+ "policyFiles",
678
+ "localContentContract"
679
+ ],
680
+ "properties": {
681
+ "protocol": {
682
+ "type": "object",
683
+ "additionalProperties": false,
684
+ "required": [
685
+ "major",
686
+ "schemaRevision"
687
+ ],
688
+ "properties": {
689
+ "major": {
690
+ "const": 1
691
+ },
692
+ "schemaRevision": {
693
+ "const": 2
694
+ }
695
+ }
696
+ },
697
+ "policyFiles": {
698
+ "type": "object",
699
+ "additionalProperties": false,
700
+ "required": [
701
+ "worldScene",
702
+ "sceneRender"
703
+ ],
704
+ "properties": {
705
+ "worldScene": {
706
+ "$ref": "#/$defs/path"
707
+ },
708
+ "sceneRender": {
709
+ "$ref": "#/$defs/path"
710
+ }
711
+ }
712
+ },
713
+ "localContentContract": {
714
+ "$ref": "#/$defs/path"
715
+ },
716
+ "content": {
717
+ "type": "array",
718
+ "minItems": 1,
719
+ "maxItems": 8,
720
+ "uniqueItems": true,
721
+ "items": {
722
+ "$ref": "#/$defs/content"
723
+ }
724
+ }
725
+ }
726
+ },
727
+ "entrypoints": {
728
+ "type": "object",
729
+ "additionalProperties": false,
730
+ "required": [
731
+ "api",
732
+ "browser",
733
+ "sandbox"
734
+ ],
735
+ "properties": {
736
+ "api": {
737
+ "const": "node/host.mjs"
738
+ },
739
+ "browser": {
740
+ "const": "web/index.html"
741
+ },
742
+ "sandbox": {
743
+ "const": "sandbox/public-content-bridge.html"
744
+ }
745
+ }
746
+ }
747
+ }
748
+ },
749
+ "else": {
750
+ "properties": {
751
+ "source": {
752
+ "type": "object",
753
+ "additionalProperties": false,
754
+ "required": [
755
+ "clientsCommitSha",
756
+ "publicNode",
757
+ "contentRoom",
758
+ "documentAuthority"
759
+ ],
760
+ "properties": {
761
+ "clientsCommitSha": {
762
+ "$ref": "#/$defs/commit"
763
+ },
764
+ "publicNode": {
765
+ "$ref": "#/$defs/source"
766
+ },
767
+ "contentRoom": {
768
+ "$ref": "#/$defs/source"
769
+ },
770
+ "documentAuthority": {
771
+ "$ref": "#/$defs/source"
772
+ }
773
+ }
774
+ },
775
+ "compatibility": {
776
+ "type": "object",
777
+ "additionalProperties": false,
778
+ "required": [
779
+ "protocol",
780
+ "content",
781
+ "policyFiles",
782
+ "localContentContract"
783
+ ],
784
+ "properties": {
785
+ "protocol": {
786
+ "type": "object",
787
+ "additionalProperties": false,
788
+ "required": [
789
+ "major",
790
+ "schemaRevision"
791
+ ],
792
+ "properties": {
793
+ "major": {
794
+ "const": 1
795
+ },
796
+ "schemaRevision": {
797
+ "enum": [
798
+ 2,
799
+ 3
800
+ ]
801
+ }
802
+ }
803
+ },
804
+ "policyFiles": {
805
+ "type": "object",
806
+ "additionalProperties": false,
807
+ "required": [
808
+ "documentPresentation"
809
+ ],
810
+ "properties": {
811
+ "documentPresentation": {
812
+ "$ref": "#/$defs/path"
813
+ }
814
+ }
815
+ },
816
+ "localContentContract": {
817
+ "$ref": "#/$defs/path"
818
+ },
819
+ "content": {
820
+ "type": "array",
821
+ "minItems": 1,
822
+ "maxItems": 8,
823
+ "uniqueItems": true,
824
+ "items": {
825
+ "$ref": "#/$defs/documentContent"
826
+ }
827
+ }
828
+ }
829
+ },
830
+ "entrypoints": {
831
+ "type": "object",
832
+ "additionalProperties": false,
833
+ "required": [
834
+ "api",
835
+ "browser",
836
+ "sandbox"
837
+ ],
838
+ "properties": {
839
+ "api": {
840
+ "const": "node/host.mjs"
841
+ },
842
+ "browser": {
843
+ "const": "web/index.html"
844
+ },
845
+ "sandbox": {
846
+ "const": "sandbox/document-view.html"
847
+ }
848
+ }
849
+ }
850
+ }
851
+ }
852
+ }
853
+ ]
854
+ }