@holoscript/core 8.0.5 → 8.0.7

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 (248) hide show
  1. package/README.md +34 -34
  2. package/bin/holoscript.cjs +1 -1
  3. package/dist/GLTFPipeline-3EJLL3TS.cjs +38 -0
  4. package/dist/GLTFPipeline-3OWJV2VK.js +17 -0
  5. package/dist/{HoloScriptPlusParser-A2W7OCN2.cjs → HoloScriptPlusParser-ADWRY5OS.cjs} +15 -15
  6. package/dist/{HoloScriptPlusParser-7FBIFUFC.js → HoloScriptPlusParser-JLJDXHSC.js} +4 -4
  7. package/dist/HoloScriptPlusParser-QCGFPWIL.cjs +27 -0
  8. package/dist/{HoloScriptPlusParser-F2Z56FJR.js → HoloScriptPlusParser-WENAFEFV.js} +5 -5
  9. package/dist/HoloScriptRuntime-GGRVEU4T.cjs +19 -0
  10. package/dist/HoloScriptRuntime-GJK6VJPH.js +10 -0
  11. package/dist/{USDZExporter-3FWJ25JI.cjs → USDZExporter-AUHZODOF.cjs} +15 -4
  12. package/dist/{USDZExporter-D2HQLQYK.js → USDZExporter-GXB4AUSG.js} +15 -4
  13. package/dist/{chunk-V6MKC2FZ.js → chunk-22Q5A6RV.js} +3 -3
  14. package/dist/{chunk-IUDGEUDO.cjs → chunk-2BZHWUSR.cjs} +27 -15
  15. package/dist/{chunk-XJAN7CZG.cjs → chunk-2GCNOI2U.cjs} +2 -2
  16. package/dist/{chunk-CCATWPXM.js → chunk-2OWDB4FB.js} +13 -25
  17. package/dist/{chunk-N75IH2HY.js → chunk-2Y3V22SG.js} +5 -14
  18. package/dist/{chunk-MXFUTKCO.js → chunk-33YHE7HX.js} +3 -7
  19. package/dist/{chunk-GYZE55MO.js → chunk-3GWWJT7L.js} +4 -4
  20. package/dist/{chunk-CMT5NMMS.js → chunk-3NGDZZR4.js} +4 -4
  21. package/dist/{chunk-WRLUBRKS.cjs → chunk-3SKLAUDD.cjs} +2 -2
  22. package/dist/{chunk-KKFZ3B6J.cjs → chunk-3VBO3IYQ.cjs} +2 -2
  23. package/dist/{chunk-YF2I3MV3.js → chunk-47RUFYKR.js} +2 -2
  24. package/dist/{chunk-LHAXPADA.js → chunk-4JGRWHZJ.js} +7 -5
  25. package/dist/{chunk-ROHLEP2W.cjs → chunk-4W5G5QVL.cjs} +26 -26
  26. package/dist/{chunk-GQHQOPXZ.cjs → chunk-4YNYPHH3.cjs} +186 -17
  27. package/dist/{chunk-ZMCVKFXI.cjs → chunk-56VOWURB.cjs} +154 -47
  28. package/dist/{chunk-FXKAW7ZO.cjs → chunk-5A4TCHOC.cjs} +3 -3
  29. package/dist/{chunk-M56JSP4A.js → chunk-5EDVCNRT.js} +2 -2
  30. package/dist/{chunk-UJXISJBN.js → chunk-5ET6L4NS.js} +3 -3
  31. package/dist/{chunk-5NWINHR5.cjs → chunk-63ZGNR2T.cjs} +43 -39
  32. package/dist/{chunk-NG77ATEW.cjs → chunk-6PRZIHGL.cjs} +6 -6
  33. package/dist/{chunk-3WZEJHUQ.cjs → chunk-7DMMMBCY.cjs} +7 -7
  34. package/dist/{chunk-FHP6LXJS.js → chunk-7E7GCQCK.js} +2 -2
  35. package/dist/{chunk-YN2YWTXW.js → chunk-7VMGP2FW.js} +44 -28
  36. package/dist/{chunk-OJXHYNXN.js → chunk-7X5PNIQJ.js} +3 -3
  37. package/dist/{chunk-FYSPZT4V.cjs → chunk-7ZHYEITD.cjs} +11 -11
  38. package/dist/{chunk-KPJL34Y7.cjs → chunk-ACVWFGBI.cjs} +2 -2
  39. package/dist/{chunk-UWXE23BT.cjs → chunk-AWB7QYY6.cjs} +6 -6
  40. package/dist/{chunk-UO4WPSGQ.js → chunk-B4EKV6HQ.js} +154 -48
  41. package/dist/{chunk-2X7NGX3M.js → chunk-BRNUPDHJ.js} +5 -5
  42. package/dist/{chunk-D3STJ56J.js → chunk-BTKZGHAV.js} +23 -11
  43. package/dist/{chunk-I5CDNPPE.cjs → chunk-C4GSLCHE.cjs} +331 -125
  44. package/dist/{chunk-QPSKHBJP.js → chunk-C7ZBSV2Q.js} +13 -7
  45. package/dist/{chunk-YN6V7R3L.cjs → chunk-CCPSNT6B.cjs} +12 -7
  46. package/dist/{chunk-NW5G5FBQ.js → chunk-DD2JQ7TS.js} +4 -3
  47. package/dist/{chunk-JD7CIZ33.js → chunk-DUCB6LGL.js} +8 -10
  48. package/dist/{chunk-ANXZFVY2.js → chunk-DY72BMU5.js} +3 -3
  49. package/dist/{chunk-AIA52I7T.cjs → chunk-EBS32AJI.cjs} +6 -4
  50. package/dist/{chunk-6DO5IZ5N.cjs → chunk-EDPYCLRC.cjs} +85 -65
  51. package/dist/{chunk-WQKJSGVS.js → chunk-F2G6CWFT.js} +271 -66
  52. package/dist/{chunk-AVJHHUC5.cjs → chunk-F5LKJ6F5.cjs} +43 -31
  53. package/dist/{chunk-ZU7NIRT6.js → chunk-FGMDMJM7.js} +10 -5
  54. package/dist/{chunk-YVD3CSO3.js → chunk-FHQFPYV4.js} +4 -4
  55. package/dist/{chunk-YIMN575O.js → chunk-FNHJRI32.js} +8 -5
  56. package/dist/{chunk-EXUP2BUM.cjs → chunk-FT6TDR2O.cjs} +27 -27
  57. package/dist/{chunk-BRQJKJGT.cjs → chunk-FWVYAMNW.cjs} +4 -4
  58. package/dist/{chunk-PGANYCAG.cjs → chunk-G25QVBA5.cjs} +4 -3
  59. package/dist/{chunk-XB274MW5.cjs → chunk-G6PNEASF.cjs} +13 -13
  60. package/dist/{chunk-2BSMSUCE.js → chunk-GASCWJK5.js} +2 -2
  61. package/dist/{chunk-HKEXJUWS.cjs → chunk-GH6C2QGW.cjs} +12 -21
  62. package/dist/{chunk-WRKUDAZJ.js → chunk-GSOUNWEL.js} +35 -27
  63. package/dist/{chunk-QPOQ7VPI.js → chunk-GTA4Q3A3.js} +2 -2
  64. package/dist/{chunk-JIYN45TV.cjs → chunk-GVFJ6T4S.cjs} +3 -7
  65. package/dist/{chunk-IVY74O6C.js → chunk-GVOKJNUN.js} +50 -11
  66. package/dist/{chunk-GZG4KA4E.js → chunk-GW3LKD5C.js} +6 -4
  67. package/dist/{chunk-NCWCUZNS.cjs → chunk-HFSVMKM3.cjs} +14 -14
  68. package/dist/{chunk-IUTY5WQ2.cjs → chunk-HLFDZ35S.cjs} +5 -5
  69. package/dist/{chunk-IWC5DM2M.cjs → chunk-I76GIKN7.cjs} +20 -16
  70. package/dist/{chunk-ON5QSY35.cjs → chunk-KAIVDEIG.cjs} +175 -59
  71. package/dist/{chunk-R24NNAEG.js → chunk-KCPHASCO.js} +18 -6
  72. package/dist/{chunk-T5J7ZKP3.cjs → chunk-KOUAQL2B.cjs} +16 -13
  73. package/dist/{chunk-GMP623FG.cjs → chunk-KQU64CIX.cjs} +2 -2
  74. package/dist/{chunk-MVPBWHAC.js → chunk-L5U4W6JC.js} +4 -4
  75. package/dist/{chunk-2IWC4FP7.cjs → chunk-LMJ5EBV7.cjs} +10 -10
  76. package/dist/{chunk-KKP7JKN4.cjs → chunk-LODTHGST.cjs} +18 -12
  77. package/dist/{chunk-4V2E7U7Q.cjs → chunk-LPS5AMQD.cjs} +8 -8
  78. package/dist/{chunk-PY37LNDP.js → chunk-LWUOUCYL.js} +9 -5
  79. package/dist/{chunk-6CTRH7HT.cjs → chunk-LYJJI7ZK.cjs} +12 -14
  80. package/dist/{chunk-GTU2Z2WW.cjs → chunk-M7K4LE66.cjs} +5 -14
  81. package/dist/{chunk-URG2SJLK.js → chunk-MDR235RZ.js} +3 -7
  82. package/dist/{chunk-E4M5OAYO.js → chunk-MSYSQ2AJ.js} +132 -16
  83. package/dist/{chunk-TWUXUCEW.cjs → chunk-NGBXXZLL.cjs} +50 -62
  84. package/dist/{chunk-FFAOS5HQ.js → chunk-NHJLP37F.js} +6 -6
  85. package/dist/{chunk-S3MDHNKB.cjs → chunk-NHYRRAGI.cjs} +5 -5
  86. package/dist/{chunk-U44IKGG7.cjs → chunk-O3MGZDCT.cjs} +89 -52
  87. package/dist/{chunk-GIOYPNTH.js → chunk-OABEO6HH.js} +185 -16
  88. package/dist/{chunk-KQCN6AKJ.cjs → chunk-OS533P33.cjs} +37 -29
  89. package/dist/{chunk-DAJXW4KX.js → chunk-PABONWKI.js} +24 -11
  90. package/dist/{chunk-QACVP4PM.js → chunk-PXNZ6TME.js} +77 -59
  91. package/dist/{chunk-OMXII44L.js → chunk-Q2Q34NF3.js} +63 -26
  92. package/dist/{chunk-OH2FAIVU.js → chunk-QBWNJXNR.js} +10 -6
  93. package/dist/{chunk-XKTPFXGA.js → chunk-QFU53KRH.js} +4 -4
  94. package/dist/{chunk-CR4FMIWL.cjs → chunk-QGMUTVVH.cjs} +17 -17
  95. package/dist/{chunk-MYY4PMWX.cjs → chunk-RUVBFAF7.cjs} +50 -11
  96. package/dist/{chunk-QD32ADK6.js → chunk-S762UEV5.js} +5 -5
  97. package/dist/{chunk-HNDK4IQU.cjs → chunk-SH5PPVK7.cjs} +61 -45
  98. package/dist/{chunk-JC5YBPSF.cjs → chunk-SKZPC5AG.cjs} +5 -5
  99. package/dist/{chunk-TJHVSBP2.js → chunk-SLHLXUMO.js} +10 -4
  100. package/dist/{chunk-5KVXXUD4.js → chunk-SSSN7VAM.js} +3 -3
  101. package/dist/{chunk-KMC6CQH3.js → chunk-SXOSDZD6.js} +6 -6
  102. package/dist/{chunk-J32ZJZJH.js → chunk-SYTRBGDS.js} +2 -2
  103. package/dist/{chunk-CIWWXYHZ.cjs → chunk-T6W3Z3SH.cjs} +2 -2
  104. package/dist/{chunk-QXH7QDSZ.js → chunk-TEVX443G.js} +44 -51
  105. package/dist/{chunk-UFZZ7TSN.cjs → chunk-TQ377OLB.cjs} +23 -21
  106. package/dist/{chunk-PJGFU5DN.cjs → chunk-TRCGG42I.cjs} +195 -152
  107. package/dist/{chunk-H652NHX5.js → chunk-TVANHNJ7.js} +30 -23
  108. package/dist/{chunk-EKBKLK7P.js → chunk-UDE4OZMR.js} +3 -3
  109. package/dist/{chunk-LKWQNUE6.cjs → chunk-UGXHYIWT.cjs} +5 -5
  110. package/dist/{chunk-JBNDTXXV.cjs → chunk-ULMSSHCJ.cjs} +21 -21
  111. package/dist/{chunk-YWOBW2PV.cjs → chunk-UOL6Y5TD.cjs} +18 -18
  112. package/dist/{chunk-5S7RKFGR.cjs → chunk-UVFI7XIR.cjs} +10 -4
  113. package/dist/{chunk-7M3PNU2M.cjs → chunk-V7AKE5VT.cjs} +10 -10
  114. package/dist/{chunk-J7XZV333.js → chunk-VEPGBETF.js} +6 -6
  115. package/dist/{chunk-UWJHCOH2.js → chunk-VF257YKO.js} +4 -4
  116. package/dist/{chunk-4N4SXXWF.js → chunk-VSACG2AR.js} +3 -3
  117. package/dist/{chunk-ZDSYWBIE.cjs → chunk-VW5CRJBE.cjs} +3 -7
  118. package/dist/{chunk-YT5L3B57.cjs → chunk-WFKVS2K4.cjs} +65 -27
  119. package/dist/{chunk-J6M4FPK5.js → chunk-WXQ57LAO.js} +3 -3
  120. package/dist/{chunk-5H2G27PK.cjs → chunk-X27QRG4C.cjs} +38 -38
  121. package/dist/{chunk-TVHSPJ4N.cjs → chunk-X2AVEAZM.cjs} +30 -23
  122. package/dist/{chunk-DHO2YRIM.js → chunk-XQ5MWMP2.js} +4 -4
  123. package/dist/{chunk-XIVIE43A.cjs → chunk-XW6IXEQH.cjs} +26 -13
  124. package/dist/{chunk-YIVFJNYV.js → chunk-Y3ZFVUUU.js} +2 -2
  125. package/dist/{chunk-7H33U5SM.cjs → chunk-Y57W2CT5.cjs} +2 -2
  126. package/dist/{chunk-OBIYPYYS.cjs → chunk-YCM6QQRT.cjs} +46 -53
  127. package/dist/{chunk-MBOOR7X4.js → chunk-YFVQWSNJ.js} +3 -3
  128. package/dist/{chunk-ADADVMXY.js → chunk-YFWRJW4B.js} +2 -2
  129. package/dist/{chunk-ONDAWTW4.js → chunk-YN6IETRZ.js} +179 -136
  130. package/dist/{chunk-4SDKXQ4C.js → chunk-YRRAUB35.js} +4 -4
  131. package/dist/{chunk-OBP5REIV.js → chunk-Z6PMDS4G.js} +62 -24
  132. package/dist/{chunk-BOVPWH4H.js → chunk-ZA34AN3R.js} +8 -17
  133. package/dist/{chunk-EKYL4PE3.cjs → chunk-ZLF4YF3U.cjs} +2 -2
  134. package/dist/{chunk-6FH72EB2.cjs → chunk-ZPZAVHXL.cjs} +20 -20
  135. package/dist/cli/holoscript-runner.cjs +39 -22
  136. package/dist/cli/holoscript-runner.js +32 -15
  137. package/dist/compiler/GasOptimizationAnalyzer.d.ts +73 -0
  138. package/dist/compiler/NFTMarketplaceCompiler.d.ts +23 -0
  139. package/dist/compiler/agent-inference.cjs +7 -7
  140. package/dist/compiler/agent-inference.js +3 -3
  141. package/dist/compiler/android-xr.cjs +8 -8
  142. package/dist/compiler/android-xr.js +6 -6
  143. package/dist/compiler/android.cjs +6 -6
  144. package/dist/compiler/android.js +4 -4
  145. package/dist/compiler/ar.cjs +6 -6
  146. package/dist/compiler/ar.js +4 -4
  147. package/dist/compiler/babylon.cjs +8 -8
  148. package/dist/compiler/babylon.js +7 -7
  149. package/dist/compiler/business-quest.cjs +9 -9
  150. package/dist/compiler/business-quest.js +1 -1
  151. package/dist/compiler/context.cjs +6 -6
  152. package/dist/compiler/context.js +3 -3
  153. package/dist/compiler/domain-block-utils.cjs +153 -153
  154. package/dist/compiler/domain-block-utils.js +4 -4
  155. package/dist/compiler/dtdl.cjs +7 -7
  156. package/dist/compiler/dtdl.js +4 -4
  157. package/dist/compiler/gltf-pipeline.cjs +8 -8
  158. package/dist/compiler/gltf-pipeline.js +1 -1
  159. package/dist/compiler/godot.cjs +6 -6
  160. package/dist/compiler/godot.js +5 -5
  161. package/dist/compiler/incremental.cjs +8 -8
  162. package/dist/compiler/incremental.js +3 -3
  163. package/dist/compiler/index.cjs +530 -355
  164. package/dist/compiler/index.d.ts +20 -0
  165. package/dist/compiler/index.js +374 -210
  166. package/dist/compiler/ios.cjs +6 -6
  167. package/dist/compiler/ios.js +4 -4
  168. package/dist/compiler/llm-provider-capabilities.cjs +6 -6
  169. package/dist/compiler/llm-provider-capabilities.js +3 -3
  170. package/dist/compiler/multi-layer.cjs +10 -10
  171. package/dist/compiler/multi-layer.js +9 -9
  172. package/dist/compiler/openxr.cjs +7 -7
  173. package/dist/compiler/openxr.js +6 -6
  174. package/dist/compiler/playcanvas.cjs +6 -6
  175. package/dist/compiler/playcanvas.js +5 -5
  176. package/dist/compiler/r3f.cjs +13 -13
  177. package/dist/compiler/r3f.js +8 -8
  178. package/dist/compiler/sdf.cjs +7 -7
  179. package/dist/compiler/sdf.js +5 -5
  180. package/dist/compiler/state.cjs +6 -6
  181. package/dist/compiler/state.js +4 -4
  182. package/dist/compiler/trait-composition.cjs +8 -8
  183. package/dist/compiler/trait-composition.js +4 -4
  184. package/dist/compiler/unity.cjs +7 -7
  185. package/dist/compiler/unity.js +6 -6
  186. package/dist/compiler/unreal.cjs +8 -8
  187. package/dist/compiler/unreal.js +6 -6
  188. package/dist/compiler/urdf.cjs +14 -14
  189. package/dist/compiler/urdf.js +5 -5
  190. package/dist/compiler/usd-physics.cjs +7 -7
  191. package/dist/compiler/usd-physics.js +4 -4
  192. package/dist/compiler/visionos.cjs +7 -7
  193. package/dist/compiler/visionos.js +6 -6
  194. package/dist/compiler/vrchat.cjs +7 -7
  195. package/dist/compiler/vrchat.js +5 -5
  196. package/dist/compiler/vrr.cjs +7 -7
  197. package/dist/compiler/vrr.js +5 -5
  198. package/dist/compiler/wasm.cjs +10 -10
  199. package/dist/compiler/wasm.js +5 -5
  200. package/dist/compiler/webgpu.cjs +6 -6
  201. package/dist/compiler/webgpu.js +5 -5
  202. package/dist/coordinators/index.cjs +27 -10
  203. package/dist/coordinators/index.js +27 -10
  204. package/dist/debugger.cjs +6 -6
  205. package/dist/debugger.js +4 -4
  206. package/dist/entries/scripting.cjs +6 -6
  207. package/dist/entries/scripting.js +2 -2
  208. package/dist/hololand/index.cjs +36 -36
  209. package/dist/hololand/index.js +2 -2
  210. package/dist/index.cjs +1080 -2190
  211. package/dist/index.js +467 -1577
  212. package/dist/math/tropical-spmv.cjs +10 -10
  213. package/dist/math/tropical-spmv.js +1 -1
  214. package/dist/math/vec3.cjs +13 -13
  215. package/dist/math/vec3.js +1 -1
  216. package/dist/parser/NFTMarketplaceTypes.d.ts +191 -0
  217. package/dist/parser.cjs +16 -16
  218. package/dist/parser.js +5 -5
  219. package/dist/reconstruction/index.cjs +37 -37
  220. package/dist/reconstruction/index.js +4 -4
  221. package/dist/runtime.cjs +280 -74
  222. package/dist/runtime.d.ts +10 -1
  223. package/dist/runtime.js +268 -70
  224. package/dist/self-improvement/index.cjs +12 -4
  225. package/dist/self-improvement/index.js +12 -4
  226. package/dist/{src-HCCCSYP7.js → src-J6CM4AUR.js} +91 -33
  227. package/dist/{src-4ROC227P.cjs → src-PT2FERDV.cjs} +93 -35
  228. package/dist/testing.cjs +5 -5
  229. package/dist/testing.js +1 -1
  230. package/dist/traits/botanical-lotus.cjs +52 -48
  231. package/dist/traits/botanical-lotus.js +2 -2
  232. package/dist/traits/engines/index.cjs +39 -39
  233. package/dist/traits/engines/index.d.ts +279 -0
  234. package/dist/traits/engines/index.js +4 -4
  235. package/dist/traits/index.cjs +889 -773
  236. package/dist/traits/index.js +371 -259
  237. package/dist/world/index.cjs +21 -18
  238. package/dist/world/index.js +21 -18
  239. package/dist/world-model/index.cjs +11 -5
  240. package/dist/world-model/index.d.ts +8 -0
  241. package/dist/world-model/index.js +11 -5
  242. package/package.json +75 -69
  243. package/LICENSE +0 -21
  244. package/dist/GLTFPipeline-37FPRVPH.js +0 -17
  245. package/dist/GLTFPipeline-EK3LFJKW.cjs +0 -38
  246. package/dist/HoloScriptPlusParser-WKHRIH6T.cjs +0 -27
  247. package/dist/HoloScriptRuntime-ACDFKVVH.js +0 -10
  248. package/dist/HoloScriptRuntime-ON2OQVEF.cjs +0 -19
