@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.
Files changed (159) hide show
  1. package/dist/{GLTFPipeline-EK3LFJKW.cjs → GLTFPipeline-PVLTKDBD.cjs} +11 -11
  2. package/dist/{GLTFPipeline-37FPRVPH.js → GLTFPipeline-QPI4I7DL.js} +7 -7
  3. package/dist/{HoloScriptRuntime-ACDFKVVH.js → HoloScriptRuntime-6ZGLUCFS.js} +3 -3
  4. package/dist/{HoloScriptRuntime-ON2OQVEF.cjs → HoloScriptRuntime-ALUASIL2.cjs} +4 -4
  5. package/dist/{chunk-V6MKC2FZ.js → chunk-2GQHTXOK.js} +3 -3
  6. package/dist/{chunk-ROHLEP2W.cjs → chunk-2J5WZLF5.cjs} +19 -19
  7. package/dist/{chunk-HKEXJUWS.cjs → chunk-2VL6SJ33.cjs} +7 -7
  8. package/dist/{chunk-YWOBW2PV.cjs → chunk-3B5NVDHJ.cjs} +18 -18
  9. package/dist/{chunk-J7XZV333.js → chunk-3B7AY37W.js} +4 -4
  10. package/dist/{chunk-LKWQNUE6.cjs → chunk-3OIZJNVT.cjs} +5 -5
  11. package/dist/{chunk-HNDK4IQU.cjs → chunk-3SBVODUP.cjs} +19 -19
  12. package/dist/{chunk-JBNDTXXV.cjs → chunk-44GM3P4G.cjs} +18 -18
  13. package/dist/{chunk-MVPBWHAC.js → chunk-4DO425P5.js} +3 -3
  14. package/dist/{chunk-ON5QSY35.cjs → chunk-4FDL7JLJ.cjs} +76 -45
  15. package/dist/{chunk-XB274MW5.cjs → chunk-5BLWXOIP.cjs} +13 -13
  16. package/dist/{chunk-QACVP4PM.js → chunk-5BQIJG3O.js} +33 -5
  17. package/dist/{chunk-XKTPFXGA.js → chunk-5IHG2LGT.js} +3 -3
  18. package/dist/{chunk-7M3PNU2M.cjs → chunk-5TIZXMED.cjs} +10 -10
  19. package/dist/{chunk-UFZZ7TSN.cjs → chunk-6DOKCECB.cjs} +20 -20
  20. package/dist/{chunk-ONDAWTW4.js → chunk-6OTFG3EB.js} +3 -3
  21. package/dist/{chunk-OJXHYNXN.js → chunk-7MVLEZB2.js} +3 -3
  22. package/dist/{chunk-5NWINHR5.cjs → chunk-A3GFOZAF.cjs} +38 -38
  23. package/dist/{chunk-OBIYPYYS.cjs → chunk-BFROVZOF.cjs} +5 -5
  24. package/dist/{chunk-UWJHCOH2.js → chunk-BKCK3IU6.js} +4 -4
  25. package/dist/{chunk-DHO2YRIM.js → chunk-C34AJIJO.js} +4 -4
  26. package/dist/{chunk-QPSKHBJP.js → chunk-CXS3DUKD.js} +12 -6
  27. package/dist/{chunk-ANXZFVY2.js → chunk-D63CGNJU.js} +3 -3
  28. package/dist/{chunk-CCATWPXM.js → chunk-DBPGNHFS.js} +4 -4
  29. package/dist/{chunk-6DO5IZ5N.cjs → chunk-DCE3LDO3.cjs} +36 -6
  30. package/dist/{chunk-BOVPWH4H.js → chunk-DPZXVDGM.js} +3 -3
  31. package/dist/{chunk-FXKAW7ZO.cjs → chunk-DQRQZB33.cjs} +3 -3
  32. package/dist/{chunk-QD32ADK6.js → chunk-E64LOLJU.js} +4 -4
  33. package/dist/{chunk-IUTY5WQ2.cjs → chunk-E767PVC6.cjs} +5 -5
  34. package/dist/{chunk-CMT5NMMS.js → chunk-EK7L4DW7.js} +4 -4
  35. package/dist/{chunk-D3STJ56J.js → chunk-F63LYRVE.js} +4 -4
  36. package/dist/{chunk-OBP5REIV.js → chunk-GCYR3D2K.js} +5 -5
  37. package/dist/{chunk-ZMCVKFXI.cjs → chunk-H5PUZHJV.cjs} +95 -9
  38. package/dist/{chunk-2X7NGX3M.js → chunk-HBEN5TQR.js} +4 -4
  39. package/dist/{chunk-2IWC4FP7.cjs → chunk-HBLKLLG5.cjs} +10 -10
  40. package/dist/{chunk-NCWCUZNS.cjs → chunk-IBXT6UP3.cjs} +14 -14
  41. package/dist/{chunk-DAJXW4KX.js → chunk-IIUFMUTV.js} +3 -3
  42. package/dist/{chunk-OH2FAIVU.js → chunk-IS4AEGLU.js} +4 -4
  43. package/dist/{chunk-PY37LNDP.js → chunk-ISG3TQ2O.js} +4 -4
  44. package/dist/{chunk-ADADVMXY.js → chunk-ISM4NX6N.js} +2 -2
  45. package/dist/{chunk-WRKUDAZJ.js → chunk-JEB5UU3E.js} +3 -3
  46. package/dist/{chunk-KMC6CQH3.js → chunk-K5UGRXKR.js} +5 -5
  47. package/dist/{chunk-OMXII44L.js → chunk-KDZRD6EI.js} +3 -3
  48. package/dist/{chunk-ZU7NIRT6.js → chunk-LAUFLPB6.js} +3 -3
  49. package/dist/{chunk-JC5YBPSF.cjs → chunk-LY4DMQOW.cjs} +5 -5
  50. package/dist/{chunk-KQCN6AKJ.cjs → chunk-N5YOAFNA.cjs} +5 -5
  51. package/dist/{chunk-WQKJSGVS.js → chunk-NDUX553L.js} +36 -6
  52. package/dist/{chunk-5H2G27PK.cjs → chunk-NE5CZ2NC.cjs} +38 -38
  53. package/dist/{chunk-4SDKXQ4C.js → chunk-NPDNFPTU.js} +4 -4
  54. package/dist/{chunk-S3MDHNKB.cjs → chunk-NTGBEMYL.cjs} +5 -5
  55. package/dist/{chunk-CR4FMIWL.cjs → chunk-NTJZJ5IP.cjs} +14 -14
  56. package/dist/{chunk-3WZEJHUQ.cjs → chunk-OXGPGQXN.cjs} +7 -7
  57. package/dist/{chunk-YN2YWTXW.js → chunk-P4AIF7OQ.js} +4 -4
  58. package/dist/{chunk-YVD3CSO3.js → chunk-P52PPB5R.js} +4 -4
  59. package/dist/{chunk-YT5L3B57.cjs → chunk-PVWNU4QT.cjs} +5 -5
  60. package/dist/{chunk-KKP7JKN4.cjs → chunk-QWAR3GY6.cjs} +12 -6
  61. package/dist/{chunk-UWXE23BT.cjs → chunk-QWSB553J.cjs} +4 -4
  62. package/dist/{chunk-GYZE55MO.js → chunk-RCZHLCX2.js} +3 -3
  63. package/dist/{chunk-FFAOS5HQ.js → chunk-RXU4PQKA.js} +6 -6
  64. package/dist/{chunk-5KVXXUD4.js → chunk-S6OVFUXD.js} +3 -3
  65. package/dist/{chunk-TWUXUCEW.cjs → chunk-TCBJMNXS.cjs} +38 -38
  66. package/dist/{chunk-J6M4FPK5.js → chunk-TDCJ7YPA.js} +3 -3
  67. package/dist/{chunk-4V2E7U7Q.cjs → chunk-TFUMBR7G.cjs} +7 -7
  68. package/dist/{chunk-XIVIE43A.cjs → chunk-TFWYKOOB.cjs} +5 -5
  69. package/dist/{chunk-7H33U5SM.cjs → chunk-TJIMBJ6L.cjs} +2 -2
  70. package/dist/{chunk-QXH7QDSZ.js → chunk-U36W76U7.js} +3 -3
  71. package/dist/{chunk-E4M5OAYO.js → chunk-ULXWSPCK.js} +38 -7
  72. package/dist/{chunk-UO4WPSGQ.js → chunk-VATGR4EM.js} +95 -10
  73. package/dist/{chunk-6FH72EB2.cjs → chunk-VFKXK4GR.cjs} +16 -16
  74. package/dist/{chunk-LHAXPADA.js → chunk-VHAONJBY.js} +4 -4
  75. package/dist/{chunk-YN6V7R3L.cjs → chunk-WOH6LKYT.cjs} +5 -5
  76. package/dist/{chunk-R24NNAEG.js → chunk-X4EBCG4K.js} +4 -4
  77. package/dist/{chunk-AVJHHUC5.cjs → chunk-X7LYK5TX.cjs} +21 -21
  78. package/dist/{chunk-FYSPZT4V.cjs → chunk-X7QB5PL5.cjs} +7 -7
  79. package/dist/{chunk-IUDGEUDO.cjs → chunk-XHZCF3AS.cjs} +13 -13
  80. package/dist/{chunk-PJGFU5DN.cjs → chunk-YAPPQYJH.cjs} +5 -5
  81. package/dist/{chunk-U44IKGG7.cjs → chunk-YG3OAHJZ.cjs} +30 -30
  82. package/dist/{chunk-I5CDNPPE.cjs → chunk-YTR32ZEB.cjs} +80 -49
  83. package/dist/{chunk-UJXISJBN.js → chunk-YU5RJQPE.js} +3 -3
  84. package/dist/{chunk-IWC5DM2M.cjs → chunk-ZXZ2AL2J.cjs} +14 -14
  85. package/dist/compiler/agent-inference.cjs +6 -6
  86. package/dist/compiler/agent-inference.js +2 -2
  87. package/dist/compiler/android-xr.cjs +6 -6
  88. package/dist/compiler/android-xr.js +4 -4
  89. package/dist/compiler/android.cjs +5 -5
  90. package/dist/compiler/android.js +3 -3
  91. package/dist/compiler/ar.cjs +5 -5
  92. package/dist/compiler/ar.js +3 -3
  93. package/dist/compiler/babylon.cjs +5 -5
  94. package/dist/compiler/babylon.js +4 -4
  95. package/dist/compiler/business-quest.cjs +9 -9
  96. package/dist/compiler/business-quest.js +1 -1
  97. package/dist/compiler/context.cjs +5 -5
  98. package/dist/compiler/context.js +2 -2
  99. package/dist/compiler/domain-block-utils.cjs +152 -152
  100. package/dist/compiler/domain-block-utils.js +3 -3
  101. package/dist/compiler/dtdl.cjs +6 -6
  102. package/dist/compiler/dtdl.js +3 -3
  103. package/dist/compiler/gltf-pipeline.cjs +8 -8
  104. package/dist/compiler/gltf-pipeline.js +1 -1
  105. package/dist/compiler/godot.cjs +5 -5
  106. package/dist/compiler/godot.js +4 -4
  107. package/dist/compiler/incremental.cjs +7 -7
  108. package/dist/compiler/incremental.js +2 -2
  109. package/dist/compiler/index.cjs +375 -185
  110. package/dist/compiler/index.js +236 -57
  111. package/dist/compiler/ios.cjs +5 -5
  112. package/dist/compiler/ios.js +3 -3
  113. package/dist/compiler/llm-provider-capabilities.cjs +5 -5
  114. package/dist/compiler/llm-provider-capabilities.js +2 -2
  115. package/dist/compiler/multi-layer.cjs +7 -7
  116. package/dist/compiler/multi-layer.js +6 -6
  117. package/dist/compiler/openxr.cjs +5 -5
  118. package/dist/compiler/openxr.js +4 -4
  119. package/dist/compiler/playcanvas.cjs +5 -5
  120. package/dist/compiler/playcanvas.js +4 -4
  121. package/dist/compiler/r3f.cjs +10 -10
  122. package/dist/compiler/r3f.js +5 -5
  123. package/dist/compiler/sdf.cjs +6 -6
  124. package/dist/compiler/sdf.js +4 -4
  125. package/dist/compiler/state.cjs +5 -5
  126. package/dist/compiler/state.js +3 -3
  127. package/dist/compiler/trait-composition.cjs +6 -6
  128. package/dist/compiler/trait-composition.js +2 -2
  129. package/dist/compiler/unity.cjs +5 -5
  130. package/dist/compiler/unity.js +4 -4
  131. package/dist/compiler/unreal.cjs +6 -6
  132. package/dist/compiler/unreal.js +4 -4
  133. package/dist/compiler/urdf.cjs +13 -13
  134. package/dist/compiler/urdf.js +4 -4
  135. package/dist/compiler/usd-physics.cjs +6 -6
  136. package/dist/compiler/usd-physics.js +3 -3
  137. package/dist/compiler/visionos.cjs +5 -5
  138. package/dist/compiler/visionos.js +4 -4
  139. package/dist/compiler/vrchat.cjs +6 -6
  140. package/dist/compiler/vrchat.js +4 -4
  141. package/dist/compiler/vrr.cjs +6 -6
  142. package/dist/compiler/vrr.js +4 -4
  143. package/dist/compiler/wasm.cjs +9 -9
  144. package/dist/compiler/wasm.js +4 -4
  145. package/dist/compiler/webgpu.cjs +5 -5
  146. package/dist/compiler/webgpu.js +4 -4
  147. package/dist/debugger.cjs +4 -4
  148. package/dist/debugger.js +2 -2
  149. package/dist/index.cjs +570 -1940
  150. package/dist/index.js +86 -1456
  151. package/dist/reconstruction/index.cjs +31 -31
  152. package/dist/reconstruction/index.js +2 -2
  153. package/dist/runtime.cjs +14 -6
  154. package/dist/runtime.js +2 -2
  155. package/dist/traits/botanical-lotus.cjs +52 -48
  156. package/dist/traits/botanical-lotus.js +2 -2
  157. package/dist/traits/index.cjs +481 -473
  158. package/dist/traits/index.js +12 -8
  159. package/package.json +40 -40
