@holoscript/core 8.0.0 → 8.0.1

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.
Files changed (126) hide show
  1. package/README.md +2 -2
  2. package/dist/{GLTFPipeline-M7WSSJED.cjs → GLTFPipeline-N6B6PJ6G.cjs} +10 -9
  3. package/dist/{GLTFPipeline-276GE64O.js → GLTFPipeline-P3WMNYCN.js} +6 -5
  4. package/dist/{HoloScriptRuntime-3URVTKPJ.js → HoloScriptRuntime-CBYJX3LZ.js} +3 -3
  5. package/dist/{HoloScriptRuntime-SXEAEU2N.cjs → HoloScriptRuntime-VJ374RER.cjs} +4 -4
  6. package/dist/{chunk-JJBE3TIH.cjs → chunk-2IWC4FP7.cjs} +6 -6
  7. package/dist/{chunk-S4W6Z2MN.js → chunk-2X7NGX3M.js} +3 -3
  8. package/dist/chunk-4GU5GCIY.js +1384 -0
  9. package/dist/{chunk-T2QCTZMO.js → chunk-4SDKXQ4C.js} +3 -3
  10. package/dist/{chunk-253GBQZY.cjs → chunk-5H2G27PK.cjs} +35 -35
  11. package/dist/{chunk-C2A5DUMF.cjs → chunk-5NWINHR5.cjs} +35 -35
  12. package/dist/chunk-6Q7RC2MK.cjs +1418 -0
  13. package/dist/{chunk-D54CNIAJ.cjs → chunk-7H33U5SM.cjs} +2 -2
  14. package/dist/{chunk-CXFDRBQU.cjs → chunk-7M3PNU2M.cjs} +7 -7
  15. package/dist/{chunk-B4TFTDG4.js → chunk-7T25IEZ2.js} +3 -3
  16. package/dist/{chunk-7CUEMLDZ.cjs → chunk-7V4JI5TB.cjs} +540 -38
  17. package/dist/{chunk-WJIHFLMJ.js → chunk-ADADVMXY.js} +2 -2
  18. package/dist/{chunk-GQT4TYKY.cjs → chunk-ALC6K7GL.cjs} +40 -19
  19. package/dist/{chunk-3HYYMEXI.cjs → chunk-AOVGZ25K.cjs} +17 -12
  20. package/dist/{chunk-NHWSN2SD.cjs → chunk-AVJHHUC5.cjs} +17 -17
  21. package/dist/{chunk-UM6C3CGK.js → chunk-BGY3SDG3.js} +24 -3
  22. package/dist/{chunk-JCLBKPMX.js → chunk-BOVPWH4H.js} +48 -4
  23. package/dist/{chunk-ZZEI7MV4.js → chunk-CCATWPXM.js} +3 -3
  24. package/dist/{chunk-NBMHU6SW.js → chunk-CMT5NMMS.js} +3 -3
  25. package/dist/{chunk-HINXWAOD.cjs → chunk-CR4FMIWL.cjs} +11 -11
  26. package/dist/{chunk-W7VDOASB.cjs → chunk-CR7XRXRN.cjs} +5 -5
  27. package/dist/{chunk-AYBXB26F.js → chunk-CSD27UNQ.js} +5 -5
  28. package/dist/{chunk-IZM5VQZD.js → chunk-D3STJ56J.js} +3 -3
  29. package/dist/{chunk-ZBQXLH2L.js → chunk-DHO2YRIM.js} +3 -3
  30. package/dist/{chunk-JX7YL6ZE.js → chunk-E6XXE66V.js} +4 -4
  31. package/dist/{chunk-62FBK3B7.js → chunk-FFAOS5HQ.js} +4 -4
  32. package/dist/{chunk-NV4VMVXU.js → chunk-FL33V6U7.js} +3 -3
  33. package/dist/{chunk-XUUVDHIF.cjs → chunk-HKEXJUWS.cjs} +48 -3
  34. package/dist/{chunk-NXZFOPVD.cjs → chunk-HNDK4IQU.cjs} +16 -16
  35. package/dist/{chunk-RVBHAXFG.js → chunk-HR2OSYVQ.js} +16 -11
  36. package/dist/{chunk-LICPB5HZ.cjs → chunk-IUDGEUDO.cjs} +10 -10
  37. package/dist/{chunk-73FELZVJ.cjs → chunk-IWC5DM2M.cjs} +11 -11
  38. package/dist/{chunk-NGKREZ36.js → chunk-J52VSAQ7.js} +505 -5
  39. package/dist/{chunk-PHVRG4I2.js → chunk-J7XZV333.js} +3 -3
  40. package/dist/{chunk-K4VVR7CN.cjs → chunk-JBNDTXXV.cjs} +15 -15
  41. package/dist/{chunk-3NFFOWGG.js → chunk-JIBL5LRK.js} +2 -2
  42. package/dist/{chunk-HZSPDCXV.cjs → chunk-K574J76X.cjs} +3 -3
  43. package/dist/{chunk-SJBGLS25.cjs → chunk-KHDZJE5D.cjs} +5 -5
  44. package/dist/{chunk-KH4CNH66.cjs → chunk-L5LKKENW.cjs} +4 -4
  45. package/dist/{chunk-IVSZDECV.js → chunk-LHAXPADA.js} +3 -3
  46. package/dist/{chunk-EUDQTK7N.cjs → chunk-MQWAT42R.cjs} +2 -2
  47. package/dist/{chunk-KVRSTFNH.cjs → chunk-NCWCUZNS.cjs} +8 -8
  48. package/dist/{chunk-MGE5Z4GS.js → chunk-OH2FAIVU.js} +3 -3
  49. package/dist/{chunk-UMABK6SI.js → chunk-PY37LNDP.js} +3 -3
  50. package/dist/{chunk-23J755AR.js → chunk-QD32ADK6.js} +3 -3
  51. package/dist/{chunk-HZTDET3N.js → chunk-R24NNAEG.js} +3 -3
  52. package/dist/{chunk-6DPSFNJB.cjs → chunk-ROHLEP2W.cjs} +16 -16
  53. package/dist/{chunk-25IQCHTO.cjs → chunk-TWUXUCEW.cjs} +35 -35
  54. package/dist/{chunk-3AO425MZ.cjs → chunk-UFZZ7TSN.cjs} +17 -17
  55. package/dist/{chunk-BE4UJCQT.js → chunk-UWJHCOH2.js} +3 -3
  56. package/dist/{chunk-KEFNV2WM.cjs → chunk-X3UVCWNL.cjs} +13 -13
  57. package/dist/{chunk-7HIASF7S.cjs → chunk-XB274MW5.cjs} +10 -10
  58. package/dist/{chunk-KJLB4OPV.js → chunk-YN2YWTXW.js} +3 -3
  59. package/dist/{chunk-IPWSXCCN.js → chunk-YVD3CSO3.js} +3 -3
  60. package/dist/{chunk-F43YAA34.js → chunk-YVOAF4ML.js} +3 -3
  61. package/dist/{chunk-OR4Q2BGL.cjs → chunk-YWOBW2PV.cjs} +15 -15
  62. package/dist/compiler/android-xr.cjs +5 -5
  63. package/dist/compiler/android-xr.js +3 -3
  64. package/dist/compiler/babylon.cjs +4 -4
  65. package/dist/compiler/babylon.js +3 -3
  66. package/dist/compiler/business-quest.cjs +9 -9
  67. package/dist/compiler/business-quest.js +1 -1
  68. package/dist/compiler/domain-block-utils.cjs +154 -150
  69. package/dist/compiler/domain-block-utils.js +2 -2
  70. package/dist/compiler/gltf-pipeline.cjs +8 -8
  71. package/dist/compiler/gltf-pipeline.js +1 -1
  72. package/dist/compiler/godot.cjs +4 -4
  73. package/dist/compiler/godot.js +3 -3
  74. package/dist/compiler/index.cjs +129 -581
  75. package/dist/compiler/index.d.ts +12 -0
  76. package/dist/compiler/index.js +42 -498
  77. package/dist/compiler/multi-layer.cjs +5 -5
  78. package/dist/compiler/multi-layer.js +4 -4
  79. package/dist/compiler/nodetoy.d.ts +69 -0
  80. package/dist/compiler/openxr.cjs +4 -4
  81. package/dist/compiler/openxr.js +3 -3
  82. package/dist/compiler/playcanvas.cjs +4 -4
  83. package/dist/compiler/playcanvas.js +3 -3
  84. package/dist/compiler/r3f.cjs +9 -8
  85. package/dist/compiler/r3f.js +4 -3
  86. package/dist/compiler/sdf.cjs +5 -5
  87. package/dist/compiler/sdf.js +3 -3
  88. package/dist/compiler/unity.cjs +4 -4
  89. package/dist/compiler/unity.js +3 -3
  90. package/dist/compiler/unreal.cjs +5 -5
  91. package/dist/compiler/unreal.js +3 -3
  92. package/dist/compiler/urdf.cjs +12 -12
  93. package/dist/compiler/urdf.js +3 -3
  94. package/dist/compiler/usd-physics.cjs +5 -5
  95. package/dist/compiler/usd-physics.js +2 -2
  96. package/dist/compiler/visionos.cjs +4 -4
  97. package/dist/compiler/visionos.js +3 -3
  98. package/dist/compiler/vrchat.cjs +5 -5
  99. package/dist/compiler/vrchat.js +3 -3
  100. package/dist/compiler/vrr.cjs +5 -5
  101. package/dist/compiler/vrr.js +3 -3
  102. package/dist/compiler/wasm.cjs +8 -8
  103. package/dist/compiler/wasm.js +3 -3
  104. package/dist/compiler/webgpu.cjs +4 -4
  105. package/dist/compiler/webgpu.js +3 -3
  106. package/dist/debugger.cjs +4 -4
  107. package/dist/debugger.js +2 -2
  108. package/dist/dist-ACXG6IH5.cjs +3113 -0
  109. package/dist/dist-VD4L6V7Q.js +3076 -0
  110. package/dist/index.cjs +1915 -488
  111. package/dist/index.d.ts +2 -0
  112. package/dist/index.js +1480 -53
  113. package/dist/reconstruction/index.cjs +31 -31
  114. package/dist/reconstruction/index.js +2 -2
  115. package/dist/runtime.cjs +6 -6
  116. package/dist/runtime.js +2 -2
  117. package/dist/src-4ROC227P.cjs +2094 -0
  118. package/dist/src-HCCCSYP7.js +2073 -0
  119. package/dist/traits/botanical-lotus.cjs +146 -10
  120. package/dist/traits/botanical-lotus.d.ts +330 -0
  121. package/dist/traits/botanical-lotus.js +4 -1
  122. package/dist/traits/index.cjs +594 -455
  123. package/dist/traits/index.js +9 -5
  124. package/package.json +20 -20
  125. package/dist/chunk-VECQYRXL.js +0 -474
  126. package/dist/chunk-WDT3JTGM.cjs +0 -483
