@holoscript/core 8.0.14 → 8.0.16
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 +6 -13
- package/bin/holo-decision.mjs +0 -0
- package/bin/holoscript.cjs +0 -0
- package/dist/{GLTFPipeline-6LS3UDYX.js → GLTFPipeline-FRBZIATS.js} +6 -6
- package/dist/{GLTFPipeline-VTI6PRRQ.cjs → GLTFPipeline-MTPP444P.cjs} +10 -10
- package/dist/{HoloCompositionParser-GILABNN3.js → HoloCompositionParser-2GVQAZ2X.js} +7 -7
- package/dist/HoloCompositionParser-3NDF6BMX.cjs +45 -0
- package/dist/HoloScriptPlusParser-URSIBEAW.cjs +30 -0
- package/dist/HoloScriptPlusParser-YCV6L7GI.js +13 -0
- package/dist/{HoloScriptRuntime-YBYXJHJN.cjs → HoloScriptRuntime-CRWI6C3P.cjs} +5 -5
- package/dist/{HoloScriptRuntime-UTRLJI5L.js → HoloScriptRuntime-IAZGHPFP.js} +4 -4
- package/dist/{SceneIRCompiler-VX75RB6H.js → SceneIRCompiler-BJQMKLWL.js} +6 -6
- package/dist/{SceneIRCompiler-7KQ5NKAU.cjs → SceneIRCompiler-RTPPDQAV.cjs} +11 -11
- package/dist/{chunk-Y2OCKXVD.js → chunk-22AULOAL.js} +5 -5
- package/dist/{chunk-D44CEFY4.cjs → chunk-2DJIS7TH.cjs} +5 -5
- package/dist/{chunk-LHUDAJQT.cjs → chunk-2PVEXEOL.cjs} +5 -5
- package/dist/{chunk-M7XR3F53.js → chunk-2UP2J3OK.js} +4 -4
- package/dist/{chunk-3KHRZTNW.js → chunk-3AUYBQ5I.js} +3 -3
- package/dist/{chunk-UKEK2NZJ.js → chunk-3MQAOMKD.js} +3 -3
- package/dist/{chunk-FWKEY4LD.js → chunk-4AGNARX6.js} +3 -3
- package/dist/{chunk-7ITJP33Q.cjs → chunk-4CQ7ULXZ.cjs} +3 -3
- package/dist/{chunk-47XZ62KM.js → chunk-4UA5OBWR.js} +5 -5
- package/dist/{chunk-ORBVCOTC.js → chunk-5LCJDX5A.js} +3 -3
- package/dist/{chunk-IK6Z2HNC.js → chunk-6OQHLNTT.js} +2 -2
- package/dist/{chunk-EI3J6LTW.cjs → chunk-6RDHWSZM.cjs} +217 -217
- package/dist/{chunk-73EDVY5D.js → chunk-7AY66PZP.js} +3 -3
- package/dist/{chunk-6FCNMTL5.js → chunk-7HDRN5BW.js} +4 -4
- package/dist/{chunk-N7MIIDLI.cjs → chunk-7IBXTJP7.cjs} +8 -8
- package/dist/{chunk-R5VKLUMR.js → chunk-AAUQTR7I.js} +4 -4
- package/dist/{chunk-HCONR4J6.cjs → chunk-AN3ZH7M7.cjs} +38 -38
- package/dist/{chunk-YW3I2FQL.js → chunk-ANMME7XT.js} +4 -2
- package/dist/{chunk-W4AJMMQR.js → chunk-AUF7HFOO.js} +60 -22
- package/dist/{chunk-SKVBUGMC.cjs → chunk-AUMTQV64.cjs} +7 -7
- package/dist/{chunk-7ZKQ32XK.js → chunk-B5K3WHJ4.js} +4 -4
- package/dist/{chunk-QQFB4RT2.cjs → chunk-BTVHY3UB.cjs} +2 -2
- package/dist/{chunk-SE2Y5BSL.cjs → chunk-CMEINO5I.cjs} +186 -70
- package/dist/{chunk-YMI3ED3B.cjs → chunk-CRUIGXF7.cjs} +5 -5
- package/dist/chunk-DDBYJJZK.js +1571 -0
- package/dist/{chunk-2E6PP5UE.cjs → chunk-E2SNPMBO.cjs} +11 -11
- package/dist/{chunk-GI5YYZH6.js → chunk-E4YS5SIZ.js} +90 -25
- package/dist/{chunk-62OYZT6Q.js → chunk-EKNWUSGW.js} +3 -3
- package/dist/{chunk-RVN7OPCP.js → chunk-ETIJOUIO.js} +4 -4
- package/dist/chunk-EUNELE7Y.cjs +1605 -0
- package/dist/{chunk-C73GVAYC.js → chunk-F33KLYOS.js} +5 -5
- package/dist/{chunk-4CRMVEON.cjs → chunk-F47FEV4X.cjs} +40 -40
- package/dist/{chunk-FGXJPJ3W.cjs → chunk-FCGTI7FO.cjs} +4 -4
- package/dist/{chunk-OSKGCXAQ.cjs → chunk-FGTXAVKG.cjs} +5 -5
- package/dist/{chunk-XZC75AJ4.cjs → chunk-FPGYWNNA.cjs} +5 -5
- package/dist/{chunk-5B2AJKA5.cjs → chunk-FQ4MYZYU.cjs} +20 -20
- package/dist/{chunk-KOGPVAP6.js → chunk-FT4FGTR6.js} +3 -3
- package/dist/{chunk-N7IYRAFG.cjs → chunk-FVNV4WHQ.cjs} +14 -14
- package/dist/{chunk-SJIRCTIS.cjs → chunk-HSGJFCVJ.cjs} +2 -2
- package/dist/{chunk-TKDDIE3T.cjs → chunk-ILO2KMER.cjs} +4 -4
- package/dist/{chunk-GGH3ZYDB.cjs → chunk-IPBSNGAN.cjs} +92 -27
- package/dist/{chunk-JQCXLKAU.js → chunk-IX2U3RQT.js} +3 -3
- package/dist/{chunk-P65OIMJT.cjs → chunk-IYK6LMQ7.cjs} +7 -7
- package/dist/{chunk-NWKARJM2.js → chunk-J3VVM6GV.js} +4 -4
- package/dist/{chunk-FOM36K5I.cjs → chunk-J74S4ZMF.cjs} +18 -18
- package/dist/{chunk-36NPLOI4.cjs → chunk-JERWCCEJ.cjs} +4 -2
- package/dist/{chunk-VXHB6ZHY.js → chunk-JTDDLCSP.js} +4 -4
- package/dist/{chunk-GYJLP4BO.cjs → chunk-K53L47NH.cjs} +30 -30
- package/dist/{chunk-FHR2AVMA.cjs → chunk-LJTM5ONX.cjs} +23 -23
- package/dist/{chunk-JCVSCKUH.js → chunk-LJVVOVA6.js} +4 -4
- package/dist/{chunk-LQNL3IYV.cjs → chunk-LNJKBQ2B.cjs} +38 -38
- package/dist/{chunk-2GKF7JQ6.js → chunk-M2GDE3NV.js} +3 -3
- package/dist/{chunk-Z7NUL73U.js → chunk-MSZNGI5P.js} +3 -3
- package/dist/{chunk-B6JHTTMR.cjs → chunk-N2BOTBPG.cjs} +15 -15
- package/dist/{chunk-L4DBUX3N.cjs → chunk-NFALJJCH.cjs} +12 -12
- package/dist/{chunk-YBM34FUJ.cjs → chunk-NRZRBK25.cjs} +6 -6
- package/dist/{chunk-SNMQUWIO.cjs → chunk-NTSLNIY7.cjs} +10 -10
- package/dist/{chunk-645EWDZW.cjs → chunk-NZJOAWJM.cjs} +4 -4
- package/dist/{chunk-LGRKBTPM.js → chunk-OG7RKWWX.js} +3 -3
- package/dist/{chunk-OOP4S3GU.cjs → chunk-OQVHCYY4.cjs} +5 -5
- package/dist/{chunk-TMNAKNV2.cjs → chunk-PEBNX3VM.cjs} +5 -5
- package/dist/{chunk-5T6BWIB7.js → chunk-PFZ5WLIP.js} +4 -4
- package/dist/{chunk-CESMPUEZ.cjs → chunk-PHLNABJD.cjs} +159 -145
- package/dist/{chunk-CHIZSMWD.js → chunk-PLK3DLTF.js} +3 -3
- package/dist/{chunk-4NEPHK2K.js → chunk-PMACVMHL.js} +3 -3
- package/dist/{chunk-EYHPTJ3F.js → chunk-PV2OXNP5.js} +40 -26
- package/dist/{chunk-KLM6QD6D.cjs → chunk-Q6VW7MGX.cjs} +14 -14
- package/dist/{chunk-YDSNDCV3.js → chunk-QC3CAVFN.js} +186 -69
- package/dist/{chunk-REN3LHO6.cjs → chunk-QKLEDRHN.cjs} +19 -19
- package/dist/{chunk-2EGGAZT3.js → chunk-QS27OYBU.js} +3 -3
- package/dist/{chunk-4376VHNJ.js → chunk-RUB7WL6C.js} +3 -3
- package/dist/chunk-S2BSXG3B.js +3308 -0
- package/dist/{chunk-TZQKJOPC.js → chunk-TW2AH2ZS.js} +3 -3
- package/dist/{chunk-Q4J2K7FI.js → chunk-TZM6DKSJ.js} +6 -6
- package/dist/{chunk-ESSEF6U2.js → chunk-U227RWXB.js} +3 -3
- package/dist/{chunk-ERYKKPHW.cjs → chunk-U6CQOM5Q.cjs} +13 -13
- package/dist/{chunk-VMCR5QVI.js → chunk-ULT2QAV5.js} +4 -4
- package/dist/chunk-VQOTDNFL.cjs +3337 -0
- package/dist/{chunk-VZI7S7P6.cjs → chunk-VSO6HPDZ.cjs} +7 -7
- package/dist/{chunk-QLPRI3QW.js → chunk-WQJMSSJT.js} +4 -4
- package/dist/{chunk-GILYQ5VH.cjs → chunk-WXSDBWGM.cjs} +4 -4
- package/dist/{chunk-42Z3SVHQ.js → chunk-X5PMMK7H.js} +3 -3
- package/dist/{chunk-ML4V5PVU.cjs → chunk-X5ZLSPU2.cjs} +74 -32
- package/dist/{chunk-PSWCJQS4.js → chunk-X727CQ7X.js} +5 -5
- package/dist/{chunk-YM7UUYR5.cjs → chunk-XHZYS4QO.cjs} +5 -5
- package/dist/{chunk-PZ46WRHX.cjs → chunk-XRQCTTDC.cjs} +8 -8
- package/dist/{chunk-IXFNA5TT.js → chunk-YBIHSN55.js} +4 -4
- package/dist/{chunk-BLCWQ225.js → chunk-Z574GVI3.js} +4 -4
- package/dist/{chunk-ZVQMKUGJ.js → chunk-Z5V3KA7L.js} +2 -2
- package/dist/{chunk-VTFLKSJL.cjs → chunk-ZHW6TDZ6.cjs} +14 -14
- package/dist/{chunk-KYJD2UMV.js → chunk-ZPHCTPR6.js} +4 -4
- package/dist/{chunk-VA7THINF.cjs → chunk-ZXXC2GXB.cjs} +38 -38
- package/dist/cli/holoscript-runner.cjs +168 -19
- package/dist/cli/holoscript-runner.js +162 -13
- package/dist/compiler/agent-inference.cjs +7 -7
- package/dist/compiler/agent-inference.js +3 -3
- package/dist/compiler/android-xr.cjs +6 -6
- package/dist/compiler/android-xr.js +4 -4
- package/dist/compiler/android.cjs +5 -5
- package/dist/compiler/android.js +3 -3
- package/dist/compiler/context.cjs +5 -5
- package/dist/compiler/context.js +2 -2
- package/dist/compiler/daimon-seed.cjs +8 -8
- package/dist/compiler/daimon-seed.js +3 -3
- package/dist/compiler/domain-block-utils.cjs +164 -164
- package/dist/compiler/domain-block-utils.js +3 -3
- package/dist/compiler/dtdl.cjs +6 -6
- package/dist/compiler/dtdl.js +3 -3
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/godot.cjs +5 -5
- package/dist/compiler/godot.js +4 -4
- package/dist/compiler/incremental.cjs +7 -7
- package/dist/compiler/incremental.js +2 -2
- package/dist/compiler/index.cjs +1603 -204
- package/dist/compiler/index.d.ts +8 -0
- package/dist/compiler/index.js +1431 -55
- package/dist/compiler/ios.cjs +5 -5
- package/dist/compiler/ios.js +3 -3
- package/dist/compiler/llm-provider-capabilities.cjs +5 -5
- package/dist/compiler/llm-provider-capabilities.js +2 -2
- package/dist/compiler/openxr.cjs +5 -5
- package/dist/compiler/openxr.js +4 -4
- package/dist/compiler/sdf.cjs +6 -6
- package/dist/compiler/sdf.js +4 -4
- package/dist/compiler/state.cjs +5 -5
- package/dist/compiler/state.js +3 -3
- package/dist/compiler/trait-composition.cjs +6 -6
- package/dist/compiler/trait-composition.js +2 -2
- package/dist/compiler/unity.cjs +5 -5
- package/dist/compiler/unity.js +4 -4
- package/dist/compiler/unreal.cjs +6 -6
- package/dist/compiler/unreal.js +4 -4
- package/dist/compiler/urdf.cjs +13 -13
- package/dist/compiler/urdf.js +4 -4
- package/dist/compiler/usd-physics.cjs +6 -6
- package/dist/compiler/usd-physics.js +3 -3
- package/dist/compiler/visionos.cjs +5 -5
- package/dist/compiler/visionos.js +4 -4
- package/dist/compiler/vrchat.cjs +6 -6
- package/dist/compiler/vrchat.js +4 -4
- package/dist/compiler/wasm.cjs +9 -9
- package/dist/compiler/wasm.js +4 -4
- package/dist/compiler/webgpu.cjs +5 -5
- package/dist/compiler/webgpu.js +4 -4
- package/dist/constants.cjs +99 -99
- package/dist/constants.js +3 -3
- package/dist/debugger.cjs +5 -5
- package/dist/debugger.js +3 -3
- package/dist/{dist-GRMOP2UL.cjs → dist-YGATNURH.cjs} +705 -9
- package/dist/{dist-ZBUKU2JG.js → dist-ZEZXRCBG.js} +701 -10
- package/dist/entries/scripting.cjs +8 -8
- package/dist/entries/scripting.js +4 -4
- package/dist/evolution/index.cjs +20 -20
- package/dist/evolution/index.js +8 -8
- package/dist/index.cjs +871 -809
- package/dist/index.d.ts +8 -0
- package/dist/index.js +132 -70
- package/dist/parser/HoloCompositionTypes.d.ts +1 -1
- package/dist/parser.cjs +21 -21
- package/dist/parser.js +7 -7
- package/dist/reconstruction/index.cjs +63 -63
- package/dist/reconstruction/index.js +7 -7
- package/dist/runtime.cjs +9 -9
- package/dist/runtime.js +3 -3
- package/dist/traits/botanical-lotus.d.ts +61 -0
- package/dist/traits/index.cjs +664 -671
- package/dist/traits/index.d.ts +65 -0
- package/dist/traits/index.js +14 -21
- package/dist/types/HoloScriptPlus.d.ts +1 -1
- package/package.json +65 -63
- package/dist/HoloCompositionParser-ZVRYVEA5.cjs +0 -45
- package/dist/HoloScriptPlusParser-WTPRPRPR.cjs +0 -30
- package/dist/HoloScriptPlusParser-ZP53ECSL.js +0 -13
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkV6GXFSK7_cjs = require('./chunk-V6GXFSK7.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkCMEINO5I_cjs = require('./chunk-CMEINO5I.cjs');
|
|
5
5
|
|
|
6
6
|
// src/compiler/TraitCompositionCompiler.ts
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
chunkCMEINO5I_cjs.init_AgentRBAC();
|
|
8
|
+
chunkCMEINO5I_cjs.init_CompilerBase();
|
|
9
9
|
var CompositionConflictError = class extends Error {
|
|
10
10
|
constructor(traitA, traitB, conflictKey) {
|
|
11
11
|
super(
|
|
@@ -62,7 +62,7 @@ var TraitCompositionCompiler = class {
|
|
|
62
62
|
*/
|
|
63
63
|
validateAccess(agentToken) {
|
|
64
64
|
if (!agentToken) return;
|
|
65
|
-
const rbac =
|
|
65
|
+
const rbac = chunkCMEINO5I_cjs.getRBAC();
|
|
66
66
|
const decision = rbac.checkAccess({
|
|
67
67
|
token: agentToken,
|
|
68
68
|
resourceType: "ast" /* AST */,
|
|
@@ -153,7 +153,7 @@ var TraitCompositionCompiler = class {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
|
-
var UnauthorizedTraitCompositionAccessError = class extends
|
|
156
|
+
var UnauthorizedTraitCompositionAccessError = class extends chunkCMEINO5I_cjs.UnauthorizedCompilerAccessError {
|
|
157
157
|
constructor(decision, compilerName) {
|
|
158
158
|
super(decision, "trait composition", compilerName);
|
|
159
159
|
this.name = "UnauthorizedTraitCompositionAccessError";
|
|
@@ -164,5 +164,5 @@ exports.CompositionConflictError = CompositionConflictError;
|
|
|
164
164
|
exports.MissingComponentError = MissingComponentError;
|
|
165
165
|
exports.TraitCompositionCompiler = TraitCompositionCompiler;
|
|
166
166
|
exports.UnauthorizedTraitCompositionAccessError = UnauthorizedTraitCompositionAccessError;
|
|
167
|
-
//# sourceMappingURL=chunk-
|
|
168
|
-
//# sourceMappingURL=chunk-
|
|
167
|
+
//# sourceMappingURL=chunk-VSO6HPDZ.cjs.map
|
|
168
|
+
//# sourceMappingURL=chunk-VSO6HPDZ.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, datavizToWebGPU, compileDataVizBlock, compileMaterialBlock, materialToWebGPU, compileParticleBlock, compilePostProcessingBlock, compileProceduralBlock } from './chunk-
|
|
2
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, datavizToWebGPU, compileDataVizBlock, compileMaterialBlock, materialToWebGPU, compileParticleBlock, compilePostProcessingBlock, compileProceduralBlock } from './chunk-TW2AH2ZS.js';
|
|
2
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QC3CAVFN.js';
|
|
3
3
|
import { __esm, __export } from './chunk-W4GABFCR.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
5
5
|
|
|
@@ -1871,5 +1871,5 @@ var init_WebGPUCompiler = __esm({
|
|
|
1871
1871
|
});
|
|
1872
1872
|
|
|
1873
1873
|
export { WebGPUCompiler, WebGPUCompiler_exports, init_WebGPUCompiler, init_geometry_purpose, init_geometry_registry, init_skybox_registry, resolveGeometry, resolveGeometryRole, resolveSkyboxColor };
|
|
1874
|
-
//# sourceMappingURL=chunk-
|
|
1875
|
-
//# sourceMappingURL=chunk-
|
|
1874
|
+
//# sourceMappingURL=chunk-WQJMSSJT.js.map
|
|
1875
|
+
//# sourceMappingURL=chunk-WQJMSSJT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkE2SNPMBO_cjs = require('./chunk-E2SNPMBO.cjs');
|
|
4
4
|
var chunkPVODJEJ7_cjs = require('./chunk-PVODJEJ7.cjs');
|
|
5
5
|
|
|
6
6
|
// src/HoloScriptDebugger.ts
|
|
@@ -21,7 +21,7 @@ var HoloScriptDebugger = class {
|
|
|
21
21
|
callStack: [],
|
|
22
22
|
breakpoints: []
|
|
23
23
|
};
|
|
24
|
-
this.runtime = runtime || new
|
|
24
|
+
this.runtime = runtime || new chunkE2SNPMBO_cjs.HoloScriptRuntime();
|
|
25
25
|
this.parser = new chunkPVODJEJ7_cjs.HoloScriptCodeParser();
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -420,5 +420,5 @@ function createDebugger(runtime) {
|
|
|
420
420
|
|
|
421
421
|
exports.HoloScriptDebugger = HoloScriptDebugger;
|
|
422
422
|
exports.createDebugger = createDebugger;
|
|
423
|
-
//# sourceMappingURL=chunk-
|
|
424
|
-
//# sourceMappingURL=chunk-
|
|
423
|
+
//# sourceMappingURL=chunk-WXSDBWGM.cjs.map
|
|
424
|
+
//# sourceMappingURL=chunk-WXSDBWGM.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QC3CAVFN.js';
|
|
2
2
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
3
3
|
|
|
4
4
|
// src/compiler/ContextCompiler.ts
|
|
@@ -2150,5 +2150,5 @@ function toCursorSlug(name) {
|
|
|
2150
2150
|
}
|
|
2151
2151
|
|
|
2152
2152
|
export { ContextCompileError, ContextCompiler, createContextCompiler };
|
|
2153
|
-
//# sourceMappingURL=chunk-
|
|
2154
|
-
//# sourceMappingURL=chunk-
|
|
2153
|
+
//# sourceMappingURL=chunk-X5PMMK7H.js.map
|
|
2154
|
+
//# sourceMappingURL=chunk-X5PMMK7H.js.map
|
|
@@ -7,7 +7,7 @@ var chunkENZCIQZC_cjs = require('./chunk-ENZCIQZC.cjs');
|
|
|
7
7
|
var chunk4PDEPEQW_cjs = require('./chunk-4PDEPEQW.cjs');
|
|
8
8
|
var chunkVHORVGCG_cjs = require('./chunk-VHORVGCG.cjs');
|
|
9
9
|
var chunkYP5CHEYU_cjs = require('./chunk-YP5CHEYU.cjs');
|
|
10
|
-
var
|
|
10
|
+
var chunkHSGJFCVJ_cjs = require('./chunk-HSGJFCVJ.cjs');
|
|
11
11
|
var chunkILRBGFVD_cjs = require('./chunk-ILRBGFVD.cjs');
|
|
12
12
|
var chunkQ47JEE2C_cjs = require('./chunk-Q47JEE2C.cjs');
|
|
13
13
|
var chunkZHPMP447_cjs = require('./chunk-ZHPMP447.cjs');
|
|
@@ -21153,6 +21153,33 @@ var NetworkedTrait = class {
|
|
|
21153
21153
|
lerpVector3(a, b, t) {
|
|
21154
21154
|
return [a[0] + (b[0] - a[0]) * t, a[1] + (b[1] - a[1]) * t, a[2] + (b[2] - a[2]) * t];
|
|
21155
21155
|
}
|
|
21156
|
+
/**
|
|
21157
|
+
* SLERP for networked rotation interpolation (tuple-in / tuple-out).
|
|
21158
|
+
*
|
|
21159
|
+
* DO NOT "dedup" this into `../math/Quaternion.slerp` without reading this first.
|
|
21160
|
+
* It is a near-duplicate of that function — same shortest-arc flip, same
|
|
21161
|
+
* `dot > 0.9995` normalize-lerp fallback, same s0/s1 coefficients — but it is
|
|
21162
|
+
* deliberately NOT bit-identical: the main branch below returns the raw
|
|
21163
|
+
* `s0*a + s1*b` combination, whereas `Quaternion.slerp` wraps its result in
|
|
21164
|
+
* `normalize(...)`. For exact unit inputs the two agree analytically; in floating
|
|
21165
|
+
* point they differ in the last ULPs.
|
|
21166
|
+
*
|
|
21167
|
+
* That matters here because this is a netcode path: rotations interpolated by two
|
|
21168
|
+
* clients on different builds must agree, and a last-ULP change is a *behavior*
|
|
21169
|
+
* change that no single-version test can catch (the failure mode is version-skew
|
|
21170
|
+
* divergence, which only reproduces with two builds live). Migrating this requires
|
|
21171
|
+
* either bit-exactness proven against golden values for every branch, or a
|
|
21172
|
+
* cross-version replay test — neither exists today.
|
|
21173
|
+
*
|
|
21174
|
+
* Also note `Quaternion.slerp` is currently package-private (not in core's
|
|
21175
|
+
* package.json `exports`) and returns a hybrid `{x,y,z,w}` object with
|
|
21176
|
+
* NON-enumerable numeric indices — it indexes like a tuple but `JSON.stringify`
|
|
21177
|
+
* drops the indices and spreading it throws. It is not a drop-in for a real tuple
|
|
21178
|
+
* on a serialization path.
|
|
21179
|
+
*
|
|
21180
|
+
* Analysis: ai-ecosystem `research/2026-07-15_interpolation.md` +
|
|
21181
|
+
* `research/2026-07-15_native-interpolate-trait-feasibility.md`.
|
|
21182
|
+
*/
|
|
21156
21183
|
slerpQuat(a, b, t) {
|
|
21157
21184
|
let dot = a[0] * b[0] + a[1] * b[1] + a[2] * b[2] + a[3] * b[3];
|
|
21158
21185
|
const bNorm = dot < 0 ? [-b[0], -b[1], -b[2], -b[3]] : [...b];
|
|
@@ -40793,7 +40820,7 @@ function sampleTrack(keyframes, t, defaultEasing = "linear") {
|
|
|
40793
40820
|
if (t >= a.time && t <= b.time) {
|
|
40794
40821
|
const span = b.time - a.time;
|
|
40795
40822
|
const localT = span <= 0 ? 0 : (t - a.time) / span;
|
|
40796
|
-
const eased =
|
|
40823
|
+
const eased = chunkHSGJFCVJ_cjs.applyEasing(localT, b.easing ?? defaultEasing);
|
|
40797
40824
|
return a.value + (b.value - a.value) * eased;
|
|
40798
40825
|
}
|
|
40799
40826
|
}
|
|
@@ -41026,7 +41053,7 @@ var AnimationStateMachine = class {
|
|
|
41026
41053
|
emit({ type: "transition-end", toState: crossfade.to.state, timestamp: Date.now() });
|
|
41027
41054
|
emit({ type: "state-enter", state: crossfade.to.state, timestamp: Date.now() });
|
|
41028
41055
|
} else {
|
|
41029
|
-
const eased =
|
|
41056
|
+
const eased = chunkHSGJFCVJ_cjs.applyEasing(crossfade.progress, crossfade.easing ?? "linear");
|
|
41030
41057
|
crossfade.from.weight = 1 - eased;
|
|
41031
41058
|
crossfade.to.weight = eased;
|
|
41032
41059
|
if (!crossfade.pauseWhenExiting) {
|
|
@@ -41383,7 +41410,7 @@ var AnimationTrait = class {
|
|
|
41383
41410
|
fromState: crossfade.from.state,
|
|
41384
41411
|
toState: crossfade.to.state,
|
|
41385
41412
|
progress: crossfade.progress,
|
|
41386
|
-
easedProgress:
|
|
41413
|
+
easedProgress: chunkHSGJFCVJ_cjs.applyEasing(crossfade.progress, crossfade.easing ?? "linear"),
|
|
41387
41414
|
duration: crossfade.duration,
|
|
41388
41415
|
easing: crossfade.easing,
|
|
41389
41416
|
pauseWhenExiting: crossfade.pauseWhenExiting
|
|
@@ -53000,7 +53027,7 @@ var eventTraitHandler = {
|
|
|
53000
53027
|
name: "events",
|
|
53001
53028
|
defaultConfig: {},
|
|
53002
53029
|
onAttach(node, config, _context) {
|
|
53003
|
-
const bus =
|
|
53030
|
+
const bus = chunkHSGJFCVJ_cjs.getSharedEventBus();
|
|
53004
53031
|
const nodeId = node.id;
|
|
53005
53032
|
const ids = [];
|
|
53006
53033
|
if (config.listen) {
|
|
@@ -53019,7 +53046,7 @@ var eventTraitHandler = {
|
|
|
53019
53046
|
}
|
|
53020
53047
|
},
|
|
53021
53048
|
onDetach(node, config, _context) {
|
|
53022
|
-
const bus =
|
|
53049
|
+
const bus = chunkHSGJFCVJ_cjs.getSharedEventBus();
|
|
53023
53050
|
const nodeId = node.id;
|
|
53024
53051
|
const ids = nodeListenerIds.get(nodeId) || [];
|
|
53025
53052
|
for (const id of ids) bus.off(id);
|
|
@@ -55375,6 +55402,19 @@ var discordHandler = {
|
|
|
55375
55402
|
}
|
|
55376
55403
|
};
|
|
55377
55404
|
|
|
55405
|
+
// src/traits/unwired.ts
|
|
55406
|
+
function emitUnwired(context, errorEvent, detail) {
|
|
55407
|
+
const payload = {
|
|
55408
|
+
ok: false,
|
|
55409
|
+
error: "not_implemented",
|
|
55410
|
+
capability: detail.capability,
|
|
55411
|
+
reason: "trait declared but its backend is not wired \u2014 no external effect was performed"
|
|
55412
|
+
};
|
|
55413
|
+
if (detail.wiring) payload.wiring = detail.wiring;
|
|
55414
|
+
if (detail.requested) payload.requested = detail.requested;
|
|
55415
|
+
context.emit?.(errorEvent, payload);
|
|
55416
|
+
}
|
|
55417
|
+
|
|
55378
55418
|
// src/traits/MqttPubTrait.ts
|
|
55379
55419
|
var mqttPubHandler = {
|
|
55380
55420
|
name: "mqtt_pub",
|
|
@@ -55392,10 +55432,10 @@ var mqttPubHandler = {
|
|
|
55392
55432
|
if (!state) return;
|
|
55393
55433
|
if ((typeof event === "string" ? event : event.type) === "mqtt:publish") {
|
|
55394
55434
|
state.published++;
|
|
55395
|
-
context
|
|
55396
|
-
|
|
55397
|
-
|
|
55398
|
-
qos: event.qos ?? config.default_qos
|
|
55435
|
+
emitUnwired(context, "mqtt:error", {
|
|
55436
|
+
capability: "mqtt",
|
|
55437
|
+
wiring: "mqtt npm client + persistent broker connection + QoS 1/2 PUBACK",
|
|
55438
|
+
requested: { topic: event.topic, qos: event.qos ?? config.default_qos }
|
|
55399
55439
|
});
|
|
55400
55440
|
}
|
|
55401
55441
|
}
|
|
@@ -56478,11 +56518,10 @@ var stripeHandler = {
|
|
|
56478
56518
|
if (t === "stripe:charge") {
|
|
56479
56519
|
state.charges++;
|
|
56480
56520
|
state.totalAmount += event.amount ?? 0;
|
|
56481
|
-
context
|
|
56482
|
-
|
|
56483
|
-
|
|
56484
|
-
currency: config.currency,
|
|
56485
|
-
customerId: event.customerId
|
|
56521
|
+
emitUnwired(context, "stripe:error", {
|
|
56522
|
+
capability: "stripe",
|
|
56523
|
+
wiring: "Stripe SDK + vault secret_key + per-charge idempotency key",
|
|
56524
|
+
requested: { amount: event.amount, currency: config.currency, customerId: event.customerId }
|
|
56486
56525
|
});
|
|
56487
56526
|
} else if (t === "stripe:get_stats") {
|
|
56488
56527
|
context.emit?.("stripe:stats", {
|
|
@@ -57775,10 +57814,10 @@ var s3UploadHandler = {
|
|
|
57775
57814
|
if ((typeof event === "string" ? event : event.type) === "s3:upload") {
|
|
57776
57815
|
state.uploads++;
|
|
57777
57816
|
state.totalBytes += event.size ?? 0;
|
|
57778
|
-
context
|
|
57779
|
-
|
|
57780
|
-
|
|
57781
|
-
|
|
57817
|
+
emitUnwired(context, "s3:error", {
|
|
57818
|
+
capability: "s3",
|
|
57819
|
+
wiring: "@aws-sdk/client-s3 (or MinIO/R2) + credentials + multipart for large files",
|
|
57820
|
+
requested: { key: event.key, bucket: event.bucket ?? config.bucket }
|
|
57782
57821
|
});
|
|
57783
57822
|
}
|
|
57784
57823
|
}
|
|
@@ -57977,11 +58016,10 @@ var restEndpointHandler = {
|
|
|
57977
58016
|
break;
|
|
57978
58017
|
case "rest:request":
|
|
57979
58018
|
state.requests++;
|
|
57980
|
-
context
|
|
57981
|
-
|
|
57982
|
-
|
|
57983
|
-
|
|
57984
|
-
requestCount: state.requests
|
|
58019
|
+
emitUnwired(context, "rest:error", {
|
|
58020
|
+
capability: "rest_endpoint",
|
|
58021
|
+
wiring: "express/fastify route dispatch to the registered handler",
|
|
58022
|
+
requested: { method: event.method, path: event.path }
|
|
57985
58023
|
});
|
|
57986
58024
|
break;
|
|
57987
58025
|
}
|
|
@@ -61185,7 +61223,7 @@ var VRTraitRegistry = class {
|
|
|
61185
61223
|
this.register(hapticHandler);
|
|
61186
61224
|
this.register(eyeTrackedHandler);
|
|
61187
61225
|
this.register(roadmapNodeHandler);
|
|
61188
|
-
this.register(
|
|
61226
|
+
this.register(chunkHSGJFCVJ_cjs.mitosisHandler);
|
|
61189
61227
|
this.register(formationControlHandler);
|
|
61190
61228
|
this.register(planeDetectionHandler);
|
|
61191
61229
|
this.register(meshDetectionHandler);
|
|
@@ -61356,8 +61394,8 @@ var VRTraitRegistry = class {
|
|
|
61356
61394
|
this.register(sseHandler);
|
|
61357
61395
|
this.register(modelLoadHandler);
|
|
61358
61396
|
this.register(inferenceHandler);
|
|
61359
|
-
this.register(
|
|
61360
|
-
this.register(
|
|
61397
|
+
this.register(chunkHSGJFCVJ_cjs.embeddingHandler);
|
|
61398
|
+
this.register(chunkHSGJFCVJ_cjs.jepObjectiveHandler);
|
|
61361
61399
|
this.register(fineTuneHandler);
|
|
61362
61400
|
this.register(vectorSearchHandler);
|
|
61363
61401
|
this.register(promptTemplateHandler);
|
|
@@ -61440,8 +61478,8 @@ var VRTraitRegistry = class {
|
|
|
61440
61478
|
this.register(trainingLoopHandler);
|
|
61441
61479
|
this.register(modelLoadHandler);
|
|
61442
61480
|
this.register(inferenceHandler);
|
|
61443
|
-
this.register(
|
|
61444
|
-
this.register(
|
|
61481
|
+
this.register(chunkHSGJFCVJ_cjs.embeddingHandler);
|
|
61482
|
+
this.register(chunkHSGJFCVJ_cjs.jepObjectiveHandler);
|
|
61445
61483
|
this.register(sqlQueryHandler);
|
|
61446
61484
|
this.register(ormEntityHandler);
|
|
61447
61485
|
this.register(offlineSyncHandler);
|
|
@@ -61493,7 +61531,7 @@ var VRTraitRegistry = class {
|
|
|
61493
61531
|
this.register(npcAIHandler);
|
|
61494
61532
|
this.register(objectTrackingHandler);
|
|
61495
61533
|
this.register(openXRHALHandler);
|
|
61496
|
-
this.register(
|
|
61534
|
+
this.register(chunkHSGJFCVJ_cjs.orbitalHandler);
|
|
61497
61535
|
this.register(partnerSDKHandler);
|
|
61498
61536
|
this.register(poseEstimationHandler);
|
|
61499
61537
|
this.register(ragKnowledgeHandler);
|
|
@@ -61712,6 +61750,7 @@ exports.DraftManager = DraftManager;
|
|
|
61712
61750
|
exports.ECSWorld = ECSWorld;
|
|
61713
61751
|
exports.EmotionDirectiveTrait = EmotionDirectiveTrait;
|
|
61714
61752
|
exports.EnvironmentalAudioSystem = EnvironmentalAudioSystem;
|
|
61753
|
+
exports.ExpressionParseError = ExpressionParseError;
|
|
61715
61754
|
exports.GEM_RESONANCE_ELEMENT_FREQUENCIES = GEM_RESONANCE_ELEMENT_FREQUENCIES;
|
|
61716
61755
|
exports.GOAPPlanner = GOAPPlanner;
|
|
61717
61756
|
exports.GOLDEN_ANGLE_DEG = GOLDEN_ANGLE_DEG;
|
|
@@ -61873,6 +61912,7 @@ exports.economyPrimitivesHandler = economyPrimitivesHandler;
|
|
|
61873
61912
|
exports.effectiveWeight = effectiveWeight;
|
|
61874
61913
|
exports.embeddingSearchHandler = embeddingSearchHandler;
|
|
61875
61914
|
exports.emissiveAt = emissiveAt;
|
|
61915
|
+
exports.emitUnwired = emitUnwired;
|
|
61876
61916
|
exports.emotionDirectiveHandler = emotionDirectiveHandler;
|
|
61877
61917
|
exports.emotionHandler = emotionHandler;
|
|
61878
61918
|
exports.emotionalVoiceHandler = emotionalVoiceHandler;
|
|
@@ -61881,6 +61921,7 @@ exports.environmentalAudioHandler = environmentalAudioHandler;
|
|
|
61881
61921
|
exports.evaluateAction = evaluateAction;
|
|
61882
61922
|
exports.evaluateAutonomyGuard = evaluateAutonomyGuard;
|
|
61883
61923
|
exports.evaluateCareEthicsTurn = evaluateCareEthicsTurn;
|
|
61924
|
+
exports.evaluateExpressionIR = evaluateExpressionIR;
|
|
61884
61925
|
exports.evolveProgramHandler = evolveProgramHandler;
|
|
61885
61926
|
exports.extractLotusGenesisAnchorHash = extractLotusGenesisAnchorHash;
|
|
61886
61927
|
exports.extractPayload = extractPayload;
|
|
@@ -62027,6 +62068,7 @@ exports.onboardingHandler = onboardingHandler;
|
|
|
62027
62068
|
exports.openXRHALHandler = openXRHALHandler;
|
|
62028
62069
|
exports.parseCRDTRoomEntityConfig = parseCRDTRoomEntityConfig;
|
|
62029
62070
|
exports.parseCRDTRoomTraitConfig = parseCRDTRoomTraitConfig;
|
|
62071
|
+
exports.parseExpressionToIR = parseExpressionToIR;
|
|
62030
62072
|
exports.partnerSDKHandler = partnerSDKHandler;
|
|
62031
62073
|
exports.passthroughCameraHandler = passthroughCameraHandler;
|
|
62032
62074
|
exports.patrolHandler = patrolHandler;
|
|
@@ -62148,5 +62190,5 @@ exports.withNegotiation = withNegotiation;
|
|
|
62148
62190
|
exports.worldPortalHandler = worldPortalHandler;
|
|
62149
62191
|
exports.wotThingHandler = wotThingHandler;
|
|
62150
62192
|
exports.zkPrivateHandler = zkPrivateHandler;
|
|
62151
|
-
//# sourceMappingURL=chunk-
|
|
62152
|
-
//# sourceMappingURL=chunk-
|
|
62193
|
+
//# sourceMappingURL=chunk-X5ZLSPU2.cjs.map
|
|
62194
|
+
//# sourceMappingURL=chunk-X5ZLSPU2.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ASTNodePool } from './chunk-2MQKNDNH.js';
|
|
2
2
|
import { MATERIAL_PROPERTIES_VISUALS, SURFACE_TEXTURE_VISUALS, LIGHTING_VISUALS, GEMS_MINERALS_VISUALS, FABRIC_CLOTH_VISUALS, VISUAL_EFFECTS_VISUALS, AGE_CONDITION_VISUALS, WATER_FLUID_VISUALS, WEATHER_PHENOMENA_VISUALS, EMOTION_MOOD_VISUALS, SIZE_SCALE_VISUALS, ENVIRONMENTAL_BIOME_VISUALS, MAGIC_FANTASY_VISUALS, SCIFI_TECHNOLOGY_VISUALS, CREATURES_MYTHICAL_VISUALS, NATURE_LIFE_VISUALS, FURNITURE_DECOR_VISUALS, CONSTRUCTION_BUILDING_VISUALS, CONTAINERS_STORAGE_VISUALS, SHAPE_FORM_VISUALS, ANIMALS_VISUALS, MARITIME_NAVAL_VISUALS, TIME_PERIOD_VISUALS, ACCESSIBILITY_VISUALS, ACCESSIBILITY_EXTENDED_VISUALS, ARCHITECTURE_REALESTATE_VISUALS, AUDIO_VISUALS, COOKING_FOOD_VISUALS, CORE_VR_INTERACTION_VISUALS, DATA_VISUALIZATION_VISUALS, PERCEPTUAL_COLOR_VISUALS, EDUCATION_LEARNING_VISUALS, ENVIRONMENT_INPUT_VISUALS, GAME_MECHANICS_VISUALS, GEOSPATIAL_WEB3_VISUALS, HEALTHCARE_MEDICAL_VISUALS, HUMANOID_AVATAR_VISUALS, INTELLIGENCE_BEHAVIOR_VISUALS, INTEROP_COPRESENCE_VISUALS, IOT_AUTONOMOUS_AGENTS_VISUALS, LOCOMOTION_MOVEMENT_VISUALS, MEASUREMENT_SENSING_VISUALS, MEDIA_ANALYTICS_VISUALS, MULTISENSORY_HAPTIC_VISUALS, MUSICAL_SOUND_VISUALS, MUSIC_PERFORMANCE_VISUALS, NARRATIVE_STORYTELLING_VISUALS, NETWORKING_AI_VISUALS, NPC_ROLES_VISUALS, OBJECT_INTERACTION_VISUALS, PARSER_CORE_UI_VISUALS, PHYSICAL_AFFORDANCES_VISUALS, PHYSICS_EXPANSION_VISUALS, PROCEDURAL_GENERATION_VISUALS, RESOURCE_GATHERING_VISUALS, SAFETY_BOUNDARIES_VISUALS, SIGNS_COMMUNICATION_VISUALS, SIMPLE_MODIFIERS_VISUALS, SOCIAL_COMMERCE_VISUALS, SOCIAL_EFFECTS_VISUALS, SPORTS_FITNESS_VISUALS, STATE_PERSISTENCE_VISUALS, TRANSPORTATION_VEHICLES_VISUALS, VOLUMETRIC_WEBGPU_VISUALS, WEATHER_PARTICLES_VISUALS, XR_PLATFORM_VISUALS } from './chunk-6TRX6AR2.js';
|
|
3
|
-
import { TraitVisualRegistry, TraitCompositor } from './chunk-
|
|
3
|
+
import { TraitVisualRegistry, TraitCompositor } from './chunk-Z5V3KA7L.js';
|
|
4
4
|
import { createBotanicalLotusRenderProfile, buildLotusPetalMaterialSpec, LOTUS_PETAL_UNIFORM_BINDINGS, buildLotusPetalGeometryData, lotusPetalGeometryParamsFromProfile, buildLotusFlowerPlacements, buildLotusSceneScaffold } from './chunk-VKCTYLDN.js';
|
|
5
5
|
import { ProvenanceSemiring } from './chunk-DQRJ5RJG.js';
|
|
6
6
|
import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-DJNH4HFW.js';
|
|
7
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileSimulationBlock, simulationToR3F, compileWeatherBlock, weatherToR3F, compileAudioSourceBlock, audioSourceToR3F, compilePostProcessingBlock, postProcessingToR3F, compileParticleBlock, particlesToR3F, compilePhysicsBlock, physicsToR3F, compileMaterialBlock, materialToR3F, compileProceduralBlock } from './chunk-
|
|
7
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileSimulationBlock, simulationToR3F, compileWeatherBlock, weatherToR3F, compileAudioSourceBlock, audioSourceToR3F, compilePostProcessingBlock, postProcessingToR3F, compileParticleBlock, particlesToR3F, compilePhysicsBlock, physicsToR3F, compileMaterialBlock, materialToR3F, compileProceduralBlock } from './chunk-TW2AH2ZS.js';
|
|
8
8
|
import { init_PerceptualColorPass, applyPerceptualColorPass } from './chunk-UCVZXQ63.js';
|
|
9
|
-
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError, escapeStringValue } from './chunk-
|
|
9
|
+
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError, escapeStringValue } from './chunk-QC3CAVFN.js';
|
|
10
10
|
import { mulberry32 } from './chunk-GLEJ2TLS.js';
|
|
11
11
|
|
|
12
12
|
// src/compiler/SceneIRCompiler.ts
|
|
@@ -4713,5 +4713,5 @@ var SceneIRCompiler = class {
|
|
|
4713
4713
|
};
|
|
4714
4714
|
|
|
4715
4715
|
export { ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, SceneIRCompiler, UI_COMPONENT_PRESETS, registerAllPresets };
|
|
4716
|
-
//# sourceMappingURL=chunk-
|
|
4717
|
-
//# sourceMappingURL=chunk-
|
|
4716
|
+
//# sourceMappingURL=chunk-X727CQ7X.js.map
|
|
4717
|
+
//# sourceMappingURL=chunk-X727CQ7X.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCMEINO5I_cjs = require('./chunk-CMEINO5I.cjs');
|
|
4
4
|
var ans = require('@holoscript/core-types/ans');
|
|
5
5
|
|
|
6
6
|
// src/compiler/ContextCompiler.ts
|
|
7
|
-
|
|
7
|
+
chunkCMEINO5I_cjs.init_CompilerBase();
|
|
8
8
|
var BANNED_DEFAULT_PATTERNS = [
|
|
9
9
|
{
|
|
10
10
|
pattern: /\bgit\s+add\s+(?:-A|--all|\.)(?=\s|$)/i,
|
|
@@ -49,7 +49,7 @@ var KNOWN_DIAMOND_IDS = /* @__PURE__ */ new Set([
|
|
|
49
49
|
// Add more as graduate.py promotes - verify against D:/GOLD/INDEX.md.
|
|
50
50
|
]);
|
|
51
51
|
var DEFAULT_FLUENT_PROSE_CHARS = 150;
|
|
52
|
-
var ContextCompiler = class extends
|
|
52
|
+
var ContextCompiler = class extends chunkCMEINO5I_cjs.CompilerBase {
|
|
53
53
|
constructor(options = {}) {
|
|
54
54
|
super();
|
|
55
55
|
this.compilerName = "ContextCompiler";
|
|
@@ -2154,5 +2154,5 @@ function toCursorSlug(name) {
|
|
|
2154
2154
|
exports.ContextCompileError = ContextCompileError;
|
|
2155
2155
|
exports.ContextCompiler = ContextCompiler;
|
|
2156
2156
|
exports.createContextCompiler = createContextCompiler;
|
|
2157
|
-
//# sourceMappingURL=chunk-
|
|
2158
|
-
//# sourceMappingURL=chunk-
|
|
2157
|
+
//# sourceMappingURL=chunk-XHZYS4QO.cjs.map
|
|
2158
|
+
//# sourceMappingURL=chunk-XHZYS4QO.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkR75BSDH7_cjs = require('./chunk-R75BSDH7.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkCMEINO5I_cjs = require('./chunk-CMEINO5I.cjs');
|
|
5
5
|
var chunkQ47JEE2C_cjs = require('./chunk-Q47JEE2C.cjs');
|
|
6
6
|
var crypto = require('crypto');
|
|
7
7
|
|
|
@@ -727,7 +727,7 @@ var ImportResolver = class {
|
|
|
727
727
|
throw new Error(`File not found: '${canonicalPath}' (imported from '${importedBy}')`);
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
const { HoloScriptPlusParser } = await import('./HoloScriptPlusParser-
|
|
730
|
+
const { HoloScriptPlusParser } = await import('./HoloScriptPlusParser-URSIBEAW.cjs');
|
|
731
731
|
const parser = new HoloScriptPlusParser({ enableTypeScriptImports: true });
|
|
732
732
|
const result = parser.parse(source);
|
|
733
733
|
if (!result.success && result.errors.length > 0) {
|
|
@@ -1268,8 +1268,8 @@ function createSemanticCache(options) {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
1270
|
// src/compiler/IncrementalCompiler.ts
|
|
1271
|
-
|
|
1272
|
-
|
|
1271
|
+
chunkCMEINO5I_cjs.init_AgentRBAC();
|
|
1272
|
+
chunkCMEINO5I_cjs.init_CompilerBase();
|
|
1273
1273
|
chunkQ47JEE2C_cjs.init_safeJsonParse();
|
|
1274
1274
|
function hashContent(content) {
|
|
1275
1275
|
let hash = 0;
|
|
@@ -1772,7 +1772,7 @@ var IncrementalCompiler = class _IncrementalCompiler {
|
|
|
1772
1772
|
*/
|
|
1773
1773
|
validateAccess(agentToken) {
|
|
1774
1774
|
if (!agentToken) return;
|
|
1775
|
-
const rbac =
|
|
1775
|
+
const rbac = chunkCMEINO5I_cjs.getRBAC();
|
|
1776
1776
|
const decision = rbac.checkAccess({
|
|
1777
1777
|
token: agentToken,
|
|
1778
1778
|
resourceType: "ast" /* AST */,
|
|
@@ -1997,7 +1997,7 @@ function deserializeCache(json) {
|
|
|
1997
1997
|
}
|
|
1998
1998
|
return compiler;
|
|
1999
1999
|
}
|
|
2000
|
-
var UnauthorizedIncrementalCompilerAccessError = class extends
|
|
2000
|
+
var UnauthorizedIncrementalCompilerAccessError = class extends chunkCMEINO5I_cjs.UnauthorizedCompilerAccessError {
|
|
2001
2001
|
constructor(decision, compilerName) {
|
|
2002
2002
|
super(decision, "incremental compilation", compilerName);
|
|
2003
2003
|
this.name = "UnauthorizedIncrementalCompilerAccessError";
|
|
@@ -2011,5 +2011,5 @@ exports.createIncrementalCompiler = createIncrementalCompiler;
|
|
|
2011
2011
|
exports.deserializeCache = deserializeCache;
|
|
2012
2012
|
exports.globalTraitGraph = globalTraitGraph;
|
|
2013
2013
|
exports.serializeCache = serializeCache;
|
|
2014
|
-
//# sourceMappingURL=chunk-
|
|
2015
|
-
//# sourceMappingURL=chunk-
|
|
2014
|
+
//# sourceMappingURL=chunk-XRQCTTDC.cjs.map
|
|
2015
|
+
//# sourceMappingURL=chunk-XRQCTTDC.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToSDF, compileMaterialBlock, materialToSDF } from './chunk-
|
|
2
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToSDF, compileMaterialBlock, materialToSDF } from './chunk-TW2AH2ZS.js';
|
|
2
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QC3CAVFN.js';
|
|
3
3
|
import { __export, __esm } from './chunk-W4GABFCR.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
5
5
|
|
|
@@ -608,5 +608,5 @@ ${layers}`;
|
|
|
608
608
|
});
|
|
609
609
|
|
|
610
610
|
export { SDFCompiler, SDFCompiler_default, SDFCompiler_exports, init_SDFCompiler };
|
|
611
|
-
//# sourceMappingURL=chunk-
|
|
612
|
-
//# sourceMappingURL=chunk-
|
|
611
|
+
//# sourceMappingURL=chunk-YBIHSN55.js.map
|
|
612
|
+
//# sourceMappingURL=chunk-YBIHSN55.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToUSD, compileAudioSourceBlock, audioSourceToUSD, compilePostProcessingBlock, postProcessingToUSD, compileParticleBlock, particlesToUSD, compilePhysicsBlock, physicsToURDF, compileMaterialBlock, materialToUSD } from './chunk-
|
|
2
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToUSD, compileAudioSourceBlock, audioSourceToUSD, compilePostProcessingBlock, postProcessingToUSD, compileParticleBlock, particlesToUSD, compilePhysicsBlock, physicsToURDF, compileMaterialBlock, materialToUSD } from './chunk-TW2AH2ZS.js';
|
|
2
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QC3CAVFN.js';
|
|
3
3
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
4
4
|
|
|
5
5
|
// src/compiler/USDPhysicsCompiler.ts
|
|
@@ -886,5 +886,5 @@ function compileForIsaacSim(composition, options) {
|
|
|
886
886
|
}
|
|
887
887
|
|
|
888
888
|
export { USDPhysicsCompiler, compileForIsaacSim, compileToUSDPhysics };
|
|
889
|
-
//# sourceMappingURL=chunk-
|
|
890
|
-
//# sourceMappingURL=chunk-
|
|
889
|
+
//# sourceMappingURL=chunk-Z574GVI3.js.map
|
|
890
|
+
//# sourceMappingURL=chunk-Z574GVI3.js.map
|
|
@@ -439,5 +439,5 @@ var TraitCompositor = class {
|
|
|
439
439
|
};
|
|
440
440
|
|
|
441
441
|
export { COMPOSITION_RULES, TraitCompositor, TraitVisualRegistry, VISUAL_LAYER_PRIORITY };
|
|
442
|
-
//# sourceMappingURL=chunk-
|
|
443
|
-
//# sourceMappingURL=chunk-
|
|
442
|
+
//# sourceMappingURL=chunk-Z5V3KA7L.js.map
|
|
443
|
+
//# sourceMappingURL=chunk-Z5V3KA7L.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkTZCFKZ6Z_cjs = require('./chunk-TZCFKZ6Z.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkIYK6LMQ7_cjs = require('./chunk-IYK6LMQ7.cjs');
|
|
5
|
+
var chunkCMEINO5I_cjs = require('./chunk-CMEINO5I.cjs');
|
|
6
6
|
var chunkZHPMP447_cjs = require('./chunk-ZHPMP447.cjs');
|
|
7
7
|
var ans = require('@holoscript/core-types/ans');
|
|
8
8
|
|
|
@@ -14,10 +14,10 @@ chunkZHPMP447_cjs.__export(OpenXRCompiler_exports, {
|
|
|
14
14
|
exports.OpenXRCompiler = void 0;
|
|
15
15
|
var init_OpenXRCompiler = chunkZHPMP447_cjs.__esm({
|
|
16
16
|
"src/compiler/OpenXRCompiler.ts"() {
|
|
17
|
-
|
|
17
|
+
chunkCMEINO5I_cjs.init_CompilerBase();
|
|
18
18
|
chunkTZCFKZ6Z_cjs.init_PlatformConditionalCompilerMixin();
|
|
19
|
-
|
|
20
|
-
exports.OpenXRCompiler = class extends
|
|
19
|
+
chunkIYK6LMQ7_cjs.init_DomainBlockCompilerMixin();
|
|
20
|
+
exports.OpenXRCompiler = class extends chunkCMEINO5I_cjs.CompilerBase {
|
|
21
21
|
constructor(options = {}) {
|
|
22
22
|
super();
|
|
23
23
|
this.compilerName = "OpenXRCompiler";
|
|
@@ -136,32 +136,32 @@ var init_OpenXRCompiler = chunkZHPMP447_cjs.__esm({
|
|
|
136
136
|
if (domainBlocks.length > 0) {
|
|
137
137
|
this.emit("");
|
|
138
138
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
139
|
-
const compiled =
|
|
139
|
+
const compiled = chunkIYK6LMQ7_cjs.compileDomainBlocks(
|
|
140
140
|
// @ts-expect-error During migration
|
|
141
141
|
domainBlocks,
|
|
142
142
|
{
|
|
143
143
|
material: (block) => {
|
|
144
|
-
const m =
|
|
144
|
+
const m = chunkIYK6LMQ7_cjs.compileMaterialBlock(block);
|
|
145
145
|
return `// Material: "${this.escapeStringValue(m.name, "TypeScript")}" type=${m.type} baseColor=${m.baseColor || "none"} roughness=${m.roughness ?? "default"} metallic=${m.metallic ?? "default"}`;
|
|
146
146
|
},
|
|
147
147
|
physics: (block) => {
|
|
148
|
-
const p =
|
|
148
|
+
const p = chunkIYK6LMQ7_cjs.compilePhysicsBlock(block);
|
|
149
149
|
return `// Physics: ${p.keyword} "${p.name || ""}" colliders=${p.colliders?.length || 0} rigidbody=${!!p.rigidbody}`;
|
|
150
150
|
},
|
|
151
151
|
vfx: (block) => {
|
|
152
|
-
const ps =
|
|
152
|
+
const ps = chunkIYK6LMQ7_cjs.compileParticleBlock(block);
|
|
153
153
|
return `// Particles: "${this.escapeStringValue(ps.name, "TypeScript")}" rate=${ps.properties.rate || "default"} modules=${ps.modules.length}`;
|
|
154
154
|
},
|
|
155
155
|
postfx: (block) => {
|
|
156
|
-
const pp =
|
|
156
|
+
const pp = chunkIYK6LMQ7_cjs.compilePostProcessingBlock(block);
|
|
157
157
|
return `// PostFX: ${pp.keyword} effects=[${pp.effects.map((e) => e.type).join(", ")}]`;
|
|
158
158
|
},
|
|
159
159
|
audio: (block) => {
|
|
160
|
-
const a =
|
|
160
|
+
const a = chunkIYK6LMQ7_cjs.compileAudioSourceBlock(block);
|
|
161
161
|
return `// Audio: "${this.escapeStringValue(a.name, "TypeScript")}" (${a.keyword}) clip=${a.properties.clip || "none"}`;
|
|
162
162
|
},
|
|
163
163
|
weather: (block) => {
|
|
164
|
-
const w =
|
|
164
|
+
const w = chunkIYK6LMQ7_cjs.compileWeatherBlock(block);
|
|
165
165
|
return `// Weather: ${w.keyword} layers=[${w.layers.map((l) => l.type).join(", ")}]`;
|
|
166
166
|
}
|
|
167
167
|
},
|
|
@@ -1045,5 +1045,5 @@ var init_OpenXRCompiler = chunkZHPMP447_cjs.__esm({
|
|
|
1045
1045
|
|
|
1046
1046
|
exports.OpenXRCompiler_exports = OpenXRCompiler_exports;
|
|
1047
1047
|
exports.init_OpenXRCompiler = init_OpenXRCompiler;
|
|
1048
|
-
//# sourceMappingURL=chunk-
|
|
1049
|
-
//# sourceMappingURL=chunk-
|
|
1048
|
+
//# sourceMappingURL=chunk-ZHW6TDZ6.cjs.map
|
|
1049
|
+
//# sourceMappingURL=chunk-ZHW6TDZ6.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-DJNH4HFW.js';
|
|
2
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToUnity, compileInputBlock, navigationToUnity, compileNavigationBlock, renderingToUnity, compileRenderingBlock, proceduralToUnity, compileProceduralBlock, web3ToUnity, compileWeb3Block, architectureToUnity, compileArchitectureBlock, musicToUnity, compileMusicBlock, educationToUnity, compileEducationBlock, datavizToUnity, compileDataVizBlock, iotToUnity, compileIoTBlock, compileRoboticsBlock, roboticsToUnity, compileHealthcareBlock, healthcareToUnity, compilePaymentBlock, paymentToUnity, compileNarrativeBlock, narrativeToUnity, compileWeatherBlock, weatherToUnity, compileAudioSourceBlock, audioSourceToUnity, compilePostProcessingBlock, postProcessingToUnity, compileParticleBlock, particlesToUnity, compilePhysicsBlock, physicsToUnity, compileMaterialBlock, materialToUnity } from './chunk-
|
|
3
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
2
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToUnity, compileInputBlock, navigationToUnity, compileNavigationBlock, renderingToUnity, compileRenderingBlock, proceduralToUnity, compileProceduralBlock, web3ToUnity, compileWeb3Block, architectureToUnity, compileArchitectureBlock, musicToUnity, compileMusicBlock, educationToUnity, compileEducationBlock, datavizToUnity, compileDataVizBlock, iotToUnity, compileIoTBlock, compileRoboticsBlock, roboticsToUnity, compileHealthcareBlock, healthcareToUnity, compilePaymentBlock, paymentToUnity, compileNarrativeBlock, narrativeToUnity, compileWeatherBlock, weatherToUnity, compileAudioSourceBlock, audioSourceToUnity, compilePostProcessingBlock, postProcessingToUnity, compileParticleBlock, particlesToUnity, compilePhysicsBlock, physicsToUnity, compileMaterialBlock, materialToUnity } from './chunk-TW2AH2ZS.js';
|
|
3
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QC3CAVFN.js';
|
|
4
4
|
import { __export, __esm } from './chunk-W4GABFCR.js';
|
|
5
5
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
6
6
|
|
|
@@ -762,5 +762,5 @@ var init_UnityCompiler = __esm({
|
|
|
762
762
|
});
|
|
763
763
|
|
|
764
764
|
export { UnityCompiler, UnityCompiler_exports, init_UnityCompiler };
|
|
765
|
-
//# sourceMappingURL=chunk-
|
|
766
|
-
//# sourceMappingURL=chunk-
|
|
765
|
+
//# sourceMappingURL=chunk-ZPHCTPR6.js.map
|
|
766
|
+
//# sourceMappingURL=chunk-ZPHCTPR6.js.map
|