@holoscript/core 8.0.6 → 8.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { init_traitDocs, getTraitDoc, formatTraitDocCompact } from './chunk-THCK6ECW.js';
|
|
2
|
-
import { init_AgentRiskRegistry, getAgentRiskRegistry, TIER_COMPOSITION_RISK_CAP, isDangerousOperation } from './chunk-
|
|
2
|
+
import { init_AgentRiskRegistry, getAgentRiskRegistry, TIER_COMPOSITION_RISK_CAP, isDangerousOperation } from './chunk-2Y3V22SG.js';
|
|
3
3
|
import { init_safeJsonParse, safeJsonParse, readJson } from './chunk-VVKVQZI6.js';
|
|
4
4
|
import { __esm } from './chunk-OL46QLBJ.js';
|
|
5
5
|
import * as crypto3 from 'crypto';
|
|
@@ -5965,5 +5965,5 @@ Required Permission: ${decision.requiredPermission || "unknown"}`
|
|
|
5965
5965
|
});
|
|
5966
5966
|
|
|
5967
5967
|
export { ANSCapabilityPath, BUILTIN_NORMS, BUILTIN_NORM_PROVENANCE, CompilerBase, CompilerDocumentationGenerator, UNKNOWN_NORM_PROVENANCE, UnauthorizedCompilerAccessError, createTestCompilerToken, criticalMassForChange, deserializeNormProvenance, escapeStringValue, getBuiltinNorm, getRBAC, init_ANSNamespace, init_AgentRBAC, init_CompilerBase, init_CompilerDocumentationGenerator, init_CultureTraits, isCapabilityTokenCredential, normalizeNormProvenance, normsByCategory, serializeNormProvenance };
|
|
5968
|
-
//# sourceMappingURL=chunk-
|
|
5969
|
-
//# sourceMappingURL=chunk-
|
|
5968
|
+
//# sourceMappingURL=chunk-C7ZBSV2Q.js.map
|
|
5969
|
+
//# sourceMappingURL=chunk-C7ZBSV2Q.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLODTHGST_cjs = require('./chunk-LODTHGST.cjs');
|
|
4
4
|
|
|
5
5
|
// src/compiler/QuantumCircuitCompiler.ts
|
|
6
|
-
|
|
6
|
+
chunkLODTHGST_cjs.init_CompilerBase();
|
|
7
7
|
function qubitsForMolecule(atoms) {
|
|
8
8
|
const orbitalCount = atoms.reduce((sum, a) => {
|
|
9
9
|
if (a.symbol === "H") return sum + 1;
|
|
@@ -88,7 +88,9 @@ function generateVQECircuit(atoms, moleculeName, ansatzLayers, initialParams) {
|
|
|
88
88
|
}
|
|
89
89
|
let paramIdx = 0;
|
|
90
90
|
for (let layer = 0; layer < ansatzLayers; layer++) {
|
|
91
|
-
lines.push(
|
|
91
|
+
lines.push(
|
|
92
|
+
`// Layer ${layer}: Ry rotations ( - [${paramIdx}..${paramIdx + n - 1}] optimised by VQE)`
|
|
93
|
+
);
|
|
92
94
|
for (let i = 0; i < n; i++) {
|
|
93
95
|
lines.push(`ry(theta_${paramIdx}) q[${i}];`);
|
|
94
96
|
paramIdx++;
|
|
@@ -185,7 +187,7 @@ function generateStubCircuit() {
|
|
|
185
187
|
]
|
|
186
188
|
};
|
|
187
189
|
}
|
|
188
|
-
var QuantumCircuitCompiler = class extends
|
|
190
|
+
var QuantumCircuitCompiler = class extends chunkLODTHGST_cjs.CompilerBase {
|
|
189
191
|
constructor() {
|
|
190
192
|
super(...arguments);
|
|
191
193
|
this.compilerName = "QuantumCircuitCompiler";
|
|
@@ -277,7 +279,10 @@ var QuantumCircuitCompiler = class extends chunkQWAR3GY6_cjs.CompilerBase {
|
|
|
277
279
|
/** Build a {@link QASMOutput} for a VQE circuit. */
|
|
278
280
|
buildVQEOutput(atoms, cfg) {
|
|
279
281
|
const moleculeName = (extractNumber(cfg, "moleculeName") !== void 0 ? void 0 : cfg["moleculeName"]?.value) ?? atoms.map((a) => a.symbol).join("") ?? "molecule";
|
|
280
|
-
const ansatzLayers = Math.max(
|
|
282
|
+
const ansatzLayers = Math.max(
|
|
283
|
+
1,
|
|
284
|
+
Math.round(extractNumber(cfg, "ansatzLayers") ?? extractNumber(cfg, "ansatz_layers") ?? 2)
|
|
285
|
+
);
|
|
281
286
|
const initialParams = cfg["initialParams"]?.value ?? cfg["initial_params"]?.value ?? void 0;
|
|
282
287
|
const { qasm, numQubits, estimatedDepth, warnings, paramNames } = generateVQECircuit(
|
|
283
288
|
atoms,
|
|
@@ -323,5 +328,5 @@ var QuantumCircuitCompiler = class extends chunkQWAR3GY6_cjs.CompilerBase {
|
|
|
323
328
|
};
|
|
324
329
|
|
|
325
330
|
exports.QuantumCircuitCompiler = QuantumCircuitCompiler;
|
|
326
|
-
//# sourceMappingURL=chunk-
|
|
327
|
-
//# sourceMappingURL=chunk-
|
|
331
|
+
//# sourceMappingURL=chunk-CCPSNT6B.cjs.map
|
|
332
|
+
//# sourceMappingURL=chunk-CCPSNT6B.cjs.map
|
|
@@ -201,7 +201,8 @@ function describeEnvironment(env) {
|
|
|
201
201
|
if (env.browser?.browser) parts.push(env.browser.browser);
|
|
202
202
|
if (env.browser?.os) parts.push(env.browser.os);
|
|
203
203
|
if (env.node) parts.push(`node ${env.node.version} ${env.node.platform}/${env.node.arch}`);
|
|
204
|
-
if (env.gpu?.vendor)
|
|
204
|
+
if (env.gpu?.vendor)
|
|
205
|
+
parts.push(`gpu:${env.gpu.vendor}${env.gpu.architecture ? "/" + env.gpu.architecture : ""}`);
|
|
205
206
|
if (env.annotations) {
|
|
206
207
|
for (const [k, v] of Object.entries(env.annotations)) {
|
|
207
208
|
parts.push(`${k}=${v}`);
|
|
@@ -211,5 +212,5 @@ function describeEnvironment(env) {
|
|
|
211
212
|
}
|
|
212
213
|
|
|
213
214
|
export { DeterminismHarness, captureEnvironment, describeEnvironment, hashBytes };
|
|
214
|
-
//# sourceMappingURL=chunk-
|
|
215
|
-
//# sourceMappingURL=chunk-
|
|
215
|
+
//# sourceMappingURL=chunk-DD2JQ7TS.js.map
|
|
216
|
+
//# sourceMappingURL=chunk-DD2JQ7TS.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_AgentRiskRegistry, getAgentRiskRegistry } from './chunk-
|
|
1
|
+
import { init_AgentRiskRegistry, getAgentRiskRegistry } from './chunk-2Y3V22SG.js';
|
|
2
2
|
import { __export } from './chunk-OL46QLBJ.js';
|
|
3
3
|
|
|
4
4
|
// src/hololand/index.ts
|
|
@@ -620,7 +620,9 @@ var _HololandClient = class _HololandClient {
|
|
|
620
620
|
signal: controller.signal
|
|
621
621
|
});
|
|
622
622
|
if (!response.ok) {
|
|
623
|
-
throw new Error(
|
|
623
|
+
throw new Error(
|
|
624
|
+
`Failed to fetch world "${worldId}": ${response.status} ${response.statusText}`
|
|
625
|
+
);
|
|
624
626
|
}
|
|
625
627
|
return await response.json();
|
|
626
628
|
} finally {
|
|
@@ -964,14 +966,10 @@ var CrossValidationRegistry = class {
|
|
|
964
966
|
);
|
|
965
967
|
}
|
|
966
968
|
if (this.agreementSeverityThreshold < 0 || this.agreementSeverityThreshold > 100) {
|
|
967
|
-
throw new Error(
|
|
968
|
-
"CrossValidationRegistry: agreementSeverityThreshold must be in [0,100]"
|
|
969
|
-
);
|
|
969
|
+
throw new Error("CrossValidationRegistry: agreementSeverityThreshold must be in [0,100]");
|
|
970
970
|
}
|
|
971
971
|
if (this.tolerance.defaultNumericTolerance <= 0) {
|
|
972
|
-
throw new Error(
|
|
973
|
-
"CrossValidationRegistry: defaultNumericTolerance must be > 0"
|
|
974
|
-
);
|
|
972
|
+
throw new Error("CrossValidationRegistry: defaultNumericTolerance must be > 0");
|
|
975
973
|
}
|
|
976
974
|
if (this.maxRounds < 1) {
|
|
977
975
|
throw new Error("CrossValidationRegistry: maxRounds must be >= 1");
|
|
@@ -1945,5 +1943,5 @@ function createMessage(type, payload, options = {}) {
|
|
|
1945
1943
|
}
|
|
1946
1944
|
|
|
1947
1945
|
export { CrossValidationRegistry, DEFAULT_ENVELOPES, DEFAULT_ITEM_AUTONOMOUS_AGENDA, DEFAULT_ITEM_REPUTATION_LEDGER, DEFAULT_ITEM_VERBAL_FINGERPRINT, DEFAULT_ITEM_VOCABULARY_REGISTER, HEARTBEAT_INTERVAL, HololandClient, ITEM_DEFAULT_TICK_INTERVAL_MS, MAX_CHUNK_SIZE, MAX_MESSAGE_SIZE, PROTOCOL_VERSION, PhysicsBoundsRegistry, StreamProtocol, TIMEOUT_INTERVAL, computeConsensus, connectToHololand, createHoloLandItem, createMessage, createWorldConfig, createWorldDefinition, createWorldEnvironment, createWorldMetadata, disconnectFromHololand, getCrossValidationRegistry, getHololandClient, getItemChain, getPhysicsBoundsRegistry, getStreamProtocol, hololand_exports, linkItems, resetCrossValidationRegistry, resetPhysicsBoundsRegistry, suggestedQuorum, wrapPhysicsService };
|
|
1948
|
-
//# sourceMappingURL=chunk-
|
|
1949
|
-
//# sourceMappingURL=chunk-
|
|
1946
|
+
//# sourceMappingURL=chunk-DUCB6LGL.js.map
|
|
1947
|
+
//# sourceMappingURL=chunk-DUCB6LGL.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError } from './chunk-
|
|
1
|
+
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError } from './chunk-C7ZBSV2Q.js';
|
|
2
2
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
3
3
|
|
|
4
4
|
// src/compiler/StateCompiler.ts
|
|
@@ -109,5 +109,5 @@ var init_StateCompiler = __esm({
|
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
export { StateCompiler, StateCompiler_exports, UnauthorizedStateCompilerAccessError, init_StateCompiler };
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
112
|
+
//# sourceMappingURL=chunk-DY72BMU5.js.map
|
|
113
|
+
//# sourceMappingURL=chunk-DY72BMU5.js.map
|
|
@@ -428,7 +428,8 @@ function validatePlatformConstraints(composition) {
|
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
430
|
for (const obj of composition.objects || []) checkObject(obj);
|
|
431
|
-
for (const tmpl of composition.templates || [])
|
|
431
|
+
for (const tmpl of composition.templates || [])
|
|
432
|
+
check(tmpl.platformConstraint, `template "${tmpl.name}"`);
|
|
432
433
|
for (const tmpl of composition.templates || []) {
|
|
433
434
|
for (const trait of tmpl.traits || []) {
|
|
434
435
|
check(trait.platformConstraint, `trait "@${trait.name}" on template "${tmpl.name}"`);
|
|
@@ -436,7 +437,8 @@ function validatePlatformConstraints(composition) {
|
|
|
436
437
|
}
|
|
437
438
|
for (const norm of composition.norms || []) check(norm.platformConstraint, `norm "${norm.name}"`);
|
|
438
439
|
for (const grp of composition.spatialGroups || []) checkGroup(grp);
|
|
439
|
-
for (const light of composition.lights || [])
|
|
440
|
+
for (const light of composition.lights || [])
|
|
441
|
+
check(light.platformConstraint, `light "${light.name}"`);
|
|
440
442
|
return errors;
|
|
441
443
|
}
|
|
442
444
|
function filterCompositionForPlatform(composition, platform) {
|
|
@@ -539,5 +541,5 @@ exports.normalizePlatformName = normalizePlatformName;
|
|
|
539
541
|
exports.platformCategory = platformCategory;
|
|
540
542
|
exports.resolvePlatforms = resolvePlatforms;
|
|
541
543
|
exports.selectBlock = selectBlock;
|
|
542
|
-
//# sourceMappingURL=chunk-
|
|
543
|
-
//# sourceMappingURL=chunk-
|
|
544
|
+
//# sourceMappingURL=chunk-EBS32AJI.cjs.map
|
|
545
|
+
//# sourceMappingURL=chunk-EBS32AJI.cjs.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkGJNCFRJU_cjs = require('./chunk-GJNCFRJU.cjs');
|
|
4
4
|
var chunkYDPEHCCI_cjs = require('./chunk-YDPEHCCI.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunkGVFJ6T4S_cjs = require('./chunk-GVFJ6T4S.cjs');
|
|
6
|
+
var chunkX2AVEAZM_cjs = require('./chunk-X2AVEAZM.cjs');
|
|
7
7
|
var chunkILRBGFVD_cjs = require('./chunk-ILRBGFVD.cjs');
|
|
8
8
|
var chunkE7JP3BS3_cjs = require('./chunk-E7JP3BS3.cjs');
|
|
9
9
|
|
|
@@ -27,13 +27,7 @@ function calculateArc(start, end, speed) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
// src/runtime/condition-evaluator.ts
|
|
30
|
-
var SUSPICIOUS_KEYWORDS = [
|
|
31
|
-
"eval",
|
|
32
|
-
"process",
|
|
33
|
-
"require",
|
|
34
|
-
"__proto__",
|
|
35
|
-
"constructor"
|
|
36
|
-
];
|
|
30
|
+
var SUSPICIOUS_KEYWORDS = ["eval", "process", "require", "__proto__", "constructor"];
|
|
37
31
|
function evaluateCondition(condition, evaluate) {
|
|
38
32
|
if (!condition) return false;
|
|
39
33
|
const condStr = String(condition);
|
|
@@ -229,7 +223,10 @@ async function applyTransformation(data, transform, ctx) {
|
|
|
229
223
|
return ctx.evaluateExpression(mapper);
|
|
230
224
|
});
|
|
231
225
|
}
|
|
232
|
-
return data.map((item) => ({
|
|
226
|
+
return data.map((item) => ({
|
|
227
|
+
value: item,
|
|
228
|
+
processed: true
|
|
229
|
+
}));
|
|
233
230
|
}
|
|
234
231
|
case "reduce": {
|
|
235
232
|
if (!Array.isArray(data)) return data;
|
|
@@ -587,11 +584,7 @@ var CREATION_PUFF_COUNT = 20;
|
|
|
587
584
|
function normalizePosition(position) {
|
|
588
585
|
if (!position) return [0, 0, 0];
|
|
589
586
|
if (Array.isArray(position)) {
|
|
590
|
-
return [
|
|
591
|
-
Number(position[0]) || 0,
|
|
592
|
-
Number(position[1]) || 0,
|
|
593
|
-
Number(position[2]) || 0
|
|
594
|
-
];
|
|
587
|
+
return [Number(position[0]) || 0, Number(position[1]) || 0, Number(position[2]) || 0];
|
|
595
588
|
}
|
|
596
589
|
const p = position;
|
|
597
590
|
return [Number(p[0]) || 0, Number(p[1]) || 0, Number(p[2]) || 0];
|
|
@@ -697,7 +690,12 @@ async function executeOrb(node, ctx) {
|
|
|
697
690
|
ctx.applyDirectives(orbData);
|
|
698
691
|
}
|
|
699
692
|
if (!isUpdate) {
|
|
700
|
-
ctx.createParticleEffect(
|
|
693
|
+
ctx.createParticleEffect(
|
|
694
|
+
`${node.name}_creation`,
|
|
695
|
+
adjustedPos,
|
|
696
|
+
CREATION_PUFF_COLOR,
|
|
697
|
+
CREATION_PUFF_COUNT
|
|
698
|
+
);
|
|
701
699
|
}
|
|
702
700
|
if (ctx.isAgent(node)) {
|
|
703
701
|
if (!isUpdate || !ctx.getAgentRuntime(node.name)) {
|
|
@@ -1193,10 +1191,7 @@ var NODE_TYPE_HANDLERS = {
|
|
|
1193
1191
|
building: (node) => executeStructure(node),
|
|
1194
1192
|
// Capitalization-sensitive branches (composition vs Composition, template vs Template)
|
|
1195
1193
|
composition: (node, r) => executeComposition(node, r.buildSimpleExecutorContext()),
|
|
1196
|
-
Composition: (node, r) => executeHoloComposition(
|
|
1197
|
-
node,
|
|
1198
|
-
r.buildHoloCompositionContext()
|
|
1199
|
-
),
|
|
1194
|
+
Composition: (node, r) => executeHoloComposition(node, r.buildHoloCompositionContext()),
|
|
1200
1195
|
template: (node, r) => r.executeTemplate(node),
|
|
1201
1196
|
Template: (node, r) => executeHoloTemplate(
|
|
1202
1197
|
node,
|
|
@@ -1241,9 +1236,7 @@ var NODE_TYPE_HANDLERS = {
|
|
|
1241
1236
|
forEach: (node, r) => r.executeForEachLoop(
|
|
1242
1237
|
node
|
|
1243
1238
|
),
|
|
1244
|
-
while: (node, r) => r.executeWhileLoop(
|
|
1245
|
-
node
|
|
1246
|
-
),
|
|
1239
|
+
while: (node, r) => r.executeWhileLoop(node),
|
|
1247
1240
|
if: (node, r) => r.executeIfStatement(
|
|
1248
1241
|
node
|
|
1249
1242
|
),
|
|
@@ -1406,9 +1399,7 @@ async function executeHoloObject(node, ctx) {
|
|
|
1406
1399
|
})),
|
|
1407
1400
|
...template?.directives || []
|
|
1408
1401
|
],
|
|
1409
|
-
traits: new Map(
|
|
1410
|
-
(node.traits || []).map((t) => [t.name, t.config])
|
|
1411
|
-
),
|
|
1402
|
+
traits: new Map((node.traits || []).map((t) => [t.name, t.config])),
|
|
1412
1403
|
children: node.children || []
|
|
1413
1404
|
};
|
|
1414
1405
|
if (template) {
|
|
@@ -2259,7 +2250,11 @@ async function executeMatch(node, ctx) {
|
|
|
2259
2250
|
return lastResult;
|
|
2260
2251
|
} else {
|
|
2261
2252
|
const result = ctx.evaluateExpression(String(matchCase.body));
|
|
2262
|
-
return {
|
|
2253
|
+
return {
|
|
2254
|
+
success: true,
|
|
2255
|
+
output: result,
|
|
2256
|
+
executionTime: Date.now() - startTime
|
|
2257
|
+
};
|
|
2263
2258
|
}
|
|
2264
2259
|
}
|
|
2265
2260
|
}
|
|
@@ -2320,9 +2315,7 @@ async function evaluateHoloExpression(expr, scopeOverride, ctx) {
|
|
|
2320
2315
|
}
|
|
2321
2316
|
const callee = await evaluateHoloExpression(expr.callee, scopeOverride, ctx);
|
|
2322
2317
|
const args = await Promise.all(
|
|
2323
|
-
expr.arguments.map(
|
|
2324
|
-
(a) => evaluateHoloExpression(a, scopeOverride, ctx)
|
|
2325
|
-
)
|
|
2318
|
+
expr.arguments.map((a) => evaluateHoloExpression(a, scopeOverride, ctx))
|
|
2326
2319
|
);
|
|
2327
2320
|
if (typeof callee === "function") {
|
|
2328
2321
|
return callee(...args);
|
|
@@ -2464,7 +2457,7 @@ var HoloScriptAgentRuntime = class _HoloScriptAgentRuntime {
|
|
|
2464
2457
|
// JEPA action-planning loop (Phase 8)
|
|
2465
2458
|
// Default latentDim=64, condDim=16 (action conditioning). Caller can swap
|
|
2466
2459
|
// weights externally via this.jepaPredictor.setWeights() after training.
|
|
2467
|
-
this.jepaPredictor = new
|
|
2460
|
+
this.jepaPredictor = new chunkX2AVEAZM_cjs.JEPAPredictor({ latentDim: 64, condDim: 16 });
|
|
2468
2461
|
this.jepaObjectiveNode = {};
|
|
2469
2462
|
this.jepaObjectiveAttached = false;
|
|
2470
2463
|
if (!agentNode || !parentRuntime) {
|
|
@@ -2608,16 +2601,12 @@ var HoloScriptAgentRuntime = class _HoloScriptAgentRuntime {
|
|
|
2608
2601
|
ensureJepaObjectiveAttached() {
|
|
2609
2602
|
if (!this.jepaObjectiveAttached) {
|
|
2610
2603
|
const config = this.getJepaObjectiveConfig();
|
|
2611
|
-
|
|
2612
|
-
this.jepaObjectiveNode,
|
|
2613
|
-
config,
|
|
2614
|
-
this.buildJepaTraitContext()
|
|
2615
|
-
);
|
|
2604
|
+
chunkX2AVEAZM_cjs.jepObjectiveHandler.onAttach?.(this.jepaObjectiveNode, config, this.buildJepaTraitContext());
|
|
2616
2605
|
this.jepaObjectiveAttached = true;
|
|
2617
2606
|
}
|
|
2618
2607
|
}
|
|
2619
2608
|
getJepaObjectiveConfig() {
|
|
2620
|
-
const config =
|
|
2609
|
+
const config = chunkX2AVEAZM_cjs.jepObjectiveHandler.defaultConfig;
|
|
2621
2610
|
if (!config) {
|
|
2622
2611
|
throw new Error("JEPAObjective handler defaultConfig is required for offline training");
|
|
2623
2612
|
}
|
|
@@ -2667,17 +2656,12 @@ var HoloScriptAgentRuntime = class _HoloScriptAgentRuntime {
|
|
|
2667
2656
|
const latentDim = config.latentDim;
|
|
2668
2657
|
const outcomeStr = outcome.success ? `success:${String(outcome.output ?? "")}` : `failure:${String(outcome.error ?? "")}`;
|
|
2669
2658
|
const targetVec = textToEmbeddingFloat32(outcomeStr, latentDim);
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
context: contextStr,
|
|
2677
|
-
targetVec,
|
|
2678
|
-
conditioning: void 0
|
|
2679
|
-
}
|
|
2680
|
-
);
|
|
2659
|
+
chunkX2AVEAZM_cjs.jepObjectiveHandler.onEvent?.(this.jepaObjectiveNode, config, this.buildJepaTraitContext(), {
|
|
2660
|
+
type: "jepa:encode_pair",
|
|
2661
|
+
context: contextStr,
|
|
2662
|
+
targetVec,
|
|
2663
|
+
conditioning: void 0
|
|
2664
|
+
});
|
|
2681
2665
|
}
|
|
2682
2666
|
/**
|
|
2683
2667
|
* Lightweight fork-detection heuristic for runtime adapters.
|
|
@@ -2753,7 +2737,9 @@ var HoloScriptAgentRuntime = class _HoloScriptAgentRuntime {
|
|
|
2753
2737
|
if (this.isDestroyed) return { success: false, error: "Agent destroyed" };
|
|
2754
2738
|
const forkCheck = this.checkForkSandbox();
|
|
2755
2739
|
if (!forkCheck.allowed) {
|
|
2756
|
-
chunkILRBGFVD_cjs.logger.warn(
|
|
2740
|
+
chunkILRBGFVD_cjs.logger.warn(
|
|
2741
|
+
`[Agent:${this.agentNode.name}] ForkSandboxGate blocked action "${actionName}": ${forkCheck.reason}`
|
|
2742
|
+
);
|
|
2757
2743
|
return { success: false, error: `ForkSandboxGate: ${forkCheck.reason}` };
|
|
2758
2744
|
}
|
|
2759
2745
|
const directives = this.agentNode.directives;
|
|
@@ -2811,9 +2797,7 @@ var HoloScriptAgentRuntime = class _HoloScriptAgentRuntime {
|
|
|
2811
2797
|
try {
|
|
2812
2798
|
this.trainJepaOffline(stateBefore, actionName, executionResult);
|
|
2813
2799
|
} catch (trainErr) {
|
|
2814
|
-
chunkILRBGFVD_cjs.logger.warn(
|
|
2815
|
-
`[JEPA:${this.agentNode.name}] trainJepaOffline error: ${String(trainErr)}`
|
|
2816
|
-
);
|
|
2800
|
+
chunkILRBGFVD_cjs.logger.warn(`[JEPA:${this.agentNode.name}] trainJepaOffline error: ${String(trainErr)}`);
|
|
2817
2801
|
}
|
|
2818
2802
|
return executionResult;
|
|
2819
2803
|
}
|
|
@@ -3040,10 +3024,11 @@ var StateSynchronizer = chunkYDPEHCCI_cjs.lazyPeerSymbol(
|
|
|
3040
3024
|
"@holoscript/mesh",
|
|
3041
3025
|
"StateSynchronizer"
|
|
3042
3026
|
);
|
|
3043
|
-
var WebSocketServer = chunkYDPEHCCI_cjs.lazyPeerSymbol(
|
|
3044
|
-
|
|
3045
|
-
"
|
|
3027
|
+
var WebSocketServer = chunkYDPEHCCI_cjs.lazyPeerSymbol(
|
|
3028
|
+
"ws",
|
|
3029
|
+
"WebSocketServer"
|
|
3046
3030
|
);
|
|
3031
|
+
var engineRuntime = chunkYDPEHCCI_cjs.definePeerNamespace("@holoscript/engine/runtime");
|
|
3047
3032
|
var RUNTIME_SECURITY_LIMITS = {
|
|
3048
3033
|
maxExecutionDepth: 50,
|
|
3049
3034
|
maxTotalNodes: 1e3,
|
|
@@ -3082,7 +3067,10 @@ var HoloScriptRuntime = class {
|
|
|
3082
3067
|
for (const [name, fn] of this.builtinFunctions) {
|
|
3083
3068
|
this.context.functions.set(name, ((...spreadArgs) => fn(spreadArgs)));
|
|
3084
3069
|
}
|
|
3085
|
-
attachStateInvalidationConsumer(
|
|
3070
|
+
attachStateInvalidationConsumer(
|
|
3071
|
+
this.buildEventSystemContext(),
|
|
3072
|
+
defaultStateInvalidationRegistry
|
|
3073
|
+
);
|
|
3086
3074
|
this.registerFunction("get_attended_entities", (args) => {
|
|
3087
3075
|
const topK = typeof args[0] === "number" ? args[0] : 10;
|
|
3088
3076
|
const selfRaw = this.context.variables.get("self");
|
|
@@ -3107,11 +3095,13 @@ var HoloScriptRuntime = class {
|
|
|
3107
3095
|
topK
|
|
3108
3096
|
);
|
|
3109
3097
|
});
|
|
3110
|
-
this.traitHandlers.set("mitosis",
|
|
3111
|
-
this.traitHandlers.set("orbital",
|
|
3098
|
+
this.traitHandlers.set("mitosis", chunkX2AVEAZM_cjs.mitosisHandler);
|
|
3099
|
+
this.traitHandlers.set("orbital", chunkX2AVEAZM_cjs.orbitalHandler);
|
|
3112
3100
|
this.extensionRegistry = new ExtensionRegistry(this);
|
|
3113
3101
|
engineRuntime.stateMachineInterpreter.setHookExecutor((code) => this.evaluateExpression(code));
|
|
3114
|
-
engineRuntime.stateMachineInterpreter.setGuardEvaluator(
|
|
3102
|
+
engineRuntime.stateMachineInterpreter.setGuardEvaluator(
|
|
3103
|
+
(expr) => this.evaluateExpression(expr)
|
|
3104
|
+
);
|
|
3115
3105
|
}
|
|
3116
3106
|
/**
|
|
3117
3107
|
* Initialize built-in functions
|
|
@@ -4109,7 +4099,7 @@ var HoloScriptRuntime = class {
|
|
|
4109
4099
|
parent: previousScope
|
|
4110
4100
|
};
|
|
4111
4101
|
try {
|
|
4112
|
-
const parser = new
|
|
4102
|
+
const parser = new chunkGVFJ6T4S_cjs.HoloScriptCodeParser();
|
|
4113
4103
|
const result = parser.parse(migration.body);
|
|
4114
4104
|
if (result.errors.length > 0) {
|
|
4115
4105
|
chunkILRBGFVD_cjs.logger.error(`Migration parse errors for ${orb.name}:`, {
|
|
@@ -4333,5 +4323,5 @@ exports.HoloScriptAgentRuntime = HoloScriptAgentRuntime;
|
|
|
4333
4323
|
exports.HoloScriptRuntime = HoloScriptRuntime;
|
|
4334
4324
|
exports.TRAIT_OWNER_KEY = TRAIT_OWNER_KEY;
|
|
4335
4325
|
exports.registerPluginTraits = registerPluginTraits;
|
|
4336
|
-
//# sourceMappingURL=chunk-
|
|
4337
|
-
//# sourceMappingURL=chunk-
|
|
4326
|
+
//# sourceMappingURL=chunk-EDPYCLRC.cjs.map
|
|
4327
|
+
//# sourceMappingURL=chunk-EDPYCLRC.cjs.map
|