@@ -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 = "8.0.0" ;
6
- var GIT_COMMIT_SHA = "fe71f4fd6" ;
7
- var BUILD_TIMESTAMP = "2026-06-01T03:27:39.090Z" ;
5
+ var HOLOSCRIPT_VERSION = "8.0.1" ;
6
+ var GIT_COMMIT_SHA = "efb467dce" ;
7
+ var BUILD_TIMESTAMP = "2026-06-04T22:03:08.151Z" ;
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-AYBXB26F.js.map
2176
- //# sourceMappingURL=chunk-AYBXB26F.js.map
2175
+ //# sourceMappingURL=chunk-CSD27UNQ.js.map
2176
+ //# sourceMappingURL=chunk-CSD27UNQ.js.map
@@ -1,5 +1,5 @@
1
1
  import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-GZG4KA4E.js';
2
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToUnreal, compileAudioSourceBlock, audioSourceToUnreal, compilePostProcessingBlock, postProcessingToUnreal, compileParticleBlock, particlesToUnreal, compilePhysicsBlock, physicsToUnreal, compileMaterialBlock, materialToUnreal } from './chunk-JCLBKPMX.js';
2
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToUnreal, compileAudioSourceBlock, audioSourceToUnreal, compilePostProcessingBlock, postProcessingToUnreal, compileParticleBlock, particlesToUnreal, compilePhysicsBlock, physicsToUnreal, compileMaterialBlock, materialToUnreal } from './chunk-BOVPWH4H.js';
3
3
  import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
