@tora-editor/tora 0.1.0 → 0.3.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.
Files changed (131) hide show
  1. package/README.md +107 -58
  2. package/assets/free-audio/arcade-pop/audio/loss.wav +0 -0
  3. package/assets/free-audio/arcade-pop/audio/reward.wav +0 -0
  4. package/assets/free-audio/arcade-pop/audio/win.wav +0 -0
  5. package/assets/free-audio/arcade-pop/source/INFO.txt +11 -11
  6. package/assets/kenney-food-starter/License.txt +28 -0
  7. package/assets/kenney-food-starter/burger.glb +0 -0
  8. package/assets/kenney-food-starter/frying-pan.glb +0 -0
  9. package/assets/kenney-food-starter/plan.json +61 -0
  10. package/assets/kenney-food-starter/plate.glb +0 -0
  11. package/assets/kenney-food-starter/pot.glb +0 -0
  12. package/assets/kenney-harvest/audio/victory.wav +0 -0
  13. package/assets/kenney-harvest/source/music-jingles/OGG/jingles_NES/jingles_NES03.ogg +0 -0
  14. package/assets/kenney-harvest/source/music-jingles/OGG/jingles_PIZZA/jingles_PIZZA03.ogg +0 -0
  15. package/assets/kenney-harvest/source/music-jingles/license.txt +14 -0
  16. package/bin/tora.mjs +322 -28
  17. package/crates/packer/trusted/native-3d-meta.json +4 -3
  18. package/crates/packer/trusted/native-3d.js +181 -181
  19. package/crates/packer/trusted/native-meta.json +3 -3
  20. package/crates/packer/trusted/native.js +5 -5
  21. package/crates/packer/trusted/release-manifest.json +17 -17
  22. package/crates/packer/trusted/review-runtime-meta.json +4 -3
  23. package/crates/packer/trusted/review-runtime.js +182 -182
  24. package/docs/MIGRATION_0_3.md +39 -0
  25. package/docs/NATIVE_AGENT_TOOLS.md +12 -363
  26. package/docs/TORA_AGENT_SETUP.md +24 -95
  27. package/docs/TORA_CREATION_API.md +63 -348
  28. package/docs/reference/CORE_AUTHORING.md +10 -3
  29. package/docs/reference/PLAYABLE_STARTERS.md +20 -0
  30. package/docs/reference/packs/3d.md +11 -3
  31. package/network-rules/mintegral-appgrowth-single-html.json +10 -10
  32. package/package.json +6 -6
  33. package/packages/creative-project/project-v21.schema.json +372 -9
  34. package/scripts/lean/editor/entry.js +11 -6
  35. package/scripts/lean/editor/project-launcher.js +116 -0
  36. package/scripts/lean/editor/quick-edit-panel.js +479 -0
  37. package/scripts/lean/editor/review-editor.css +256 -68
  38. package/scripts/lean/editor/review-editor.js +1834 -1086
  39. package/scripts/lean/editor-state.mjs +6 -0
  40. package/scripts/lean/editor.mjs +6 -3
  41. package/scripts/lean/matrix.mjs +5 -0
  42. package/scripts/lean/native/agent-tools.mjs +39 -62
  43. package/scripts/lean/native/api.mjs +161 -136
  44. package/scripts/lean/native/asset-catalog.mjs +7 -6
  45. package/scripts/lean/native/asset-lineage.mjs +54 -0
  46. package/scripts/lean/native/asset-prep.mjs +173 -40
  47. package/scripts/lean/native/assets.mjs +107 -11
  48. package/scripts/lean/native/audio-assets.mjs +30 -0
  49. package/scripts/lean/native/browser-pool.mjs +34 -0
  50. package/scripts/lean/native/build-cache.mjs +38 -7
  51. package/scripts/lean/native/cc0-inputs.mjs +24 -0
  52. package/scripts/lean/native/cc0-staging.mjs +28 -8
  53. package/scripts/lean/native/compiler.mjs +9 -3
  54. package/scripts/lean/native/contracts.mjs +16 -11
  55. package/scripts/lean/native/creative-qa.mjs +365 -128
  56. package/scripts/lean/native/demos.mjs +53 -18
  57. package/scripts/lean/native/document.mjs +50 -12
  58. package/scripts/lean/native/export-budget.mjs +75 -0
  59. package/scripts/lean/native/local-bundle.mjs +7 -3
  60. package/scripts/lean/native/mcp-server.mjs +42 -74
  61. package/scripts/lean/native/media-validate.mjs +124 -0
  62. package/scripts/lean/native/modules/harvest-restore.mjs +3 -284
  63. package/scripts/lean/native/modules/sort-puzzle.mjs +51 -0
  64. package/scripts/lean/native/modules/star-salvage.mjs +3 -368
  65. package/scripts/lean/native/native-bin.mjs +3 -3
  66. package/scripts/lean/native/outcome-playthrough.mjs +97 -0
  67. package/scripts/lean/native/project-bundle.mjs +6 -5
  68. package/scripts/lean/native/project-index.mjs +0 -2
  69. package/scripts/lean/native/qa-adapters.mjs +10 -0
  70. package/scripts/lean/native/quick-edit.mjs +328 -0
  71. package/scripts/lean/native/remote-cc0-fetcher.mjs +403 -197
  72. package/scripts/lean/native/review.mjs +205 -571
  73. package/scripts/lean/native/schema-vocabulary.mjs +10 -0
  74. package/scripts/lean/native/schema.mjs +7 -5
  75. package/scripts/lean/native/scope.mjs +45 -0
  76. package/scripts/lean/native/service.mjs +378 -79
  77. package/scripts/lean/native/starters.mjs +563 -0
  78. package/scripts/lean/native/variant-adapters.mjs +8 -0
  79. package/scripts/lean/native/variants-core.mjs +186 -0
  80. package/scripts/lean/native/variants.mjs +63 -0
  81. package/scripts/lean/native/win-cues.mjs +96 -0
  82. package/skills/tora-playables/SKILL.md +1 -1
  83. package/scripts/lean/editor/review-intake.js +0 -837
  84. package/scripts/lean/model-client.mjs +0 -119
  85. package/scripts/lean/native/author-expansion-proofs.mjs +0 -240
  86. package/scripts/lean/native/author-games.mjs +0 -160
  87. package/scripts/lean/native/author-harvest.mjs +0 -74
  88. package/scripts/lean/native/author-primitive-proofs.mjs +0 -874
  89. package/scripts/lean/native/author-salvage.mjs +0 -71
  90. package/scripts/lean/native/chat-compose.mjs +0 -287
  91. package/scripts/lean/native/check-harvest-outcome-audio.mjs +0 -191
  92. package/scripts/lean/native/check-salvage.mjs +0 -197
  93. package/scripts/lean/native/compatibility.mjs +0 -34
  94. package/scripts/lean/native/concept.mjs +0 -633
  95. package/scripts/lean/native/draw-stroke.mjs +0 -26
  96. package/scripts/lean/native/erase-mask.mjs +0 -18
  97. package/scripts/lean/native/harvest-recipe.mjs +0 -21
  98. package/scripts/lean/native/instance-steering.mjs +0 -24
  99. package/scripts/lean/native/intake-creator-agent.mjs +0 -98
  100. package/scripts/lean/native/intake-creator-tools.mjs +0 -165
  101. package/scripts/lean/native/interaction-gestures.mjs +0 -45
  102. package/scripts/lean/native/match-board.mjs +0 -138
  103. package/scripts/lean/native/modules/index.mjs +0 -54
  104. package/scripts/lean/native/modules/tap-collect.mjs +0 -54
  105. package/scripts/lean/native/path-network.mjs +0 -132
  106. package/scripts/lean/native/physics-2d.mjs +0 -154
  107. package/scripts/lean/native/physics-3d.mjs +0 -259
  108. package/scripts/lean/native/prepare-audio-collections.mjs +0 -112
  109. package/scripts/lean/native/prepare-game-audio.mjs +0 -372
  110. package/scripts/lean/native/prepare-golf-3d-assets.py +0 -177
  111. package/scripts/lean/native/prepare-golf-assets.py +0 -211
  112. package/scripts/lean/native/prepare-harvest-audio.mjs +0 -83
  113. package/scripts/lean/native/prepare-harvest-images.mjs +0 -31
  114. package/scripts/lean/native/prepare-primitive-images.py +0 -25
  115. package/scripts/lean/native/prepare-space-salvage-images.mjs +0 -89
  116. package/scripts/lean/native/prepare-traffic-assets.py +0 -329
  117. package/scripts/lean/native/presentation.mjs +0 -335
  118. package/scripts/lean/native/review-agent-tools.mjs +0 -561
  119. package/scripts/lean/native/review-connection.mjs +0 -303
  120. package/scripts/lean/native/review-fields.mjs +0 -24
  121. package/scripts/lean/native/review-intake.mjs +0 -385
  122. package/scripts/lean/native/review-intents.mjs +0 -217
  123. package/scripts/lean/native/review-provider.mjs +0 -580
  124. package/scripts/lean/native/review-receipts.mjs +0 -76
  125. package/scripts/lean/native/review-resolver.mjs +0 -429
  126. package/scripts/lean/native/review-targets.mjs +0 -35
  127. package/scripts/lean/native/runtime.mjs +0 -1623
  128. package/scripts/lean/native/salvage-recipe.mjs +0 -20
  129. package/scripts/lean/native/stage-3d.mjs +0 -818
  130. package/scripts/lean/native/verify.mjs +0 -4
  131. package/scripts/lean/scene-document.mjs +0 -48
