@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
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunk5S7RKFGR_cjs = require('./chunk-5S7RKFGR.cjs');
4
- var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
3
+ var chunkUVFI7XIR_cjs = require('./chunk-UVFI7XIR.cjs');
4
+ var chunkLODTHGST_cjs = require('./chunk-LODTHGST.cjs');
5
5
 
6
6
  // src/compiler/TraitCompositionCompiler.ts
7
- chunkQWAR3GY6_cjs.init_AgentRBAC();
8
- chunkQWAR3GY6_cjs.init_CompilerBase();
9
- chunk5S7RKFGR_cjs.init_ProvenanceSemiring();
7
+ chunkLODTHGST_cjs.init_AgentRBAC();
8
+ chunkLODTHGST_cjs.init_CompilerBase();
9
+ chunkUVFI7XIR_cjs.init_ProvenanceSemiring();
10
10
  var CompositionConflictError = class extends Error {
11
11
  constructor(traitA, traitB, conflictKey) {
12
12
  super(
@@ -63,7 +63,7 @@ var TraitCompositionCompiler = class {
63
63
  */
64
64
  validateAccess(agentToken) {
65
65
  if (!agentToken) return;
66
- const rbac = chunkQWAR3GY6_cjs.getRBAC();
66
+ const rbac = chunkLODTHGST_cjs.getRBAC();
67
67
  const decision = rbac.checkAccess({
68
68
  token: agentToken,
69
69
  resourceType: "ast" /* AST */,
@@ -83,12 +83,12 @@ var TraitCompositionCompiler = class {
83
83
  if (!handler) throw new MissingComponentError(decl.name, name);
84
84
  return { name, handler };
85
85
  });
86
- if (chunk5S7RKFGR_cjs.authorityWeight(
86
+ if (chunkUVFI7XIR_cjs.authorityWeight(
87
87
  decl.provenance?.context?.authorityLevel ?? 0
88
88
  ) < 100) {
89
89
  this.detectConflicts(handlers);
90
90
  }
91
- const semiring = new chunk5S7RKFGR_cjs.ProvenanceSemiring();
91
+ const semiring = new chunkUVFI7XIR_cjs.ProvenanceSemiring();
92
92
  const applications = [];
93
93
  for (const { name, handler } of handlers) {
94
94
  let configAccumulator = {};
@@ -154,7 +154,7 @@ var TraitCompositionCompiler = class {
154
154
  }
155
155
  }
156
156
  };
157
- var UnauthorizedTraitCompositionAccessError = class extends chunkQWAR3GY6_cjs.UnauthorizedCompilerAccessError {
157
+ var UnauthorizedTraitCompositionAccessError = class extends chunkLODTHGST_cjs.UnauthorizedCompilerAccessError {
158
158
  constructor(decision, compilerName) {
159
159
  super(decision, "trait composition", compilerName);
160
160
  this.name = "UnauthorizedTraitCompositionAccessError";
@@ -165,5 +165,5 @@ exports.CompositionConflictError = CompositionConflictError;
165
165
  exports.MissingComponentError = MissingComponentError;
166
166
  exports.TraitCompositionCompiler = TraitCompositionCompiler;
167
167
  exports.UnauthorizedTraitCompositionAccessError = UnauthorizedTraitCompositionAccessError;
168
- //# sourceMappingURL=chunk-X7QB5PL5.cjs.map
169
- //# sourceMappingURL=chunk-X7QB5PL5.cjs.map
168
+ //# sourceMappingURL=chunk-7ZHYEITD.cjs.map
169
+ //# sourceMappingURL=chunk-7ZHYEITD.cjs.map
@@ -182,5 +182,5 @@ exports.maxAbsDiff = maxAbsDiff;
182
182
  exports.mulberry32 = mulberry32;
183
183
  exports.tropicalMinPlusSpmv = tropicalMinPlusSpmv;
184
184
  exports.tropicalMinPlusSpmvDense = tropicalMinPlusSpmvDense;
185
- //# sourceMappingURL=chunk-KPJL34Y7.cjs.map
186
- //# sourceMappingURL=chunk-KPJL34Y7.cjs.map
185
+ //# sourceMappingURL=chunk-ACVWFGBI.cjs.map
186
+ //# sourceMappingURL=chunk-ACVWFGBI.cjs.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkDCE3LDO3_cjs = require('./chunk-DCE3LDO3.cjs');
4
- var chunkJIYN45TV_cjs = require('./chunk-JIYN45TV.cjs');
3
+ var chunkEDPYCLRC_cjs = require('./chunk-EDPYCLRC.cjs');
4
+ var chunkGVFJ6T4S_cjs = require('./chunk-GVFJ6T4S.cjs');
5
5
 
6
6
  // src/HoloScriptDebugger.ts
7
7
  var HoloScriptDebugger = class {
@@ -21,8 +21,8 @@ var HoloScriptDebugger = class {
21
21
  callStack: [],
22
22
  breakpoints: []
23
23
  };
24
- this.runtime = runtime || new chunkDCE3LDO3_cjs.HoloScriptRuntime();
25
- this.parser = new chunkJIYN45TV_cjs.HoloScriptCodeParser();
24
+ this.runtime = runtime || new chunkEDPYCLRC_cjs.HoloScriptRuntime();
25
+ this.parser = new chunkGVFJ6T4S_cjs.HoloScriptCodeParser();
26
26
  }
27
27
  /**
28
28
  * Load source code for debugging
@@ -420,5 +420,5 @@ function createDebugger(runtime) {
420
420
 
421
421
  exports.HoloScriptDebugger = HoloScriptDebugger;
422
422
  exports.createDebugger = createDebugger;
423
- //# sourceMappingURL=chunk-QWSB553J.cjs.map
424
- //# sourceMappingURL=chunk-QWSB553J.cjs.map
423
+ //# sourceMappingURL=chunk-AWB7QYY6.cjs.map
424
+ //# sourceMappingURL=chunk-AWB7QYY6.cjs.map
@@ -127,29 +127,11 @@ function validateBotanicalLotusConfig(input = {}) {
127
127
  material.subsurface_radius_rgb.forEach(
128
128
  (value, index) => addRangeError(errors, `material.subsurface_radius_rgb[${index}]`, value, 0, 2)
129
129
  );
130
- addRangeError(
131
- errors,
132
- "material.petal_translucency_base",
133
- material.petal_translucency_base,
134
- 0,
135
- 1
136
- );
137
- addRangeError(
138
- errors,
139
- "material.petal_translucency_edge",
140
- material.petal_translucency_edge,
141
- 0,
142
- 1
143
- );
130
+ addRangeError(errors, "material.petal_translucency_base", material.petal_translucency_base, 0, 1);
131
+ addRangeError(errors, "material.petal_translucency_edge", material.petal_translucency_edge, 0, 1);
144
132
  addRangeError(errors, "material.roughness", material.roughness, 0, 1);
145
133
  addRangeError(errors, "material.ior", material.ior, 1, 2.5);
146
- addRangeError(
147
- errors,
148
- "material.vein_normal_intensity",
149
- material.vein_normal_intensity,
150
- 0,
151
- 0.25
152
- );
134
+ addRangeError(errors, "material.vein_normal_intensity", material.vein_normal_intensity, 0, 0.25);
153
135
  addRangeError(errors, "material.edge_curl_intensity", material.edge_curl_intensity, 0, 1);
154
136
  addRangeError(errors, "material.gravity_sag_outer", material.gravity_sag_outer, 0, 1);
155
137
  addRangeError(errors, "material.sheen", material.sheen, 0, 1);
@@ -169,13 +151,7 @@ function validateBotanicalLotusConfig(input = {}) {
169
151
  errors.push(`geometry.petal_rings[${index}].count must be a positive integer`);
170
152
  }
171
153
  addRangeError(errors, `geometry.petal_rings[${index}].cup`, ring.cup, 0, 1);
172
- addRangeError(
173
- errors,
174
- `geometry.petal_rings[${index}].gravity_sag`,
175
- ring.gravity_sag,
176
- 0,
177
- 1
178
- );
154
+ addRangeError(errors, `geometry.petal_rings[${index}].gravity_sag`, ring.gravity_sag, 0, 1);
179
155
  });
180
156
  if (!Number.isInteger(geometry.stamen_filament_count) || geometry.stamen_filament_count <= 0) {
181
157
  errors.push("geometry.stamen_filament_count must be a positive integer");
@@ -801,7 +777,14 @@ function simulateLotusMorphogenesis(params) {
801
777
  primordia,
802
778
  emergentDivergenceDeg: meanDeg,
803
779
  divergenceSpreadDeg: spreadDeg,
804
- resolvedParams: { count, seed, apexRadius, radialVelocity, inhibitionExponent: s, angularSamples: samples }
780
+ resolvedParams: {
781
+ count,
782
+ seed,
783
+ apexRadius,
784
+ radialVelocity,
785
+ inhibitionExponent: s,
786
+ angularSamples: samples
787
+ }
805
788
  };
806
789
  }
807
790
  function lotusInhibitionAt(theta, primordia, range, apexRadius) {
@@ -854,8 +837,18 @@ function stepLotusMeristem(m) {
854
837
  }
855
838
  let off = bestK;
856
839
  if (bestK > 0 && bestK < m.samples) {
857
- const y0 = lotusInhibitionAt(m.last + m.wMin + m.step * (bestK - 1), m.primordia, m.range, m.apexRadius);
858
- const y2 = lotusInhibitionAt(m.last + m.wMin + m.step * (bestK + 1), m.primordia, m.range, m.apexRadius);
840
+ const y0 = lotusInhibitionAt(
841
+ m.last + m.wMin + m.step * (bestK - 1),
842
+ m.primordia,
843
+ m.range,
844
+ m.apexRadius
845
+ );
846
+ const y2 = lotusInhibitionAt(
847
+ m.last + m.wMin + m.step * (bestK + 1),
848
+ m.primordia,
849
+ m.range,
850
+ m.apexRadius
851
+ );
859
852
  const den = y0 - 2 * bestI + y2;
860
853
  if (Math.abs(den) > 1e-12) off = bestK + 0.5 * (y0 - y2) / den;
861
854
  }
@@ -1213,7 +1206,11 @@ function stepLotusPetalTurgor(state, dt, developmentalTime) {
1213
1206
  const rate = state.turgorStiffness * state.turgor * dt;
1214
1207
  for (let i = 0; i < state.segments; i += 1) {
1215
1208
  const s = (i + 0.5) / state.segments;
1216
- const maturity = lotusSmoothstep01(0, 1, (t - state.matureStart - s * state.acropetalDelay) / state.matureSpan);
1209
+ const maturity = lotusSmoothstep01(
1210
+ 0,
1211
+ 1,
1212
+ (t - state.matureStart - s * state.acropetalDelay) / state.matureSpan
1213
+ );
1217
1214
  const kappaRest = state.budCurl * (1 - maturity) + state.openCurl * maturity;
1218
1215
  state.kappaActual[i] += rate * (kappaRest - state.kappaActual[i]);
1219
1216
  }
@@ -1388,7 +1385,11 @@ var init_BotanicalLotusTrait = __esm({
1388
1385
  reference_anchors: updatedAnchors
1389
1386
  });
1390
1387
  state.config = updatedConfig;
1391
- state.profile = createBotanicalLotusRenderProfile(updatedConfig, state.placement, state.lighting);
1388
+ state.profile = createBotanicalLotusRenderProfile(
1389
+ updatedConfig,
1390
+ state.placement,
1391
+ state.lighting
1392
+ );
1392
1393
  context.emit?.("botanical_lotus_reference_updated", {
1393
1394
  node,
1394
1395
  anchorId,
@@ -1409,7 +1410,11 @@ var init_BotanicalLotusTrait = __esm({
1409
1410
  surface_normal: surfaceNormal,
1410
1411
  world_position: worldPosition
1411
1412
  };
1412
- state.profile = createBotanicalLotusRenderProfile(state.config, state.placement, state.lighting);
1413
+ state.profile = createBotanicalLotusRenderProfile(
1414
+ state.config,
1415
+ state.placement,
1416
+ state.lighting
1417
+ );
1413
1418
  context.emit?.("botanical_lotus_surface_bound", {
1414
1419
  node,
1415
1420
  surfaceAnchorId,
@@ -1431,7 +1436,11 @@ var init_BotanicalLotusTrait = __esm({
1431
1436
  color_temperature_k: colorTemperatureK,
1432
1437
  dominant_direction: dominantDirection
1433
1438
  };
1434
- state.profile = createBotanicalLotusRenderProfile(state.config, state.placement, state.lighting);
1439
+ state.profile = createBotanicalLotusRenderProfile(
1440
+ state.config,
1441
+ state.placement,
1442
+ state.lighting
1443
+ );
1435
1444
  context.emit?.("botanical_lotus_lighting_updated", {
1436
1445
  node,
1437
1446
  referenceId,
@@ -1579,9 +1588,21 @@ totalEmissiveRadiance += lotusScatter * (0.28 + uLotusBloom * 0.72);`
1579
1588
  { stage: "vertex", include: "begin_vertex", code: LOTUS_PETAL_SHADER_CHUNKS.vertexBend },
1580
1589
  { stage: "vertex", include: "worldpos_vertex", code: LOTUS_PETAL_SHADER_CHUNKS.vertexWorld },
1581
1590
  { stage: "fragment", include: "common", code: LOTUS_PETAL_SHADER_CHUNKS.fragmentHeader },
1582
- { stage: "fragment", include: "normal_fragment_maps", code: LOTUS_PETAL_SHADER_CHUNKS.fragmentNormalInjection },
1583
- { stage: "fragment", include: "color_fragment", code: LOTUS_PETAL_SHADER_CHUNKS.fragmentColorInjection },
1584
- { stage: "fragment", include: "emissivemap_fragment", code: LOTUS_PETAL_SHADER_CHUNKS.fragmentEmissiveInjection }
1591
+ {
1592
+ stage: "fragment",
1593
+ include: "normal_fragment_maps",
1594
+ code: LOTUS_PETAL_SHADER_CHUNKS.fragmentNormalInjection
1595
+ },
1596
+ {
1597
+ stage: "fragment",
1598
+ include: "color_fragment",
1599
+ code: LOTUS_PETAL_SHADER_CHUNKS.fragmentColorInjection
1600
+ },
1601
+ {
1602
+ stage: "fragment",
1603
+ include: "emissivemap_fragment",
1604
+ code: LOTUS_PETAL_SHADER_CHUNKS.fragmentEmissiveInjection
1605
+ }
1585
1606
  ];
1586
1607
  LOTUS_PETAL_DEFAULT_DYNAMIC = {
1587
1608
  devTime: 1,
@@ -1613,5 +1634,5 @@ totalEmissiveRadiance += lotusScatter * (0.28 + uLotusBloom * 0.72);`
1613
1634
  });
1614
1635
 
1615
1636
  export { DEFAULT_BOTANICAL_LOTUS_CONFIG, DEFAULT_LOTUS_PETAL_GEOMETRY_PARAMS, LOTUS_GENESIS_SEED_PLACEHOLDER, LOTUS_GOLDEN_ANGLE_DEG, LOTUS_GROWTH_SECONDS, LOTUS_OUTER_PETAL_COLOR, LOTUS_PETAL_CHUNK_ENTRIES, LOTUS_PETAL_SHADER_CHUNKS, LOTUS_PETAL_UNIFORM_BINDINGS, LOTUS_RING_SCALING, assertBotanicalLotusConfig, botanicalLotusHandler, buildLotusFlowerPlacements, buildLotusPetalGeometryData, buildLotusPetalMaterialSpec, buildLotusSceneFromComposition, buildLotusSceneScaffold, createBotanicalLotusRenderProfile, createLotusMeristem, createLotusMorphogen, createLotusMorphogen2D, createLotusPetalTurgor, createLotusPond, deriveBotanicalLotusAnchorStatus, deriveLotusBloomFromGlow, disturbLotusPond, generateBotanicalNormalMap, generateBotanicalRoughnessMap, getBotanicalLotusPetalCount, init_BotanicalLotusTrait, lotusMorphogen2DPeaks, lotusMorphogen2DSampleAt, lotusMorphogenPeaks, lotusPetalGeometryParamsFromProfile, lotusPetalRenderColor, lotusPetalTurgorOpenProgress, lotusPetalTurgorTipDeg, lotusPondSurface, normalizeBotanicalLotusConfig, simulateLotusMorphogenesis, simulateLotusPetalGrowth, simulateLotusPhyllotaxis, stepLotusMeristem, stepLotusMorphogen, stepLotusMorphogen2D, stepLotusPetalTurgor, stepLotusPond, validateBotanicalLotusConfig };
1616
- //# sourceMappingURL=chunk-VATGR4EM.js.map
1617
- //# sourceMappingURL=chunk-VATGR4EM.js.map
1637
+ //# sourceMappingURL=chunk-B4EKV6HQ.js.map
1638
+ //# sourceMappingURL=chunk-B4EKV6HQ.js.map
@@ -1,6 +1,6 @@
1
- import { init_PlatformConditionalCompilerMixin, filterCompositionForPlatform } from './chunk-GZG4KA4E.js';
2
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, audioSourceToVisionOS, compilePostProcessingBlock, compileParticleBlock, particlesToVisionOS, compilePhysicsBlock, physicsToVisionOS, compileMaterialBlock, materialToVisionOS } from './chunk-DPZXVDGM.js';
3
- import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
1
+ import { init_PlatformConditionalCompilerMixin, filterCompositionForPlatform } from './chunk-GW3LKD5C.js';
2
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, audioSourceToVisionOS, compilePostProcessingBlock, compileParticleBlock, particlesToVisionOS, compilePhysicsBlock, physicsToVisionOS, compileMaterialBlock, materialToVisionOS } from './chunk-ZA34AN3R.js';
3
+ import { init_CompilerBase, CompilerBase } from './chunk-C7ZBSV2Q.js';
4
4
  import { __esm, __export } from './chunk-OL46QLBJ.js';
5
5
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
6
6
 
@@ -2422,5 +2422,5 @@ ${layers}`;
2422
2422
  });
2423
2423
 
2424
2424
  export { VisionOSCompiler, VisionOSCompiler_exports, generateTraitCode, getTraitMapping, init_VisionOSCompiler, init_VisionOSTraitMap, listAllTraits };
2425
- //# sourceMappingURL=chunk-HBEN5TQR.js.map
2426
- //# sourceMappingURL=chunk-HBEN5TQR.js.map
2425
+ //# sourceMappingURL=chunk-BRNUPDHJ.js.map
2426
+ //# sourceMappingURL=chunk-BRNUPDHJ.js.map
@@ -1,6 +1,6 @@
1
- import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-GZG4KA4E.js';
2
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToUnreal, compileAudioSourceBlock, audioSourceToUnreal, compilePostProcessingBlock, postProcessingToUnreal, compileParticleBlock, particlesToUnreal, compilePhysicsBlock, physicsToUnreal, compileMaterialBlock, materialToUnreal } from './chunk-DPZXVDGM.js';
3
- import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
1
+ import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-GW3LKD5C.js';
2
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToUnreal, compileAudioSourceBlock, audioSourceToUnreal, compilePostProcessingBlock, postProcessingToUnreal, compileParticleBlock, particlesToUnreal, compilePhysicsBlock, physicsToUnreal, compileMaterialBlock, materialToUnreal } from './chunk-ZA34AN3R.js';
3
+ import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-C7ZBSV2Q.js';
4
4
  import { __export, __esm } from './chunk-OL46QLBJ.js';
5
5
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
6
6
 
@@ -399,35 +399,47 @@ var init_UnrealCompiler = __esm({
399
399
  break;
400
400
  case "grabbable":
401
401
  this.emitS(`// @grabbable \u2014 implement via GrabComponent or VR interaction framework`);
402
- this.emitS(`UE_LOG(LogTemp, Warning, TEXT("@grabbable on %s \u2014 trait stubbed, needs GrabComponent implementation"), *GetName());`);
402
+ this.emitS(
403
+ `UE_LOG(LogTemp, Warning, TEXT("@grabbable on %s \u2014 trait stubbed, needs GrabComponent implementation"), *GetName());`
404
+ );
403
405
  break;
404
406
  case "pointable":
405
407
  case "hoverable":
406
408
  this.emitS(
407
409
  `// @${this.escapeStringValue(trait.name, "TypeScript")} \u2014 implement via line trace interaction`
408
410
  );
409
- this.emitS(`UE_LOG(LogTemp, Warning, TEXT("@%s on %s \u2014 trait stubbed, needs line trace interaction"), TEXT("${this.escapeStringValue(trait.name, "TypeScript")}"), *GetName());`);
411
+ this.emitS(
412
+ `UE_LOG(LogTemp, Warning, TEXT("@%s on %s \u2014 trait stubbed, needs line trace interaction"), TEXT("${this.escapeStringValue(trait.name, "TypeScript")}"), *GetName());`
413
+ );
410
414
  break;
411
415
  case "portal":
412
416
  this.emitS(`// @portal \u2014 destination: "${trait.config?.destination || "unknown"}"`);
413
- this.emitS(`UE_LOG(LogTemp, Warning, TEXT("@portal on %s \u2014 trait stubbed, needs level streaming/teleport implementation"), *GetName());`);
417
+ this.emitS(
418
+ `UE_LOG(LogTemp, Warning, TEXT("@portal on %s \u2014 trait stubbed, needs level streaming/teleport implementation"), *GetName());`
419
+ );
414
420
  break;
415
421
  case "emissive":
416
422
  case "glowing":
417
423
  this.emitS(
418
424
  `// @${this.escapeStringValue(trait.name, "TypeScript")} \u2014 apply emissive material`
419
425
  );
420
- this.emitS(`UE_LOG(LogTemp, Warning, TEXT("@%s on %s \u2014 trait stubbed, needs emissive material"), TEXT("${this.escapeStringValue(trait.name, "TypeScript")}"), *GetName());`);
426
+ this.emitS(
427
+ `UE_LOG(LogTemp, Warning, TEXT("@%s on %s \u2014 trait stubbed, needs emissive material"), TEXT("${this.escapeStringValue(trait.name, "TypeScript")}"), *GetName());`
428
+ );
421
429
  break;
422
430
  case "transparent":
423
431
  this.emitS(`// @transparent \u2014 set material blend mode`);
424
- this.emitS(`UE_LOG(LogTemp, Warning, TEXT("@transparent on %s \u2014 trait stubbed, needs translucent material"), *GetName());`);
432
+ this.emitS(
433
+ `UE_LOG(LogTemp, Warning, TEXT("@transparent on %s \u2014 trait stubbed, needs translucent material"), *GetName());`
434
+ );
425
435
  break;
426
436
  default:
427
437
  this.emitS(
428
438
  `// @${this.escapeStringValue(trait.name, "TypeScript")} \u2014 custom trait implementation required`
429
439
  );
430
- this.emitS(`UE_LOG(LogTemp, Warning, TEXT("@%s on %s \u2014 unhandled trait, needs custom implementation"), TEXT("${this.escapeStringValue(trait.name, "TypeScript")}"), *GetName());`);
440
+ this.emitS(
441
+ `UE_LOG(LogTemp, Warning, TEXT("@%s on %s \u2014 unhandled trait, needs custom implementation"), TEXT("${this.escapeStringValue(trait.name, "TypeScript")}"), *GetName());`
442
+ );
431
443
  }
432
444
  }
433
445
  compileLightSetup(light) {
@@ -710,5 +722,5 @@ var init_UnrealCompiler = __esm({
710
722
  });
711
723
 
712
724
  export { UnrealCompiler, UnrealCompiler_exports, compileToUnreal, init_UnrealCompiler };
713
- //# sourceMappingURL=chunk-F63LYRVE.js.map
714
- //# sourceMappingURL=chunk-F63LYRVE.js.map
725
+ //# sourceMappingURL=chunk-BTKZGHAV.js.map
726
+ //# sourceMappingURL=chunk-BTKZGHAV.js.map