4
4
  import { __export, __esm } from './chunk-OL46QLBJ.js';
5
5
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
@@ -710,5 +710,5 @@ var init_UnrealCompiler = __esm({
710
710
  });
711
711
 
712
712
  export { UnrealCompiler, UnrealCompiler_exports, compileToUnreal, init_UnrealCompiler };
713
- //# sourceMappingURL=chunk-IZM5VQZD.js.map
714
- //# sourceMappingURL=chunk-IZM5VQZD.js.map
713
+ //# sourceMappingURL=chunk-D3STJ56J.js.map
714
+ //# sourceMappingURL=chunk-D3STJ56J.js.map
@@ -1,5 +1,5 @@
1
1
  import { init_TraitCompositor, TraitCompositor } from './chunk-4C57PR42.js';
2
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, audioSourceToPlayCanvas, compilePostProcessingBlock, compileParticleBlock, particlesToPlayCanvas, compilePhysicsBlock, physicsToPlayCanvas, compileMaterialBlock, materialToPlayCanvas } from './chunk-JCLBKPMX.js';
2
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, audioSourceToPlayCanvas, compilePostProcessingBlock, compileParticleBlock, particlesToPlayCanvas, compilePhysicsBlock, physicsToPlayCanvas, compileMaterialBlock, materialToPlayCanvas } from './chunk-BOVPWH4H.js';
3
3
  import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
4
4
  import { __export, __esm } from './chunk-OL46QLBJ.js';
5
5
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
@@ -752,5 +752,5 @@ var init_PlayCanvasCompiler = __esm({
752
752
  });
753
753
 
754
754
  export { PlayCanvasCompiler, PlayCanvasCompiler_exports, init_PlayCanvasCompiler };
755
- //# sourceMappingURL=chunk-ZBQXLH2L.js.map
756
- //# sourceMappingURL=chunk-ZBQXLH2L.js.map
755
+ //# sourceMappingURL=chunk-DHO2YRIM.js.map
756
+ //# sourceMappingURL=chunk-DHO2YRIM.js.map
@@ -1,7 +1,7 @@
1
1
  import { generateHullGeometry, generateMembraneGeometry, generateSplineGeometry } from './chunk-EKBKLK7P.js';
2
- import { init_R3FCompiler, init_ObjectPool, ASTNodePool, MATERIAL_PRESETS } from './chunk-UM6C3CGK.js';
2
+ import { init_R3FCompiler, init_ObjectPool, ASTNodePool, MATERIAL_PRESETS } from './chunk-BGY3SDG3.js';
3
3
  import { init_TraitCompositor, TraitCompositor } from './chunk-4C57PR42.js';
4
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToGLTF } from './chunk-JCLBKPMX.js';
4
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToGLTF } from './chunk-BOVPWH4H.js';
5
5
  import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
6
6
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
7
7
 
@@ -2248,5 +2248,5 @@ function createGLTFPipeline(options) {
2248
2248
  }
2249
2249
 
2250
2250
  export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture };
2251
- //# sourceMappingURL=chunk-JX7YL6ZE.js.map
2252
- //# sourceMappingURL=chunk-JX7YL6ZE.js.map
2251
+ //# sourceMappingURL=chunk-E6XXE66V.js.map
2252
+ //# sourceMappingURL=chunk-E6XXE66V.js.map
@@ -1,6 +1,6 @@
1
- import { init_VRRCompiler, VRRCompiler } from './chunk-T2QCTZMO.js';
1
+ import { init_VRRCompiler, VRRCompiler } from './chunk-4SDKXQ4C.js';
2
2
  import { init_ARCompiler, ARCompiler } from './chunk-UJXISJBN.js';
3
- import { init_BabylonCompiler, BabylonCompiler } from './chunk-PHVRG4I2.js';
3
+ import { init_BabylonCompiler, BabylonCompiler } from './chunk-J7XZV333.js';
4
4
  import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
5
5
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
6
6
 
@@ -66,5 +66,5 @@ var MultiLayerCompiler = class extends CompilerBase {
66
66
  };
67
67
 
68
68
  export { MultiLayerCompiler };
69
- //# sourceMappingURL=chunk-62FBK3B7.js.map
70
- //# sourceMappingURL=chunk-62FBK3B7.js.map
69
+ //# sourceMappingURL=chunk-FFAOS5HQ.js.map
70
+ //# sourceMappingURL=chunk-FFAOS5HQ.js.map
@@ -1,4 +1,4 @@
1
- import { HoloScriptRuntime } from './chunk-3NFFOWGG.js';
1
+ import { HoloScriptRuntime } from './chunk-JIBL5LRK.js';
2
2
  import { HoloScriptCodeParser } from './chunk-URG2SJLK.js';
3
3
 
4
4
  // src/HoloScriptDebugger.ts
@@ -417,5 +417,5 @@ function createDebugger(runtime) {
417
417
  }
418
418
 
419
419
  export { HoloScriptDebugger, createDebugger };
420
- //# sourceMappingURL=chunk-NV4VMVXU.js.map
421
- //# sourceMappingURL=chunk-NV4VMVXU.js.map
420
+ //# sourceMappingURL=chunk-FL33V6U7.js.map
421
+ //# sourceMappingURL=chunk-FL33V6U7.js.map
@@ -7,6 +7,9 @@ var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
7
7
  function esc(value, target) {
8
8
  return chunkKKP7JKN4_cjs.escapeStringValue(value, target);
9
9
  }
