@holoscript/core 8.0.6 → 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-2GQHTXOK.js → chunk-22Q5A6RV.js} +3 -3
  14. package/dist/{chunk-XHZCF3AS.cjs → chunk-2BZHWUSR.cjs} +27 -15
  15. package/dist/{chunk-XJAN7CZG.cjs → chunk-2GCNOI2U.cjs} +2 -2
  16. package/dist/{chunk-DBPGNHFS.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-RCZHLCX2.js → chunk-3GWWJT7L.js} +4 -4
  20. package/dist/{chunk-EK7L4DW7.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-VHAONJBY.js → chunk-4JGRWHZJ.js} +7 -5
  25. package/dist/{chunk-2J5WZLF5.cjs → chunk-4W5G5QVL.cjs} +26 -26
  26. package/dist/{chunk-GQHQOPXZ.cjs → chunk-4YNYPHH3.cjs} +186 -17
  27. package/dist/{chunk-H5PUZHJV.cjs → chunk-56VOWURB.cjs} +61 -40
  28. package/dist/{chunk-DQRQZB33.cjs → chunk-5A4TCHOC.cjs} +3 -3
  29. package/dist/{chunk-M56JSP4A.js → chunk-5EDVCNRT.js} +2 -2
  30. package/dist/{chunk-YU5RJQPE.js → chunk-5ET6L4NS.js} +3 -3
  31. package/dist/{chunk-A3GFOZAF.cjs → chunk-63ZGNR2T.cjs} +43 -39
  32. package/dist/{chunk-NG77ATEW.cjs → chunk-6PRZIHGL.cjs} +6 -6
  33. package/dist/{chunk-OXGPGQXN.cjs → chunk-7DMMMBCY.cjs} +7 -7
  34. package/dist/{chunk-FHP6LXJS.js → chunk-7E7GCQCK.js} +2 -2
  35. package/dist/{chunk-P4AIF7OQ.js → chunk-7VMGP2FW.js} +44 -28
  36. package/dist/{chunk-7MVLEZB2.js → chunk-7X5PNIQJ.js} +3 -3
  37. package/dist/{chunk-X7QB5PL5.cjs → chunk-7ZHYEITD.cjs} +11 -11
  38. package/dist/{chunk-KPJL34Y7.cjs → chunk-ACVWFGBI.cjs} +2 -2
  39. package/dist/{chunk-QWSB553J.cjs → chunk-AWB7QYY6.cjs} +6 -6
  40. package/dist/{chunk-VATGR4EM.js → chunk-B4EKV6HQ.js} +61 -40
  41. package/dist/{chunk-HBEN5TQR.js → chunk-BRNUPDHJ.js} +5 -5
  42. package/dist/{chunk-F63LYRVE.js → chunk-BTKZGHAV.js} +23 -11
  43. package/dist/{chunk-YTR32ZEB.cjs → chunk-C4GSLCHE.cjs} +300 -125
  44. package/dist/{chunk-CXS3DUKD.js → chunk-C7ZBSV2Q.js} +3 -3
  45. package/dist/{chunk-WOH6LKYT.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-D63CGNJU.js → chunk-DY72BMU5.js} +3 -3
  49. package/dist/{chunk-AIA52I7T.cjs → chunk-EBS32AJI.cjs} +6 -4
  50. package/dist/{chunk-DCE3LDO3.cjs → chunk-EDPYCLRC.cjs} +52 -62
  51. package/dist/{chunk-NDUX553L.js → chunk-F2G6CWFT.js} +240 -65
  52. package/dist/{chunk-X7LYK5TX.cjs → chunk-F5LKJ6F5.cjs} +43 -31
  53. package/dist/{chunk-LAUFLPB6.js → chunk-FGMDMJM7.js} +10 -5
  54. package/dist/{chunk-P52PPB5R.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-5BLWXOIP.cjs → chunk-G6PNEASF.cjs} +13 -13
  60. package/dist/{chunk-2BSMSUCE.js → chunk-GASCWJK5.js} +2 -2
  61. package/dist/{chunk-2VL6SJ33.cjs → chunk-GH6C2QGW.cjs} +12 -21
  62. package/dist/{chunk-JEB5UU3E.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-IBXT6UP3.cjs → chunk-HFSVMKM3.cjs} +14 -14
  68. package/dist/{chunk-E767PVC6.cjs → chunk-HLFDZ35S.cjs} +5 -5
  69. package/dist/{chunk-ZXZ2AL2J.cjs → chunk-I76GIKN7.cjs} +20 -16
  70. package/dist/{chunk-4FDL7JLJ.cjs → chunk-KAIVDEIG.cjs} +145 -60
  71. package/dist/{chunk-X4EBCG4K.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-4DO425P5.js → chunk-L5U4W6JC.js} +4 -4
  75. package/dist/{chunk-HBLKLLG5.cjs → chunk-LMJ5EBV7.cjs} +10 -10
  76. package/dist/{chunk-QWAR3GY6.cjs → chunk-LODTHGST.cjs} +8 -8
  77. package/dist/{chunk-TFUMBR7G.cjs → chunk-LPS5AMQD.cjs} +8 -8
  78. package/dist/{chunk-ISG3TQ2O.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-ULXWSPCK.js → chunk-MSYSQ2AJ.js} +101 -16
  83. package/dist/{chunk-TCBJMNXS.cjs → chunk-NGBXXZLL.cjs} +50 -62
  84. package/dist/{chunk-RXU4PQKA.js → chunk-NHJLP37F.js} +6 -6
  85. package/dist/{chunk-NTGBEMYL.cjs → chunk-NHYRRAGI.cjs} +5 -5
  86. package/dist/{chunk-YG3OAHJZ.cjs → chunk-O3MGZDCT.cjs} +89 -52
  87. package/dist/{chunk-GIOYPNTH.js → chunk-OABEO6HH.js} +185 -16
  88. package/dist/{chunk-N5YOAFNA.cjs → chunk-OS533P33.cjs} +37 -29
  89. package/dist/{chunk-IIUFMUTV.js → chunk-PABONWKI.js} +24 -11
  90. package/dist/{chunk-5BQIJG3O.js → chunk-PXNZ6TME.js} +47 -57
  91. package/dist/{chunk-KDZRD6EI.js → chunk-Q2Q34NF3.js} +63 -26
  92. package/dist/{chunk-IS4AEGLU.js → chunk-QBWNJXNR.js} +10 -6
  93. package/dist/{chunk-5IHG2LGT.js → chunk-QFU53KRH.js} +4 -4
  94. package/dist/{chunk-NTJZJ5IP.cjs → chunk-QGMUTVVH.cjs} +17 -17
  95. package/dist/{chunk-MYY4PMWX.cjs → chunk-RUVBFAF7.cjs} +50 -11
  96. package/dist/{chunk-E64LOLJU.js → chunk-S762UEV5.js} +5 -5
  97. package/dist/{chunk-3SBVODUP.cjs → chunk-SH5PPVK7.cjs} +61 -45
  98. package/dist/{chunk-LY4DMQOW.cjs → chunk-SKZPC5AG.cjs} +5 -5
  99. package/dist/{chunk-TJHVSBP2.js → chunk-SLHLXUMO.js} +10 -4
  100. package/dist/{chunk-S6OVFUXD.js → chunk-SSSN7VAM.js} +3 -3
  101. package/dist/{chunk-K5UGRXKR.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-U36W76U7.js → chunk-TEVX443G.js} +44 -51
  105. package/dist/{chunk-6DOKCECB.cjs → chunk-TQ377OLB.cjs} +23 -21
  106. package/dist/{chunk-YAPPQYJH.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-3OIZJNVT.cjs → chunk-UGXHYIWT.cjs} +5 -5
  110. package/dist/{chunk-44GM3P4G.cjs → chunk-ULMSSHCJ.cjs} +21 -21
  111. package/dist/{chunk-3B5NVDHJ.cjs → chunk-UOL6Y5TD.cjs} +18 -18
  112. package/dist/{chunk-5S7RKFGR.cjs → chunk-UVFI7XIR.cjs} +10 -4
  113. package/dist/{chunk-5TIZXMED.cjs → chunk-V7AKE5VT.cjs} +10 -10
  114. package/dist/{chunk-3B7AY37W.js → chunk-VEPGBETF.js} +6 -6
  115. package/dist/{chunk-BKCK3IU6.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-PVWNU4QT.cjs → chunk-WFKVS2K4.cjs} +64 -26
  119. package/dist/{chunk-TDCJ7YPA.js → chunk-WXQ57LAO.js} +3 -3
  120. package/dist/{chunk-NE5CZ2NC.cjs → chunk-X27QRG4C.cjs} +38 -38
  121. package/dist/{chunk-TVHSPJ4N.cjs → chunk-X2AVEAZM.cjs} +30 -23
  122. package/dist/{chunk-C34AJIJO.js → chunk-XQ5MWMP2.js} +4 -4
  123. package/dist/{chunk-TFWYKOOB.cjs → chunk-XW6IXEQH.cjs} +26 -13
  124. package/dist/{chunk-YIVFJNYV.js → chunk-Y3ZFVUUU.js} +2 -2
  125. package/dist/{chunk-TJIMBJ6L.cjs → chunk-Y57W2CT5.cjs} +2 -2
  126. package/dist/{chunk-BFROVZOF.cjs → chunk-YCM6QQRT.cjs} +46 -53
  127. package/dist/{chunk-MBOOR7X4.js → chunk-YFVQWSNJ.js} +3 -3
  128. package/dist/{chunk-ISM4NX6N.js → chunk-YFWRJW4B.js} +2 -2
  129. package/dist/{chunk-6OTFG3EB.js → chunk-YN6IETRZ.js} +179 -136
  130. package/dist/{chunk-NPDNFPTU.js → chunk-YRRAUB35.js} +4 -4
  131. package/dist/{chunk-GCYR3D2K.js → chunk-Z6PMDS4G.js} +61 -23
  132. package/dist/{chunk-DPZXVDGM.js → chunk-ZA34AN3R.js} +8 -17
  133. package/dist/{chunk-EKYL4PE3.cjs → chunk-ZLF4YF3U.cjs} +2 -2
  134. package/dist/{chunk-VFKXK4GR.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 +347 -362
  164. package/dist/compiler/index.d.ts +20 -0
  165. package/dist/compiler/index.js +200 -215
  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 +1056 -796
  211. package/dist/index.js +440 -180
  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 +274 -76
  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 +49 -49
  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 +881 -773
  236. package/dist/traits/index.js +366 -258
  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 +74 -68
  243. package/LICENSE +0 -21
  244. package/dist/GLTFPipeline-PVLTKDBD.cjs +0 -38
  245. package/dist/GLTFPipeline-QPI4I7DL.js +0 -17
  246. package/dist/HoloScriptPlusParser-WKHRIH6T.cjs +0 -27
  247. package/dist/HoloScriptRuntime-6ZGLUCFS.js +0 -10
  248. package/dist/HoloScriptRuntime-ALUASIL2.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");
@@ -803,7 +779,14 @@ function simulateLotusMorphogenesis(params) {
803
779
  primordia,
804
780
  emergentDivergenceDeg: meanDeg,
805
781
  divergenceSpreadDeg: spreadDeg,
806
- 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
+ }
807
790
  };
