@holoscript/core 8.0.5 → 8.0.6
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-EK3LFJKW.cjs → GLTFPipeline-PVLTKDBD.cjs} +11 -11
- package/dist/{GLTFPipeline-37FPRVPH.js → GLTFPipeline-QPI4I7DL.js} +7 -7
- package/dist/{HoloScriptRuntime-ACDFKVVH.js → HoloScriptRuntime-6ZGLUCFS.js} +3 -3
- package/dist/{HoloScriptRuntime-ON2OQVEF.cjs → HoloScriptRuntime-ALUASIL2.cjs} +4 -4
- package/dist/{chunk-V6MKC2FZ.js → chunk-2GQHTXOK.js} +3 -3
- package/dist/{chunk-ROHLEP2W.cjs → chunk-2J5WZLF5.cjs} +19 -19
- package/dist/{chunk-HKEXJUWS.cjs → chunk-2VL6SJ33.cjs} +7 -7
- package/dist/{chunk-YWOBW2PV.cjs → chunk-3B5NVDHJ.cjs} +18 -18
- package/dist/{chunk-J7XZV333.js → chunk-3B7AY37W.js} +4 -4
- package/dist/{chunk-LKWQNUE6.cjs → chunk-3OIZJNVT.cjs} +5 -5
- package/dist/{chunk-HNDK4IQU.cjs → chunk-3SBVODUP.cjs} +19 -19
- package/dist/{chunk-JBNDTXXV.cjs → chunk-44GM3P4G.cjs} +18 -18
- package/dist/{chunk-MVPBWHAC.js → chunk-4DO425P5.js} +3 -3
- package/dist/{chunk-ON5QSY35.cjs → chunk-4FDL7JLJ.cjs} +76 -45
- package/dist/{chunk-XB274MW5.cjs → chunk-5BLWXOIP.cjs} +13 -13
- package/dist/{chunk-QACVP4PM.js → chunk-5BQIJG3O.js} +33 -5
- package/dist/{chunk-XKTPFXGA.js → chunk-5IHG2LGT.js} +3 -3
- package/dist/{chunk-7M3PNU2M.cjs → chunk-5TIZXMED.cjs} +10 -10
- package/dist/{chunk-UFZZ7TSN.cjs → chunk-6DOKCECB.cjs} +20 -20
- package/dist/{chunk-ONDAWTW4.js → chunk-6OTFG3EB.js} +3 -3
- package/dist/{chunk-OJXHYNXN.js → chunk-7MVLEZB2.js} +3 -3
- package/dist/{chunk-5NWINHR5.cjs → chunk-A3GFOZAF.cjs} +38 -38
- package/dist/{chunk-OBIYPYYS.cjs → chunk-BFROVZOF.cjs} +5 -5
- package/dist/{chunk-UWJHCOH2.js → chunk-BKCK3IU6.js} +4 -4
- package/dist/{chunk-DHO2YRIM.js → chunk-C34AJIJO.js} +4 -4
- package/dist/{chunk-QPSKHBJP.js → chunk-CXS3DUKD.js} +12 -6
- package/dist/{chunk-ANXZFVY2.js → chunk-D63CGNJU.js} +3 -3
- package/dist/{chunk-CCATWPXM.js → chunk-DBPGNHFS.js} +4 -4
- package/dist/{chunk-6DO5IZ5N.cjs → chunk-DCE3LDO3.cjs} +36 -6
- package/dist/{chunk-BOVPWH4H.js → chunk-DPZXVDGM.js} +3 -3
- package/dist/{chunk-FXKAW7ZO.cjs → chunk-DQRQZB33.cjs} +3 -3
- package/dist/{chunk-QD32ADK6.js → chunk-E64LOLJU.js} +4 -4
- package/dist/{chunk-IUTY5WQ2.cjs → chunk-E767PVC6.cjs} +5 -5
- package/dist/{chunk-CMT5NMMS.js → chunk-EK7L4DW7.js} +4 -4
- package/dist/{chunk-D3STJ56J.js → chunk-F63LYRVE.js} +4 -4
- package/dist/{chunk-OBP5REIV.js → chunk-GCYR3D2K.js} +5 -5
- package/dist/{chunk-ZMCVKFXI.cjs → chunk-H5PUZHJV.cjs} +95 -9
- package/dist/{chunk-2X7NGX3M.js → chunk-HBEN5TQR.js} +4 -4
- package/dist/{chunk-2IWC4FP7.cjs → chunk-HBLKLLG5.cjs} +10 -10
- package/dist/{chunk-NCWCUZNS.cjs → chunk-IBXT6UP3.cjs} +14 -14
- package/dist/{chunk-DAJXW4KX.js → chunk-IIUFMUTV.js} +3 -3
- package/dist/{chunk-OH2FAIVU.js → chunk-IS4AEGLU.js} +4 -4
- package/dist/{chunk-PY37LNDP.js → chunk-ISG3TQ2O.js} +4 -4
- package/dist/{chunk-ADADVMXY.js → chunk-ISM4NX6N.js} +2 -2
- package/dist/{chunk-WRKUDAZJ.js → chunk-JEB5UU3E.js} +3 -3
- package/dist/{chunk-KMC6CQH3.js → chunk-K5UGRXKR.js} +5 -5
- package/dist/{chunk-OMXII44L.js → chunk-KDZRD6EI.js} +3 -3
- package/dist/{chunk-ZU7NIRT6.js → chunk-LAUFLPB6.js} +3 -3
- package/dist/{chunk-JC5YBPSF.cjs → chunk-LY4DMQOW.cjs} +5 -5
- package/dist/{chunk-KQCN6AKJ.cjs → chunk-N5YOAFNA.cjs} +5 -5
- package/dist/{chunk-WQKJSGVS.js → chunk-NDUX553L.js} +36 -6
- package/dist/{chunk-5H2G27PK.cjs → chunk-NE5CZ2NC.cjs} +38 -38
- package/dist/{chunk-4SDKXQ4C.js → chunk-NPDNFPTU.js} +4 -4
- package/dist/{chunk-S3MDHNKB.cjs → chunk-NTGBEMYL.cjs} +5 -5
- package/dist/{chunk-CR4FMIWL.cjs → chunk-NTJZJ5IP.cjs} +14 -14
- package/dist/{chunk-3WZEJHUQ.cjs → chunk-OXGPGQXN.cjs} +7 -7
- package/dist/{chunk-YN2YWTXW.js → chunk-P4AIF7OQ.js} +4 -4
- package/dist/{chunk-YVD3CSO3.js → chunk-P52PPB5R.js} +4 -4
- package/dist/{chunk-YT5L3B57.cjs → chunk-PVWNU4QT.cjs} +5 -5
- package/dist/{chunk-KKP7JKN4.cjs → chunk-QWAR3GY6.cjs} +12 -6
- package/dist/{chunk-UWXE23BT.cjs → chunk-QWSB553J.cjs} +4 -4
- package/dist/{chunk-GYZE55MO.js → chunk-RCZHLCX2.js} +3 -3
- package/dist/{chunk-FFAOS5HQ.js → chunk-RXU4PQKA.js} +6 -6
- package/dist/{chunk-5KVXXUD4.js → chunk-S6OVFUXD.js} +3 -3
- package/dist/{chunk-TWUXUCEW.cjs → chunk-TCBJMNXS.cjs} +38 -38
- package/dist/{chunk-J6M4FPK5.js → chunk-TDCJ7YPA.js} +3 -3
- package/dist/{chunk-4V2E7U7Q.cjs → chunk-TFUMBR7G.cjs} +7 -7
- package/dist/{chunk-XIVIE43A.cjs → chunk-TFWYKOOB.cjs} +5 -5
- package/dist/{chunk-7H33U5SM.cjs → chunk-TJIMBJ6L.cjs} +2 -2
- package/dist/{chunk-QXH7QDSZ.js → chunk-U36W76U7.js} +3 -3
- package/dist/{chunk-E4M5OAYO.js → chunk-ULXWSPCK.js} +38 -7
- package/dist/{chunk-UO4WPSGQ.js → chunk-VATGR4EM.js} +95 -10
- package/dist/{chunk-6FH72EB2.cjs → chunk-VFKXK4GR.cjs} +16 -16
- package/dist/{chunk-LHAXPADA.js → chunk-VHAONJBY.js} +4 -4
- package/dist/{chunk-YN6V7R3L.cjs → chunk-WOH6LKYT.cjs} +5 -5
- package/dist/{chunk-R24NNAEG.js → chunk-X4EBCG4K.js} +4 -4
- package/dist/{chunk-AVJHHUC5.cjs → chunk-X7LYK5TX.cjs} +21 -21
- package/dist/{chunk-FYSPZT4V.cjs → chunk-X7QB5PL5.cjs} +7 -7
- package/dist/{chunk-IUDGEUDO.cjs → chunk-XHZCF3AS.cjs} +13 -13
- package/dist/{chunk-PJGFU5DN.cjs → chunk-YAPPQYJH.cjs} +5 -5
- package/dist/{chunk-U44IKGG7.cjs → chunk-YG3OAHJZ.cjs} +30 -30
- package/dist/{chunk-I5CDNPPE.cjs → chunk-YTR32ZEB.cjs} +80 -49
- package/dist/{chunk-UJXISJBN.js → chunk-YU5RJQPE.js} +3 -3
- package/dist/{chunk-IWC5DM2M.cjs → chunk-ZXZ2AL2J.cjs} +14 -14
- 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 +152 -152
- 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 +375 -185
- package/dist/compiler/index.js +236 -57
- 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 +10 -10
- package/dist/compiler/r3f.js +5 -5
- 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 +4 -4
- package/dist/debugger.js +2 -2
- package/dist/index.cjs +570 -1940
- package/dist/index.js +86 -1456
- package/dist/reconstruction/index.cjs +31 -31
- package/dist/reconstruction/index.js +2 -2
- package/dist/runtime.cjs +14 -6
- package/dist/runtime.js +2 -2
- package/dist/traits/botanical-lotus.cjs +52 -48
- package/dist/traits/botanical-lotus.js +2 -2
- package/dist/traits/index.cjs +481 -473
- package/dist/traits/index.js +12 -8
- package/package.json +40 -40
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk2VL6SJ33_cjs = require('./chunk-2VL6SJ33.cjs');
|
|
4
|
+
var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
|
|
5
5
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
6
6
|
var ans = require('@holoscript/core-types/ans');
|
|
7
7
|
|
|
@@ -18,9 +18,9 @@ function compileToVRChat(composition, options) {
|
|
|
18
18
|
exports.VRChatCompiler = void 0;
|
|
19
19
|
var init_VRChatCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
20
20
|
"src/compiler/VRChatCompiler.ts"() {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
exports.VRChatCompiler = class extends
|
|
21
|
+
chunkQWAR3GY6_cjs.init_CompilerBase();
|
|
22
|
+
chunk2VL6SJ33_cjs.init_DomainBlockCompilerMixin();
|
|
23
|
+
exports.VRChatCompiler = class extends chunkQWAR3GY6_cjs.CompilerBase {
|
|
24
24
|
constructor(options = {}) {
|
|
25
25
|
super();
|
|
26
26
|
this.compilerName = "VRChatCompiler";
|
|
@@ -185,59 +185,59 @@ var init_VRChatCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
185
185
|
this.emit("");
|
|
186
186
|
this.emit("// === v4.2 Domain Blocks (VRChat/Unity) ===");
|
|
187
187
|
let blockIdx = 0;
|
|
188
|
-
const compiled =
|
|
188
|
+
const compiled = chunk2VL6SJ33_cjs.compileDomainBlocks(
|
|
189
189
|
domainBlocks,
|
|
190
190
|
{
|
|
191
191
|
material: (block) => {
|
|
192
|
-
const mat =
|
|
193
|
-
return
|
|
192
|
+
const mat = chunk2VL6SJ33_cjs.compileMaterialBlock(block);
|
|
193
|
+
return chunk2VL6SJ33_cjs.materialToVRChat(mat, `db${blockIdx++}`);
|
|
194
194
|
},
|
|
195
195
|
physics: (block) => {
|
|
196
|
-
const phys =
|
|
197
|
-
return
|
|
196
|
+
const phys = chunk2VL6SJ33_cjs.compilePhysicsBlock(block);
|
|
197
|
+
return chunk2VL6SJ33_cjs.physicsToUnity(phys, `db${blockIdx++}`);
|
|
198
198
|
},
|
|
199
199
|
vfx: (block) => {
|
|
200
|
-
const ps =
|
|
201
|
-
return
|
|
200
|
+
const ps = chunk2VL6SJ33_cjs.compileParticleBlock(block);
|
|
201
|
+
return chunk2VL6SJ33_cjs.particlesToUnity(ps, `db${blockIdx++}`);
|
|
202
202
|
},
|
|
203
203
|
postfx: (block) => {
|
|
204
|
-
const pp =
|
|
205
|
-
return
|
|
204
|
+
const pp = chunk2VL6SJ33_cjs.compilePostProcessingBlock(block);
|
|
205
|
+
return chunk2VL6SJ33_cjs.postProcessingToUnity(pp);
|
|
206
206
|
},
|
|
207
207
|
audio: (block) => {
|
|
208
|
-
const audio =
|
|
209
|
-
return
|
|
208
|
+
const audio = chunk2VL6SJ33_cjs.compileAudioSourceBlock(block);
|
|
209
|
+
return chunk2VL6SJ33_cjs.audioSourceToUnity(audio, `db${blockIdx++}`);
|
|
210
210
|
},
|
|
211
211
|
weather: (block) => {
|
|
212
|
-
const weather =
|
|
213
|
-
return
|
|
212
|
+
const weather = chunk2VL6SJ33_cjs.compileWeatherBlock(block);
|
|
213
|
+
return chunk2VL6SJ33_cjs.weatherToUnity(weather);
|
|
214
214
|
},
|
|
215
215
|
narrative: (block) => {
|
|
216
|
-
const narr =
|
|
217
|
-
return
|
|
216
|
+
const narr = chunk2VL6SJ33_cjs.compileNarrativeBlock(block);
|
|
217
|
+
return chunk2VL6SJ33_cjs.narrativeToVRChat(narr);
|
|
218
218
|
},
|
|
219
219
|
payment: (block) => {
|
|
220
|
-
const pay =
|
|
221
|
-
return
|
|
220
|
+
const pay = chunk2VL6SJ33_cjs.compilePaymentBlock(block);
|
|
221
|
+
return chunk2VL6SJ33_cjs.paymentToVRChat(pay);
|
|
222
222
|
},
|
|
223
223
|
healthcare: (block) => {
|
|
224
|
-
const h =
|
|
225
|
-
return
|
|
224
|
+
const h = chunk2VL6SJ33_cjs.compileHealthcareBlock(block);
|
|
225
|
+
return chunk2VL6SJ33_cjs.healthcareToVRChat(h);
|
|
226
226
|
},
|
|
227
227
|
robotics: (block) => {
|
|
228
|
-
const r =
|
|
229
|
-
return
|
|
228
|
+
const r = chunk2VL6SJ33_cjs.compileRoboticsBlock(block);
|
|
229
|
+
return chunk2VL6SJ33_cjs.roboticsToVRChat(r);
|
|
230
230
|
},
|
|
231
|
-
iot: (block) =>
|
|
232
|
-
dataviz: (block) =>
|
|
233
|
-
education: (block) =>
|
|
234
|
-
music: (block) =>
|
|
235
|
-
architecture: (block) =>
|
|
236
|
-
web3: (block) =>
|
|
237
|
-
procedural: (block) =>
|
|
238
|
-
rendering: (block) =>
|
|
239
|
-
navigation: (block) =>
|
|
240
|
-
input: (block) =>
|
|
231
|
+
iot: (block) => chunk2VL6SJ33_cjs.iotToVRChat(chunk2VL6SJ33_cjs.compileIoTBlock(block)),
|
|
232
|
+
dataviz: (block) => chunk2VL6SJ33_cjs.datavizToVRChat(chunk2VL6SJ33_cjs.compileDataVizBlock(block)),
|
|
233
|
+
education: (block) => chunk2VL6SJ33_cjs.educationToVRChat(chunk2VL6SJ33_cjs.compileEducationBlock(block)),
|
|
234
|
+
music: (block) => chunk2VL6SJ33_cjs.musicToVRChat(chunk2VL6SJ33_cjs.compileMusicBlock(block)),
|
|
235
|
+
architecture: (block) => chunk2VL6SJ33_cjs.architectureToVRChat(chunk2VL6SJ33_cjs.compileArchitectureBlock(block)),
|
|
236
|
+
web3: (block) => chunk2VL6SJ33_cjs.web3ToVRChat(chunk2VL6SJ33_cjs.compileWeb3Block(block)),
|
|
237
|
+
procedural: (block) => chunk2VL6SJ33_cjs.proceduralToVRChat(chunk2VL6SJ33_cjs.compileProceduralBlock(block)),
|
|
238
|
+
rendering: (block) => chunk2VL6SJ33_cjs.renderingToVRChat(chunk2VL6SJ33_cjs.compileRenderingBlock(block)),
|
|
239
|
+
navigation: (block) => chunk2VL6SJ33_cjs.navigationToVRChat(chunk2VL6SJ33_cjs.compileNavigationBlock(block)),
|
|
240
|
+
input: (block) => chunk2VL6SJ33_cjs.inputToVRChat(chunk2VL6SJ33_cjs.compileInputBlock(block))
|
|
241
241
|
},
|
|
242
242
|
(block) => `// Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "CSharp")}"`
|
|
243
243
|
);
|
|
@@ -623,5 +623,5 @@ var init_VRChatCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
623
623
|
exports.VRChatCompiler_exports = VRChatCompiler_exports;
|
|
624
624
|
exports.compileToVRChat = compileToVRChat;
|
|
625
625
|
exports.init_VRChatCompiler = init_VRChatCompiler;
|
|
626
|
-
//# sourceMappingURL=chunk-
|
|
627
|
-
//# sourceMappingURL=chunk-
|
|
626
|
+
//# sourceMappingURL=chunk-NE5CZ2NC.cjs.map
|
|
627
|
+
//# sourceMappingURL=chunk-NE5CZ2NC.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compileParticleBlock, compilePhysicsBlock, compileMaterialBlock } from './chunk-
|
|
2
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compileParticleBlock, compilePhysicsBlock, compileMaterialBlock } from './chunk-DPZXVDGM.js';
|
|
2
|
+
import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
|
|
3
3
|
import { init_safeJsonParse, jsonClone } from './chunk-VVKVQZI6.js';
|
|
4
4
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
5
5
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
@@ -807,5 +807,5 @@ const ${twinName} = new THREE.Group();`);
|
|
|
807
807
|
});
|
|
808
808
|
|
|
809
809
|
export { VRRCompiler, VRRCompiler_default, VRRCompiler_exports, init_VRRCompiler };
|
|
810
|
-
//# sourceMappingURL=chunk-
|
|
811
|
-
//# sourceMappingURL=chunk-
|
|
810
|
+
//# sourceMappingURL=chunk-NPDNFPTU.js.map
|
|
811
|
+
//# sourceMappingURL=chunk-NPDNFPTU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
|
|
4
4
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
5
5
|
var ans = require('@holoscript/core-types/ans');
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ chunkHCCQLAA4_cjs.__export(ARCompiler_exports, {
|
|
|
13
13
|
var AR_TRAIT_NAMES; exports.ARCompiler = void 0; exports.ARCompiler_default = void 0;
|
|
14
14
|
var init_ARCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
15
15
|
"src/compiler/ARCompiler.ts"() {
|
|
16
|
-
|
|
16
|
+
chunkQWAR3GY6_cjs.init_CompilerBase();
|
|
17
17
|
AR_TRAIT_NAMES = [
|
|
18
18
|
"ar_beacon",
|
|
19
19
|
"overlay",
|
|
@@ -23,7 +23,7 @@ var init_ARCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
23
23
|
"camera_overlay",
|
|
24
24
|
"x402_paywall"
|
|
25
25
|
];
|
|
26
|
-
exports.ARCompiler = class extends
|
|
26
|
+
exports.ARCompiler = class extends chunkQWAR3GY6_cjs.CompilerBase {
|
|
27
27
|
constructor(options = {}) {
|
|
28
28
|
super();
|
|
29
29
|
this.compilerName = "ARCompiler";
|
|
@@ -486,5 +486,5 @@ var init_ARCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
486
486
|
|
|
487
487
|
exports.ARCompiler_exports = ARCompiler_exports;
|
|
488
488
|
exports.init_ARCompiler = init_ARCompiler;
|
|
489
|
-
//# sourceMappingURL=chunk-
|
|
490
|
-
//# sourceMappingURL=chunk-
|
|
489
|
+
//# sourceMappingURL=chunk-NTGBEMYL.cjs.map
|
|
490
|
+
//# sourceMappingURL=chunk-NTGBEMYL.cjs.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 chunk2VL6SJ33_cjs = require('./chunk-2VL6SJ33.cjs');
|
|
5
|
+
var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.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
|
+
chunkQWAR3GY6_cjs.init_CompilerBase();
|
|
18
18
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
19
|
-
|
|
20
|
-
exports.OpenXRCompiler = class extends
|
|
19
|
+
chunk2VL6SJ33_cjs.init_DomainBlockCompilerMixin();
|
|
20
|
+
exports.OpenXRCompiler = class extends chunkQWAR3GY6_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 = chunk2VL6SJ33_cjs.compileDomainBlocks(
|
|
140
140
|
// @ts-expect-error During migration
|
|
141
141
|
domainBlocks,
|
|
142
142
|
{
|
|
143
143
|
material: (block) => {
|
|
144
|
-
const m =
|
|
144
|
+
const m = chunk2VL6SJ33_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 = chunk2VL6SJ33_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 = chunk2VL6SJ33_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 = chunk2VL6SJ33_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 = chunk2VL6SJ33_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 = chunk2VL6SJ33_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-NTJZJ5IP.cjs.map
|
|
1049
|
+
//# sourceMappingURL=chunk-NTJZJ5IP.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
|
|
4
4
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
5
5
|
|
|
6
6
|
// src/compiler/StateCompiler.ts
|
|
@@ -12,8 +12,8 @@ chunkHCCQLAA4_cjs.__export(StateCompiler_exports, {
|
|
|
12
12
|
exports.StateCompiler = void 0; exports.UnauthorizedStateCompilerAccessError = void 0;
|
|
13
13
|
var init_StateCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
14
14
|
"src/compiler/StateCompiler.ts"() {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
chunkQWAR3GY6_cjs.init_AgentRBAC();
|
|
16
|
+
chunkQWAR3GY6_cjs.init_CompilerBase();
|
|
17
17
|
exports.StateCompiler = class {
|
|
18
18
|
constructor() {
|
|
19
19
|
this.anonCounter = 0;
|
|
@@ -41,7 +41,7 @@ var init_StateCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
41
41
|
*/
|
|
42
42
|
validateAccess(agentToken) {
|
|
43
43
|
if (!agentToken) return;
|
|
44
|
-
const rbac =
|
|
44
|
+
const rbac = chunkQWAR3GY6_cjs.getRBAC();
|
|
45
45
|
const decision = rbac.checkAccess({
|
|
46
46
|
token: agentToken,
|
|
47
47
|
resourceType: "ast" /* AST */,
|
|
@@ -101,7 +101,7 @@ var init_StateCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
101
101
|
return `${node.type}_${this.anonCounter++}`;
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
|
-
exports.UnauthorizedStateCompilerAccessError = class extends
|
|
104
|
+
exports.UnauthorizedStateCompilerAccessError = class extends chunkQWAR3GY6_cjs.UnauthorizedCompilerAccessError {
|
|
105
105
|
constructor(decision, compilerName) {
|
|
106
106
|
super(decision, "state compilation", compilerName);
|
|
107
107
|
this.name = "UnauthorizedStateCompilerAccessError";
|
|
@@ -112,5 +112,5 @@ var init_StateCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
112
112
|
|
|
113
113
|
exports.StateCompiler_exports = StateCompiler_exports;
|
|
114
114
|
exports.init_StateCompiler = init_StateCompiler;
|
|
115
|
-
//# sourceMappingURL=chunk-
|
|
116
|
-
//# sourceMappingURL=chunk-
|
|
115
|
+
//# sourceMappingURL=chunk-OXGPGQXN.cjs.map
|
|
116
|
+
//# sourceMappingURL=chunk-OXGPGQXN.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-DPZXVDGM.js';
|
|
4
|
+
import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.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-P4AIF7OQ.js.map
|
|
5731
|
+
//# sourceMappingURL=chunk-P4AIF7OQ.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-DPZXVDGM.js';
|
|
2
|
+
import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.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-P52PPB5R.js.map
|
|
1183
|
+
//# sourceMappingURL=chunk-P52PPB5R.js.map
|
|
@@ -4,9 +4,9 @@ var chunkLM2VU56C_cjs = require('./chunk-LM2VU56C.cjs');
|
|
|
4
4
|
var chunkCIWWXYHZ_cjs = require('./chunk-CIWWXYHZ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/version.ts
|
|
7
|
-
var HOLOSCRIPT_VERSION = "8.0.
|
|
8
|
-
var GIT_COMMIT_SHA = "
|
|
9
|
-
var BUILD_TIMESTAMP = "2026-06-
|
|
7
|
+
var HOLOSCRIPT_VERSION = "8.0.6" ;
|
|
8
|
+
var GIT_COMMIT_SHA = "8f8443fcd" ;
|
|
9
|
+
var BUILD_TIMESTAMP = "2026-06-08T04:43:00.008Z" ;
|
|
10
10
|
function getVersionString() {
|
|
11
11
|
const sha = `+${GIT_COMMIT_SHA}` ;
|
|
12
12
|
return `${HOLOSCRIPT_VERSION}${sha}`;
|
|
@@ -2192,5 +2192,5 @@ exports.putCachedWeightBlob = putCachedWeightBlob;
|
|
|
2192
2192
|
exports.resetHoloMapTelemetryForTests = resetHoloMapTelemetryForTests;
|
|
2193
2193
|
exports.runHoloMapMicroEncoderCpu = runHoloMapMicroEncoderCpu;
|
|
2194
2194
|
exports.tryCreateHoloMapEncoderDevice = tryCreateHoloMapEncoderDevice;
|
|
2195
|
-
//# sourceMappingURL=chunk-
|
|
2196
|
-
//# sourceMappingURL=chunk-
|
|
2195
|
+
//# sourceMappingURL=chunk-PVWNU4QT.cjs.map
|
|
2196
|
+
//# sourceMappingURL=chunk-PVWNU4QT.cjs.map
|
|
@@ -3983,7 +3983,9 @@ var init_ANSNamespace = chunkHCCQLAA4_cjs.__esm({
|
|
|
3983
3983
|
STATE: "/compile/meta/state",
|
|
3984
3984
|
TRAIT_COMPOSITION: "/compile/meta/trait-composition",
|
|
3985
3985
|
// ── mixin ────────────────────────────────────────────────────────────
|
|
3986
|
-
DOMAIN_BLOCK: "/compile/mixin/domain-block"
|
|
3986
|
+
DOMAIN_BLOCK: "/compile/mixin/domain-block",
|
|
3987
|
+
// ── studio ───────────────────────────────────────────────────────────
|
|
3988
|
+
CODE_EDITOR: "/compile/studio/code-editor"
|
|
3987
3989
|
};
|
|
3988
3990
|
COMPILER_DOMAIN_MAP = {
|
|
3989
3991
|
// gamedev
|
|
@@ -4041,7 +4043,9 @@ var init_ANSNamespace = chunkHCCQLAA4_cjs.__esm({
|
|
|
4041
4043
|
state: ANSDomain.META,
|
|
4042
4044
|
"trait-composition": ANSDomain.META,
|
|
4043
4045
|
// mixin
|
|
4044
|
-
"domain-block": ANSDomain.MIXIN
|
|
4046
|
+
"domain-block": ANSDomain.MIXIN,
|
|
4047
|
+
// studio
|
|
4048
|
+
"code-editor": ANSDomain.META
|
|
4045
4049
|
};
|
|
4046
4050
|
COMPILER_ANS_MAP = {
|
|
4047
4051
|
unity: exports.ANSCapabilityPath.UNITY,
|
|
@@ -4084,7 +4088,8 @@ var init_ANSNamespace = chunkHCCQLAA4_cjs.__esm({
|
|
|
4084
4088
|
incremental: exports.ANSCapabilityPath.INCREMENTAL,
|
|
4085
4089
|
state: exports.ANSCapabilityPath.STATE,
|
|
4086
4090
|
"trait-composition": exports.ANSCapabilityPath.TRAIT_COMPOSITION,
|
|
4087
|
-
"domain-block": exports.ANSCapabilityPath.DOMAIN_BLOCK
|
|
4091
|
+
"domain-block": exports.ANSCapabilityPath.DOMAIN_BLOCK,
|
|
4092
|
+
"code-editor": exports.ANSCapabilityPath.CODE_EDITOR
|
|
4088
4093
|
};
|
|
4089
4094
|
ALL_COMPILER_NAMES = Object.keys(
|
|
4090
4095
|
COMPILER_DOMAIN_MAP
|
|
@@ -5530,7 +5535,8 @@ var init_CompilerBase = chunkHCCQLAA4_cjs.__esm({
|
|
|
5530
5535
|
NodeServiceCompiler: "node-service",
|
|
5531
5536
|
NextJSAPICompiler: "nextjs-api",
|
|
5532
5537
|
MCPConfigCompiler: "domain-block",
|
|
5533
|
-
AgentInferenceCompiler: "agent-inference"
|
|
5538
|
+
AgentInferenceCompiler: "agent-inference",
|
|
5539
|
+
CodeEditorCompiler: "code-editor"
|
|
5534
5540
|
};
|
|
5535
5541
|
exports.UnauthorizedCompilerAccessError = class extends Error {
|
|
5536
5542
|
constructor(decision, operation, compilerName) {
|
|
@@ -5998,5 +6004,5 @@ exports.isCapabilityTokenCredential = isCapabilityTokenCredential;
|
|
|
5998
6004
|
exports.normalizeNormProvenance = normalizeNormProvenance;
|
|
5999
6005
|
exports.normsByCategory = normsByCategory;
|
|
6000
6006
|
exports.serializeNormProvenance = serializeNormProvenance;
|
|
6001
|
-
//# sourceMappingURL=chunk-
|
|
6002
|
-
//# sourceMappingURL=chunk-
|
|
6007
|
+
//# sourceMappingURL=chunk-QWAR3GY6.cjs.map
|
|
6008
|
+
//# sourceMappingURL=chunk-QWAR3GY6.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDCE3LDO3_cjs = require('./chunk-DCE3LDO3.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 chunkDCE3LDO3_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-QWSB553J.cjs.map
|
|
424
|
+
//# sourceMappingURL=chunk-QWSB553J.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-CXS3DUKD.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-RCZHLCX2.js.map
|
|
2007
|
+
//# sourceMappingURL=chunk-RCZHLCX2.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { init_VRRCompiler, VRRCompiler } from './chunk-
|
|
2
|
-
import { init_ARCompiler, ARCompiler } from './chunk-
|
|
3
|
-
import { init_BabylonCompiler, BabylonCompiler } from './chunk-
|
|
4
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_VRRCompiler, VRRCompiler } from './chunk-NPDNFPTU.js';
|
|
2
|
+
import { init_ARCompiler, ARCompiler } from './chunk-YU5RJQPE.js';
|
|
3
|
+
import { init_BabylonCompiler, BabylonCompiler } from './chunk-3B7AY37W.js';
|
|
4
|
+
import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
|
|
5
5
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
6
6
|
|
|
7
7
|
// src/compiler/MultiLayerCompiler.ts
|
|
@@ -66,5 +66,5 @@ var MultiLayerCompiler = class extends CompilerBase {
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export { MultiLayerCompiler };
|
|
69
|
-
//# sourceMappingURL=chunk-
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
69
|
+
//# sourceMappingURL=chunk-RXU4PQKA.js.map
|
|
70
|
+
//# sourceMappingURL=chunk-RXU4PQKA.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-QPI4I7DL.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-S6OVFUXD.js.map
|
|
449
|
+
//# sourceMappingURL=chunk-S6OVFUXD.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 chunk2VL6SJ33_cjs = require('./chunk-2VL6SJ33.cjs');
|
|
5
|
+
var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.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(UnityCompiler_exports, {
|
|
|
14
14
|
exports.UnityCompiler = void 0;
|
|
15
15
|
var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
16
16
|
"src/compiler/UnityCompiler.ts"() {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
chunkQWAR3GY6_cjs.init_CompilerBase();
|
|
18
|
+
chunk2VL6SJ33_cjs.init_DomainBlockCompilerMixin();
|
|
19
19
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
20
|
-
exports.UnityCompiler = class extends
|
|
20
|
+
exports.UnityCompiler = class extends chunkQWAR3GY6_cjs.CompilerBase {
|
|
21
21
|
constructor(options = {}) {
|
|
22
22
|
super();
|
|
23
23
|
this.compilerName = "UnityCompiler";
|
|
@@ -219,63 +219,63 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
219
219
|
this.emit("");
|
|
220
220
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
221
221
|
let blockIdx = 0;
|
|
222
|
-
const compiled =
|
|
222
|
+
const compiled = chunk2VL6SJ33_cjs.compileDomainBlocks(
|
|
223
223
|
domainBlocks,
|
|
224
224
|
{
|
|
225
225
|
material: (block) => {
|
|
226
|
-
const mat =
|
|
226
|
+
const mat = chunk2VL6SJ33_cjs.compileMaterialBlock(block);
|
|
227
227
|
const prefix = `db${blockIdx++}`;
|
|
228
|
-
return
|
|
228
|
+
return chunk2VL6SJ33_cjs.materialToUnity(mat, prefix);
|
|
229
229
|
},
|
|
230
230
|
physics: (block) => {
|
|
231
|
-
const phys =
|
|
231
|
+
const phys = chunk2VL6SJ33_cjs.compilePhysicsBlock(block);
|
|
232
232
|
const prefix = `db${blockIdx++}`;
|
|
233
|
-
return
|
|
233
|
+
return chunk2VL6SJ33_cjs.physicsToUnity(phys, prefix);
|
|
234
234
|
},
|
|
235
235
|
vfx: (block) => {
|
|
236
|
-
const ps =
|
|
236
|
+
const ps = chunk2VL6SJ33_cjs.compileParticleBlock(block);
|
|
237
237
|
const prefix = `db${blockIdx++}`;
|
|
238
|
-
return
|
|
238
|
+
return chunk2VL6SJ33_cjs.particlesToUnity(ps, prefix);
|
|
239
239
|
},
|
|
240
240
|
postfx: (block) => {
|
|
241
|
-
const pp =
|
|
242
|
-
return
|
|
241
|
+
const pp = chunk2VL6SJ33_cjs.compilePostProcessingBlock(block);
|
|
242
|
+
return chunk2VL6SJ33_cjs.postProcessingToUnity(pp);
|
|
243
243
|
},
|
|
244
244
|
audio: (block) => {
|
|
245
|
-
const audio =
|
|
245
|
+
const audio = chunk2VL6SJ33_cjs.compileAudioSourceBlock(block);
|
|
246
246
|
const prefix = `db${blockIdx++}`;
|
|
247
|
-
return
|
|
247
|
+
return chunk2VL6SJ33_cjs.audioSourceToUnity(audio, prefix);
|
|
248
248
|
},
|
|
249
249
|
weather: (block) => {
|
|
250
|
-
const weather =
|
|
251
|
-
return
|
|
250
|
+
const weather = chunk2VL6SJ33_cjs.compileWeatherBlock(block);
|
|
251
|
+
return chunk2VL6SJ33_cjs.weatherToUnity(weather);
|
|
252
252
|
},
|
|
253
253
|
narrative: (block) => {
|
|
254
|
-
const narr =
|
|
255
|
-
return
|
|
254
|
+
const narr = chunk2VL6SJ33_cjs.compileNarrativeBlock(block);
|
|
255
|
+
return chunk2VL6SJ33_cjs.narrativeToUnity(narr);
|
|
256
256
|
},
|
|
257
257
|
payment: (block) => {
|
|
258
|
-
const pay =
|
|
259
|
-
return
|
|
258
|
+
const pay = chunk2VL6SJ33_cjs.compilePaymentBlock(block);
|
|
259
|
+
return chunk2VL6SJ33_cjs.paymentToUnity(pay);
|
|
260
260
|
},
|
|
261
261
|
healthcare: (block) => {
|
|
262
|
-
const h =
|
|
263
|
-
return
|
|
262
|
+
const h = chunk2VL6SJ33_cjs.compileHealthcareBlock(block);
|
|
263
|
+
return chunk2VL6SJ33_cjs.healthcareToUnity(h);
|
|
264
264
|
},
|
|
265
265
|
robotics: (block) => {
|
|
266
|
-
const r =
|
|
267
|
-
return
|
|
266
|
+
const r = chunk2VL6SJ33_cjs.compileRoboticsBlock(block);
|
|
267
|
+
return chunk2VL6SJ33_cjs.roboticsToUnity(r);
|
|
268
268
|
},
|
|
269
|
-
iot: (block) =>
|
|
270
|
-
dataviz: (block) =>
|
|
271
|
-
education: (block) =>
|
|
272
|
-
music: (block) =>
|
|
273
|
-
architecture: (block) =>
|
|
274
|
-
web3: (block) =>
|
|
275
|
-
procedural: (block) =>
|
|
276
|
-
rendering: (block) =>
|
|
277
|
-
navigation: (block) =>
|
|
278
|
-
input: (block) =>
|
|
269
|
+
iot: (block) => chunk2VL6SJ33_cjs.iotToUnity(chunk2VL6SJ33_cjs.compileIoTBlock(block)),
|
|
270
|
+
dataviz: (block) => chunk2VL6SJ33_cjs.datavizToUnity(chunk2VL6SJ33_cjs.compileDataVizBlock(block)),
|
|
271
|
+
education: (block) => chunk2VL6SJ33_cjs.educationToUnity(chunk2VL6SJ33_cjs.compileEducationBlock(block)),
|
|
272
|
+
music: (block) => chunk2VL6SJ33_cjs.musicToUnity(chunk2VL6SJ33_cjs.compileMusicBlock(block)),
|
|
273
|
+
architecture: (block) => chunk2VL6SJ33_cjs.architectureToUnity(chunk2VL6SJ33_cjs.compileArchitectureBlock(block)),
|
|
274
|
+
web3: (block) => chunk2VL6SJ33_cjs.web3ToUnity(chunk2VL6SJ33_cjs.compileWeb3Block(block)),
|
|
275
|
+
procedural: (block) => chunk2VL6SJ33_cjs.proceduralToUnity(chunk2VL6SJ33_cjs.compileProceduralBlock(block)),
|
|
276
|
+
rendering: (block) => chunk2VL6SJ33_cjs.renderingToUnity(chunk2VL6SJ33_cjs.compileRenderingBlock(block)),
|
|
277
|
+
navigation: (block) => chunk2VL6SJ33_cjs.navigationToUnity(chunk2VL6SJ33_cjs.compileNavigationBlock(block)),
|
|
278
|
+
input: (block) => chunk2VL6SJ33_cjs.inputToUnity(chunk2VL6SJ33_cjs.compileInputBlock(block))
|
|
279
279
|
},
|
|
280
280
|
(block) => `// Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "CSharp")}"`
|
|
281
281
|
);
|
|
@@ -777,5 +777,5 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
777
777
|
|
|
778
778
|
exports.UnityCompiler_exports = UnityCompiler_exports;
|
|
779
779
|
exports.init_UnityCompiler = init_UnityCompiler;
|
|
780
|
-
//# sourceMappingURL=chunk-
|
|
781
|
-
//# sourceMappingURL=chunk-
|
|
780
|
+
//# sourceMappingURL=chunk-TCBJMNXS.cjs.map
|
|
781
|
+
//# sourceMappingURL=chunk-TCBJMNXS.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.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-TDCJ7YPA.js.map
|
|
421
|
+
//# sourceMappingURL=chunk-TDCJ7YPA.js.map
|