@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.
- package/LICENSE +21 -0
- package/bin/holoscript.cjs +5 -1
- package/dist/GLTFPipeline-L76YTXKA.js +15 -0
- package/dist/GLTFPipeline-ZWJN7GI6.cjs +36 -0
- package/dist/HoloCompositionParser-K76KTEEE.js +12 -0
- package/dist/HoloCompositionParser-UZH6Y4HO.cjs +45 -0
- package/dist/HoloScriptCodeParser-2D4ERFUZ.js +6 -0
- package/dist/HoloScriptCodeParser-UDRLDA7I.cjs +23 -0
- package/dist/HoloScriptPlusParser-FTMCGWXD.js +13 -0
- package/dist/HoloScriptPlusParser-LQR5GIKF.cjs +30 -0
- package/dist/HoloScriptRuntime-UTRLJI5L.js +12 -0
- package/dist/HoloScriptRuntime-YBYXJHJN.cjs +21 -0
- package/dist/SceneIRCompiler-63KA3M2F.js +17 -0
- package/dist/SceneIRCompiler-KWUFHZ4O.cjs +42 -0
- package/dist/{USDZExporter-AUHZODOF.cjs → USDZExporter-ML4UMIGC.cjs} +3 -3
- package/dist/{USDZExporter-GXB4AUSG.js → USDZExporter-ZFKLQ76G.js} +3 -3
- package/dist/agents/index.cjs +1 -1
- package/dist/agents/index.js +1 -1
- package/dist/audit/AuditLogger.d.ts +106 -0
- package/dist/audit/AuditQueryBuilder.d.ts +79 -0
- package/dist/audit/ComplianceReporter.d.ts +90 -0
- package/dist/audit/index.d.ts +13 -0
- package/dist/{chunk-FGMDMJM7.js → chunk-2BYAUHBO.js} +3 -3
- package/dist/{chunk-EDPYCLRC.cjs → chunk-2E6PP5UE.cjs} +83 -59
- package/dist/{chunk-GASCWJK5.js → chunk-2EGGAZT3.js} +65 -287
- package/dist/{chunk-SIEXCILW.js → chunk-2I3XAGMF.js} +3 -3
- package/dist/{chunk-OS533P33.cjs → chunk-2KKOYZYI.cjs} +1074 -1655
- package/dist/chunk-2MQKNDNH.js +51 -0
- package/dist/{chunk-7DMMMBCY.cjs → chunk-2X3IPCBK.cjs} +10 -10
- package/dist/chunk-2ZOTBO25.cjs +202 -0
- package/dist/chunk-356N4NPM.cjs +152 -0
- package/dist/{chunk-X3GJPRVK.cjs → chunk-36NPLOI4.cjs} +92 -81
- package/dist/{chunk-SLU6UPJI.cjs → chunk-37HHY7RH.cjs} +5 -5
- package/dist/{chunk-YDPEHCCI.cjs → chunk-3CDDRUER.cjs} +3 -118
- package/dist/chunk-3F7ZZWIN.js +1651 -0
- package/dist/chunk-3ILD7TKP.cjs +187 -0
- package/dist/{chunk-X27QRG4C.cjs → chunk-3IUHTGDD.cjs} +153 -41
- package/dist/{chunk-PXNZ6TME.js → chunk-4376VHNJ.js} +60 -36
- package/dist/{chunk-YKGPCZEE.cjs → chunk-4FIBOJW6.cjs} +10 -10
- package/dist/chunk-4Q7RKQQI.cjs +14195 -0
- package/dist/{chunk-YCM6QQRT.cjs → chunk-566ZB4LZ.cjs} +180 -8
- package/dist/{chunk-2Y3V22SG.js → chunk-5CURIYGT.js} +3 -3
- package/dist/{chunk-QBWNJXNR.js → chunk-5FYMCVBY.js} +5 -5
- package/dist/{chunk-ZA34AN3R.js → chunk-5LVFTGKH.js} +841 -12
- package/dist/{chunk-Z6PMDS4G.js → chunk-5OUOMBKK.js} +1090 -53
- package/dist/chunk-63AUAIL6.js +48 -0
- package/dist/chunk-655FATJU.js +110 -0
- package/dist/{chunk-TQ377OLB.cjs → chunk-65S62L4D.cjs} +28 -22
- package/dist/chunk-6NTAZN5Z.cjs +502 -0
- package/dist/chunk-6TRX6AR2.js +9376 -0
- package/dist/chunk-6ZCCLKS2.cjs +51 -0
- package/dist/{chunk-MDR235RZ.js → chunk-734OB5SK.js} +721 -8
- package/dist/{chunk-Q2Q34NF3.js → chunk-77QI552M.js} +6 -6
- package/dist/{chunk-WKX5AMOY.js → chunk-7I74JWPW.js} +3 -3
- package/dist/{chunk-5FSKKMR7.cjs → chunk-7IDJDMPU.cjs} +232 -4
- package/dist/chunk-7VBKRGIZ.cjs +847 -0
- package/dist/{chunk-KCPHASCO.js → chunk-AATYYLYK.js} +5 -5
- package/dist/{chunk-DTGBOSEM.cjs → chunk-AWXFEAQL.cjs} +12 -12
- package/dist/{chunk-THCK6ECW.js → chunk-B3CWTCK2.js} +231 -3
- package/dist/chunk-BCP4E7MD.cjs +997 -0
- package/dist/chunk-BG7RPYJP.js +91 -0
- package/dist/{chunk-VF257YKO.js → chunk-BP4KTMLY.js} +117 -5
- package/dist/{chunk-YN6IETRZ.js → chunk-BQJ3YBF3.js} +6424 -987
- package/dist/{chunk-7X5PNIQJ.js → chunk-BXSOEQI3.js} +27 -25
- package/dist/{chunk-WFKVS2K4.cjs → chunk-C65C5VED.cjs} +1101 -55
- package/dist/{chunk-KOUAQL2B.cjs → chunk-CANAL6CT.cjs} +1569 -168
- package/dist/{chunk-FDSGHPAK.js → chunk-CBSDJF3B.js} +3 -3
- package/dist/{chunk-FEWUHQNM.cjs → chunk-CFVK26P4.cjs} +4 -4
- package/dist/{chunk-M7K4LE66.cjs → chunk-CI33NINL.cjs} +4 -4
- package/dist/{chunk-2OWDB4FB.js → chunk-CKV5NYAE.js} +6 -6
- package/dist/{chunk-LPS5AMQD.cjs → chunk-CM4NHXVO.cjs} +24 -24
- package/dist/chunk-D3HSRXYB.js +115 -0
- package/dist/{chunk-FNHJRI32.js → chunk-DBH3D2MU.js} +1561 -160
- package/dist/{chunk-GW3LKD5C.js → chunk-DJNH4HFW.js} +3 -3
- package/dist/{chunk-2GCNOI2U.cjs → chunk-DN6F4DHH.cjs} +9 -3
- package/dist/chunk-DQRJ5RJG.js +432 -0
- package/dist/{chunk-C7ZBSV2Q.js → chunk-DUG3OQAS.js} +106 -43
- package/dist/chunk-ECUYJOJ2.cjs +199 -0
- package/dist/chunk-EEMTCAK7.js +182 -0
- package/dist/{chunk-3SKLAUDD.cjs → chunk-EI3J6LTW.cjs} +359 -581
- package/dist/{chunk-SSSN7VAM.js → chunk-EM2OGPYE.js} +4 -4
- package/dist/{chunk-56VOWURB.cjs → chunk-ENZCIQZC.cjs} +522 -453
- package/dist/chunk-ESBXUYOC.cjs +836 -0
- package/dist/{chunk-L5U4W6JC.js → chunk-ESSEF6U2.js} +4 -4
- package/dist/chunk-ET3AN4W3.js +824 -0
- package/dist/chunk-EXKSFGSX.cjs +14 -14
- package/dist/{chunk-I76GIKN7.cjs → chunk-F3YT6GUF.cjs} +17 -17
- package/dist/{chunk-WRWEX5ZF.js → chunk-F75DZBBI.js} +3 -3
- package/dist/{chunk-4JGRWHZJ.js → chunk-FG6PYGIZ.js} +12 -6
- package/dist/chunk-FGGJQRLZ.js +14 -14
- package/dist/{chunk-SXOSDZD6.js → chunk-FWCHPCD4.js} +128 -10
- package/dist/{chunk-XW6IXEQH.cjs → chunk-G35CAQ7I.cjs} +5 -5
- package/dist/{chunk-7VMGP2FW.js → chunk-G6KACNMO.js} +132 -188
- package/dist/{chunk-FJPADH77.cjs → chunk-GAWJJAGT.cjs} +6 -6
- package/dist/chunk-GGR7QUKK.cjs +4724 -0
- package/dist/chunk-GIBF4BHH.js +14098 -0
- package/dist/{chunk-AWB7QYY6.cjs → chunk-GILYQ5VH.cjs} +6 -6
- package/dist/{chunk-FWVYAMNW.cjs → chunk-GKFCHGCM.cjs} +4 -4
- package/dist/{chunk-Y3ZFVUUU.js → chunk-GLEJ2TLS.js} +3 -3
- package/dist/{chunk-3GWWJT7L.js → chunk-GP3OKSKT.js} +13 -13
- package/dist/chunk-GTIPOEHN.js +196 -0
- package/dist/{chunk-LMJ5EBV7.cjs → chunk-GZPUA2TL.cjs} +16 -15
- package/dist/{chunk-IELX2OKI.js → chunk-H4LJ4HEA.js} +3 -115
- package/dist/{chunk-ACVWFGBI.cjs → chunk-HCX4SMFK.cjs} +3 -3
- package/dist/{chunk-HYNTS5CP.js → chunk-HHRZ6STP.js} +24 -2
- package/dist/chunk-HIDEIEFG.js +48 -0
- package/dist/{chunk-W6RW64BB.cjs → chunk-HSWBIDZM.cjs} +228 -5
- package/dist/{chunk-GSOUNWEL.js → chunk-HVX7QQYK.js} +1035 -1616
- package/dist/{chunk-TRCGG42I.cjs → chunk-IFW5IW4L.cjs} +6502 -1019
- package/dist/{chunk-F5LKJ6F5.cjs → chunk-IJU6AS67.cjs} +32 -28
- package/dist/{chunk-TVANHNJ7.js → chunk-IK6Z2HNC.js} +173 -3
- package/dist/{chunk-QGMUTVVH.cjs → chunk-IS7NTKY5.cjs} +20 -20
- package/dist/{chunk-YFVQWSNJ.js → chunk-IXWGYWH6.js} +3 -3
- package/dist/chunk-J2DAS2PL.js +148 -0
- package/dist/chunk-JBQXZIWB.js +148 -0
- package/dist/chunk-JBYBMBMW.js +261 -0
- package/dist/{chunk-LWUOUCYL.js → chunk-JEJ7TT54.js} +5 -5
- package/dist/{chunk-DUCB6LGL.js → chunk-JOTCTHN5.js} +211 -5
- package/dist/{chunk-47RUFYKR.js → chunk-K56UVEXV.js} +3 -3
- package/dist/{chunk-XSFNHP2E.js → chunk-KB26H447.js} +3 -3
- package/dist/{chunk-3NGDZZR4.js → chunk-KEYG7HGY.js} +430 -37
- package/dist/{chunk-DY72BMU5.js → chunk-KFVNCW4Q.js} +4 -4
- package/dist/chunk-KPGC7SK2.js +192 -0
- package/dist/chunk-KROXXBK5.cjs +53 -0
- package/dist/{chunk-ZPZAVHXL.cjs → chunk-LB3ZZMKT.cjs} +137 -19
- package/dist/chunk-LDYZWNJW.cjs +1654 -0
- package/dist/{chunk-UGXHYIWT.cjs → chunk-LHNHO27U.cjs} +28 -28
- package/dist/{chunk-ULMSSHCJ.cjs → chunk-LMB555QB.cjs} +405 -38
- package/dist/{chunk-CBJY23VL.js → chunk-MD4IVS42.js} +3 -3
- package/dist/{chunk-VMLKSV26.js → chunk-MDDWEBCX.js} +226 -3
- package/dist/chunk-MUWH4QK5.cjs +94 -0
- package/dist/{chunk-T6W3Z3SH.cjs → chunk-N2ILK7BF.cjs} +4 -4
- package/dist/{chunk-6EX3I5P4.cjs → chunk-N74QRJGP.cjs} +6 -6
- package/dist/chunk-NFFHLX37.cjs +132 -0
- package/dist/chunk-NJSYWX7H.js +190 -0
- package/dist/{chunk-SH5PPVK7.cjs → chunk-NQN5LFN4.cjs} +165 -221
- package/dist/chunk-NTQRFOPP.cjs +56 -0
- package/dist/{chunk-YFWRJW4B.js → chunk-NWMJPTVL.js} +51 -55
- package/dist/{chunk-63ZGNR2T.cjs → chunk-OC6GV5QH.cjs} +42 -42
- package/dist/{chunk-7E7GCQCK.js → chunk-OG3MBHM3.js} +9 -3
- package/dist/chunk-OMNHTCS4.cjs +264 -0
- package/dist/chunk-OQXB6NNC.cjs +117 -0
- package/dist/{chunk-Y57W2CT5.cjs → chunk-OV46CCA2.cjs} +51 -55
- package/dist/{chunk-6PRZIHGL.cjs → chunk-OV6HHKLE.cjs} +21 -266
- package/dist/{chunk-C37BHB7N.cjs → chunk-P26YYPOO.cjs} +5 -5
- package/dist/{chunk-2BZHWUSR.cjs → chunk-P7JEKJTZ.cjs} +16 -16
- package/dist/{chunk-NGBXXZLL.cjs → chunk-PDXX5UI4.cjs} +45 -45
- package/dist/{chunk-FHQFPYV4.js → chunk-PJFTTSKE.js} +8 -7
- package/dist/{chunk-GVFJ6T4S.cjs → chunk-PVODJEJ7.cjs} +721 -8
- package/dist/{chunk-ZZ7RO2UQ.js → chunk-Q265VZJ4.js} +3 -3
- package/dist/{chunk-E7JP3BS3.cjs → chunk-Q47JEE2C.cjs} +4 -4
- package/dist/chunk-QBY7LRN2.js +281 -0
- package/dist/{chunk-GH6C2QGW.cjs → chunk-QEDMOGF3.cjs} +857 -16
- package/dist/{chunk-5WUNN6ZN.cjs → chunk-QHSAVOOL.cjs} +24 -2
- package/dist/chunk-QJNCDVYM.cjs +137 -0
- package/dist/chunk-QM7FJB5W.js +4717 -0
- package/dist/chunk-QQFB4RT2.cjs +448 -0
- package/dist/chunk-QSYBHQAD.cjs +196 -0
- package/dist/{chunk-2YSNA2F2.cjs → chunk-QVJMDVYZ.cjs} +5 -5
- package/dist/chunk-RAJMAX6D.js +131 -0
- package/dist/{chunk-VVKVQZI6.js → chunk-RAN3ECAS.js} +3 -3
- package/dist/chunk-RKGUZBOC.js +79 -0
- package/dist/{chunk-HLFDZ35S.cjs → chunk-RRQIAJLQ.cjs} +8 -8
- package/dist/{chunk-PABONWKI.js → chunk-RXQNRZ5F.js} +3 -3
- package/dist/{chunk-7ZHYEITD.cjs → chunk-S4O7CFHQ.cjs} +10 -11
- package/dist/chunk-SE7ANBGN.js +128 -0
- package/dist/{chunk-X2AVEAZM.cjs → chunk-SJIRCTIS.cjs} +176 -2
- package/dist/{chunk-WXQ57LAO.js → chunk-SQXAZHDG.js} +4 -4
- package/dist/chunk-SR73L5ZP.cjs +84 -0
- package/dist/{chunk-OABEO6HH.js → chunk-SZOLTWWD.js} +2349 -214
- package/dist/{chunk-5JEU52DW.js → chunk-TPZ3BN2D.js} +3 -3
- package/dist/{chunk-QFU53KRH.js → chunk-TSTFYGGX.js} +4 -5
- package/dist/{chunk-EBS32AJI.cjs → chunk-TZCFKZ6Z.cjs} +5 -5
- package/dist/chunk-UCVZXQ63.js +724 -0
- package/dist/chunk-UGQ3QNV6.js +992 -0
- package/dist/chunk-UNMVGZVW.js +142 -0
- package/dist/{chunk-TEVX443G.js → chunk-UTUD6GJI.js} +178 -6
- package/dist/chunk-UXBYA7DV.cjs +155 -0
- package/dist/chunk-V6GXFSK7.cjs +443 -0
- package/dist/chunk-VHORVGCG.cjs +761 -0
- package/dist/{chunk-B4EKV6HQ.js → chunk-VKCTYLDN.js} +500 -442
- package/dist/{chunk-O3MGZDCT.cjs → chunk-VTEXJOSD.cjs} +63 -63
- package/dist/chunk-VVAAZITA.cjs +287 -0
- package/dist/{chunk-V7AKE5VT.cjs → chunk-W2GA3EQB.cjs} +435 -42
- package/dist/chunk-W4GABFCR.js +37 -0
- package/dist/chunk-WKEK4NCA.js +490 -0
- package/dist/{chunk-5A4TCHOC.cjs → chunk-WNYXT4TE.cjs} +4 -4
- package/dist/{chunk-S762UEV5.js → chunk-WTH23ISI.js} +6 -6
- package/dist/{chunk-BTKZGHAV.js → chunk-WWNCM473.js} +10 -6
- package/dist/{chunk-4YNYPHH3.cjs → chunk-X75H75UY.cjs} +2351 -213
- package/dist/{chunk-LYJJI7ZK.cjs → chunk-XCUDDFKC.cjs} +216 -9
- package/dist/chunk-YAO4HPJL.cjs +120 -0
- package/dist/chunk-YKY2JBER.cjs +9443 -0
- package/dist/chunk-YP5CHEYU.cjs +154 -0
- package/dist/{chunk-WRNEH5MO.js → chunk-YW3I2FQL.js} +18 -7
- package/dist/{chunk-BRNUPDHJ.js → chunk-Z557DVYN.js} +386 -19
- package/dist/{chunk-VSACG2AR.js → chunk-Z6LZUYZF.js} +21 -264
- package/dist/chunk-ZHPMP447.cjs +43 -0
- package/dist/{chunk-LODTHGST.cjs → chunk-ZK7KX5CD.cjs} +133 -70
- package/dist/{chunk-CCPSNT6B.cjs → chunk-ZRPALBQB.cjs} +5 -5
- package/dist/chunk-ZVFHPMC5.js +824 -0
- package/dist/chunk-ZVQMKUGJ.js +443 -0
- package/dist/cli/holoscript-runner.cjs +86 -48
- package/dist/cli/holoscript-runner.js +54 -16
- package/dist/codebase/index.cjs +1 -1
- package/dist/codebase/index.js +1 -1
- package/dist/compiler/agent-inference.cjs +11 -11
- package/dist/compiler/agent-inference.js +9 -6
- package/dist/compiler/android-xr.cjs +13 -12
- package/dist/compiler/android-xr.js +11 -10
- package/dist/compiler/android.cjs +12 -12
- package/dist/compiler/android.js +10 -10
- package/dist/compiler/business-quest.cjs +10 -10
- package/dist/compiler/business-quest.js +2 -2
- package/dist/compiler/coco.cjs +1 -1
- package/dist/compiler/coco.js +1 -1
- package/dist/compiler/context.cjs +9 -9
- package/dist/compiler/context.js +6 -6
- package/dist/compiler/daimon-seed.cjs +36 -0
- package/dist/compiler/daimon-seed.js +12 -0
- package/dist/compiler/domain-block-utils.cjs +205 -156
- package/dist/compiler/domain-block-utils.js +8 -7
- package/dist/compiler/dtdl.cjs +10 -10
- package/dist/compiler/dtdl.js +7 -7
- package/dist/compiler/gltf-pipeline.cjs +9 -9
- package/dist/compiler/gltf-pipeline.js +2 -2
- package/dist/compiler/godot.cjs +10 -9
- package/dist/compiler/godot.js +9 -8
- package/dist/compiler/incremental.cjs +11 -11
- package/dist/compiler/incremental.js +6 -6
- package/dist/compiler/index.cjs +2585 -3273
- package/dist/compiler/index.d.ts +149 -35
- package/dist/compiler/index.js +2197 -3102
- package/dist/compiler/ios.cjs +11 -11
- package/dist/compiler/ios.js +9 -9
- package/dist/compiler/llm-provider-capabilities.cjs +9 -9
- package/dist/compiler/llm-provider-capabilities.js +6 -6
- package/dist/compiler/nodetoy.cjs +1 -1
- package/dist/compiler/nodetoy.js +1 -1
- package/dist/compiler/openxr.cjs +11 -10
- package/dist/compiler/openxr.js +10 -9
- package/dist/compiler/remotion.cjs +1 -1
- package/dist/compiler/remotion.js +1 -1
- package/dist/compiler/reproducibility.cjs +1 -1
- package/dist/compiler/reproducibility.js +1 -1
- package/dist/compiler/sdf.cjs +11 -10
- package/dist/compiler/sdf.js +9 -8
- package/dist/compiler/semantic-scene.cjs +7 -7
- package/dist/compiler/semantic-scene.js +2 -2
- package/dist/compiler/state.cjs +9 -9
- package/dist/compiler/state.js +7 -7
- package/dist/compiler/trait-composition.cjs +11 -11
- package/dist/compiler/trait-composition.js +7 -7
- package/dist/compiler/traits/ProvenanceSemiring.d.ts +167 -0
- package/dist/compiler/traits/Semiring.d.ts +26 -0
- package/dist/compiler/unity.cjs +11 -10
- package/dist/compiler/unity.js +10 -9
- package/dist/compiler/unreal.cjs +12 -11
- package/dist/compiler/unreal.js +10 -9
- package/dist/compiler/urdf.cjs +18 -17
- package/dist/compiler/urdf.js +9 -8
- package/dist/compiler/usd-physics.cjs +11 -10
- package/dist/compiler/usd-physics.js +8 -7
- package/dist/compiler/visionos.cjs +11 -10
- package/dist/compiler/visionos.js +10 -9
- package/dist/compiler/vrchat.cjs +11 -10
- package/dist/compiler/vrchat.js +9 -8
- package/dist/compiler/wasm.cjs +14 -13
- package/dist/compiler/wasm.js +9 -8
- package/dist/compiler/webgpu.cjs +10 -9
- package/dist/compiler/webgpu.js +9 -8
- package/dist/constants.cjs +398 -0
- package/dist/constants.js +9 -0
- package/dist/coordinators/index.cjs +4 -1
- package/dist/coordinators/index.js +4 -1
- package/dist/debugger.cjs +11 -9
- package/dist/debugger.js +9 -7
- package/dist/{dist-ACXG6IH5.cjs → dist-GRMOP2UL.cjs} +341 -65
- package/dist/{dist-VD4L6V7Q.js → dist-ZBUKU2JG.js} +333 -63
- package/dist/entries/interop.cjs +23 -23
- package/dist/entries/interop.js +3 -3
- package/dist/entries/scripting.cjs +12 -11
- package/dist/entries/scripting.js +8 -7
- package/dist/evolution/index.cjs +66 -0
- package/dist/evolution/index.d.ts +162 -0
- package/dist/evolution/index.js +17 -0
- package/dist/hololand/index.cjs +41 -37
- package/dist/hololand/index.js +3 -3
- package/dist/index.cjs +12394 -3224
- package/dist/index.d.ts +260 -18
- package/dist/index.js +10755 -2182
- package/dist/keyword-registry/PluginKeywordRegistry.d.ts +138 -0
- package/dist/keyword-registry/index.cjs +29 -0
- package/dist/keyword-registry/index.d.ts +1 -0
- package/dist/keyword-registry/index.js +4 -0
- package/dist/math/tropical-spmv.cjs +11 -11
- package/dist/math/tropical-spmv.d.ts +1 -0
- package/dist/math/tropical-spmv.js +2 -2
- package/dist/math/tropicalSpmv.d.ts +43 -0
- package/dist/math/vec3.cjs +1 -1
- package/dist/math/vec3.js +1 -1
- package/dist/matter/StagedMatter.d.ts +82 -0
- package/dist/matter/index.cjs +17 -0
- package/dist/matter/index.d.ts +1 -0
- package/dist/matter/index.js +4 -0
- package/dist/{ml-dsa-Z7JDKW4L.js → ml-dsa-J6VKVT4K.js} +3 -3
- package/dist/{ml-dsa-FSKBTE3W.cjs → ml-dsa-MTIK4ZUQ.cjs} +23 -23
- package/dist/paper-0c-spike/index.cjs +1 -1
- package/dist/paper-0c-spike/index.js +1 -1
- package/dist/parameter-envelope/ParameterEnvelope.d.ts +128 -0
- package/dist/parameter-envelope/index.cjs +17 -0
- package/dist/parameter-envelope/index.d.ts +2 -0
- package/dist/parameter-envelope/index.js +4 -0
- package/dist/parser/HoloCompositionTypes.d.ts +2013 -0
- package/dist/parser/PipelineParser.d.ts +162 -0
- package/dist/parser.cjs +36 -20
- package/dist/parser.js +13 -9
- package/dist/plugin-manifest/ManifestAutoLoader.d.ts +35 -0
- package/dist/plugin-manifest/PluginManifest.d.ts +156 -0
- package/dist/plugin-manifest/index.cjs +25 -0
- package/dist/plugin-manifest/index.d.ts +2 -0
- package/dist/plugin-manifest/index.js +4 -0
- package/dist/plugin-solver-contract/PluginSolverContract.d.ts +288 -0
- package/dist/plugin-solver-contract/index.cjs +41 -0
- package/dist/plugin-solver-contract/index.d.ts +1 -0
- package/dist/plugin-solver-contract/index.js +4 -0
- package/dist/policy/ContentPolicyGate.d.ts +51 -0
- package/dist/policy/PolicyPack.d.ts +120 -0
- package/dist/policy/blocklist.d.ts +32 -0
- package/dist/policy/defaults.d.ts +44 -0
- package/dist/policy/index.cjs +106 -0
- package/dist/policy/index.d.ts +17 -0
- package/dist/policy/index.js +5 -0
- package/dist/policy/jsonLogic.d.ts +31 -0
- package/dist/policy/types.d.ts +174 -0
- package/dist/proof-composition/ProofCompositionLaw.d.ts +93 -0
- package/dist/proof-composition/index.cjs +25 -0
- package/dist/proof-composition/index.d.ts +1 -0
- package/dist/proof-composition/index.js +4 -0
- package/dist/receipts/hash-policy.d.ts +85 -0
- package/dist/reconstruction/index.cjs +75 -47
- package/dist/reconstruction/index.js +5 -5
- package/dist/runtime/plugin-trait-registrar.d.ts +36 -0
- package/dist/runtime.cjs +81 -79
- package/dist/runtime.js +9 -7
- package/dist/scene-presets-EDKYZ5GW.js +4 -0
- package/dist/scene-presets-NCW2CFRS.cjs +17 -0
- package/dist/self-improvement/index.cjs +1 -1
- package/dist/self-improvement/index.js +1 -1
- package/dist/{src-PT2FERDV.cjs → src-G3D7ZATQ.cjs} +545 -21
- package/dist/{src-J6CM4AUR.js → src-UXYA7HM6.js} +539 -16
- package/dist/storage/index.cjs +10 -10
- package/dist/storage/index.js +3 -3
- package/dist/testing.cjs +1 -1
- package/dist/testing.js +1 -1
- package/dist/tools/index.cjs +3631 -0
- package/dist/tools/index.js +3581 -0
- package/dist/traitDocs/traitDocs.cjs +9 -9
- package/dist/traitDocs/traitDocs.d.ts +1 -0
- package/dist/traitDocs/traitDocs.js +3 -3
- package/dist/traits/ControlLoopTrait.d.ts +154 -0
- package/dist/traits/KinematicChainTrait.d.ts +116 -0
- package/dist/traits/SensorSamplingTrait.d.ts +154 -0
- package/dist/traits/TraitTypes.d.ts +270 -0
- package/dist/traits/TransactionTrait.d.ts +121 -0
- package/dist/traits/botanical-lotus.cjs +54 -50
- package/dist/traits/botanical-lotus.js +2 -5
- package/dist/traits/control-loop.cjs +21 -0
- package/dist/traits/control-loop.d.ts +1 -0
- package/dist/traits/control-loop.js +4 -0
- package/dist/traits/engines/cloth-verlet.d.ts +65 -0
- package/dist/traits/engines/index.cjs +19 -19
- package/dist/traits/engines/index.d.ts +15 -275
- package/dist/traits/engines/index.js +3 -3
- package/dist/traits/engines/motion-data-schema.d.ts +119 -0
- package/dist/traits/engines/motion-matching.d.ts +102 -0
- package/dist/traits/engines/noise.d.ts +25 -0
- package/dist/traits/engines/onnx-adapter.d.ts +173 -0
- package/dist/traits/engines/onnx-motion-matching.d.ts +163 -0
- package/dist/traits/engines/pfnn-network.d.ts +92 -0
- package/dist/traits/engines/synthetic-walk-cycle.d.ts +38 -0
- package/dist/traits/engines/tensor-ops.d.ts +15 -0
- package/dist/traits/index.cjs +2789 -1259
- package/dist/traits/index.d.ts +35 -0
- package/dist/traits/index.js +1692 -411
- package/dist/traits/kinematic-chain.cjs +25 -0
- package/dist/traits/kinematic-chain.d.ts +1 -0
- package/dist/traits/kinematic-chain.js +4 -0
- package/dist/traits/sensor-sampling.cjs +33 -0
- package/dist/traits/sensor-sampling.d.ts +1 -0
- package/dist/traits/sensor-sampling.js +4 -0
- package/dist/traits/simulation-solver-factory.cjs +1 -1
- package/dist/traits/simulation-solver-factory.js +1 -1
- package/dist/traits/transaction.cjs +29 -0
- package/dist/traits/transaction.d.ts +1 -0
- package/dist/traits/transaction.js +4 -0
- package/dist/traits/webcam-gaze.cjs +1 -1
- package/dist/traits/webcam-gaze.js +1 -1
- package/dist/type-checker.cjs +7 -6
- package/dist/type-checker.js +5 -4
- package/dist/types/AdvancedTypeSystem.d.ts +489 -0
- package/dist/types/HoloScriptPlus.d.ts +810 -0
- package/dist/types/base.d.ts +248 -0
- package/dist/types.d.ts +799 -0
- package/dist/world/index.cjs +3 -4
- package/dist/world/index.js +3 -4
- package/dist/world-model/index.cjs +1 -1
- package/dist/world-model/index.js +1 -1
- package/dist/wot/index.cjs +1 -1
- package/dist/wot/index.js +1 -1
- package/package.json +135 -69
- package/dist/GLTFPipeline-3EJLL3TS.cjs +0 -38
- package/dist/GLTFPipeline-3OWJV2VK.js +0 -17
- package/dist/HoloScriptPlusParser-ADWRY5OS.cjs +0 -698
- package/dist/HoloScriptPlusParser-JLJDXHSC.js +0 -693
- package/dist/HoloScriptPlusParser-QCGFPWIL.cjs +0 -27
- package/dist/HoloScriptPlusParser-WENAFEFV.js +0 -10
- package/dist/HoloScriptRuntime-GGRVEU4T.cjs +0 -19
- package/dist/HoloScriptRuntime-GJK6VJPH.js +0 -10
- package/dist/chunk-22Q5A6RV.js +0 -979
- package/dist/chunk-4C57PR42.js +0 -468
- package/dist/chunk-4W5G5QVL.cjs +0 -847
- package/dist/chunk-5ET6L4NS.js +0 -487
- package/dist/chunk-C4GSLCHE.cjs +0 -7153
- package/dist/chunk-F2G6CWFT.js +0 -7089
- package/dist/chunk-G6PNEASF.cjs +0 -814
- package/dist/chunk-GTA4Q3A3.js +0 -1491
- package/dist/chunk-HCCQLAA4.cjs +0 -74
- package/dist/chunk-HFSVMKM3.cjs +0 -72
- package/dist/chunk-KAIVDEIG.cjs +0 -4539
- package/dist/chunk-KQU64CIX.cjs +0 -1508
- package/dist/chunk-MSYSQ2AJ.js +0 -4533
- package/dist/chunk-NHJLP37F.js +0 -70
- package/dist/chunk-NHYRRAGI.cjs +0 -490
- package/dist/chunk-OIQYIIO3.cjs +0 -473
- package/dist/chunk-OL46QLBJ.js +0 -61
- package/dist/chunk-SKZPC5AG.cjs +0 -984
- package/dist/chunk-SLHLXUMO.js +0 -445
- package/dist/chunk-UOIGFQXC.cjs +0 -9750
- package/dist/chunk-UOL6Y5TD.cjs +0 -759
- package/dist/chunk-UVFI7XIR.cjs +0 -452
- package/dist/chunk-VEPGBETF.js +0 -844
- package/dist/chunk-XQ5MWMP2.js +0 -756
- package/dist/chunk-XT6JY5W5.js +0 -9684
- package/dist/chunk-YRRAUB35.js +0 -811
- package/dist/compiler/GasOptimizationAnalyzer.d.ts +0 -73
- package/dist/compiler/NFTMarketplaceCompiler.d.ts +0 -23
- package/dist/compiler/ar.cjs +0 -23
- package/dist/compiler/ar.js +0 -11
- package/dist/compiler/babylon.cjs +0 -21
- package/dist/compiler/babylon.js +0 -15
- package/dist/compiler/multi-layer.cjs +0 -24
- package/dist/compiler/multi-layer.js +0 -15
- package/dist/compiler/playcanvas.cjs +0 -19
- package/dist/compiler/playcanvas.js +0 -13
- package/dist/compiler/r3f.cjs +0 -39
- package/dist/compiler/r3f.d.ts +0 -22
- package/dist/compiler/r3f.js +0 -17
- package/dist/compiler/vrr.cjs +0 -24
- package/dist/compiler/vrr.js +0 -12
- package/dist/parser/NFTMarketplaceTypes.d.ts +0 -191
- package/dist/playwright-3AT3AKTV.cjs +0 -98673
- package/dist/playwright-VZPDVUEQ.js +0 -98660
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/traits/locomotion/LocomotionActions.ts
|
|
4
|
+
var LOCOMOTION_MODES = [
|
|
5
|
+
"glide",
|
|
6
|
+
"walk",
|
|
7
|
+
"run",
|
|
8
|
+
"fly",
|
|
9
|
+
"swim",
|
|
10
|
+
"teleport",
|
|
11
|
+
"path",
|
|
12
|
+
"orbit",
|
|
13
|
+
"snap",
|
|
14
|
+
"follow"
|
|
15
|
+
];
|
|
16
|
+
function isLocomotionMode(value) {
|
|
17
|
+
return LOCOMOTION_MODES.includes(value);
|
|
18
|
+
}
|
|
19
|
+
var MOVEMENT_VERBS = ["move", "turn", "strafe", "jump", "land"];
|
|
20
|
+
function isMovementVerb(value) {
|
|
21
|
+
return MOVEMENT_VERBS.includes(value);
|
|
22
|
+
}
|
|
23
|
+
var LOCOMOTION_REACTION_TRIGGERS = [
|
|
24
|
+
"on_move",
|
|
25
|
+
"on_walk",
|
|
26
|
+
"on_run",
|
|
27
|
+
"on_jump",
|
|
28
|
+
"on_land",
|
|
29
|
+
"on_strafe",
|
|
30
|
+
"on_teleport"
|
|
31
|
+
];
|
|
32
|
+
function isLocomotionReactionTrigger(value) {
|
|
33
|
+
return LOCOMOTION_REACTION_TRIGGERS.includes(value);
|
|
34
|
+
}
|
|
35
|
+
var LOCOMOTION_MODE_MAP = {
|
|
36
|
+
glide: { event: "locomotion:set_mode", trait: "locomotion" },
|
|
37
|
+
walk: { event: "locomotion:set_mode", trait: "locomotion" },
|
|
38
|
+
run: { event: "locomotion:set_mode", trait: "locomotion" },
|
|
39
|
+
fly: { event: "locomotion:set_mode", trait: "locomotion" },
|
|
40
|
+
swim: { event: "locomotion:set_mode", trait: "locomotion" },
|
|
41
|
+
teleport: { event: "locomotion:teleport_request", trait: "locomotion" },
|
|
42
|
+
path: { event: "locomotion:move", trait: "locomotion" },
|
|
43
|
+
orbit: { event: "locomotion:set_mode", trait: "locomotion" },
|
|
44
|
+
snap: { event: "locomotion:snap_turn", trait: "locomotion" },
|
|
45
|
+
follow: { event: "locomotion:move", trait: "locomotion" }
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
exports.LOCOMOTION_MODES = LOCOMOTION_MODES;
|
|
49
|
+
exports.LOCOMOTION_MODE_MAP = LOCOMOTION_MODE_MAP;
|
|
50
|
+
exports.LOCOMOTION_REACTION_TRIGGERS = LOCOMOTION_REACTION_TRIGGERS;
|
|
51
|
+
exports.MOVEMENT_VERBS = MOVEMENT_VERBS;
|
|
52
|
+
exports.isLocomotionMode = isLocomotionMode;
|
|
53
|
+
exports.isLocomotionReactionTrigger = isLocomotionReactionTrigger;
|
|
54
|
+
exports.isMovementVerb = isMovementVerb;
|
|
55
|
+
//# sourceMappingURL=chunk-NTQRFOPP.cjs.map
|
|
56
|
+
//# sourceMappingURL=chunk-NTQRFOPP.cjs.map
|
|
@@ -175,6 +175,38 @@ function buildVRRCompositionFromDraft(draft) {
|
|
|
175
175
|
composition.objects = objects;
|
|
176
176
|
return composition;
|
|
177
177
|
}
|
|
178
|
+
function summarizeBusinessVRRComposition(composition) {
|
|
179
|
+
const summary = {
|
|
180
|
+
twinNodes: 0,
|
|
181
|
+
weatherNodes: 0,
|
|
182
|
+
eventNodes: 0,
|
|
183
|
+
inventoryNodes: 0,
|
|
184
|
+
questNodes: 0,
|
|
185
|
+
layerShiftNodes: 0,
|
|
186
|
+
paywallNodes: 0,
|
|
187
|
+
geoAnchorNodes: 0
|
|
188
|
+
};
|
|
189
|
+
const visit = (object) => {
|
|
190
|
+
const traits = Array.isArray(object.traits) ? object.traits : [];
|
|
191
|
+
for (const trait of traits) {
|
|
192
|
+
const name = String(trait.name || "").replace(/^@/, "");
|
|
193
|
+
if (name === "vrr_twin") summary.twinNodes += 1;
|
|
194
|
+
else if (name === "weather_sync") summary.weatherNodes += 1;
|
|
195
|
+
else if (name === "event_sync") summary.eventNodes += 1;
|
|
196
|
+
else if (name === "inventory_sync") summary.inventoryNodes += 1;
|
|
197
|
+
else if (name === "quest_hub") summary.questNodes += 1;
|
|
198
|
+
else if (name === "layer_shift") summary.layerShiftNodes += 1;
|
|
199
|
+
else if (name === "x402_paywall") summary.paywallNodes += 1;
|
|
200
|
+
else if (name === "geo_anchor") summary.geoAnchorNodes += 1;
|
|
201
|
+
}
|
|
202
|
+
const children = object.children;
|
|
203
|
+
if (Array.isArray(children)) {
|
|
204
|
+
for (const child of children) visit(child);
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
for (const object of composition.objects ?? []) visit(object);
|
|
208
|
+
return summary;
|
|
209
|
+
}
|
|
178
210
|
function validateBusinessVRRDraft(draft, options) {
|
|
179
211
|
const issues = [];
|
|
180
212
|
const parsed = businessVRRDraftSchema.safeParse(draft);
|
|
@@ -189,41 +221,23 @@ function validateBusinessVRRDraft(draft, options) {
|
|
|
189
221
|
return Promise.resolve({ ok: false, issues });
|
|
190
222
|
}
|
|
191
223
|
if (options?.parseWithVrrCompiler) {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
api_integrations: {},
|
|
199
|
-
performance: { target_fps: 60, max_players: 1e3, lazy_loading: true }
|
|
224
|
+
const data = summarizeBusinessVRRComposition(buildVRRCompositionFromDraft(parsed.data));
|
|
225
|
+
if (data.questNodes === 0) {
|
|
226
|
+
issues.push({
|
|
227
|
+
path: "businesses",
|
|
228
|
+
message: "Trait summary found no @quest_hub nodes - check draft.quests",
|
|
229
|
+
severity: "warning"
|
|
200
230
|
});
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
issues.push({
|
|
204
|
-
path: "businesses",
|
|
205
|
-
message: "VRR parse found no @quest_hub nodes \u2014 check draft.quests",
|
|
206
|
-
severity: "warning"
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
if (data.twinNodes.length === 0) {
|
|
210
|
-
issues.push({
|
|
211
|
-
path: "twin",
|
|
212
|
-
message: "VRR parse found no @vrr_twin nodes",
|
|
213
|
-
severity: "warning"
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
return { ok: issues.every((i) => i.severity !== "error"), issues };
|
|
217
|
-
}).catch((err) => {
|
|
231
|
+
}
|
|
232
|
+
if (data.twinNodes === 0) {
|
|
218
233
|
issues.push({
|
|
219
|
-
path: "",
|
|
220
|
-
message:
|
|
221
|
-
severity: "
|
|
234
|
+
path: "twin",
|
|
235
|
+
message: "Trait summary found no @vrr_twin nodes",
|
|
236
|
+
severity: "warning"
|
|
222
237
|
});
|
|
223
|
-
|
|
224
|
-
});
|
|
238
|
+
}
|
|
225
239
|
}
|
|
226
|
-
return Promise.resolve({ ok:
|
|
240
|
+
return Promise.resolve({ ok: issues.every((i) => i.severity !== "error"), issues });
|
|
227
241
|
}
|
|
228
242
|
function draftToHoloPreview(draft) {
|
|
229
243
|
const lines = [];
|
|
@@ -260,7 +274,7 @@ var BUSINESS_QUEST_TOOLS = [
|
|
|
260
274
|
},
|
|
261
275
|
runVrrParse: {
|
|
262
276
|
type: "boolean",
|
|
263
|
-
description: "If true,
|
|
277
|
+
description: "If true, return local trait wiring counts",
|
|
264
278
|
default: false
|
|
265
279
|
},
|
|
266
280
|
agentToken: {
|
|
@@ -273,14 +287,14 @@ var BUSINESS_QUEST_TOOLS = [
|
|
|
273
287
|
},
|
|
274
288
|
{
|
|
275
289
|
name: "holoscript_business_quest_validate_vrr_draft",
|
|
276
|
-
description: "Validate a BusinessVRRDraft (Zod). Optionally run
|
|
290
|
+
description: "Validate a BusinessVRRDraft (Zod). Optionally run local trait wiring checks.",
|
|
277
291
|
inputSchema: {
|
|
278
292
|
type: "object",
|
|
279
293
|
properties: {
|
|
280
294
|
draft: { type: "object", description: "Candidate BusinessVRRDraft JSON" },
|
|
281
295
|
parseWithVrrCompiler: {
|
|
282
296
|
type: "boolean",
|
|
283
|
-
description: "When true,
|
|
297
|
+
description: "When true, runs local trait wiring verification",
|
|
284
298
|
default: false
|
|
285
299
|
}
|
|
286
300
|
},
|
|
@@ -338,25 +352,7 @@ async function handleScaffold(args) {
|
|
|
338
352
|
const runParse = Boolean(args.runVrrParse);
|
|
339
353
|
let vrrSummary;
|
|
340
354
|
if (runParse) {
|
|
341
|
-
|
|
342
|
-
const compiler = new VRRCompiler({
|
|
343
|
-
target: "threejs",
|
|
344
|
-
minify: false,
|
|
345
|
-
source_maps: false,
|
|
346
|
-
api_integrations: {},
|
|
347
|
-
performance: { target_fps: 60, max_players: 1e3, lazy_loading: true }
|
|
348
|
-
});
|
|
349
|
-
const data = compiler.parseVRRComposition(composition);
|
|
350
|
-
vrrSummary = {
|
|
351
|
-
twinNodes: data.twinNodes.length,
|
|
352
|
-
weatherNodes: data.weatherNodes.length,
|
|
353
|
-
eventNodes: data.eventNodes.length,
|
|
354
|
-
inventoryNodes: data.inventoryNodes.length,
|
|
355
|
-
questNodes: data.questNodes.length,
|
|
356
|
-
layerShiftNodes: data.layerShiftNodes.length,
|
|
357
|
-
paywallNodes: data.paywallNodes.length,
|
|
358
|
-
geoAnchorNodes: data.geoAnchorNodes.length
|
|
359
|
-
};
|
|
355
|
+
vrrSummary = summarizeBusinessVRRComposition(composition);
|
|
360
356
|
}
|
|
361
357
|
const payload = {
|
|
362
358
|
success: true,
|
|
@@ -400,5 +396,5 @@ function registerBusinessQuestTools(server) {
|
|
|
400
396
|
var BusinessQuestTools_default = handleBusinessQuestToolCall;
|
|
401
397
|
|
|
402
398
|
export { BUSINESS_QUEST_TOOLS, BusinessQuestTools_default, buildVRRCompositionFromDraft, businessVRRDraftSchema, draftToHoloPreview, handleBusinessQuestToolCall, registerBusinessQuestTools, validateBusinessVRRDraft };
|
|
403
|
-
//# sourceMappingURL=chunk-
|
|
404
|
-
//# sourceMappingURL=chunk-
|
|
399
|
+
//# sourceMappingURL=chunk-NWMJPTVL.js.map
|
|
400
|
+
//# sourceMappingURL=chunk-NWMJPTVL.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkQEDMOGF3_cjs = require('./chunk-QEDMOGF3.cjs');
|
|
4
|
+
var chunkZK7KX5CD_cjs = require('./chunk-ZK7KX5CD.cjs');
|
|
5
|
+
var chunkZHPMP447_cjs = require('./chunk-ZHPMP447.cjs');
|
|
6
6
|
var ans = require('@holoscript/core-types/ans');
|
|
7
7
|
|
|
8
8
|
// src/compiler/godot-acoustic-bus.ts
|
|
@@ -45,7 +45,7 @@ function compileAcousticTrait(traitName, config, varName) {
|
|
|
45
45
|
return { lines, effects, busName: bus };
|
|
46
46
|
}
|
|
47
47
|
var num;
|
|
48
|
-
var init_godot_acoustic_bus =
|
|
48
|
+
var init_godot_acoustic_bus = chunkZHPMP447_cjs.__esm({
|
|
49
49
|
"src/compiler/godot-acoustic-bus.ts"() {
|
|
50
50
|
num = (v, fallback) => typeof v === "number" && Number.isFinite(v) ? v : fallback;
|
|
51
51
|
}
|
|
@@ -53,16 +53,16 @@ var init_godot_acoustic_bus = chunkHCCQLAA4_cjs.__esm({
|
|
|
53
53
|
|
|
54
54
|
// src/compiler/GodotCompiler.ts
|
|
55
55
|
var GodotCompiler_exports = {};
|
|
56
|
-
|
|
56
|
+
chunkZHPMP447_cjs.__export(GodotCompiler_exports, {
|
|
57
57
|
GodotCompiler: () => exports.GodotCompiler
|
|
58
58
|
});
|
|
59
59
|
exports.GodotCompiler = void 0;
|
|
60
|
-
var init_GodotCompiler =
|
|
60
|
+
var init_GodotCompiler = chunkZHPMP447_cjs.__esm({
|
|
61
61
|
"src/compiler/GodotCompiler.ts"() {
|
|
62
|
-
|
|
62
|
+
chunkZK7KX5CD_cjs.init_CompilerBase();
|
|
63
63
|
init_godot_acoustic_bus();
|
|
64
|
-
|
|
65
|
-
exports.GodotCompiler = class extends
|
|
64
|
+
chunkQEDMOGF3_cjs.init_DomainBlockCompilerMixin();
|
|
65
|
+
exports.GodotCompiler = class extends chunkZK7KX5CD_cjs.CompilerBase {
|
|
66
66
|
constructor(options = {}) {
|
|
67
67
|
super();
|
|
68
68
|
this.compilerName = "GodotCompiler";
|
|
@@ -170,59 +170,59 @@ var init_GodotCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
170
170
|
this.emit("");
|
|
171
171
|
this.emit("# === v4.2 Domain Blocks ===");
|
|
172
172
|
let blockIdx = 0;
|
|
173
|
-
const compiled =
|
|
173
|
+
const compiled = chunkQEDMOGF3_cjs.compileDomainBlocks(
|
|
174
174
|
domainBlocks,
|
|
175
175
|
{
|
|
176
176
|
material: (block) => {
|
|
177
|
-
const mat =
|
|
178
|
-
return
|
|
177
|
+
const mat = chunkQEDMOGF3_cjs.compileMaterialBlock(block);
|
|
178
|
+
return chunkQEDMOGF3_cjs.materialToGodot(mat, `db${blockIdx++}`);
|
|
179
179
|
},
|
|
180
180
|
physics: (block) => {
|
|
181
|
-
const phys =
|
|
182
|
-
return
|
|
181
|
+
const phys = chunkQEDMOGF3_cjs.compilePhysicsBlock(block);
|
|
182
|
+
return chunkQEDMOGF3_cjs.physicsToGodot(phys, `db${blockIdx++}`);
|
|
183
183
|
},
|
|
184
184
|
vfx: (block) => {
|
|
185
|
-
const ps =
|
|
186
|
-
return
|
|
185
|
+
const ps = chunkQEDMOGF3_cjs.compileParticleBlock(block);
|
|
186
|
+
return chunkQEDMOGF3_cjs.particlesToGodot(ps, `db${blockIdx++}`);
|
|
187
187
|
},
|
|
188
188
|
postfx: (block) => {
|
|
189
|
-
const pp =
|
|
190
|
-
return
|
|
189
|
+
const pp = chunkQEDMOGF3_cjs.compilePostProcessingBlock(block);
|
|
190
|
+
return chunkQEDMOGF3_cjs.postProcessingToGodot(pp);
|
|
191
191
|
},
|
|
192
192
|
audio: (block) => {
|
|
193
|
-
const audio =
|
|
194
|
-
return
|
|
193
|
+
const audio = chunkQEDMOGF3_cjs.compileAudioSourceBlock(block);
|
|
194
|
+
return chunkQEDMOGF3_cjs.audioSourceToGodot(audio, `db${blockIdx++}`);
|
|
195
195
|
},
|
|
196
196
|
weather: (block) => {
|
|
197
|
-
const weather =
|
|
198
|
-
return
|
|
197
|
+
const weather = chunkQEDMOGF3_cjs.compileWeatherBlock(block);
|
|
198
|
+
return chunkQEDMOGF3_cjs.weatherToGodot(weather);
|
|
199
199
|
},
|
|
200
200
|
narrative: (block) => {
|
|
201
|
-
const narr =
|
|
202
|
-
return
|
|
201
|
+
const narr = chunkQEDMOGF3_cjs.compileNarrativeBlock(block);
|
|
202
|
+
return chunkQEDMOGF3_cjs.narrativeToGodot(narr);
|
|
203
203
|
},
|
|
204
204
|
payment: (block) => {
|
|
205
|
-
const pay =
|
|
206
|
-
return
|
|
205
|
+
const pay = chunkQEDMOGF3_cjs.compilePaymentBlock(block);
|
|
206
|
+
return chunkQEDMOGF3_cjs.paymentToGodot(pay);
|
|
207
207
|
},
|
|
208
208
|
healthcare: (block) => {
|
|
209
|
-
const h =
|
|
210
|
-
return
|
|
209
|
+
const h = chunkQEDMOGF3_cjs.compileHealthcareBlock(block);
|
|
210
|
+
return chunkQEDMOGF3_cjs.healthcareToGodot(h);
|
|
211
211
|
},
|
|
212
212
|
robotics: (block) => {
|
|
213
|
-
const r =
|
|
214
|
-
return
|
|
213
|
+
const r = chunkQEDMOGF3_cjs.compileRoboticsBlock(block);
|
|
214
|
+
return chunkQEDMOGF3_cjs.roboticsToGodot(r);
|
|
215
215
|
},
|
|
216
|
-
iot: (block) =>
|
|
217
|
-
dataviz: (block) =>
|
|
218
|
-
education: (block) =>
|
|
219
|
-
music: (block) =>
|
|
220
|
-
architecture: (block) =>
|
|
221
|
-
web3: (block) =>
|
|
222
|
-
procedural: (block) =>
|
|
223
|
-
rendering: (block) =>
|
|
224
|
-
navigation: (block) =>
|
|
225
|
-
input: (block) =>
|
|
216
|
+
iot: (block) => chunkQEDMOGF3_cjs.iotToGodot(chunkQEDMOGF3_cjs.compileIoTBlock(block)),
|
|
217
|
+
dataviz: (block) => chunkQEDMOGF3_cjs.datavizToGodot(chunkQEDMOGF3_cjs.compileDataVizBlock(block)),
|
|
218
|
+
education: (block) => chunkQEDMOGF3_cjs.educationToGodot(chunkQEDMOGF3_cjs.compileEducationBlock(block)),
|
|
219
|
+
music: (block) => chunkQEDMOGF3_cjs.musicToGodot(chunkQEDMOGF3_cjs.compileMusicBlock(block)),
|
|
220
|
+
architecture: (block) => chunkQEDMOGF3_cjs.architectureToGodot(chunkQEDMOGF3_cjs.compileArchitectureBlock(block)),
|
|
221
|
+
web3: (block) => chunkQEDMOGF3_cjs.web3ToGodot(chunkQEDMOGF3_cjs.compileWeb3Block(block)),
|
|
222
|
+
procedural: (block) => chunkQEDMOGF3_cjs.proceduralToGodot(chunkQEDMOGF3_cjs.compileProceduralBlock(block)),
|
|
223
|
+
rendering: (block) => chunkQEDMOGF3_cjs.renderingToGodot(chunkQEDMOGF3_cjs.compileRenderingBlock(block)),
|
|
224
|
+
navigation: (block) => chunkQEDMOGF3_cjs.navigationToGodot(chunkQEDMOGF3_cjs.compileNavigationBlock(block)),
|
|
225
|
+
input: (block) => chunkQEDMOGF3_cjs.inputToGodot(chunkQEDMOGF3_cjs.compileInputBlock(block))
|
|
226
226
|
},
|
|
227
227
|
(block) => `# Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "GDScript")}"`
|
|
228
228
|
);
|
|
@@ -689,5 +689,5 @@ var init_GodotCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
689
689
|
|
|
690
690
|
exports.GodotCompiler_exports = GodotCompiler_exports;
|
|
691
691
|
exports.init_GodotCompiler = init_GodotCompiler;
|
|
692
|
-
//# sourceMappingURL=chunk-
|
|
693
|
-
//# sourceMappingURL=chunk-
|
|
692
|
+
//# sourceMappingURL=chunk-OC6GV5QH.cjs.map
|
|
693
|
+
//# sourceMappingURL=chunk-OC6GV5QH.cjs.map
|
|
@@ -324,9 +324,15 @@ var OnnxNodeInferenceAdapter = class {
|
|
|
324
324
|
);
|
|
325
325
|
}
|
|
326
326
|
this.ort = await import('onnxruntime-node');
|
|
327
|
-
this.
|
|
327
|
+
const wantCuda = this.preferredProvider === "cuda" || typeof process !== "undefined" && process.env?.HOLOSCRIPT_CUDA_EP === "1";
|
|
328
|
+
const executionProviders = wantCuda ? ["cuda", "cpu"] : ["cpu"];
|
|
329
|
+
this.session = await this.ort.InferenceSession.create(path, { executionProviders });
|
|
328
330
|
this.resolvedPath = path;
|
|
329
331
|
this.loaded = true;
|
|
332
|
+
const activeProviders = this.session.executionProviders ?? executionProviders;
|
|
333
|
+
console.log(
|
|
334
|
+
`[OnnxNodeInferenceAdapter] loaded "${path}" \u2014 requested: [${executionProviders.join(", ")}], active: [${activeProviders.join(", ")}]`
|
|
335
|
+
);
|
|
330
336
|
}
|
|
331
337
|
async run(request) {
|
|
332
338
|
if (!this.loaded || !this.session || !this.ort) {
|
|
@@ -411,5 +417,5 @@ async function resolveOnnxModelPath(modelUrl) {
|
|
|
411
417
|
}
|
|
412
418
|
|
|
413
419
|
export { BUNDLED_MODEL_SEED, HIDDEN_DIM, NoOpInferenceAdapter, OnnxNodeInferenceAdapter, PHASE_CONTROL_POINTS, PfnnNetwork, PureJsInferenceAdapter, add, createBundledPfnn, createNoOpInferenceAdapter, createOnnxNodeInferenceAdapter, createPureJsInferenceAdapter, createTensor, eluInPlace, matmul, resolveOnnxModelPath };
|
|
414
|
-
//# sourceMappingURL=chunk-
|
|
415
|
-
//# sourceMappingURL=chunk-
|
|
420
|
+
//# sourceMappingURL=chunk-OG3MBHM3.js.map
|
|
421
|
+
//# sourceMappingURL=chunk-OG3MBHM3.js.map
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkEI3J6LTW_cjs = require('./chunk-EI3J6LTW.cjs');
|
|
4
|
+
|
|
5
|
+
// src/constants.ts
|
|
6
|
+
chunkEI3J6LTW_cjs.init_constants();
|
|
7
|
+
chunkEI3J6LTW_cjs.init_constants();
|
|
8
|
+
var STRUCTURAL_DIRECTIVES = [
|
|
9
|
+
// Asset & Manifest
|
|
10
|
+
"manifest",
|
|
11
|
+
"asset",
|
|
12
|
+
// Semantic Annotations
|
|
13
|
+
"semantic",
|
|
14
|
+
"annotate",
|
|
15
|
+
"semantic_ref",
|
|
16
|
+
"bindings",
|
|
17
|
+
"artwork_metadata",
|
|
18
|
+
"npc_behavior",
|
|
19
|
+
// World Definition
|
|
20
|
+
"world_metadata",
|
|
21
|
+
"world_config",
|
|
22
|
+
"zones",
|
|
23
|
+
"spawn_points",
|
|
24
|
+
// Environment Lighting
|
|
25
|
+
"skybox",
|
|
26
|
+
"ambient_light",
|
|
27
|
+
"directional_light",
|
|
28
|
+
"fog",
|
|
29
|
+
// Advanced Simulation & AI
|
|
30
|
+
"time_zones",
|
|
31
|
+
"reality_capture",
|
|
32
|
+
"reality_mesh",
|
|
33
|
+
"reality_blend",
|
|
34
|
+
"diminished_reality",
|
|
35
|
+
"reality_portals",
|
|
36
|
+
"reality_effects",
|
|
37
|
+
"consciousness_model",
|
|
38
|
+
"global_workspace",
|
|
39
|
+
"attention_schema",
|
|
40
|
+
"predictive_mind",
|
|
41
|
+
"information_integration",
|
|
42
|
+
"qualia_generator",
|
|
43
|
+
"swarm_config",
|
|
44
|
+
"minimal_brain",
|
|
45
|
+
"rules",
|
|
46
|
+
"pheromone_system",
|
|
47
|
+
"emergence_detector",
|
|
48
|
+
"collective_memory",
|
|
49
|
+
"swarm_optimization",
|
|
50
|
+
"time_engine",
|
|
51
|
+
"time_buffer",
|
|
52
|
+
"time_abilities",
|
|
53
|
+
"paradox_prevention",
|
|
54
|
+
"knowledge_integration",
|
|
55
|
+
"neural_device",
|
|
56
|
+
"signal_processor",
|
|
57
|
+
"decoder",
|
|
58
|
+
"thought_mapping",
|
|
59
|
+
"haptic_feedback",
|
|
60
|
+
"visual_prosthesis",
|
|
61
|
+
"memory_interface",
|
|
62
|
+
"affective_computing",
|
|
63
|
+
"quantum_backend",
|
|
64
|
+
"quantum_rng",
|
|
65
|
+
"quantum_optimization",
|
|
66
|
+
"quantum_ml",
|
|
67
|
+
"quantum_simulation",
|
|
68
|
+
"quantum_crypto"
|
|
69
|
+
];
|
|
70
|
+
var LIFECYCLE_HOOKS = [
|
|
71
|
+
// Standard lifecycle
|
|
72
|
+
"on_mount",
|
|
73
|
+
"on_unmount",
|
|
74
|
+
"on_update",
|
|
75
|
+
"on_data_update",
|
|
76
|
+
"on_tick",
|
|
77
|
+
"on_activate",
|
|
78
|
+
"on_deactivate",
|
|
79
|
+
"on_detected",
|
|
80
|
+
// VR lifecycle
|
|
81
|
+
"on_grab",
|
|
82
|
+
"on_release",
|
|
83
|
+
"on_hover_enter",
|
|
84
|
+
"on_hover_exit",
|
|
85
|
+
"on_point_enter",
|
|
86
|
+
"on_point_exit",
|
|
87
|
+
"on_collision",
|
|
88
|
+
"on_trigger_enter",
|
|
89
|
+
"on_trigger_exit",
|
|
90
|
+
"on_click",
|
|
91
|
+
"on_double_click",
|
|
92
|
+
// Controller hooks
|
|
93
|
+
"on_controller_button",
|
|
94
|
+
"on_trigger_hold",
|
|
95
|
+
"on_trigger_release",
|
|
96
|
+
"on_grip_hold",
|
|
97
|
+
"on_grip_release",
|
|
98
|
+
// Stretchable/Moldable hooks
|
|
99
|
+
"on_stretch",
|
|
100
|
+
"on_sculpt",
|
|
101
|
+
// Humanoid/Avatar hooks
|
|
102
|
+
"on_pose_change",
|
|
103
|
+
"on_expression_change",
|
|
104
|
+
"on_gesture",
|
|
105
|
+
"on_speak",
|
|
106
|
+
"on_pose_save",
|
|
107
|
+
"on_morph_change",
|
|
108
|
+
// Media Production hooks
|
|
109
|
+
"on_record_start",
|
|
110
|
+
"on_record_stop",
|
|
111
|
+
"on_record_pause",
|
|
112
|
+
"on_stream_start",
|
|
113
|
+
"on_stream_stop",
|
|
114
|
+
"on_viewer_join",
|
|
115
|
+
"on_viewer_leave",
|
|
116
|
+
"on_chat_message",
|
|
117
|
+
"on_camera_switch",
|
|
118
|
+
"on_video_end",
|
|
119
|
+
"on_video_error",
|
|
120
|
+
// Analytics hooks
|
|
121
|
+
"on_track_event",
|
|
122
|
+
"on_survey_start",
|
|
123
|
+
"on_survey_complete",
|
|
124
|
+
"on_survey_skip",
|
|
125
|
+
"on_variant_assigned",
|
|
126
|
+
"on_conversion",
|
|
127
|
+
"on_hotspot_detected",
|
|
128
|
+
// Social hooks
|
|
129
|
+
"on_share",
|
|
130
|
+
"on_share_complete",
|
|
131
|
+
"on_embed",
|
|
132
|
+
"on_scan",
|
|
133
|
+
"on_user_join",
|
|
134
|
+
"on_user_leave",
|
|
135
|
+
"on_draw_stroke",
|
|
136
|
+
"on_object_lock",
|
|
137
|
+
"on_object_unlock",
|
|
138
|
+
// Effects hooks
|
|
139
|
+
"on_particle_spawn",
|
|
140
|
+
"on_particle_death",
|
|
141
|
+
"on_transition_start",
|
|
142
|
+
"on_transition_complete",
|
|
143
|
+
"on_filter_change",
|
|
144
|
+
// Audio hooks
|
|
145
|
+
"on_audio_start",
|
|
146
|
+
"on_audio_end",
|
|
147
|
+
"on_voice_command",
|
|
148
|
+
"on_speech_start",
|
|
149
|
+
"on_speech_end",
|
|
150
|
+
"on_beat",
|
|
151
|
+
"on_frequency_peak",
|
|
152
|
+
// AI hooks
|
|
153
|
+
"on_narration_start",
|
|
154
|
+
"on_narration_end",
|
|
155
|
+
"on_user_question",
|
|
156
|
+
"on_response_ready",
|
|
157
|
+
"on_emotion_change",
|
|
158
|
+
"on_generation_complete",
|
|
159
|
+
// Timeline hooks
|
|
160
|
+
"on_timeline_start",
|
|
161
|
+
"on_timeline_complete",
|
|
162
|
+
"on_keyframe_hit",
|
|
163
|
+
"on_keyframe_add",
|
|
164
|
+
"on_beat_sync",
|
|
165
|
+
"on_move_complete",
|
|
166
|
+
// Environment Understanding hooks
|
|
167
|
+
"on_plane_detected",
|
|
168
|
+
"on_plane_lost",
|
|
169
|
+
"on_plane_updated",
|
|
170
|
+
"on_mesh_detected",
|
|
171
|
+
"on_mesh_updated",
|
|
172
|
+
"on_anchor_created",
|
|
173
|
+
"on_anchor_resolved",
|
|
174
|
+
"on_anchor_lost",
|
|
175
|
+
"on_anchor_shared",
|
|
176
|
+
"on_light_estimated",
|
|
177
|
+
"on_occlusion_updated",
|
|
178
|
+
// Input Modality hooks
|
|
179
|
+
"on_gaze_enter",
|
|
180
|
+
"on_gaze_exit",
|
|
181
|
+
"on_gaze_dwell",
|
|
182
|
+
"on_hand_gesture",
|
|
183
|
+
"on_hand_pinch",
|
|
184
|
+
"on_hand_lost",
|
|
185
|
+
"on_body_pose_update",
|
|
186
|
+
"on_face_expression",
|
|
187
|
+
"on_controller_vibrate",
|
|
188
|
+
"on_accessory_input",
|
|
189
|
+
// Accessibility hooks
|
|
190
|
+
"on_accessibility_announce",
|
|
191
|
+
"on_subtitle_display",
|
|
192
|
+
"on_magnify",
|
|
193
|
+
"on_contrast_change",
|
|
194
|
+
"on_motion_reduce",
|
|
195
|
+
"on_screen_reader_focus",
|
|
196
|
+
"on_sonification_update",
|
|
197
|
+
// Gaussian Splatting & Volumetric hooks
|
|
198
|
+
"on_splat_loaded",
|
|
199
|
+
"on_nerf_ready",
|
|
200
|
+
"on_volume_frame",
|
|
201
|
+
"on_point_cloud_loaded",
|
|
202
|
+
"on_capture_complete",
|
|
203
|
+
// WebGPU Compute hooks
|
|
204
|
+
"on_compute_complete",
|
|
205
|
+
"on_buffer_ready",
|
|
206
|
+
"on_gpu_error",
|
|
207
|
+
// Digital Twin & IoT hooks
|
|
208
|
+
"on_sensor_update",
|
|
209
|
+
"on_data_change",
|
|
210
|
+
"on_alert_triggered",
|
|
211
|
+
"on_twin_sync",
|
|
212
|
+
"on_heatmap_update",
|
|
213
|
+
// Autonomous Agent hooks
|
|
214
|
+
"on_goal_completed",
|
|
215
|
+
"on_goal_failed",
|
|
216
|
+
"on_perception_change",
|
|
217
|
+
"on_emotion_shift",
|
|
218
|
+
"on_faction_change",
|
|
219
|
+
"on_patrol_waypoint",
|
|
220
|
+
"on_llm_response",
|
|
221
|
+
"on_memory_recalled",
|
|
222
|
+
"on_dialogue_start",
|
|
223
|
+
"on_dialogue_end",
|
|
224
|
+
// Advanced Spatial Audio hooks
|
|
225
|
+
"on_reverb_enter",
|
|
226
|
+
"on_reverb_exit",
|
|
227
|
+
"on_audio_occluded",
|
|
228
|
+
"on_audio_portal_enter",
|
|
229
|
+
// OpenUSD & Interoperability hooks
|
|
230
|
+
"on_asset_loaded",
|
|
231
|
+
"on_format_converted",
|
|
232
|
+
"on_scene_composed",
|
|
233
|
+
// Co-Presence & Shared Experience hooks
|
|
234
|
+
"on_co_presence_joined",
|
|
235
|
+
"on_co_presence_left",
|
|
236
|
+
"on_voice_proximity_change",
|
|
237
|
+
"on_role_change",
|
|
238
|
+
"on_spectator_join",
|
|
239
|
+
"on_avatar_sync",
|
|
240
|
+
// Geospatial & AR Cloud hooks
|
|
241
|
+
"on_vps_localized",
|
|
242
|
+
"on_poi_proximity",
|
|
243
|
+
"on_terrain_resolved",
|
|
244
|
+
"on_rooftop_resolved",
|
|
245
|
+
// Web3 & Ownership hooks
|
|
246
|
+
"on_wallet_connected",
|
|
247
|
+
"on_token_verified",
|
|
248
|
+
"on_nft_transferred",
|
|
249
|
+
"on_purchase_complete",
|
|
250
|
+
"on_asset_ported",
|
|
251
|
+
// Physics Expansion hooks
|
|
252
|
+
"on_cloth_tear",
|
|
253
|
+
"on_fluid_splash",
|
|
254
|
+
"on_soft_body_deform",
|
|
255
|
+
"on_rope_snap",
|
|
256
|
+
"on_wind_change",
|
|
257
|
+
"on_submerge",
|
|
258
|
+
"on_destruction_complete"
|
|
259
|
+
];
|
|
260
|
+
|
|
261
|
+
exports.LIFECYCLE_HOOKS = LIFECYCLE_HOOKS;
|
|
262
|
+
exports.STRUCTURAL_DIRECTIVES = STRUCTURAL_DIRECTIVES;
|
|
263
|
+
//# sourceMappingURL=chunk-OMNHTCS4.cjs.map
|
|
264
|
+
//# sourceMappingURL=chunk-OMNHTCS4.cjs.map
|