@@ -3,43 +3,43 @@
3
3
  "profileId": "mintegral-appgrowth-single-html",
4
4
  "networkId": "mintegral",
5
5
  "channelId": "appgrowth-single-html",
6
- "rulesVersion": "2026-10-21-review-1",
7
- "reviewedAt": "2026-10-21",
6
+ "rulesVersion": "2026-11-29-review-1",
7
+ "reviewedAt": "2026-11-29",
8
8
  "sources": [
9
9
  {
10
10
  "id": "assets",
11
11
  "url": "https://helpcenter.mintegral.com/en/docs/asset-specs",
12
12
  "title": "Mintegral AppGrowth asset specifications",
13
- "checkedAt": "2026-10-21",
13
+ "checkedAt": "2026-11-29",
14
14
  "notes": "Single HTML row and companion artwork documented."
15
15
  },
16
16
  {
17
17
  "id": "upload",
18
18
  "url": "https://helpcenter.mintegral.com/en/docs/creative-guide-step-by-step/creative-review-process-guide",
19
19
  "title": "Mintegral creative upload guide",
20
- "checkedAt": "2026-10-21",
20
+ "checkedAt": "2026-11-29",
21
21
  "notes": "Current guide still documents URL/ZIP upload; it does not verify the exact single-HTML submission path."
22
22
  },
23
23
  {
24
24
  "id": "preview",
25
25
  "url": "https://helpcenter.mintegral.com/en/docs/playable-ad-guide",
26
26
  "title": "Mintegral playable testing guide",
27
- "checkedAt": "2026-10-21",
28
- "notes": "Mindworks redirect resolves to Playturbo. Public tester is accessible and accepts ZIP only; its linked PDF now supplies the vendor API contract. Probe did not reach Test Success."
27
+ "checkedAt": "2026-11-29",
28
+ "notes": "The Mindworks guide redirects to Playturbo. The public tester and its linked contract remain accessible."
29
29
  },
30
30
  {
31
31
  "id": "contract",
32
32
  "url": "https://www.playturbo.com/_nuxt/doc/en-doc.86decc5.pdf",
33
33
  "title": "Mindworks / Playturbo required playable test items",
34
- "checkedAt": "2026-10-21",
35
- "notes": "Downloaded PDF is linked by the live official tester. Documents install/gameReady/gameEnd/gameRetry host methods, gameStart/gameClose callbacks and ZIP naming/layout; not a MRAID integration."
34
+ "checkedAt": "2026-11-29",
35
+ "notes": "The live tester links this PDF. It documents install, gameReady, gameEnd, gameRetry, gameStart, gameClose and ZIP layout."
36
36
  },
37
37
  {
38
38
  "id": "tester",
39
39
  "url": "https://www.playturbo.com/review",
40
40
  "title": "Live official Playturbo playable tester",
41
- "checkedAt": "2026-10-21",
42
- "notes": "Anonymous file input accepts .zip. Exploratory Probe.zip accepted; initial partial lifecycle checks, HTML failure, and subsequent hosted-iframe timeouts. No engine artifact or successful official result."
41
+ "checkedAt": "2026-11-29",
42
+ "notes": "Public ZIP tester is accessible. The prior exploratory probe encountered HTML validation errors and hosted-iframe timeouts. Acceptance of the engine artifact remains unverified."
43
43
  }
44
44
  ],