@@ -129,29 +129,11 @@ function validateBotanicalLotusConfig(input = {}) {
129
129
  material.subsurface_radius_rgb.forEach(
130
130
  (value, index) => addRangeError(errors, `material.subsurface_radius_rgb[${index}]`, value, 0, 2)
131
131
  );
132
- addRangeError(
133
- errors,
134
- "material.petal_translucency_base",
135
- material.petal_translucency_base,
136
- 0,
137
- 1
138
- );
139
- addRangeError(
140
- errors,
141
- "material.petal_translucency_edge",
142
- material.petal_translucency_edge,
143
- 0,
144
- 1
145
- );
132
+ addRangeError(errors, "material.petal_translucency_base", material.petal_translucency_base, 0, 1);
133
+ addRangeError(errors, "material.petal_translucency_edge", material.petal_translucency_edge, 0, 1);
146
134
  addRangeError(errors, "material.roughness", material.roughness, 0, 1);
147
135
  addRangeError(errors, "material.ior", material.ior, 1, 2.5);
148
- addRangeError(
149
- errors,
150
- "material.vein_normal_intensity",
151
- material.vein_normal_intensity,
152
- 0,
153
- 0.25
154
- );
136
+ addRangeError(errors, "material.vein_normal_intensity", material.vein_normal_intensity, 0, 0.25);
155
137
  addRangeError(errors, "material.edge_curl_intensity", material.edge_curl_intensity, 0, 1);
156
138
  addRangeError(errors, "material.gravity_sag_outer", material.gravity_sag_outer, 0, 1);
157
139
  addRangeError(errors, "material.sheen", material.sheen, 0, 1);
@@ -171,13 +153,7 @@ function validateBotanicalLotusConfig(input = {}) {
171
153
  errors.push(`geometry.petal_rings[${index}].count must be a positive integer`);
172
154
  }
173
155
  addRangeError(errors, `geometry.petal_rings[${index}].cup`, ring.cup, 0, 1);
174
- addRangeError(
175
- errors,
176
- `geometry.petal_rings[${index}].gravity_sag`,
177
- ring.gravity_sag,
178
- 0,
179
- 1
180
- );
156
+ addRangeError(errors, `geometry.petal_rings[${index}].gravity_sag`, ring.gravity_sag, 0, 1);
181
157
  });
