@holoscript/core 8.0.8 → 8.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/LICENSE +21 -0
  2. package/bin/holoscript.cjs +5 -1
  3. package/dist/GLTFPipeline-L76YTXKA.js +15 -0
  4. package/dist/GLTFPipeline-ZWJN7GI6.cjs +36 -0
  5. package/dist/HoloCompositionParser-K76KTEEE.js +12 -0
  6. package/dist/HoloCompositionParser-UZH6Y4HO.cjs +45 -0
  7. package/dist/HoloScriptCodeParser-2D4ERFUZ.js +6 -0
  8. package/dist/HoloScriptCodeParser-UDRLDA7I.cjs +23 -0
  9. package/dist/HoloScriptPlusParser-FTMCGWXD.js +13 -0
  10. package/dist/HoloScriptPlusParser-LQR5GIKF.cjs +30 -0
  11. package/dist/HoloScriptRuntime-UTRLJI5L.js +12 -0
  12. package/dist/HoloScriptRuntime-YBYXJHJN.cjs +21 -0
  13. package/dist/SceneIRCompiler-63KA3M2F.js +17 -0
  14. package/dist/SceneIRCompiler-KWUFHZ4O.cjs +42 -0
  15. package/dist/{USDZExporter-AUHZODOF.cjs → USDZExporter-ML4UMIGC.cjs} +3 -3
  16. package/dist/{USDZExporter-GXB4AUSG.js → USDZExporter-ZFKLQ76G.js} +3 -3
  17. package/dist/agents/index.cjs +1 -1
  18. package/dist/agents/index.js +1 -1
  19. package/dist/audit/AuditLogger.d.ts +106 -0
  20. package/dist/audit/AuditQueryBuilder.d.ts +79 -0
  21. package/dist/audit/ComplianceReporter.d.ts +90 -0
  22. package/dist/audit/index.d.ts +13 -0
  23. package/dist/{chunk-FGMDMJM7.js → chunk-2BYAUHBO.js} +3 -3
  24. package/dist/{chunk-EDPYCLRC.cjs → chunk-2E6PP5UE.cjs} +83 -59
  25. package/dist/{chunk-GASCWJK5.js → chunk-2EGGAZT3.js} +65 -287
  26. package/dist/{chunk-SIEXCILW.js → chunk-2I3XAGMF.js} +3 -3
  27. package/dist/{chunk-OS533P33.cjs → chunk-2KKOYZYI.cjs} +1074 -1655
  28. package/dist/chunk-2MQKNDNH.js +51 -0
  29. package/dist/{chunk-7DMMMBCY.cjs → chunk-2X3IPCBK.cjs} +10 -10
  30. package/dist/chunk-2ZOTBO25.cjs +202 -0
  31. package/dist/chunk-356N4NPM.cjs +152 -0
  32. package/dist/{chunk-X3GJPRVK.cjs → chunk-36NPLOI4.cjs} +92 -81
  33. package/dist/{chunk-SLU6UPJI.cjs → chunk-37HHY7RH.cjs} +5 -5
  34. package/dist/{chunk-YDPEHCCI.cjs → chunk-3CDDRUER.cjs} +3 -118
  35. package/dist/chunk-3F7ZZWIN.js +1651 -0
  36. package/dist/chunk-3ILD7TKP.cjs +187 -0
  37. package/dist/{chunk-X27QRG4C.cjs → chunk-3IUHTGDD.cjs} +153 -41
  38. package/dist/{chunk-PXNZ6TME.js → chunk-4376VHNJ.js} +60 -36
  39. package/dist/{chunk-YKGPCZEE.cjs → chunk-4FIBOJW6.cjs} +10 -10
  40. package/dist/chunk-4Q7RKQQI.cjs +14195 -0
  41. package/dist/{chunk-YCM6QQRT.cjs → chunk-566ZB4LZ.cjs} +180 -8
  42. package/dist/{chunk-2Y3V22SG.js → chunk-5CURIYGT.js} +3 -3
  43. package/dist/{chunk-QBWNJXNR.js → chunk-5FYMCVBY.js} +5 -5
  44. package/dist/{chunk-ZA34AN3R.js → chunk-5LVFTGKH.js} +841 -12
  45. package/dist/{chunk-Z6PMDS4G.js → chunk-5OUOMBKK.js} +1090 -53
  46. package/dist/chunk-63AUAIL6.js +48 -0
  47. package/dist/chunk-655FATJU.js +110 -0
  48. package/dist/{chunk-TQ377OLB.cjs → chunk-65S62L4D.cjs} +28 -22
  49. package/dist/chunk-6NTAZN5Z.cjs +502 -0
  50. package/dist/chunk-6TRX6AR2.js +9376 -0
  51. package/dist/chunk-6ZCCLKS2.cjs +51 -0
  52. package/dist/{chunk-MDR235RZ.js → chunk-734OB5SK.js} +721 -8
  53. package/dist/{chunk-Q2Q34NF3.js → chunk-77QI552M.js} +6 -6
  54. package/dist/{chunk-WKX5AMOY.js → chunk-7I74JWPW.js} +3 -3
  55. package/dist/{chunk-5FSKKMR7.cjs → chunk-7IDJDMPU.cjs} +232 -4
  56. package/dist/chunk-7VBKRGIZ.cjs +847 -0
  57. package/dist/{chunk-KCPHASCO.js → chunk-AATYYLYK.js} +5 -5
  58. package/dist/{chunk-DTGBOSEM.cjs → chunk-AWXFEAQL.cjs} +12 -12
  59. package/dist/{chunk-THCK6ECW.js → chunk-B3CWTCK2.js} +231 -3
  60. package/dist/chunk-BCP4E7MD.cjs +997 -0
  61. package/dist/chunk-BG7RPYJP.js +91 -0
  62. package/dist/{chunk-VF257YKO.js → chunk-BP4KTMLY.js} +117 -5
  63. package/dist/{chunk-YN6IETRZ.js → chunk-BQJ3YBF3.js} +6424 -987
  64. package/dist/{chunk-7X5PNIQJ.js → chunk-BXSOEQI3.js} +27 -25
  65. package/dist/{chunk-WFKVS2K4.cjs → chunk-C65C5VED.cjs} +1101 -55
  66. package/dist/{chunk-KOUAQL2B.cjs → chunk-CANAL6CT.cjs} +1569 -168
  67. package/dist/{chunk-FDSGHPAK.js → chunk-CBSDJF3B.js} +3 -3
  68. package/dist/{chunk-FEWUHQNM.cjs → chunk-CFVK26P4.cjs} +4 -4
  69. package/dist/{chunk-M7K4LE66.cjs → chunk-CI33NINL.cjs} +4 -4
  70. package/dist/{chunk-2OWDB4FB.js → chunk-CKV5NYAE.js} +6 -6
  71. package/dist/{chunk-LPS5AMQD.cjs → chunk-CM4NHXVO.cjs} +24 -24
  72. package/dist/chunk-D3HSRXYB.js +115 -0
  73. package/dist/{chunk-FNHJRI32.js → chunk-DBH3D2MU.js} +1561 -160
  74. package/dist/{chunk-GW3LKD5C.js → chunk-DJNH4HFW.js} +3 -3
  75. package/dist/{chunk-2GCNOI2U.cjs → chunk-DN6F4DHH.cjs} +9 -3
  76. package/dist/chunk-DQRJ5RJG.js +432 -0
  77. package/dist/{chunk-C7ZBSV2Q.js → chunk-DUG3OQAS.js} +106 -43
  78. package/dist/chunk-ECUYJOJ2.cjs +199 -0
  79. package/dist/chunk-EEMTCAK7.js +182 -0
  80. package/dist/{chunk-3SKLAUDD.cjs → chunk-EI3J6LTW.cjs} +359 -581
  81. package/dist/{chunk-SSSN7VAM.js → chunk-EM2OGPYE.js} +4 -4
  82. package/dist/{chunk-56VOWURB.cjs → chunk-ENZCIQZC.cjs} +522 -453
  83. package/dist/chunk-ESBXUYOC.cjs +836 -0
  84. package/dist/{chunk-L5U4W6JC.js → chunk-ESSEF6U2.js} +4 -4
  85. package/dist/chunk-ET3AN4W3.js +824 -0
  86. package/dist/chunk-EXKSFGSX.cjs +14 -14
  87. package/dist/{chunk-I76GIKN7.cjs → chunk-F3YT6GUF.cjs} +17 -17
  88. package/dist/{chunk-WRWEX5ZF.js → chunk-F75DZBBI.js} +3 -3
  89. package/dist/{chunk-4JGRWHZJ.js → chunk-FG6PYGIZ.js} +12 -6
  90. package/dist/chunk-FGGJQRLZ.js +14 -14
  91. package/dist/{chunk-SXOSDZD6.js → chunk-FWCHPCD4.js} +128 -10
  92. package/dist/{chunk-XW6IXEQH.cjs → chunk-G35CAQ7I.cjs} +5 -5
  93. package/dist/{chunk-7VMGP2FW.js → chunk-G6KACNMO.js} +132 -188
  94. package/dist/{chunk-FJPADH77.cjs → chunk-GAWJJAGT.cjs} +6 -6
  95. package/dist/chunk-GGR7QUKK.cjs +4724 -0
  96. package/dist/chunk-GIBF4BHH.js +14098 -0
  97. package/dist/{chunk-AWB7QYY6.cjs → chunk-GILYQ5VH.cjs} +6 -6
  98. package/dist/{chunk-FWVYAMNW.cjs → chunk-GKFCHGCM.cjs} +4 -4
  99. package/dist/{chunk-Y3ZFVUUU.js → chunk-GLEJ2TLS.js} +3 -3
  100. package/dist/{chunk-3GWWJT7L.js → chunk-GP3OKSKT.js} +13 -13
  101. package/dist/chunk-GTIPOEHN.js +196 -0
  102. package/dist/{chunk-LMJ5EBV7.cjs → chunk-GZPUA2TL.cjs} +16 -15
  103. package/dist/{chunk-IELX2OKI.js → chunk-H4LJ4HEA.js} +3 -115
  104. package/dist/{chunk-ACVWFGBI.cjs → chunk-HCX4SMFK.cjs} +3 -3
  105. package/dist/{chunk-HYNTS5CP.js → chunk-HHRZ6STP.js} +24 -2
  106. package/dist/chunk-HIDEIEFG.js +48 -0
  107. package/dist/{chunk-W6RW64BB.cjs → chunk-HSWBIDZM.cjs} +228 -5
  108. package/dist/{chunk-GSOUNWEL.js → chunk-HVX7QQYK.js} +1035 -1616
  109. package/dist/{chunk-TRCGG42I.cjs → chunk-IFW5IW4L.cjs} +6502 -1019
  110. package/dist/{chunk-F5LKJ6F5.cjs → chunk-IJU6AS67.cjs} +32 -28
  111. package/dist/{chunk-TVANHNJ7.js → chunk-IK6Z2HNC.js} +173 -3
  112. package/dist/{chunk-QGMUTVVH.cjs → chunk-IS7NTKY5.cjs} +20 -20
  113. package/dist/{chunk-YFVQWSNJ.js → chunk-IXWGYWH6.js} +3 -3
  114. package/dist/chunk-J2DAS2PL.js +148 -0
  115. package/dist/chunk-JBQXZIWB.js +148 -0
  116. package/dist/chunk-JBYBMBMW.js +261 -0
  117. package/dist/{chunk-LWUOUCYL.js → chunk-JEJ7TT54.js} +5 -5
  118. package/dist/{chunk-DUCB6LGL.js → chunk-JOTCTHN5.js} +211 -5
  119. package/dist/{chunk-47RUFYKR.js → chunk-K56UVEXV.js} +3 -3
  120. package/dist/{chunk-XSFNHP2E.js → chunk-KB26H447.js} +3 -3
  121. package/dist/{chunk-3NGDZZR4.js → chunk-KEYG7HGY.js} +430 -37
  122. package/dist/{chunk-DY72BMU5.js → chunk-KFVNCW4Q.js} +4 -4
  123. package/dist/chunk-KPGC7SK2.js +192 -0
  124. package/dist/chunk-KROXXBK5.cjs +53 -0
  125. package/dist/{chunk-ZPZAVHXL.cjs → chunk-LB3ZZMKT.cjs} +137 -19
  126. package/dist/chunk-LDYZWNJW.cjs +1654 -0
  127. package/dist/{chunk-UGXHYIWT.cjs → chunk-LHNHO27U.cjs} +28 -28
  128. package/dist/{chunk-ULMSSHCJ.cjs → chunk-LMB555QB.cjs} +405 -38
  129. package/dist/{chunk-CBJY23VL.js → chunk-MD4IVS42.js} +3 -3
  130. package/dist/{chunk-VMLKSV26.js → chunk-MDDWEBCX.js} +226 -3
  131. package/dist/chunk-MUWH4QK5.cjs +94 -0
  132. package/dist/{chunk-T6W3Z3SH.cjs → chunk-N2ILK7BF.cjs} +4 -4
  133. package/dist/{chunk-6EX3I5P4.cjs → chunk-N74QRJGP.cjs} +6 -6
  134. package/dist/chunk-NFFHLX37.cjs +132 -0
  135. package/dist/chunk-NJSYWX7H.js +190 -0
  136. package/dist/{chunk-SH5PPVK7.cjs → chunk-NQN5LFN4.cjs} +165 -221
  137. package/dist/chunk-NTQRFOPP.cjs +56 -0
  138. package/dist/{chunk-YFWRJW4B.js → chunk-NWMJPTVL.js} +51 -55
  139. package/dist/{chunk-63ZGNR2T.cjs → chunk-OC6GV5QH.cjs} +42 -42
  140. package/dist/{chunk-7E7GCQCK.js → chunk-OG3MBHM3.js} +9 -3
  141. package/dist/chunk-OMNHTCS4.cjs +264 -0
  142. package/dist/chunk-OQXB6NNC.cjs +117 -0
  143. package/dist/{chunk-Y57W2CT5.cjs → chunk-OV46CCA2.cjs} +51 -55
  144. package/dist/{chunk-6PRZIHGL.cjs → chunk-OV6HHKLE.cjs} +21 -266
  145. package/dist/{chunk-C37BHB7N.cjs → chunk-P26YYPOO.cjs} +5 -5
  146. package/dist/{chunk-2BZHWUSR.cjs → chunk-P7JEKJTZ.cjs} +16 -16
  147. package/dist/{chunk-NGBXXZLL.cjs → chunk-PDXX5UI4.cjs} +45 -45
  148. package/dist/{chunk-FHQFPYV4.js → chunk-PJFTTSKE.js} +8 -7
  149. package/dist/{chunk-GVFJ6T4S.cjs → chunk-PVODJEJ7.cjs} +721 -8
  150. package/dist/{chunk-ZZ7RO2UQ.js → chunk-Q265VZJ4.js} +3 -3
  151. package/dist/{chunk-E7JP3BS3.cjs → chunk-Q47JEE2C.cjs} +4 -4
  152. package/dist/chunk-QBY7LRN2.js +281 -0
  153. package/dist/{chunk-GH6C2QGW.cjs → chunk-QEDMOGF3.cjs} +857 -16
  154. package/dist/{chunk-5WUNN6ZN.cjs → chunk-QHSAVOOL.cjs} +24 -2
  155. package/dist/chunk-QJNCDVYM.cjs +137 -0
  156. package/dist/chunk-QM7FJB5W.js +4717 -0
  157. package/dist/chunk-QQFB4RT2.cjs +448 -0
  158. package/dist/chunk-QSYBHQAD.cjs +196 -0
  159. package/dist/{chunk-2YSNA2F2.cjs → chunk-QVJMDVYZ.cjs} +5 -5
  160. package/dist/chunk-RAJMAX6D.js +131 -0
  161. package/dist/{chunk-VVKVQZI6.js → chunk-RAN3ECAS.js} +3 -3
  162. package/dist/chunk-RKGUZBOC.js +79 -0
  163. package/dist/{chunk-HLFDZ35S.cjs → chunk-RRQIAJLQ.cjs} +8 -8
  164. package/dist/{chunk-PABONWKI.js → chunk-RXQNRZ5F.js} +3 -3
  165. package/dist/{chunk-7ZHYEITD.cjs → chunk-S4O7CFHQ.cjs} +10 -11
  166. package/dist/chunk-SE7ANBGN.js +128 -0
  167. package/dist/{chunk-X2AVEAZM.cjs → chunk-SJIRCTIS.cjs} +176 -2
  168. package/dist/{chunk-WXQ57LAO.js → chunk-SQXAZHDG.js} +4 -4
  169. package/dist/chunk-SR73L5ZP.cjs +84 -0
  170. package/dist/{chunk-OABEO6HH.js → chunk-SZOLTWWD.js} +2349 -214
  171. package/dist/{chunk-5JEU52DW.js → chunk-TPZ3BN2D.js} +3 -3
  172. package/dist/{chunk-QFU53KRH.js → chunk-TSTFYGGX.js} +4 -5
  173. package/dist/{chunk-EBS32AJI.cjs → chunk-TZCFKZ6Z.cjs} +5 -5
  174. package/dist/chunk-UCVZXQ63.js +724 -0
  175. package/dist/chunk-UGQ3QNV6.js +992 -0
  176. package/dist/chunk-UNMVGZVW.js +142 -0
  177. package/dist/{chunk-TEVX443G.js → chunk-UTUD6GJI.js} +178 -6
  178. package/dist/chunk-UXBYA7DV.cjs +155 -0
  179. package/dist/chunk-V6GXFSK7.cjs +443 -0
  180. package/dist/chunk-VHORVGCG.cjs +761 -0
  181. package/dist/{chunk-B4EKV6HQ.js → chunk-VKCTYLDN.js} +500 -442
  182. package/dist/{chunk-O3MGZDCT.cjs → chunk-VTEXJOSD.cjs} +63 -63
  183. package/dist/chunk-VVAAZITA.cjs +287 -0
  184. package/dist/{chunk-V7AKE5VT.cjs → chunk-W2GA3EQB.cjs} +435 -42
  185. package/dist/chunk-W4GABFCR.js +37 -0
  186. package/dist/chunk-WKEK4NCA.js +490 -0
  187. package/dist/{chunk-5A4TCHOC.cjs → chunk-WNYXT4TE.cjs} +4 -4
  188. package/dist/{chunk-S762UEV5.js → chunk-WTH23ISI.js} +6 -6
  189. package/dist/{chunk-BTKZGHAV.js → chunk-WWNCM473.js} +10 -6
  190. package/dist/{chunk-4YNYPHH3.cjs → chunk-X75H75UY.cjs} +2351 -213
  191. package/dist/{chunk-LYJJI7ZK.cjs → chunk-XCUDDFKC.cjs} +216 -9
  192. package/dist/chunk-YAO4HPJL.cjs +120 -0
  193. package/dist/chunk-YKY2JBER.cjs +9443 -0
  194. package/dist/chunk-YP5CHEYU.cjs +154 -0
  195. package/dist/{chunk-WRNEH5MO.js → chunk-YW3I2FQL.js} +18 -7
  196. package/dist/{chunk-BRNUPDHJ.js → chunk-Z557DVYN.js} +386 -19
  197. package/dist/{chunk-VSACG2AR.js → chunk-Z6LZUYZF.js} +21 -264
  198. package/dist/chunk-ZHPMP447.cjs +43 -0
  199. package/dist/{chunk-LODTHGST.cjs → chunk-ZK7KX5CD.cjs} +133 -70
  200. package/dist/{chunk-CCPSNT6B.cjs → chunk-ZRPALBQB.cjs} +5 -5
  201. package/dist/chunk-ZVFHPMC5.js +824 -0
  202. package/dist/chunk-ZVQMKUGJ.js +443 -0
  203. package/dist/cli/holoscript-runner.cjs +86 -48
  204. package/dist/cli/holoscript-runner.js +54 -16
  205. package/dist/codebase/index.cjs +1 -1
  206. package/dist/codebase/index.js +1 -1
  207. package/dist/compiler/agent-inference.cjs +11 -11
  208. package/dist/compiler/agent-inference.js +9 -6
  209. package/dist/compiler/android-xr.cjs +13 -12
  210. package/dist/compiler/android-xr.js +11 -10
  211. package/dist/compiler/android.cjs +12 -12
  212. package/dist/compiler/android.js +10 -10
  213. package/dist/compiler/business-quest.cjs +10 -10
  214. package/dist/compiler/business-quest.js +2 -2
  215. package/dist/compiler/coco.cjs +1 -1
  216. package/dist/compiler/coco.js +1 -1
  217. package/dist/compiler/context.cjs +9 -9
  218. package/dist/compiler/context.js +6 -6
  219. package/dist/compiler/daimon-seed.cjs +36 -0
  220. package/dist/compiler/daimon-seed.js +12 -0
  221. package/dist/compiler/domain-block-utils.cjs +205 -156
  222. package/dist/compiler/domain-block-utils.js +8 -7
  223. package/dist/compiler/dtdl.cjs +10 -10
  224. package/dist/compiler/dtdl.js +7 -7
  225. package/dist/compiler/gltf-pipeline.cjs +9 -9
  226. package/dist/compiler/gltf-pipeline.js +2 -2
  227. package/dist/compiler/godot.cjs +10 -9
  228. package/dist/compiler/godot.js +9 -8
  229. package/dist/compiler/incremental.cjs +11 -11
  230. package/dist/compiler/incremental.js +6 -6
  231. package/dist/compiler/index.cjs +2585 -3273
  232. package/dist/compiler/index.d.ts +149 -35
  233. package/dist/compiler/index.js +2197 -3102
  234. package/dist/compiler/ios.cjs +11 -11
  235. package/dist/compiler/ios.js +9 -9
  236. package/dist/compiler/llm-provider-capabilities.cjs +9 -9
  237. package/dist/compiler/llm-provider-capabilities.js +6 -6
  238. package/dist/compiler/nodetoy.cjs +1 -1
  239. package/dist/compiler/nodetoy.js +1 -1
  240. package/dist/compiler/openxr.cjs +11 -10
  241. package/dist/compiler/openxr.js +10 -9
  242. package/dist/compiler/remotion.cjs +1 -1
  243. package/dist/compiler/remotion.js +1 -1
  244. package/dist/compiler/reproducibility.cjs +1 -1
  245. package/dist/compiler/reproducibility.js +1 -1
  246. package/dist/compiler/sdf.cjs +11 -10
  247. package/dist/compiler/sdf.js +9 -8
  248. package/dist/compiler/semantic-scene.cjs +7 -7
  249. package/dist/compiler/semantic-scene.js +2 -2
  250. package/dist/compiler/state.cjs +9 -9
  251. package/dist/compiler/state.js +7 -7
  252. package/dist/compiler/trait-composition.cjs +11 -11
  253. package/dist/compiler/trait-composition.js +7 -7
  254. package/dist/compiler/traits/ProvenanceSemiring.d.ts +167 -0
  255. package/dist/compiler/traits/Semiring.d.ts +26 -0
  256. package/dist/compiler/unity.cjs +11 -10
  257. package/dist/compiler/unity.js +10 -9
  258. package/dist/compiler/unreal.cjs +12 -11
  259. package/dist/compiler/unreal.js +10 -9
  260. package/dist/compiler/urdf.cjs +18 -17
  261. package/dist/compiler/urdf.js +9 -8
  262. package/dist/compiler/usd-physics.cjs +11 -10
  263. package/dist/compiler/usd-physics.js +8 -7
  264. package/dist/compiler/visionos.cjs +11 -10
  265. package/dist/compiler/visionos.js +10 -9
  266. package/dist/compiler/vrchat.cjs +11 -10
  267. package/dist/compiler/vrchat.js +9 -8
  268. package/dist/compiler/wasm.cjs +14 -13
  269. package/dist/compiler/wasm.js +9 -8
  270. package/dist/compiler/webgpu.cjs +10 -9
  271. package/dist/compiler/webgpu.js +9 -8
  272. package/dist/constants.cjs +398 -0
  273. package/dist/constants.js +9 -0
  274. package/dist/coordinators/index.cjs +4 -1
  275. package/dist/coordinators/index.js +4 -1
  276. package/dist/debugger.cjs +11 -9
  277. package/dist/debugger.js +9 -7
  278. package/dist/{dist-ACXG6IH5.cjs → dist-GRMOP2UL.cjs} +341 -65
  279. package/dist/{dist-VD4L6V7Q.js → dist-ZBUKU2JG.js} +333 -63
  280. package/dist/entries/interop.cjs +23 -23
  281. package/dist/entries/interop.js +3 -3
  282. package/dist/entries/scripting.cjs +12 -11
  283. package/dist/entries/scripting.js +8 -7
  284. package/dist/evolution/index.cjs +66 -0
  285. package/dist/evolution/index.d.ts +162 -0
  286. package/dist/evolution/index.js +17 -0
  287. package/dist/hololand/index.cjs +41 -37
  288. package/dist/hololand/index.js +3 -3
  289. package/dist/index.cjs +12394 -3224
  290. package/dist/index.d.ts +260 -18
  291. package/dist/index.js +10755 -2182
  292. package/dist/keyword-registry/PluginKeywordRegistry.d.ts +138 -0
  293. package/dist/keyword-registry/index.cjs +29 -0
  294. package/dist/keyword-registry/index.d.ts +1 -0
  295. package/dist/keyword-registry/index.js +4 -0
  296. package/dist/math/tropical-spmv.cjs +11 -11
  297. package/dist/math/tropical-spmv.d.ts +1 -0
  298. package/dist/math/tropical-spmv.js +2 -2
  299. package/dist/math/tropicalSpmv.d.ts +43 -0
  300. package/dist/math/vec3.cjs +1 -1
  301. package/dist/math/vec3.js +1 -1
  302. package/dist/matter/StagedMatter.d.ts +82 -0
  303. package/dist/matter/index.cjs +17 -0
  304. package/dist/matter/index.d.ts +1 -0
  305. package/dist/matter/index.js +4 -0
  306. package/dist/{ml-dsa-Z7JDKW4L.js → ml-dsa-J6VKVT4K.js} +3 -3
  307. package/dist/{ml-dsa-FSKBTE3W.cjs → ml-dsa-MTIK4ZUQ.cjs} +23 -23
  308. package/dist/paper-0c-spike/index.cjs +1 -1
  309. package/dist/paper-0c-spike/index.js +1 -1
  310. package/dist/parameter-envelope/ParameterEnvelope.d.ts +128 -0
  311. package/dist/parameter-envelope/index.cjs +17 -0
  312. package/dist/parameter-envelope/index.d.ts +2 -0
  313. package/dist/parameter-envelope/index.js +4 -0
  314. package/dist/parser/HoloCompositionTypes.d.ts +2013 -0
  315. package/dist/parser/PipelineParser.d.ts +162 -0
  316. package/dist/parser.cjs +36 -20
  317. package/dist/parser.js +13 -9
  318. package/dist/plugin-manifest/ManifestAutoLoader.d.ts +35 -0
  319. package/dist/plugin-manifest/PluginManifest.d.ts +156 -0
  320. package/dist/plugin-manifest/index.cjs +25 -0
  321. package/dist/plugin-manifest/index.d.ts +2 -0
  322. package/dist/plugin-manifest/index.js +4 -0
  323. package/dist/plugin-solver-contract/PluginSolverContract.d.ts +288 -0
  324. package/dist/plugin-solver-contract/index.cjs +41 -0
  325. package/dist/plugin-solver-contract/index.d.ts +1 -0
  326. package/dist/plugin-solver-contract/index.js +4 -0
  327. package/dist/policy/ContentPolicyGate.d.ts +51 -0
  328. package/dist/policy/PolicyPack.d.ts +120 -0
  329. package/dist/policy/blocklist.d.ts +32 -0
  330. package/dist/policy/defaults.d.ts +44 -0
  331. package/dist/policy/index.cjs +106 -0
  332. package/dist/policy/index.d.ts +17 -0
  333. package/dist/policy/index.js +5 -0
  334. package/dist/policy/jsonLogic.d.ts +31 -0
  335. package/dist/policy/types.d.ts +174 -0
  336. package/dist/proof-composition/ProofCompositionLaw.d.ts +93 -0
  337. package/dist/proof-composition/index.cjs +25 -0
  338. package/dist/proof-composition/index.d.ts +1 -0
  339. package/dist/proof-composition/index.js +4 -0
  340. package/dist/receipts/hash-policy.d.ts +85 -0
  341. package/dist/reconstruction/index.cjs +75 -47
  342. package/dist/reconstruction/index.js +5 -5
  343. package/dist/runtime/plugin-trait-registrar.d.ts +36 -0
  344. package/dist/runtime.cjs +81 -79
  345. package/dist/runtime.js +9 -7
  346. package/dist/scene-presets-EDKYZ5GW.js +4 -0
  347. package/dist/scene-presets-NCW2CFRS.cjs +17 -0
  348. package/dist/self-improvement/index.cjs +1 -1
  349. package/dist/self-improvement/index.js +1 -1
  350. package/dist/{src-PT2FERDV.cjs → src-G3D7ZATQ.cjs} +545 -21
  351. package/dist/{src-J6CM4AUR.js → src-UXYA7HM6.js} +539 -16
  352. package/dist/storage/index.cjs +10 -10
  353. package/dist/storage/index.js +3 -3
  354. package/dist/testing.cjs +1 -1
  355. package/dist/testing.js +1 -1
  356. package/dist/tools/index.cjs +3631 -0
  357. package/dist/tools/index.js +3581 -0
  358. package/dist/traitDocs/traitDocs.cjs +9 -9
  359. package/dist/traitDocs/traitDocs.d.ts +1 -0
  360. package/dist/traitDocs/traitDocs.js +3 -3
  361. package/dist/traits/ControlLoopTrait.d.ts +154 -0
  362. package/dist/traits/KinematicChainTrait.d.ts +116 -0
  363. package/dist/traits/SensorSamplingTrait.d.ts +154 -0
  364. package/dist/traits/TraitTypes.d.ts +270 -0
  365. package/dist/traits/TransactionTrait.d.ts +121 -0
  366. package/dist/traits/botanical-lotus.cjs +54 -50
  367. package/dist/traits/botanical-lotus.js +2 -5
  368. package/dist/traits/control-loop.cjs +21 -0
  369. package/dist/traits/control-loop.d.ts +1 -0
  370. package/dist/traits/control-loop.js +4 -0
  371. package/dist/traits/engines/cloth-verlet.d.ts +65 -0
  372. package/dist/traits/engines/index.cjs +19 -19
  373. package/dist/traits/engines/index.d.ts +15 -275
  374. package/dist/traits/engines/index.js +3 -3
  375. package/dist/traits/engines/motion-data-schema.d.ts +119 -0
  376. package/dist/traits/engines/motion-matching.d.ts +102 -0
  377. package/dist/traits/engines/noise.d.ts +25 -0
  378. package/dist/traits/engines/onnx-adapter.d.ts +173 -0
  379. package/dist/traits/engines/onnx-motion-matching.d.ts +163 -0
  380. package/dist/traits/engines/pfnn-network.d.ts +92 -0
  381. package/dist/traits/engines/synthetic-walk-cycle.d.ts +38 -0
  382. package/dist/traits/engines/tensor-ops.d.ts +15 -0
  383. package/dist/traits/index.cjs +2789 -1259
  384. package/dist/traits/index.d.ts +35 -0
  385. package/dist/traits/index.js +1692 -411
  386. package/dist/traits/kinematic-chain.cjs +25 -0
  387. package/dist/traits/kinematic-chain.d.ts +1 -0
  388. package/dist/traits/kinematic-chain.js +4 -0
  389. package/dist/traits/sensor-sampling.cjs +33 -0
  390. package/dist/traits/sensor-sampling.d.ts +1 -0
  391. package/dist/traits/sensor-sampling.js +4 -0
  392. package/dist/traits/simulation-solver-factory.cjs +1 -1
  393. package/dist/traits/simulation-solver-factory.js +1 -1
  394. package/dist/traits/transaction.cjs +29 -0
  395. package/dist/traits/transaction.d.ts +1 -0
  396. package/dist/traits/transaction.js +4 -0
  397. package/dist/traits/webcam-gaze.cjs +1 -1
  398. package/dist/traits/webcam-gaze.js +1 -1
  399. package/dist/type-checker.cjs +7 -6
  400. package/dist/type-checker.js +5 -4
  401. package/dist/types/AdvancedTypeSystem.d.ts +489 -0
  402. package/dist/types/HoloScriptPlus.d.ts +810 -0
  403. package/dist/types/base.d.ts +248 -0
  404. package/dist/types.d.ts +799 -0
  405. package/dist/world/index.cjs +3 -4
  406. package/dist/world/index.js +3 -4
  407. package/dist/world-model/index.cjs +1 -1
  408. package/dist/world-model/index.js +1 -1
  409. package/dist/wot/index.cjs +1 -1
  410. package/dist/wot/index.js +1 -1
  411. package/package.json +135 -69
  412. package/dist/GLTFPipeline-3EJLL3TS.cjs +0 -38
  413. package/dist/GLTFPipeline-3OWJV2VK.js +0 -17
  414. package/dist/HoloScriptPlusParser-ADWRY5OS.cjs +0 -698
  415. package/dist/HoloScriptPlusParser-JLJDXHSC.js +0 -693
  416. package/dist/HoloScriptPlusParser-QCGFPWIL.cjs +0 -27
  417. package/dist/HoloScriptPlusParser-WENAFEFV.js +0 -10
  418. package/dist/HoloScriptRuntime-GGRVEU4T.cjs +0 -19
  419. package/dist/HoloScriptRuntime-GJK6VJPH.js +0 -10
  420. package/dist/chunk-22Q5A6RV.js +0 -979
  421. package/dist/chunk-4C57PR42.js +0 -468
  422. package/dist/chunk-4W5G5QVL.cjs +0 -847
  423. package/dist/chunk-5ET6L4NS.js +0 -487
  424. package/dist/chunk-C4GSLCHE.cjs +0 -7153
  425. package/dist/chunk-F2G6CWFT.js +0 -7089
  426. package/dist/chunk-G6PNEASF.cjs +0 -814
  427. package/dist/chunk-GTA4Q3A3.js +0 -1491
  428. package/dist/chunk-HCCQLAA4.cjs +0 -74
  429. package/dist/chunk-HFSVMKM3.cjs +0 -72
  430. package/dist/chunk-KAIVDEIG.cjs +0 -4539
  431. package/dist/chunk-KQU64CIX.cjs +0 -1508
  432. package/dist/chunk-MSYSQ2AJ.js +0 -4533
  433. package/dist/chunk-NHJLP37F.js +0 -70
  434. package/dist/chunk-NHYRRAGI.cjs +0 -490
  435. package/dist/chunk-OIQYIIO3.cjs +0 -473
  436. package/dist/chunk-OL46QLBJ.js +0 -61
  437. package/dist/chunk-SKZPC5AG.cjs +0 -984
  438. package/dist/chunk-SLHLXUMO.js +0 -445
  439. package/dist/chunk-UOIGFQXC.cjs +0 -9750
  440. package/dist/chunk-UOL6Y5TD.cjs +0 -759
  441. package/dist/chunk-UVFI7XIR.cjs +0 -452
  442. package/dist/chunk-VEPGBETF.js +0 -844
  443. package/dist/chunk-XQ5MWMP2.js +0 -756
  444. package/dist/chunk-XT6JY5W5.js +0 -9684
  445. package/dist/chunk-YRRAUB35.js +0 -811
  446. package/dist/compiler/GasOptimizationAnalyzer.d.ts +0 -73
  447. package/dist/compiler/NFTMarketplaceCompiler.d.ts +0 -23
  448. package/dist/compiler/ar.cjs +0 -23
  449. package/dist/compiler/ar.js +0 -11
  450. package/dist/compiler/babylon.cjs +0 -21
  451. package/dist/compiler/babylon.js +0 -15
  452. package/dist/compiler/multi-layer.cjs +0 -24
  453. package/dist/compiler/multi-layer.js +0 -15
  454. package/dist/compiler/playcanvas.cjs +0 -19
  455. package/dist/compiler/playcanvas.js +0 -13
  456. package/dist/compiler/r3f.cjs +0 -39
  457. package/dist/compiler/r3f.d.ts +0 -22
  458. package/dist/compiler/r3f.js +0 -17
  459. package/dist/compiler/vrr.cjs +0 -24
  460. package/dist/compiler/vrr.js +0 -12
  461. package/dist/parser/NFTMarketplaceTypes.d.ts +0 -191
  462. package/dist/playwright-3AT3AKTV.cjs +0 -98673
  463. package/dist/playwright-VZPDVUEQ.js +0 -98660