45
45
  "rules": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tora-editor/tora",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Local MCP-first 2D & 3D HTML5 playable ad engine with Creative QA and 7 ad-network exporters.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -31,11 +31,11 @@
31
31
  "playwright": "1.64.1"
32
32
  },
33
33
  "optionalDependencies": {
34
- "@tora-editor/native-darwin-arm64": "0.1.0",
35
- "@tora-editor/native-darwin-x64": "0.1.0",
36
- "@tora-editor/native-linux-x64-gnu": "0.1.0",
37
- "@tora-editor/native-linux-arm64-gnu": "0.1.0",
38
- "@tora-editor/native-win32-x64-msvc": "0.1.0"
34
+ "@tora-editor/native-darwin-arm64": "0.3.0",
35
+ "@tora-editor/native-darwin-x64": "0.3.0",
36
+ "@tora-editor/native-linux-x64-gnu": "0.3.0",
37
+ "@tora-editor/native-linux-arm64-gnu": "0.3.0",
38
+ "@tora-editor/native-win32-x64-msvc": "0.3.0"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=22.0.0"
@@ -30,7 +30,9 @@
30
30
  "maxLength": 2048
31
31
  },
32
32
  "language": {
33
- "const": "en"
33
+ "type": "string",
34
+ "maxLength": 16,
35
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-(?:[A-Z]{2}|[0-9]{3}))?$"
34
36
  }
