@holoscript/core 8.0.6 → 8.0.8
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/README.md +34 -34
- package/bin/holoscript.cjs +1 -1
- package/dist/GLTFPipeline-3EJLL3TS.cjs +38 -0
- package/dist/GLTFPipeline-3OWJV2VK.js +17 -0
- package/dist/{HoloScriptPlusParser-A2W7OCN2.cjs → HoloScriptPlusParser-ADWRY5OS.cjs} +15 -15
- package/dist/{HoloScriptPlusParser-7FBIFUFC.js → HoloScriptPlusParser-JLJDXHSC.js} +4 -4
- package/dist/HoloScriptPlusParser-QCGFPWIL.cjs +27 -0
- package/dist/{HoloScriptPlusParser-F2Z56FJR.js → HoloScriptPlusParser-WENAFEFV.js} +5 -5
- package/dist/HoloScriptRuntime-GGRVEU4T.cjs +19 -0
- package/dist/HoloScriptRuntime-GJK6VJPH.js +10 -0
- package/dist/{USDZExporter-3FWJ25JI.cjs → USDZExporter-AUHZODOF.cjs} +15 -4
- package/dist/{USDZExporter-D2HQLQYK.js → USDZExporter-GXB4AUSG.js} +15 -4
- package/dist/{chunk-2GQHTXOK.js → chunk-22Q5A6RV.js} +3 -3
- package/dist/{chunk-XHZCF3AS.cjs → chunk-2BZHWUSR.cjs} +27 -15
- package/dist/{chunk-XJAN7CZG.cjs → chunk-2GCNOI2U.cjs} +2 -2
- package/dist/{chunk-DBPGNHFS.js → chunk-2OWDB4FB.js} +13 -25
- package/dist/{chunk-N75IH2HY.js → chunk-2Y3V22SG.js} +5 -14
- package/dist/{chunk-MXFUTKCO.js → chunk-33YHE7HX.js} +3 -7
- package/dist/{chunk-RCZHLCX2.js → chunk-3GWWJT7L.js} +4 -4
- package/dist/{chunk-EK7L4DW7.js → chunk-3NGDZZR4.js} +4 -4
- package/dist/{chunk-WRLUBRKS.cjs → chunk-3SKLAUDD.cjs} +2 -2
- package/dist/{chunk-KKFZ3B6J.cjs → chunk-3VBO3IYQ.cjs} +2 -2
- package/dist/{chunk-YF2I3MV3.js → chunk-47RUFYKR.js} +2 -2
- package/dist/{chunk-VHAONJBY.js → chunk-4JGRWHZJ.js} +7 -5
- package/dist/{chunk-2J5WZLF5.cjs → chunk-4W5G5QVL.cjs} +26 -26
- package/dist/{chunk-GQHQOPXZ.cjs → chunk-4YNYPHH3.cjs} +186 -17
- package/dist/{chunk-H5PUZHJV.cjs → chunk-56VOWURB.cjs} +61 -40
- package/dist/{chunk-DQRQZB33.cjs → chunk-5A4TCHOC.cjs} +3 -3
- package/dist/{chunk-M56JSP4A.js → chunk-5EDVCNRT.js} +2 -2
- package/dist/{chunk-YU5RJQPE.js → chunk-5ET6L4NS.js} +3 -3
- package/dist/{chunk-A3GFOZAF.cjs → chunk-63ZGNR2T.cjs} +43 -39
- package/dist/{chunk-NG77ATEW.cjs → chunk-6PRZIHGL.cjs} +6 -6
- package/dist/{chunk-OXGPGQXN.cjs → chunk-7DMMMBCY.cjs} +7 -7
- package/dist/{chunk-FHP6LXJS.js → chunk-7E7GCQCK.js} +2 -2
- package/dist/{chunk-P4AIF7OQ.js → chunk-7VMGP2FW.js} +44 -28
- package/dist/{chunk-7MVLEZB2.js → chunk-7X5PNIQJ.js} +3 -3
- package/dist/{chunk-X7QB5PL5.cjs → chunk-7ZHYEITD.cjs} +11 -11
- package/dist/{chunk-KPJL34Y7.cjs → chunk-ACVWFGBI.cjs} +2 -2
- package/dist/{chunk-QWSB553J.cjs → chunk-AWB7QYY6.cjs} +6 -6
- package/dist/{chunk-VATGR4EM.js → chunk-B4EKV6HQ.js} +61 -40
- package/dist/{chunk-HBEN5TQR.js → chunk-BRNUPDHJ.js} +5 -5
- package/dist/{chunk-F63LYRVE.js → chunk-BTKZGHAV.js} +23 -11
- package/dist/{chunk-YTR32ZEB.cjs → chunk-C4GSLCHE.cjs} +300 -125
- package/dist/{chunk-CXS3DUKD.js → chunk-C7ZBSV2Q.js} +3 -3
- package/dist/{chunk-WOH6LKYT.cjs → chunk-CCPSNT6B.cjs} +12 -7
- package/dist/{chunk-NW5G5FBQ.js → chunk-DD2JQ7TS.js} +4 -3
- package/dist/{chunk-JD7CIZ33.js → chunk-DUCB6LGL.js} +8 -10
- package/dist/{chunk-D63CGNJU.js → chunk-DY72BMU5.js} +3 -3
- package/dist/{chunk-AIA52I7T.cjs → chunk-EBS32AJI.cjs} +6 -4
- package/dist/{chunk-DCE3LDO3.cjs → chunk-EDPYCLRC.cjs} +52 -62
- package/dist/{chunk-NDUX553L.js → chunk-F2G6CWFT.js} +240 -65
- package/dist/{chunk-X7LYK5TX.cjs → chunk-F5LKJ6F5.cjs} +43 -31
- package/dist/{chunk-LAUFLPB6.js → chunk-FGMDMJM7.js} +10 -5
- package/dist/{chunk-P52PPB5R.js → chunk-FHQFPYV4.js} +4 -4
- package/dist/{chunk-YIMN575O.js → chunk-FNHJRI32.js} +8 -5
- package/dist/{chunk-EXUP2BUM.cjs → chunk-FT6TDR2O.cjs} +27 -27
- package/dist/{chunk-BRQJKJGT.cjs → chunk-FWVYAMNW.cjs} +4 -4
- package/dist/{chunk-PGANYCAG.cjs → chunk-G25QVBA5.cjs} +4 -3
- package/dist/{chunk-5BLWXOIP.cjs → chunk-G6PNEASF.cjs} +13 -13
- package/dist/{chunk-2BSMSUCE.js → chunk-GASCWJK5.js} +2 -2
- package/dist/{chunk-2VL6SJ33.cjs → chunk-GH6C2QGW.cjs} +12 -21
- package/dist/{chunk-JEB5UU3E.js → chunk-GSOUNWEL.js} +35 -27
- package/dist/{chunk-QPOQ7VPI.js → chunk-GTA4Q3A3.js} +2 -2
- package/dist/{chunk-JIYN45TV.cjs → chunk-GVFJ6T4S.cjs} +3 -7
- package/dist/{chunk-IVY74O6C.js → chunk-GVOKJNUN.js} +50 -11
- package/dist/{chunk-GZG4KA4E.js → chunk-GW3LKD5C.js} +6 -4
- package/dist/{chunk-IBXT6UP3.cjs → chunk-HFSVMKM3.cjs} +14 -14
- package/dist/{chunk-E767PVC6.cjs → chunk-HLFDZ35S.cjs} +5 -5
- package/dist/{chunk-ZXZ2AL2J.cjs → chunk-I76GIKN7.cjs} +20 -16
- package/dist/{chunk-4FDL7JLJ.cjs → chunk-KAIVDEIG.cjs} +145 -60
- package/dist/{chunk-X4EBCG4K.js → chunk-KCPHASCO.js} +18 -6
- package/dist/{chunk-T5J7ZKP3.cjs → chunk-KOUAQL2B.cjs} +16 -13
- package/dist/{chunk-GMP623FG.cjs → chunk-KQU64CIX.cjs} +2 -2
- package/dist/{chunk-4DO425P5.js → chunk-L5U4W6JC.js} +4 -4
- package/dist/{chunk-HBLKLLG5.cjs → chunk-LMJ5EBV7.cjs} +10 -10
- package/dist/{chunk-QWAR3GY6.cjs → chunk-LODTHGST.cjs} +8 -8
- package/dist/{chunk-TFUMBR7G.cjs → chunk-LPS5AMQD.cjs} +8 -8
- package/dist/{chunk-ISG3TQ2O.js → chunk-LWUOUCYL.js} +9 -5
- package/dist/{chunk-6CTRH7HT.cjs → chunk-LYJJI7ZK.cjs} +12 -14
- package/dist/{chunk-GTU2Z2WW.cjs → chunk-M7K4LE66.cjs} +5 -14
- package/dist/{chunk-URG2SJLK.js → chunk-MDR235RZ.js} +3 -7
- package/dist/{chunk-ULXWSPCK.js → chunk-MSYSQ2AJ.js} +101 -16
- package/dist/{chunk-TCBJMNXS.cjs → chunk-NGBXXZLL.cjs} +50 -62
- package/dist/{chunk-RXU4PQKA.js → chunk-NHJLP37F.js} +6 -6
- package/dist/{chunk-NTGBEMYL.cjs → chunk-NHYRRAGI.cjs} +5 -5
- package/dist/{chunk-YG3OAHJZ.cjs → chunk-O3MGZDCT.cjs} +89 -52
- package/dist/{chunk-GIOYPNTH.js → chunk-OABEO6HH.js} +185 -16
- package/dist/{chunk-N5YOAFNA.cjs → chunk-OS533P33.cjs} +37 -29
- package/dist/{chunk-IIUFMUTV.js → chunk-PABONWKI.js} +24 -11
- package/dist/{chunk-5BQIJG3O.js → chunk-PXNZ6TME.js} +47 -57
- package/dist/{chunk-KDZRD6EI.js → chunk-Q2Q34NF3.js} +63 -26
- package/dist/{chunk-IS4AEGLU.js → chunk-QBWNJXNR.js} +10 -6
- package/dist/{chunk-5IHG2LGT.js → chunk-QFU53KRH.js} +4 -4
- package/dist/{chunk-NTJZJ5IP.cjs → chunk-QGMUTVVH.cjs} +17 -17
- package/dist/{chunk-MYY4PMWX.cjs → chunk-RUVBFAF7.cjs} +50 -11
- package/dist/{chunk-E64LOLJU.js → chunk-S762UEV5.js} +5 -5
- package/dist/{chunk-3SBVODUP.cjs → chunk-SH5PPVK7.cjs} +61 -45
- package/dist/{chunk-LY4DMQOW.cjs → chunk-SKZPC5AG.cjs} +5 -5
- package/dist/{chunk-TJHVSBP2.js → chunk-SLHLXUMO.js} +10 -4
- package/dist/{chunk-S6OVFUXD.js → chunk-SSSN7VAM.js} +3 -3
- package/dist/{chunk-K5UGRXKR.js → chunk-SXOSDZD6.js} +6 -6
- package/dist/{chunk-J32ZJZJH.js → chunk-SYTRBGDS.js} +2 -2
- package/dist/{chunk-CIWWXYHZ.cjs → chunk-T6W3Z3SH.cjs} +2 -2
- package/dist/{chunk-U36W76U7.js → chunk-TEVX443G.js} +44 -51
- package/dist/{chunk-6DOKCECB.cjs → chunk-TQ377OLB.cjs} +23 -21
- package/dist/{chunk-YAPPQYJH.cjs → chunk-TRCGG42I.cjs} +195 -152
- package/dist/{chunk-H652NHX5.js → chunk-TVANHNJ7.js} +30 -23
- package/dist/{chunk-EKBKLK7P.js → chunk-UDE4OZMR.js} +3 -3
- package/dist/{chunk-3OIZJNVT.cjs → chunk-UGXHYIWT.cjs} +5 -5
- package/dist/{chunk-44GM3P4G.cjs → chunk-ULMSSHCJ.cjs} +21 -21
- package/dist/{chunk-3B5NVDHJ.cjs → chunk-UOL6Y5TD.cjs} +18 -18
- package/dist/{chunk-5S7RKFGR.cjs → chunk-UVFI7XIR.cjs} +10 -4
- package/dist/{chunk-5TIZXMED.cjs → chunk-V7AKE5VT.cjs} +10 -10
- package/dist/{chunk-3B7AY37W.js → chunk-VEPGBETF.js} +6 -6
- package/dist/{chunk-BKCK3IU6.js → chunk-VF257YKO.js} +4 -4
- package/dist/{chunk-4N4SXXWF.js → chunk-VSACG2AR.js} +3 -3
- package/dist/{chunk-ZDSYWBIE.cjs → chunk-VW5CRJBE.cjs} +3 -7
- package/dist/{chunk-PVWNU4QT.cjs → chunk-WFKVS2K4.cjs} +64 -26
- package/dist/{chunk-TDCJ7YPA.js → chunk-WXQ57LAO.js} +3 -3
- package/dist/{chunk-NE5CZ2NC.cjs → chunk-X27QRG4C.cjs} +38 -38
- package/dist/{chunk-TVHSPJ4N.cjs → chunk-X2AVEAZM.cjs} +30 -23
- package/dist/{chunk-C34AJIJO.js → chunk-XQ5MWMP2.js} +4 -4
- package/dist/{chunk-TFWYKOOB.cjs → chunk-XW6IXEQH.cjs} +26 -13
- package/dist/{chunk-YIVFJNYV.js → chunk-Y3ZFVUUU.js} +2 -2
- package/dist/{chunk-TJIMBJ6L.cjs → chunk-Y57W2CT5.cjs} +2 -2
- package/dist/{chunk-BFROVZOF.cjs → chunk-YCM6QQRT.cjs} +46 -53
- package/dist/{chunk-MBOOR7X4.js → chunk-YFVQWSNJ.js} +3 -3
- package/dist/{chunk-ISM4NX6N.js → chunk-YFWRJW4B.js} +2 -2
- package/dist/{chunk-6OTFG3EB.js → chunk-YN6IETRZ.js} +179 -136
- package/dist/{chunk-NPDNFPTU.js → chunk-YRRAUB35.js} +4 -4
- package/dist/{chunk-GCYR3D2K.js → chunk-Z6PMDS4G.js} +61 -23
- package/dist/{chunk-DPZXVDGM.js → chunk-ZA34AN3R.js} +8 -17
- package/dist/{chunk-EKYL4PE3.cjs → chunk-ZLF4YF3U.cjs} +2 -2
- package/dist/{chunk-VFKXK4GR.cjs → chunk-ZPZAVHXL.cjs} +20 -20
- package/dist/cli/holoscript-runner.cjs +39 -22
- package/dist/cli/holoscript-runner.js +32 -15
- package/dist/compiler/GasOptimizationAnalyzer.d.ts +73 -0
- package/dist/compiler/NFTMarketplaceCompiler.d.ts +23 -0
- package/dist/compiler/agent-inference.cjs +7 -7
- package/dist/compiler/agent-inference.js +3 -3
- package/dist/compiler/android-xr.cjs +8 -8
- package/dist/compiler/android-xr.js +6 -6
- package/dist/compiler/android.cjs +6 -6
- package/dist/compiler/android.js +4 -4
- package/dist/compiler/ar.cjs +6 -6
- package/dist/compiler/ar.js +4 -4
- package/dist/compiler/babylon.cjs +8 -8
- package/dist/compiler/babylon.js +7 -7
- package/dist/compiler/business-quest.cjs +9 -9
- package/dist/compiler/business-quest.js +1 -1
- package/dist/compiler/context.cjs +6 -6
- package/dist/compiler/context.js +3 -3
- package/dist/compiler/domain-block-utils.cjs +153 -153
- package/dist/compiler/domain-block-utils.js +4 -4
- package/dist/compiler/dtdl.cjs +7 -7
- package/dist/compiler/dtdl.js +4 -4
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/godot.cjs +6 -6
- package/dist/compiler/godot.js +5 -5
- package/dist/compiler/incremental.cjs +8 -8
- package/dist/compiler/incremental.js +3 -3
- package/dist/compiler/index.cjs +347 -362
- package/dist/compiler/index.d.ts +20 -0
- package/dist/compiler/index.js +200 -215
- package/dist/compiler/ios.cjs +6 -6
- package/dist/compiler/ios.js +4 -4
- package/dist/compiler/llm-provider-capabilities.cjs +6 -6
- package/dist/compiler/llm-provider-capabilities.js +3 -3
- package/dist/compiler/multi-layer.cjs +10 -10
- package/dist/compiler/multi-layer.js +9 -9
- package/dist/compiler/openxr.cjs +7 -7
- package/dist/compiler/openxr.js +6 -6
- package/dist/compiler/playcanvas.cjs +6 -6
- package/dist/compiler/playcanvas.js +5 -5
- package/dist/compiler/r3f.cjs +13 -13
- package/dist/compiler/r3f.js +8 -8
- package/dist/compiler/sdf.cjs +7 -7
- package/dist/compiler/sdf.js +5 -5
- package/dist/compiler/state.cjs +6 -6
- package/dist/compiler/state.js +4 -4
- package/dist/compiler/trait-composition.cjs +8 -8
- package/dist/compiler/trait-composition.js +4 -4
- package/dist/compiler/unity.cjs +7 -7
- package/dist/compiler/unity.js +6 -6
- package/dist/compiler/unreal.cjs +8 -8
- package/dist/compiler/unreal.js +6 -6
- package/dist/compiler/urdf.cjs +14 -14
- package/dist/compiler/urdf.js +5 -5
- package/dist/compiler/usd-physics.cjs +7 -7
- package/dist/compiler/usd-physics.js +4 -4
- package/dist/compiler/visionos.cjs +7 -7
- package/dist/compiler/visionos.js +6 -6
- package/dist/compiler/vrchat.cjs +7 -7
- package/dist/compiler/vrchat.js +5 -5
- package/dist/compiler/vrr.cjs +7 -7
- package/dist/compiler/vrr.js +5 -5
- package/dist/compiler/wasm.cjs +10 -10
- package/dist/compiler/wasm.js +5 -5
- package/dist/compiler/webgpu.cjs +6 -6
- package/dist/compiler/webgpu.js +5 -5
- package/dist/coordinators/index.cjs +27 -10
- package/dist/coordinators/index.js +27 -10
- package/dist/debugger.cjs +6 -6
- package/dist/debugger.js +4 -4
- package/dist/entries/scripting.cjs +6 -6
- package/dist/entries/scripting.js +2 -2
- package/dist/hololand/index.cjs +36 -36
- package/dist/hololand/index.js +2 -2
- package/dist/index.cjs +1056 -796
- package/dist/index.js +440 -180
- package/dist/math/tropical-spmv.cjs +10 -10
- package/dist/math/tropical-spmv.js +1 -1
- package/dist/math/vec3.cjs +13 -13
- package/dist/math/vec3.js +1 -1
- package/dist/parser/NFTMarketplaceTypes.d.ts +191 -0
- package/dist/parser.cjs +16 -16
- package/dist/parser.js +5 -5
- package/dist/reconstruction/index.cjs +37 -37
- package/dist/reconstruction/index.js +4 -4
- package/dist/runtime.cjs +274 -76
- package/dist/runtime.d.ts +10 -1
- package/dist/runtime.js +268 -70
- package/dist/self-improvement/index.cjs +12 -4
- package/dist/self-improvement/index.js +12 -4
- package/dist/{src-HCCCSYP7.js → src-J6CM4AUR.js} +91 -33
- package/dist/{src-4ROC227P.cjs → src-PT2FERDV.cjs} +93 -35
- package/dist/testing.cjs +5 -5
- package/dist/testing.js +1 -1
- package/dist/traits/botanical-lotus.cjs +49 -49
- package/dist/traits/botanical-lotus.js +2 -2
- package/dist/traits/engines/index.cjs +39 -39
- package/dist/traits/engines/index.d.ts +279 -0
- package/dist/traits/engines/index.js +4 -4
- package/dist/traits/index.cjs +881 -773
- package/dist/traits/index.js +366 -258
- package/dist/world/index.cjs +21 -18
- package/dist/world/index.js +21 -18
- package/dist/world-model/index.cjs +11 -5
- package/dist/world-model/index.d.ts +8 -0
- package/dist/world-model/index.js +11 -5
- package/package.json +74 -68
- package/LICENSE +0 -21
- package/dist/GLTFPipeline-PVLTKDBD.cjs +0 -38
- package/dist/GLTFPipeline-QPI4I7DL.js +0 -17
- package/dist/HoloScriptPlusParser-WKHRIH6T.cjs +0 -27
- package/dist/HoloScriptRuntime-6ZGLUCFS.js +0 -10
- package/dist/HoloScriptRuntime-ALUASIL2.cjs +0 -19
package/dist/runtime.js
CHANGED
|
@@ -1,89 +1,287 @@
|
|
|
1
|
-
export { HoloScriptDebugger, createDebugger } from './chunk-
|
|
2
|
-
export { HoloScriptAgentRuntime, HoloScriptRuntime, TRAIT_OWNER_KEY, registerPluginTraits } from './chunk-
|
|
1
|
+
export { HoloScriptDebugger, createDebugger } from './chunk-L5U4W6JC.js';
|
|
2
|
+
export { HoloScriptAgentRuntime, HoloScriptRuntime, TRAIT_OWNER_KEY, registerPluginTraits } from './chunk-PXNZ6TME.js';
|
|
3
3
|
import './chunk-XL6INWKT.js';
|
|
4
4
|
import { lazyPeerSymbol } from './chunk-IELX2OKI.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-MDR235RZ.js';
|
|
6
|
+
import './chunk-TVANHNJ7.js';
|
|
7
7
|
import './chunk-PHENW4MQ.js';
|
|
8
8
|
import './chunk-VVKVQZI6.js';
|
|
9
9
|
import './chunk-OL46QLBJ.js';
|
|
10
10
|
|
|
11
11
|
// src/runtime.ts
|
|
12
12
|
var FW_AI = "@holoscript/framework/ai";
|
|
13
|
-
var BehaviorTree = lazyPeerSymbol(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var
|
|
13
|
+
var BehaviorTree = lazyPeerSymbol(
|
|
14
|
+
FW_AI,
|
|
15
|
+
"BehaviorTree"
|
|
16
|
+
);
|
|
17
|
+
var BTNode = lazyPeerSymbol(
|
|
18
|
+
FW_AI,
|
|
19
|
+
"BTNode"
|
|
20
|
+
);
|
|
21
|
+
var SequenceNode = lazyPeerSymbol(
|
|
22
|
+
FW_AI,
|
|
23
|
+
"SequenceNode"
|
|
24
|
+
);
|
|
25
|
+
var SelectorNode = lazyPeerSymbol(
|
|
26
|
+
FW_AI,
|
|
27
|
+
"SelectorNode"
|
|
28
|
+
);
|
|
29
|
+
var ParallelNode = lazyPeerSymbol(
|
|
30
|
+
FW_AI,
|
|
31
|
+
"ParallelNode"
|
|
32
|
+
);
|
|
33
|
+
var InverterNode = lazyPeerSymbol(
|
|
34
|
+
FW_AI,
|
|
35
|
+
"InverterNode"
|
|
36
|
+
);
|
|
37
|
+
var RepeaterNode = lazyPeerSymbol(
|
|
38
|
+
FW_AI,
|
|
39
|
+
"RepeaterNode"
|
|
40
|
+
);
|
|
41
|
+
var GuardNode = lazyPeerSymbol(
|
|
42
|
+
FW_AI,
|
|
43
|
+
"GuardNode"
|
|
44
|
+
);
|
|
45
|
+
var ActionNode = lazyPeerSymbol(
|
|
46
|
+
FW_AI,
|
|
47
|
+
"ActionNode"
|
|
48
|
+
);
|
|
49
|
+
var ConditionNode = lazyPeerSymbol(
|
|
50
|
+
FW_AI,
|
|
51
|
+
"ConditionNode"
|
|
52
|
+
);
|
|
53
|
+
var WaitNode = lazyPeerSymbol(
|
|
54
|
+
FW_AI,
|
|
55
|
+
"WaitNode"
|
|
56
|
+
);
|
|
57
|
+
var Blackboard = lazyPeerSymbol(
|
|
58
|
+
FW_AI,
|
|
59
|
+
"Blackboard"
|
|
60
|
+
);
|
|
61
|
+
var StateMachine = lazyPeerSymbol(
|
|
62
|
+
FW_AI,
|
|
63
|
+
"StateMachine"
|
|
64
|
+
);
|
|
26
65
|
var FW_AGENTS = "@holoscript/framework/agents";
|
|
27
|
-
var CulturalMemory = lazyPeerSymbol(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
var
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
var
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
66
|
+
var CulturalMemory = lazyPeerSymbol(
|
|
67
|
+
FW_AGENTS,
|
|
68
|
+
"CulturalMemory"
|
|
69
|
+
);
|
|
70
|
+
var NormEngine = lazyPeerSymbol(
|
|
71
|
+
FW_AGENTS,
|
|
72
|
+
"NormEngine"
|
|
73
|
+
);
|
|
74
|
+
var negotiateHandoff = lazyPeerSymbol(
|
|
75
|
+
FW_AGENTS,
|
|
76
|
+
"negotiateHandoff"
|
|
77
|
+
);
|
|
78
|
+
var createMVCPayload = lazyPeerSymbol(
|
|
79
|
+
FW_AGENTS,
|
|
80
|
+
"createMVCPayload"
|
|
81
|
+
);
|
|
82
|
+
var estimatePayloadSize = lazyPeerSymbol(
|
|
83
|
+
FW_AGENTS,
|
|
84
|
+
"estimatePayloadSize"
|
|
85
|
+
);
|
|
86
|
+
var validatePayloadBudget = lazyPeerSymbol(
|
|
87
|
+
FW_AGENTS,
|
|
88
|
+
"validatePayloadBudget"
|
|
89
|
+
);
|
|
90
|
+
var signOperation = lazyPeerSymbol(
|
|
91
|
+
FW_AGENTS,
|
|
92
|
+
"signOperation"
|
|
93
|
+
);
|
|
94
|
+
var verifyOperation = lazyPeerSymbol(
|
|
95
|
+
FW_AGENTS,
|
|
96
|
+
"verifyOperation"
|
|
97
|
+
);
|
|
98
|
+
var LWWRegister = lazyPeerSymbol(
|
|
99
|
+
FW_AGENTS,
|
|
100
|
+
"LWWRegister"
|
|
101
|
+
);
|
|
102
|
+
var GCounter = lazyPeerSymbol(
|
|
103
|
+
FW_AGENTS,
|
|
104
|
+
"GCounter"
|
|
105
|
+
);
|
|
106
|
+
var ORSet = lazyPeerSymbol(
|
|
107
|
+
FW_AGENTS,
|
|
108
|
+
"ORSet"
|
|
109
|
+
);
|
|
110
|
+
var createAgentState = lazyPeerSymbol(
|
|
111
|
+
FW_AGENTS,
|
|
112
|
+
"createAgentState"
|
|
113
|
+
);
|
|
114
|
+
var setRegister = lazyPeerSymbol(
|
|
115
|
+
FW_AGENTS,
|
|
116
|
+
"setRegister"
|
|
117
|
+
);
|
|
118
|
+
var getRegister = lazyPeerSymbol(
|
|
119
|
+
FW_AGENTS,
|
|
120
|
+
"getRegister"
|
|
121
|
+
);
|
|
122
|
+
var incrementCounter = lazyPeerSymbol(
|
|
123
|
+
FW_AGENTS,
|
|
124
|
+
"incrementCounter"
|
|
125
|
+
);
|
|
126
|
+
var getCounter = lazyPeerSymbol(
|
|
127
|
+
FW_AGENTS,
|
|
128
|
+
"getCounter"
|
|
129
|
+
);
|
|
130
|
+
var mergeStates = lazyPeerSymbol(
|
|
131
|
+
FW_AGENTS,
|
|
132
|
+
"mergeStates"
|
|
133
|
+
);
|
|
134
|
+
var AgentRegistry = lazyPeerSymbol(
|
|
135
|
+
FW_AGENTS,
|
|
136
|
+
"AgentRegistry"
|
|
137
|
+
);
|
|
138
|
+
var getDefaultRegistry = lazyPeerSymbol(
|
|
139
|
+
FW_AGENTS,
|
|
140
|
+
"getDefaultRegistry"
|
|
141
|
+
);
|
|
142
|
+
var resetDefaultRegistry = lazyPeerSymbol(
|
|
143
|
+
FW_AGENTS,
|
|
144
|
+
"resetDefaultRegistry"
|
|
145
|
+
);
|
|
47
146
|
var FW_SWARM = "@holoscript/framework/swarm";
|
|
48
|
-
var SwarmCoordinator = lazyPeerSymbol(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
var
|
|
53
|
-
|
|
54
|
-
|
|
147
|
+
var SwarmCoordinator = lazyPeerSymbol(
|
|
148
|
+
FW_SWARM,
|
|
149
|
+
"SwarmCoordinator"
|
|
150
|
+
);
|
|
151
|
+
var LeaderElection = lazyPeerSymbol(
|
|
152
|
+
FW_SWARM,
|
|
153
|
+
"LeaderElection"
|
|
154
|
+
);
|
|
155
|
+
var CollectiveIntelligence = lazyPeerSymbol(
|
|
156
|
+
FW_SWARM,
|
|
157
|
+
"CollectiveIntelligence"
|
|
158
|
+
);
|
|
159
|
+
var SwarmManager = lazyPeerSymbol(
|
|
160
|
+
FW_SWARM,
|
|
161
|
+
"SwarmManager"
|
|
162
|
+
);
|
|
163
|
+
var SwarmMembership = lazyPeerSymbol(
|
|
164
|
+
FW_SWARM,
|
|
165
|
+
"SwarmMembership"
|
|
166
|
+
);
|
|
167
|
+
var SwarmMetrics = lazyPeerSymbol(
|
|
168
|
+
FW_SWARM,
|
|
169
|
+
"SwarmMetrics"
|
|
170
|
+
);
|
|
171
|
+
var SwarmInspector = lazyPeerSymbol(
|
|
172
|
+
FW_SWARM,
|
|
173
|
+
"SwarmInspector"
|
|
174
|
+
);
|
|
55
175
|
var FW_TRAINING = "@holoscript/framework/training";
|
|
56
|
-
var SparsityMonitor = lazyPeerSymbol(
|
|
57
|
-
|
|
176
|
+
var SparsityMonitor = lazyPeerSymbol(
|
|
177
|
+
FW_TRAINING,
|
|
178
|
+
"SparsityMonitor"
|
|
179
|
+
);
|
|
180
|
+
var createSparsityMonitor = lazyPeerSymbol(
|
|
181
|
+
FW_TRAINING,
|
|
182
|
+
"createSparsityMonitor"
|
|
183
|
+
);
|
|
58
184
|
var E_DIALOGUE = "@holoscript/engine/dialogue";
|
|
59
|
-
var DialogueGraph = lazyPeerSymbol(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
var
|
|
185
|
+
var DialogueGraph = lazyPeerSymbol(
|
|
186
|
+
E_DIALOGUE,
|
|
187
|
+
"DialogueGraph"
|
|
188
|
+
);
|
|
189
|
+
var DialogueRunner = lazyPeerSymbol(
|
|
190
|
+
E_DIALOGUE,
|
|
191
|
+
"DialogueRunner"
|
|
192
|
+
);
|
|
193
|
+
var CameraController = lazyPeerSymbol(
|
|
194
|
+
"@holoscript/engine/camera",
|
|
195
|
+
"CameraController"
|
|
196
|
+
);
|
|
197
|
+
var InventorySystem = lazyPeerSymbol(
|
|
198
|
+
"@holoscript/engine/gameplay",
|
|
199
|
+
"InventorySystem"
|
|
200
|
+
);
|
|
201
|
+
var TerrainSystem = lazyPeerSymbol(
|
|
202
|
+
"@holoscript/engine/environment",
|
|
203
|
+
"TerrainSystem"
|
|
204
|
+
);
|
|
64
205
|
var E_RENDERING = "@holoscript/engine/rendering";
|
|
65
|
-
var LightingModel = lazyPeerSymbol(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
206
|
+
var LightingModel = lazyPeerSymbol(
|
|
207
|
+
E_RENDERING,
|
|
208
|
+
"LightingModel"
|
|
209
|
+
);
|
|
210
|
+
var ShaderGraph = lazyPeerSymbol(
|
|
211
|
+
E_RENDERING,
|
|
212
|
+
"ShaderGraph"
|
|
213
|
+
);
|
|
214
|
+
var SHADER_NODES = lazyPeerSymbol(
|
|
215
|
+
E_RENDERING,
|
|
216
|
+
"SHADER_NODES"
|
|
217
|
+
);
|
|
218
|
+
var CombatManager = lazyPeerSymbol(
|
|
219
|
+
"@holoscript/engine/combat",
|
|
220
|
+
"CombatManager"
|
|
221
|
+
);
|
|
69
222
|
var E_NAV = "@holoscript/engine/navigation";
|
|
70
|
-
var AStarPathfinder = lazyPeerSymbol(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
var
|
|
75
|
-
|
|
76
|
-
|
|
223
|
+
var AStarPathfinder = lazyPeerSymbol(
|
|
224
|
+
E_NAV,
|
|
225
|
+
"AStarPathfinder"
|
|
226
|
+
);
|
|
227
|
+
var NavMesh = lazyPeerSymbol(
|
|
228
|
+
E_NAV,
|
|
229
|
+
"NavMesh"
|
|
230
|
+
);
|
|
231
|
+
var ParticleSystem = lazyPeerSymbol(
|
|
232
|
+
"@holoscript/engine/particles",
|
|
233
|
+
"ParticleSystem"
|
|
234
|
+
);
|
|
235
|
+
var LODManager = lazyPeerSymbol(
|
|
236
|
+
"@holoscript/engine/world",
|
|
237
|
+
"LODManager"
|
|
238
|
+
);
|
|
239
|
+
var InputManager = lazyPeerSymbol(
|
|
240
|
+
"@holoscript/engine/input",
|
|
241
|
+
"InputManager"
|
|
242
|
+
);
|
|
243
|
+
var CultureRuntime = lazyPeerSymbol(
|
|
244
|
+
"@holoscript/engine/runtime",
|
|
245
|
+
"CultureRuntime"
|
|
246
|
+
);
|
|
247
|
+
var GaussianSplatExtractor = lazyPeerSymbol(
|
|
248
|
+
"@holoscript/engine/gpu",
|
|
249
|
+
"GaussianSplatExtractor"
|
|
250
|
+
);
|
|
77
251
|
var E_CHOREO = "@holoscript/engine/choreography";
|
|
78
|
-
var ChoreographyEngine = lazyPeerSymbol(
|
|
79
|
-
|
|
80
|
-
|
|
252
|
+
var ChoreographyEngine = lazyPeerSymbol(
|
|
253
|
+
E_CHOREO,
|
|
254
|
+
"ChoreographyEngine"
|
|
255
|
+
);
|
|
256
|
+
var getDefaultEngine = lazyPeerSymbol(
|
|
257
|
+
E_CHOREO,
|
|
258
|
+
"getDefaultEngine"
|
|
259
|
+
);
|
|
260
|
+
var resetDefaultEngine = lazyPeerSymbol(
|
|
261
|
+
E_CHOREO,
|
|
262
|
+
"resetDefaultEngine"
|
|
263
|
+
);
|
|
81
264
|
var MESH = "@holoscript/mesh";
|
|
82
|
-
var CollaborationSession = lazyPeerSymbol(
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
var
|
|
265
|
+
var CollaborationSession = lazyPeerSymbol(
|
|
266
|
+
MESH,
|
|
267
|
+
"CollaborationSession"
|
|
268
|
+
);
|
|
269
|
+
var NetworkManager = lazyPeerSymbol(
|
|
270
|
+
MESH,
|
|
271
|
+
"NetworkManager"
|
|
272
|
+
);
|
|
273
|
+
var WebRTCTransport = lazyPeerSymbol(
|
|
274
|
+
MESH,
|
|
275
|
+
"WebRTCTransport"
|
|
276
|
+
);
|
|
277
|
+
var ConsensusManager = lazyPeerSymbol(
|
|
278
|
+
"@holoscript/mesh/consensus",
|
|
279
|
+
"ConsensusManager"
|
|
280
|
+
);
|
|
281
|
+
var AgentMessaging = lazyPeerSymbol(
|
|
282
|
+
"@holoscript/mesh/messaging",
|
|
283
|
+
"AgentMessaging"
|
|
284
|
+
);
|
|
87
285
|
|
|
88
286
|
export { AStarPathfinder, ActionNode, AgentMessaging, AgentRegistry, BTNode, BehaviorTree, Blackboard, CameraController, ChoreographyEngine, CollaborationSession, CollectiveIntelligence, CombatManager, ConditionNode, ConsensusManager, CulturalMemory, CultureRuntime, DialogueGraph, DialogueRunner, GCounter, GaussianSplatExtractor, GuardNode, InputManager, InventorySystem, InverterNode, LODManager, LWWRegister, LeaderElection, LightingModel, NavMesh, NetworkManager, NormEngine, ORSet, ParallelNode, ParticleSystem, RepeaterNode, SHADER_NODES, SelectorNode, SequenceNode, ShaderGraph, SparsityMonitor, StateMachine, SwarmCoordinator, SwarmInspector, SwarmManager, SwarmMembership, SwarmMetrics, TerrainSystem, WaitNode, WebRTCTransport, createAgentState, createMVCPayload, createSparsityMonitor, estimatePayloadSize, getCounter, getDefaultEngine, getDefaultRegistry, getRegister, incrementCounter, mergeStates, negotiateHandoff, resetDefaultEngine, resetDefaultRegistry, setRegister, signOperation, validatePayloadBudget, verifyOperation };
|
|
89
287
|
//# sourceMappingURL=runtime.js.map
|
|
@@ -84,7 +84,10 @@ function clampScore(score) {
|
|
|
84
84
|
function scoreFromCriteria(spec, criteria) {
|
|
85
85
|
if (criteria.length === 0) return 0;
|
|
86
86
|
const weights = new Map(spec.rubric.map((criterion) => [criterion.id, criterion.weight ?? 1]));
|
|
87
|
-
const totalWeight = criteria.reduce(
|
|
87
|
+
const totalWeight = criteria.reduce(
|
|
88
|
+
(sum, criterion) => sum + Math.max(0, weights.get(criterion.criterionId) ?? 1),
|
|
89
|
+
0
|
|
90
|
+
);
|
|
88
91
|
if (totalWeight === 0) return 0;
|
|
89
92
|
const weighted = criteria.reduce((sum, criterion) => {
|
|
90
93
|
const weight = Math.max(0, weights.get(criterion.criterionId) ?? 1);
|
|
@@ -339,7 +342,9 @@ function applyExternalAgentValidation(receipt, validation) {
|
|
|
339
342
|
persistentMemoryWriteAllowed: false
|
|
340
343
|
};
|
|
341
344
|
}
|
|
342
|
-
const requiredFailure = copiedValidation.find(
|
|
345
|
+
const requiredFailure = copiedValidation.find(
|
|
346
|
+
(result) => result.required !== false && !result.passed
|
|
347
|
+
);
|
|
343
348
|
return {
|
|
344
349
|
...receipt,
|
|
345
350
|
validation: copiedValidation,
|
|
@@ -353,7 +358,9 @@ function applyExternalAgentValidation(receipt, validation) {
|
|
|
353
358
|
}
|
|
354
359
|
function promoteExternalAgentReceipt(receipt, memoryReceipt) {
|
|
355
360
|
if (receipt.quarantine.state !== "validated") {
|
|
356
|
-
throw new Error(
|
|
361
|
+
throw new Error(
|
|
362
|
+
"ExternalAgentReceipt must be locally validated before MemoryReceipt promotion."
|
|
363
|
+
);
|
|
357
364
|
}
|
|
358
365
|
if (memoryReceipt.sourceReceiptHash !== receipt.captureHash) {
|
|
359
366
|
throw new Error("MemoryReceipt source hash must match the external agent capture hash.");
|
|
@@ -529,7 +536,8 @@ function clamp01(value) {
|
|
|
529
536
|
}
|
|
530
537
|
function stabilizeForHash(value) {
|
|
531
538
|
if (value === null) return null;
|
|
532
|
-
if (Array.isArray(value))
|
|
539
|
+
if (Array.isArray(value))
|
|
540
|
+
return value.map((item) => item === void 0 ? null : stabilizeForHash(item));
|
|
533
541
|
if (value instanceof Date) return value.toISOString();
|
|
534
542
|
if (typeof value !== "object") return value;
|
|
535
543
|
const record = value;
|
|
@@ -82,7 +82,10 @@ function clampScore(score) {
|
|
|
82
82
|
function scoreFromCriteria(spec, criteria) {
|
|
83
83
|
if (criteria.length === 0) return 0;
|
|
84
84
|
const weights = new Map(spec.rubric.map((criterion) => [criterion.id, criterion.weight ?? 1]));
|
|
85
|
-
const totalWeight = criteria.reduce(
|
|
85
|
+
const totalWeight = criteria.reduce(
|
|
86
|
+
(sum, criterion) => sum + Math.max(0, weights.get(criterion.criterionId) ?? 1),
|
|
87
|
+
0
|
|
88
|
+
);
|
|
86
89
|
if (totalWeight === 0) return 0;
|
|
87
90
|
const weighted = criteria.reduce((sum, criterion) => {
|
|
88
91
|
const weight = Math.max(0, weights.get(criterion.criterionId) ?? 1);
|
|
@@ -337,7 +340,9 @@ function applyExternalAgentValidation(receipt, validation) {
|
|
|
337
340
|
persistentMemoryWriteAllowed: false
|
|
338
341
|
};
|
|
339
342
|
}
|
|
340
|
-
const requiredFailure = copiedValidation.find(
|
|
343
|
+
const requiredFailure = copiedValidation.find(
|
|
344
|
+
(result) => result.required !== false && !result.passed
|
|
345
|
+
);
|
|
341
346
|
return {
|
|
342
347
|
...receipt,
|
|
343
348
|
validation: copiedValidation,
|
|
@@ -351,7 +356,9 @@ function applyExternalAgentValidation(receipt, validation) {
|
|
|
351
356
|
}
|
|
352
357
|
function promoteExternalAgentReceipt(receipt, memoryReceipt) {
|
|
353
358
|
if (receipt.quarantine.state !== "validated") {
|
|
354
|
-
throw new Error(
|
|
359
|
+
throw new Error(
|
|
360
|
+
"ExternalAgentReceipt must be locally validated before MemoryReceipt promotion."
|
|
361
|
+
);
|
|
355
362
|
}
|
|
356
363
|
if (memoryReceipt.sourceReceiptHash !== receipt.captureHash) {
|
|
357
364
|
throw new Error("MemoryReceipt source hash must match the external agent capture hash.");
|
|
@@ -527,7 +534,8 @@ function clamp01(value) {
|
|
|
527
534
|
}
|
|
528
535
|
function stabilizeForHash(value) {
|
|
529
536
|
if (value === null) return null;
|
|
530
|
-
if (Array.isArray(value))
|
|
537
|
+
if (Array.isArray(value))
|
|
538
|
+
return value.map((item) => item === void 0 ? null : stabilizeForHash(item));
|
|
531
539
|
if (value instanceof Date) return value.toISOString();
|
|
532
540
|
if (typeof value !== "object") return value;
|
|
533
541
|
const record = value;
|