182
158
  if (!Number.isInteger(geometry.stamen_filament_count) || geometry.stamen_filament_count <= 0) {
183
159
  errors.push("geometry.stamen_filament_count must be a positive integer");
@@ -528,9 +504,10 @@ function lotusSmoothstep(edge0, edge1, x) {
528
504
  return t * t * (3 - 2 * t);
529
505
  }
530
506
  function lotusPetalHalfWidthFraction(v) {
531
- const broad = Math.sin(Math.PI * Math.pow(v, 0.8));
532
- const tipPoint = 1 - lotusSmoothstep(0.82, 1, v) * 0.55;
533
- return Math.max(0, broad * tipPoint);
507
+ const broad = Math.sin(Math.PI * Math.pow(v, 1.3));
508
+ const baseFill = 0.25 + 0.75 * lotusSmoothstep(0, 0.18, v);
509
+ const tipRound = 1 - lotusSmoothstep(0.9, 1, v) * 0.3;
510
+ return Math.max(0, broad * baseFill * tipRound);
534
511
  }
535
512
  function buildLotusPetalGeometryData(params = {}) {
536
513
  const P = { ...exports.DEFAULT_LOTUS_PETAL_GEOMETRY_PARAMS, ...params };
@@ -617,7 +594,69 @@ function buildLotusPetalGeometryData(params = {}) {
617
594
  k += 6;
618
595
  }
619
596
  }
620
- return { positions, normals, petalUv, veinPhase, indices, vertexCount };
597
+ const thickness = P.thickness ?? 0;
598
+ if (thickness <= 0) {
599
+ return { positions, normals, petalUv, veinPhase, indices, vertexCount };
600
+ }
601
+ const N = vertexCount;
602
+ const total = N * 2;
603
+ const sPos = new Float32Array(total * 3);
604
+ const sNorm = new Float32Array(total * 3);
605
+ const sUv = new Float32Array(total * 2);
606
+ const sVein = new Float32Array(total);
607
+ sPos.set(positions, 0);
608
+ sNorm.set(normals, 0);
609
+ sUv.set(petalUv, 0);
610
+ sVein.set(veinPhase, 0);
611
+ for (let idx = 0; idx < N; idx += 1) {
612
+ const nx = normals[idx * 3];
613
+ const ny = normals[idx * 3 + 1];
614
+ const nz = normals[idx * 3 + 2];
615
+ sPos[(N + idx) * 3] = positions[idx * 3] - nx * thickness;
616
+ sPos[(N + idx) * 3 + 1] = positions[idx * 3 + 1] - ny * thickness;
617
+ sPos[(N + idx) * 3 + 2] = positions[idx * 3 + 2] - nz * thickness;
618
+ sNorm[(N + idx) * 3] = -nx;
619
+ sNorm[(N + idx) * 3 + 1] = -ny;
620
+ sNorm[(N + idx) * 3 + 2] = -nz;
621
+ sUv[(N + idx) * 2] = petalUv[idx * 2];
622
+ sUv[(N + idx) * 2 + 1] = petalUv[idx * 2 + 1];
623
+ sVein[N + idx] = veinPhase[idx];
624
+ }
625
+ const boundary = [];
626
+ for (let i = 0; i < nu; i += 1) boundary.push(i);
627
+ for (let j = 0; j < nv; j += 1) boundary.push(j * cols + nu);
628
+ for (let i = nu; i > 0; i -= 1) boundary.push(nv * cols + i);
629
+ for (let j = nv; j > 0; j -= 1) boundary.push(j * cols);
630
+ const frontTris = indices.length;
631
+ const sIdx = new Uint32Array(frontTris * 2 + boundary.length * 6);
632
+ sIdx.set(indices, 0);
633
+ let bk = frontTris;
634
+ for (let tIdx = 0; tIdx < frontTris; tIdx += 3) {
635
+ sIdx[bk] = indices[tIdx] + N;
636
+ sIdx[bk + 1] = indices[tIdx + 2] + N;
637
+ sIdx[bk + 2] = indices[tIdx + 1] + N;
638
+ bk += 3;
639
+ }
640
+ let ek = frontTris * 2;
641
+ for (let e = 0; e < boundary.length; e += 1) {
642
+ const a = boundary[e];
643
+ const b = boundary[(e + 1) % boundary.length];
644
+ sIdx[ek] = a;
645
+ sIdx[ek + 1] = b;
646
+ sIdx[ek + 2] = b + N;
647
+ sIdx[ek + 3] = a;
648
+ sIdx[ek + 4] = b + N;
649
+ sIdx[ek + 5] = a + N;
650
+ ek += 6;
651
+ }
652
+ return {
653
+ positions: sPos,
654
+ normals: sNorm,
655
+ petalUv: sUv,
656
+ veinPhase: sVein,
657
+ indices: sIdx,
658
+ vertexCount: total
659
+ };
621
660
  }