10
+ function isPhysicalMaterial(mat) {
11
+ return PHYSICAL_MATERIAL_KEYS.some((k) => mat[k] !== void 0);
12
+ }
10
13
  function compileMaterialBlock(block) {
11
14
  const type = block.keyword === "unlit_material" ? "unlit" : block.keyword === "shader" ? "shader" : "pbr";
12
15
  const textureMaps = {};
@@ -28,6 +31,17 @@ function compileMaterialBlock(block) {
28
31
  ior: otherProps.ior,
29
32
  emissiveColor: otherProps.emissive_color,
30
33
  emissiveIntensity: otherProps.emissive_intensity,
34
+ clearcoat: otherProps.clearcoat ?? otherProps.clear_coat,
35
+ clearcoatRoughness: otherProps.clearcoat_roughness ?? otherProps.clearcoatRoughness,
36
+ transmission: otherProps.transmission,
37
+ thickness: otherProps.thickness,
38
+ sheen: otherProps.sheen,
39
+ sheenColor: otherProps.sheen_color ?? otherProps.sheenColor,
40
+ sheenRoughness: otherProps.sheen_roughness ?? otherProps.sheenRoughness,
41
+ specularIntensity: otherProps.specular_intensity ?? otherProps.specularIntensity,
42
+ iridescence: otherProps.iridescence,
43
+ attenuationColor: otherProps.attenuation_color ?? otherProps.attenuationColor,
44
+ attenuationDistance: otherProps.attenuation_distance ?? otherProps.attenuationDistance,
31
45
  textureMaps,
32
46
  traits: block.traits || []
33
47
  };
@@ -246,6 +260,23 @@ function materialToR3F(mat, tier) {
246
260
  const propName = type.replace(/_map$/, "Map").replace(/^albedo/, "");
247
261
  return `${propName}={useTexture("${path}")}`;
248
262
  }).join(" ");
263
+ if (isPhysicalMaterial(mat)) {
264
+ const physical = [
265
+ mat.ior !== void 0 ? `ior={${mat.ior}}` : "",
266
+ mat.clearcoat !== void 0 ? `clearcoat={${mat.clearcoat}}` : "",
267
+ mat.clearcoatRoughness !== void 0 ? `clearcoatRoughness={${mat.clearcoatRoughness}}` : "",
268
+ mat.transmission !== void 0 ? `transmission={${mat.transmission}}` : "",
269
+ mat.thickness !== void 0 ? `thickness={${mat.thickness}}` : "",
270
+ mat.sheen !== void 0 ? `sheen={${mat.sheen}}` : "",
271
+ mat.sheenColor ? `sheenColor="${mat.sheenColor}"` : "",
272
+ mat.sheenRoughness !== void 0 ? `sheenRoughness={${mat.sheenRoughness}}` : "",
273
+ mat.specularIntensity !== void 0 ? `specularIntensity={${mat.specularIntensity}}` : "",
274
+ mat.iridescence !== void 0 ? `iridescence={${mat.iridescence}}` : "",
275
+ mat.attenuationColor ? `attenuationColor="${mat.attenuationColor}"` : "",
276
+ mat.attenuationDistance !== void 0 ? `attenuationDistance={${mat.attenuationDistance}}` : ""
277
+ ].filter(Boolean).join(" ");
278
+ return `<meshPhysicalMaterial ${props} ${physical} ${textures} />`;
279
+ }
249
280
  return `<meshStandardMaterial ${props} ${textures} />`;
250
281
  }
