@holoscript/core 6.1.3 → 8.0.0
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/dist/{GLTFPipeline-SFIORFJU.js → GLTFPipeline-276GE64O.js} +6 -6
- package/dist/{GLTFPipeline-VNNDPONV.cjs → GLTFPipeline-M7WSSJED.cjs} +10 -10
- package/dist/HoloScriptRuntime-3URVTKPJ.js +10 -0
- package/dist/HoloScriptRuntime-SXEAEU2N.cjs +19 -0
- package/dist/{chunk-2B7WVIDZ.js → chunk-23J755AR.js} +4 -4
- package/dist/{chunk-HANL7K2Q.cjs → chunk-253GBQZY.cjs} +38 -38
- package/dist/{chunk-KQTPCYTG.cjs → chunk-25IQCHTO.cjs} +38 -38
- package/dist/{chunk-V73NPPTM.cjs → chunk-3AO425MZ.cjs} +20 -20
- package/dist/{chunk-6S6TKNEA.cjs → chunk-3HYYMEXI.cjs} +279 -124
- package/dist/{chunk-IHESJZSW.js → chunk-3NFFOWGG.js} +6 -209
- package/dist/{chunk-AO4I2Z7M.cjs → chunk-3WZEJHUQ.cjs} +7 -7
- package/dist/{chunk-IRWWS72C.cjs → chunk-4V2E7U7Q.cjs} +7 -7
- package/dist/{chunk-ER4GATIU.js → chunk-62FBK3B7.js} +6 -6
- package/dist/{chunk-L63H3SQ4.cjs → chunk-6DPSFNJB.cjs} +19 -19
- package/dist/{chunk-XFXGA5IW.cjs → chunk-73FELZVJ.cjs} +14 -14
- package/dist/{chunk-QWNQ523V.cjs → chunk-7CUEMLDZ.cjs} +47 -47
- package/dist/{chunk-52ULD552.cjs → chunk-7HIASF7S.cjs} +13 -13
- package/dist/{chunk-U4NBQJBY.js → chunk-ANXZFVY2.js} +3 -3
- package/dist/{chunk-NHHVLKV3.js → chunk-AYBXB26F.js} +5 -5
- package/dist/{chunk-KX76JUQY.js → chunk-B4TFTDG4.js} +3 -3
- package/dist/{chunk-OEFY723R.js → chunk-BE4UJCQT.js} +4 -4
- package/dist/{chunk-DIL6DDDN.cjs → chunk-C2A5DUMF.cjs} +38 -38
- package/dist/{chunk-H3MGK7TX.cjs → chunk-CXFDRBQU.cjs} +10 -10
- package/dist/{chunk-4SY77NA4.cjs → chunk-D54CNIAJ.cjs} +2 -2
- package/dist/{chunk-22W6NGYN.js → chunk-DAJXW4KX.js} +3 -3
- package/dist/{chunk-RUXGBKPS.cjs → chunk-EUDQTK7N.cjs} +15 -222
- package/dist/{chunk-SXYLMIGP.js → chunk-F43YAA34.js} +3 -3
- package/dist/{chunk-H5DZIHJP.cjs → chunk-FYSPZT4V.cjs} +7 -7
- package/dist/{chunk-TK74TR4H.js → chunk-GIOYPNTH.js} +36 -2
- package/dist/{chunk-2HLIGOKU.cjs → chunk-GQHQOPXZ.cjs} +36 -2
- package/dist/{chunk-BPICAGBV.cjs → chunk-GQT4TYKY.cjs} +35 -35
- package/dist/{chunk-QAVXL2IH.js → chunk-GYZE55MO.js} +3 -3
- package/dist/{chunk-77V4GTCA.js → chunk-H652NHX5.js} +78 -74
- package/dist/{chunk-KHPCJRI3.cjs → chunk-HINXWAOD.cjs} +14 -14
- package/dist/{chunk-W6P2GBHH.cjs → chunk-HZSPDCXV.cjs} +3 -3
- package/dist/{chunk-EMMC5CSQ.js → chunk-HZTDET3N.js} +4 -4
- package/dist/{chunk-5CKA5SXU.js → chunk-IPWSXCCN.js} +4 -4
- package/dist/{chunk-GQYKQSTC.cjs → chunk-IUTY5WQ2.cjs} +5 -5
- package/dist/{chunk-MSMIFMBL.js → chunk-IVSZDECV.js} +4 -4
- package/dist/{chunk-2A7FURVO.js → chunk-IZM5VQZD.js} +4 -4
- package/dist/{chunk-33XCOVE3.js → chunk-J6M4FPK5.js} +3 -3
- package/dist/{chunk-6KMK2UXT.cjs → chunk-JC5YBPSF.cjs} +5 -5
- package/dist/{chunk-W55Z7QIX.js → chunk-JCLBKPMX.js} +3 -3
- package/dist/{chunk-MXJ5SS53.cjs → chunk-JJBE3TIH.cjs} +10 -10
- package/dist/{chunk-HRODTEEO.js → chunk-JX7YL6ZE.js} +5 -5
- package/dist/{chunk-IVIA7K75.cjs → chunk-K4VVR7CN.cjs} +18 -18
- package/dist/{chunk-VSK7W3O5.cjs → chunk-KEFNV2WM.cjs} +16 -16
- package/dist/{chunk-HZCQO4JM.cjs → chunk-KH4CNH66.cjs} +4 -4
- package/dist/{chunk-6FGQNDR4.js → chunk-KJLB4OPV.js} +4 -4
- package/dist/{chunk-RMHC2VG7.cjs → chunk-KKP7JKN4.cjs} +6 -2
- package/dist/{chunk-OEV5RMZO.cjs → chunk-KQCN6AKJ.cjs} +5 -5
- package/dist/{chunk-7AD52FRS.cjs → chunk-KVRSTFNH.cjs} +14 -14
- package/dist/{chunk-ZKSS47EV.cjs → chunk-LICPB5HZ.cjs} +13 -13
- package/dist/{chunk-S5IFXW6E.js → chunk-MGE5Z4GS.js} +4 -4
- package/dist/{chunk-6L4VE27M.js → chunk-NBMHU6SW.js} +4 -4
- package/dist/{chunk-QCCBXSCE.js → chunk-NGKREZ36.js} +5 -5
- package/dist/{chunk-27MPVJVZ.cjs → chunk-NHWSN2SD.cjs} +21 -21
- package/dist/{chunk-XMWZG36H.js → chunk-NV4VMVXU.js} +3 -3
- package/dist/{chunk-Y3MWXQSB.cjs → chunk-NXZFOPVD.cjs} +19 -19
- package/dist/{chunk-ZUL5AVTX.cjs → chunk-OBIYPYYS.cjs} +5 -5
- package/dist/{chunk-ZXBZVXDW.js → chunk-OMXII44L.js} +3 -3
- package/dist/{chunk-MJVIRCUV.cjs → chunk-OR4Q2BGL.cjs} +18 -18
- package/dist/{chunk-6ASWLXXN.js → chunk-PHVRG4I2.js} +4 -4
- package/dist/{chunk-QTPMJRGS.js → chunk-QPSKHBJP.js} +6 -2
- package/dist/{chunk-VEXPG4WN.js → chunk-QXH7QDSZ.js} +3 -3
- package/dist/chunk-RARB3MBR.js +207 -0
- package/dist/{chunk-EOBB6A4B.js → chunk-RVBHAXFG.js} +231 -76
- package/dist/{chunk-XXZJEFKW.cjs → chunk-S3MDHNKB.cjs} +5 -5
- package/dist/{chunk-4UUKPCY4.js → chunk-S4W6Z2MN.js} +4 -4
- package/dist/{chunk-BVLP6D3Q.cjs → chunk-SJBGLS25.cjs} +5 -5
- package/dist/chunk-SMIWS6DE.cjs +212 -0
- package/dist/{chunk-R3IVNY6P.js → chunk-T2QCTZMO.js} +4 -4
- package/dist/{chunk-AIX25INK.cjs → chunk-TVHSPJ4N.cjs} +79 -75
- package/dist/{chunk-Z5XMPRNC.cjs → chunk-U44IKGG7.cjs} +30 -30
- package/dist/{chunk-OPZ7XDDI.js → chunk-UJXISJBN.js} +3 -3
- package/dist/{chunk-FXKTYFYA.js → chunk-UM6C3CGK.js} +4 -4
- package/dist/{chunk-LAOCQJ2M.js → chunk-UMABK6SI.js} +4 -4
- package/dist/{chunk-GN3KDX4W.js → chunk-V6MKC2FZ.js} +3 -3
- package/dist/{chunk-EDPQSGB3.cjs → chunk-W7VDOASB.cjs} +5 -5
- package/dist/{chunk-DMXC24WV.js → chunk-WJIHFLMJ.js} +2 -2
- package/dist/{chunk-UDMYRFDZ.js → chunk-WRKUDAZJ.js} +3 -3
- package/dist/{chunk-GCMWDSBZ.cjs → chunk-XIVIE43A.cjs} +5 -5
- package/dist/{chunk-UD3DSHZM.js → chunk-XKTPFXGA.js} +3 -3
- package/dist/{chunk-HGVXZDSK.cjs → chunk-XUUVDHIF.cjs} +7 -7
- package/dist/{chunk-5N54COB6.cjs → chunk-YN6V7R3L.cjs} +13 -13
- package/dist/{chunk-I2O7TW6B.js → chunk-ZBQXLH2L.js} +4 -4
- package/dist/{chunk-EOFNVCM6.js → chunk-ZU7NIRT6.js} +11 -11
- package/dist/{chunk-P7YIA5LN.js → chunk-ZZEI7MV4.js} +4 -4
- package/dist/compiler/agent-inference.cjs +6 -6
- package/dist/compiler/agent-inference.js +2 -2
- 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/ar.cjs +5 -5
- package/dist/compiler/ar.js +3 -3
- package/dist/compiler/babylon.cjs +5 -5
- package/dist/compiler/babylon.js +4 -4
- package/dist/compiler/business-quest.cjs +9 -9
- package/dist/compiler/business-quest.js +1 -1
- package/dist/compiler/context.cjs +5 -5
- package/dist/compiler/context.js +2 -2
- package/dist/compiler/domain-block-utils.cjs +151 -151
- 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 +182 -182
- package/dist/compiler/index.js +56 -56
- 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/multi-layer.cjs +7 -7
- package/dist/compiler/multi-layer.js +6 -6
- package/dist/compiler/openxr.cjs +5 -5
- package/dist/compiler/openxr.js +4 -4
- package/dist/compiler/playcanvas.cjs +5 -5
- package/dist/compiler/playcanvas.js +4 -4
- package/dist/compiler/r3f.cjs +9 -9
- package/dist/compiler/r3f.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/vrr.cjs +6 -6
- package/dist/compiler/vrr.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/debugger.cjs +7 -6
- package/dist/debugger.js +5 -4
- package/dist/entries/scripting.cjs +0 -13
- package/dist/entries/scripting.js +0 -1
- package/dist/index.cjs +1002 -881
- package/dist/index.js +506 -87
- package/dist/parser.cjs +5 -5
- package/dist/parser.js +1 -1
- package/dist/reconstruction/index.cjs +31 -31
- package/dist/reconstruction/index.js +2 -2
- package/dist/runtime.cjs +302 -4
- package/dist/runtime.d.ts +61 -0
- package/dist/runtime.js +25 -3
- package/dist/traits/index.cjs +450 -439
- package/dist/traits/index.js +24 -13
- package/package.json +20 -20
|
@@ -4,8 +4,8 @@ var chunkUOIGFQXC_cjs = require('./chunk-UOIGFQXC.cjs');
|
|
|
4
4
|
var chunk5S7RKFGR_cjs = require('./chunk-5S7RKFGR.cjs');
|
|
5
5
|
var chunkOIQYIIO3_cjs = require('./chunk-OIQYIIO3.cjs');
|
|
6
6
|
var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
|
|
8
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
9
9
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
10
10
|
|
|
11
11
|
// src/traits/visual/presets/hologram-media.visual.ts
|
|
@@ -755,10 +755,10 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
755
755
|
chunkOIQYIIO3_cjs.init_TraitCompositor();
|
|
756
756
|
chunk5S7RKFGR_cjs.init_ProvenanceSemiring();
|
|
757
757
|
init_visual();
|
|
758
|
-
|
|
758
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
759
759
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
760
|
-
|
|
761
|
-
|
|
760
|
+
chunkKKP7JKN4_cjs.init_AgentRBAC();
|
|
761
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
762
762
|
init_ObjectPool();
|
|
763
763
|
r3fNodePool = new exports.ASTNodePool(
|
|
764
764
|
() => ({ type: "", props: {} }),
|
|
@@ -2561,7 +2561,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2561
2561
|
constructor(options = {}) {
|
|
2562
2562
|
// ─── RBAC Enforcement ─────────────────────────────────────────────────
|
|
2563
2563
|
this.compilerName = "R3FCompiler";
|
|
2564
|
-
this.rbac =
|
|
2564
|
+
this.rbac = chunkKKP7JKN4_cjs.getRBAC();
|
|
2565
2565
|
this.qualityTier = options.qualityTier ?? "high";
|
|
2566
2566
|
this.tierScales = exports.QUALITY_TIER_SCALES[this.qualityTier];
|
|
2567
2567
|
this._defaultLighting = options.defaultLighting ?? true;
|
|
@@ -2592,7 +2592,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2592
2592
|
expectedWorkflowStep: "generate_assembly" /* GENERATE_ASSEMBLY */
|
|
2593
2593
|
});
|
|
2594
2594
|
if (!astDecision.allowed) {
|
|
2595
|
-
throw new
|
|
2595
|
+
throw new chunkKKP7JKN4_cjs.UnauthorizedCompilerAccessError(astDecision, "AST access", this.compilerName);
|
|
2596
2596
|
}
|
|
2597
2597
|
const codeDecision = this.rbac.checkAccess({
|
|
2598
2598
|
token: agentToken,
|
|
@@ -2601,7 +2601,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2601
2601
|
expectedWorkflowStep: "generate_assembly" /* GENERATE_ASSEMBLY */
|
|
2602
2602
|
});
|
|
2603
2603
|
if (!codeDecision.allowed) {
|
|
2604
|
-
throw new
|
|
2604
|
+
throw new chunkKKP7JKN4_cjs.UnauthorizedCompilerAccessError(codeDecision, "code generation", this.compilerName);
|
|
2605
2605
|
}
|
|
2606
2606
|
if (outputPath) {
|
|
2607
2607
|
const outputDecision = this.rbac.checkAccess({
|
|
@@ -2612,7 +2612,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2612
2612
|
expectedWorkflowStep: "serialize" /* SERIALIZE */
|
|
2613
2613
|
});
|
|
2614
2614
|
if (!outputDecision.allowed) {
|
|
2615
|
-
throw new
|
|
2615
|
+
throw new chunkKKP7JKN4_cjs.UnauthorizedCompilerAccessError(
|
|
2616
2616
|
outputDecision,
|
|
2617
2617
|
`output write to '${outputPath}'`,
|
|
2618
2618
|
this.compilerName
|
|
@@ -2762,15 +2762,15 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2762
2762
|
this.injectDefaultLighting(root);
|
|
2763
2763
|
const domainBlocks = ast.domainBlocks ?? [];
|
|
2764
2764
|
if (domainBlocks.length > 0) {
|
|
2765
|
-
const compiled =
|
|
2765
|
+
const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
2766
2766
|
domainBlocks,
|
|
2767
2767
|
{
|
|
2768
2768
|
material: (block) => {
|
|
2769
|
-
const mat =
|
|
2769
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
2770
2770
|
return {
|
|
2771
2771
|
type: "DomainBlockOutput",
|
|
2772
2772
|
props: {
|
|
2773
|
-
__raw:
|
|
2773
|
+
__raw: chunkXUUVDHIF_cjs.materialToR3F(mat, this.tierScales),
|
|
2774
2774
|
__domain: "material",
|
|
2775
2775
|
__name: mat.name
|
|
2776
2776
|
},
|
|
@@ -2778,11 +2778,11 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2778
2778
|
};
|
|
2779
2779
|
},
|
|
2780
2780
|
physics: (block) => {
|
|
2781
|
-
const phys =
|
|
2781
|
+
const phys = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
|
|
2782
2782
|
return {
|
|
2783
2783
|
type: "DomainBlockOutput",
|
|
2784
2784
|
props: {
|
|
2785
|
-
__raw:
|
|
2785
|
+
__raw: chunkXUUVDHIF_cjs.physicsToR3F(phys),
|
|
2786
2786
|
__domain: "physics",
|
|
2787
2787
|
__name: phys.name || phys.keyword
|
|
2788
2788
|
},
|
|
@@ -2790,11 +2790,11 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2790
2790
|
};
|
|
2791
2791
|
},
|
|
2792
2792
|
vfx: (block) => {
|
|
2793
|
-
const ps =
|
|
2793
|
+
const ps = chunkXUUVDHIF_cjs.compileParticleBlock(block);
|
|
2794
2794
|
return {
|
|
2795
2795
|
type: "DomainBlockOutput",
|
|
2796
2796
|
props: {
|
|
2797
|
-
__raw:
|
|
2797
|
+
__raw: chunkXUUVDHIF_cjs.particlesToR3F(ps, this.tierScales),
|
|
2798
2798
|
__domain: "vfx",
|
|
2799
2799
|
__name: ps.name
|
|
2800
2800
|
},
|
|
@@ -2802,11 +2802,11 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2802
2802
|
};
|
|
2803
2803
|
},
|
|
2804
2804
|
postfx: (block) => {
|
|
2805
|
-
const pp =
|
|
2805
|
+
const pp = chunkXUUVDHIF_cjs.compilePostProcessingBlock(block);
|
|
2806
2806
|
return {
|
|
2807
2807
|
type: "DomainBlockOutput",
|
|
2808
2808
|
props: {
|
|
2809
|
-
__raw:
|
|
2809
|
+
__raw: chunkXUUVDHIF_cjs.postProcessingToR3F(pp),
|
|
2810
2810
|
__domain: "postfx",
|
|
2811
2811
|
__name: pp.name || "PostProcessing"
|
|
2812
2812
|
},
|
|
@@ -2814,19 +2814,19 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2814
2814
|
};
|
|
2815
2815
|
},
|
|
2816
2816
|
audio: (block) => {
|
|
2817
|
-
const audio =
|
|
2817
|
+
const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
|
|
2818
2818
|
return {
|
|
2819
2819
|
type: "DomainBlockOutput",
|
|
2820
|
-
props: { __raw:
|
|
2820
|
+
props: { __raw: chunkXUUVDHIF_cjs.audioSourceToR3F(audio), __domain: "audio", __name: audio.name },
|
|
2821
2821
|
children: []
|
|
2822
2822
|
};
|
|
2823
2823
|
},
|
|
2824
2824
|
weather: (block) => {
|
|
2825
|
-
const weather =
|
|
2825
|
+
const weather = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
|
|
2826
2826
|
return {
|
|
2827
2827
|
type: "DomainBlockOutput",
|
|
2828
2828
|
props: {
|
|
2829
|
-
__raw:
|
|
2829
|
+
__raw: chunkXUUVDHIF_cjs.weatherToR3F(weather),
|
|
2830
2830
|
__domain: "weather",
|
|
2831
2831
|
__name: weather.name || "Weather"
|
|
2832
2832
|
},
|
|
@@ -2834,11 +2834,11 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2834
2834
|
};
|
|
2835
2835
|
},
|
|
2836
2836
|
simulation: (block) => {
|
|
2837
|
-
const sim =
|
|
2837
|
+
const sim = chunkXUUVDHIF_cjs.compileSimulationBlock(block);
|
|
2838
2838
|
return {
|
|
2839
2839
|
type: "DomainBlockOutput",
|
|
2840
2840
|
props: {
|
|
2841
|
-
__raw:
|
|
2841
|
+
__raw: chunkXUUVDHIF_cjs.simulationToR3F(sim),
|
|
2842
2842
|
__domain: "simulation",
|
|
2843
2843
|
__name: sim.name || "Simulation"
|
|
2844
2844
|
},
|
|
@@ -2907,7 +2907,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2907
2907
|
const group = this.createNode(
|
|
2908
2908
|
"group",
|
|
2909
2909
|
{},
|
|
2910
|
-
world.name ?
|
|
2910
|
+
world.name ? chunkKKP7JKN4_cjs.escapeStringValue(world.name, "JSX") : void 0
|
|
2911
2911
|
);
|
|
2912
2912
|
group.children = [...nodes, ...childNodes];
|
|
2913
2913
|
return [group];
|
|
@@ -2934,7 +2934,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2934
2934
|
const r3fNode = r3fNodePool.acquire();
|
|
2935
2935
|
r3fNode.type = type;
|
|
2936
2936
|
const rawId = node.id || node.name;
|
|
2937
|
-
r3fNode.id = rawId ?
|
|
2937
|
+
r3fNode.id = rawId ? chunkKKP7JKN4_cjs.escapeStringValue(rawId, "JSX") : void 0;
|
|
2938
2938
|
r3fNode.props = this.compileProperties(node, rawProps);
|
|
2939
2939
|
r3fNode.children = [];
|
|
2940
2940
|
r3fNode.traits = /* @__PURE__ */ new Map();
|
|
@@ -2969,7 +2969,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2969
2969
|
}
|
|
2970
2970
|
const root = r3fNodePool.acquire();
|
|
2971
2971
|
root.type = "group";
|
|
2972
|
-
root.id = composition.name ?
|
|
2972
|
+
root.id = composition.name ? chunkKKP7JKN4_cjs.escapeStringValue(composition.name, "JSX") : void 0;
|
|
2973
2973
|
root.props = {};
|
|
2974
2974
|
root.children = [];
|
|
2975
2975
|
root.traits = /* @__PURE__ */ new Map();
|
|
@@ -3116,7 +3116,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
3116
3116
|
}
|
|
3117
3117
|
const r3fNode = r3fNodePool.acquire();
|
|
3118
3118
|
r3fNode.type = type;
|
|
3119
|
-
r3fNode.id = light.name ?
|
|
3119
|
+
r3fNode.id = light.name ? chunkKKP7JKN4_cjs.escapeStringValue(light.name, "JSX") : void 0;
|
|
3120
3120
|
r3fNode.props = props;
|
|
3121
3121
|
r3fNode.children = [];
|
|
3122
3122
|
r3fNode.traits = /* @__PURE__ */ new Map();
|
|
@@ -3967,7 +3967,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
3967
3967
|
entries.push(this.createNode("TimelineEntry", entryProps));
|
|
3968
3968
|
}
|
|
3969
3969
|
}
|
|
3970
|
-
const safeName = timeline.name ?
|
|
3970
|
+
const safeName = timeline.name ? chunkKKP7JKN4_cjs.escapeStringValue(timeline.name, "JSX") : void 0;
|
|
3971
3971
|
const timelineNode = this.createNode(
|
|
3972
3972
|
"Timeline",
|
|
3973
3973
|
{ autoplay: timeline.autoplay, loop: timeline.loop },
|
|
@@ -3989,7 +3989,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
3989
3989
|
}
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
|
-
const safeName = audio.name ?
|
|
3992
|
+
const safeName = audio.name ? chunkKKP7JKN4_cjs.escapeStringValue(audio.name, "JSX") : void 0;
|
|
3993
3993
|
return this.createNode("Audio", props, safeName);
|
|
3994
3994
|
}
|
|
3995
3995
|
compileZoneBlock(zone) {
|
|
@@ -4008,7 +4008,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
4008
4008
|
})
|
|
4009
4009
|
);
|
|
4010
4010
|
}
|
|
4011
|
-
const safeName = zone.name ?
|
|
4011
|
+
const safeName = zone.name ? chunkKKP7JKN4_cjs.escapeStringValue(zone.name, "JSX") : void 0;
|
|
4012
4012
|
return this.createNode("Zone", props, safeName);
|
|
4013
4013
|
}
|
|
4014
4014
|
compileUIBlock(ui) {
|
|
@@ -4025,7 +4025,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
4025
4025
|
}
|
|
4026
4026
|
}
|
|
4027
4027
|
}
|
|
4028
|
-
const safeElName = el.name ?
|
|
4028
|
+
const safeElName = el.name ? chunkKKP7JKN4_cjs.escapeStringValue(el.name, "JSX") : void 0;
|
|
4029
4029
|
children.push(this.createNode("UIElement", elProps, safeElName));
|
|
4030
4030
|
}
|
|
4031
4031
|
}
|
|
@@ -4040,7 +4040,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
4040
4040
|
props[prop.key] = prop.value;
|
|
4041
4041
|
}
|
|
4042
4042
|
}
|
|
4043
|
-
const safeName = transition.name ?
|
|
4043
|
+
const safeName = transition.name ? chunkKKP7JKN4_cjs.escapeStringValue(transition.name, "JSX") : void 0;
|
|
4044
4044
|
return this.createNode("Transition", props, safeName);
|
|
4045
4045
|
}
|
|
4046
4046
|
compileConditionalBlock(cond, templateMap) {
|
|
@@ -4377,5 +4377,5 @@ exports.init_ObjectPool = init_ObjectPool;
|
|
|
4377
4377
|
exports.init_R3FCompiler = init_R3FCompiler;
|
|
4378
4378
|
exports.init_visual = init_visual;
|
|
4379
4379
|
exports.registerAllPresets = registerAllPresets;
|
|
4380
|
-
//# sourceMappingURL=chunk-
|
|
4381
|
-
//# sourceMappingURL=chunk-
|
|
4380
|
+
//# sourceMappingURL=chunk-GQT4TYKY.cjs.map
|
|
4381
|
+
//# sourceMappingURL=chunk-GQT4TYKY.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computeContentHash } from './chunk-4R6SBXDB.js';
|
|
2
|
-
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError } from './chunk-
|
|
2
|
+
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError } from './chunk-QPSKHBJP.js';
|
|
3
3
|
import { init_safeJsonParse, readJson } from './chunk-VVKVQZI6.js';
|
|
4
4
|
import { createHash } from 'crypto';
|
|
5
5
|
|
|
@@ -2003,5 +2003,5 @@ var UnauthorizedIncrementalCompilerAccessError = class extends UnauthorizedCompi
|
|
|
2003
2003
|
};
|
|
2004
2004
|
|
|
2005
2005
|
export { IncrementalCompiler, TraitDependencyGraph, UnauthorizedIncrementalCompilerAccessError, createIncrementalCompiler, deserializeCache, globalTraitGraph, serializeCache };
|
|
2006
|
-
//# sourceMappingURL=chunk-
|
|
2007
|
-
//# sourceMappingURL=chunk-
|
|
2006
|
+
//# sourceMappingURL=chunk-GYZE55MO.js.map
|
|
2007
|
+
//# sourceMappingURL=chunk-GYZE55MO.js.map
|
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
import { logger } from './chunk-PHENW4MQ.js';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
// src/traits/MitosisTrait.ts
|
|
4
|
+
var mitosisHandler = {
|
|
5
|
+
name: "mitosis",
|
|
6
|
+
defaultConfig: {
|
|
7
|
+
strategy: "collaborative",
|
|
8
|
+
max_children: 5,
|
|
9
|
+
auto_cleanup: true
|
|
10
|
+
},
|
|
11
|
+
onAttach(node, config, context) {
|
|
12
|
+
const state = {
|
|
13
|
+
parent_id: ("parent_id" in config ? config.parent_id : null) || null,
|
|
14
|
+
active_children: [],
|
|
15
|
+
tasks_delegated: 0,
|
|
16
|
+
completed_tasks: 0,
|
|
17
|
+
last_sync_time: Date.now()
|
|
18
|
+
};
|
|
19
|
+
node.__mitosisState = state;
|
|
20
|
+
context.emit?.("mitosis_init", {
|
|
21
|
+
nodeId: node.id,
|
|
22
|
+
strategy: config.strategy,
|
|
23
|
+
parent_id: state.parent_id
|
|
24
|
+
});
|
|
25
|
+
},
|
|
26
|
+
onDetach(node, config, context) {
|
|
27
|
+
const state = node.__mitosisState;
|
|
28
|
+
if (state && config.auto_cleanup) {
|
|
29
|
+
for (const childId of state.active_children) {
|
|
30
|
+
context.emit?.("mitosis_despawn_child", { childId });
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
delete node.__mitosisState;
|
|
34
|
+
},
|
|
35
|
+
onEvent(node, config, context, event) {
|
|
36
|
+
const state = node.__mitosisState;
|
|
37
|
+
if (!state) return;
|
|
38
|
+
if (event.type === "mitosis_spawned") {
|
|
39
|
+
const childId = event.childId;
|
|
40
|
+
const parentId = event.parentId;
|
|
41
|
+
if (node.id === parentId) {
|
|
42
|
+
state.active_children.push(childId);
|
|
43
|
+
state.tasks_delegated++;
|
|
44
|
+
context.emit?.("on_mitosis_spawned", { childId, parentId: node.id });
|
|
45
|
+
}
|
|
46
|
+
} else if (event.type === "mitosis_child_complete") {
|
|
47
|
+
const childId = "childId" in event ? event.childId : "";
|
|
48
|
+
const parentId = "parentId" in event ? event.parentId : "";
|
|
49
|
+
const result = "result" in event ? event.result : void 0;
|
|
50
|
+
if (node.id === parentId) {
|
|
51
|
+
state.completed_tasks++;
|
|
52
|
+
state.last_sync_time = Date.now();
|
|
53
|
+
context.emit?.("mitosis_synced", {
|
|
54
|
+
parentId: node.id,
|
|
55
|
+
childId,
|
|
56
|
+
result
|
|
57
|
+
});
|
|
58
|
+
if (config.strategy === "collaborative") {
|
|
59
|
+
if (result && typeof result === "object") {
|
|
60
|
+
Object.assign(node.properties || {}, result);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
} else if (event.type === "mitosis_child_failed") {
|
|
65
|
+
context.emit?.("on_mitosis_error", {
|
|
66
|
+
parentId: node.id,
|
|
67
|
+
childId: event.childId,
|
|
68
|
+
error: event.error
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
3
73
|
|
|
4
74
|
// src/traits/JEPAPredictor.ts
|
|
5
75
|
var JEPAPredictor = class {
|
|
@@ -470,76 +540,8 @@ function requireFloat32(value, name) {
|
|
|
470
540
|
throw new TypeError(`jepa:update_weights: ${name} must be a Float32Array`);
|
|
471
541
|
}
|
|
472
542
|
|
|
473
|
-
// src/traits/
|
|
474
|
-
var
|
|
475
|
-
name: "mitosis",
|
|
476
|
-
defaultConfig: {
|
|
477
|
-
strategy: "collaborative",
|
|
478
|
-
max_children: 5,
|
|
479
|
-
auto_cleanup: true
|
|
480
|
-
},
|
|
481
|
-
onAttach(node, config, context) {
|
|
482
|
-
const state = {
|
|
483
|
-
parent_id: ("parent_id" in config ? config.parent_id : null) || null,
|
|
484
|
-
active_children: [],
|
|
485
|
-
tasks_delegated: 0,
|
|
486
|
-
completed_tasks: 0,
|
|
487
|
-
last_sync_time: Date.now()
|
|
488
|
-
};
|
|
489
|
-
node.__mitosisState = state;
|
|
490
|
-
context.emit?.("mitosis_init", {
|
|
491
|
-
nodeId: node.id,
|
|
492
|
-
strategy: config.strategy,
|
|
493
|
-
parent_id: state.parent_id
|
|
494
|
-
});
|
|
495
|
-
},
|
|
496
|
-
onDetach(node, config, context) {
|
|
497
|
-
const state = node.__mitosisState;
|
|
498
|
-
if (state && config.auto_cleanup) {
|
|
499
|
-
for (const childId of state.active_children) {
|
|
500
|
-
context.emit?.("mitosis_despawn_child", { childId });
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
delete node.__mitosisState;
|
|
504
|
-
},
|
|
505
|
-
onEvent(node, config, context, event) {
|
|
506
|
-
const state = node.__mitosisState;
|
|
507
|
-
if (!state) return;
|
|
508
|
-
if (event.type === "mitosis_spawned") {
|
|
509
|
-
const childId = event.childId;
|
|
510
|
-
const parentId = event.parentId;
|
|
511
|
-
if (node.id === parentId) {
|
|
512
|
-
state.active_children.push(childId);
|
|
513
|
-
state.tasks_delegated++;
|
|
514
|
-
context.emit?.("on_mitosis_spawned", { childId, parentId: node.id });
|
|
515
|
-
}
|
|
516
|
-
} else if (event.type === "mitosis_child_complete") {
|
|
517
|
-
const childId = "childId" in event ? event.childId : "";
|
|
518
|
-
const parentId = "parentId" in event ? event.parentId : "";
|
|
519
|
-
const result = "result" in event ? event.result : void 0;
|
|
520
|
-
if (node.id === parentId) {
|
|
521
|
-
state.completed_tasks++;
|
|
522
|
-
state.last_sync_time = Date.now();
|
|
523
|
-
context.emit?.("mitosis_synced", {
|
|
524
|
-
parentId: node.id,
|
|
525
|
-
childId,
|
|
526
|
-
result
|
|
527
|
-
});
|
|
528
|
-
if (config.strategy === "collaborative") {
|
|
529
|
-
if (result && typeof result === "object") {
|
|
530
|
-
Object.assign(node.properties || {}, result);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
} else if (event.type === "mitosis_child_failed") {
|
|
535
|
-
context.emit?.("on_mitosis_error", {
|
|
536
|
-
parentId: node.id,
|
|
537
|
-
childId: event.childId,
|
|
538
|
-
error: event.error
|
|
539
|
-
});
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
};
|
|
543
|
+
// src/traits/OrbitalTrait.ts
|
|
544
|
+
var _orbital = null;
|
|
543
545
|
var orbitalHandler = {
|
|
544
546
|
name: "orbital",
|
|
545
547
|
defaultConfig: {},
|
|
@@ -552,12 +554,14 @@ var orbitalHandler = {
|
|
|
552
554
|
/**
|
|
553
555
|
* Called every frame to update orbital position
|
|
554
556
|
*/
|
|
555
|
-
onUpdate(node, config, context, _delta) {
|
|
557
|
+
async onUpdate(node, config, context, _delta) {
|
|
556
558
|
const properties = node.properties || {};
|
|
557
559
|
const mergedConfig = { ...properties, ...config };
|
|
558
560
|
if (!mergedConfig || !mergedConfig.semiMajorAxis) {
|
|
559
561
|
return;
|
|
560
562
|
}
|
|
563
|
+
_orbital ?? (_orbital = await import('@holoscript/engine/orbital'));
|
|
564
|
+
const { calculatePosition } = _orbital;
|
|
561
565
|
const julianDate = context.julianDate || 0;
|
|
562
566
|
const visualScale = context.getScaleMultiplier() * 50;
|
|
563
567
|
const satelliteScale = 5;
|
|
@@ -592,5 +596,5 @@ var orbitalHandler = {
|
|
|
592
596
|
};
|
|
593
597
|
|
|
594
598
|
export { JEPAPredictor, embeddingHandler, jepObjectiveHandler, mitosisHandler, orbitalHandler };
|
|
595
|
-
//# sourceMappingURL=chunk-
|
|
596
|
-
//# sourceMappingURL=chunk-
|
|
599
|
+
//# sourceMappingURL=chunk-H652NHX5.js.map
|
|
600
|
+
//# sourceMappingURL=chunk-H652NHX5.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
|
|
5
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
6
6
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
7
7
|
var ans = require('@holoscript/core-types/ans');
|
|
8
8
|
|
|
@@ -14,10 +14,10 @@ chunkHCCQLAA4_cjs.__export(OpenXRCompiler_exports, {
|
|
|
14
14
|
exports.OpenXRCompiler = void 0;
|
|
15
15
|
var init_OpenXRCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
16
16
|
"src/compiler/OpenXRCompiler.ts"() {
|
|
17
|
-
|
|
17
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
18
18
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
19
|
-
|
|
20
|
-
exports.OpenXRCompiler = class extends
|
|
19
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
20
|
+
exports.OpenXRCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
21
21
|
constructor(options = {}) {
|
|
22
22
|
super();
|
|
23
23
|
this.compilerName = "OpenXRCompiler";
|
|
@@ -136,32 +136,32 @@ var init_OpenXRCompiler = chunkHCCQLAA4_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 = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
140
140
|
// @ts-expect-error During migration
|
|
141
141
|
domainBlocks,
|
|
142
142
|
{
|
|
143
143
|
material: (block) => {
|
|
144
|
-
const m =
|
|
144
|
+
const m = chunkXUUVDHIF_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 = chunkXUUVDHIF_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 = chunkXUUVDHIF_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 = chunkXUUVDHIF_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 = chunkXUUVDHIF_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 = chunkXUUVDHIF_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 = chunkHCCQLAA4_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-HINXWAOD.cjs.map
|
|
1049
|
+
//# sourceMappingURL=chunk-HINXWAOD.cjs.map
|
|
@@ -437,7 +437,7 @@ function uint8ArrayToBase64(data) {
|
|
|
437
437
|
return btoa(binary);
|
|
438
438
|
}
|
|
439
439
|
async function importGLTFPipeline() {
|
|
440
|
-
return import('./GLTFPipeline-
|
|
440
|
+
return import('./GLTFPipeline-M7WSSJED.cjs');
|
|
441
441
|
}
|
|
442
442
|
function registerGLTFTools(server) {
|
|
443
443
|
for (const tool of GLTF_PIPELINE_TOOLS) {
|
|
@@ -453,5 +453,5 @@ exports.handleGLTFToolCall = handleGLTFToolCall;
|
|
|
453
453
|
exports.inspectComposition = inspectComposition;
|
|
454
454
|
exports.registerGLTFTools = registerGLTFTools;
|
|
455
455
|
exports.validateForGLTF = validateForGLTF;
|
|
456
|
-
//# sourceMappingURL=chunk-
|
|
457
|
-
//# sourceMappingURL=chunk-
|
|
456
|
+
//# sourceMappingURL=chunk-HZSPDCXV.cjs.map
|
|
457
|
+
//# sourceMappingURL=chunk-HZSPDCXV.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToURDF, compileMaterialBlock } from './chunk-
|
|
2
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToURDF, compileMaterialBlock } from './chunk-JCLBKPMX.js';
|
|
2
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
3
3
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
5
5
|
|
|
@@ -1395,5 +1395,5 @@ var init_URDFCompiler = __esm({
|
|
|
1395
1395
|
});
|
|
1396
1396
|
|
|
1397
1397
|
export { URDFCompiler, URDFCompiler_default, URDFCompiler_exports, compileForGazebo, compileForIsaacSim, compileForROS2, compileToURDF, createURDFCompiler, generateControllersYaml, generateROS2LaunchFile, init_URDFCompiler };
|
|
1398
|
-
//# sourceMappingURL=chunk-
|
|
1399
|
-
//# sourceMappingURL=chunk-
|
|
1398
|
+
//# sourceMappingURL=chunk-HZTDET3N.js.map
|
|
1399
|
+
//# sourceMappingURL=chunk-HZTDET3N.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock } from './chunk-
|
|
2
|
-
import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock } from './chunk-JCLBKPMX.js';
|
|
2
|
+
import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
3
3
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
5
5
|
|
|
@@ -1179,5 +1179,5 @@ var init_WASMCompiler = __esm({
|
|
|
1179
1179
|
});
|
|
1180
1180
|
|
|
1181
1181
|
export { WASMCompiler, WASMCompiler_default, WASMCompiler_exports, compileASTToWASM, compileToWASM, createWASMCompiler, init_WASMCompiler };
|
|
1182
|
-
//# sourceMappingURL=chunk-
|
|
1183
|
-
//# sourceMappingURL=chunk-
|
|
1182
|
+
//# sourceMappingURL=chunk-IPWSXCCN.js.map
|
|
1183
|
+
//# sourceMappingURL=chunk-IPWSXCCN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
4
4
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
5
5
|
var ans = require('@holoscript/core-types/ans');
|
|
6
6
|
|
|
@@ -14,8 +14,8 @@ chunkHCCQLAA4_cjs.__export(DTDLCompiler_exports, {
|
|
|
14
14
|
exports.DTDLCompiler = void 0; exports.DTDL_TRAIT_COMPONENTS = void 0; exports.DTDLCompiler_default = void 0;
|
|
15
15
|
var init_DTDLCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
16
16
|
"src/compiler/DTDLCompiler.ts"() {
|
|
17
|
-
|
|
18
|
-
exports.DTDLCompiler = class extends
|
|
17
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
18
|
+
exports.DTDLCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
19
19
|
constructor(options = {}) {
|
|
20
20
|
super();
|
|
21
21
|
this.compilerName = "DTDLCompiler";
|
|
@@ -420,5 +420,5 @@ var init_DTDLCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
420
420
|
|
|
421
421
|
exports.DTDLCompiler_exports = DTDLCompiler_exports;
|
|
422
422
|
exports.init_DTDLCompiler = init_DTDLCompiler;
|
|
423
|
-
//# sourceMappingURL=chunk-
|
|
424
|
-
//# sourceMappingURL=chunk-
|
|
423
|
+
//# sourceMappingURL=chunk-IUTY5WQ2.cjs.map
|
|
424
|
+
//# sourceMappingURL=chunk-IUTY5WQ2.cjs.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-JCLBKPMX.js';
|
|
2
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
3
3
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
4
4
|
|
|
5
5
|
// src/compiler/USDPhysicsCompiler.ts
|
|
@@ -878,5 +878,5 @@ function compileForIsaacSim(composition, options) {
|
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
export { USDPhysicsCompiler, compileForIsaacSim, compileToUSDPhysics };
|
|
881
|
-
//# sourceMappingURL=chunk-
|
|
882
|
-
//# sourceMappingURL=chunk-
|
|
881
|
+
//# sourceMappingURL=chunk-IVSZDECV.js.map
|
|
882
|
+
//# sourceMappingURL=chunk-IVSZDECV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-GZG4KA4E.js';
|
|
2
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToUnreal, compileAudioSourceBlock, audioSourceToUnreal, compilePostProcessingBlock, postProcessingToUnreal, compileParticleBlock, particlesToUnreal, compilePhysicsBlock, physicsToUnreal, compileMaterialBlock, materialToUnreal } from './chunk-
|
|
3
|
-
import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-
|
|
2
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToUnreal, compileAudioSourceBlock, audioSourceToUnreal, compilePostProcessingBlock, postProcessingToUnreal, compileParticleBlock, particlesToUnreal, compilePhysicsBlock, physicsToUnreal, compileMaterialBlock, materialToUnreal } from './chunk-JCLBKPMX.js';
|
|
3
|
+
import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
4
4
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
5
5
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
6
6
|
|
|
@@ -710,5 +710,5 @@ var init_UnrealCompiler = __esm({
|
|
|
710
710
|
});
|
|
711
711
|
|
|
712
712
|
export { UnrealCompiler, UnrealCompiler_exports, compileToUnreal, init_UnrealCompiler };
|
|
713
|
-
//# sourceMappingURL=chunk-
|
|
714
|
-
//# sourceMappingURL=chunk-
|
|
713
|
+
//# sourceMappingURL=chunk-IZM5VQZD.js.map
|
|
714
|
+
//# sourceMappingURL=chunk-IZM5VQZD.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
2
2
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
3
3
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
4
4
|
|
|
@@ -417,5 +417,5 @@ var init_DTDLCompiler = __esm({
|
|
|
417
417
|
});
|
|
418
418
|
|
|
419
419
|
export { DTDLCompiler, DTDLCompiler_default, DTDLCompiler_exports, DTDL_TRAIT_COMPONENTS, init_DTDLCompiler };
|
|
420
|
-
//# sourceMappingURL=chunk-
|
|
421
|
-
//# sourceMappingURL=chunk-
|
|
420
|
+
//# sourceMappingURL=chunk-J6M4FPK5.js.map
|
|
421
|
+
//# sourceMappingURL=chunk-J6M4FPK5.js.map
|