808
791
  }
809
792
  function lotusInhibitionAt(theta, primordia, range, apexRadius) {
@@ -856,8 +839,18 @@ function stepLotusMeristem(m) {
856
839
  }
857
840
  let off = bestK;
858
841
  if (bestK > 0 && bestK < m.samples) {
859
- const y0 = lotusInhibitionAt(m.last + m.wMin + m.step * (bestK - 1), m.primordia, m.range, m.apexRadius);
860
- 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
+ );
861
854
  const den = y0 - 2 * bestI + y2;
862
855
  if (Math.abs(den) > 1e-12) off = bestK + 0.5 * (y0 - y2) / den;
863
856
  }
@@ -1215,7 +1208,11 @@ function stepLotusPetalTurgor(state, dt, developmentalTime) {
1215
1208
  const rate = state.turgorStiffness * state.turgor * dt;
1216
1209
  for (let i = 0; i < state.segments; i += 1) {
1217
1210
  const s = (i + 0.5) / state.segments;
1218
- 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
+ );
1219
1216
  const kappaRest = state.budCurl * (1 - maturity) + state.openCurl * maturity;
1220
1217
  state.kappaActual[i] += rate * (kappaRest - state.kappaActual[i]);
1221
1218
  }
@@ -1390,7 +1387,11 @@ var init_BotanicalLotusTrait = chunkHCCQLAA4_cjs.__esm({
1390
1387
  reference_anchors: updatedAnchors
1391
1388
  });