35
37
  },
36
38
  "required": [
@@ -1205,6 +1207,13 @@
1205
1207
  "right"
1206
1208
  ]
1207
1209
  },
1210
+ "direction": {
1211
+ "enum": [
1212
+ "auto",
1213
+ "ltr",
1214
+ "rtl"
1215
+ ]
1216
+ },
1208
1217
  "color": {
1209
1218
  "type": "string",
1210
1219
  "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
@@ -1508,6 +1517,33 @@
1508
1517
  "minimum": 0,
1509
1518
  "maximum": 1
1510
1519
  },
1520
+ "shadowsEnabled": {
1521
+ "type": "boolean"
1522
+ },
1523
+ "shadowMapSize": {
1524
+ "enum": [
1525
+ "256",
1526
+ "512",
1527
+ "1024"
1528
+ ]
1529
+ },
1530
+ "toneMapping": {
1531
+ "enum": [
1532
+ "none",
1533
+ "neutral",
1534
+ "aces"
1535
+ ]
1536
+ },
1537
+ "envIntensity": {
1538
+ "type": "number",
1539
+ "minimum": 0,
1540
+ "maximum": 2
1541
+ },
1542
+ "renderMaxDim": {
1543
+ "type": "integer",
1544
+ "minimum": 320,
1545
+ "maximum": 1024
1546
+ },
1511
1547
  "skyColor": {
1512
1548
  "type": "string",
1513
1549
  "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
@@ -1743,9 +1779,58 @@
1743
1779
  "minimum": 0,
1744
1780
  "maximum": 1
1745
1781
  },
1782
+ "subNode": {
1783
+ "type": "string",
1784
+ "maxLength": 96
1785
+ },
1786
+ "materialMode": {
1787
+ "enum": [
1788
+ "asset",
1789
+ "lambert",
1790
+ "standard",
1791
+ "unlit"
1792
+ ]
1793
+ },
1794
+ "overrideMaterialName": {
1795
+ "type": "string",
1796
+ "maxLength": 64
1797
+ },
1798
+ "tintColor": {
1799
+ "type": "string",
1800
+ "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
1801
+ },
1802
+ "roughnessScale": {
1803
+ "type": "number",
1804
+ "minimum": 0,
1805
+ "maximum": 2
1806
+ },
1807
+ "metalnessScale": {
1808
+ "type": "number",
1809
+ "minimum": 0,
1810
+ "maximum": 2
1811
+ },
1812
+ "castShadow": {
1813
+ "type": "boolean"
1814
+ },
1815
+ "receiveShadow": {
1816
+ "type": "boolean"
1817
+ },
1818
+ "normalizeSize": {
1819
+ "type": "number",
1820
+ "minimum": 0,
1821
+ "maximum": 100
1822
+ },
1823
+ "pivotMode": {
1824
+ "enum": [
1825
+ "origin",
1826
+ "center",
1827
+ "bottom-center"
1828
+ ]
1829
+ },
1746
1830
  "primitive": {
1747
1831
  "enum": [
1748
1832
  "group",
1833
+ "model",
1749
1834
  "mesh",
1750
1835
  "box",
1751
1836
  "sphere",
@@ -1891,7 +1976,12 @@
1891
1976
  "additionalProperties": false,
1892
1977
  "properties": {
1893
1978
  "slotId": {
1894
- "const": "source"
1979
+ "enum": [
1980
+ "source",
1981
+ "texture",
1982
+ "normalMap",
1983
+ "emissiveMap"
1984
+ ]
1895
1985
  },
1896
1986
  "assetId": {
1897
1987
  "type": "string",
@@ -1903,7 +1993,7 @@
1903
1993
  "assetId"
1904
1994
  ]
1905
1995
  },
1906
- "maxItems": 1
1996
+ "maxItems": 4
1907
1997
  },
1908
1998
  "prototype": {
1909
1999
  "type": "boolean"
@@ -2831,7 +2921,8 @@
2831
2921
  "origin": {
2832
2922
  "enum": [
2833
2923
  "center",
2834
- "anchor"
2924
+ "anchor",
2925
+ "contact-3d"
2835
2926
  ]
2836
2927
  },
2837
2928
  "direction": {
@@ -4252,6 +4343,9 @@
4252
4343
  "type": "number",
4253
4344
  "minimum": 0.05,
4254
4345
  "maximum": 2
4346
+ },
4347
+ "fitColliderFromModel": {
4348
+ "type": "boolean"
4255
4349
  }
4256
4350
  },
4257
4351
  "required": [
@@ -4278,6 +4372,69 @@
4278
4372
  "parameters"
4279
4373
  ]
4280
4374
  },