@@ -1,4 +1,4 @@
1
- import { __require } from './chunk-OL46QLBJ.js';
1
+ import { __require } from './chunk-W4GABFCR.js';
2
2
 
3
3
  // ../snn-webgpu/dist/index.js
4
4
  var __require2 = /* @__PURE__ */ ((x) => typeof __require !== "undefined" ? __require : typeof Proxy !== "undefined" ? new Proxy(x, {
@@ -1171,26 +1171,57 @@ function extractBotanicalMaterialFromPhotoFixtures(input) {
1171
1171
  const shadowLuma = luminance(petalShadow);
1172
1172
  const petalSat = saturation(petalMid);
1173
1173
  const petalContrast = colorDistance(petalRim, petalShadow);
1174
- const veinContrast = Math.max(colorDistance(vein, petalMid), Math.abs(luminance(vein) - petalLuma));
1174
+ const veinContrast = Math.max(
1175
+ colorDistance(vein, petalMid),
1176
+ Math.abs(luminance(vein) - petalLuma)
1177
+ );
1175
1178
  const silhouetteContrast = colorDistance(silhouetteEdge, petalBase);
1176
1179
  const coverage = regionCoverage(input.fixtures);
1177
1180
  const provConfidence = provenanceConfidence(input.anchors);
1178
1181
  const subsurfaceScattering = round(
1179
- clamp(0.48 + petalSat * 0.18 + Math.max(0, edgeLuma - shadowLuma) * 0.2 + coverage * 0.09, 0.28, 0.92)
1182
+ clamp(
1183
+ 0.48 + petalSat * 0.18 + Math.max(0, edgeLuma - shadowLuma) * 0.2 + coverage * 0.09,
1184
+ 0.28,
1185
+ 0.92
1186
+ )
1187
+ );
1188
+ const translucencyBase = round(
1189
+ clamp(0.34 + luminance(petalBase) * 0.28 + coverage * 0.08, 0.2, 0.82)
1190
+ );
1191
+ const translucencyEdge = round(
1192
+ clamp(translucencyBase * (0.48 + petalContrast * 0.34), 0.14, 0.72)
1193
+ );
1194
+ const translucencyTip = round(
1195
+ clamp(translucencyEdge + Math.max(0, edgeLuma - petalLuma) * 0.16, 0.16, 0.78)
1180
1196
  );
1181
- const translucencyBase = round(clamp(0.34 + luminance(petalBase) * 0.28 + coverage * 0.08, 0.2, 0.82));
1182
- const translucencyEdge = round(clamp(translucencyBase * (0.48 + petalContrast * 0.34), 0.14, 0.72));
1183
- const translucencyTip = round(clamp(translucencyEdge + Math.max(0, edgeLuma - petalLuma) * 0.16, 0.16, 0.78));
1184
1197
  const roughness = round(clamp(0.84 - petalSat * 0.16 - petalContrast * 0.18, 0.46, 0.88));
1185
1198
  const ior = round(clamp(1.31 + petalLuma * 0.06 + petalSat * 0.045, 1.31, 1.44), 2);
1186
- const veinNormalIntensity = round(clamp(0.018 + veinContrast * 0.095 + coverage * 0.012, 0.012, 0.12));
1187
- const edgeCurlIntensity = round(clamp(0.34 + silhouetteContrast * 0.46 + petalContrast * 0.18, 0.24, 0.82));
1188
- const gravitySagOuter = round(clamp(0.12 + (1 - luminance(leafDark)) * 0.16 + silhouetteContrast * 0.08, 0.1, 0.42));
1199
+ const veinNormalIntensity = round(
1200
+ clamp(0.018 + veinContrast * 0.095 + coverage * 0.012, 0.012, 0.12)
1201
+ );
1202
+ const edgeCurlIntensity = round(
1203
+ clamp(0.34 + silhouetteContrast * 0.46 + petalContrast * 0.18, 0.24, 0.82)
1204
+ );
1205
+ const gravitySagOuter = round(
1206
+ clamp(0.12 + (1 - luminance(leafDark)) * 0.16 + silhouetteContrast * 0.08, 0.1, 0.42)
1207
+ );
1189
1208
  const sssConfidence = round(clamp(coverage * 0.6 + provConfidence * 0.4, 0, 1));
1190
- const translucencyConfidence = round(clamp((coverage + (collectRegionPixels(input.fixtures, "petal_rim").length ? 1 : 0)) / 2, 0, 1));
1191
- const veinConfidence = round(clamp((collectRegionPixels(input.fixtures, "vein").length ? 0.64 : 0.22) + provConfidence * 0.36, 0, 1));
1192
- const roughnessConfidence = round(clamp(coverage * 0.5 + provConfidence * 0.28 + (input.fixtures.length > 0 ? 0.22 : 0), 0, 1));
1193
- const overall = round((sssConfidence + translucencyConfidence + veinConfidence + roughnessConfidence + provConfidence) / 5);
1209
+ const translucencyConfidence = round(
1210
+ clamp((coverage + (collectRegionPixels(input.fixtures, "petal_rim").length ? 1 : 0)) / 2, 0, 1)
1211
+ );
1212
+ const veinConfidence = round(
1213
+ clamp(
1214
+ (collectRegionPixels(input.fixtures, "vein").length ? 0.64 : 0.22) + provConfidence * 0.36,
1215
+ 0,
1216
+ 1
1217
+ )
1218
+ );
1219
+ const roughnessConfidence = round(
1220
+ clamp(coverage * 0.5 + provConfidence * 0.28 + (input.fixtures.length > 0 ? 0.22 : 0), 0, 1)
1221
+ );
1222
+ const overall = round(
1223
+ (sssConfidence + translucencyConfidence + veinConfidence + roughnessConfidence + provConfidence) / 5
1224
+ );
1194
1225
  return {
1195
1226
  schema: "holoscript.botanical.material-extract.v1",
1196
1227
  status: extractionStatus(input.anchors),
@@ -1760,7 +1791,9 @@ var TropicalShortestPaths = class _TropicalShortestPaths {
1760
1791
  }
1761
1792
  static computeAPSPCPU(adjacencyMatrix, n) {
1762
1793
  if (adjacencyMatrix.length !== n * n) {
1763
- throw new Error(`adjacencyMatrix length (${adjacencyMatrix.length}) must equal n*n (${n * n})`);
1794
+ throw new Error(
1795
+ `adjacencyMatrix length (${adjacencyMatrix.length}) must equal n*n (${n * n})`
1796
+ );
1764
1797
  }
1765
1798
  const dist = new Float32Array(adjacencyMatrix);
1766
1799
  for (let k = 0; k < n; k++) {
@@ -1841,7 +1874,9 @@ var TropicalShortestPaths = class _TropicalShortestPaths {
1841
1874
  }
1842
1875
  async computeAPSP(adjacencyMatrix, n) {
1843
1876
  if (adjacencyMatrix.length !== n * n) {
1844
- throw new Error(`adjacencyMatrix length (${adjacencyMatrix.length}) must equal n*n (${n * n})`);
1877
+ throw new Error(
1878
+ `adjacencyMatrix length (${adjacencyMatrix.length}) must equal n*n (${n * n})`
1879
+ );
1845
1880
  }
1846
1881
  if (!this.preferGPU || n < this.denseCpuThreshold) {
1847
1882
  return _TropicalShortestPaths.computeAPSPCPU(adjacencyMatrix, n);
@@ -2204,7 +2239,9 @@ async function runLIFDeterminismProbe(ctx, options) {
2204
2239
  const stimulusSeed = options.stimulusSeed;
2205
2240
  const stimulusAmplitude = options.stimulusAmplitude ?? { min: 0, max: 1.2 };
2206
2241
  if (neuronCount <= 0 || !Number.isInteger(neuronCount)) {
2207
- throw new Error(`LIFDeterminismProbe: neuronCount must be a positive integer, got ${neuronCount}`);
2242
+ throw new Error(
2243
+ `LIFDeterminismProbe: neuronCount must be a positive integer, got ${neuronCount}`
2244
+ );
2208
2245
  }
2209
2246
  if (tickCount <= 0 || !Number.isInteger(tickCount)) {
2210
2247
  throw new Error(`LIFDeterminismProbe: tickCount must be a positive integer, got ${tickCount}`);
@@ -2217,11 +2254,7 @@ async function runLIFDeterminismProbe(ctx, options) {
2217
2254
  sim.setSynapticInput(stimulus);
2218
2255
  await sim.stepN(tickCount);
2219
2256
  const readback = await sim.readMembranePotentials();
2220
- return new Uint8Array(
2221
- readback.data.buffer,
2222
- readback.data.byteOffset,
2223
- readback.data.byteLength
2224
- );
2257
+ return new Uint8Array(readback.data.buffer, readback.data.byteOffset, readback.data.byteLength);
2225
2258
  } finally {
2226
2259
  sim.destroy();
2227
2260
  }
@@ -2248,6 +2281,7 @@ var ProphecyOrchestrator = class {
2248
2281
  this.config = config;
2249
2282
  this.frameCounter = 0;
2250
2283
  this.lastFrame = null;
2284
+ this.lastScene = null;
2251
2285
  this.initialized = false;
2252
2286
  this.uniformBuffer = null;
2253
2287
  this.spikeRatesBuffer = null;
@@ -2286,9 +2320,7 @@ var ProphecyOrchestrator = class {
2286
2320
  }
2287
2321
  const floor = config.confidenceFloor ?? 0.05;
2288
2322
  if (floor < 0 || floor > 1) {
2289
- throw new Error(
2290
- `ProphecyOrchestrator: confidenceFloor must be in [0,1], got ${floor}`
2291
- );
2323
+ throw new Error(`ProphecyOrchestrator: confidenceFloor must be in [0,1], got ${floor}`);
2292
2324
  }
2293
2325
  }
2294
2326
  /** Allocate GPU buffers and upload static probe positions / albedo. */
@@ -2403,7 +2435,7 @@ var ProphecyOrchestrator = class {
2403
2435
  const t0 = typeof performance !== "undefined" && typeof performance.now === "function" ? performance.now() : Date.now();
2404
2436
  const uniforms = this.packUniforms(scene);
2405
2437
  this.ctx.device.queue.writeBuffer(this.uniformBuffer, 0, uniforms);
2406
- const probes = this.computeProbesCpu(scene);
2438
+ const probes = this.applyTemporalReprojection(this.computeProbesCpu(scene), scene);
2407
2439
  const t1 = typeof performance !== "undefined" && typeof performance.now === "function" ? performance.now() : Date.now();
2408
2440
  const frame = {
2409
2441
  frameId: this.frameCounter++,
@@ -2413,6 +2445,7 @@ var ProphecyOrchestrator = class {
2413
2445
  source: "local"
2414
2446
  };
2415
2447
  this.lastFrame = frame;
2448
+ this.lastScene = scene;
2416
2449
  return frame;
2417
2450
  }
2418
2451
  /**
@@ -2445,17 +2478,61 @@ var ProphecyOrchestrator = class {
2445
2478
  }
2446
2479
  out[i] = {
2447
2480
  index: i,
2448
- position: [
2449
- positions[i * 3 + 0],
2450
- positions[i * 3 + 1],
2451
- positions[i * 3 + 2]
2452
- ],
2481
+ position: [positions[i * 3 + 0], positions[i * 3 + 1], positions[i * 3 + 2]],
2453
2482
  rgb: [r, g, b],
2454
2483
  confidence
2455
2484
  };
2456
2485
  }
2457
2486
  return out;
2458
2487
  }
2488
+ applyTemporalReprojection(probes, scene) {
2489
+ const temporal = this.config.temporalReprojection;
2490
+ if (!temporal?.enabled || !this.lastFrame || !this.lastScene) {
2491
+ return probes;
2492
+ }
2493
+ const historyWeight = this.clamp01(temporal.historyWeight ?? 0.85);
2494
+ const confidenceDecay = this.clamp01(temporal.confidenceDecay ?? 0.98);
2495
+ const maxCameraDelta = temporal.maxCameraDelta ?? 0.5;
2496
+ const maxSunDelta = temporal.maxSunDelta ?? 0.5;
2497
+ const cameraDelta = this.vecDistance(scene.cameraPosition, this.lastScene.cameraPosition);
2498
+ const sunDelta = this.vecDistance(scene.sunDirection, this.lastScene.sunDirection);
2499
+ const cameraFactor = maxCameraDelta <= 0 ? 0 : this.clamp01(1 - cameraDelta / maxCameraDelta);
2500
+ const sunFactor = maxSunDelta <= 0 ? 0 : this.clamp01(1 - sunDelta / maxSunDelta);
2501
+ const alpha = historyWeight * cameraFactor * sunFactor;
2502
+ if (alpha <= 0) {
2503
+ return probes;
2504
+ }
2505
+ const previous = this.lastFrame.probes;
2506
+ return probes.map((probe, index) => {
2507
+ const prev = previous[index];
2508
+ if (!prev || prev.index !== probe.index) {
2509
+ return probe;
2510
+ }
2511
+ return {
2512
+ ...probe,
2513
+ rgb: [
2514
+ prev.rgb[0] * alpha + probe.rgb[0] * (1 - alpha),
2515
+ prev.rgb[1] * alpha + probe.rgb[1] * (1 - alpha),
2516
+ prev.rgb[2] * alpha + probe.rgb[2] * (1 - alpha)
2517
+ ],
2518
+ confidence: this.clamp01(
2519
+ prev.confidence * confidenceDecay * alpha + probe.confidence * (1 - alpha)
2520
+ )
2521
+ };
2522
+ });
2523
+ }
2524
+ vecDistance(a, b) {
2525
+ const dx = a[0] - b[0];
2526
+ const dy = a[1] - b[1];
2527
+ const dz = a[2] - b[2];
2528
+ return Math.sqrt(dx * dx + dy * dy + dz * dz);
2529
+ }
2530
+ clamp01(value) {
2531
+ if (!Number.isFinite(value)) return 0;
2532
+ if (value < 0) return 0;
2533
+ if (value > 1) return 1;
2534
+ return value;
2535
+ }
2459
2536
  /** Test/dev helper: prime the CPU shadow without touching the GPU
2460
2537
  * buffer, useful for unit tests. */
2461
2538
  primeSpikeRatesShadow(rates) {
@@ -2486,6 +2563,8 @@ var ProphecyOrchestrator = class {
2486
2563
  this.readbackBuffer = null;
2487
2564
  this.initialized = false;
2488
2565
  this.lastSpikeRatesShadow = null;
2566
+ this.lastFrame = null;
2567
+ this.lastScene = null;
2489
2568
  }
2490
2569
  assertInit() {
2491
2570
  if (!this.initialized) {
@@ -2498,8 +2577,10 @@ var LocalProphecyTransport = class {
2498
2577
  this.options = options;
2499
2578
  this.kind = "local";
2500
2579
  this.orchestrator = null;
2580
+ this.config = null;
2501
2581
  }
2502
2582
  async initialize(config) {
2583
+ this.config = config;
2503
2584
  this.orchestrator = new ProphecyOrchestrator(this.options.ctx, config);
2504
2585
  this.orchestrator.initialize();
2505
2586
  }
@@ -2507,15 +2588,7 @@ var LocalProphecyTransport = class {
2507
2588
  if (!this.orchestrator) {
2508
2589
  throw new Error("LocalProphecyTransport: not initialized");
2509
2590
  }
2510
- const rates = await this.options.spikeRates(
2511
- scene,
2512
- this.orchestrator.getLastFrame()?.probes.length ?? // Probe count is fixed at initialize-time; if no frame has run
2513
- // yet we ask the provider for the configured count. We can
2514
- // recover that from the orchestrator's last upload, or we
2515
- // honour what the provider returns. We choose the latter for
2516
- // simplicity and validate length in primeSpikeRatesShadow.
2517
- 0
2518
- );
2591
+ const rates = await this.options.spikeRates(scene, this.config?.probeCount ?? 0);
2519
2592
  this.orchestrator.primeSpikeRatesShadow(rates);
2520
2593
  this.orchestrator.uploadSpikeRates(rates);
2521
2594
  return this.orchestrator.step(scene);
@@ -2523,8 +2596,190 @@ var LocalProphecyTransport = class {
2523
2596
  async destroy() {
2524
2597
  this.orchestrator?.destroy();
2525
2598
  this.orchestrator = null;
2599
+ this.config = null;
2526
2600
  }
2527
2601
  };
2602
+ var PROPHECY_SPIKE_FEATURE_COUNT = 9;
2603
+ function clamp01(value) {
2604
+ if (!Number.isFinite(value)) return 0;
2605
+ if (value < 0) return 0;
2606
+ if (value > 1) return 1;
2607
+ return value;
2608
+ }
2609
+ function sigmoid(value) {
2610
+ if (value <= -30) return 0;
2611
+ if (value >= 30) return 1;
2612
+ return 1 / (1 + Math.exp(-value));
2613
+ }
2614
+ function vectorLength3(x, y, z) {
2615
+ return Math.sqrt(x * x + y * y + z * z);
2616
+ }
2617
+ function writeFeatureVector(out, scene, probePositions, probeIndex) {
2618
+ const px = probePositions[probeIndex * 3 + 0];
2619
+ const py = probePositions[probeIndex * 3 + 1];
2620
+ const pz = probePositions[probeIndex * 3 + 2];
2621
+ const dx = px - scene.cameraPosition[0];
2622
+ const dy = py - scene.cameraPosition[1];
2623
+ const dz = pz - scene.cameraPosition[2];
2624
+ const distance = vectorLength3(dx, dy, dz);
2625
+ const invDistance = 1 / (1 + distance);
2626
+ const dirScale = distance > 0 ? 1 / distance : 0;
2627
+ const forwardDot = (dx * dirScale * scene.cameraForward[0] + dy * dirScale * scene.cameraForward[1] + dz * dirScale * scene.cameraForward[2] + 1) * 0.5;
2628
+ const sunAlignment = (scene.sunDirection[0] * dx * dirScale + scene.sunDirection[1] * dy * dirScale + scene.sunDirection[2] * dz * dirScale + 1) * 0.5;
2629
+ const sunLuminance = scene.sunColor[0] * 0.2126 + scene.sunColor[1] * 0.7152 + scene.sunColor[2] * 0.0722;
2630
+ out[0] = invDistance;
2631
+ out[1] = clamp01(forwardDot);
2632
+ out[2] = clamp01((py + 4) / 8);
2633
+ out[3] = clamp01((scene.sunDirection[1] + 1) * 0.5);
2634
+ out[4] = clamp01(sunAlignment);
2635
+ out[5] = clamp01(scene.sunColor[0]);
2636
+ out[6] = clamp01(scene.sunColor[1]);
2637
+ out[7] = clamp01(scene.sunColor[2]);
2638
+ out[8] = clamp01(scene.prevAvgLuminance ?? sunLuminance);
2639
+ }
2640
+ function encodeProphecySceneProbeFeatures(scene, probePositions, probeIndex) {
2641
+ const features = new Float32Array(PROPHECY_SPIKE_FEATURE_COUNT);
2642
+ writeFeatureVector(features, scene, probePositions, probeIndex);
2643
+ return features;
2644
+ }
2645
+ function assertTrainingShape(samples, options) {
2646
+ if (!Number.isInteger(options.probeCount) || options.probeCount <= 0) {
2647
+ throw new Error(
2648
+ `trainProphecySpikeRateModel: probeCount must be positive, got ${options.probeCount}`
2649
+ );
2650
+ }
2651
+ if (options.probePositions.length !== options.probeCount * 3) {
2652
+ throw new Error(
2653
+ `trainProphecySpikeRateModel: probePositions length ${options.probePositions.length} does not match probeCount*3 (${options.probeCount * 3})`
2654
+ );
2655
+ }
2656
+ if (samples.length === 0) {
2657
+ throw new Error("trainProphecySpikeRateModel: at least one training sample is required");
2658
+ }
2659
+ for (const sample of samples) {
2660
+ if (sample.targetSpikeRates.length !== options.probeCount) {
2661
+ throw new Error(
2662
+ `trainProphecySpikeRateModel: targetSpikeRates length ${sample.targetSpikeRates.length} does not match probeCount ${options.probeCount}`
2663
+ );
2664
+ }
2665
+ }
2666
+ }
2667
+ function modelLoss(model, samples) {
2668
+ const features = new Float32Array(PROPHECY_SPIKE_FEATURE_COUNT);
2669
+ let loss = 0;
2670
+ let count = 0;
2671
+ for (const sample of samples) {
2672
+ const sampleWeight = sample.weight ?? 1;
2673
+ for (let probe = 0; probe < model.probeCount; probe++) {
2674
+ writeFeatureVector(features, sample.scene, model.probePositions, probe);
2675
+ let z = model.bias[probe];
2676
+ const offset = probe * PROPHECY_SPIKE_FEATURE_COUNT;
2677
+ for (let i = 0; i < PROPHECY_SPIKE_FEATURE_COUNT; i++) {
2678
+ z += model.weights[offset + i] * features[i];
2679
+ }
2680
+ const err = clamp01(sample.targetSpikeRates[probe]) - sigmoid(z);
2681
+ loss += err * err * sampleWeight;
2682
+ count += sampleWeight;
2683
+ }
2684
+ }
2685
+ return count > 0 ? loss / count : 0;
2686
+ }
2687
+ function trainProphecySpikeRateModel(samples, options) {
2688
+ assertTrainingShape(samples, options);
2689
+ const epochs = options.epochs ?? 32;
2690
+ const learningRate = options.learningRate ?? 0.08;
2691
+ const l2 = options.l2 ?? 1e-4;
2692
+ const weights = new Float32Array(options.probeCount * PROPHECY_SPIKE_FEATURE_COUNT);
2693
+ const bias = new Float32Array(options.probeCount);
2694
+ const probePositions = new Float32Array(options.probePositions);
2695
+ const features = new Float32Array(PROPHECY_SPIKE_FEATURE_COUNT);
2696
+ const modelBase = { probeCount: options.probeCount, probePositions, weights, bias };
2697
+ const initialLoss = modelLoss(modelBase, samples);
2698
+ for (let epoch = 0; epoch < epochs; epoch++) {
2699
+ for (const sample of samples) {
2700
+ const sampleWeight = sample.weight ?? 1;
2701
+ for (let probe = 0; probe < options.probeCount; probe++) {
2702
+ writeFeatureVector(features, sample.scene, probePositions, probe);
2703
+ const offset = probe * PROPHECY_SPIKE_FEATURE_COUNT;
2704
+ let z = bias[probe];
2705
+ for (let i = 0; i < PROPHECY_SPIKE_FEATURE_COUNT; i++) {
2706
+ z += weights[offset + i] * features[i];
2707
+ }
2708
+ const prediction = sigmoid(z);
2709
+ const target = clamp01(sample.targetSpikeRates[probe]);
2710
+ const grad = (target - prediction) * prediction * (1 - prediction) * sampleWeight;
2711
+ for (let i = 0; i < PROPHECY_SPIKE_FEATURE_COUNT; i++) {
2712
+ const wi = offset + i;
2713
+ weights[wi] += learningRate * (grad * features[i] - l2 * weights[wi]);
2714
+ }
2715
+ bias[probe] += learningRate * grad;
2716
+ }
2717
+ }
2718
+ }
2719
+ const finalLoss = modelLoss(modelBase, samples);
2720
+ return {
2721
+ kind: "prophetic-gi-spike-rate-model",
2722
+ version: 1,
2723
+ probeCount: options.probeCount,
2724
+ featureCount: PROPHECY_SPIKE_FEATURE_COUNT,
2725
+ probePositions,
2726
+ weights,
2727
+ bias,
2728
+ training: {
2729
+ epochs,
2730
+ learningRate,
2731
+ l2,
2732
+ sampleCount: samples.length,
2733
+ initialLoss,
2734
+ finalLoss
2735
+ }
2736
+ };
2737
+ }
2738
+ function decodeProphecySpikeRates(model, scene, probeCount = model.probeCount) {
2739
+ if (probeCount !== model.probeCount) {
2740
+ throw new Error(
2741
+ `decodeProphecySpikeRates: provider asked for ${probeCount} probes, model has ${model.probeCount}`
2742
+ );
2743
+ }
2744
+ const features = new Float32Array(PROPHECY_SPIKE_FEATURE_COUNT);
2745
+ const out = new Float32Array(model.probeCount);
2746
+ for (let probe = 0; probe < model.probeCount; probe++) {
2747
+ writeFeatureVector(features, scene, model.probePositions, probe);
2748
+ const offset = probe * PROPHECY_SPIKE_FEATURE_COUNT;
2749
+ let z = model.bias[probe];
2750
+ for (let i = 0; i < PROPHECY_SPIKE_FEATURE_COUNT; i++) {
2751
+ z += model.weights[offset + i] * features[i];
2752
+ }
2753
+ out[probe] = clamp01(sigmoid(z));
2754
+ }
2755
+ return out;
2756
+ }
2757
+ function decodeSpikeRateWindow(spikeWindow, probeCount, timeWindow) {
2758
+ if (!Number.isInteger(probeCount) || probeCount <= 0) {
2759
+ throw new Error(`decodeSpikeRateWindow: probeCount must be positive, got ${probeCount}`);
2760
+ }
2761
+ if (!Number.isInteger(timeWindow) || timeWindow <= 0) {
2762
+ throw new Error(`decodeSpikeRateWindow: timeWindow must be positive, got ${timeWindow}`);
2763
+ }
2764
+ if (spikeWindow.length !== probeCount * timeWindow) {
2765
+ throw new Error(
2766
+ `decodeSpikeRateWindow: spike window length ${spikeWindow.length} does not match probeCount*timeWindow (${probeCount * timeWindow})`
2767
+ );
2768
+ }
2769
+ const out = new Float32Array(probeCount);
2770
+ for (let probe = 0; probe < probeCount; probe++) {
2771
+ let spikes = 0;
2772
+ const offset = probe * timeWindow;
2773
+ for (let t = 0; t < timeWindow; t++) {
2774
+ if (spikeWindow[offset + t] > 0.5) spikes++;
2775
+ }
2776
+ out[probe] = spikes / timeWindow;
2777
+ }
2778
+ return out;
2779
+ }
2780
+ function createTrainedSpikeRateProvider(model) {
2781
+ return (scene, probeCount) => decodeProphecySpikeRates(model, scene, probeCount);
2782
+ }
2528
2783
  function resolveTtuEndpoint(endpoint, holomeshHost = "https://mcp.holoscript.net") {
2529
2784
  if (!endpoint || typeof endpoint !== "string") {
2530
2785
  throw new Error("HoloMeshProphecyTransport: endpoint must be a non-empty string");
@@ -2545,9 +2800,7 @@ function resolveTtuEndpoint(endpoint, holomeshHost = "https://mcp.holoscript.net
2545
2800
  const rest = endpoint.slice("ttu://".length);
2546
2801
  const parts = rest.split("/").filter(Boolean);
2547
2802
  if (parts.length < 2) {
2548
- throw new Error(
2549
- `HoloMeshProphecyTransport: unsupported ttu URI shape: ${endpoint}`
2550
- );
2803
+ throw new Error(`HoloMeshProphecyTransport: unsupported ttu URI shape: ${endpoint}`);
2551
2804
  }
2552
2805
  const targetHost = parts[0].includes("://") ? parts[0] : `https://${parts[0]}`;
2553
2806
  const sessionId = parts.slice(1).join("/");
@@ -2589,10 +2842,7 @@ var HoloMeshProphecyTransport = class {
2589
2842
  });
2590
2843
  }
2591
2844
  async initialize(config) {
2592
- this.resolved = resolveTtuEndpoint(
2593
- this.options.endpoint,
2594
- this.options.holomeshHost
2595
- );
2845
+ this.resolved = resolveTtuEndpoint(this.options.endpoint, this.options.holomeshHost);
2596
2846
  if (this.options.fallback && !this.initializedFallback) {
2597
2847
  await this.options.fallback.initialize(config);
2598
2848
  this.initializedFallback = true;
@@ -2711,22 +2961,36 @@ function extractBotanicalLotusMaterial(samples, options = {}) {
2711
2961
  (pixel) => pixel.luma,
2712
2962
  meanPetalLuma
2713
2963
  );
2714
- const backlightLift = clamp01(petalEdgeLuma - petalCenterLuma + 0.5);
2964
+ const backlightLift = clamp012(petalEdgeLuma - petalCenterLuma + 0.5);
2715
2965
  const veinNormal = clamp2(round4(0.018 + petalGradient * 0.22), 0.018, 0.09);
2716
2966
  const colors = deriveColors(petal, leaf, stamen, water);
2717
2967
  const material = {
2718
- subsurface_scattering: clamp2(round4(0.48 + meanPetalSat * 0.22 + backlightLift * 0.18), 0.45, 0.82),
2968
+ subsurface_scattering: clamp2(
2969
+ round4(0.48 + meanPetalSat * 0.22 + backlightLift * 0.18),
2970
+ 0.45,
2971
+ 0.82
2972
+ ),
2719
2973
  subsurface_radius_rgb: deriveSubsurfaceRadius(colors.petal_mid),
2720
- petal_translucency_base: clamp2(round4(0.42 + meanPetalLuma * 0.24 + backlightLift * 0.18), 0.38, 0.78),
2974
+ petal_translucency_base: clamp2(
2975
+ round4(0.42 + meanPetalLuma * 0.24 + backlightLift * 0.18),
2976
+ 0.38,
2977
+ 0.78
2978
+ ),
2721
2979
  petal_translucency_edge: clamp2(round4(0.24 + petalEdgeLuma * 0.18), 0.24, 0.48),
2722
2980
  roughness: clamp2(round4(0.64 + veinNormal * 1.4), 0.62, 0.82),
2723
2981
  ior: clamp2(round4(1.33 + meanPetalSat * 0.055), 1.33, 1.39),
2724
2982
  vein_normal_intensity: veinNormal,
2725
- edge_curl_intensity: clamp2(round4(0.34 + mean(petal, (pixel) => pixel.edge, 0.5) * 0.38), 0.34, 0.68),
2983
+ edge_curl_intensity: clamp2(
2984
+ round4(0.34 + mean(petal, (pixel) => pixel.edge, 0.5) * 0.38),
2985
+ 0.34,
2986
+ 0.68
2987
+ ),
2726
2988
  gravity_sag_outer: clamp2(round4(0.18 + meanPetalLuma * 0.18), 0.18, 0.36)
2727
2989
  };
2728
2990
  const provenanceHashCount = samples.filter((sample) => sample.provenance?.contentHash).length;
2729
- const provenanceSignatureCount = samples.filter((sample) => sample.provenance?.walletSignature).length;
2991
+ const provenanceSignatureCount = samples.filter(
2992
+ (sample) => sample.provenance?.walletSignature
2993
+ ).length;
2730
2994
  const contentHashStatus = completenessStatus(provenanceHashCount, samples.length);
2731
2995
  const walletSignatureStatus = completenessStatus(provenanceSignatureCount, samples.length);
2732
2996
  const signed = contentHashStatus === "complete" && walletSignatureStatus === "complete";
@@ -2838,7 +3102,9 @@ function assertSampleShape(sample) {
2838
3102
  }
2839
3103
  const expected = sample.width * sample.height * 4;
2840
3104
  if (sample.data.length < expected) {
2841
- throw new Error(`Image sample ${sample.id} has ${sample.data.length} RGBA values; expected ${expected}`);
3105
+ throw new Error(
3106
+ `Image sample ${sample.id} has ${sample.data.length} RGBA values; expected ${expected}`
3107
+ );
2842
3108
  }
2843
3109
  }
2844
3110
  function deriveColors(petal, leaf, stamen, water) {
@@ -2849,7 +3115,11 @@ function deriveColors(petal, leaf, stamen, water) {
2849
3115
  petal_rim: pixelToHex(percentilePixel(petal, "s", 0.88, DEFAULT_COLORS2.petal_rim)),
2850
3116
  petal_shadow: pixelToHex(percentilePixel(petal, "luma", 0.16, DEFAULT_COLORS2.petal_shadow)),
2851
3117
  seed_pod: pixelToHex(percentilePixel(stamen, "luma", 0.82, DEFAULT_COLORS2.seed_pod)),
2852
- seed_pod_rim: mixHex(pixelToHex(percentilePixel(stamen, "luma", 0.62, DEFAULT_COLORS2.seed_pod_rim)), DEFAULT_COLORS2.seed_pod_rim, 0.35),
3118
+ seed_pod_rim: mixHex(
3119
+ pixelToHex(percentilePixel(stamen, "luma", 0.62, DEFAULT_COLORS2.seed_pod_rim)),
3120
+ DEFAULT_COLORS2.seed_pod_rim,
3121
+ 0.35
3122
+ ),
2853
3123
  stamen: pixelToHex(percentilePixel(stamen, "s", 0.68, DEFAULT_COLORS2.stamen)),
2854
3124
  stamen_tip: pixelToHex(percentilePixel(stamen, "luma", 0.95, DEFAULT_COLORS2.stamen_tip)),
2855
3125
  leaf: pixelToHex(percentilePixel(leaf, "luma", 0.58, DEFAULT_COLORS2.leaf)),
@@ -2888,10 +3158,10 @@ function estimateStamenCount(stamenPixels, petalPixels) {
2888
3158
  return Math.round(clamp2(42 + ratio * 260, 42, 96));
2889
3159
  }
2890
3160
  function estimateConfidence(sampleCount, petalPixels, leafPixels, stamenPixels) {
2891
- const sampleSignal = clamp01(sampleCount / 3);
2892
- const petalSignal = clamp01(petalPixels / 300);
2893
- const contextSignal = clamp01((leafPixels + stamenPixels) / 160);
2894
- return round4(clamp01(0.2 + sampleSignal * 0.25 + petalSignal * 0.35 + contextSignal * 0.2));
3161
+ const sampleSignal = clamp012(sampleCount / 3);
3162
+ const petalSignal = clamp012(petalPixels / 300);
3163
+ const contextSignal = clamp012((leafPixels + stamenPixels) / 160);
3164
+ return round4(clamp012(0.2 + sampleSignal * 0.25 + petalSignal * 0.35 + contextSignal * 0.2));
2895
3165
  }
2896
3166
  function deriveSubsurfaceRadius(hex) {
2897
3167
  const pixel = hexToPixel(hex);
@@ -2924,7 +3194,7 @@ function lumaAt(data, width, x, y) {
2924
3194
  function normalizedEdgeDistance(width, height, x, y) {
2925
3195
  const dx = Math.abs(x / Math.max(1, width - 1) - 0.5) * 2;
2926
3196
  const dy = Math.abs(y / Math.max(1, height - 1) - 0.5) * 2;
2927
- return clamp01(Math.max(dx, dy));
3197
+ return clamp012(Math.max(dx, dy));
2928
3198
  }
2929
3199
  function rgbToHsv(r, g, b) {
2930
3200
  const max = Math.max(r, g, b);
@@ -2970,7 +3240,7 @@ function mixHex(a, b, amountB) {
2970
3240
  b: left.b * (1 - amountB) + right.b * amountB});
2971
3241
  }
2972
3242
  function byteToHex(value) {
2973
- return Math.round(clamp01(value) * 255).toString(16).padStart(2, "0");
3243
+ return Math.round(clamp012(value) * 255).toString(16).padStart(2, "0");
2974
3244
  }
2975
3245
  function mean(items, selector, fallback) {
2976
3246
  if (items.length === 0) {
@@ -2978,7 +3248,7 @@ function mean(items, selector, fallback) {
2978
3248
  }
2979
3249
  return items.reduce((sum, item) => sum + selector(item), 0) / items.length;
2980
3250
  }
2981
- function clamp01(value) {
3251
+ function clamp012(value) {
2982
3252
  return clamp2(value, 0, 1);
2983
3253
  }
2984
3254
  function clamp2(value, min, max) {
@@ -3071,6 +3341,6 @@ function completenessStatus2(count, total) {
3071
3341
  return count === total ? "complete" : "partial";
3072
3342
  }
3073
3343
 
3074
- export { BufferManager, CPUReferenceSimulator, DEFAULT_DECODE_PARAMS, DEFAULT_ENCODE_PARAMS, DEFAULT_LIF_PARAMS, DecodingMode, EncodingMode, GPUContext, HoloMeshProphecyTransport, LIFSimulator, LocalProphecyTransport, PAPER_2_CANONICAL_CONFIG, PipelineFactory, ProphecyNotImplementedError, ProphecyOrchestrator, SNNNetwork, SpikeDecoder, SpikeEncoder, TROPICAL_INF, TropicalActivationTrait, TropicalShortestPaths, assertGraphShape, computeDispatchSize, csrToDense, denseToCSR, ensureNodeWebGpu, ensureNodeWebGpuSync, extractBotanicalLotusMaterial, extractBotanicalMaterialFromPhotoFixtures, fromEdges, generateSynapticInput, generateWeightMatrix, normalizeAdjacency, normalizeBotanicalMaterialExtraction, runLIFDeterminismProbe, toBotanicalLotusTrait };
3075
- //# sourceMappingURL=dist-VD4L6V7Q.js.map
3076
- //# sourceMappingURL=dist-VD4L6V7Q.js.map
3344
+ export { BufferManager, CPUReferenceSimulator, DEFAULT_DECODE_PARAMS, DEFAULT_ENCODE_PARAMS, DEFAULT_LIF_PARAMS, DecodingMode, EncodingMode, GPUContext, HoloMeshProphecyTransport, LIFSimulator, LocalProphecyTransport, PAPER_2_CANONICAL_CONFIG, PROPHECY_SPIKE_FEATURE_COUNT, PipelineFactory, ProphecyNotImplementedError, ProphecyOrchestrator, SNNNetwork, SpikeDecoder, SpikeEncoder, TROPICAL_INF, TropicalActivationTrait, TropicalShortestPaths, assertGraphShape, computeDispatchSize, createTrainedSpikeRateProvider, csrToDense, decodeProphecySpikeRates, decodeSpikeRateWindow, denseToCSR, encodeProphecySceneProbeFeatures, ensureNodeWebGpu, ensureNodeWebGpuSync, extractBotanicalLotusMaterial, extractBotanicalMaterialFromPhotoFixtures, fromEdges, generateSynapticInput, generateWeightMatrix, normalizeAdjacency, normalizeBotanicalMaterialExtraction, runLIFDeterminismProbe, toBotanicalLotusTrait, trainProphecySpikeRateModel };
3345
+ //# sourceMappingURL=dist-ZBUKU2JG.js.map
3346
+ //# sourceMappingURL=dist-ZBUKU2JG.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkEXKSFGSX_cjs = require('../chunk-EXKSFGSX.cjs');
4
+ var chunk37HHY7RH_cjs = require('../chunk-37HHY7RH.cjs');
4
5
  var chunkOSYNRVOV_cjs = require('../chunk-OSYNRVOV.cjs');
5
- var chunkSLU6UPJI_cjs = require('../chunk-SLU6UPJI.cjs');
6
- require('../chunk-E7JP3BS3.cjs');
7
- require('../chunk-HCCQLAA4.cjs');
6
+ require('../chunk-Q47JEE2C.cjs');
7
+ require('../chunk-ZHPMP447.cjs');
8
8
 
9
9
 
10
10
 
@@ -20,45 +20,45 @@ Object.defineProperty(exports, "getMCPCircuitBreaker", {
20
20
  enumerable: true,
21
21
  get: function () { return chunkEXKSFGSX_cjs.getMCPCircuitBreaker; }
22
22
  });
23
- Object.defineProperty(exports, "CircuitBreakerState", {
23
+ Object.defineProperty(exports, "AsyncFunctionHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunkOSYNRVOV_cjs.CircuitBreakerState; }
25
+ get: function () { return chunk37HHY7RH_cjs.AsyncFunctionHandler; }
26
26
  });
27
- Object.defineProperty(exports, "ResilienceCircuitBreaker", {
27
+ Object.defineProperty(exports, "ErrorBoundary", {
28
28
  enumerable: true,
29
- get: function () { return chunkOSYNRVOV_cjs.CircuitBreaker; }
29
+ get: function () { return chunk37HHY7RH_cjs.ErrorBoundary; }
30
30
  });
31
- Object.defineProperty(exports, "retryWithBackoff", {
31
+ Object.defineProperty(exports, "ExportImportHandler", {
32
32
  enumerable: true,
33
- get: function () { return chunkOSYNRVOV_cjs.retryWithBackoff; }
33
+ get: function () { return chunk37HHY7RH_cjs.ExportImportHandler; }
34
34
  });
35
- Object.defineProperty(exports, "withTimeout", {
35
+ Object.defineProperty(exports, "InteropContext", {
36
36
  enumerable: true,
37
- get: function () { return chunkOSYNRVOV_cjs.withTimeout; }
37
+ get: function () { return chunk37HHY7RH_cjs.InteropContext; }
38
38
  });
39
- Object.defineProperty(exports, "AsyncFunctionHandler", {
39
+ Object.defineProperty(exports, "ModuleResolver", {
40
40
  enumerable: true,
41
- get: function () { return chunkSLU6UPJI_cjs.AsyncFunctionHandler; }
41
+ get: function () { return chunk37HHY7RH_cjs.ModuleResolver; }
42
42
  });
43
- Object.defineProperty(exports, "ErrorBoundary", {
43
+ Object.defineProperty(exports, "TypeScriptTypeLoader", {
44
44
  enumerable: true,
45
- get: function () { return chunkSLU6UPJI_cjs.ErrorBoundary; }
45
+ get: function () { return chunk37HHY7RH_cjs.TypeScriptTypeLoader; }
46
46
  });
47
- Object.defineProperty(exports, "ExportImportHandler", {
47
+ Object.defineProperty(exports, "CircuitBreakerState", {
48
48
  enumerable: true,
49
- get: function () { return chunkSLU6UPJI_cjs.ExportImportHandler; }
49
+ get: function () { return chunkOSYNRVOV_cjs.CircuitBreakerState; }
50
50
  });
51
- Object.defineProperty(exports, "InteropContext", {
51
+ Object.defineProperty(exports, "ResilienceCircuitBreaker", {
52
52
  enumerable: true,
53
- get: function () { return chunkSLU6UPJI_cjs.InteropContext; }
53
+ get: function () { return chunkOSYNRVOV_cjs.CircuitBreaker; }
54
54
  });
55
- Object.defineProperty(exports, "ModuleResolver", {
55
+ Object.defineProperty(exports, "retryWithBackoff", {
56
56
  enumerable: true,
57
- get: function () { return chunkSLU6UPJI_cjs.ModuleResolver; }
57
+ get: function () { return chunkOSYNRVOV_cjs.retryWithBackoff; }
58
58
  });
59
- Object.defineProperty(exports, "TypeScriptTypeLoader", {
59
+ Object.defineProperty(exports, "withTimeout", {
60
60
  enumerable: true,
61
- get: function () { return chunkSLU6UPJI_cjs.TypeScriptTypeLoader; }
61
+ get: function () { return chunkOSYNRVOV_cjs.withTimeout; }
62
62
  });
63
63
  //# sourceMappingURL=interop.cjs.map
64
64
  //# sourceMappingURL=interop.cjs.map
@@ -1,7 +1,7 @@
1
1
  export { InteropBindingGenerator, MCPCircuitBreaker, getMCPCircuitBreaker } from '../chunk-FGGJQRLZ.js';
2
+ export { AsyncFunctionHandler, ErrorBoundary, ExportImportHandler, InteropContext, ModuleResolver, TypeScriptTypeLoader } from '../chunk-TPZ3BN2D.js';
2
3
  export { CircuitBreakerState, CircuitBreaker as ResilienceCircuitBreaker, retryWithBackoff, withTimeout } from '../chunk-A6KINLZJ.js';
3
- export { AsyncFunctionHandler, ErrorBoundary, ExportImportHandler, InteropContext, ModuleResolver, TypeScriptTypeLoader } from '../chunk-5JEU52DW.js';
4
- import '../chunk-VVKVQZI6.js';
5
- import '../chunk-OL46QLBJ.js';
4
+ import '../chunk-RAN3ECAS.js';
5
+ import '../chunk-W4GABFCR.js';
6
6
  //# sourceMappingURL=interop.js.map
7
7
  //# sourceMappingURL=interop.js.map