622
661
  function lotusPetalGeometryParamsFromProfile(profile, options = {}) {
623
662
  const rings = profile.petal_rings;
@@ -654,6 +693,25 @@ function buildLotusFlowerPlacements(profile = createBotanicalLotusRenderProfile(
654
693
  });
655
694
  return placements;
656
695
  }
696
+ function buildLotusSceneScaffold() {
697
+ return {
698
+ waterSize: 60,
699
+ stem: { height: 2.4, topRadius: 0.045, bottomRadius: 0.06 },
700
+ receptacle: { radius: 0.42, squashY: 0.72, lift: 0.04 },
701
+ calyx: { radius: 0.16, height: 0.28, drop: 0.18 },
702
+ pads: [
703
+ { pos: [2.4, 0.02, 1.1], radius: 1.2, rotation: 0.3, dark: false },
704
+ { pos: [-2.7, 0.02, -0.6], radius: 1.5, rotation: 1.2, dark: true },
705
+ { pos: [0.6, 0.02, -3], radius: 1, rotation: 2.5, dark: false },
706
+ { pos: [-1.4, 0.02, 2.8], radius: 1.1, rotation: 3.6, dark: true }
707
+ ],
708
+ leaves: [
709
+ { pos: [3.7, 0, 1.5], height: 1.5, radius: 1.4, tilt: 0.22, rotation: 0.4, dark: false },
710
+ { pos: [-4, 0, -1.3], height: 1.2, radius: 1.6, tilt: 0.3, rotation: 1.6, dark: true },
711
+ { pos: [1.4, 0, -3.7], height: 1, radius: 1.2, tilt: 0.18, rotation: 2.7, dark: false }
712
+ ]
713
+ };
714
+ }
657
715
  function lotusMulberry32(seed) {
658
716
  let a = seed >>> 0;
659
717
  return () => {
@@ -721,7 +779,14 @@ function simulateLotusMorphogenesis(params) {
721
779
  primordia,
722
780
  emergentDivergenceDeg: meanDeg,
723
781
  divergenceSpreadDeg: spreadDeg,
724
- resolvedParams: { count, seed, apexRadius, radialVelocity, inhibitionExponent: s, angularSamples: samples }
782
+ resolvedParams: {
783
+ count,
784
+ seed,
785
+ apexRadius,
786
+ radialVelocity,
787
+ inhibitionExponent: s,
788
+ angularSamples: samples
789
+ }
725
790
  };
726
791
  }
727
792
  function lotusInhibitionAt(theta, primordia, range, apexRadius) {
@@ -774,8 +839,18 @@ function stepLotusMeristem(m) {
774
839
  }
775
840
  let off = bestK;
776
841
  if (bestK > 0 && bestK < m.samples) {
777
- const y0 = lotusInhibitionAt(m.last + m.wMin + m.step * (bestK - 1), m.primordia, m.range, m.apexRadius);
778
- const y2 = lotusInhibitionAt(m.last + m.wMin + m.step * (bestK + 1), m.primordia, m.range, m.apexRadius);
842
+ const y0 = lotusInhibitionAt(
843
+ m.last + m.wMin + m.step * (bestK - 1),
844
+ m.primordia,
845
+ m.range,
846
+ m.apexRadius
847
+ );
848
+ const y2 = lotusInhibitionAt(
849
+ m.last + m.wMin + m.step * (bestK + 1),
850
+ m.primordia,
851
+ m.range,
852
+ m.apexRadius
853
+ );
779
854
  const den = y0 - 2 * bestI + y2;
780
855
  if (Math.abs(den) > 1e-12) off = bestK + 0.5 * (y0 - y2) / den;
781
856
  }
@@ -1133,7 +1208,11 @@ function stepLotusPetalTurgor(state, dt, developmentalTime) {
1133
1208
  const rate = state.turgorStiffness * state.turgor * dt;
1134
1209
  for (let i = 0; i < state.segments; i += 1) {
1135
1210
  const s = (i + 0.5) / state.segments;
1136
- const maturity = lotusSmoothstep01(0, 1, (t - state.matureStart - s * state.acropetalDelay) / state.matureSpan);
1211
+ const maturity = lotusSmoothstep01(
1212
+ 0,
1213
+ 1,
1214
+ (t - state.matureStart - s * state.acropetalDelay) / state.matureSpan
1215
+ );
1137
1216
  const kappaRest = state.budCurl * (1 - maturity) + state.openCurl * maturity;
1138
1217
  state.kappaActual[i] += rate * (kappaRest - state.kappaActual[i]);
1139
1218
  }
@@ -1308,7 +1387,11 @@ var init_BotanicalLotusTrait = chunkHCCQLAA4_cjs.__esm({
1308
1387
  reference_anchors: updatedAnchors
1309
1388
  });
1310
1389
  state.config = updatedConfig;
1311
- state.profile = createBotanicalLotusRenderProfile(updatedConfig, state.placement, state.lighting);
1390
+ state.profile = createBotanicalLotusRenderProfile(
1391
+ updatedConfig,
1392
+ state.placement,
1393
+ state.lighting
1394
+ );
1312
1395
  context.emit?.("botanical_lotus_reference_updated", {
1313
1396
  node,
1314
1397
  anchorId,
@@ -1329,7 +1412,11 @@ var init_BotanicalLotusTrait = chunkHCCQLAA4_cjs.__esm({
1329
1412
  surface_normal: surfaceNormal,
1330
1413
  world_position: worldPosition
1331
1414
  };
1332
- state.profile = createBotanicalLotusRenderProfile(state.config, state.placement, state.lighting);
1415
+ state.profile = createBotanicalLotusRenderProfile(
1416
+ state.config,
1417
+ state.placement,
1418
+ state.lighting
1419
+ );
1333
1420
  context.emit?.("botanical_lotus_surface_bound", {
1334
1421
  node,
1335
1422
  surfaceAnchorId,
@@ -1351,7 +1438,11 @@ var init_BotanicalLotusTrait = chunkHCCQLAA4_cjs.__esm({
1351
1438
  color_temperature_k: colorTemperatureK,
1352
1439
  dominant_direction: dominantDirection
1353
1440
  };
1354
- state.profile = createBotanicalLotusRenderProfile(state.config, state.placement, state.lighting);
1441
+ state.profile = createBotanicalLotusRenderProfile(
1442
+ state.config,
1443
+ state.placement,
1444
+ state.lighting
1445
+ );
1355
1446
  context.emit?.("botanical_lotus_lighting_updated", {
1356
1447
  node,
1357
1448
  referenceId,
@@ -1499,9 +1590,21 @@ totalEmissiveRadiance += lotusScatter * (0.28 + uLotusBloom * 0.72);`
1499
1590
  { stage: "vertex", include: "begin_vertex", code: exports.LOTUS_PETAL_SHADER_CHUNKS.vertexBend },
1500
1591
  { stage: "vertex", include: "worldpos_vertex", code: exports.LOTUS_PETAL_SHADER_CHUNKS.vertexWorld },
1501
1592
  { stage: "fragment", include: "common", code: exports.LOTUS_PETAL_SHADER_CHUNKS.fragmentHeader },
1502
- { stage: "fragment", include: "normal_fragment_maps", code: exports.LOTUS_PETAL_SHADER_CHUNKS.fragmentNormalInjection },
1503
- { stage: "fragment", include: "color_fragment", code: exports.LOTUS_PETAL_SHADER_CHUNKS.fragmentColorInjection },
1504
- { stage: "fragment", include: "emissivemap_fragment", code: exports.LOTUS_PETAL_SHADER_CHUNKS.fragmentEmissiveInjection }
1593
+ {
1594
+ stage: "fragment",
1595
+ include: "normal_fragment_maps",
1596
+ code: exports.LOTUS_PETAL_SHADER_CHUNKS.fragmentNormalInjection
1597
+ },
1598
+ {
1599
+ stage: "fragment",
1600
+ include: "color_fragment",
1601
+ code: exports.LOTUS_PETAL_SHADER_CHUNKS.fragmentColorInjection
1602
+ },
1603
+ {
1604
+ stage: "fragment",
1605
+ include: "emissivemap_fragment",
1606
+ code: exports.LOTUS_PETAL_SHADER_CHUNKS.fragmentEmissiveInjection
1607
+ }
1505
1608
  ];
1506
1609
  LOTUS_PETAL_DEFAULT_DYNAMIC = {
1507
1610
  devTime: 1,
@@ -1518,13 +1621,16 @@ totalEmissiveRadiance += lotusScatter * (0.28 + uLotusBloom * 0.72);`
1518
1621
  };
1519
1622
  exports.DEFAULT_LOTUS_PETAL_GEOMETRY_PARAMS = {
1520
1623
  length: 1.7,
1521
- width: 1.1,
1522
- cup: 0.34,
1624
+ // Broader (width/length 0.65 → 0.85) + a deeper cup so each petal reads as a wide
1625
+ // cupped tear-drop, not a thin sliver; the obovate silhouette does the rest.
1626
+ width: 1.45,
1627
+ cup: 0.4,
1523
1628
  ridge: 0.12,
1524
1629
  gravitySag: 0.18,
1525
1630
  segmentsU: 24,
1526
1631
  segmentsV: 40,
1527
- veinPhase: 0
1632
+ veinPhase: 0,
1633
+ thickness: 0.012
1528
1634
  };
1529
1635
  }
1530
1636
  });
@@ -1534,6 +1640,7 @@ exports.buildLotusFlowerPlacements = buildLotusFlowerPlacements;
1534
1640
  exports.buildLotusPetalGeometryData = buildLotusPetalGeometryData;
1535
1641
  exports.buildLotusPetalMaterialSpec = buildLotusPetalMaterialSpec;
1536
1642
  exports.buildLotusSceneFromComposition = buildLotusSceneFromComposition;
1643
+ exports.buildLotusSceneScaffold = buildLotusSceneScaffold;
1537
1644
  exports.createBotanicalLotusRenderProfile = createBotanicalLotusRenderProfile;
1538
1645
  exports.createLotusMeristem = createLotusMeristem;
1539
1646
  exports.createLotusMorphogen = createLotusMorphogen;
@@ -1565,5 +1672,5 @@ exports.stepLotusMorphogen2D = stepLotusMorphogen2D;
1565
1672
  exports.stepLotusPetalTurgor = stepLotusPetalTurgor;
1566
1673
  exports.stepLotusPond = stepLotusPond;
1567
1674
  exports.validateBotanicalLotusConfig = validateBotanicalLotusConfig;
1568
- //# sourceMappingURL=chunk-ZMCVKFXI.cjs.map
1569
- //# sourceMappingURL=chunk-ZMCVKFXI.cjs.map
1675
+ //# sourceMappingURL=chunk-56VOWURB.cjs.map
1676
+ //# sourceMappingURL=chunk-56VOWURB.cjs.map
@@ -437,7 +437,7 @@ function uint8ArrayToBase64(data) {
437
437
  return btoa(binary);
438
438
  }
439
439
  async function importGLTFPipeline() {
440
- return import('./GLTFPipeline-EK3LFJKW.cjs');
440
+ return import('./GLTFPipeline-3EJLL3TS.cjs');
441
441
  }
442
442
  function registerGLTFTools(server) {
443
443
  for (const tool of GLTF_PIPELINE_TOOLS) {
@@ -453,5 +453,5 @@ exports.handleGLTFToolCall = handleGLTFToolCall;
453
453
  exports.inspectComposition = inspectComposition;
454
454
  exports.registerGLTFTools = registerGLTFTools;
455
455
  exports.validateForGLTF = validateForGLTF;
456
- //# sourceMappingURL=chunk-FXKAW7ZO.cjs.map
457
- //# sourceMappingURL=chunk-FXKAW7ZO.cjs.map
456
+ //# sourceMappingURL=chunk-5A4TCHOC.cjs.map
457
+ //# sourceMappingURL=chunk-5A4TCHOC.cjs.map
@@ -396,5 +396,5 @@ var skeletonHandler = {
396
396
  };
397
397
 
398
398
  export { SkeletonTrait, createSkeletonTrait, skeletonHandler };
399
- //# sourceMappingURL=chunk-M56JSP4A.js.map
400
- //# sourceMappingURL=chunk-M56JSP4A.js.map
399
+ //# sourceMappingURL=chunk-5EDVCNRT.js.map
400
+ //# sourceMappingURL=chunk-5EDVCNRT.js.map
@@ -1,4 +1,4 @@
1
- import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
1
+ import { init_CompilerBase, CompilerBase } from './chunk-C7ZBSV2Q.js';
2
2
  import { __export, __esm } from './chunk-OL46QLBJ.js';
3
3
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
4
4
 
@@ -483,5 +483,5 @@ var init_ARCompiler = __esm({
483
483
  });
484
484
 
485
485
  export { ARCompiler, ARCompiler_default, ARCompiler_exports, init_ARCompiler };
486
- //# sourceMappingURL=chunk-UJXISJBN.js.map
487
- //# sourceMappingURL=chunk-UJXISJBN.js.map
486
+ //# sourceMappingURL=chunk-5ET6L4NS.js.map
487
+ //# sourceMappingURL=chunk-5ET6L4NS.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
4
- var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
3
+ var chunkGH6C2QGW_cjs = require('./chunk-GH6C2QGW.cjs');
4
+ var chunkLODTHGST_cjs = require('./chunk-LODTHGST.cjs');
5
5
  var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
6
6
  var ans = require('@holoscript/core-types/ans');
7
7
 
@@ -59,10 +59,10 @@ chunkHCCQLAA4_cjs.__export(GodotCompiler_exports, {
59
59
  exports.GodotCompiler = void 0;
60
60
  var init_GodotCompiler = chunkHCCQLAA4_cjs.__esm({
61
61
  "src/compiler/GodotCompiler.ts"() {
62
- chunkKKP7JKN4_cjs.init_CompilerBase();
62
+ chunkLODTHGST_cjs.init_CompilerBase();
63
63
  init_godot_acoustic_bus();
64
- chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
65
- exports.GodotCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
64
+ chunkGH6C2QGW_cjs.init_DomainBlockCompilerMixin();
65
+ exports.GodotCompiler = class extends chunkLODTHGST_cjs.CompilerBase {
66
66
  constructor(options = {}) {
67
67
  super();
68
68
  this.compilerName = "GodotCompiler";
@@ -170,59 +170,59 @@ var init_GodotCompiler = chunkHCCQLAA4_cjs.__esm({
170
170
  this.emit("");
171
171
  this.emit("# === v4.2 Domain Blocks ===");
172
172
  let blockIdx = 0;
173
- const compiled = chunkHKEXJUWS_cjs.compileDomainBlocks(
173
+ const compiled = chunkGH6C2QGW_cjs.compileDomainBlocks(
174
174
  domainBlocks,
175
175
  {
176
176
  material: (block) => {
177
- const mat = chunkHKEXJUWS_cjs.compileMaterialBlock(block);
178
- return chunkHKEXJUWS_cjs.materialToGodot(mat, `db${blockIdx++}`);
177
+ const mat = chunkGH6C2QGW_cjs.compileMaterialBlock(block);
178
+ return chunkGH6C2QGW_cjs.materialToGodot(mat, `db${blockIdx++}`);
179
179
  },
180
180
  physics: (block) => {
181
- const phys = chunkHKEXJUWS_cjs.compilePhysicsBlock(block);
182
- return chunkHKEXJUWS_cjs.physicsToGodot(phys, `db${blockIdx++}`);
181
+ const phys = chunkGH6C2QGW_cjs.compilePhysicsBlock(block);
182
+ return chunkGH6C2QGW_cjs.physicsToGodot(phys, `db${blockIdx++}`);
183
183
  },
184
184
  vfx: (block) => {
185
- const ps = chunkHKEXJUWS_cjs.compileParticleBlock(block);
186
- return chunkHKEXJUWS_cjs.particlesToGodot(ps, `db${blockIdx++}`);
185
+ const ps = chunkGH6C2QGW_cjs.compileParticleBlock(block);
186
+ return chunkGH6C2QGW_cjs.particlesToGodot(ps, `db${blockIdx++}`);
187
187
  },
188
188
  postfx: (block) => {
189
- const pp = chunkHKEXJUWS_cjs.compilePostProcessingBlock(block);
190
- return chunkHKEXJUWS_cjs.postProcessingToGodot(pp);
189
+ const pp = chunkGH6C2QGW_cjs.compilePostProcessingBlock(block);
190
+ return chunkGH6C2QGW_cjs.postProcessingToGodot(pp);
191
191
  },
192
192
  audio: (block) => {
193
- const audio = chunkHKEXJUWS_cjs.compileAudioSourceBlock(block);
194
- return chunkHKEXJUWS_cjs.audioSourceToGodot(audio, `db${blockIdx++}`);
193
+ const audio = chunkGH6C2QGW_cjs.compileAudioSourceBlock(block);
194
+ return chunkGH6C2QGW_cjs.audioSourceToGodot(audio, `db${blockIdx++}`);
195
195
  },
196
196
  weather: (block) => {
197
- const weather = chunkHKEXJUWS_cjs.compileWeatherBlock(block);
198
- return chunkHKEXJUWS_cjs.weatherToGodot(weather);
197
+ const weather = chunkGH6C2QGW_cjs.compileWeatherBlock(block);
198
+ return chunkGH6C2QGW_cjs.weatherToGodot(weather);
199
199
  },
200
200
  narrative: (block) => {
201
- const narr = chunkHKEXJUWS_cjs.compileNarrativeBlock(block);
202
- return chunkHKEXJUWS_cjs.narrativeToGodot(narr);
201
+ const narr = chunkGH6C2QGW_cjs.compileNarrativeBlock(block);
202
+ return chunkGH6C2QGW_cjs.narrativeToGodot(narr);
203
203
  },
204
204
  payment: (block) => {
205
- const pay = chunkHKEXJUWS_cjs.compilePaymentBlock(block);
206
- return chunkHKEXJUWS_cjs.paymentToGodot(pay);
205
+ const pay = chunkGH6C2QGW_cjs.compilePaymentBlock(block);
206
+ return chunkGH6C2QGW_cjs.paymentToGodot(pay);
207
207
  },
208
208
  healthcare: (block) => {
209
- const h = chunkHKEXJUWS_cjs.compileHealthcareBlock(block);
210
- return chunkHKEXJUWS_cjs.healthcareToGodot(h);
209
+ const h = chunkGH6C2QGW_cjs.compileHealthcareBlock(block);
210
+ return chunkGH6C2QGW_cjs.healthcareToGodot(h);
211
211
  },
212
212
  robotics: (block) => {
213
- const r = chunkHKEXJUWS_cjs.compileRoboticsBlock(block);
214
- return chunkHKEXJUWS_cjs.roboticsToGodot(r);
213
+ const r = chunkGH6C2QGW_cjs.compileRoboticsBlock(block);
214
+ return chunkGH6C2QGW_cjs.roboticsToGodot(r);
215
215
  },
216
- iot: (block) => chunkHKEXJUWS_cjs.iotToGodot(chunkHKEXJUWS_cjs.compileIoTBlock(block)),
217
- dataviz: (block) => chunkHKEXJUWS_cjs.datavizToGodot(chunkHKEXJUWS_cjs.compileDataVizBlock(block)),
218
- education: (block) => chunkHKEXJUWS_cjs.educationToGodot(chunkHKEXJUWS_cjs.compileEducationBlock(block)),
219
- music: (block) => chunkHKEXJUWS_cjs.musicToGodot(chunkHKEXJUWS_cjs.compileMusicBlock(block)),
220
- architecture: (block) => chunkHKEXJUWS_cjs.architectureToGodot(chunkHKEXJUWS_cjs.compileArchitectureBlock(block)),
221
- web3: (block) => chunkHKEXJUWS_cjs.web3ToGodot(chunkHKEXJUWS_cjs.compileWeb3Block(block)),
222
- procedural: (block) => chunkHKEXJUWS_cjs.proceduralToGodot(chunkHKEXJUWS_cjs.compileProceduralBlock(block)),
223
- rendering: (block) => chunkHKEXJUWS_cjs.renderingToGodot(chunkHKEXJUWS_cjs.compileRenderingBlock(block)),
224
- navigation: (block) => chunkHKEXJUWS_cjs.navigationToGodot(chunkHKEXJUWS_cjs.compileNavigationBlock(block)),
225
- input: (block) => chunkHKEXJUWS_cjs.inputToGodot(chunkHKEXJUWS_cjs.compileInputBlock(block))
216
+ iot: (block) => chunkGH6C2QGW_cjs.iotToGodot(chunkGH6C2QGW_cjs.compileIoTBlock(block)),
217
+ dataviz: (block) => chunkGH6C2QGW_cjs.datavizToGodot(chunkGH6C2QGW_cjs.compileDataVizBlock(block)),
218
+ education: (block) => chunkGH6C2QGW_cjs.educationToGodot(chunkGH6C2QGW_cjs.compileEducationBlock(block)),
219
+ music: (block) => chunkGH6C2QGW_cjs.musicToGodot(chunkGH6C2QGW_cjs.compileMusicBlock(block)),
220
+ architecture: (block) => chunkGH6C2QGW_cjs.architectureToGodot(chunkGH6C2QGW_cjs.compileArchitectureBlock(block)),
221
+ web3: (block) => chunkGH6C2QGW_cjs.web3ToGodot(chunkGH6C2QGW_cjs.compileWeb3Block(block)),
222
+ procedural: (block) => chunkGH6C2QGW_cjs.proceduralToGodot(chunkGH6C2QGW_cjs.compileProceduralBlock(block)),
223
+ rendering: (block) => chunkGH6C2QGW_cjs.renderingToGodot(chunkGH6C2QGW_cjs.compileRenderingBlock(block)),
224
+ navigation: (block) => chunkGH6C2QGW_cjs.navigationToGodot(chunkGH6C2QGW_cjs.compileNavigationBlock(block)),
225
+ input: (block) => chunkGH6C2QGW_cjs.inputToGodot(chunkGH6C2QGW_cjs.compileInputBlock(block))
226
226
  },
227
227
  (block) => `# Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "GDScript")}"`
228
228
  );
@@ -433,7 +433,11 @@ var init_GodotCompiler = chunkHCCQLAA4_cjs.__esm({
433
433
  this.emit(`var ${varName}_reverb = AudioEffectReverb.new()`);
434
434
  this.emit(`# @reverb_zone \u2014 add to AudioBus`);
435
435
  } else if (tn === "audio_material" || tn === "audio_occlusion" || tn === "audio_portal") {
436
- const acoustic = compileAcousticTrait(tn, trait.config || {}, varName);
436
+ const acoustic = compileAcousticTrait(
437
+ tn,
438
+ trait.config || {},
439
+ varName
440
+ );
437
441
  if (acoustic) {
438
442
  for (const line of acoustic.lines) this.emit(line);
439
443
  }
@@ -685,5 +689,5 @@ var init_GodotCompiler = chunkHCCQLAA4_cjs.__esm({
685
689
 
686
690
  exports.GodotCompiler_exports = GodotCompiler_exports;
687
691
  exports.init_GodotCompiler = init_GodotCompiler;
688
- //# sourceMappingURL=chunk-5NWINHR5.cjs.map
689
- //# sourceMappingURL=chunk-5NWINHR5.cjs.map
692
+ //# sourceMappingURL=chunk-63ZGNR2T.cjs.map
693
+ //# sourceMappingURL=chunk-63ZGNR2T.cjs.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkWRLUBRKS_cjs = require('./chunk-WRLUBRKS.cjs');
3
+ var chunk3SKLAUDD_cjs = require('./chunk-3SKLAUDD.cjs');
4
4
 
5
5
  // src/constants.ts
6
- chunkWRLUBRKS_cjs.init_constants();
7
- chunkWRLUBRKS_cjs.init_constants();
6
+ chunk3SKLAUDD_cjs.init_constants();
7
+ chunk3SKLAUDD_cjs.init_constants();
8
8
  var STRUCTURAL_DIRECTIVES = [
9
9
  // Asset & Manifest
10
10
  "manifest",
@@ -304,7 +304,7 @@ var VALID_GEOMETRIES = [
304
304
  "sparkles",
305
305
  "particles"
306
306
  ];
307
- var VALID_TRAITS = [...chunkWRLUBRKS_cjs.VR_TRAITS];
307
+ var VALID_TRAITS = [...chunk3SKLAUDD_cjs.VR_TRAITS];
308
308
  var COMMON_PROPERTIES = [
309
309
  "position",
310
310
  "rotation",
@@ -774,5 +774,5 @@ exports.LIFECYCLE_HOOKS = LIFECYCLE_HOOKS;
774
774
  exports.STRUCTURAL_DIRECTIVES = STRUCTURAL_DIRECTIVES;
775
775
  exports.enrichErrorWithSuggestions = enrichErrorWithSuggestions;
776
776
  exports.generateQuickFixes = generateQuickFixes;
777
- //# sourceMappingURL=chunk-NG77ATEW.cjs.map
778
- //# sourceMappingURL=chunk-NG77ATEW.cjs.map
777
+ //# sourceMappingURL=chunk-6PRZIHGL.cjs.map
778
+ //# sourceMappingURL=chunk-6PRZIHGL.cjs.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
3
+ var chunkLODTHGST_cjs = require('./chunk-LODTHGST.cjs');
4
4
  var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
5
5
 
6
6
  // src/compiler/StateCompiler.ts
@@ -12,8 +12,8 @@ chunkHCCQLAA4_cjs.__export(StateCompiler_exports, {
12
12
  exports.StateCompiler = void 0; exports.UnauthorizedStateCompilerAccessError = void 0;
13
13
  var init_StateCompiler = chunkHCCQLAA4_cjs.__esm({
14
14
  "src/compiler/StateCompiler.ts"() {
15
- chunkKKP7JKN4_cjs.init_AgentRBAC();
16
- chunkKKP7JKN4_cjs.init_CompilerBase();
15
+ chunkLODTHGST_cjs.init_AgentRBAC();
16
+ chunkLODTHGST_cjs.init_CompilerBase();
17
17
  exports.StateCompiler = class {
18
18
  constructor() {
19
19
  this.anonCounter = 0;
@@ -41,7 +41,7 @@ var init_StateCompiler = chunkHCCQLAA4_cjs.__esm({
41
41
  */
42
42
  validateAccess(agentToken) {
43
43
  if (!agentToken) return;
44
- const rbac = chunkKKP7JKN4_cjs.getRBAC();
44
+ const rbac = chunkLODTHGST_cjs.getRBAC();
45
45
  const decision = rbac.checkAccess({
46
46
  token: agentToken,
47
47
  resourceType: "ast" /* AST */,
@@ -101,7 +101,7 @@ var init_StateCompiler = chunkHCCQLAA4_cjs.__esm({
101
101
  return `${node.type}_${this.anonCounter++}`;
102
102
  }
103
103
  };
104
- exports.UnauthorizedStateCompilerAccessError = class extends chunkKKP7JKN4_cjs.UnauthorizedCompilerAccessError {
104
+ exports.UnauthorizedStateCompilerAccessError = class extends chunkLODTHGST_cjs.UnauthorizedCompilerAccessError {
105
105
  constructor(decision, compilerName) {
106
106
  super(decision, "state compilation", compilerName);
107
107
  this.name = "UnauthorizedStateCompilerAccessError";
@@ -112,5 +112,5 @@ var init_StateCompiler = chunkHCCQLAA4_cjs.__esm({
112
112
 
113
113
  exports.StateCompiler_exports = StateCompiler_exports;
114
114
  exports.init_StateCompiler = init_StateCompiler;
115
- //# sourceMappingURL=chunk-3WZEJHUQ.cjs.map
116
- //# sourceMappingURL=chunk-3WZEJHUQ.cjs.map
115
+ //# sourceMappingURL=chunk-7DMMMBCY.cjs.map
116
+ //# sourceMappingURL=chunk-7DMMMBCY.cjs.map
@@ -411,5 +411,5 @@ async function resolveOnnxModelPath(modelUrl) {
411
411
  }
412
412
 
413
413
  export { BUNDLED_MODEL_SEED, HIDDEN_DIM, NoOpInferenceAdapter, OnnxNodeInferenceAdapter, PHASE_CONTROL_POINTS, PfnnNetwork, PureJsInferenceAdapter, add, createBundledPfnn, createNoOpInferenceAdapter, createOnnxNodeInferenceAdapter, createPureJsInferenceAdapter, createTensor, eluInPlace, matmul, resolveOnnxModelPath };
414
- //# sourceMappingURL=chunk-FHP6LXJS.js.map
415
- //# sourceMappingURL=chunk-FHP6LXJS.js.map
414
+ //# sourceMappingURL=chunk-7E7GCQCK.js.map
415
+ //# sourceMappingURL=chunk-7E7GCQCK.js.map