4375
+ {
4376
+ "type": "object",
4377
+ "additionalProperties": false,
4378
+ "properties": {
4379
+ "id": {
4380
+ "type": "string",
4381
+ "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
4382
+ },
4383
+ "componentId": {
4384
+ "type": "string",
4385
+ "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
4386
+ },
4387
+ "kind": {
4388
+ "const": "animate-3d"
4389
+ },
4390
+ "parameters": {
4391
+ "type": "object",
4392
+ "additionalProperties": false,
4393
+ "properties": {
4394
+ "clipName": {
4395
+ "type": "string",
4396
+ "maxLength": 96
4397
+ },
4398
+ "loop": {
4399
+ "enum": [
4400
+ "repeat",
4401
+ "once",
4402
+ "pingpong"
4403
+ ]
4404
+ },
4405
+ "speed": {
4406
+ "type": "number",
4407
+ "minimum": 0,
4408
+ "maximum": 4
4409
+ },
4410
+ "autoplay": {
4411
+ "type": "boolean"
4412
+ },
4413
+ "fadeSeconds": {
4414
+ "type": "number",
4415
+ "minimum": 0,
4416
+ "maximum": 2
4417
+ },
4418
+ "startTime": {
4419
+ "type": "number",
4420
+ "minimum": 0,
4421
+ "maximum": 60
4422
+ }
4423
+ },
4424
+ "required": [
4425
+ "loop",
4426
+ "speed",
4427
+ "autoplay"
4428
+ ]
4429
+ }
4430
+ },
4431
+ "required": [
4432
+ "id",
4433
+ "componentId",
4434
+ "kind",
4435
+ "parameters"
4436
+ ]
4437
+ },
4281
4438
  {
4282
4439
  "type": "object",
4283
4440
  "additionalProperties": false,
@@ -4688,6 +4845,104 @@
4688
4845
  "kind",
4689
4846
  "parameters"
4690
4847
  ]