251
282
  function materialToUSD(mat) {
@@ -3801,11 +3832,24 @@ function hexToRGBA(hex, alpha) {
3801
3832
  function getRequiredCapability() {
3802
3833
  return chunkKKP7JKN4_cjs.ANSCapabilityPath.DOMAIN_BLOCK;
3803
3834
  }
3804
- exports.DOMAIN_BLOCK_COMPILER_MIXIN_CAPABILITY = void 0;
3835
+ var PHYSICAL_MATERIAL_KEYS; exports.DOMAIN_BLOCK_COMPILER_MIXIN_CAPABILITY = void 0;
3805
3836
  var init_DomainBlockCompilerMixin = chunkHCCQLAA4_cjs.__esm({
3806
3837
  "src/compiler/DomainBlockCompilerMixin.ts"() {
3807
3838
  chunkKKP7JKN4_cjs.init_CompilerBase();
3808
3839
  chunkKKP7JKN4_cjs.init_ANSNamespace();
3840
+ PHYSICAL_MATERIAL_KEYS = [
3841
+ "clearcoat",
3842
+ "clearcoatRoughness",
3843
+ "transmission",
3844
+ "thickness",
3845
+ "sheen",
3846
+ "sheenColor",
3847
+ "sheenRoughness",
3848
+ "specularIntensity",
3849
+ "iridescence",
3850
+ "attenuationColor",
3851
+ "attenuationDistance"
3852
+ ];
3809
3853
  exports.DOMAIN_BLOCK_COMPILER_MIXIN_CAPABILITY = "/compile/mixin/domain-block";
3810
3854
  }
3811
3855
  });
@@ -3873,6 +3917,7 @@ exports.iotToR3F = iotToR3F;
3873
3917
  exports.iotToUSDA = iotToUSDA;
3874
3918
  exports.iotToUnity = iotToUnity;
3875
3919
  exports.iotToVRChat = iotToVRChat;
3920
+ exports.isPhysicalMaterial = isPhysicalMaterial;
3876
3921
  exports.materialToAndroidXR = materialToAndroidXR;
3877
3922
  exports.materialToBabylon = materialToBabylon;
3878
3923
  exports.materialToGLTF = materialToGLTF;
@@ -3958,5 +4003,5 @@ exports.web3ToR3F = web3ToR3F;
3958
4003
  exports.web3ToUSDA = web3ToUSDA;
3959
4004
  exports.web3ToUnity = web3ToUnity;
3960
4005
  exports.web3ToVRChat = web3ToVRChat;
3961
- //# sourceMappingURL=chunk-XUUVDHIF.cjs.map
3962
- //# sourceMappingURL=chunk-XUUVDHIF.cjs.map
4006
+ //# sourceMappingURL=chunk-HKEXJUWS.cjs.map
4007
+ //# sourceMappingURL=chunk-HKEXJUWS.cjs.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chunkFEWUHQNM_cjs = require('./chunk-FEWUHQNM.cjs');
4
4
  var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
5
- var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
5
+ var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
6
6
  var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
7
7
  var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
8
8
  var ans = require('@holoscript/core-types/ans');
@@ -4976,36 +4976,36 @@ function compileAndroidXRDomainBlocks(compiler, composition) {
4976
4976
  compiler.emit("");
4977
4977
  compiler.emit("// === v4.2 Domain Blocks ===");
4978
4978
  let blockIdx = 0;
4979
- const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
4979
+ const compiled = chunkHKEXJUWS_cjs.compileDomainBlocks(
4980
4980
  // @ts-expect-error During migration
4981
4981
  domainBlocks,
4982
4982
  {
4983
4983
  material: (block) => {
4984
- const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
4985
- return chunkXUUVDHIF_cjs.materialToAndroidXR(mat, `db${blockIdx++}`);
4984
+ const mat = chunkHKEXJUWS_cjs.compileMaterialBlock(block);
4985
+ return chunkHKEXJUWS_cjs.materialToAndroidXR(mat, `db${blockIdx++}`);
4986
4986
  },
4987
4987
  physics: (block) => {
4988
- const phys = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
4989
- return chunkXUUVDHIF_cjs.physicsToAndroidXR(phys, `db${blockIdx++}`);
4988
+ const phys = chunkHKEXJUWS_cjs.compilePhysicsBlock(block);
4989
+ return chunkHKEXJUWS_cjs.physicsToAndroidXR(phys, `db${blockIdx++}`);
4990
4990
  },
4991
4991
  vfx: (block) => {
4992
- const ps = chunkXUUVDHIF_cjs.compileParticleBlock(block);
4993
- return chunkXUUVDHIF_cjs.particlesToAndroidXR(ps, `db${blockIdx++}`);
4992
+ const ps = chunkHKEXJUWS_cjs.compileParticleBlock(block);
4993
+ return chunkHKEXJUWS_cjs.particlesToAndroidXR(ps, `db${blockIdx++}`);
4994
4994
  },
4995
4995
  postfx: (block) => {
4996
- const pp = chunkXUUVDHIF_cjs.compilePostProcessingBlock(block);
4996
+ const pp = chunkHKEXJUWS_cjs.compilePostProcessingBlock(block);
4997
4997
  const postfx = pp;
4998
4998
  const effects = postfx.effects.map((e) => `// Effect: ${e.type} \u2014 ${JSON.stringify(e.properties)}`).join("\n");
4999
4999
  return `// Post-Processing: ${postfx.keyword} \u2014 configure via Filament Renderer post-processing
5000
5000
  ${effects}`;
5001
5001
  },
5002
5002
  audio: (block) => {
5003
- const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
5004
- return chunkXUUVDHIF_cjs.audioSourceToAndroidXR(audio, `db${blockIdx++}`);
5003
+ const audio = chunkHKEXJUWS_cjs.compileAudioSourceBlock(block);
5004
+ return chunkHKEXJUWS_cjs.audioSourceToAndroidXR(audio, `db${blockIdx++}`);
5005
5005
  },
5006
5006
  weather: (block) => {
5007
- const weather = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
5008
- return chunkXUUVDHIF_cjs.weatherToAndroidXR(weather);
5007
+ const weather = chunkHKEXJUWS_cjs.compileWeatherBlock(block);
5008
+ return chunkHKEXJUWS_cjs.weatherToAndroidXR(weather);
5009
5009
  }
5010
5010
  },
5011
5011
  (block) => `// Domain block: ${block.domain}/${block.keyword} "${compiler.escapeStringValue(block.name, "Kotlin")}"`
@@ -5032,7 +5032,7 @@ function emitTransition(compiler, tr) {
5032
5032
  }
5033
5033
  var init_AndroidXRGenerators = chunkHCCQLAA4_cjs.__esm({
5034
5034
  "src/compiler/AndroidXRGenerators.ts"() {
5035
- chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
5035
+ chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
5036
5036
  init_AndroidXRTraitMap();
5037
5037
  }
5038
5038
  });
@@ -5733,5 +5733,5 @@ exports.compileToAndroidXR = compileToAndroidXR;
5733
5733
  exports.getTraitMapping = getTraitMapping;
5734
5734
  exports.init_AndroidXRCompiler = init_AndroidXRCompiler;
5735
5735
  exports.init_AndroidXRTraitMap = init_AndroidXRTraitMap;
5736
- //# sourceMappingURL=chunk-NXZFOPVD.cjs.map
5737
- //# sourceMappingURL=chunk-NXZFOPVD.cjs.map
5736
+ //# sourceMappingURL=chunk-HNDK4IQU.cjs.map
5737
+ //# sourceMappingURL=chunk-HNDK4IQU.cjs.map
@@ -1,9 +1,9 @@
1
1
  import { lightingHandler, materialHandler, renderingHandler, shaderHandler } from './chunk-QPOQ7VPI.js';
2
2
  import { webcamGazeHandler } from './chunk-TDCNJHWO.js';
3
- import { botanicalLotusHandler } from './chunk-VECQYRXL.js';
4
3
  import { SimulationSolverFactory } from './chunk-YQELFNJV.js';
5
4
  import { createTensor, createNoOpInferenceAdapter, add, matmul } from './chunk-FHP6LXJS.js';
6
5
  import { absorbHandler, hotReloadHandler, scriptTestHandler } from './chunk-2M2DPHKB.js';
6
+ import { init_BotanicalLotusTrait, botanicalLotusHandler } from './chunk-4GU5GCIY.js';
7
7
  import { mitosisHandler, embeddingHandler, jepObjectiveHandler, orbitalHandler } from './chunk-H652NHX5.js';
8
8
  import { logger } from './chunk-PHENW4MQ.js';
9
9
  import { init_safeJsonParse, readJson } from './chunk-VVKVQZI6.js';
@@ -19771,7 +19771,7 @@ function createNetworkedTrait(config) {
19771
19771
  }
19772
19772
 
19773
19773
  // src/traits/NetworkedTraitHandler.ts
19774
- var _mesh2 = null;
19774
+ var _syncTierRates = null;
19775
19775
  var handlerStates = /* @__PURE__ */ new Map();
19776
19776
  function getNodeKey(node) {
19777
19777
  return node.id || `__anon_${Math.random().toString(36).slice(2, 8)}`;
@@ -19810,6 +19810,10 @@ var networkedHandler = {
19810
19810
  // onAttach
19811
19811
  // ===========================================================================
19812
19812
  onAttach(node, config, context) {
19813
+ void import('@holoscript/mesh').then((m) => {
19814
+ _syncTierRates ?? (_syncTierRates = m.SYNC_TIER_RATES);
19815
+ }).catch(() => {
19816
+ });
19813
19817
  const key = getNodeKey(node);
19814
19818
  const trait = new NetworkedTrait({
19815
19819
  mode: config.mode,
@@ -19881,14 +19885,12 @@ var networkedHandler = {
19881
19885
  // ===========================================================================
19882
19886
  // onUpdate — per-frame sync
19883
19887
  // ===========================================================================
19884
- async onUpdate(node, config, context, delta) {
19888
+ onUpdate(node, config, context, delta) {
19885
19889
  const key = getNodeKey(node);
19886
19890
  const state = handlerStates.get(key);
19887
19891
  if (!state || !state.registered) return;
19888
19892
  const trait = state.trait;
19889
- _mesh2 ?? (_mesh2 = await import('@holoscript/mesh'));
19890
- const { SYNC_TIER_RATES } = _mesh2;
19891
- const baseSyncRate = SYNC_TIER_RATES[config.syncTier] ?? config.syncRate;
19893
+ const baseSyncRate = _syncTierRates?.[config.syncTier] ?? config.syncRate;
19892
19894
  const effectiveRate = baseSyncRate * state.priorityWeight;
19893
19895
  const syncIntervalMs = effectiveRate > 0 ? 1e3 / effectiveRate : Infinity;
19894
19896
  if (trait.isLocalOwner()) {
@@ -38499,7 +38501,7 @@ var characterHandler = {
38499
38501
  if (typeof instance.onUpdate === "function") instance.onUpdate(node, ctx, dt);
38500
38502
  }
38501
38503
  };
38502
- var _mesh3 = null;
38504
+ var _mesh2 = null;
38503
38505
  var DEFAULT_TRAIT_CONFIG = {
38504
38506
  mechanism: "simple_majority",
38505
38507
  timeout: 5e3
@@ -38522,8 +38524,8 @@ var ConsensusTrait = class extends EventEmitter {
38522
38524
  */
38523
38525
  async start() {
38524
38526
  if (this.isStarted) return;
38525
- _mesh3 ?? (_mesh3 = await import('@holoscript/mesh'));
38526
- const { RaftConsensus, ConsensusManager } = _mesh3;
38527
+ _mesh2 ?? (_mesh2 = await import('@holoscript/mesh'));
38528
+ const { RaftConsensus, ConsensusManager } = _mesh2;
38527
38529
  const nodeId = this.config.nodeId || this.entityId;
38528
38530
  const mechanism = this.config.mechanism || "simple_majority";
38529
38531
  if (mechanism === "raft") {
@@ -54814,6 +54816,9 @@ var gotchaHandler = {
54814
54816
  }
54815
54817
  };
54816
54818
 
54819
+ // src/traits/VRTraitSystem.ts
54820
+ init_BotanicalLotusTrait();
54821
+
54817
54822
  // src/traits/FluidSimulationTrait.ts
54818
54823
  var SpatialHash = class {
54819
54824
  constructor(cellSize) {
@@ -56156,5 +56161,5 @@ var VRTraitRegistry = class {
56156
56161
  var vrTraitRegistry = new VRTraitRegistry();
56157
56162
 
56158
56163
  export { AIDriverTrait, ALL_CIRCUITS, ARKIT_MOUTH_SHAPES, AnimationTrait, BUILTIN_CIRCUITS, BarretenbergBackend, BehaviorTreeRunner, CARE_ETHICS_TRAIT, CRDTRoomTraitValidationError, CRDT_ROOM_TRAIT_DEFAULTS, CharacterTrait, ComponentType, ConsensusTrait, DEFAULT_ANIMATION_MAP, DEFAULT_AUTONOMY_GUARD_POLICY, DEFAULT_BEHAVIOR_FACT_TTL_ALERT_RULE, DEFAULT_EXPRESSION_PRESETS, DEFAULT_EXTERNAL_TIMEOUT_MS, DEFAULT_FOVEATED_BLEND, DEFAULT_FREQUENCY_BANDS, DEFAULT_REPUTATION_LEDGER_MAX_FACTS, DEFAULT_REPUTATION_LEDGER_TTL_DAYS, DEFAULT_SYNC_FIELD, DEFAULT_TRAIT_CONFIG2 as DEFAULT_TRAIT_CONFIG, DRAFT_DEFAULTS, DRAFT_TRAIT, DialogTrait, DraftManager, ECSWorld, EmotionDirectiveTrait, EnvironmentalAudioSystem, GEM_RESONANCE_ELEMENT_FREQUENCIES, GOAPPlanner, GOLDEN_ANGLE_DEG, IKTrait, InteractiveGraphTrait, JobQueuePersistence, JointTrait, LOCAL_WEBCAM_VIEW_ID, LipSyncTrait, LobbyTrait, MAX_EXPERIENCE_LOG_ENTRIES, MorphTrait, MultiviewGaussianRendererTrait, NetworkedTrait, OCULUS_VISEME_MAP, PIDControllerTrait, PressableTrait, REFERENCE_SPACE_CHAIN, REFUSED_CARE_OPTIMIZATION_TARGETS, RigidbodyTrait, SPATIAL_PREDICATE_CIRCUITS, SYNC_PRESETS, SandboxExecutionTrait, SlidableTrait, SpatialAwarenessTrait, SyncTierTrait, TIER_DEFAULTS, TriggerTrait, URDFRobotTrait, VRTraitRegistry, VoiceInputTrait, VoiceOutputTrait, VoronoiFractureSystem, WEATHER_PRESETS, aIDriverHandler, abTestHandler, abstain, accessibleHandler, advancedClothHandler, affinityHandler, agentDiscoveryHandler, agentMemoryHandler, agentMovementSystem, agentPortalHandler, aiInpaintingHandler, aiTextureGenHandler, aiUpscalingHandler, ainpcBrainHandler, alertHandler, altTextHandler, ambisonicsHandler, analyticsHandler, anchorHandler, applyFBXAxisConversion, applyStatModifiers, applyUSDAxisConversion, approve, audioMaterialHandler, audioOcclusionHandler, audioPortalHandler, auditLogHandler, autoVote, avatarEmbodimentHandler, behaviorTreeHandler, biofeedbackHandler, blackboardHandler, bloomReactiveHandler, bodyTrackingHandler, bufferHandler, buildBehaviorFactDisclosure, buoyancyHandler, cRDTRoomHandler, careEthicsHandler, chainHandler, characterHandler, choreographyHandler, circuitBreakerHandler, clothHandler, coLocatedHandler, compareSemVer, computeHandler, computePhyllotaxisPosition, computerUseHandler, consensusHandler, consentGateHandler, controlNetHandler, controllerInputHandler, controlnetHandler, createAIDriverTrait, createAnimationTrait, createApprovalRequest, createBaseMainnetAccountingAdapter, createBehaviorFactTtlAlertRule, createCRDTRoomTraitConfig, createCanBusAccountingAdapter, createCareField, createCharacterTrait, createConsensusTrait, createDialogTrait, createEdiX12AccountingAdapter, createEmotionDirectiveTrait, createHl7FhirAccountingAdapter, createIKTrait, createJointTrait, createLipSyncTrait, createLobbyTrait, createMorphTrait, createNetworkedTrait, createRepairLoop, createRigidbodyTrait, createRollbackCheckpoint, createSelectiveDisclosure, createSharedSpatialProvider, createSimulatedController, createSpatialAwarenessTrait, createTriggerTrait, createURDFRobotTrait, createVoiceInputTrait, createVoiceOutputTrait, cronHandler, dataBindingHandler, deriveBloomReactiveOutput, deriveLotusCenterPhase, deriveLotusGardenerSchedule, deriveLotusGenesisGate, deriveLotusGenesisSeed, deriveLotusPetalVisual, deriveLotusRootEmissive, deriveLotusStalkPosture, deriveWalkableNavmesh, destructionHandler, deviceProfiles, dialogHandler, dialogueHandler, diffusionRealtimeHandler, digitalTwinHandler, dropTableHandler, economyPrimitivesHandler, effectiveWeight, embeddingSearchHandler, emissiveAt, emotionDirectiveHandler, emotionHandler, emotionalVoiceHandler, encounterHandler, environmentalAudioHandler, evaluateAction, evaluateAutonomyGuard, evaluateCareEthicsTurn, extractLotusGenesisAnchorHash, extractPayload, eyeTrackedHandler, faceTrackingHandler, factionHandler, fbxHandler, feedbackLoopHandler, findReachablePath, findWalkableNodeAt, flowFieldHandler, fluidHandler, gardenerPulseJitter, gaussianSplatHandler, gemResonanceHandler, geospatialAnchorHandler, geospatialEnvHandler, gestureHandler, getActiveSessions, getAgentId, getAirAbsorption, getAuditLog, getCachedThingDescription, getCapabilities, getCareEthicsState, getEventHistory, getFBXAnimationStacks, getFBXBoneNames, getFBXMorphTargets, getFBXState, getGLTFAnimations, getGLTFMorphTargets, getGLTFState, getMQTTSinkClient, getMQTTSinkState, getMQTTSourceClient, getMQTTSourceState, getMyProposals, getMyVotes, getNegotiationMethods, getPredicateCircuitId, getSession, getUSDActiveVariant, getUSDAnimation, getUSDBlendShapes, getUSDJointNames, getUSDState, getUSDVariantSets, getWoTThingState, gltfHandler, goalOrientedHandler, gpuBufferHandler, gpuParticleHandler, gpuPhysicsHandler, granularMaterialHandler, handMenuHandler, handMeshAIHandler, handTrackingHandler, hapticCueHandler, hapticHandler, hasMQTTSinkTrait, hasMQTTSourceTrait, hasVoted, hasWoTThingTrait, hashGardenerSeed, hashSeed, headTrackedAudioHandler, heatmap3dHandler, highContrastHandler, hitlHandler, hrtfHandler, iKHandler, initiate, invalidateThingDescription, isConsentGranted, isFBXLoaded, isGLTFLoaded, isInSession, isMQTTSinkConnected, isMQTTSourceConnected, isReservedPaperId, isUSDLoaded, isUSDZ, isWalkableAt, jointHandler, layerAwareHandler, leave, lightEstimationHandler, lipSyncHandler, llmAgentHandler, lobbyHandler, localLLMHandler, lodSystem, lotusCenterHandler, lotusGardenerHandler, lotusGenesisTriggerHandler, lotusPetalHandler, lotusRootHandler, lotusStalkHandler, luckHandler, magnifiableHandler, marketplaceHandler, marketplaceIntegrationHandler, matchesCondition, materialXHandler, memoryHandler, meshDetectionHandler, messagingHandler, modifiedThreshold, morphHandler, motionReducedHandler, mqttSinkHandler, mqttSourceHandler, multiAgentHandler, multiviewGaussianRendererHandler, negotiationHandler, nerfHandler, networkedAvatarHandler, networkedHandler, neuralAnimationHandler, neuralForgeHandler, neuralLinkHandler, neuralUpscalingHandler, nftHandler, normalizeCenter, normalizeLotusSeed, normalizePointCloud, npcAIHandler, objectTrackingHandler, occlusionHandler, openXRHALHandler, parseCRDTRoomEntityConfig, parseCRDTRoomTraitConfig, partnerSDKHandler, patrolHandler, perceptionHandler, persistentAnchorHandler, photogrammetryHandler, phyllotaxisHandler, physicsSystem, pickByWeight, planeDetectionHandler, poiHandler, pointCloudHandler, portableHandler, poseEstimationHandler, pressableHandler, propose, publishToMQTTSink, quotaHandler, ragKnowledgeHandler, rateLimiterHandler, rbacHandler, realityKitMeshHandler, recordGratitude, rememberRelationalContext, remotePresenceHandler, renderNetworkHandler, reputationLedgerHandler, resolveBloomStage, resolveCRDTRoomTraitConfig, resolvePulseHz, resourceAccountingHandler, reverbZoneHandler, rigidbodyHandler, roadmapNodeHandler, roleHandler, rooftopAnchorHandler, roomMeshHandler, ropeHandler, runECSBenchmark, runResourceAccountingAudit, sceneGraphHandler, sceneReconstructionHandler, schedulerHandler, screenReaderHandler, scrollableHandler, seatedHandler, secondsToUSDTimeCode, seededRand01, sensorHandler, setAgentManifest, sharePlayHandler, sharedAnchorHandler, sharedWorldHandler, shouldFire, signRequest, skillRegistryHandler, slidableHandler, softBodyHandler, sonificationHandler, spatialAccessoryHandler, spatialAudioCueHandler, spatialAwarenessHandler, spatialNavigationHandler, spatialPersonaHandler, spectatorHandler, ssoOidcHandler, ssoSamlHandler, stableDiffusionHandler, stableResourceAccountingReceiptHash, statHandler, structuredLoggerHandler, subtitleHandler, syncTierHandler, tenantHandler, terrainAnchorHandler, timeoutGuardHandler, tokenGatedHandler, transformHandler, triggerHandler, urdfRobotHandler, usdHandler, usdTimeCodeToSeconds, userMonitorHandler, validateCRDTRoomTraitConfig, validateCareField, validateSemVer, vectorDBHandler, verifyWebhookSignature, visionHandler, voiceInputHandler, voiceMeshHandler, voiceOutputHandler, voiceProximityHandler, volumetricHandler, volumetricVideoHandler, volumetricWindowHandler, voronoiFractureHandler, vote, vpsHandler, vrTraitRegistry, walletHandler, wasmBridgeHandler, windHandler, withNegotiation, wotThingHandler, zkPrivateHandler };
56159
- //# sourceMappingURL=chunk-RVBHAXFG.js.map
56160
- //# sourceMappingURL=chunk-RVBHAXFG.js.map
56164
+ //# sourceMappingURL=chunk-HR2OSYVQ.js.map
56165
+ //# sourceMappingURL=chunk-HR2OSYVQ.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
3
+ var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
4
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');
@@ -206,7 +206,7 @@ exports.URDFCompiler = void 0; exports.URDFCompiler_default = void 0;
206
206
  var init_URDFCompiler = chunkHCCQLAA4_cjs.__esm({
207
207
  "src/compiler/URDFCompiler.ts"() {
208
208
  chunkKKP7JKN4_cjs.init_CompilerBase();
209
- chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
209
+ chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
210
210
  exports.URDFCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
211
211
  constructor(options = {}) {
212
212
  super();
@@ -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 = chunkXUUVDHIF_cjs.compileDomainBlocks(
563
+ const compiled = chunkHKEXJUWS_cjs.compileDomainBlocks(
564
564
  domainBlocks,
565
565
  {
566
566
  material: (block) => {
567
- const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
567
+ const mat = chunkHKEXJUWS_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 = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
589
- return chunkXUUVDHIF_cjs.physicsToURDF(phys);
588
+ const phys = chunkHKEXJUWS_cjs.compilePhysicsBlock(block);
589
+ return chunkHKEXJUWS_cjs.physicsToURDF(phys);
590
590
  },
591
591
  audio: (block) => {
592
- const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
592
+ const audio = chunkHKEXJUWS_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 = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
596
+ const weather = chunkHKEXJUWS_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-LICPB5HZ.cjs.map
1409
- //# sourceMappingURL=chunk-LICPB5HZ.cjs.map
1408
+ //# sourceMappingURL=chunk-IUDGEUDO.cjs.map
1409
+ //# sourceMappingURL=chunk-IUDGEUDO.cjs.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkXUUVDHIF_cjs = require('./chunk-XUUVDHIF.cjs');
3
+ var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
4
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');
@@ -15,7 +15,7 @@ exports.SDFCompiler = void 0; exports.SDFCompiler_default = void 0;
15
15
  var init_SDFCompiler = chunkHCCQLAA4_cjs.__esm({
16
16
  "src/compiler/SDFCompiler.ts"() {
17
17
  chunkKKP7JKN4_cjs.init_CompilerBase();
18
- chunkXUUVDHIF_cjs.init_DomainBlockCompilerMixin();
18
+ chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
19
19
  exports.SDFCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
20
20
  constructor(options = {}) {
21
21
  super();
@@ -96,23 +96,23 @@ var init_SDFCompiler = chunkHCCQLAA4_cjs.__esm({
96
96
  if (domainBlocks.length === 0) return;
97
97
  this.emit("");
98
98
  this.emit("<!-- v4.2 Domain Blocks -->");
99
- const compiled = chunkXUUVDHIF_cjs.compileDomainBlocks(
99
+ const compiled = chunkHKEXJUWS_cjs.compileDomainBlocks(
100
100
  domainBlocks,
101
101
  {
102
102
  material: (block) => {
103
- const mat = chunkXUUVDHIF_cjs.compileMaterialBlock(block);
104
- return chunkXUUVDHIF_cjs.materialToSDF(mat);
103
+ const mat = chunkHKEXJUWS_cjs.compileMaterialBlock(block);
104
+ return chunkHKEXJUWS_cjs.materialToSDF(mat);
105
105
  },
106
106
  physics: (block) => {
107
- const phys = chunkXUUVDHIF_cjs.compilePhysicsBlock(block);
108
- return chunkXUUVDHIF_cjs.physicsToSDF(phys);
107
+ const phys = chunkHKEXJUWS_cjs.compilePhysicsBlock(block);
108
+ return chunkHKEXJUWS_cjs.physicsToSDF(phys);
109
109
  },
110
110
  audio: (block) => {
111
- const audio = chunkXUUVDHIF_cjs.compileAudioSourceBlock(block);
111
+ const audio = chunkHKEXJUWS_cjs.compileAudioSourceBlock(block);
112
112
  return `<!-- Audio: ${this.escapeStringValue(audio.name, "TypeScript")} (${audio.keyword}) clip="${audio.properties.clip || ""}" -->`;
113
113
  },
114
114
  weather: (block) => {
115
- const weather = chunkXUUVDHIF_cjs.compileWeatherBlock(block);
115
+ const weather = chunkHKEXJUWS_cjs.compileWeatherBlock(block);
116
116
  const layers = weather.layers.map((l) => `<!-- ${l.type}: ${JSON.stringify(l.properties)} -->`).join("\n");
117
117
  return `<!-- Weather: ${weather.keyword} "${weather.name || ""}" -->
118
118
  ${layers}`;
@@ -607,5 +607,5 @@ ${layers}`;
607
607
 
608
608
  exports.SDFCompiler_exports = SDFCompiler_exports;
609
609
  exports.init_SDFCompiler = init_SDFCompiler;
610
- //# sourceMappingURL=chunk-73FELZVJ.cjs.map
611
- //# sourceMappingURL=chunk-73FELZVJ.cjs.map
610
+ //# sourceMappingURL=chunk-IWC5DM2M.cjs.map
611
+ //# sourceMappingURL=chunk-IWC5DM2M.cjs.map