@@ -528,9 +528,10 @@ function lotusSmoothstep(edge0, edge1, x) {
528
528
  return t * t * (3 - 2 * t);
529
529
  }
530
530
  function lotusPetalHalfWidthFraction(v) {
531
- const broad = Math.sin(Math.PI * Math.pow(v, 0.8));
532
- const tipPoint = 1 - lotusSmoothstep(0.82, 1, v) * 0.55;
533
- return Math.max(0, broad * tipPoint);
531
+ const broad = Math.sin(Math.PI * Math.pow(v, 1.3));
532
+ const baseFill = 0.25 + 0.75 * lotusSmoothstep(0, 0.18, v);
533
+ const tipRound = 1 - lotusSmoothstep(0.9, 1, v) * 0.3;
534
+ return Math.max(0, broad * baseFill * tipRound);
534
535
  }
535
536
  function buildLotusPetalGeometryData(params = {}) {
536
537
  const P = { ...exports.DEFAULT_LOTUS_PETAL_GEOMETRY_PARAMS, ...params };
@@ -617,7 +618,69 @@ function buildLotusPetalGeometryData(params = {}) {
617
618
  k += 6;
618
619
  }
619
620
  }
620
- return { positions, normals, petalUv, veinPhase, indices, vertexCount };
621
+ const thickness = P.thickness ?? 0;
622
+ if (thickness <= 0) {
623
+ return { positions, normals, petalUv, veinPhase, indices, vertexCount };
624
+ }
625
+ const N = vertexCount;
626
+ const total = N * 2;
627
+ const sPos = new Float32Array(total * 3);
628
+ const sNorm = new Float32Array(total * 3);
629
+ const sUv = new Float32Array(total * 2);
630
+ const sVein = new Float32Array(total);
631
+ sPos.set(positions, 0);
632
+ sNorm.set(normals, 0);
633
+ sUv.set(petalUv, 0);
634
+ sVein.set(veinPhase, 0);
635
+ for (let idx = 0; idx < N; idx += 1) {
636
+ const nx = normals[idx * 3];
637
+ const ny = normals[idx * 3 + 1];
638
+ const nz = normals[idx * 3 + 2];
639
+ sPos[(N + idx) * 3] = positions[idx * 3] - nx * thickness;
640
+ sPos[(N + idx) * 3 + 1] = positions[idx * 3 + 1] - ny * thickness;
641
+ sPos[(N + idx) * 3 + 2] = positions[idx * 3 + 2] - nz * thickness;
642
+ sNorm[(N + idx) * 3] = -nx;
643
+ sNorm[(N + idx) * 3 + 1] = -ny;
644
+ sNorm[(N + idx) * 3 + 2] = -nz;
645
+ sUv[(N + idx) * 2] = petalUv[idx * 2];
646
+ sUv[(N + idx) * 2 + 1] = petalUv[idx * 2 + 1];
647
+ sVein[N + idx] = veinPhase[idx];
648
+ }
649
+ const boundary = [];
650
+ for (let i = 0; i < nu; i += 1) boundary.push(i);
651
+ for (let j = 0; j < nv; j += 1) boundary.push(j * cols + nu);
652
+ for (let i = nu; i > 0; i -= 1) boundary.push(nv * cols + i);
653
+ for (let j = nv; j > 0; j -= 1) boundary.push(j * cols);
654
+ const frontTris = indices.length;
655
+ const sIdx = new Uint32Array(frontTris * 2 + boundary.length * 6);
656
+ sIdx.set(indices, 0);
657
+ let bk = frontTris;
658
+ for (let tIdx = 0; tIdx < frontTris; tIdx += 3) {
659
+ sIdx[bk] = indices[tIdx] + N;
660
+ sIdx[bk + 1] = indices[tIdx + 2] + N;
661
+ sIdx[bk + 2] = indices[tIdx + 1] + N;
662
+ bk += 3;
663
+ }
664
+ let ek = frontTris * 2;
665
+ for (let e = 0; e < boundary.length; e += 1) {
666
+ const a = boundary[e];
667
+ const b = boundary[(e + 1) % boundary.length];
668
+ sIdx[ek] = a;
669
+ sIdx[ek + 1] = b;
670
+ sIdx[ek + 2] = b + N;
671
+ sIdx[ek + 3] = a;
672
+ sIdx[ek + 4] = b + N;
673
+ sIdx[ek + 5] = a + N;
674
+ ek += 6;
675
+ }
676
+ return {
677
+ positions: sPos,
678
+ normals: sNorm,
679
+ petalUv: sUv,
680
+ veinPhase: sVein,
681
+ indices: sIdx,
682
+ vertexCount: total
683
+ };
621
684
  }