4848
+ },
4849
+ {
4850
+ "type": "object",
4851
+ "additionalProperties": false,
4852
+ "properties": {
4853
+ "id": {
4854
+ "type": "string",
4855
+ "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
4856
+ },
4857
+ "componentId": {
4858
+ "type": "string",
4859
+ "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
4860
+ },
4861
+ "kind": {
4862
+ "const": "ui-anchor-3d"
4863
+ },
4864
+ "parameters": {
4865
+ "type": "object",
4866
+ "additionalProperties": false,
4867
+ "properties": {
4868
+ "targetId": {
4869
+ "type": "string",
4870
+ "maxLength": 96
4871
+ },
4872
+ "anchor": {
4873
+ "enum": [
4874
+ "center",
4875
+ "top",
4876
+ "bottom"
4877
+ ]
4878
+ },
4879
+ "offsetX": {
4880
+ "type": "number",
4881
+ "minimum": -1024,
4882
+ "maximum": 1024
4883
+ },
4884
+ "offsetY": {
4885
+ "type": "number",
4886
+ "minimum": -1024,
4887
+ "maximum": 1024
4888
+ },
4889
+ "fitToProjectedBounds": {
4890
+ "type": "boolean"
4891
+ },
4892
+ "paddingPx": {
4893
+ "type": "number",
4894
+ "minimum": 0,
4895
+ "maximum": 128
4896
+ },
4897
+ "minSizePx": {
4898
+ "type": "number",
4899
+ "minimum": 16,
4900
+ "maximum": 512
4901
+ },
4902
+ "maxSizePx": {
4903
+ "type": "number",
4904
+ "minimum": 32,
4905
+ "maximum": 1024
4906
+ },
4907
+ "squareBounds": {
4908
+ "type": "boolean"
4909
+ },
4910
+ "showHighlight": {
4911
+ "type": "boolean"
4912
+ },
4913
+ "highlightStyle": {
4914
+ "enum": [
4915
+ "ring",
4916
+ "pulse-ring",
4917
+ "box"
4918
+ ]
4919
+ },
4920
+ "highlightColor": {
4921
+ "type": "string",
4922
+ "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
4923
+ },
4924
+ "syncVisibility": {
4925
+ "type": "boolean"
4926
+ },
4927
+ "offscreen": {
4928
+ "enum": [
4929
+ "hide",
4930
+ "clamp",
4931
+ "none"
4932
+ ]
4933
+ }
4934
+ },
4935
+ "required": [
4936
+ "targetId"
4937
+ ]
4938
+ }
4939
+ },
4940
+ "required": [
4941
+ "id",
4942
+ "componentId",
4943
+ "kind",
4944
+ "parameters"
4945
+ ]
4691
4946
  }
4692
4947
  ]
4693
4948
  },
@@ -5446,6 +5701,32 @@
5446
5701
  "componentId"
5447
5702
  ]
5448
5703
  },
5704
+ {
5705
+ "type": "object",
5706
+ "additionalProperties": false,
5707
+ "properties": {
5708
+ "id": {
5709
+ "type": "string",
5710
+ "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
5711
+ },
5712
+ "kind": {
5713
+ "const": "modelAnimationEnd"
5714
+ },
5715
+ "componentId": {
5716
+ "type": "string",
5717
+ "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
5718
+ },
5719
+ "clipName": {
5720
+ "type": "string",
5721
+ "maxLength": 96
5722
+ }
5723
+ },
5724
+ "required": [
5725
+ "id",
5726
+ "kind",
5727
+ "componentId"
5728
+ ]
5729
+ },
5449
5730
  {
5450
5731
  "type": "object",
5451
5732
  "additionalProperties": false,
@@ -5615,6 +5896,14 @@
5615
5896
  "assetId": {
5616
5897
  "type": "string",
5617
5898
  "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
5899
+ },
5900
+ "slotId": {
5901
+ "enum": [
5902
+ "source",
5903
+ "texture",
5904
+ "normalMap",
5905
+ "emissiveMap"
5906
+ ]
5618
5907
  }
5619
5908
  },
5620
5909
  "required": [
@@ -6412,6 +6701,11 @@
6412
6701
  "sceneId": {
6413
6702
  "type": "string",
6414
6703
  "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
6704
+ },
6705
+ "delaySeconds": {
6706
+ "type": "number",
6707
+ "minimum": 0,
6708
+ "maximum": 10
6415
6709
  }
6416
6710
  },
6417
6711
  "required": [
@@ -6566,6 +6860,20 @@
6566
6860
  "type": "string",
6567
6861
  "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
6568
6862
  },
6863
+ "fromComponentId": {
6864
+ "type": "string",
6865
+ "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
6866
+ },
6867
+ "fromTeam": {
6868
+ "enum": [
6869
+ "any",
6870
+ "neutral",
6871
+ "player",
6872
+ "enemy",
6873
+ "hazard",
6874
+ "pickup"
6875
+ ]
6876
+ },
6569
6877
  "x": {
6570
6878
  "type": "number",
6571
6879
  "minimum": -500,
@@ -6581,6 +6889,21 @@
6581
6889
  "minimum": -500,
6582
6890
  "maximum": 500
6583
6891
  },
