@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,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
4
4
|
var ans = require('@holoscript/core-types/ans');
|
|
5
5
|
|
|
6
6
|
// src/compiler/AgentInferenceExportTarget.ts
|
|
7
|
-
|
|
7
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
8
8
|
var DEFAULT_MODEL_CONFIG = {
|
|
9
9
|
provider: "anthropic",
|
|
10
10
|
// Default to Opus 4.7 — most capable Claude. Users override per-agent via
|
|
@@ -37,7 +37,7 @@ var AGENT_TRAIT_NAMES = /* @__PURE__ */ new Set([
|
|
|
37
37
|
"memory",
|
|
38
38
|
"persona"
|
|
39
39
|
]);
|
|
40
|
-
var AgentInferenceCompiler = class extends
|
|
40
|
+
var AgentInferenceCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
41
41
|
constructor(options = {}) {
|
|
42
42
|
super();
|
|
43
43
|
this.compilerName = "AgentInferenceCompiler";
|
|
@@ -980,5 +980,5 @@ exports.AgentInferenceCompiler = AgentInferenceCompiler;
|
|
|
980
980
|
exports.AgentInferenceExportTarget_default = AgentInferenceExportTarget_default;
|
|
981
981
|
exports.createAgentInferenceCompiler = createAgentInferenceCompiler;
|
|
982
982
|
exports.createPythonAgentInferenceCompiler = createPythonAgentInferenceCompiler;
|
|
983
|
-
//# sourceMappingURL=chunk-
|
|
984
|
-
//# sourceMappingURL=chunk-
|
|
983
|
+
//# sourceMappingURL=chunk-JC5YBPSF.cjs.map
|
|
984
|
+
//# sourceMappingURL=chunk-JC5YBPSF.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_CompilerBase, init_ANSNamespace, ANSCapabilityPath, escapeStringValue } from './chunk-
|
|
1
|
+
import { init_CompilerBase, init_ANSNamespace, ANSCapabilityPath, escapeStringValue } from './chunk-QPSKHBJP.js';
|
|
2
2
|
import { __esm } from './chunk-OL46QLBJ.js';
|
|
3
3
|
|
|
4
4
|
// src/compiler/DomainBlockCompilerMixin.ts
|
|
@@ -3809,5 +3809,5 @@ var init_DomainBlockCompilerMixin = __esm({
|
|
|
3809
3809
|
});
|
|
3810
3810
|
|
|
3811
3811
|
export { DOMAIN_BLOCK_COMPILER_MIXIN_CAPABILITY, architectureToGodot, architectureToR3F, architectureToUSDA, architectureToUnity, architectureToVRChat, audioSourceToAndroidXR, audioSourceToBabylon, audioSourceToGodot, audioSourceToPlayCanvas, audioSourceToR3F, audioSourceToUSD, audioSourceToUnity, audioSourceToUnreal, audioSourceToVisionOS, compileArchitectureBlock, compileAudioSourceBlock, compileDataVizBlock, compileDomainBlocks, compileEducationBlock, compileHealthcareBlock, compileInputBlock, compileIoTBlock, compileMaterialBlock, compileMusicBlock, compileNarrativeBlock, compileNavigationBlock, compileParticleBlock, compilePaymentBlock, compilePhysicsBlock, compilePostProcessingBlock, compileProceduralBlock, compileRenderingBlock, compileRoboticsBlock, compileSimulationBlock, compileWeatherBlock, compileWeb3Block, datavizToGodot, datavizToR3F, datavizToUSDA, datavizToUnity, datavizToVRChat, educationToGodot, educationToR3F, educationToUSDA, educationToUnity, educationToVRChat, getRequiredCapability, healthcareToGodot, healthcareToR3F, healthcareToUSDA, healthcareToUnity, healthcareToVRChat, init_DomainBlockCompilerMixin, inputToGodot, inputToR3F, inputToUSDA, inputToUnity, inputToVRChat, iotToGodot, iotToR3F, iotToUSDA, iotToUnity, iotToVRChat, materialToAndroidXR, materialToBabylon, materialToGLTF, materialToGodot, materialToPlayCanvas, materialToR3F, materialToSDF, materialToUSD, materialToUnity, materialToUnreal, materialToVRChat, materialToVisionOS, materialToWebGPU, musicToGodot, musicToR3F, musicToUSDA, musicToUnity, musicToVRChat, narrativeToGodot, narrativeToR3F, narrativeToUSDA, narrativeToUnity, narrativeToVRChat, navigationToGodot, navigationToR3F, navigationToUSDA, navigationToUnity, navigationToVRChat, particlesToAndroidXR, particlesToBabylon, particlesToGodot, particlesToPlayCanvas, particlesToR3F, particlesToUSD, particlesToUnity, particlesToUnreal, particlesToVisionOS, paymentToGodot, paymentToR3F, paymentToUSDA, paymentToUnity, paymentToVRChat, physicsToAndroidXR, physicsToBabylon, physicsToGodot, physicsToPlayCanvas, physicsToR3F, physicsToSDF, physicsToURDF, physicsToUnity, physicsToUnreal, physicsToVisionOS, postProcessingToBabylon, postProcessingToGodot, postProcessingToR3F, postProcessingToUSD, postProcessingToUnity, postProcessingToUnreal, proceduralToGodot, proceduralToR3F, proceduralToUSDA, proceduralToUnity, proceduralToVRChat, renderingToGodot, renderingToR3F, renderingToUSDA, renderingToUnity, renderingToVRChat, roboticsToGodot, roboticsToR3F, roboticsToUSDA, roboticsToUnity, roboticsToVRChat, simulationToR3F, weatherToAndroidXR, weatherToGodot, weatherToR3F, weatherToUSD, weatherToUnity, weatherToUnreal, web3ToGodot, web3ToR3F, web3ToUSDA, web3ToUnity, web3ToVRChat };
|
|
3812
|
-
//# sourceMappingURL=chunk-
|
|
3813
|
-
//# sourceMappingURL=chunk-
|
|
3812
|
+
//# sourceMappingURL=chunk-JCLBKPMX.js.map
|
|
3813
|
+
//# sourceMappingURL=chunk-JCLBKPMX.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
|
|
|
@@ -19,7 +19,7 @@ function createWASMCompiler(options) {
|
|
|
19
19
|
}
|
|
20
20
|
function compileToWASM(composition, options) {
|
|
21
21
|
const compiler = new exports.WASMCompiler(options);
|
|
22
|
-
return compiler.compile(composition,
|
|
22
|
+
return compiler.compile(composition, chunkKKP7JKN4_cjs.createTestCompilerToken());
|
|
23
23
|
}
|
|
24
24
|
function compileASTToWASM(ast, options) {
|
|
25
25
|
const compiler = new exports.WASMCompiler(options);
|
|
@@ -28,8 +28,8 @@ function compileASTToWASM(ast, options) {
|
|
|
28
28
|
var WASM_WAT_LIMITATIONS, WASM_BINARY_LIMITATIONS; exports.WASMCompiler = void 0; exports.WASMCompiler_default = void 0;
|
|
29
29
|
var init_WASMCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
30
30
|
"src/compiler/WASMCompiler.ts"() {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
32
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
33
33
|
WASM_WAT_LIMITATIONS = [
|
|
34
34
|
"Emits WebAssembly Text Format scaffolding only.",
|
|
35
35
|
'Does not return instantiable bytes unless format is set to "wasm".',
|
|
@@ -40,7 +40,7 @@ var init_WASMCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
40
40
|
"Lowers trait/lifecycle/event hooks to deterministic host event calls, not arbitrary user code.",
|
|
41
41
|
"Does not run a general-purpose WAT parser for unsupported custom WAT extensions."
|
|
42
42
|
];
|
|
43
|
-
exports.WASMCompiler = class extends
|
|
43
|
+
exports.WASMCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
44
44
|
constructor(options = {}) {
|
|
45
45
|
super();
|
|
46
46
|
this.compilerName = "WASMCompiler";
|
|
@@ -100,11 +100,11 @@ var init_WASMCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
100
100
|
if (domainBlocks.length > 0) {
|
|
101
101
|
this.emit("");
|
|
102
102
|
this.emit(" ;; === v4.2 Domain Blocks ===");
|
|
103
|
-
|
|
103
|
+
chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
104
104
|
domainBlocks,
|
|
105
105
|
{
|
|
106
106
|
material: (block) => {
|
|
107
|
-
const mat =
|
|
107
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
108
108
|
this.emit(
|
|
109
109
|
` ;; Material: "${this.escapeStringValue(mat.name, "TypeScript")}" type=${mat.type}`
|
|
110
110
|
);
|
|
@@ -1185,5 +1185,5 @@ exports.compileASTToWASM = compileASTToWASM;
|
|
|
1185
1185
|
exports.compileToWASM = compileToWASM;
|
|
1186
1186
|
exports.createWASMCompiler = createWASMCompiler;
|
|
1187
1187
|
exports.init_WASMCompiler = init_WASMCompiler;
|
|
1188
|
-
//# sourceMappingURL=chunk-
|
|
1189
|
-
//# sourceMappingURL=chunk-
|
|
1188
|
+
//# sourceMappingURL=chunk-JJBE3TIH.cjs.map
|
|
1189
|
+
//# sourceMappingURL=chunk-JJBE3TIH.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { generateHullGeometry, generateMembraneGeometry, generateSplineGeometry } from './chunk-EKBKLK7P.js';
|
|
2
|
-
import { init_R3FCompiler, init_ObjectPool, ASTNodePool, MATERIAL_PRESETS } from './chunk-
|
|
2
|
+
import { init_R3FCompiler, init_ObjectPool, ASTNodePool, MATERIAL_PRESETS } from './chunk-UM6C3CGK.js';
|
|
3
3
|
import { init_TraitCompositor, TraitCompositor } from './chunk-4C57PR42.js';
|
|
4
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToGLTF } from './chunk-
|
|
5
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
4
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToGLTF } from './chunk-JCLBKPMX.js';
|
|
5
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
6
6
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
7
7
|
|
|
8
8
|
// src/compiler/GLTFPipeline.ts
|
|
@@ -2248,5 +2248,5 @@ function createGLTFPipeline(options) {
|
|
|
2248
2248
|
}
|
|
2249
2249
|
|
|
2250
2250
|
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture };
|
|
2251
|
-
//# sourceMappingURL=chunk-
|
|
2252
|
-
//# sourceMappingURL=chunk-
|
|
2251
|
+
//# sourceMappingURL=chunk-JX7YL6ZE.js.map
|
|
2252
|
+
//# sourceMappingURL=chunk-JX7YL6ZE.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
|
|
|
@@ -1699,10 +1699,10 @@ exports.VisionOSCompiler = void 0;
|
|
|
1699
1699
|
var init_VisionOSCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
1700
1700
|
"src/compiler/VisionOSCompiler.ts"() {
|
|
1701
1701
|
init_VisionOSTraitMap();
|
|
1702
|
-
|
|
1702
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
1703
1703
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
1704
|
-
|
|
1705
|
-
exports.VisionOSCompiler = class extends
|
|
1704
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
1705
|
+
exports.VisionOSCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
1706
1706
|
constructor(options = {}) {
|
|
1707
1707
|
super();
|
|
1708
1708
|
this.compilerName = "VisionOSCompiler";
|
|
@@ -1840,31 +1840,31 @@ var init_VisionOSCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
1840
1840
|
this.emit("");
|
|
1841
1841
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
1842
1842
|
let blockIdx = 0;
|
|
1843
|
-
const compiled =
|
|
1843
|
+
const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
1844
1844
|
domainBlocks,
|
|
1845
1845
|
{
|
|
1846
1846
|
material: (block) => {
|
|
1847
|
-
const mat =
|
|
1848
|
-
return
|
|
1847
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
1848
|
+
return chunkXUUVDHIF_cjs.materialToVisionOS(mat, `db${blockIdx++}`);
|
|
1849
1849
|
},
|
|
1850
1850
|
physics: (block) => {
|
|
1851
|
-
const phys =
|
|
1852
|
-
return
|
|
1851
|
+
const phys = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
|
|
1852
|
+
return chunkXUUVDHIF_cjs.physicsToVisionOS(phys, `db${blockIdx++}`);
|
|
1853
1853
|
},
|
|
1854
1854
|
vfx: (block) => {
|
|
1855
|
-
const ps =
|
|
1856
|
-
return
|
|
1855
|
+
const ps = chunkXUUVDHIF_cjs.compileParticleBlock(block);
|
|
1856
|
+
return chunkXUUVDHIF_cjs.particlesToVisionOS(ps, `db${blockIdx++}`);
|
|
1857
1857
|
},
|
|
1858
1858
|
postfx: (block) => {
|
|
1859
|
-
const pp =
|
|
1859
|
+
const pp = chunkXUUVDHIF_cjs.compilePostProcessingBlock(block);
|
|
1860
1860
|
return `// Post-Processing: ${pp.keyword} \u2014 configure via RealityKit RenderCallbacks`;
|
|
1861
1861
|
},
|
|
1862
1862
|
audio: (block) => {
|
|
1863
|
-
const audio =
|
|
1864
|
-
return
|
|
1863
|
+
const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
|
|
1864
|
+
return chunkXUUVDHIF_cjs.audioSourceToVisionOS(audio, `db${blockIdx++}`);
|
|
1865
1865
|
},
|
|
1866
1866
|
weather: (block) => {
|
|
1867
|
-
const weather =
|
|
1867
|
+
const weather = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
|
|
1868
1868
|
const w = weather;
|
|
1869
1869
|
const layers = w.layers.map((l) => `// Layer: ${l.type} \u2014 ${JSON.stringify(l.properties)}`).join("\n");
|
|
1870
1870
|
return `// Weather: ${w.keyword} "${w.name || ""}" \u2014 implement via custom RealityKit particles
|
|
@@ -2429,5 +2429,5 @@ exports.getTraitMapping = getTraitMapping;
|
|
|
2429
2429
|
exports.init_VisionOSCompiler = init_VisionOSCompiler;
|
|
2430
2430
|
exports.init_VisionOSTraitMap = init_VisionOSTraitMap;
|
|
2431
2431
|
exports.listAllTraits = listAllTraits;
|
|
2432
|
-
//# sourceMappingURL=chunk-
|
|
2433
|
-
//# sourceMappingURL=chunk-
|
|
2432
|
+
//# sourceMappingURL=chunk-K4VVR7CN.cjs.map
|
|
2433
|
+
//# sourceMappingURL=chunk-K4VVR7CN.cjs.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkEXUP2BUM_cjs = require('./chunk-EXUP2BUM.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkGQT4TYKY_cjs = require('./chunk-GQT4TYKY.cjs');
|
|
5
5
|
var chunkOIQYIIO3_cjs = require('./chunk-OIQYIIO3.cjs');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
|
|
7
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
8
8
|
var ans = require('@holoscript/core-types/ans');
|
|
9
9
|
|
|
10
10
|
// src/compiler/GLTFPipeline.ts
|
|
11
11
|
chunkOIQYIIO3_cjs.init_TraitCompositor();
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
chunkGQT4TYKY_cjs.init_R3FCompiler();
|
|
13
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
14
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
15
15
|
|
|
16
16
|
// src/compiler/gltf/extensions.ts
|
|
17
17
|
function createEmissiveStrengthExtension(strength) {
|
|
@@ -120,8 +120,8 @@ function declareExtensions(gltf) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
// src/compiler/GLTFPipeline.ts
|
|
123
|
-
|
|
124
|
-
var gltfNodePool = new
|
|
123
|
+
chunkGQT4TYKY_cjs.init_ObjectPool();
|
|
124
|
+
var gltfNodePool = new chunkGQT4TYKY_cjs.ASTNodePool(
|
|
125
125
|
() => ({ name: "" }),
|
|
126
126
|
(node) => {
|
|
127
127
|
node.name = "";
|
|
@@ -840,7 +840,7 @@ function generatePlaneGeometry(scale) {
|
|
|
840
840
|
var INITIAL_COMPILE_BUFFER_SIZE = 1024 * 1024;
|
|
841
841
|
var MAX_RETAINED_BUFFER_SIZE = 1024 * 1024 * 20;
|
|
842
842
|
var SHARED_COMPILE_BUFFER = new Uint8Array(INITIAL_COMPILE_BUFFER_SIZE);
|
|
843
|
-
var GLTFPipeline = class extends
|
|
843
|
+
var GLTFPipeline = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
844
844
|
constructor(options = {}) {
|
|
845
845
|
super();
|
|
846
846
|
this.compilerName = "GLTFPipeline";
|
|
@@ -1282,12 +1282,12 @@ var GLTFPipeline = class extends chunkRMHC2VG7_cjs.CompilerBase {
|
|
|
1282
1282
|
}
|
|
1283
1283
|
const domainBlocks = composition.domainBlocks ?? [];
|
|
1284
1284
|
if (domainBlocks.length > 0) {
|
|
1285
|
-
|
|
1285
|
+
chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
1286
1286
|
domainBlocks,
|
|
1287
1287
|
{
|
|
1288
1288
|
material: (block) => {
|
|
1289
|
-
const mat =
|
|
1290
|
-
const gltfMat =
|
|
1289
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
1290
|
+
const gltfMat = chunkXUUVDHIF_cjs.materialToGLTF(mat);
|
|
1291
1291
|
this.materials.push(gltfMat);
|
|
1292
1292
|
this.stats.materialCount++;
|
|
1293
1293
|
return "";
|
|
@@ -1601,8 +1601,8 @@ var GLTFPipeline = class extends chunkRMHC2VG7_cjs.CompilerBase {
|
|
|
1601
1601
|
let attenuationColor;
|
|
1602
1602
|
let attenuationDistance;
|
|
1603
1603
|
const namedMat = this.findProp(object, "material");
|
|
1604
|
-
if (typeof namedMat === "string" &&
|
|
1605
|
-
const preset =
|
|
1604
|
+
if (typeof namedMat === "string" && chunkGQT4TYKY_cjs.MATERIAL_PRESETS[namedMat]) {
|
|
1605
|
+
const preset = chunkGQT4TYKY_cjs.MATERIAL_PRESETS[namedMat];
|
|
1606
1606
|
if (preset.color) color = this.parseColorString(preset.color);
|
|
1607
1607
|
if (preset.metalness !== void 0) metallic = preset.metalness;
|
|
1608
1608
|
if (preset.roughness !== void 0) roughness = preset.roughness;
|
|
@@ -2253,5 +2253,5 @@ exports.GLTFPipeline = GLTFPipeline;
|
|
|
2253
2253
|
exports.createGLTFPipeline = createGLTFPipeline;
|
|
2254
2254
|
exports.generateScaleNormalMap = generateScaleNormalMap;
|
|
2255
2255
|
exports.generateScaleTexture = generateScaleTexture;
|
|
2256
|
-
//# sourceMappingURL=chunk-
|
|
2257
|
-
//# sourceMappingURL=chunk-
|
|
2256
|
+
//# sourceMappingURL=chunk-KEFNV2WM.cjs.map
|
|
2257
|
+
//# sourceMappingURL=chunk-KEFNV2WM.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEUDQTK7N_cjs = require('./chunk-EUDQTK7N.cjs');
|
|
4
4
|
var chunkJIYN45TV_cjs = require('./chunk-JIYN45TV.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 chunkEUDQTK7N_cjs.HoloScriptRuntime();
|
|
25
25
|
this.parser = new chunkJIYN45TV_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-KH4CNH66.cjs.map
|
|
424
|
+
//# sourceMappingURL=chunk-KH4CNH66.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { init_AndroidKotlinHelpers, sanitizeName, toKotlinFloat3, toKotlinColor, mapShapeToFilament, toKotlinType, toKotlinValue, findObjProp, compositionUsesArCoreDepthTraits } from './chunk-FDSGHPAK.js';
|
|
2
2
|
import { init_PlatformConditionalCompilerMixin, filterCompositionForPlatform } from './chunk-GZG4KA4E.js';
|
|
3
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToAndroidXR, compileAudioSourceBlock, audioSourceToAndroidXR, compilePostProcessingBlock, compileParticleBlock, particlesToAndroidXR, compilePhysicsBlock, physicsToAndroidXR, compileMaterialBlock, materialToAndroidXR } from './chunk-
|
|
4
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
3
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToAndroidXR, compileAudioSourceBlock, audioSourceToAndroidXR, compilePostProcessingBlock, compileParticleBlock, particlesToAndroidXR, compilePhysicsBlock, physicsToAndroidXR, compileMaterialBlock, materialToAndroidXR } from './chunk-JCLBKPMX.js';
|
|
4
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
5
5
|
import { __esm, __export } from './chunk-OL46QLBJ.js';
|
|
6
6
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
7
7
|
|
|
@@ -5727,5 +5727,5 @@ var init_AndroidXRCompiler = __esm({
|
|
|
5727
5727
|
});
|
|
5728
5728
|
|
|
5729
5729
|
export { ANDROIDXR_TRAIT_MAP, AndroidXRCompiler, AndroidXRCompiler_exports, compileToAndroidXR, getTraitMapping, init_AndroidXRCompiler, init_AndroidXRTraitMap };
|
|
5730
|
-
//# sourceMappingURL=chunk-
|
|
5731
|
-
//# sourceMappingURL=chunk-
|
|
5730
|
+
//# sourceMappingURL=chunk-KJLB4OPV.js.map
|
|
5731
|
+
//# sourceMappingURL=chunk-KJLB4OPV.js.map
|
|
@@ -3932,6 +3932,7 @@ var init_ANSNamespace = chunkHCCQLAA4_cjs.__esm({
|
|
|
3932
3932
|
UNITY: "/compile/gamedev/unity",
|
|
3933
3933
|
UNREAL: "/compile/gamedev/unreal",
|
|
3934
3934
|
GODOT: "/compile/gamedev/godot",
|
|
3935
|
+
CANVAS2D_GAME: "/compile/gamedev/canvas2d-game",
|
|
3935
3936
|
// ── social-vr ────────────────────────────────────────────────────────
|
|
3936
3937
|
VRCHAT: "/compile/social-vr/vrchat",
|
|
3937
3938
|
// ── xr ───────────────────────────────────────────────────────────────
|
|
@@ -3989,6 +3990,7 @@ var init_ANSNamespace = chunkHCCQLAA4_cjs.__esm({
|
|
|
3989
3990
|
unity: ANSDomain.GAMEDEV,
|
|
3990
3991
|
unreal: ANSDomain.GAMEDEV,
|
|
3991
3992
|
godot: ANSDomain.GAMEDEV,
|
|
3993
|
+
"canvas2d-game": ANSDomain.GAMEDEV,
|
|
3992
3994
|
// social-vr
|
|
3993
3995
|
vrchat: ANSDomain.SOCIAL_VR,
|
|
3994
3996
|
// xr
|
|
@@ -4045,6 +4047,7 @@ var init_ANSNamespace = chunkHCCQLAA4_cjs.__esm({
|
|
|
4045
4047
|
unity: exports.ANSCapabilityPath.UNITY,
|
|
4046
4048
|
unreal: exports.ANSCapabilityPath.UNREAL,
|
|
4047
4049
|
godot: exports.ANSCapabilityPath.GODOT,
|
|
4050
|
+
"canvas2d-game": exports.ANSCapabilityPath.CANVAS2D_GAME,
|
|
4048
4051
|
vrchat: exports.ANSCapabilityPath.VRCHAT,
|
|
4049
4052
|
openxr: exports.ANSCapabilityPath.OPENXR,
|
|
4050
4053
|
"openxr-spatial-entities": exports.ANSCapabilityPath.OPENXR_SPATIAL_ENTITIES,
|
|
@@ -5488,6 +5491,7 @@ var init_CompilerBase = chunkHCCQLAA4_cjs.__esm({
|
|
|
5488
5491
|
UnityCompiler: "unity",
|
|
5489
5492
|
UnrealCompiler: "unreal",
|
|
5490
5493
|
GodotCompiler: "godot",
|
|
5494
|
+
Canvas2DGameCompiler: "canvas2d-game",
|
|
5491
5495
|
VRChatCompiler: "vrchat",
|
|
5492
5496
|
OpenXRCompiler: "openxr",
|
|
5493
5497
|
OpenXRSpatialEntitiesCompiler: "openxr-spatial-entities",
|
|
@@ -5994,5 +5998,5 @@ exports.isCapabilityTokenCredential = isCapabilityTokenCredential;
|
|
|
5994
5998
|
exports.normalizeNormProvenance = normalizeNormProvenance;
|
|
5995
5999
|
exports.normsByCategory = normsByCategory;
|
|
5996
6000
|
exports.serializeNormProvenance = serializeNormProvenance;
|
|
5997
|
-
//# sourceMappingURL=chunk-
|
|
5998
|
-
//# sourceMappingURL=chunk-
|
|
6001
|
+
//# sourceMappingURL=chunk-KKP7JKN4.cjs.map
|
|
6002
|
+
//# sourceMappingURL=chunk-KKP7JKN4.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFEWUHQNM_cjs = require('./chunk-FEWUHQNM.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
5
5
|
var chunkDTGBOSEM_cjs = require('./chunk-DTGBOSEM.cjs');
|
|
6
6
|
var chunk6EX3I5P4_cjs = require('./chunk-6EX3I5P4.cjs');
|
|
7
7
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
@@ -2939,12 +2939,12 @@ function compileToAndroid(composition, options) {
|
|
|
2939
2939
|
exports.AndroidCompiler = void 0;
|
|
2940
2940
|
var init_AndroidCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
2941
2941
|
"src/compiler/AndroidCompiler.ts"() {
|
|
2942
|
-
|
|
2942
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
2943
2943
|
init_AndroidARGenerators();
|
|
2944
2944
|
init_AndroidFeatureGenerators();
|
|
2945
2945
|
init_AndroidPeripheralGenerators();
|
|
2946
2946
|
chunkFEWUHQNM_cjs.init_AndroidKotlinHelpers();
|
|
2947
|
-
exports.AndroidCompiler = class extends
|
|
2947
|
+
exports.AndroidCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
2948
2948
|
constructor(options = {}) {
|
|
2949
2949
|
super();
|
|
2950
2950
|
this.compilerName = "AndroidCompiler";
|
|
@@ -3038,5 +3038,5 @@ var init_AndroidCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
3038
3038
|
exports.AndroidCompiler_exports = AndroidCompiler_exports;
|
|
3039
3039
|
exports.compileToAndroid = compileToAndroid;
|
|
3040
3040
|
exports.init_AndroidCompiler = init_AndroidCompiler;
|
|
3041
|
-
//# sourceMappingURL=chunk-
|
|
3042
|
-
//# sourceMappingURL=chunk-
|
|
3041
|
+
//# sourceMappingURL=chunk-KQCN6AKJ.cjs.map
|
|
3042
|
+
//# sourceMappingURL=chunk-KQCN6AKJ.cjs.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunk7HIASF7S_cjs = require('./chunk-7HIASF7S.cjs');
|
|
4
|
+
var chunkS3MDHNKB_cjs = require('./chunk-S3MDHNKB.cjs');
|
|
5
|
+
var chunk6DPSFNJB_cjs = require('./chunk-6DPSFNJB.cjs');
|
|
6
|
+
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
7
7
|
var ans = require('@holoscript/core-types/ans');
|
|
8
8
|
|
|
9
9
|
// src/compiler/MultiLayerCompiler.ts
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var MultiLayerCompiler = class extends
|
|
10
|
+
chunk7HIASF7S_cjs.init_VRRCompiler();
|
|
11
|
+
chunkS3MDHNKB_cjs.init_ARCompiler();
|
|
12
|
+
chunk6DPSFNJB_cjs.init_BabylonCompiler();
|
|
13
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
14
|
+
var MultiLayerCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
15
15
|
constructor(options) {
|
|
16
16
|
super();
|
|
17
17
|
this.compilerName = "MultiLayerCompiler";
|
|
@@ -28,7 +28,7 @@ var MultiLayerCompiler = class extends chunkRMHC2VG7_cjs.CompilerBase {
|
|
|
28
28
|
errors: []
|
|
29
29
|
};
|
|
30
30
|
if (this.options.targets.includes("ar")) {
|
|
31
|
-
const arCompiler = new
|
|
31
|
+
const arCompiler = new chunkS3MDHNKB_cjs.ARCompiler({
|
|
32
32
|
target: "webxr",
|
|
33
33
|
minify: this.options.minify,
|
|
34
34
|
source_maps: this.options.source_maps,
|
|
@@ -39,7 +39,7 @@ var MultiLayerCompiler = class extends chunkRMHC2VG7_cjs.CompilerBase {
|
|
|
39
39
|
if (!arResult.success) result.success = false;
|
|
40
40
|
}
|
|
41
41
|
if (this.options.targets.includes("vrr")) {
|
|
42
|
-
const vrrCompiler = new
|
|
42
|
+
const vrrCompiler = new chunk7HIASF7S_cjs.VRRCompiler({
|
|
43
43
|
target: "threejs",
|
|
44
44
|
minify: this.options.minify,
|
|
45
45
|
source_maps: this.options.source_maps,
|
|
@@ -52,7 +52,7 @@ var MultiLayerCompiler = class extends chunkRMHC2VG7_cjs.CompilerBase {
|
|
|
52
52
|
if (!vrrResult.success) result.success = false;
|
|
53
53
|
}
|
|
54
54
|
if (this.options.targets.includes("vr")) {
|
|
55
|
-
const vrCompiler = new
|
|
55
|
+
const vrCompiler = new chunk6DPSFNJB_cjs.BabylonCompiler({});
|
|
56
56
|
try {
|
|
57
57
|
const vrResult = vrCompiler.compile(composition, agentToken);
|
|
58
58
|
result.vr = vrResult;
|
|
@@ -68,5 +68,5 @@ var MultiLayerCompiler = class extends chunkRMHC2VG7_cjs.CompilerBase {
|
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
exports.MultiLayerCompiler = MultiLayerCompiler;
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
72
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-KVRSTFNH.cjs.map
|
|
72
|
+
//# sourceMappingURL=chunk-KVRSTFNH.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
|
|
|
@@ -205,9 +205,9 @@ function generateControllersYaml(robotName, jointNames, options) {
|
|
|
205
205
|
exports.URDFCompiler = void 0; exports.URDFCompiler_default = void 0;
|
|
206
206
|
var init_URDFCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
207
207
|
"src/compiler/URDFCompiler.ts"() {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
exports.URDFCompiler = class extends
|
|
208
|
+
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
209
|
+
chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
|
|
210
|
+
exports.URDFCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
211
211
|
constructor(options = {}) {
|
|
212
212
|
super();
|
|
213
213
|
this.compilerName = "URDFCompiler";
|
|
@@ -560,11 +560,11 @@ var init_URDFCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
560
560
|
if (domainBlocks.length === 0) return;
|
|
561
561
|
this.emitBlank();
|
|
562
562
|
this.emit("<!-- v4.2 Domain Blocks -->");
|
|
563
|
-
const compiled =
|
|
563
|
+
const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
|
|
564
564
|
domainBlocks,
|
|
565
565
|
{
|
|
566
566
|
material: (block) => {
|
|
567
|
-
const mat =
|
|
567
|
+
const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
|
|
568
568
|
const lines = [];
|
|
569
569
|
lines.push(
|
|
570
570
|
`<material name="${this.escapeStringValue(mat.name, "TypeScript")}">`
|
|
@@ -585,15 +585,15 @@ var init_URDFCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
585
585
|
return lines.join("\n");
|
|
586
586
|
},
|
|
587
587
|
physics: (block) => {
|
|
588
|
-
const phys =
|
|
589
|
-
return
|
|
588
|
+
const phys = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
|
|
589
|
+
return chunkXUUVDHIF_cjs.physicsToURDF(phys);
|
|
590
590
|
},
|
|
591
591
|
audio: (block) => {
|
|
592
|
-
const audio =
|
|
592
|
+
const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
|
|
593
593
|
return `<!-- Audio: ${this.escapeStringValue(audio.name, "TypeScript")} (${audio.keyword}) clip="${audio.properties.clip || ""}" volume="${audio.properties.volume ?? 1}" -->`;
|
|
594
594
|
},
|
|
595
595
|
weather: (block) => {
|
|
596
|
-
const weather =
|
|
596
|
+
const weather = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
|
|
597
597
|
return `<!-- Weather: ${weather.keyword} "${weather.name || ""}" layers: ${weather.layers.map((l) => l.type).join(", ")} -->`;
|
|
598
598
|
}
|
|
599
599
|
},
|
|
@@ -1405,5 +1405,5 @@ exports.createURDFCompiler = createURDFCompiler;
|
|
|
1405
1405
|
exports.generateControllersYaml = generateControllersYaml;
|
|
1406
1406
|
exports.generateROS2LaunchFile = generateROS2LaunchFile;
|
|
1407
1407
|
exports.init_URDFCompiler = init_URDFCompiler;
|
|
1408
|
-
//# sourceMappingURL=chunk-
|
|
1409
|
-
//# sourceMappingURL=chunk-
|
|
1408
|
+
//# sourceMappingURL=chunk-LICPB5HZ.cjs.map
|
|
1409
|
+
//# sourceMappingURL=chunk-LICPB5HZ.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-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
|
|
|
@@ -604,5 +604,5 @@ ${layers}`;
|
|
|
604
604
|
});
|
|
605
605
|
|
|
606
606
|
export { SDFCompiler, SDFCompiler_default, SDFCompiler_exports, init_SDFCompiler };
|
|
607
|
-
//# sourceMappingURL=chunk-
|
|
608
|
-
//# sourceMappingURL=chunk-
|
|
607
|
+
//# sourceMappingURL=chunk-MGE5Z4GS.js.map
|
|
608
|
+
//# sourceMappingURL=chunk-MGE5Z4GS.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToWebGPU } from './chunk-
|
|
2
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToWebGPU } 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
|
|
|
@@ -665,5 +665,5 @@ var init_WebGPUCompiler = __esm({
|
|
|
665
665
|
});
|
|
666
666
|
|
|
667
667
|
export { WebGPUCompiler, WebGPUCompiler_exports, init_WebGPUCompiler };
|
|
668
|
-
//# sourceMappingURL=chunk-
|
|
669
|
-
//# sourceMappingURL=chunk-
|
|
668
|
+
//# sourceMappingURL=chunk-NBMHU6SW.js.map
|
|
669
|
+
//# sourceMappingURL=chunk-NBMHU6SW.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { init_R3FCompiler, MATERIAL_PRESETS } from './chunk-
|
|
1
|
+
import { init_R3FCompiler, MATERIAL_PRESETS } from './chunk-UM6C3CGK.js';
|
|
2
2
|
import { init_ProvenanceSemiring, ProvenanceSemiring } from './chunk-TJHVSBP2.js';
|
|
3
3
|
import { init_TraitCompositor, TraitCompositor } from './chunk-4C57PR42.js';
|
|
4
4
|
import { init_PlatformConditional, platformCategory, PLATFORM_CAPABILITIES, PLATFORM_CATEGORIES } from './chunk-GZG4KA4E.js';
|
|
5
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToUSDA, compileInputBlock, navigationToUSDA, compileNavigationBlock, renderingToUSDA, compileRenderingBlock, proceduralToUSDA, compileProceduralBlock, web3ToUSDA, compileWeb3Block, architectureToUSDA, compileArchitectureBlock, musicToUSDA, compileMusicBlock, educationToUSDA, compileEducationBlock, datavizToUSDA, compileDataVizBlock, iotToUSDA, compileIoTBlock, compileRoboticsBlock, roboticsToUSDA, compileHealthcareBlock, healthcareToUSDA, compilePaymentBlock, paymentToUSDA, compileNarrativeBlock, narrativeToUSDA, compileWeatherBlock, weatherToUSD, compileAudioSourceBlock, audioSourceToUSD, compilePostProcessingBlock, postProcessingToUSD, compileParticleBlock, particlesToUSD, compilePhysicsBlock, compileMaterialBlock, materialToUSD } from './chunk-
|
|
6
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
5
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToUSDA, compileInputBlock, navigationToUSDA, compileNavigationBlock, renderingToUSDA, compileRenderingBlock, proceduralToUSDA, compileProceduralBlock, web3ToUSDA, compileWeb3Block, architectureToUSDA, compileArchitectureBlock, musicToUSDA, compileMusicBlock, educationToUSDA, compileEducationBlock, datavizToUSDA, compileDataVizBlock, iotToUSDA, compileIoTBlock, compileRoboticsBlock, roboticsToUSDA, compileHealthcareBlock, healthcareToUSDA, compilePaymentBlock, paymentToUSDA, compileNarrativeBlock, narrativeToUSDA, compileWeatherBlock, weatherToUSD, compileAudioSourceBlock, audioSourceToUSD, compilePostProcessingBlock, postProcessingToUSD, compileParticleBlock, particlesToUSD, compilePhysicsBlock, compileMaterialBlock, materialToUSD } from './chunk-JCLBKPMX.js';
|
|
6
|
+
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
7
7
|
import { parsePipeline } from './chunk-J32ZJZJH.js';
|
|
8
8
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
9
9
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
@@ -6380,5 +6380,5 @@ function compilePipelineSource(source, options = {}) {
|
|
|
6380
6380
|
}
|
|
6381
6381
|
|
|
6382
6382
|
export { A2AAgentCardCompiler, A2AAgentCardCompiler_exports, BUILTIN_RESOURCES, CAPABILITY_HIERARCHY, CATEGORY_DEFAULT_EMBODIMENT, CompilerBridge, CrossRealityTraitRegistry, EFFECTS_BY_CATEGORY, EFFECT_TO_CAPABILITY, EffectChecker, EffectRow, GaussianSplattingCompiler, HANDOFF_PATH_RULES, LinearTypeChecker, MVC_BUDGET_CONSTRAINTS, NIRCompiler, NIRCompiler_exports, PLATFORM_BUDGETS, PLATFORM_EMBODIMENT_OVERRIDES, ResourceBudgetAnalyzer, SHARED_SORT_SHADER_PATH, SpatialPartitionPass, TRAIT_EFFECTS, TRAIT_RESOURCE_COSTS, TRAIT_RESOURCE_MAP, TRUST_LEVEL_CAPABILITIES, ThreeJSCompiler, ThreeJSCompiler_exports, USDZPipeline, bestCategoryForTraits, buildSafetyReport, checkCapabilities, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, createCrossRealityTraitRegistry, createEffectChecker, createGaussianSplattingCompiler, dangerLevel, deriveRequirements, detectMultiUserSharedSort, effectCategory, expandCapabilities, formatReport, generateCertificate, getCompilerBridge, getCrossRealityTraitRegistry, inferFromBuiltins, inferFromTraits, init_A2AAgentCardCompiler, init_NIRCompiler, init_ThreeJSCompiler, isSafeTraitSet, knownBuiltins, knownTraits, quickSafetyCheck, resetCrossRealityTraitRegistry, runSafetyPass, selectModality, selectModalityForAll, spatialPartition };
|
|
6383
|
-
//# sourceMappingURL=chunk-
|
|
6384
|
-
//# sourceMappingURL=chunk-
|
|
6383
|
+
//# sourceMappingURL=chunk-NGKREZ36.js.map
|
|
6384
|
+
//# sourceMappingURL=chunk-NGKREZ36.js.map
|