622
685
  function lotusPetalGeometryParamsFromProfile(profile, options = {}) {
623
686
  const rings = profile.petal_rings;
@@ -654,6 +717,25 @@ function buildLotusFlowerPlacements(profile = createBotanicalLotusRenderProfile(
654
717
  });
655
718
  return placements;
656
719
  }
720
+ function buildLotusSceneScaffold() {
721
+ return {
722
+ waterSize: 60,
723
+ stem: { height: 2.4, topRadius: 0.045, bottomRadius: 0.06 },
724
+ receptacle: { radius: 0.42, squashY: 0.72, lift: 0.04 },
725
+ calyx: { radius: 0.16, height: 0.28, drop: 0.18 },
726
+ pads: [
727
+ { pos: [2.4, 0.02, 1.1], radius: 1.2, rotation: 0.3, dark: false },
728
+ { pos: [-2.7, 0.02, -0.6], radius: 1.5, rotation: 1.2, dark: true },
729
+ { pos: [0.6, 0.02, -3], radius: 1, rotation: 2.5, dark: false },
730
+ { pos: [-1.4, 0.02, 2.8], radius: 1.1, rotation: 3.6, dark: true }
731
+ ],
732
+ leaves: [
733
+ { pos: [3.7, 0, 1.5], height: 1.5, radius: 1.4, tilt: 0.22, rotation: 0.4, dark: false },
734
+ { pos: [-4, 0, -1.3], height: 1.2, radius: 1.6, tilt: 0.3, rotation: 1.6, dark: true },
735
+ { pos: [1.4, 0, -3.7], height: 1, radius: 1.2, tilt: 0.18, rotation: 2.7, dark: false }
736
+ ]
737
+ };
738
+ }
657
739
  function lotusMulberry32(seed) {
658
740
  let a = seed >>> 0;
659
741
  return () => {
@@ -1518,13 +1600,16 @@ totalEmissiveRadiance += lotusScatter * (0.28 + uLotusBloom * 0.72);`
1518
1600
  };
1519
1601
  exports.DEFAULT_LOTUS_PETAL_GEOMETRY_PARAMS = {
1520
1602
  length: 1.7,
1521
- width: 1.1,
1522
- cup: 0.34,
1603
+ // Broader (width/length 0.65 → 0.85) + a deeper cup so each petal reads as a wide
1604
+ // cupped tear-drop, not a thin sliver; the obovate silhouette does the rest.
1605
+ width: 1.45,
1606
+ cup: 0.4,
1523
1607
  ridge: 0.12,
1524
1608
  gravitySag: 0.18,
1525
1609
  segmentsU: 24,
1526
1610
  segmentsV: 40,
1527
- veinPhase: 0
1611
+ veinPhase: 0,
1612
+ thickness: 0.012
1528
1613
  };
1529
1614
  }
1530
1615
  });
@@ -1534,6 +1619,7 @@ exports.buildLotusFlowerPlacements = buildLotusFlowerPlacements;
1534
1619
  exports.buildLotusPetalGeometryData = buildLotusPetalGeometryData;
1535
1620
  exports.buildLotusPetalMaterialSpec = buildLotusPetalMaterialSpec;
1536
1621
  exports.buildLotusSceneFromComposition = buildLotusSceneFromComposition;
1622
+ exports.buildLotusSceneScaffold = buildLotusSceneScaffold;
1537
1623
  exports.createBotanicalLotusRenderProfile = createBotanicalLotusRenderProfile;
1538
1624
  exports.createLotusMeristem = createLotusMeristem;
1539
1625
  exports.createLotusMorphogen = createLotusMorphogen;
@@ -1565,5 +1651,5 @@ exports.stepLotusMorphogen2D = stepLotusMorphogen2D;
1565
1651
  exports.stepLotusPetalTurgor = stepLotusPetalTurgor;
1566
1652
  exports.stepLotusPond = stepLotusPond;
1567
1653
  exports.validateBotanicalLotusConfig = validateBotanicalLotusConfig;
1568
- //# sourceMappingURL=chunk-ZMCVKFXI.cjs.map
1569
- //# sourceMappingURL=chunk-ZMCVKFXI.cjs.map
1654
+ //# sourceMappingURL=chunk-H5PUZHJV.cjs.map
1655
+ //# sourceMappingURL=chunk-H5PUZHJV.cjs.map
@@ -1,6 +1,6 @@
1
1
  import { init_PlatformConditionalCompilerMixin, filterCompositionForPlatform } from './chunk-GZG4KA4E.js';
2
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, audioSourceToVisionOS, compilePostProcessingBlock, compileParticleBlock, particlesToVisionOS, compilePhysicsBlock, physicsToVisionOS, compileMaterialBlock, materialToVisionOS } from './chunk-BOVPWH4H.js';
3
- import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
2
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, audioSourceToVisionOS, compilePostProcessingBlock, compileParticleBlock, particlesToVisionOS, compilePhysicsBlock, physicsToVisionOS, compileMaterialBlock, materialToVisionOS } from './chunk-DPZXVDGM.js';
3
+ import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
4
4
  import { __esm, __export } from './chunk-OL46QLBJ.js';
5
5
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
6
6
 
@@ -2422,5 +2422,5 @@ ${layers}`;
2422
2422
  });
