@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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGQT4TYKY_cjs = require('./chunk-GQT4TYKY.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 chunkKKFZ3B6J_cjs = require('./chunk-KKFZ3B6J.cjs');
|
|
10
10
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
11
11
|
var ans = require('@holoscript/core-types/ans');
|
|
@@ -20,7 +20,7 @@ var init_ThreeJSCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
20
20
|
"src/compiler/ThreeJSCompiler.ts"() {
|
|
21
21
|
chunkOIQYIIO3_cjs.init_TraitCompositor();
|
|
22
22
|
chunk5S7RKFGR_cjs.init_ProvenanceSemiring();
|
|
23
|
-
|
|
23
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
24
24
|
SHAPE_TO_THREE_GEOMETRY = {
|
|
25
25
|
sphere: "SphereGeometry",
|
|
26
26
|
orb: "SphereGeometry",
|
|
@@ -35,7 +35,7 @@ var init_ThreeJSCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
35
35
|
ring: "TorusGeometry",
|
|
36
36
|
capsule: "CapsuleGeometry"
|
|
37
37
|
};
|
|
38
|
-
exports.ThreeJSCompiler = class extends
|
|
38
|
+
exports.ThreeJSCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
39
39
|
constructor(options = {}) {
|
|
40
40
|
super();
|
|
41
41
|
this.compilerName = "ThreeJSCompiler";
|
|
@@ -653,8 +653,8 @@ chunkHCCQLAA4_cjs.__export(A2AAgentCardCompiler_exports, {
|
|
|
653
653
|
exports.A2AAgentCardCompiler = void 0; var A2AAgentCardCompiler_default;
|
|
654
654
|
var init_A2AAgentCardCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
655
655
|
"src/compiler/A2AAgentCardCompiler.ts"() {
|
|
656
|
-
|
|
657
|
-
exports.A2AAgentCardCompiler = class extends
|
|
656
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
657
|
+
exports.A2AAgentCardCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
658
658
|
constructor(options = {}) {
|
|
659
659
|
super();
|
|
660
660
|
this.compilerName = "A2AAgentCardCompiler";
|
|
@@ -1715,9 +1715,9 @@ chunkHCCQLAA4_cjs.__export(NIRCompiler_exports, {
|
|
|
1715
1715
|
exports.NIRCompiler = void 0; var NIRCompiler_default;
|
|
1716
1716
|
var init_NIRCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
1717
1717
|
"src/compiler/NIRCompiler.ts"() {
|
|
1718
|
-
|
|
1718
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
1719
1719
|
init_NIRTraitMap();
|
|
1720
|
-
exports.NIRCompiler = class extends
|
|
1720
|
+
exports.NIRCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
1721
1721
|
constructor(options = {}) {
|
|
1722
1722
|
super();
|
|
1723
1723
|
this.compilerName = "NIRCompiler";
|
|
@@ -2063,8 +2063,8 @@ var init_NIRCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2063
2063
|
});
|
|
2064
2064
|
|
|
2065
2065
|
// src/compiler/USDZPipeline.ts
|
|
2066
|
-
|
|
2067
|
-
|
|
2066
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
2067
|
+
chunkGQT4TYKY_cjs.init_R3FCompiler();
|
|
2068
2068
|
function presetString(p, k) {
|
|
2069
2069
|
const v = p[k];
|
|
2070
2070
|
return typeof v === "string" ? v : void 0;
|
|
@@ -2295,8 +2295,8 @@ ${domainBlocksOutput}` : materials,
|
|
|
2295
2295
|
const matName = `Material_${this.sanitizeName(obj.name)}`;
|
|
2296
2296
|
const mat = { name: matName };
|
|
2297
2297
|
const presetName = typeof material === "string" ? material : typeof materialPreset === "string" ? materialPreset : void 0;
|
|
2298
|
-
if (presetName &&
|
|
2299
|
-
const preset =
|
|
2298
|
+
if (presetName && chunkGQT4TYKY_cjs.MATERIAL_PRESETS[presetName]) {
|
|
2299
|
+
const preset = chunkGQT4TYKY_cjs.MATERIAL_PRESETS[presetName];
|
|
2300
2300
|
const colorStr = presetString(preset, "color");
|
|
2301
2301
|
if (colorStr) mat.baseColor = this.hexToRGB(colorStr);
|
|
2302
2302
|
const metal = presetNumber(preset, "metalness");
|
|
@@ -2797,59 +2797,59 @@ ${domainBlocksOutput}` : materials,
|
|
|
2797
2797
|
generateDomainBlocks(composition) {
|
|
2798
2798
|
const domainBlocks = composition.domainBlocks ?? [];
|
|
2799
2799
|
if (domainBlocks.length === 0) return "";
|
|
2800
|
-
const compiled =
|
|
2800
|
+
const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
2801
2801
|
domainBlocks,
|
|
2802
2802
|
{
|
|
2803
2803
|
material: (block) => {
|
|
2804
|
-
const mat =
|
|
2805
|
-
return
|
|
2804
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
2805
|
+
return chunkXUUVDHIF_cjs.materialToUSD(mat);
|
|
2806
2806
|
},
|
|
2807
2807
|
physics: (block) => {
|
|
2808
|
-
const phys =
|
|
2808
|
+
const phys = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
|
|
2809
2809
|
return `# Physics: ${phys.keyword} "${phys.name || ""}" \u2014 ${JSON.stringify(phys.properties)}`;
|
|
2810
2810
|
},
|
|
2811
2811
|
vfx: (block) => {
|
|
2812
|
-
const ps =
|
|
2813
|
-
return
|
|
2812
|
+
const ps = chunkXUUVDHIF_cjs.compileParticleBlock(block);
|
|
2813
|
+
return chunkXUUVDHIF_cjs.particlesToUSD(ps);
|
|
2814
2814
|
},
|
|
2815
2815
|
postfx: (block) => {
|
|
2816
|
-
const pp =
|
|
2817
|
-
return
|
|
2816
|
+
const pp = chunkXUUVDHIF_cjs.compilePostProcessingBlock(block);
|
|
2817
|
+
return chunkXUUVDHIF_cjs.postProcessingToUSD(pp);
|
|
2818
2818
|
},
|
|
2819
2819
|
audio: (block) => {
|
|
2820
|
-
const audio =
|
|
2821
|
-
return
|
|
2820
|
+
const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
|
|
2821
|
+
return chunkXUUVDHIF_cjs.audioSourceToUSD(audio);
|
|
2822
2822
|
},
|
|
2823
2823
|
weather: (block) => {
|
|
2824
|
-
const weather =
|
|
2825
|
-
return
|
|
2824
|
+
const weather = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
|
|
2825
|
+
return chunkXUUVDHIF_cjs.weatherToUSD(weather);
|
|
2826
2826
|
},
|
|
2827
2827
|
narrative: (block) => {
|
|
2828
|
-
const narr =
|
|
2829
|
-
return
|
|
2828
|
+
const narr = chunkXUUVDHIF_cjs.compileNarrativeBlock(block);
|
|
2829
|
+
return chunkXUUVDHIF_cjs.narrativeToUSDA(narr);
|
|
2830
2830
|
},
|
|
2831
2831
|
payment: (block) => {
|
|
2832
|
-
const pay =
|
|
2833
|
-
return
|
|
2832
|
+
const pay = chunkXUUVDHIF_cjs.compilePaymentBlock(block);
|
|
2833
|
+
return chunkXUUVDHIF_cjs.paymentToUSDA(pay);
|
|
2834
2834
|
},
|
|
2835
2835
|
healthcare: (block) => {
|
|
2836
|
-
const h =
|
|
2837
|
-
return
|
|
2836
|
+
const h = chunkXUUVDHIF_cjs.compileHealthcareBlock(block);
|
|
2837
|
+
return chunkXUUVDHIF_cjs.healthcareToUSDA(h);
|
|
2838
2838
|
},
|
|
2839
2839
|
robotics: (block) => {
|
|
2840
|
-
const r =
|
|
2841
|
-
return
|
|
2840
|
+
const r = chunkXUUVDHIF_cjs.compileRoboticsBlock(block);
|
|
2841
|
+
return chunkXUUVDHIF_cjs.roboticsToUSDA(r);
|
|
2842
2842
|
},
|
|
2843
|
-
iot: (block) =>
|
|
2844
|
-
dataviz: (block) =>
|
|
2845
|
-
education: (block) =>
|
|
2846
|
-
music: (block) =>
|
|
2847
|
-
architecture: (block) =>
|
|
2848
|
-
web3: (block) =>
|
|
2849
|
-
procedural: (block) =>
|
|
2850
|
-
rendering: (block) =>
|
|
2851
|
-
navigation: (block) =>
|
|
2852
|
-
input: (block) =>
|
|
2843
|
+
iot: (block) => chunkXUUVDHIF_cjs.iotToUSDA(chunkXUUVDHIF_cjs.compileIoTBlock(block)),
|
|
2844
|
+
dataviz: (block) => chunkXUUVDHIF_cjs.datavizToUSDA(chunkXUUVDHIF_cjs.compileDataVizBlock(block)),
|
|
2845
|
+
education: (block) => chunkXUUVDHIF_cjs.educationToUSDA(chunkXUUVDHIF_cjs.compileEducationBlock(block)),
|
|
2846
|
+
music: (block) => chunkXUUVDHIF_cjs.musicToUSDA(chunkXUUVDHIF_cjs.compileMusicBlock(block)),
|
|
2847
|
+
architecture: (block) => chunkXUUVDHIF_cjs.architectureToUSDA(chunkXUUVDHIF_cjs.compileArchitectureBlock(block)),
|
|
2848
|
+
web3: (block) => chunkXUUVDHIF_cjs.web3ToUSDA(chunkXUUVDHIF_cjs.compileWeb3Block(block)),
|
|
2849
|
+
procedural: (block) => chunkXUUVDHIF_cjs.proceduralToUSDA(chunkXUUVDHIF_cjs.compileProceduralBlock(block)),
|
|
2850
|
+
rendering: (block) => chunkXUUVDHIF_cjs.renderingToUSDA(chunkXUUVDHIF_cjs.compileRenderingBlock(block)),
|
|
2851
|
+
navigation: (block) => chunkXUUVDHIF_cjs.navigationToUSDA(chunkXUUVDHIF_cjs.compileNavigationBlock(block)),
|
|
2852
|
+
input: (block) => chunkXUUVDHIF_cjs.inputToUSDA(chunkXUUVDHIF_cjs.compileInputBlock(block))
|
|
2853
2853
|
},
|
|
2854
2854
|
(block) => `# Domain block: ${block.domain}/${block.keyword} "${block.name}"`
|
|
2855
2855
|
);
|
|
@@ -2880,7 +2880,7 @@ _USDZPipeline.TEXTURE_CHANNEL_MAP = {
|
|
|
2880
2880
|
var USDZPipeline = _USDZPipeline;
|
|
2881
2881
|
|
|
2882
2882
|
// src/compiler/GaussianSplattingCompiler.ts
|
|
2883
|
-
|
|
2883
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
2884
2884
|
var GAUSSIAN_SPLAT_TRAIT_NAME = "gaussian_splat";
|
|
2885
2885
|
var MULTIPLAYER_TRAIT_NAME = "multiplayer";
|
|
2886
2886
|
function detectMultiUserSharedSort(composition) {
|
|
@@ -2906,7 +2906,7 @@ function objectHasBothTraits(obj) {
|
|
|
2906
2906
|
return false;
|
|
2907
2907
|
}
|
|
2908
2908
|
var SHARED_SORT_SHADER_PATH = "packages/engine/src/gpu/shaders/splat-shared-sort.wgsl";
|
|
2909
|
-
var GaussianSplattingCompiler = class extends
|
|
2909
|
+
var GaussianSplattingCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
2910
2910
|
constructor(options = {}) {
|
|
2911
2911
|
super();
|
|
2912
2912
|
this.compilerName = "GaussianSplattingCompiler";
|
|
@@ -6441,5 +6441,5 @@ exports.runSafetyPass = runSafetyPass;
|
|
|
6441
6441
|
exports.selectModality = selectModality;
|
|
6442
6442
|
exports.selectModalityForAll = selectModalityForAll;
|
|
6443
6443
|
exports.spatialPartition = spatialPartition;
|
|
6444
|
-
//# sourceMappingURL=chunk-
|
|
6445
|
-
//# sourceMappingURL=chunk-
|
|
6444
|
+
//# sourceMappingURL=chunk-7CUEMLDZ.cjs.map
|
|
6445
|
+
//# sourceMappingURL=chunk-7CUEMLDZ.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
|
|
4
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
5
5
|
var chunkE7JP3BS3_cjs = require('./chunk-E7JP3BS3.cjs');
|
|
6
6
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
7
7
|
var ans = require('@holoscript/core-types/ans');
|
|
@@ -15,9 +15,9 @@ chunkHCCQLAA4_cjs.__export(VRRCompiler_exports, {
|
|
|
15
15
|
var VRRTraitDefs; exports.VRRCompiler = void 0; exports.VRRCompiler_default = void 0;
|
|
16
16
|
var init_VRRCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
17
17
|
"src/compiler/VRRCompiler.ts"() {
|
|
18
|
-
|
|
18
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
19
19
|
chunkE7JP3BS3_cjs.init_safeJsonParse();
|
|
20
|
-
|
|
20
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
21
21
|
VRRTraitDefs = {
|
|
22
22
|
vrr_twin: { validator: (p) => !!p.mirror },
|
|
23
23
|
reality_mirror: { validator: (p) => Array.isArray(p.sync) && p.sync.length > 0 },
|
|
@@ -43,7 +43,7 @@ var init_VRRCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
43
43
|
},
|
|
44
44
|
geo_sync: { validator: (p) => !!p.center && Number(p.radius || 0) >= 0 }
|
|
45
45
|
};
|
|
46
|
-
exports.VRRCompiler = class extends
|
|
46
|
+
exports.VRRCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
47
47
|
constructor(options) {
|
|
48
48
|
super();
|
|
49
49
|
this.compilerName = "VRRCompiler";
|
|
@@ -619,28 +619,28 @@ var init_VRRCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
619
619
|
const domainBlocks = Array.isArray(comp.domainBlocks) ? comp.domainBlocks : [];
|
|
620
620
|
if (domainBlocks.length > 0) {
|
|
621
621
|
this.generatedCode.push("\n// === v4.2 Domain Blocks ===");
|
|
622
|
-
const compiled =
|
|
622
|
+
const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
623
623
|
// @ts-expect-error During migration
|
|
624
624
|
domainBlocks,
|
|
625
625
|
{
|
|
626
626
|
material: (block) => {
|
|
627
|
-
const m =
|
|
627
|
+
const m = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
628
628
|
return `// VRR Material: "${this.escapeStringValue(m.name, "TypeScript")}" type=${m.type} baseColor=${m.baseColor || "none"}`;
|
|
629
629
|
},
|
|
630
630
|
physics: (block) => {
|
|
631
|
-
const p =
|
|
631
|
+
const p = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
|
|
632
632
|
return `// VRR Physics: ${p.keyword} "${p.name || ""}" colliders=${p.colliders?.length || 0}`;
|
|
633
633
|
},
|
|
634
634
|
vfx: (block) => {
|
|
635
|
-
const ps =
|
|
635
|
+
const ps = chunkXUUVDHIF_cjs.compileParticleBlock(block);
|
|
636
636
|
return `// VRR Particles: "${this.escapeStringValue(ps.name, "TypeScript")}" rate=${ps.properties.rate || "default"}`;
|
|
637
637
|
},
|
|
638
638
|
audio: (block) => {
|
|
639
|
-
const a =
|
|
639
|
+
const a = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
|
|
640
640
|
return `// VRR Audio: "${this.escapeStringValue(a.name, "TypeScript")}" clip=${a.properties.clip || "none"}`;
|
|
641
641
|
},
|
|
642
642
|
weather: (block) => {
|
|
643
|
-
const w =
|
|
643
|
+
const w = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
|
|
644
644
|
return `// VRR Weather: ${w.keyword} layers=[${w.layers.map((l) => l.type).join(", ")}]`;
|
|
645
645
|
}
|
|
646
646
|
},
|
|
@@ -810,5 +810,5 @@ const ${twinName} = new THREE.Group();`);
|
|
|
810
810
|
|
|
811
811
|
exports.VRRCompiler_exports = VRRCompiler_exports;
|
|
812
812
|
exports.init_VRRCompiler = init_VRRCompiler;
|
|
813
|
-
//# sourceMappingURL=chunk-
|
|
814
|
-
//# sourceMappingURL=chunk-
|
|
813
|
+
//# sourceMappingURL=chunk-7HIASF7S.cjs.map
|
|
814
|
+
//# sourceMappingURL=chunk-7HIASF7S.cjs.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-QPSKHBJP.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-ANXZFVY2.js.map
|
|
113
|
+
//# sourceMappingURL=chunk-ANXZFVY2.js.map
|
|
@@ -2,9 +2,9 @@ import { computeHoloMapReplayFingerprint } from './chunk-WNNE3PO3.js';
|
|
|
2
2
|
import { isWebGpuEnvironmentPresent, HOLOMAP_SIMULATION_CONTRACT_KIND } from './chunk-YF2I3MV3.js';
|
|
3
3
|
|
|
4
4
|
// src/version.ts
|
|
5
|
-
var HOLOSCRIPT_VERSION = "
|
|
6
|
-
var GIT_COMMIT_SHA = "
|
|
7
|
-
var BUILD_TIMESTAMP = "2026-
|
|
5
|
+
var HOLOSCRIPT_VERSION = "8.0.0" ;
|
|
6
|
+
var GIT_COMMIT_SHA = "fe71f4fd6" ;
|
|
7
|
+
var BUILD_TIMESTAMP = "2026-06-01T03:27:39.090Z" ;
|
|
8
8
|
function getVersionString() {
|
|
9
9
|
const sha = `+${GIT_COMMIT_SHA}` ;
|
|
10
10
|
return `${HOLOSCRIPT_VERSION}${sha}`;
|
|
@@ -2172,5 +2172,5 @@ function createHoloMapRuntime(_config) {
|
|
|
2172
2172
|
}
|
|
2173
2173
|
|
|
2174
2174
|
export { BUILD_TIMESTAMP, GIT_COMMIT_SHA, HOLOMAP_DEFAULTS, HOLOSCRIPT_VERSION, assertWeightCid, createHoloMapMicroEncoder, createHoloMapRunId, createHoloMapRuntime, frameToMicroImage, getCachedWeightBlob, getVersionInfo, getVersionString, loadHoloMapWeightBlob, logHoloMapEvent, normalizeWeightCidDigest, putCachedWeightBlob, resetHoloMapTelemetryForTests, runHoloMapMicroEncoderCpu, tryCreateHoloMapEncoderDevice };
|
|
2175
|
-
//# sourceMappingURL=chunk-
|
|
2176
|
-
//# sourceMappingURL=chunk-
|
|
2175
|
+
//# sourceMappingURL=chunk-AYBXB26F.js.map
|
|
2176
|
+
//# sourceMappingURL=chunk-AYBXB26F.js.map
|
|
@@ -435,7 +435,7 @@ function uint8ArrayToBase64(data) {
|
|
|
435
435
|
return btoa(binary);
|
|
436
436
|
}
|
|
437
437
|
async function importGLTFPipeline() {
|
|
438
|
-
return import('./GLTFPipeline-
|
|
438
|
+
return import('./GLTFPipeline-276GE64O.js');
|
|
439
439
|
}
|
|
440
440
|
function registerGLTFTools(server) {
|
|
441
441
|
for (const tool of GLTF_PIPELINE_TOOLS) {
|
|
@@ -445,5 +445,5 @@ function registerGLTFTools(server) {
|
|
|
445
445
|
var GLTFPipelineMCPTool_default = handleGLTFToolCall;
|
|
446
446
|
|
|
447
447
|
export { GLTFPipelineMCPTool_default, GLTF_PIPELINE_TOOLS, analyzeOptimizations, handleGLTFToolCall, inspectComposition, registerGLTFTools, validateForGLTF };
|
|
448
|
-
//# sourceMappingURL=chunk-
|
|
449
|
-
//# sourceMappingURL=chunk-
|
|
448
|
+
//# sourceMappingURL=chunk-B4TFTDG4.js.map
|
|
449
|
+
//# sourceMappingURL=chunk-B4TFTDG4.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToVRChat, compileInputBlock, navigationToVRChat, compileNavigationBlock, renderingToVRChat, compileRenderingBlock, proceduralToVRChat, compileProceduralBlock, web3ToVRChat, compileWeb3Block, architectureToVRChat, compileArchitectureBlock, musicToVRChat, compileMusicBlock, educationToVRChat, compileEducationBlock, datavizToVRChat, compileDataVizBlock, iotToVRChat, compileIoTBlock, compileRoboticsBlock, roboticsToVRChat, compileHealthcareBlock, healthcareToVRChat, compilePaymentBlock, paymentToVRChat, compileNarrativeBlock, narrativeToVRChat, compileWeatherBlock, weatherToUnity, compileAudioSourceBlock, audioSourceToUnity, compilePostProcessingBlock, postProcessingToUnity, compileParticleBlock, particlesToUnity, compilePhysicsBlock, physicsToUnity, compileMaterialBlock, materialToVRChat } from './chunk-
|
|
2
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToVRChat, compileInputBlock, navigationToVRChat, compileNavigationBlock, renderingToVRChat, compileRenderingBlock, proceduralToVRChat, compileProceduralBlock, web3ToVRChat, compileWeb3Block, architectureToVRChat, compileArchitectureBlock, musicToVRChat, compileMusicBlock, educationToVRChat, compileEducationBlock, datavizToVRChat, compileDataVizBlock, iotToVRChat, compileIoTBlock, compileRoboticsBlock, roboticsToVRChat, compileHealthcareBlock, healthcareToVRChat, compilePaymentBlock, paymentToVRChat, compileNarrativeBlock, narrativeToVRChat, compileWeatherBlock, weatherToUnity, compileAudioSourceBlock, audioSourceToUnity, compilePostProcessingBlock, postProcessingToUnity, compileParticleBlock, particlesToUnity, compilePhysicsBlock, physicsToUnity, compileMaterialBlock, materialToVRChat } 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
|
|
|
@@ -619,5 +619,5 @@ var init_VRChatCompiler = __esm({
|
|
|
619
619
|
});
|
|
620
620
|
|
|
621
621
|
export { VRChatCompiler, VRChatCompiler_exports, compileToVRChat, init_VRChatCompiler };
|
|
622
|
-
//# sourceMappingURL=chunk-
|
|
623
|
-
//# sourceMappingURL=chunk-
|
|
622
|
+
//# sourceMappingURL=chunk-BE4UJCQT.js.map
|
|
623
|
+
//# sourceMappingURL=chunk-BE4UJCQT.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
|
|
4
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
5
5
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
6
6
|
var ans = require('@holoscript/core-types/ans');
|
|
7
7
|
|
|
@@ -59,10 +59,10 @@ chunkHCCQLAA4_cjs.__export(GodotCompiler_exports, {
|
|
|
59
59
|
exports.GodotCompiler = void 0;
|
|
60
60
|
var init_GodotCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
61
61
|
"src/compiler/GodotCompiler.ts"() {
|
|
62
|
-
|
|
62
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
63
63
|
init_godot_acoustic_bus();
|
|
64
|
-
|
|
65
|
-
exports.GodotCompiler = class extends
|
|
64
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
65
|
+
exports.GodotCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
66
66
|
constructor(options = {}) {
|
|
67
67
|
super();
|
|
68
68
|
this.compilerName = "GodotCompiler";
|
|
@@ -170,59 +170,59 @@ var init_GodotCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
170
170
|
this.emit("");
|
|
171
171
|
this.emit("# === v4.2 Domain Blocks ===");
|
|
172
172
|
let blockIdx = 0;
|
|
173
|
-
const compiled =
|
|
173
|
+
const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
174
174
|
domainBlocks,
|
|
175
175
|
{
|
|
176
176
|
material: (block) => {
|
|
177
|
-
const mat =
|
|
178
|
-
return
|
|
177
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
178
|
+
return chunkXUUVDHIF_cjs.materialToGodot(mat, `db${blockIdx++}`);
|
|
179
179
|
},
|
|
180
180
|
physics: (block) => {
|
|
181
|
-
const phys =
|
|
182
|
-
return
|
|
181
|
+
const phys = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
|
|
182
|
+
return chunkXUUVDHIF_cjs.physicsToGodot(phys, `db${blockIdx++}`);
|
|
183
183
|
},
|
|
184
184
|
vfx: (block) => {
|
|
185
|
-
const ps =
|
|
186
|
-
return
|
|
185
|
+
const ps = chunkXUUVDHIF_cjs.compileParticleBlock(block);
|
|
186
|
+
return chunkXUUVDHIF_cjs.particlesToGodot(ps, `db${blockIdx++}`);
|
|
187
187
|
},
|
|
188
188
|
postfx: (block) => {
|
|
189
|
-
const pp =
|
|
190
|
-
return
|
|
189
|
+
const pp = chunkXUUVDHIF_cjs.compilePostProcessingBlock(block);
|
|
190
|
+
return chunkXUUVDHIF_cjs.postProcessingToGodot(pp);
|
|
191
191
|
},
|
|
192
192
|
audio: (block) => {
|
|
193
|
-
const audio =
|
|
194
|
-
return
|
|
193
|
+
const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
|
|
194
|
+
return chunkXUUVDHIF_cjs.audioSourceToGodot(audio, `db${blockIdx++}`);
|
|
195
195
|
},
|
|
196
196
|
weather: (block) => {
|
|
197
|
-
const weather =
|
|
198
|
-
return
|
|
197
|
+
const weather = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
|
|
198
|
+
return chunkXUUVDHIF_cjs.weatherToGodot(weather);
|
|
199
199
|
},
|
|
200
200
|
narrative: (block) => {
|
|
201
|
-
const narr =
|
|
202
|
-
return
|
|
201
|
+
const narr = chunkXUUVDHIF_cjs.compileNarrativeBlock(block);
|
|
202
|
+
return chunkXUUVDHIF_cjs.narrativeToGodot(narr);
|
|
203
203
|
},
|
|
204
204
|
payment: (block) => {
|
|
205
|
-
const pay =
|
|
206
|
-
return
|
|
205
|
+
const pay = chunkXUUVDHIF_cjs.compilePaymentBlock(block);
|
|
206
|
+
return chunkXUUVDHIF_cjs.paymentToGodot(pay);
|
|
207
207
|
},
|
|
208
208
|
healthcare: (block) => {
|
|
209
|
-
const h =
|
|
210
|
-
return
|
|
209
|
+
const h = chunkXUUVDHIF_cjs.compileHealthcareBlock(block);
|
|
210
|
+
return chunkXUUVDHIF_cjs.healthcareToGodot(h);
|
|
211
211
|
},
|
|
212
212
|
robotics: (block) => {
|
|
213
|
-
const r =
|
|
214
|
-
return
|
|
213
|
+
const r = chunkXUUVDHIF_cjs.compileRoboticsBlock(block);
|
|
214
|
+
return chunkXUUVDHIF_cjs.roboticsToGodot(r);
|
|
215
215
|
},
|
|
216
|
-
iot: (block) =>
|
|
217
|
-
dataviz: (block) =>
|
|
218
|
-
education: (block) =>
|
|
219
|
-
music: (block) =>
|
|
220
|
-
architecture: (block) =>
|
|
221
|
-
web3: (block) =>
|
|
222
|
-
procedural: (block) =>
|
|
223
|
-
rendering: (block) =>
|
|
224
|
-
navigation: (block) =>
|
|
225
|
-
input: (block) =>
|
|
216
|
+
iot: (block) => chunkXUUVDHIF_cjs.iotToGodot(chunkXUUVDHIF_cjs.compileIoTBlock(block)),
|
|
217
|
+
dataviz: (block) => chunkXUUVDHIF_cjs.datavizToGodot(chunkXUUVDHIF_cjs.compileDataVizBlock(block)),
|
|
218
|
+
education: (block) => chunkXUUVDHIF_cjs.educationToGodot(chunkXUUVDHIF_cjs.compileEducationBlock(block)),
|
|
219
|
+
music: (block) => chunkXUUVDHIF_cjs.musicToGodot(chunkXUUVDHIF_cjs.compileMusicBlock(block)),
|
|
220
|
+
architecture: (block) => chunkXUUVDHIF_cjs.architectureToGodot(chunkXUUVDHIF_cjs.compileArchitectureBlock(block)),
|
|
221
|
+
web3: (block) => chunkXUUVDHIF_cjs.web3ToGodot(chunkXUUVDHIF_cjs.compileWeb3Block(block)),
|
|
222
|
+
procedural: (block) => chunkXUUVDHIF_cjs.proceduralToGodot(chunkXUUVDHIF_cjs.compileProceduralBlock(block)),
|
|
223
|
+
rendering: (block) => chunkXUUVDHIF_cjs.renderingToGodot(chunkXUUVDHIF_cjs.compileRenderingBlock(block)),
|
|
224
|
+
navigation: (block) => chunkXUUVDHIF_cjs.navigationToGodot(chunkXUUVDHIF_cjs.compileNavigationBlock(block)),
|
|
225
|
+
input: (block) => chunkXUUVDHIF_cjs.inputToGodot(chunkXUUVDHIF_cjs.compileInputBlock(block))
|
|
226
226
|
},
|
|
227
227
|
(block) => `# Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "GDScript")}"`
|
|
228
228
|
);
|
|
@@ -685,5 +685,5 @@ var init_GodotCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
685
685
|
|
|
686
686
|
exports.GodotCompiler_exports = GodotCompiler_exports;
|
|
687
687
|
exports.init_GodotCompiler = init_GodotCompiler;
|
|
688
|
-
//# sourceMappingURL=chunk-
|
|
689
|
-
//# sourceMappingURL=chunk-
|
|
688
|
+
//# sourceMappingURL=chunk-C2A5DUMF.cjs.map
|
|
689
|
+
//# sourceMappingURL=chunk-C2A5DUMF.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
|
|
4
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
5
5
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
6
6
|
var ans = require('@holoscript/core-types/ans');
|
|
7
7
|
|
|
@@ -19,9 +19,9 @@ function findGpuParticleTrait(traits) {
|
|
|
19
19
|
exports.WebGPUCompiler = void 0;
|
|
20
20
|
var init_WebGPUCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
21
21
|
"src/compiler/WebGPUCompiler.ts"() {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
exports.WebGPUCompiler = class extends
|
|
22
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
23
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
24
|
+
exports.WebGPUCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
25
25
|
constructor(options = {}) {
|
|
26
26
|
super();
|
|
27
27
|
this.compilerName = "WebGPUCompiler";
|
|
@@ -77,12 +77,12 @@ var init_WebGPUCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
77
77
|
this.emit("");
|
|
78
78
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
79
79
|
let blockIdx = 0;
|
|
80
|
-
const compiled =
|
|
80
|
+
const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
81
81
|
domainBlocks,
|
|
82
82
|
{
|
|
83
83
|
material: (block) => {
|
|
84
|
-
const mat =
|
|
85
|
-
return
|
|
84
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
85
|
+
return chunkXUUVDHIF_cjs.materialToWebGPU(mat, `db${blockIdx++}`);
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
(block) => `// Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "TypeScript")}"`
|
|
@@ -668,5 +668,5 @@ var init_WebGPUCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
668
668
|
|
|
669
669
|
exports.WebGPUCompiler_exports = WebGPUCompiler_exports;
|
|
670
670
|
exports.init_WebGPUCompiler = init_WebGPUCompiler;
|
|
671
|
-
//# sourceMappingURL=chunk-
|
|
672
|
-
//# sourceMappingURL=chunk-
|
|
671
|
+
//# sourceMappingURL=chunk-CXFDRBQU.cjs.map
|
|
672
|
+
//# sourceMappingURL=chunk-CXFDRBQU.cjs.map
|
|
@@ -409,5 +409,5 @@ exports.draftToHoloPreview = draftToHoloPreview;
|
|
|
409
409
|
exports.handleBusinessQuestToolCall = handleBusinessQuestToolCall;
|
|
410
410
|
exports.registerBusinessQuestTools = registerBusinessQuestTools;
|
|
411
411
|
exports.validateBusinessVRRDraft = validateBusinessVRRDraft;
|
|
412
|
-
//# sourceMappingURL=chunk-
|
|
413
|
-
//# sourceMappingURL=chunk-
|
|
412
|
+
//# sourceMappingURL=chunk-D54CNIAJ.cjs.map
|
|
413
|
+
//# sourceMappingURL=chunk-D54CNIAJ.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
2
2
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
3
3
|
|
|
4
4
|
// src/compiler/LLMProviderCapabilitiesCompiler.ts
|
|
@@ -721,5 +721,5 @@ function daysBetween(earlier, later) {
|
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
export { LLMCapabilityCompileError, LLMProviderCapabilitiesCompiler, createLLMProviderCapabilitiesCompiler };
|
|
724
|
-
//# sourceMappingURL=chunk-
|
|
725
|
-
//# sourceMappingURL=chunk-
|
|
724
|
+
//# sourceMappingURL=chunk-DAJXW4KX.js.map
|
|
725
|
+
//# sourceMappingURL=chunk-DAJXW4KX.js.map
|