6892
+ "offsetX": {
6893
+ "type": "number",
6894
+ "minimum": -50,
6895
+ "maximum": 50
6896
+ },
6897
+ "offsetY": {
6898
+ "type": "number",
6899
+ "minimum": -50,
6900
+ "maximum": 50
6901
+ },
6902
+ "offsetZ": {
6903
+ "type": "number",
6904
+ "minimum": -50,
6905
+ "maximum": 50
6906
+ },
6584
6907
  "jitterX": {
6585
6908
  "type": "number",
6586
6909
  "minimum": 0,
@@ -6599,10 +6922,49 @@
6599
6922
  },
6600
6923
  "required": [
6601
6924
  "kind",
6602
- "prototypeId",
6603
- "x",
6604
- "y",
6605
- "z"
6925
+ "prototypeId"
6926
+ ]
6927
+ },
6928
+ {
6929
+ "type": "object",
6930
+ "additionalProperties": false,
6931
+ "properties": {
6932
+ "kind": {
6933
+ "const": "playModelAnimation"
6934
+ },
6935
+ "componentId": {
6936
+ "type": "string",
6937
+ "pattern": "^[a-z][a-z0-9_.-]{0,95}$"
6938
+ },
6939
+ "clipName": {
6940
+ "type": "string",
6941
+ "maxLength": 96
6942
+ },
6943
+ "loop": {
6944
+ "enum": [
6945
+ "repeat",
6946
+ "once",
6947
+ "pingpong"
6948
+ ]
6949
+ },
6950
+ "speed": {
6951
+ "type": "number",
6952
+ "minimum": 0,
6953
+ "maximum": 4
6954
+ },
6955
+ "fadeSeconds": {
6956
+ "type": "number",
6957
+ "minimum": 0,
6958
+ "maximum": 2
6959
+ },
6960
+ "restart": {
6961
+ "type": "boolean"
6962
+ }
6963
+ },
6964
+ "required": [
6965
+ "kind",
6966
+ "componentId",
6967
+ "clipName"
6606
6968
  ]
6607
6969
  },
6608
6970
  {
@@ -6707,7 +7069,8 @@
6707
7069
  "image/jpeg",
6708
7070
  "audio/wav",
6709
7071
  "audio/mpeg",
6710
- "model/tora-mesh"
7072
+ "model/tora-mesh",
7073
+ "model/gltf-binary"
6711
7074
  ]
6712
7075
  },
6713
7076
  "bytes": {
@@ -7,12 +7,17 @@ function showBootError(error) {
7
7
  document.body.innerHTML = `
8
8
  <main class="tora-creator-wrap">
9
9
  <div class="tora-creator-card">
10
- <h2>Tora editor needs a server restart</h2>
10
+ <h2>Could not connect to Tora Studio</h2>
11
11
  <p>${String(error?.message ?? error).replace(/[<>&]/g, '')}</p>
12
- <p>Stop and re-run <code>npm run dev:editor</code> in your terminal, then refresh this page.</p>
12
+ <p>Start Tora Studio locally with <code>npx @tora-editor/tora editor</code> (or <code>npm run dev:editor</code> from a source checkout), then click Retry below.</p>
13
+ <div class="review-actions">
14
+ <button type="button" class="review-primary" id="tora-boot-retry">Retry connection</button>
15
+ </div>
13
16
  </div>
14
17
  </main>
15
18
  `;
19
+ const retry = document.getElementById('tora-boot-retry');
20
+ if (retry) retry.onclick = () => location.reload();
16
21
  }
17
22
 
18
23
  async function fetchReviewMetadata(projectId) {
@@ -34,8 +39,8 @@ async function tryOpenDemo(projectId) {
34
39
 
35
40
  try {
36
41
  if (query.get('view') === 'new' || !project) {
37
- const {openIntake} = await import('./review-intake.js');
38
- await openIntake(query.get('intake'));
42
+ const {openLauncher} = await import('./project-launcher.js');
43
+ await openLauncher();
39
44
  } else {
40
45
  let activeId = project;
41
46
  let metadata = await fetchReviewMetadata(activeId);
@@ -54,8 +59,8 @@ try {
54
59
  const {openReview} = await import('./review-editor.js');
55
60
  await openReview(activeId, metadata);
56
61
  } else {
57
- const {openIntake} = await import('./review-intake.js');
58
- await openIntake(query.get('intake'));
62
+ const {openLauncher} = await import('./project-launcher.js');
63
+ await openLauncher();
59
64
  }
60
65
  }
61
66
  } catch (error) {