@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,138 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PluginKeywordRegistry — runtime-injectable .hs verb table (H2 language-extension seam).
|
|
3
|
+
*
|
|
4
|
+
* Converts today's hardcoded keyword dispatch (locomotion `move/turn`,
|
|
5
|
+
* cognitive `llm_call/recall`) into an append-only registry. Every verb must
|
|
6
|
+
* declare a `NodeTypeFamily` — a BOUNDED set defined here in core. This is
|
|
7
|
+
* the one seam that lets any vertical extend the language without forking core:
|
|
8
|
+
*
|
|
9
|
+
* - Plugins add verbs to existing families (`actuate` → `'control'`,
|
|
10
|
+
* `dose` → `'sensor'`, `measure_qubits` → `'sensor'`, `emit_gcode` → `'control'`).
|
|
11
|
+
* - Plugins CANNOT create new families — that would be forking core.
|
|
12
|
+
* - The table is append-only: once registered, a verb cannot be remapped.
|
|
13
|
+
* - After scene init, `seal()` prevents further registrations.
|
|
14
|
+
*
|
|
15
|
+
* ## Alignment with existing types
|
|
16
|
+
*
|
|
17
|
+
* `NodeTypeFamily` is a superset of `ReactionCategory`
|
|
18
|
+
* (`packages/core/src/types/base.ts`) — all existing reaction categories map
|
|
19
|
+
* 1-to-1, and two new H2 families (`'cognitive'`, `'sensor'`, `'control'`,
|
|
20
|
+
* `'transaction'`) are added for AI/LLM, robotics/IoT, and economic verbs.
|
|
21
|
+
*
|
|
22
|
+
* ## Machine-introspection
|
|
23
|
+
*
|
|
24
|
+
* `entries()` returns a read-only flat list of `VerbEntry` objects —
|
|
25
|
+
* zero TS import needed. LSP, marketplace, and Brittney can read the registry
|
|
26
|
+
* without importing plugin TypeScript.
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* Bounded set of node-type families. Core defines this set; plugins CANNOT
|
|
30
|
+
* extend it (that would be forking core). Plugins ADD verbs to existing
|
|
31
|
+
* families only.
|
|
32
|
+
*
|
|
33
|
+
* Families align with `ReactionCategory` from `types/base.ts` where they
|
|
34
|
+
* overlap, plus new H2 families for the cognitive / control / sensor /
|
|
35
|
+
* transaction verticals.
|
|
36
|
+
*/
|
|
37
|
+
export declare const NODE_TYPE_FAMILIES: readonly ["movement", "interaction", "collision", "lifecycle", "combat", "signal", "cognitive", "control", "sensor", "transaction"];
|
|
38
|
+
/** A family that a verb belongs to. Plugins may register verbs in these families. */
|
|
39
|
+
export type NodeTypeFamily = (typeof NODE_TYPE_FAMILIES)[number];
|
|
40
|
+
/** A single entry in the keyword registry. */
|
|
41
|
+
export interface VerbEntry {
|
|
42
|
+
/** The .hs verb string (e.g., `'move'`, `'actuate'`, `'emit_gcode'`). */
|
|
43
|
+
readonly verb: string;
|
|
44
|
+
/** The node-type family this verb belongs to. */
|
|
45
|
+
readonly family: NodeTypeFamily;
|
|
46
|
+
/**
|
|
47
|
+
* The plugin that registered this verb.
|
|
48
|
+
* `'core'` for built-in verbs (locomotion + cognitive).
|
|
49
|
+
*/
|
|
50
|
+
readonly registeredBy: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Append-only runtime registry mapping .hs verbs to node-type families.
|
|
54
|
+
*
|
|
55
|
+
* Use the module-level `globalKeywordRegistry` singleton; instantiate a fresh
|
|
56
|
+
* one only in tests.
|
|
57
|
+
*/
|
|
58
|
+
export declare class PluginKeywordRegistry {
|
|
59
|
+
private readonly table;
|
|
60
|
+
private _sealed;
|
|
61
|
+
constructor();
|
|
62
|
+
private _registerBuiltins;
|
|
63
|
+
/**
|
|
64
|
+
* Register a plugin-supplied verb.
|
|
65
|
+
*
|
|
66
|
+
* @param verb The .hs verb (e.g., `'actuate'`, `'emit_gcode'`). Must be
|
|
67
|
+
* a non-empty string containing only `[a-z0-9_]`.
|
|
68
|
+
* @param family Must be a known `NodeTypeFamily`. Conformance gate rejects
|
|
69
|
+
* anything outside the fixed set.
|
|
70
|
+
* @param pluginId The registering plugin's manifest id (e.g., `'robotics'`).
|
|
71
|
+
*
|
|
72
|
+
* @throws If the registry is sealed, the family is unknown, or the verb is
|
|
73
|
+
* already registered by a DIFFERENT plugin (idempotent for same plugin).
|
|
74
|
+
*/
|
|
75
|
+
register(verb: string, family: NodeTypeFamily, pluginId: string): void;
|
|
76
|
+
/**
|
|
77
|
+
* Seal the registry after scene init. All plugin verbs must be registered
|
|
78
|
+
* before this call. After sealing, `register()` throws.
|
|
79
|
+
*
|
|
80
|
+
* Idempotent — calling seal() on an already-sealed registry is a no-op.
|
|
81
|
+
*/
|
|
82
|
+
seal(): void;
|
|
83
|
+
/** Whether the registry has been sealed. */
|
|
84
|
+
get isSealed(): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Look up the `NodeTypeFamily` for a verb.
|
|
87
|
+
* Returns `undefined` for unregistered verbs.
|
|
88
|
+
*/
|
|
89
|
+
lookupFamily(verb: string): NodeTypeFamily | undefined;
|
|
90
|
+
/** Returns `true` if the verb is registered (built-in or plugin-supplied). */
|
|
91
|
+
isKnownVerb(verb: string): boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Return all registered `VerbEntry` objects — the flat machine-introspectable
|
|
94
|
+
* table. Safe for LSP / marketplace / Brittney to read without importing TS.
|
|
95
|
+
*/
|
|
96
|
+
entries(): ReadonlyArray<VerbEntry>;
|
|
97
|
+
/** Return all registered verbs for a given family. */
|
|
98
|
+
verbsInFamily(family: NodeTypeFamily): ReadonlyArray<string>;
|
|
99
|
+
/** Total number of registered verbs. */
|
|
100
|
+
get size(): number;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Global singleton registry — one table per process.
|
|
104
|
+
*
|
|
105
|
+
* Plugins call `registerPluginVerb()` at registration time (before scene-init
|
|
106
|
+
* seal). The parser and runtime call `globalKeywordRegistry.lookupFamily()` to
|
|
107
|
+
* dispatch unknown verbs without hardcoded switch/case.
|
|
108
|
+
*/
|
|
109
|
+
export declare const globalKeywordRegistry: PluginKeywordRegistry;
|
|
110
|
+
/**
|
|
111
|
+
* Register a plugin-supplied .hs verb into the global registry.
|
|
112
|
+
*
|
|
113
|
+
* Call during plugin registration (alongside `registerPluginTraits`) — before
|
|
114
|
+
* the scene-init seal fires.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* ```ts
|
|
118
|
+
* // In a robotics plugin runtime.ts:
|
|
119
|
+
* registerPluginVerb('actuate', 'control', 'robotics');
|
|
120
|
+
* registerPluginVerb('measure_joint', 'sensor', 'robotics');
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
export declare function registerPluginVerb(verb: string, family: NodeTypeFamily, pluginId: string): void;
|
|
124
|
+
/**
|
|
125
|
+
* Convenience: register multiple verbs for one plugin in a single call.
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* ```ts
|
|
129
|
+
* registerPluginVerbs('robotics', [
|
|
130
|
+
* { verb: 'actuate', family: 'control' },
|
|
131
|
+
* { verb: 'measure_joint', family: 'sensor' },
|
|
132
|
+
* ]);
|
|
133
|
+
* ```
|
|
134
|
+
*/
|
|
135
|
+
export declare function registerPluginVerbs(pluginId: string, verbs: ReadonlyArray<{
|
|
136
|
+
verb: string;
|
|
137
|
+
family: NodeTypeFamily;
|
|
138
|
+
}>): void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkQJNCDVYM_cjs = require('../chunk-QJNCDVYM.cjs');
|
|
4
|
+
require('../chunk-ZHPMP447.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "NODE_TYPE_FAMILIES", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkQJNCDVYM_cjs.NODE_TYPE_FAMILIES; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "PluginKeywordRegistry", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkQJNCDVYM_cjs.PluginKeywordRegistry; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "globalKeywordRegistry", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkQJNCDVYM_cjs.globalKeywordRegistry; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "registerPluginVerb", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkQJNCDVYM_cjs.registerPluginVerb; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "registerPluginVerbs", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkQJNCDVYM_cjs.registerPluginVerbs; }
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=index.cjs.map
|
|
29
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PluginKeywordRegistry';
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkHCX4SMFK_cjs = require('../chunk-HCX4SMFK.cjs');
|
|
4
|
+
require('../chunk-ZHPMP447.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "TROPICAL_INF", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkHCX4SMFK_cjs.TROPICAL_INF; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "barabasiAlbertCsr", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkHCX4SMFK_cjs.barabasiAlbertCsr; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "csrFromDense", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkHCX4SMFK_cjs.csrFromDense; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "erdosRenyiCsr", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkHCX4SMFK_cjs.erdosRenyiCsr; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "layeredNeuralCsr", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkHCX4SMFK_cjs.layeredNeuralCsr; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "maxAbsDiff", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkHCX4SMFK_cjs.maxAbsDiff; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "mulberry32", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkHCX4SMFK_cjs.mulberry32; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "tropicalMinPlusSpmv", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkHCX4SMFK_cjs.tropicalMinPlusSpmv; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "tropicalMinPlusSpmvDense", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkHCX4SMFK_cjs.tropicalMinPlusSpmvDense; }
|
|
43
43
|
});
|
|
44
44
|
//# sourceMappingURL=tropical-spmv.cjs.map
|
|
45
45
|
//# sourceMappingURL=tropical-spmv.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tropicalSpmv.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { TROPICAL_INF, barabasiAlbertCsr, csrFromDense, erdosRenyiCsr, layeredNeuralCsr, maxAbsDiff, mulberry32, tropicalMinPlusSpmv, tropicalMinPlusSpmvDense } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { TROPICAL_INF, barabasiAlbertCsr, csrFromDense, erdosRenyiCsr, layeredNeuralCsr, maxAbsDiff, mulberry32, tropicalMinPlusSpmv, tropicalMinPlusSpmvDense } from '../chunk-GLEJ2TLS.js';
|
|
2
|
+
import '../chunk-W4GABFCR.js';
|
|
3
3
|
//# sourceMappingURL=tropical-spmv.js.map
|
|
4
4
|
//# sourceMappingURL=tropical-spmv.js.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tropical (min-plus) sparse matrix–vector multiply on CSR graphs.
|
|
3
|
+
*
|
|
4
|
+
* Matches the semiring used in `@holoscript/snn-webgpu` / `TropicalShortestPaths`
|
|
5
|
+
* (`INF = 1e30`). One SpMV step computes
|
|
6
|
+
* y_i = min_j (A_ij + x_j)
|
|
7
|
+
* over stored entries only.
|
|
8
|
+
*
|
|
9
|
+
* Used for CPU reference checks, graph benchmarks (ER / scale-free / layered),
|
|
10
|
+
* and comparison against the dense min-plus path.
|
|
11
|
+
*/
|
|
12
|
+
/** Same sentinel as `TropicalShortestPaths` / WGSL kernels. */
|
|
13
|
+
export declare const TROPICAL_INF = 1e+30;
|
|
14
|
+
/** CSR adjacency (square n×n), row-major compressed sparse rows. */
|
|
15
|
+
export interface TropicalCsrMatrix {
|
|
16
|
+
readonly n: number;
|
|
17
|
+
readonly rowPtr: Uint32Array;
|
|
18
|
+
readonly colIdx: Uint32Array;
|
|
19
|
+
readonly values: Float32Array;
|
|
20
|
+
}
|
|
21
|
+
/** Deterministic PRNG (Mulberry32) for reproducible graph builds. */
|
|
22
|
+
export declare function mulberry32(seed: number): () => number;
|
|
23
|
+
/**
|
|
24
|
+
* Min-plus SpMV: y_i = min_k (values[k] + x[colIdx[k]]) for entries in row i.
|
|
25
|
+
* Rows with no entries get y_i = TROPICAL_INF.
|
|
26
|
+
*/
|
|
27
|
+
export declare function tropicalMinPlusSpmv(csr: TropicalCsrMatrix, x: Float32Array, y: Float32Array): void;
|
|
28
|
+
/** Dense min-plus SpMV (reference): y_i = min_j (A_ij + x_j). */
|
|
29
|
+
export declare function tropicalMinPlusSpmvDense(n: number, aRowMajor: Float32Array, x: Float32Array, y: Float32Array): void;
|
|
30
|
+
/** Build CSR from dense matrix, storing only finite entries strictly below INF. */
|
|
31
|
+
export declare function csrFromDense(n: number, dense: Float32Array): TropicalCsrMatrix;
|
|
32
|
+
/** Directed Erdős–Rényi G(n,p): edge i→j with probability p, weight in (0,1]. */
|
|
33
|
+
export declare function erdosRenyiCsr(n: number, p: number, rng: () => number): TropicalCsrMatrix;
|
|
34
|
+
/**
|
|
35
|
+
* Barabási–Albert–style directed graph: each new vertex adds up to `m` outgoing
|
|
36
|
+
* edges to strictly older vertices; targets are chosen with probability
|
|
37
|
+
* proportional to (indegree + 1).
|
|
38
|
+
*/
|
|
39
|
+
export declare function barabasiAlbertCsr(n: number, m: number, rng: () => number): TropicalCsrMatrix;
|
|
40
|
+
/** Layered feedforward with random skip connections (neural-graph toy). */
|
|
41
|
+
export declare function layeredNeuralCsr(n: number, layers: number, skipProbability: number, rng: () => number): TropicalCsrMatrix;
|
|
42
|
+
/** Max absolute difference between two vectors (skipping mutual INF). */
|
|
43
|
+
export declare function maxAbsDiff(a: Float32Array, b: Float32Array): number;
|
package/dist/math/vec3.cjs
CHANGED
package/dist/math/vec3.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { vec3Add, vec3Cross, vec3CrossArray, vec3Distance, vec3Dot, vec3Length, vec3Normalize, vec3NormalizeInPlace, vec3Scale, vec3ScaleArray, vec3Sub, vec3SubArray } from '../chunk-33YHE7HX.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-W4GABFCR.js';
|
|
3
3
|
//# sourceMappingURL=vec3.js.map
|
|
4
4
|
//# sourceMappingURL=vec3.js.map
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StagedMatter — Provenance-preserving spatial consolidation (D.059)
|
|
3
|
+
*
|
|
4
|
+
* Stage 0 (H2) DONE. This module implements the next step:
|
|
5
|
+
* provenance-preserving spatial consolidation — combining two produced
|
|
6
|
+
* matter units into one consolidated unit WITHOUT losing either source's
|
|
7
|
+
* provenance.
|
|
8
|
+
*
|
|
9
|
+
* Design:
|
|
10
|
+
* - Pure functions only (no side effects, deterministic output).
|
|
11
|
+
* - Every consolidated unit carries a merged manifest with ALL source
|
|
12
|
+
* provenance hashes and explicit derivation edges.
|
|
13
|
+
* - The consolidated provenance hash is a deterministic function of the
|
|
14
|
+
* merged manifest, making the unit content-addressable and verifiable.
|
|
15
|
+
*
|
|
16
|
+
* @module StagedMatter
|
|
17
|
+
* @version 1.0.0
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* A derivation edge records that a unit was produced from one or more
|
|
21
|
+
* source units via a named operation.
|
|
22
|
+
*/
|
|
23
|
+
export interface DerivationEdge {
|
|
24
|
+
/** Provenance hash of the source unit. */
|
|
25
|
+
from: string;
|
|
26
|
+
/** Provenance hash of the resulting unit. */
|
|
27
|
+
to: string;
|
|
28
|
+
/** Operation that produced the derivation (e.g. 'consolidate'). */
|
|
29
|
+
operation: string;
|
|
30
|
+
/** ISO 8601 timestamp of when the edge was created. */
|
|
31
|
+
timestamp: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Manifest attached to every matter unit. The manifest is the
|
|
35
|
+
* provenance-bearing payload: it lists all source hashes and every
|
|
36
|
+
* derivation edge that contributed to this unit's existence.
|
|
37
|
+
*/
|
|
38
|
+
export interface MatterManifest {
|
|
39
|
+
/** Ordered list of source provenance hashes (deduplicated, sorted). */
|
|
40
|
+
provenanceHashes: string[];
|
|
41
|
+
/** Complete derivation graph for this unit. */
|
|
42
|
+
derivationEdges: DerivationEdge[];
|
|
43
|
+
/** Schema version for forward-compatibility. */
|
|
44
|
+
schema: 'matter-manifest/v1';
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A matter unit is the atom of staged matter assembly. It has a stable
|
|
48
|
+
* provenance hash (content-addressable) and a manifest that explains
|
|
49
|
+
* exactly how it was produced or consolidated.
|
|
50
|
+
*/
|
|
51
|
+
export interface MatterUnit {
|
|
52
|
+
/** Stable deterministic ID. */
|
|
53
|
+
id: string;
|
|
54
|
+
/** SHA-256 hex provenance hash of this unit's manifest + payload. */
|
|
55
|
+
provenanceHash: string;
|
|
56
|
+
/** Provenance manifest carrying source hashes and derivation edges. */
|
|
57
|
+
manifest: MatterManifest;
|
|
58
|
+
/** Optional spatial payload — can be empty for abstract units. */
|
|
59
|
+
payload?: unknown;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Consolidate two matter units into a single unit whose manifest
|
|
63
|
+
* preserves BOTH source provenance hashes and records explicit
|
|
64
|
+
* derivation edges.
|
|
65
|
+
*
|
|
66
|
+
* The returned unit is content-addressable: its provenanceHash is a
|
|
67
|
+
* deterministic function of the merged manifest, so re-consolidating
|
|
68
|
+
* the same pair always yields the same hash.
|
|
69
|
+
*
|
|
70
|
+
* @param unitA — First source matter unit.
|
|
71
|
+
* @param unitB — Second source matter unit.
|
|
72
|
+
* @returns A new matter unit representing the spatial consolidation of A and B.
|
|
73
|
+
*/
|
|
74
|
+
export declare function consolidate(unitA: MatterUnit, unitB: MatterUnit): MatterUnit;
|
|
75
|
+
/**
|
|
76
|
+
* Create a root matter unit (no prior derivation edges).
|
|
77
|
+
*
|
|
78
|
+
* @param id — Human-readable identifier.
|
|
79
|
+
* @param payload — Optional spatial or semantic payload.
|
|
80
|
+
* @returns A matter unit whose provenance hash is self-referential.
|
|
81
|
+
*/
|
|
82
|
+
export declare function createMatterUnit(id: string, payload?: unknown): MatterUnit;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkMUWH4QK5_cjs = require('../chunk-MUWH4QK5.cjs');
|
|
4
|
+
require('../chunk-ZHPMP447.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "consolidate", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkMUWH4QK5_cjs.consolidate; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "createMatterUnit", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkMUWH4QK5_cjs.createMatterUnit; }
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=index.cjs.map
|
|
17
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './StagedMatter.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __esm, __publicField } from './chunk-
|
|
1
|
+
import { __esm, __publicField } from './chunk-W4GABFCR.js';
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/utils.js
|
|
4
4
|
function isBytes(a) {
|
|
@@ -1261,5 +1261,5 @@ init_ml_dsa();
|
|
|
1261
1261
|
*/
|
|
1262
1262
|
|
|
1263
1263
|
export { PARAMS, ml_dsa44, ml_dsa65, ml_dsa87 };
|
|
1264
|
-
//# sourceMappingURL=ml-dsa-
|
|
1265
|
-
//# sourceMappingURL=ml-dsa-
|
|
1264
|
+
//# sourceMappingURL=ml-dsa-J6VKVT4K.js.map
|
|
1265
|
+
//# sourceMappingURL=ml-dsa-J6VKVT4K.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZHPMP447_cjs = require('./chunk-ZHPMP447.cjs');
|
|
4
4
|
|
|
5
5
|
// ../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/utils.js
|
|
6
6
|
function isBytes(a) {
|
|
@@ -96,7 +96,7 @@ function randomBytes(bytesLength = 32) {
|
|
|
96
96
|
return cr.getRandomValues(new Uint8Array(bytesLength));
|
|
97
97
|
}
|
|
98
98
|
var isLE, swap32IfBE, oidNist;
|
|
99
|
-
var init_utils =
|
|
99
|
+
var init_utils = chunkZHPMP447_cjs.__esm({
|
|
100
100
|
"../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/utils.js"() {
|
|
101
101
|
isLE = /* @__PURE__ */ (() => new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68)();
|
|
102
102
|
swap32IfBE = isLE ? (u) => u : byteSwap32;
|
|
@@ -116,7 +116,7 @@ function abool(value, title = "") {
|
|
|
116
116
|
}
|
|
117
117
|
return value;
|
|
118
118
|
}
|
|
119
|
-
var init_utils2 =
|
|
119
|
+
var init_utils2 = chunkZHPMP447_cjs.__esm({
|
|
120
120
|
"../../node_modules/.pnpm/@noble+curves@2.2.0/node_modules/@noble/curves/utils.js"() {
|
|
121
121
|
}
|
|
122
122
|
});
|
|
@@ -138,7 +138,7 @@ function split(lst, le = false) {
|
|
|
138
138
|
return [Ah, Al];
|
|
139
139
|
}
|
|
140
140
|
var U32_MASK64, _32n, rotlSH, rotlSL, rotlBH, rotlBL;
|
|
141
|
-
var init_u64 =
|
|
141
|
+
var init_u64 = chunkZHPMP447_cjs.__esm({
|
|
142
142
|
"../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/_u64.js"() {
|
|
143
143
|
U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
|
|
144
144
|
_32n = /* @__PURE__ */ BigInt(32);
|
|
@@ -201,7 +201,7 @@ function keccakP(s, rounds = 24) {
|
|
|
201
201
|
clean(B);
|
|
202
202
|
}
|
|
203
203
|
var _0n, _1n, _2n, _7n, _256n, _0x71n, SHA3_PI, SHA3_ROTL, _SHA3_IOTA, IOTAS, SHA3_IOTA_H, SHA3_IOTA_L, rotlH, rotlL, Keccak, genShake, shake128, shake256;
|
|
204
|
-
var init_sha3 =
|
|
204
|
+
var init_sha3 = chunkZHPMP447_cjs.__esm({
|
|
205
205
|
"../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/sha3.js"() {
|
|
206
206
|
init_u64();
|
|
207
207
|
init_utils();
|
|
@@ -234,18 +234,18 @@ var init_sha3 = chunkHCCQLAA4_cjs.__esm({
|
|
|
234
234
|
Keccak = class _Keccak {
|
|
235
235
|
// NOTE: we accept arguments in bytes instead of bits here.
|
|
236
236
|
constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
237
|
+
chunkZHPMP447_cjs.__publicField(this, "state");
|
|
238
|
+
chunkZHPMP447_cjs.__publicField(this, "pos", 0);
|
|
239
|
+
chunkZHPMP447_cjs.__publicField(this, "posOut", 0);
|
|
240
|
+
chunkZHPMP447_cjs.__publicField(this, "finished", false);
|
|
241
|
+
chunkZHPMP447_cjs.__publicField(this, "state32");
|
|
242
|
+
chunkZHPMP447_cjs.__publicField(this, "destroyed", false);
|
|
243
|
+
chunkZHPMP447_cjs.__publicField(this, "blockLen");
|
|
244
|
+
chunkZHPMP447_cjs.__publicField(this, "suffix");
|
|
245
|
+
chunkZHPMP447_cjs.__publicField(this, "outputLen");
|
|
246
|
+
chunkZHPMP447_cjs.__publicField(this, "canXOF");
|
|
247
|
+
chunkZHPMP447_cjs.__publicField(this, "enableXOF", false);
|
|
248
|
+
chunkZHPMP447_cjs.__publicField(this, "rounds");
|
|
249
249
|
this.blockLen = blockLen;
|
|
250
250
|
this.suffix = suffix;
|
|
251
251
|
this.outputLen = outputLen;
|
|
@@ -396,7 +396,7 @@ function bitReversalInplace(values) {
|
|
|
396
396
|
return values;
|
|
397
397
|
}
|
|
398
398
|
var FFTCore;
|
|
399
|
-
var init_fft =
|
|
399
|
+
var init_fft = chunkZHPMP447_cjs.__esm({
|
|
400
400
|
"../../node_modules/.pnpm/@noble+curves@2.2.0/node_modules/@noble/curves/abstract/fft.js"() {
|
|
401
401
|
FFTCore = (F2, coreOpts) => {
|
|
402
402
|
const { N: N2, roots, dit, invertButterflies = false, skipStages = 0, brp = true } = coreOpts;
|
|
@@ -565,7 +565,7 @@ function getMessagePrehash(hash, msg, ctx = EMPTY) {
|
|
|
565
565
|
return concatBytes(new Uint8Array([1, ctx.length]), ctx, hash.oid, hashed);
|
|
566
566
|
}
|
|
567
567
|
var abytesDoc, randomBytes2, EMPTY, oidNistP;
|
|
568
|
-
var init_utils3 =
|
|
568
|
+
var init_utils3 = chunkZHPMP447_cjs.__esm({
|
|
569
569
|
"../../node_modules/.pnpm/@noble+post-quantum@0.6.1/node_modules/@noble/post-quantum/utils.js"() {
|
|
570
570
|
init_utils();
|
|
571
571
|
abytesDoc = abytes;
|
|
@@ -577,7 +577,7 @@ var init_utils3 = chunkHCCQLAA4_cjs.__esm({
|
|
|
577
577
|
|
|
578
578
|
// ../../node_modules/.pnpm/@noble+post-quantum@0.6.1/node_modules/@noble/post-quantum/_crystals.js
|
|
579
579
|
var genCrystals, createXofShake, XOF128, XOF256;
|
|
580
|
-
var init_crystals =
|
|
580
|
+
var init_crystals = chunkZHPMP447_cjs.__esm({
|
|
581
581
|
"../../node_modules/.pnpm/@noble+post-quantum@0.6.1/node_modules/@noble/post-quantum/_crystals.js"() {
|
|
582
582
|
init_fft();
|
|
583
583
|
init_sha3();
|
|
@@ -1126,7 +1126,7 @@ function getDilithium(opts_) {
|
|
|
1126
1126
|
});
|
|
1127
1127
|
}
|
|
1128
1128
|
var N, Q, ROOT_OF_UNITY, F, D, GAMMA2_1, GAMMA2_2; exports.PARAMS = void 0; var newPoly, crystals, id, polyCoder, polyAdd, polySub, polyShiftl, polyChknorm, MultiplyNTTs; exports.ml_dsa44 = void 0; exports.ml_dsa65 = void 0; exports.ml_dsa87 = void 0;
|
|
1129
|
-
var init_ml_dsa =
|
|
1129
|
+
var init_ml_dsa = chunkZHPMP447_cjs.__esm({
|
|
1130
1130
|
"../../node_modules/.pnpm/@noble+post-quantum@0.6.1/node_modules/@noble/post-quantum/ml-dsa.js"() {
|
|
1131
1131
|
init_utils2();
|
|
1132
1132
|
init_sha3();
|
|
@@ -1261,5 +1261,5 @@ init_ml_dsa();
|
|
|
1261
1261
|
@noble/post-quantum/ml-dsa.js:
|
|
1262
1262
|
(*! noble-post-quantum - MIT License (c) 2024 Paul Miller (paulmillr.com) *)
|
|
1263
1263
|
*/
|
|
1264
|
-
//# sourceMappingURL=ml-dsa-
|
|
1265
|
-
//# sourceMappingURL=ml-dsa-
|
|
1264
|
+
//# sourceMappingURL=ml-dsa-MTIK4ZUQ.cjs.map
|
|
1265
|
+
//# sourceMappingURL=ml-dsa-MTIK4ZUQ.cjs.map
|