2423
2423
 
2424
2424
  export { VisionOSCompiler, VisionOSCompiler_exports, generateTraitCode, getTraitMapping, init_VisionOSCompiler, init_VisionOSTraitMap, listAllTraits };
2425
- //# sourceMappingURL=chunk-2X7NGX3M.js.map
2426
- //# sourceMappingURL=chunk-2X7NGX3M.js.map
2425
+ //# sourceMappingURL=chunk-HBEN5TQR.js.map
2426
+ //# sourceMappingURL=chunk-HBEN5TQR.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
4
- var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
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
 
@@ -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, chunkKKP7JKN4_cjs.createTestCompilerToken());
22
+ return compiler.compile(composition, chunkQWAR3GY6_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
- chunkKKP7JKN4_cjs.init_CompilerBase();
32
- chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
31
+ chunkQWAR3GY6_cjs.init_CompilerBase();
32
+ chunk2VL6SJ33_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 chunkKKP7JKN4_cjs.CompilerBase {
43
+ exports.WASMCompiler = class extends chunkQWAR3GY6_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
- chunkHKEXJUWS_cjs.compileDomainBlocks(
103
+ chunk2VL6SJ33_cjs.compileDomainBlocks(
104
104
  domainBlocks,
105
105
  {
106
106
  material: (block) => {
107
- const mat = chunkHKEXJUWS_cjs.compileMaterialBlock(block);
107
+ const mat = chunk2VL6SJ33_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-2IWC4FP7.cjs.map
1189
- //# sourceMappingURL=chunk-2IWC4FP7.cjs.map
1188
+ //# sourceMappingURL=chunk-HBLKLLG5.cjs.map
1189
+ //# sourceMappingURL=chunk-HBLKLLG5.cjs.map
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunkXB274MW5_cjs = require('./chunk-XB274MW5.cjs');
4
- var chunkS3MDHNKB_cjs = require('./chunk-S3MDHNKB.cjs');
5
- var chunkROHLEP2W_cjs = require('./chunk-ROHLEP2W.cjs');
6
- var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
3
+ var chunk5BLWXOIP_cjs = require('./chunk-5BLWXOIP.cjs');
4
+ var chunkNTGBEMYL_cjs = require('./chunk-NTGBEMYL.cjs');
5
+ var chunk2J5WZLF5_cjs = require('./chunk-2J5WZLF5.cjs');
6
+ var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
7
7
  var ans = require('@holoscript/core-types/ans');
8
8
 
9
9
  // src/compiler/MultiLayerCompiler.ts
10
- chunkXB274MW5_cjs.init_VRRCompiler();
11
- chunkS3MDHNKB_cjs.init_ARCompiler();
12
- chunkROHLEP2W_cjs.init_BabylonCompiler();
13
- chunkKKP7JKN4_cjs.init_CompilerBase();
14
- var MultiLayerCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
10
+ chunk5BLWXOIP_cjs.init_VRRCompiler();
11
+ chunkNTGBEMYL_cjs.init_ARCompiler();
12
+ chunk2J5WZLF5_cjs.init_BabylonCompiler();
13
+ chunkQWAR3GY6_cjs.init_CompilerBase();
14
+ var MultiLayerCompiler = class extends chunkQWAR3GY6_cjs.CompilerBase {
15
15
  constructor(options) {
16
16
  super();
17
17
  this.compilerName = "MultiLayerCompiler";
@@ -28,7 +28,7 @@ var MultiLayerCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
28
28
  errors: []
29
29
  };
30
30
  if (this.options.targets.includes("ar")) {
31
- const arCompiler = new chunkS3MDHNKB_cjs.ARCompiler({
31
+ const arCompiler = new chunkNTGBEMYL_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 chunkKKP7JKN4_cjs.CompilerBase {
39
39
  if (!arResult.success) result.success = false;
40
40
  }
41
41
  if (this.options.targets.includes("vrr")) {
42
- const vrrCompiler = new chunkXB274MW5_cjs.VRRCompiler({
42
+ const vrrCompiler = new chunk5BLWXOIP_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 chunkKKP7JKN4_cjs.CompilerBase {
52
52
  if (!vrrResult.success) result.success = false;
53
53
  }
54
54
  if (this.options.targets.includes("vr")) {
55
- const vrCompiler = new chunkROHLEP2W_cjs.BabylonCompiler({});
55
+ const vrCompiler = new chunk2J5WZLF5_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 chunkKKP7JKN4_cjs.CompilerBase {
68
68
  };
69
69
 
70
70
  exports.MultiLayerCompiler = MultiLayerCompiler;
71
- //# sourceMappingURL=chunk-NCWCUZNS.cjs.map
72
- //# sourceMappingURL=chunk-NCWCUZNS.cjs.map
71
+ //# sourceMappingURL=chunk-IBXT6UP3.cjs.map
72
+ //# sourceMappingURL=chunk-IBXT6UP3.cjs.map
@@ -1,4 +1,4 @@
1
- import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
1
+ import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
2
2
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
3
3
 
4
4
  // src/compiler/LLMProviderCapabilitiesCompiler.ts
@@ -721,5 +721,5 @@ function daysBetween(earlier, later) {
721
721
  }
722
722
 
723
723
  export { LLMCapabilityCompileError, LLMProviderCapabilitiesCompiler, createLLMProviderCapabilitiesCompiler };
724
- //# sourceMappingURL=chunk-DAJXW4KX.js.map
725
- //# sourceMappingURL=chunk-DAJXW4KX.js.map
724
+ //# sourceMappingURL=chunk-IIUFMUTV.js.map
725
+ //# sourceMappingURL=chunk-IIUFMUTV.js.map
@@ -1,5 +1,5 @@
1
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToSDF, compileMaterialBlock, materialToSDF } from './chunk-BOVPWH4H.js';
2
- import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
1
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToSDF, compileMaterialBlock, materialToSDF } from './chunk-DPZXVDGM.js';
2
+ import { 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
 
@@ -604,5 +604,5 @@ ${layers}`;
604
604
  });
605
605
 
606
606
  export { SDFCompiler, SDFCompiler_default, SDFCompiler_exports, init_SDFCompiler };
607
- //# sourceMappingURL=chunk-OH2FAIVU.js.map
608
- //# sourceMappingURL=chunk-OH2FAIVU.js.map
607
+ //# sourceMappingURL=chunk-IS4AEGLU.js.map
608
+ //# sourceMappingURL=chunk-IS4AEGLU.js.map
@@ -1,5 +1,5 @@
1
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToGodot, compileInputBlock, navigationToGodot, compileNavigationBlock, renderingToGodot, compileRenderingBlock, proceduralToGodot, compileProceduralBlock, web3ToGodot, compileWeb3Block, architectureToGodot, compileArchitectureBlock, musicToGodot, compileMusicBlock, educationToGodot, compileEducationBlock, datavizToGodot, compileDataVizBlock, iotToGodot, compileIoTBlock, compileRoboticsBlock, roboticsToGodot, compileHealthcareBlock, healthcareToGodot, compilePaymentBlock, paymentToGodot, compileNarrativeBlock, narrativeToGodot, compileWeatherBlock, weatherToGodot, compileAudioSourceBlock, audioSourceToGodot, compilePostProcessingBlock, postProcessingToGodot, compileParticleBlock, particlesToGodot, compilePhysicsBlock, physicsToGodot, compileMaterialBlock, materialToGodot } from './chunk-BOVPWH4H.js';
2
- import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
1
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToGodot, compileInputBlock, navigationToGodot, compileNavigationBlock, renderingToGodot, compileRenderingBlock, proceduralToGodot, compileProceduralBlock, web3ToGodot, compileWeb3Block, architectureToGodot, compileArchitectureBlock, musicToGodot, compileMusicBlock, educationToGodot, compileEducationBlock, datavizToGodot, compileDataVizBlock, iotToGodot, compileIoTBlock, compileRoboticsBlock, roboticsToGodot, compileHealthcareBlock, healthcareToGodot, compilePaymentBlock, paymentToGodot, compileNarrativeBlock, narrativeToGodot, compileWeatherBlock, weatherToGodot, compileAudioSourceBlock, audioSourceToGodot, compilePostProcessingBlock, postProcessingToGodot, compileParticleBlock, particlesToGodot, compilePhysicsBlock, physicsToGodot, compileMaterialBlock, materialToGodot } from './chunk-DPZXVDGM.js';
2
+ import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
3
3
  import { __esm, __export } from './chunk-OL46QLBJ.js';
4
4
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
5
5
 
@@ -682,5 +682,5 @@ var init_GodotCompiler = __esm({
682
682
  });
683
683
 
684
684
  export { GodotCompiler, GodotCompiler_exports, init_GodotCompiler };
685
- //# sourceMappingURL=chunk-PY37LNDP.js.map
686
- //# sourceMappingURL=chunk-PY37LNDP.js.map
685
+ //# sourceMappingURL=chunk-ISG3TQ2O.js.map
686
+ //# sourceMappingURL=chunk-ISG3TQ2O.js.map
@@ -400,5 +400,5 @@ function registerBusinessQuestTools(server) {
400
400
  var BusinessQuestTools_default = handleBusinessQuestToolCall;
401
401
 
402
402
  export { BUSINESS_QUEST_TOOLS, BusinessQuestTools_default, buildVRRCompositionFromDraft, businessVRRDraftSchema, draftToHoloPreview, handleBusinessQuestToolCall, registerBusinessQuestTools, validateBusinessVRRDraft };
403
- //# sourceMappingURL=chunk-ADADVMXY.js.map
404
- //# sourceMappingURL=chunk-ADADVMXY.js.map
403
+ //# sourceMappingURL=chunk-ISM4NX6N.js.map
404
+ //# sourceMappingURL=chunk-ISM4NX6N.js.map
@@ -1,5 +1,5 @@
1
1
  import { init_AndroidKotlinHelpers, sanitizeNameCapitalized, getSceneformGeometry, findObjProp, toKotlinType, toKotlinValue, toAndroidColor, compositionHasTrait } from './chunk-FDSGHPAK.js';
2
- import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
2
+ import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
3
3
  import { init_geospatial, init_depth_scanner, init_spatial_authoring, init_haptic_feedback, init_nearby_connections, init_foldable_display, init_samsung_dex, init_google_lens, init_webxr, SPATIAL_AUTHORING_TRAITS, SPATIAL_AUTHORING_DEFAULTS, HAPTIC_FEEDBACK_TRAITS, NEARBY_CONNECTIONS_TRAITS, FOLDABLE_DISPLAY_TRAITS, SAMSUNG_DEX_TRAITS, GOOGLE_LENS_TRAITS, WEBXR_TRAITS, DEPTH_SCANNER_TRAITS, GEOSPATIAL_DEFAULTS, DEPTH_SCANNER_DEFAULTS } from './chunk-WKX5AMOY.js';
4
4
  import { init_portal_ar, init_camera_hand_tracking, init_npu_scene, NPU_SCENE_TRAITS, NPU_SCENE_DEFAULTS, CAMERA_HAND_TRACKING_TRAITS, PORTAL_AR_TRAITS } from './chunk-CBJY23VL.js';
5
5
  import { __esm, __export } from './chunk-OL46QLBJ.js';
@@ -3034,5 +3034,5 @@ var init_AndroidCompiler = __esm({
3034
3034
  });
3035
3035
 
3036
3036
  export { AndroidCompiler, AndroidCompiler_exports, compileToAndroid, init_AndroidCompiler };
3037
- //# sourceMappingURL=chunk-WRKUDAZJ.js.map
3038
- //# sourceMappingURL=chunk-WRKUDAZJ.js.map
3037
+ //# sourceMappingURL=chunk-JEB5UU3E.js.map
3038
+ //# sourceMappingURL=chunk-JEB5UU3E.js.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-E4M5OAYO.js';
2
+ import { init_R3FCompiler, init_ObjectPool, ASTNodePool, MATERIAL_PRESETS } from './chunk-ULXWSPCK.js';
3
3
  import { init_TraitCompositor, TraitCompositor } from './chunk-4C57PR42.js';
4
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToGLTF } from './chunk-BOVPWH4H.js';
5
- import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
4
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToGLTF } from './chunk-DPZXVDGM.js';
5
+ import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.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-KMC6CQH3.js.map
2252
- //# sourceMappingURL=chunk-KMC6CQH3.js.map
2251
+ //# sourceMappingURL=chunk-K5UGRXKR.js.map
2252
+ //# sourceMappingURL=chunk-K5UGRXKR.js.map
@@ -1,4 +1,4 @@
1
- import { init_CompilerBase, CompilerBase, escapeStringValue } from './chunk-QPSKHBJP.js';
1
+ import { init_CompilerBase, CompilerBase, escapeStringValue } from './chunk-CXS3DUKD.js';
2
2
  import { init_roomplan, init_lidar_scanner, init_face_tracking, init_ios_object_capture, init_shareplay, init_uwb_positioning, init_airpods_spatial_audio, ROOMPLAN_TRAITS, LIDAR_SCANNER_TRAITS, IOS_OBJECT_CAPTURE_TRAITS, FACE_TRACKING_TRAITS, SHAREPLAY_TRAITS, UWB_POSITIONING_TRAITS, AIRPODS_SPATIAL_AUDIO_TRAITS } from './chunk-SIEXCILW.js';
3
3
  import { init_npu_scene, init_portal_ar, init_camera_hand_tracking, NPU_SCENE_TRAITS, NPU_SCENE_DEFAULTS, PORTAL_AR_TRAITS, CAMERA_HAND_TRACKING_TRAITS } from './chunk-CBJY23VL.js';
4
4
  import { __esm, __export } from './chunk-OL46QLBJ.js';
@@ -5382,5 +5382,5 @@ var init_IOSCompiler = __esm({
5382
5382
  });
5383
5383
 
5384
5384
  export { IOSCompiler, IOSCompiler_exports, compileToIOS, init_IOSCompiler };
5385
- //# sourceMappingURL=chunk-OMXII44L.js.map
5386
- //# sourceMappingURL=chunk-OMXII44L.js.map
5385
+ //# sourceMappingURL=chunk-KDZRD6EI.js.map
5386
+ //# sourceMappingURL=chunk-KDZRD6EI.js.map
@@ -1,4 +1,4 @@
1
- import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
1
+ import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
2
2
 
3
3
  // src/compiler/QuantumCircuitCompiler.ts
4
4
  init_CompilerBase();
@@ -321,5 +321,5 @@ var QuantumCircuitCompiler = class extends CompilerBase {
321
321
  };
322
322
 
323
323
  export { QuantumCircuitCompiler };
324
- //# sourceMappingURL=chunk-ZU7NIRT6.js.map
325
- //# sourceMappingURL=chunk-ZU7NIRT6.js.map
324
+ //# sourceMappingURL=chunk-LAUFLPB6.js.map
325
+ //# sourceMappingURL=chunk-LAUFLPB6.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
3
+ var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
4
4
  var ans = require('@holoscript/core-types/ans');
5
5
 
6
6
  // src/compiler/AgentInferenceExportTarget.ts
7
- chunkKKP7JKN4_cjs.init_CompilerBase();
7
+ chunkQWAR3GY6_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 chunkKKP7JKN4_cjs.CompilerBase {
40
+ var AgentInferenceCompiler = class extends chunkQWAR3GY6_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-JC5YBPSF.cjs.map
984
- //# sourceMappingURL=chunk-JC5YBPSF.cjs.map
983
+ //# sourceMappingURL=chunk-LY4DMQOW.cjs.map
984
+ //# sourceMappingURL=chunk-LY4DMQOW.cjs.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkFEWUHQNM_cjs = require('./chunk-FEWUHQNM.cjs');
4
- var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
4
+ var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.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
- chunkKKP7JKN4_cjs.init_CompilerBase();
2942
+ chunkQWAR3GY6_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 chunkKKP7JKN4_cjs.CompilerBase {
2947
+ exports.AndroidCompiler = class extends chunkQWAR3GY6_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-KQCN6AKJ.cjs.map
3042
- //# sourceMappingURL=chunk-KQCN6AKJ.cjs.map
3041
+ //# sourceMappingURL=chunk-N5YOAFNA.cjs.map
3042
+ //# sourceMappingURL=chunk-N5YOAFNA.cjs.map
@@ -1,9 +1,9 @@
1
- import { init_R3FCompiler, MATERIAL_PRESETS } from './chunk-E4M5OAYO.js';
1
+ import { init_R3FCompiler, MATERIAL_PRESETS } from './chunk-ULXWSPCK.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-BOVPWH4H.js';
6
- import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.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-DPZXVDGM.js';
6
+ import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
7
7
  import { parsePipeline } from './chunk-J32ZJZJH.js';
8
8
  import { init_safeJsonParse, readJson } from './chunk-VVKVQZI6.js';
9
9
  import { __export, __esm } from './chunk-OL46QLBJ.js';
@@ -2560,6 +2560,36 @@ var init_NIRCompiler = __esm({
2560
2560
  }
2561
2561
  });
2562
2562
 
2563
+ // src/compiler/CodeEditorCompiler.ts
2564
+ var KNOWN_TRAITS = /* @__PURE__ */ new Set([
2565
+ "code_editor",
2566
+ "lsp_client",
2567
+ "editor_gutters",
2568
+ "editor_keybindings",
2569
+ "store_diagnostics",
2570
+ "editor_toolbar",
2571
+ "spatial_blame"
2572
+ ]);
2573
+ var CodeEditorCompiler = class {
2574
+ constructor() {
2575
+ this.compilerName = "CodeEditorCompiler";
2576
+ }
2577
+ compile(composition, _agentToken, _outputPath, options) {
2578
+ const indent = options?.indent ?? 2;
2579
+ const strict = options?.strictTraits ?? false;
2580
+ const config = {};
2581
+ const allTraits = [...composition.traits ?? []];
2582
+ for (const obj of composition.objects) {
2583
+ allTraits.push(...obj.traits ?? []);
2584
+ }
2585
+ for (const trait of allTraits) {
2586
+ if (strict && !KNOWN_TRAITS.has(trait.name)) continue;
2587
+ config[trait.name] = trait.config;
2588
+ }
2589
+ return JSON.stringify(config, null, indent);
2590
+ }
2591
+ };
2592
+
2563
2593
  // src/compiler/USDZPipeline.ts
2564
2594
  init_DomainBlockCompilerMixin();
2565
2595
  init_R3FCompiler();
@@ -6879,6 +6909,6 @@ function compilePipelineSource(source, options = {}) {
6879
6909
  return compilePipelineSourceToNode(source, options.node);
6880
6910
  }
6881
6911
 
6882
- 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, Native2DCompiler, Native2DCompiler_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_Native2DCompiler, init_ThreeJSCompiler, isSafeTraitSet, knownBuiltins, knownTraits, quickSafetyCheck, resetCrossRealityTraitRegistry, runSafetyPass, selectModality, selectModalityForAll, spatialPartition };
6883
- //# sourceMappingURL=chunk-WQKJSGVS.js.map
6884
- //# sourceMappingURL=chunk-WQKJSGVS.js.map
6912
+ export { A2AAgentCardCompiler, A2AAgentCardCompiler_exports, BUILTIN_RESOURCES, CAPABILITY_HIERARCHY, CATEGORY_DEFAULT_EMBODIMENT, CodeEditorCompiler, CompilerBridge, CrossRealityTraitRegistry, EFFECTS_BY_CATEGORY, EFFECT_TO_CAPABILITY, EffectChecker, EffectRow, GaussianSplattingCompiler, HANDOFF_PATH_RULES, LinearTypeChecker, MVC_BUDGET_CONSTRAINTS, NIRCompiler, NIRCompiler_exports, Native2DCompiler, Native2DCompiler_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_Native2DCompiler, init_ThreeJSCompiler, isSafeTraitSet, knownBuiltins, knownTraits, quickSafetyCheck, resetCrossRealityTraitRegistry, runSafetyPass, selectModality, selectModalityForAll, spatialPartition };
6913
+ //# sourceMappingURL=chunk-NDUX553L.js.map
6914
+ //# sourceMappingURL=chunk-NDUX553L.js.map