1392
1389
  state.config = updatedConfig;
1393
- state.profile = createBotanicalLotusRenderProfile(updatedConfig, state.placement, state.lighting);
1390
+ state.profile = createBotanicalLotusRenderProfile(
1391
+ updatedConfig,
1392
+ state.placement,
1393
+ state.lighting
1394
+ );
1394
1395
  context.emit?.("botanical_lotus_reference_updated", {
1395
1396
  node,
1396
1397
  anchorId,
@@ -1411,7 +1412,11 @@ var init_BotanicalLotusTrait = chunkHCCQLAA4_cjs.__esm({
1411
1412
  surface_normal: surfaceNormal,
1412
1413
  world_position: worldPosition
1413
1414
  };
1414
- state.profile = createBotanicalLotusRenderProfile(state.config, state.placement, state.lighting);
1415
+ state.profile = createBotanicalLotusRenderProfile(
1416
+ state.config,
1417
+ state.placement,
1418
+ state.lighting
1419
+ );
1415
1420
  context.emit?.("botanical_lotus_surface_bound", {
1416
1421
  node,
1417
1422
  surfaceAnchorId,
@@ -1433,7 +1438,11 @@ var init_BotanicalLotusTrait = chunkHCCQLAA4_cjs.__esm({
1433
1438
  color_temperature_k: colorTemperatureK,
1434
1439
  dominant_direction: dominantDirection
1435
1440
  };
1436
- state.profile = createBotanicalLotusRenderProfile(state.config, state.placement, state.lighting);
1441
+ state.profile = createBotanicalLotusRenderProfile(
1442
+ state.config,
1443
+ state.placement,
1444
+ state.lighting
1445
+ );
1437
1446
  context.emit?.("botanical_lotus_lighting_updated", {
1438
1447
  node,
1439
1448
  referenceId,
@@ -1581,9 +1590,21 @@ totalEmissiveRadiance += lotusScatter * (0.28 + uLotusBloom * 0.72);`
1581
1590
  { stage: "vertex", include: "begin_vertex", code: exports.LOTUS_PETAL_SHADER_CHUNKS.vertexBend },
1582
1591
  { stage: "vertex", include: "worldpos_vertex", code: exports.LOTUS_PETAL_SHADER_CHUNKS.vertexWorld },
1583
1592
  { stage: "fragment", include: "common", code: exports.LOTUS_PETAL_SHADER_CHUNKS.fragmentHeader },
1584
- { stage: "fragment", include: "normal_fragment_maps", code: exports.LOTUS_PETAL_SHADER_CHUNKS.fragmentNormalInjection },
1585
- { stage: "fragment", include: "color_fragment", code: exports.LOTUS_PETAL_SHADER_CHUNKS.fragmentColorInjection },
1586
- { 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
+ }
1587
1608
  ];
1588
1609
  LOTUS_PETAL_DEFAULT_DYNAMIC = {
1589
1610
  devTime: 1,
@@ -1651,5 +1672,5 @@ exports.stepLotusMorphogen2D = stepLotusMorphogen2D;
1651
1672
  exports.stepLotusPetalTurgor = stepLotusPetalTurgor;
1652
1673
  exports.stepLotusPond = stepLotusPond;
1653
1674
  exports.validateBotanicalLotusConfig = validateBotanicalLotusConfig;
1654
- //# sourceMappingURL=chunk-H5PUZHJV.cjs.map
1655
- //# sourceMappingURL=chunk-H5PUZHJV.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-PVLTKDBD.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-DQRQZB33.cjs.map
457
- //# sourceMappingURL=chunk-DQRQZB33.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-CXS3DUKD.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-YU5RJQPE.js.map
487
- //# sourceMappingURL=chunk-YU5RJQPE.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 chunk2VL6SJ33_cjs = require('./chunk-2VL6SJ33.cjs');
4
- var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.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
- chunkQWAR3GY6_cjs.init_CompilerBase();
62
+ chunkLODTHGST_cjs.init_CompilerBase();
63
63
  init_godot_acoustic_bus();
64
- chunk2VL6SJ33_cjs.init_DomainBlockCompilerMixin();
65
- exports.GodotCompiler = class extends chunkQWAR3GY6_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 = chunk2VL6SJ33_cjs.compileDomainBlocks(
173
+ const compiled = chunkGH6C2QGW_cjs.compileDomainBlocks(
174
174
  domainBlocks,
175
175
  {
176
176
  material: (block) => {
177
- const mat = chunk2VL6SJ33_cjs.compileMaterialBlock(block);
178
- return chunk2VL6SJ33_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 = chunk2VL6SJ33_cjs.compilePhysicsBlock(block);
182
- return chunk2VL6SJ33_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 = chunk2VL6SJ33_cjs.compileParticleBlock(block);
186
- return chunk2VL6SJ33_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 = chunk2VL6SJ33_cjs.compilePostProcessingBlock(block);
190
- return chunk2VL6SJ33_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 = chunk2VL6SJ33_cjs.compileAudioSourceBlock(block);
194
- return chunk2VL6SJ33_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 = chunk2VL6SJ33_cjs.compileWeatherBlock(block);
198
- return chunk2VL6SJ33_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 = chunk2VL6SJ33_cjs.compileNarrativeBlock(block);
202
- return chunk2VL6SJ33_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 = chunk2VL6SJ33_cjs.compilePaymentBlock(block);
206
- return chunk2VL6SJ33_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 = chunk2VL6SJ33_cjs.compileHealthcareBlock(block);
210
- return chunk2VL6SJ33_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 = chunk2VL6SJ33_cjs.compileRoboticsBlock(block);
214
- return chunk2VL6SJ33_cjs.roboticsToGodot(r);
213
+ const r = chunkGH6C2QGW_cjs.compileRoboticsBlock(block);
214
+ return chunkGH6C2QGW_cjs.roboticsToGodot(r);
215
215
  },
216
- iot: (block) => chunk2VL6SJ33_cjs.iotToGodot(chunk2VL6SJ33_cjs.compileIoTBlock(block)),
217
- dataviz: (block) => chunk2VL6SJ33_cjs.datavizToGodot(chunk2VL6SJ33_cjs.compileDataVizBlock(block)),
218
- education: (block) => chunk2VL6SJ33_cjs.educationToGodot(chunk2VL6SJ33_cjs.compileEducationBlock(block)),
219
- music: (block) => chunk2VL6SJ33_cjs.musicToGodot(chunk2VL6SJ33_cjs.compileMusicBlock(block)),
220
- architecture: (block) => chunk2VL6SJ33_cjs.architectureToGodot(chunk2VL6SJ33_cjs.compileArchitectureBlock(block)),
221
- web3: (block) => chunk2VL6SJ33_cjs.web3ToGodot(chunk2VL6SJ33_cjs.compileWeb3Block(block)),
222
- procedural: (block) => chunk2VL6SJ33_cjs.proceduralToGodot(chunk2VL6SJ33_cjs.compileProceduralBlock(block)),
223
- rendering: (block) => chunk2VL6SJ33_cjs.renderingToGodot(chunk2VL6SJ33_cjs.compileRenderingBlock(block)),
224
- navigation: (block) => chunk2VL6SJ33_cjs.navigationToGodot(chunk2VL6SJ33_cjs.compileNavigationBlock(block)),
225
- input: (block) => chunk2VL6SJ33_cjs.inputToGodot(chunk2VL6SJ33_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-A3GFOZAF.cjs.map
689
- //# sourceMappingURL=chunk-A3GFOZAF.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 chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.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
- chunkQWAR3GY6_cjs.init_AgentRBAC();
16
- chunkQWAR3GY6_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 = chunkQWAR3GY6_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 chunkQWAR3GY6_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-OXGPGQXN.cjs.map
116
- //# sourceMappingURL=chunk-OXGPGQXN.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
@@ -1,7 +1,7 @@
1
1
  import { init_AndroidKotlinHelpers, sanitizeName, toKotlinFloat3, toKotlinColor, mapShapeToFilament, toKotlinType, toKotlinValue, findObjProp, compositionUsesArCoreDepthTraits } from './chunk-FDSGHPAK.js';
2
- import { init_PlatformConditionalCompilerMixin, filterCompositionForPlatform } from './chunk-GZG4KA4E.js';
3
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToAndroidXR, compileAudioSourceBlock, audioSourceToAndroidXR, compilePostProcessingBlock, compileParticleBlock, particlesToAndroidXR, compilePhysicsBlock, physicsToAndroidXR, compileMaterialBlock, materialToAndroidXR } from './chunk-DPZXVDGM.js';
4
- import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
2
+ import { init_PlatformConditionalCompilerMixin, filterCompositionForPlatform } from './chunk-GW3LKD5C.js';
3
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToAndroidXR, compileAudioSourceBlock, audioSourceToAndroidXR, compilePostProcessingBlock, compileParticleBlock, particlesToAndroidXR, compilePhysicsBlock, physicsToAndroidXR, compileMaterialBlock, materialToAndroidXR } from './chunk-ZA34AN3R.js';
4
+ import { init_CompilerBase, CompilerBase } from './chunk-C7ZBSV2Q.js';
5
5
  import { __esm, __export } from './chunk-OL46QLBJ.js';
6
6
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
7
7
 
@@ -967,7 +967,11 @@ var init_AndroidXRTraitDispatch = __esm({
967
967
  trait: "mesh_detection",
968
968
  components: ["MeshReconstruction"],
969
969
  level: "full",
970
- imports: ["com.google.ar.core.Config", "com.google.ar.core.Frame", "com.google.ar.core.Trackable"],
970
+ imports: [
971
+ "com.google.ar.core.Config",
972
+ "com.google.ar.core.Frame",
973
+ "com.google.ar.core.Trackable"
974
+ ],
971
975
  generate: (varName) => [
972
976
  `// @mesh_detection -- ARCore scene mesh reconstruction`,
973
977
  `// android.permission.SCENE_UNDERSTANDING_COARSE required`,
@@ -1192,7 +1196,10 @@ var init_AndroidXRTraitDispatch = __esm({
1192
1196
  trait: "gaze_interactable",
1193
1197
  components: ["InteractableComponent"],
1194
1198
  level: "full",
1195
- imports: ["androidx.xr.scenecore.InteractableComponent", "androidx.xr.scenecore.InteractableType"],
1199
+ imports: [
1200
+ "androidx.xr.scenecore.InteractableComponent",
1201
+ "androidx.xr.scenecore.InteractableType"
1202
+ ],
1196
1203
  generate: (varName) => [
1197
1204
  `// Combine Android SceneCore Gaze entity with Hand tracking pinch`,
1198
1205
  `${varName}.addComponent(InteractableComponent(InteractableType.GAZE_AND_PINCH))`,
@@ -2797,10 +2804,7 @@ var init_AndroidXRCodeTemplates = __esm({
2797
2804
  trait: "controlnet",
2798
2805
  components: [],
2799
2806
  level: "full",
2800
- imports: [
2801
- "org.tensorflow.lite.Interpreter",
2802
- "org.tensorflow.lite.support.image.TensorImage"
2803
- ],
2807
+ imports: ["org.tensorflow.lite.Interpreter", "org.tensorflow.lite.support.image.TensorImage"],
2804
2808
  generate: (varName, config) => {
2805
2809
  const model = String(config.model || "controlnet_canny");
2806
2810
  const endpoint = String(config.endpoint || "");
@@ -2904,10 +2908,7 @@ var init_AndroidXRCodeTemplates = __esm({
2904
2908
  trait: "diffusion_realtime",
2905
2909
  components: [],
2906
2910
  level: "full",
2907
- imports: [
2908
- "org.tensorflow.lite.Interpreter",
2909
- "android.opengl.GLES31"
2910
- ],
2911
+ imports: ["org.tensorflow.lite.Interpreter", "android.opengl.GLES31"],
2911
2912
  generate: (varName, config) => {
2912
2913
  const backend = String(config.backend || "tflite");
2913
2914
  const steps = Number(config.steps || 4);
@@ -3324,10 +3325,7 @@ var init_AndroidXRCodeTemplates = __esm({
3324
3325
  ]
3325
3326
  };
3326
3327
  const lines = mlkitSetup[task] ?? mlkitSetup["classification"];
3327
- return [
3328
- `// @vision -- ML Kit Vision (task: ${task})`,
3329
- ...lines
3330
- ];
3328
+ return [`// @vision -- ML Kit Vision (task: ${task})`, ...lines];
3331
3329
  }
3332
3330
  },
3333
3331
  spatial_awareness: {
@@ -4010,7 +4008,9 @@ function generateNodeFactoryFile(compiler, composition) {
4010
4008
  compiler.indentLevel = 0;
4011
4009
  const pkg = compiler.options.packageName;
4012
4010
  compiler.emit("// Auto-generated by HoloScript AndroidXRCompiler");
4013
- compiler.emit(`// Node Factory: ${compiler.escapeStringValue(composition.name, "Kotlin")}`);
4011
+ compiler.emit(
4012
+ `// Node Factory: ${compiler.escapeStringValue(composition.name, "Kotlin")}`
4013
+ );
4014
4014
  compiler.emit("");
4015
4015
  compiler.emit(`package ${pkg}`);
4016
4016
  compiler.emit("");
@@ -4109,7 +4109,9 @@ function compileObjectFactory(compiler, obj) {
4109
4109
  compiler.emit("parent = session.scene.activitySpace");
4110
4110
  const pos = compiler.findProp(obj, "position");
4111
4111
  if (pos && Array.isArray(pos)) {
4112
- compiler.emit(`setPose(Pose(${compiler.toKotlinFloat3(pos)}, Quaternion.identity()))`);
4112
+ compiler.emit(
4113
+ `setPose(Pose(${compiler.toKotlinFloat3(pos)}, Quaternion.identity()))`
4114
+ );
4113
4115
  }
4114
4116
  const scale = compiler.findProp(obj, "scale");
4115
4117
  if (scale && Array.isArray(scale)) {
@@ -4632,7 +4634,9 @@ function emitObject(compiler, obj) {
4632
4634
  compiler.emit(`// Activate strictly if depth API is physically supported on-device`);
4633
4635
  compiler.emit(`if (xrSession.isDepthSupported) {`);
4634
4636
  compiler.indent();
4635
- compiler.emit(`xrSession.scene.configure { config -> config.depthMode = Config.DepthMode.AUTOMATIC }`);
4637
+ compiler.emit(
4638
+ `xrSession.scene.configure { config -> config.depthMode = Config.DepthMode.AUTOMATIC }`
4639
+ );
4636
4640
  compiler.emit(`${v}.enableDepthOcclusion(true)`);
4637
4641
  compiler.dedent();
4638
4642
  compiler.emit(`}`);
@@ -4646,7 +4650,9 @@ function emitObject(compiler, obj) {
4646
4650
  compiler.emit(`// AI upscaling: load texture, apply TFLite super-resolution`);
4647
4651
  compiler.emit(`val ${v}TexturePath = "${texture}"`);
4648
4652
  compiler.emit(`val ${v}OriginalBitmap = BitmapFactory.decodeFile(${v}TexturePath)`);
4649
- compiler.emit(`val ${v}UpscaledBitmap = ${v}Upscale(LocalContext.current, ${v}OriginalBitmap)`);
4653
+ compiler.emit(
4654
+ `val ${v}UpscaledBitmap = ${v}Upscale(LocalContext.current, ${v}OriginalBitmap)`
4655
+ );
4650
4656
  compiler.emit(`// Apply ${v}UpscaledBitmap to material texture`);
4651
4657
  } else {
4652
4658
  compiler.emit(`// AI upscaling trait present but no texture property found on ${v}`);
@@ -4660,10 +4666,14 @@ function emitObject(compiler, obj) {
4660
4666
  compiler.emit(`val ${v}MaskPath = "${mask}"`);
4661
4667
  compiler.emit(`val ${v}ImageBitmap = BitmapFactory.decodeFile(${v}TexturePath)`);
4662
4668
  compiler.emit(`val ${v}MaskBitmap = BitmapFactory.decodeFile(${v}MaskPath)`);
4663
- compiler.emit(`val ${v}InpaintedBitmap = ${v}Inpaint(LocalContext.current, ${v}ImageBitmap, ${v}MaskBitmap)`);
4669
+ compiler.emit(
4670
+ `val ${v}InpaintedBitmap = ${v}Inpaint(LocalContext.current, ${v}ImageBitmap, ${v}MaskBitmap)`
4671
+ );
4664
4672
  compiler.emit(`// Apply ${v}InpaintedBitmap to material texture`);
4665
4673
  } else {
4666
- compiler.emit(`// AI inpainting trait present but requires both 'texture' and 'mask' properties on ${v}`);
4674
+ compiler.emit(
4675
+ `// AI inpainting trait present but requires both 'texture' and 'mask' properties on ${v}`
4676
+ );
4667
4677
  }
4668
4678
  }
4669
4679
  }
@@ -4775,7 +4785,9 @@ function emitAudio(compiler, audio) {
4775
4785
  compiler.emit("");
4776
4786
  compiler.emit(`// Audio: ${compiler.escapeStringValue(audio.name, "Kotlin")}`);
4777
4787
  if (src) {
4778
- compiler.emit(`val ${v}Id = soundPool.load(this, R.raw.${compiler.sanitizeName(src)}, 1)`);
4788
+ compiler.emit(
4789
+ `val ${v}Id = soundPool.load(this, R.raw.${compiler.sanitizeName(src)}, 1)`
4790
+ );
4779
4791
  }
4780
4792
  if (spatial && pos && Array.isArray(pos)) {
4781
4793
  compiler.emit(
@@ -4867,7 +4879,9 @@ function emitFaceTracking(compiler, varName, config) {
4867
4879
  if (blendshapes.length > 0) {
4868
4880
  for (const bs of blendshapes) {
4869
4881
  const bsConst = `FaceBlendShapeType.FACE_BLEND_SHAPE_TYPE_${bs.toUpperCase()}`;
4870
- compiler.emit(`val ${varName}_${compiler.sanitizeName(bs)} = faceState.blendShapes[${bsConst}]`);
4882
+ compiler.emit(
4883
+ `val ${varName}_${compiler.sanitizeName(bs)} = faceState.blendShapes[${bsConst}]`
4884
+ );
4871
4885
  }
4872
4886
  } else {
4873
4887
  compiler.emit(
@@ -5248,7 +5262,9 @@ function emitGlimmerObject(compiler, obj) {
5248
5262
  } else if (modelSrc) {
5249
5263
  compiler.emit(`Card(`);
5250
5264
  compiler.indent();
5251
- compiler.emit(`title = { Text("${compiler.escapeStringValue(obj.name, "Kotlin")}") },`);
5265
+ compiler.emit(
5266
+ `title = { Text("${compiler.escapeStringValue(obj.name, "Kotlin")}") },`
5267
+ );
5252
5268
  compiler.emit(`action = {`);
5253
5269
  compiler.indent();
5254
5270
  compiler.emit(`Button(onClick = { /* interact with ${v} */ }) {`);
@@ -5727,5 +5743,5 @@ var init_AndroidXRCompiler = __esm({
5727
5743
  });
5728
5744
 
5729
5745
  export { ANDROIDXR_TRAIT_MAP, AndroidXRCompiler, AndroidXRCompiler_exports, compileToAndroidXR, getTraitMapping, init_AndroidXRCompiler, init_AndroidXRTraitMap };
5730
- //# sourceMappingURL=chunk-P4AIF7OQ.js.map
5731
- //# sourceMappingURL=chunk-P4AIF7OQ.js.map
5746
+ //# sourceMappingURL=chunk-7VMGP2FW.js.map
5747
+ //# sourceMappingURL=chunk-7VMGP2FW.js.map
@@ -1,4 +1,4 @@
1
- import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from './chunk-GCYR3D2K.js';
1
+ import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from './chunk-Z6PMDS4G.js';
2
2
 
3
3
  // src/reconstruction/FusedAttentionKernel.ts
4
4
  var FUSED_ATTENTION_WGSL = `
@@ -619,5 +619,5 @@ async function replayMobileSensorBundle(bundle, config = {}) {
619
619
  }
620
620
 
621
621
  export { ANCHOR_DEFAULTS, ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS, HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION, TRAJECTORY_DEFAULTS, arCoreDepthFrameToMobileSensorFrame, cameraPoseFromColumnMajorTransform, createAnchorContext, createArCoreDepthMobileSensorBundle, createFusedAttentionBackend, createPagedKVCache, createTrajectoryMemory, mergeAnchoredProvenance, mobileSensorBundleToFrames, replayMobileSensorBundle, validateMobileSensorBundle };
622
- //# sourceMappingURL=chunk-7MVLEZB2.js.map
623
- //# sourceMappingURL=chunk-7MVLEZB2.js.map
622
+ //# sourceMappingURL=chunk-7X5PNIQJ.js.map
623
+ //# sourceMappingURL=chunk-7X5PNIQJ.js.map