@holoscript/core 6.0.2 → 6.0.4

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 (229) hide show
  1. package/README.md +38 -38
  2. package/dist/GLTFPipeline-DEN36VNK.js +12 -0
  3. package/dist/GLTFPipeline-YPCAK236.cjs +33 -0
  4. package/dist/{HoloScriptPlusParser-BZR5DELQ.js → HoloScriptPlusParser-BN6KVRCM.js} +5 -5
  5. package/dist/{HoloScriptPlusParser-SBMYDNXO.cjs → HoloScriptPlusParser-NC5FE6AL.cjs} +16 -16
  6. package/dist/{USDZExporter-YA55ZS35.js → USDZExporter-NTMBNTDB.js} +3 -3
  7. package/dist/{USDZExporter-MHEHXZB4.cjs → USDZExporter-UWGWNMMD.cjs} +3 -3
  8. package/dist/{chunk-32TWR3HE.js → chunk-2CWOLHTE.js} +3 -4
  9. package/dist/{chunk-2UX5LRAP.cjs → chunk-33LSUQDD.cjs} +33 -31
  10. package/dist/{chunk-LBPEZQAF.js → chunk-3FJCK5XA.js} +7 -7
  11. package/dist/{chunk-EGIZHYJP.cjs → chunk-3SAK5KFL.cjs} +2 -4
  12. package/dist/{chunk-PJMOXFPR.cjs → chunk-4XSNJCLC.cjs} +25 -27
  13. package/dist/{chunk-HKCVM6OK.cjs → chunk-5BGSECRJ.cjs} +21 -21
  14. package/dist/{chunk-EMO7HAKJ.cjs → chunk-5O6TQC6M.cjs} +26 -30
  15. package/dist/{chunk-XSUZMPVQ.cjs → chunk-5OEOHAAW.cjs} +26 -26
  16. package/dist/{chunk-EJA7G2C4.cjs → chunk-5WUNN6ZN.cjs} +2 -2
  17. package/dist/{chunk-CQDOF3G7.cjs → chunk-6TZPZCOJ.cjs} +18 -18
  18. package/dist/{chunk-NRUB55IT.cjs → chunk-6UEHYZ7V.cjs} +18 -16
  19. package/dist/{chunk-V42NTCFH.js → chunk-6XSERL6L.js} +4230 -2197
  20. package/dist/{chunk-X4YVN7H3.cjs → chunk-72EQECGT.cjs} +37 -17
  21. package/dist/{chunk-4KJ2R7VP.cjs → chunk-7AGYRWKW.cjs} +19 -19
  22. package/dist/{chunk-UQW6SLM5.js → chunk-A7PIMZGU.js} +110 -19
  23. package/dist/{chunk-RT7LJRSF.cjs → chunk-ATSKSYVE.cjs} +1013 -6708
  24. package/dist/{chunk-WN3YF33G.cjs → chunk-B5TCIAPQ.cjs} +9 -10
  25. package/dist/{chunk-AIUXRS74.cjs → chunk-BF2235SI.cjs} +4275 -2242
  26. package/dist/{chunk-DIEDKX5B.cjs → chunk-BND3ST2K.cjs} +18 -16
  27. package/dist/{chunk-EPWRXL6S.js → chunk-BU7VWW2K.js} +29 -29
  28. package/dist/{chunk-6OQBLABR.js → chunk-BWFJEM5A.js} +368 -189
  29. package/dist/{chunk-ARNKA274.cjs → chunk-CAUCGUEA.cjs} +6 -6
  30. package/dist/{chunk-YCMQQQ5U.cjs → chunk-CBJSLA2E.cjs} +398 -219
  31. package/dist/{chunk-BU5ZAFMC.js → chunk-CDPGV4DN.js} +6 -7
  32. package/dist/{chunk-CO2VM2DK.js → chunk-CS2EMTGF.js} +10 -9
  33. package/dist/{chunk-AW7WAELW.js → chunk-DMG7C4H2.js} +4 -4
  34. package/dist/{chunk-XSF76QRU.js → chunk-DXJQDCFL.js} +3 -3
  35. package/dist/{chunk-4FCZDTD5.js → chunk-E3FWRT3Z.js} +7 -9
  36. package/dist/{chunk-KYM4XRFG.js → chunk-E3UALNFA.js} +4 -4
  37. package/dist/{chunk-GC3YU46J.js → chunk-EONILVMF.js} +2 -2
  38. package/dist/{chunk-VJVCD5T5.cjs → chunk-EQV4R3EV.cjs} +22 -22
  39. package/dist/{chunk-FEFHPUEM.cjs → chunk-F3HH56EB.cjs} +74 -658
  40. package/dist/{chunk-WYH4GVZ5.js → chunk-F4IULT7N.js} +2 -2
  41. package/dist/{chunk-XDXZM3ZP.cjs → chunk-FFKU7BTK.cjs} +19 -19
  42. package/dist/{chunk-NKRKT6V2.js → chunk-FHQVYCH2.js} +11 -10
  43. package/dist/{chunk-7H5UNJZD.cjs → chunk-FSF7EQVA.cjs} +11 -10
  44. package/dist/{chunk-KUJRR4FJ.js → chunk-G4VZTCIB.js} +9 -7
  45. package/dist/{chunk-A6GO3DPZ.cjs → chunk-G7CT3EMP.cjs} +4 -4
  46. package/dist/{chunk-EUFLX2PI.js → chunk-GGHSW2NN.js} +989 -6611
  47. package/dist/chunk-GVUR45UF.cjs +777 -0
  48. package/dist/{chunk-ODGMVILH.js → chunk-H5Z7NASB.js} +3 -3
  49. package/dist/{chunk-7KPI4EKH.cjs → chunk-HE7ULERA.cjs} +45 -49
  50. package/dist/{chunk-26TLYBFD.js → chunk-HPS76H7Q.js} +3 -3
  51. package/dist/{chunk-RE3OKSYF.cjs → chunk-HQUEA5R6.cjs} +6 -6
  52. package/dist/{chunk-ZGTGVSTZ.js → chunk-HYNTS5CP.js} +2 -2
  53. package/dist/{chunk-PBA6NXCT.cjs → chunk-IBDG74G2.cjs} +6 -3
  54. package/dist/chunk-IFNQFCTM.js +3098 -0
  55. package/dist/{chunk-ZL6VJ6SN.js → chunk-IWI6J7FX.js} +5 -5
  56. package/dist/{chunk-3KEU5QYY.cjs → chunk-K3JDKWGI.cjs} +118 -23
  57. package/dist/{chunk-NLPSZT4C.js → chunk-K6EKD26I.js} +6 -6
  58. package/dist/chunk-KCQ5NDYC.cjs +3172 -0
  59. package/dist/{chunk-ELLQPFAF.js → chunk-KED34ILP.js} +11 -9
  60. package/dist/{chunk-BY3B7ZYV.cjs → chunk-KSGXLT74.cjs} +3 -3
  61. package/dist/{chunk-65RFOWZI.js → chunk-L4G4RLXX.js} +9 -7
  62. package/dist/{chunk-4SMUJFHL.js → chunk-LDP5OK6G.js} +6 -3
  63. package/dist/{chunk-VZNKJZTT.cjs → chunk-LGGRPKTV.cjs} +82 -96
  64. package/dist/{chunk-C2QHVHZF.js → chunk-LSW7P7ML.js} +23 -414
  65. package/dist/{chunk-HHS6FMOU.cjs → chunk-LXJ4667L.cjs} +83 -22
  66. package/dist/{chunk-H6WMMLQK.cjs → chunk-LZ266PCM.cjs} +20 -13
  67. package/dist/{chunk-V2ILLPHK.cjs → chunk-MD6KDHVE.cjs} +10 -10
  68. package/dist/{chunk-6WNCRE6F.js → chunk-MEASWI2Y.js} +5 -5
  69. package/dist/chunk-MPXBVFHQ.js +768 -0
  70. package/dist/{chunk-WUXIRGZP.cjs → chunk-NCUKG4SK.cjs} +304 -144
  71. package/dist/chunk-NDQNIJEH.js +1715 -0
  72. package/dist/{chunk-Y5MUAYTO.js → chunk-NOZZ46QU.js} +9 -8
  73. package/dist/{chunk-F5LVGHNT.js → chunk-OFKWH2IP.js} +3 -3
  74. package/dist/{chunk-SPDELRRV.cjs → chunk-PMGODDJA.cjs} +12 -12
  75. package/dist/{chunk-I3XGTIHM.cjs → chunk-Q4QX3AET.cjs} +2 -2
  76. package/dist/{chunk-Y7VK5TH3.cjs → chunk-Q5JT3YML.cjs} +10 -10
  77. package/dist/{chunk-TSWTWZ42.cjs → chunk-Q5SJOGHQ.cjs} +247 -205
  78. package/dist/{chunk-M6FU6S22.js → chunk-QGKNANZ3.js} +251 -91
  79. package/dist/{chunk-WFJIDI2N.cjs → chunk-QLEAOI3Q.cjs} +10 -10
  80. package/dist/{chunk-VK5AXKO3.js → chunk-R7MA7QWV.js} +70 -84
  81. package/dist/{chunk-W76ETJTI.js → chunk-RVYPEYPX.js} +6 -6
  82. package/dist/{chunk-MWEFR6YQ.js → chunk-S2N5TNMA.js} +7 -9
  83. package/dist/{chunk-NCUHGRTZ.js → chunk-S565K7NK.js} +7 -7
  84. package/dist/{chunk-AC4BSHFV.js → chunk-SDAMZIRE.js} +5 -5
  85. package/dist/{chunk-HBZYCASG.js → chunk-T36DDXSF.js} +75 -33
  86. package/dist/{chunk-BO2OKHIY.js → chunk-T4NKMBDL.js} +30 -611
  87. package/dist/{chunk-7X2IEJIE.cjs → chunk-T7LEXZUZ.cjs} +29 -29
  88. package/dist/{chunk-HUFNKFA6.js → chunk-TEWCN33Y.js} +8 -12
  89. package/dist/{chunk-L3Z2HIWJ.cjs → chunk-TQSZUOW5.cjs} +2 -2
  90. package/dist/chunk-TSH3MSQU.cjs +129 -0
  91. package/dist/{chunk-PLMYCCA4.js → chunk-UERJ3YJV.js} +6 -6
  92. package/dist/{chunk-7N3JIJMT.js → chunk-UPJBDCVF.js} +6 -6
  93. package/dist/{chunk-CMYAWUX3.js → chunk-V3NN3HPP.js} +12 -5
  94. package/dist/{chunk-SUCBB66F.js → chunk-WB4Z63GG.js} +3 -3
  95. package/dist/{chunk-PPULB4GG.cjs → chunk-WDW67DZB.cjs} +68 -68
  96. package/dist/chunk-WGMEAYBG.js +126 -0
  97. package/dist/{chunk-VSXOIUCF.cjs → chunk-X4ZF6CNE.cjs} +7 -7
  98. package/dist/{chunk-HF4OFY25.cjs → chunk-X6SEAXAX.cjs} +29 -445
  99. package/dist/{chunk-C7BNX4XJ.js → chunk-XCWFGZAA.js} +6 -6
  100. package/dist/{chunk-CNVM7J3M.js → chunk-XD6IYDUX.js} +34 -14
  101. package/dist/chunk-XG23EUQX.cjs +1717 -0
  102. package/dist/{chunk-DN7UFU63.cjs → chunk-XRKWN5PL.cjs} +12 -11
  103. package/dist/{chunk-XNMEH2BI.js → chunk-XUTX5CBW.js} +3 -3
  104. package/dist/{chunk-PQLGZKMC.cjs → chunk-XWPNTWDN.cjs} +26 -26
  105. package/dist/{chunk-NTMZSDXM.cjs → chunk-XXINBTZK.cjs} +43 -43
  106. package/dist/{chunk-74YCHHTE.js → chunk-YCXFCXDS.js} +8 -12
  107. package/dist/{chunk-KDB6BUMB.js → chunk-YQK5JNFK.js} +77 -18
  108. package/dist/{chunk-DH5G2JUA.cjs → chunk-Z34RLXRA.cjs} +44 -46
  109. package/dist/{chunk-XH7SE4HH.cjs → chunk-ZP4D3CSX.cjs} +19 -19
  110. package/dist/cli/holoscript-runner.cjs +33 -32
  111. package/dist/cli/holoscript-runner.js +13 -12
  112. package/dist/codebase/index.cjs +1 -1
  113. package/dist/codebase/index.d.ts +25 -0
  114. package/dist/codebase/index.js +1 -1
  115. package/dist/compiler/agent-inference.cjs +7 -8
  116. package/dist/compiler/agent-inference.js +3 -4
  117. package/dist/compiler/android-xr.cjs +7 -8
  118. package/dist/compiler/android-xr.js +5 -6
  119. package/dist/compiler/android.cjs +8 -9
  120. package/dist/compiler/android.js +6 -7
  121. package/dist/compiler/ar.cjs +6 -7
  122. package/dist/compiler/ar.js +4 -5
  123. package/dist/compiler/babylon.cjs +8 -9
  124. package/dist/compiler/babylon.js +7 -8
  125. package/dist/compiler/coco.cjs +1 -1
  126. package/dist/compiler/coco.js +1 -1
  127. package/dist/compiler/domain-block-utils.cjs +158 -151
  128. package/dist/compiler/domain-block-utils.js +4 -5
  129. package/dist/compiler/dtdl.cjs +7 -8
  130. package/dist/compiler/dtdl.js +4 -5
  131. package/dist/compiler/gltf-pipeline.cjs +9 -9
  132. package/dist/compiler/gltf-pipeline.js +2 -2
  133. package/dist/compiler/godot.cjs +6 -7
  134. package/dist/compiler/godot.js +5 -6
  135. package/dist/compiler/incremental.cjs +7 -8
  136. package/dist/compiler/incremental.js +2 -3
  137. package/dist/compiler/index.cjs +1934 -878
  138. package/dist/compiler/index.js +1904 -842
  139. package/dist/compiler/ios.cjs +8 -9
  140. package/dist/compiler/ios.js +6 -7
  141. package/dist/compiler/multi-layer.cjs +10 -17
  142. package/dist/compiler/multi-layer.js +9 -10
  143. package/dist/compiler/nodetoy.cjs +1 -1
  144. package/dist/compiler/nodetoy.js +1 -1
  145. package/dist/compiler/openxr.cjs +6 -7
  146. package/dist/compiler/openxr.js +5 -6
  147. package/dist/compiler/playcanvas.cjs +7 -8
  148. package/dist/compiler/playcanvas.js +6 -7
  149. package/dist/compiler/r3f.cjs +13 -14
  150. package/dist/compiler/r3f.js +8 -9
  151. package/dist/compiler/remotion.cjs +1 -1
  152. package/dist/compiler/remotion.js +1 -1
  153. package/dist/compiler/reproducibility.cjs +1 -1
  154. package/dist/compiler/reproducibility.js +1 -1
  155. package/dist/compiler/sdf.cjs +7 -8
  156. package/dist/compiler/sdf.js +5 -6
  157. package/dist/compiler/semantic-scene.cjs +7 -7
  158. package/dist/compiler/semantic-scene.js +2 -2
  159. package/dist/compiler/state.cjs +5 -6
  160. package/dist/compiler/state.js +3 -4
  161. package/dist/compiler/trait-composition.cjs +7 -8
  162. package/dist/compiler/trait-composition.js +3 -4
  163. package/dist/compiler/unity.cjs +6 -7
  164. package/dist/compiler/unity.js +5 -6
  165. package/dist/compiler/unreal.cjs +7 -8
  166. package/dist/compiler/unreal.js +5 -6
  167. package/dist/compiler/urdf.cjs +13 -14
  168. package/dist/compiler/urdf.js +5 -6
  169. package/dist/compiler/usd-physics.cjs +7 -8
  170. package/dist/compiler/usd-physics.js +4 -5
  171. package/dist/compiler/visionos.cjs +6 -7
  172. package/dist/compiler/visionos.js +5 -6
  173. package/dist/compiler/vrchat.cjs +7 -8
  174. package/dist/compiler/vrchat.js +5 -6
  175. package/dist/compiler/vrr.cjs +7 -8
  176. package/dist/compiler/vrr.js +5 -6
  177. package/dist/compiler/wasm.cjs +10 -11
  178. package/dist/compiler/wasm.js +5 -6
  179. package/dist/compiler/webgpu.cjs +6 -7
  180. package/dist/compiler/webgpu.js +5 -6
  181. package/dist/constants.d.ts +3 -0
  182. package/dist/debugger.cjs +7 -7
  183. package/dist/debugger.js +5 -5
  184. package/dist/entries/interop.cjs +1 -1
  185. package/dist/entries/interop.d.ts +9 -0
  186. package/dist/entries/interop.js +1 -1
  187. package/dist/entries/scripting.cjs +18 -17
  188. package/dist/entries/scripting.d.ts +7 -0
  189. package/dist/entries/scripting.js +8 -7
  190. package/dist/index.cjs +6773 -27555
  191. package/dist/index.d.ts +19 -0
  192. package/dist/index.js +5212 -26101
  193. package/dist/math/vec3.cjs +1 -1
  194. package/dist/math/vec3.js +1 -1
  195. package/dist/ml-dsa-PHCWUBPX.cjs +1178 -0
  196. package/dist/ml-dsa-WYLJHJO6.js +1178 -0
  197. package/dist/parser.cjs +11 -10
  198. package/dist/parser.js +8 -7
  199. package/dist/{playwright-BIZXMLD2.js → playwright-5OSAPTNH.js} +3 -3
  200. package/dist/{playwright-7DTEQCBD.cjs → playwright-RL6GY4F7.cjs} +1985 -1985
  201. package/dist/runtime.cjs +5 -5
  202. package/dist/runtime.js +4 -4
  203. package/dist/self-improvement/index.d.ts +0 -48
  204. package/dist/storage/index.cjs +1 -1
  205. package/dist/storage/index.d.ts +24 -0
  206. package/dist/storage/index.js +1 -1
  207. package/dist/tools/index.d.ts +12 -0
  208. package/dist/traits/index.cjs +925 -607
  209. package/dist/traits/index.js +137 -20
  210. package/dist/type-checker.cjs +4 -4
  211. package/dist/type-checker.js +2 -2
  212. package/package.json +54 -19
  213. package/LICENSE +0 -21
  214. package/dist/GLTFPipeline-3KLWWUQO.cjs +0 -34
  215. package/dist/GLTFPipeline-LYII2ZVQ.js +0 -13
  216. package/dist/chunk-CN4NOESF.cjs +0 -416
  217. package/dist/chunk-DXVCEFZB.js +0 -2027
  218. package/dist/chunk-ENV7K6XA.js +0 -282
  219. package/dist/chunk-H7XMORZI.js +0 -2731
  220. package/dist/chunk-HAN4V3PF.cjs +0 -2037
  221. package/dist/chunk-LER4WXW5.cjs +0 -286
  222. package/dist/chunk-QHVVVN47.cjs +0 -2033
  223. package/dist/chunk-QWKUKVRE.js +0 -2026
  224. package/dist/chunk-UITWA6DV.cjs +0 -2829
  225. package/dist/chunk-X67XRI2T.js +0 -410
  226. package/dist/post-quantum-JTTAAGO3.cjs +0 -6
  227. package/dist/post-quantum-RVPVDEPI.js +0 -4
  228. package/dist/wot/index.cjs +0 -29
  229. package/dist/wot/index.js +0 -4
@@ -1,12 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkHHS6FMOU_cjs = require('./chunk-HHS6FMOU.cjs');
4
- var chunkQHVVVN47_cjs = require('./chunk-QHVVVN47.cjs');
5
- var chunkEGIZHYJP_cjs = require('./chunk-EGIZHYJP.cjs');
3
+ var chunkLXJ4667L_cjs = require('./chunk-LXJ4667L.cjs');
4
+ var chunkBF2235SI_cjs = require('./chunk-BF2235SI.cjs');
5
+ var chunk3SAK5KFL_cjs = require('./chunk-3SAK5KFL.cjs');
6
+ var platform = require('@holoscript/platform');
6
7
 
7
8
  // src/compiler/VRChatCompiler.ts
8
9
  var VRChatCompiler_exports = {};
9
- chunkEGIZHYJP_cjs.__export(VRChatCompiler_exports, {
10
+ chunk3SAK5KFL_cjs.__export(VRChatCompiler_exports, {
10
11
  VRChatCompiler: () => exports.VRChatCompiler,
11
12
  compileToVRChat: () => compileToVRChat
12
13
  });
@@ -15,12 +16,11 @@ function compileToVRChat(composition, options) {
15
16
  return Promise.resolve(compiler.compile(composition, ""));
16
17
  }
17
18
  exports.VRChatCompiler = void 0;
18
- var init_VRChatCompiler = chunkEGIZHYJP_cjs.__esm({
19
+ var init_VRChatCompiler = chunk3SAK5KFL_cjs.__esm({
19
20
  "src/compiler/VRChatCompiler.ts"() {
20
- chunkQHVVVN47_cjs.init_CompilerBase();
21
- chunkQHVVVN47_cjs.init_ANSNamespace();
22
- chunkHHS6FMOU_cjs.init_DomainBlockCompilerMixin();
23
- exports.VRChatCompiler = class extends chunkQHVVVN47_cjs.CompilerBase {
21
+ chunkBF2235SI_cjs.init_CompilerBase();
22
+ chunkLXJ4667L_cjs.init_DomainBlockCompilerMixin();
23
+ exports.VRChatCompiler = class extends chunkBF2235SI_cjs.CompilerBase {
24
24
  constructor(options = {}) {
25
25
  super();
26
26
  this.compilerName = "VRChatCompiler";
@@ -38,7 +38,7 @@ var init_VRChatCompiler = chunkEGIZHYJP_cjs.__esm({
38
38
  };
39
39
  }
40
40
  getRequiredCapability() {
41
- return chunkQHVVVN47_cjs.ANSCapabilityPath.VRCHAT;
41
+ return platform.ANSCapabilityPath.VRCHAT;
42
42
  }
43
43
  compile(composition, agentToken, outputPath) {
44
44
  this.validateCompilerAccess(agentToken, outputPath);
@@ -167,59 +167,59 @@ var init_VRChatCompiler = chunkEGIZHYJP_cjs.__esm({
167
167
  this.emit("");
168
168
  this.emit("// === v4.2 Domain Blocks (VRChat/Unity) ===");
169
169
  let blockIdx = 0;
170
- const compiled = chunkHHS6FMOU_cjs.compileDomainBlocks(
170
+ const compiled = chunkLXJ4667L_cjs.compileDomainBlocks(
171
171
  domainBlocks,
172
172
  {
173
173
  material: (block) => {
174
- const mat = chunkHHS6FMOU_cjs.compileMaterialBlock(block);
175
- return chunkHHS6FMOU_cjs.materialToVRChat(mat, `db${blockIdx++}`);
174
+ const mat = chunkLXJ4667L_cjs.compileMaterialBlock(block);
175
+ return chunkLXJ4667L_cjs.materialToVRChat(mat, `db${blockIdx++}`);
176
176
  },
177
177
  physics: (block) => {
178
- const phys = chunkHHS6FMOU_cjs.compilePhysicsBlock(block);
179
- return chunkHHS6FMOU_cjs.physicsToUnity(phys, `db${blockIdx++}`);
178
+ const phys = chunkLXJ4667L_cjs.compilePhysicsBlock(block);
179
+ return chunkLXJ4667L_cjs.physicsToUnity(phys, `db${blockIdx++}`);
180
180
  },
181
181
  vfx: (block) => {
182
- const ps = chunkHHS6FMOU_cjs.compileParticleBlock(block);
183
- return chunkHHS6FMOU_cjs.particlesToUnity(ps, `db${blockIdx++}`);
182
+ const ps = chunkLXJ4667L_cjs.compileParticleBlock(block);
183
+ return chunkLXJ4667L_cjs.particlesToUnity(ps, `db${blockIdx++}`);
184
184
  },
185
185
  postfx: (block) => {
186
- const pp = chunkHHS6FMOU_cjs.compilePostProcessingBlock(block);
187
- return chunkHHS6FMOU_cjs.postProcessingToUnity(pp);
186
+ const pp = chunkLXJ4667L_cjs.compilePostProcessingBlock(block);
187
+ return chunkLXJ4667L_cjs.postProcessingToUnity(pp);
188
188
  },
189
189
  audio: (block) => {
190
- const audio = chunkHHS6FMOU_cjs.compileAudioSourceBlock(block);
191
- return chunkHHS6FMOU_cjs.audioSourceToUnity(audio, `db${blockIdx++}`);
190
+ const audio = chunkLXJ4667L_cjs.compileAudioSourceBlock(block);
191
+ return chunkLXJ4667L_cjs.audioSourceToUnity(audio, `db${blockIdx++}`);
192
192
  },
193
193
  weather: (block) => {
194
- const weather = chunkHHS6FMOU_cjs.compileWeatherBlock(block);
195
- return chunkHHS6FMOU_cjs.weatherToUnity(weather);
194
+ const weather = chunkLXJ4667L_cjs.compileWeatherBlock(block);
195
+ return chunkLXJ4667L_cjs.weatherToUnity(weather);
196
196
  },
197
197
  narrative: (block) => {
198
- const narr = chunkHHS6FMOU_cjs.compileNarrativeBlock(block);
199
- return chunkHHS6FMOU_cjs.narrativeToVRChat(narr);
198
+ const narr = chunkLXJ4667L_cjs.compileNarrativeBlock(block);
199
+ return chunkLXJ4667L_cjs.narrativeToVRChat(narr);
200
200
  },
201
201
  payment: (block) => {
202
- const pay = chunkHHS6FMOU_cjs.compilePaymentBlock(block);
203
- return chunkHHS6FMOU_cjs.paymentToVRChat(pay);
202
+ const pay = chunkLXJ4667L_cjs.compilePaymentBlock(block);
203
+ return chunkLXJ4667L_cjs.paymentToVRChat(pay);
204
204
  },
205
205
  healthcare: (block) => {
206
- const h = chunkHHS6FMOU_cjs.compileHealthcareBlock(block);
207
- return chunkHHS6FMOU_cjs.healthcareToVRChat(h);
206
+ const h = chunkLXJ4667L_cjs.compileHealthcareBlock(block);
207
+ return chunkLXJ4667L_cjs.healthcareToVRChat(h);
208
208
  },
209
209
  robotics: (block) => {
210
- const r = chunkHHS6FMOU_cjs.compileRoboticsBlock(block);
211
- return chunkHHS6FMOU_cjs.roboticsToVRChat(r);
210
+ const r = chunkLXJ4667L_cjs.compileRoboticsBlock(block);
211
+ return chunkLXJ4667L_cjs.roboticsToVRChat(r);
212
212
  },
213
- iot: (block) => chunkHHS6FMOU_cjs.iotToVRChat(chunkHHS6FMOU_cjs.compileIoTBlock(block)),
214
- dataviz: (block) => chunkHHS6FMOU_cjs.datavizToVRChat(chunkHHS6FMOU_cjs.compileDataVizBlock(block)),
215
- education: (block) => chunkHHS6FMOU_cjs.educationToVRChat(chunkHHS6FMOU_cjs.compileEducationBlock(block)),
216
- music: (block) => chunkHHS6FMOU_cjs.musicToVRChat(chunkHHS6FMOU_cjs.compileMusicBlock(block)),
217
- architecture: (block) => chunkHHS6FMOU_cjs.architectureToVRChat(chunkHHS6FMOU_cjs.compileArchitectureBlock(block)),
218
- web3: (block) => chunkHHS6FMOU_cjs.web3ToVRChat(chunkHHS6FMOU_cjs.compileWeb3Block(block)),
219
- procedural: (block) => chunkHHS6FMOU_cjs.proceduralToVRChat(chunkHHS6FMOU_cjs.compileProceduralBlock(block)),
220
- rendering: (block) => chunkHHS6FMOU_cjs.renderingToVRChat(chunkHHS6FMOU_cjs.compileRenderingBlock(block)),
221
- navigation: (block) => chunkHHS6FMOU_cjs.navigationToVRChat(chunkHHS6FMOU_cjs.compileNavigationBlock(block)),
222
- input: (block) => chunkHHS6FMOU_cjs.inputToVRChat(chunkHHS6FMOU_cjs.compileInputBlock(block))
213
+ iot: (block) => chunkLXJ4667L_cjs.iotToVRChat(chunkLXJ4667L_cjs.compileIoTBlock(block)),
214
+ dataviz: (block) => chunkLXJ4667L_cjs.datavizToVRChat(chunkLXJ4667L_cjs.compileDataVizBlock(block)),
215
+ education: (block) => chunkLXJ4667L_cjs.educationToVRChat(chunkLXJ4667L_cjs.compileEducationBlock(block)),
216
+ music: (block) => chunkLXJ4667L_cjs.musicToVRChat(chunkLXJ4667L_cjs.compileMusicBlock(block)),
217
+ architecture: (block) => chunkLXJ4667L_cjs.architectureToVRChat(chunkLXJ4667L_cjs.compileArchitectureBlock(block)),
218
+ web3: (block) => chunkLXJ4667L_cjs.web3ToVRChat(chunkLXJ4667L_cjs.compileWeb3Block(block)),
219
+ procedural: (block) => chunkLXJ4667L_cjs.proceduralToVRChat(chunkLXJ4667L_cjs.compileProceduralBlock(block)),
220
+ rendering: (block) => chunkLXJ4667L_cjs.renderingToVRChat(chunkLXJ4667L_cjs.compileRenderingBlock(block)),
221
+ navigation: (block) => chunkLXJ4667L_cjs.navigationToVRChat(chunkLXJ4667L_cjs.compileNavigationBlock(block)),
222
+ input: (block) => chunkLXJ4667L_cjs.inputToVRChat(chunkLXJ4667L_cjs.compileInputBlock(block))
223
223
  },
224
224
  (block) => `// Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "CSharp")}"`
225
225
  );
@@ -375,9 +375,7 @@ var init_VRChatCompiler = chunkEGIZHYJP_cjs.__esm({
375
375
  `\xE2\u201D\u0153\xE2\u201D\u20AC\xE2\u201D\u20AC ${this.escapeStringValue(group.name, "CSharp")} (SpatialGroup)`
376
376
  );
377
377
  for (const child of group.objects || []) {
378
- lines.push(
379
- `\xE2\u201D\u201A \xE2\u201D\u201D\xE2\u201D\u20AC\xE2\u201D\u20AC ${this.escapeStringValue(child.name, "CSharp")}`
380
- );
378
+ lines.push(`\xE2\u201D\u201A \xE2\u201D\u201D\xE2\u201D\u20AC\xE2\u201D\u20AC ${this.escapeStringValue(child.name, "CSharp")}`);
381
379
  }
382
380
  }
383
381
  }
@@ -610,5 +608,5 @@ var init_VRChatCompiler = chunkEGIZHYJP_cjs.__esm({
610
608
  exports.VRChatCompiler_exports = VRChatCompiler_exports;
611
609
  exports.compileToVRChat = compileToVRChat;
612
610
  exports.init_VRChatCompiler = init_VRChatCompiler;
613
- //# sourceMappingURL=chunk-DH5G2JUA.cjs.map
614
- //# sourceMappingURL=chunk-DH5G2JUA.cjs.map
611
+ //# sourceMappingURL=chunk-Z34RLXRA.cjs.map
612
+ //# sourceMappingURL=chunk-Z34RLXRA.cjs.map
@@ -1,24 +1,24 @@
1
1
  'use strict';
2
2
 
3
- var chunkVZNKJZTT_cjs = require('./chunk-VZNKJZTT.cjs');
4
- var chunkY7VK5TH3_cjs = require('./chunk-Y7VK5TH3.cjs');
5
- var chunk2UX5LRAP_cjs = require('./chunk-2UX5LRAP.cjs');
6
- var chunkQHVVVN47_cjs = require('./chunk-QHVVVN47.cjs');
3
+ var chunkQ5JT3YML_cjs = require('./chunk-Q5JT3YML.cjs');
4
+ var chunk33LSUQDD_cjs = require('./chunk-33LSUQDD.cjs');
5
+ var chunkLGGRPKTV_cjs = require('./chunk-LGGRPKTV.cjs');
6
+ var chunkBF2235SI_cjs = require('./chunk-BF2235SI.cjs');
7
+ var platform = require('@holoscript/platform');
7
8
 
8
9
  // src/compiler/MultiLayerCompiler.ts
9
- chunkVZNKJZTT_cjs.init_VRRCompiler();
10
- chunkY7VK5TH3_cjs.init_ARCompiler();
11
- chunk2UX5LRAP_cjs.init_BabylonCompiler();
12
- chunkQHVVVN47_cjs.init_CompilerBase();
13
- chunkQHVVVN47_cjs.init_ANSNamespace();
14
- var MultiLayerCompiler = class extends chunkQHVVVN47_cjs.CompilerBase {
10
+ chunkLGGRPKTV_cjs.init_VRRCompiler();
11
+ chunkQ5JT3YML_cjs.init_ARCompiler();
12
+ chunk33LSUQDD_cjs.init_BabylonCompiler();
13
+ chunkBF2235SI_cjs.init_CompilerBase();
14
+ var MultiLayerCompiler = class extends chunkBF2235SI_cjs.CompilerBase {
15
15
  constructor(options) {
16
16
  super();
17
17
  this.compilerName = "MultiLayerCompiler";
18
18
  this.options = options;
19
19
  }
20
20
  getRequiredCapability() {
21
- return chunkQHVVVN47_cjs.ANSCapabilityPath.MULTI_LAYER;
21
+ return platform.ANSCapabilityPath.MULTI_LAYER;
22
22
  }
23
23
  compile(composition, agentToken, outputPath) {
24
24
  this.validateCompilerAccess(agentToken, outputPath);
@@ -28,7 +28,7 @@ var MultiLayerCompiler = class extends chunkQHVVVN47_cjs.CompilerBase {
28
28
  errors: []
29
29
  };
30
30
  if (this.options.targets.includes("ar")) {
31
- const arCompiler = new chunkY7VK5TH3_cjs.ARCompiler({
31
+ const arCompiler = new chunkQ5JT3YML_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 chunkQHVVVN47_cjs.CompilerBase {
39
39
  if (!arResult.success) result.success = false;
40
40
  }
41
41
  if (this.options.targets.includes("vrr")) {
42
- const vrrCompiler = new chunkVZNKJZTT_cjs.VRRCompiler({
42
+ const vrrCompiler = new chunkLGGRPKTV_cjs.VRRCompiler({
43
43
  target: "threejs",
44
44
  minify: this.options.minify,
45
45
  source_maps: this.options.source_maps,
@@ -52,21 +52,21 @@ var MultiLayerCompiler = class extends chunkQHVVVN47_cjs.CompilerBase {
52
52
  if (!vrrResult.success) result.success = false;
53
53
  }
54
54
  if (this.options.targets.includes("vr")) {
55
- const vrCompiler = new chunk2UX5LRAP_cjs.BabylonCompiler({});
55
+ const vrCompiler = new chunk33LSUQDD_cjs.BabylonCompiler({});
56
56
  try {
57
57
  const vrResult = vrCompiler.compile(composition, agentToken);
58
58
  result.vr = vrResult;
59
59
  } catch (err) {
60
60
  result.success = false;
61
- result.errors.push(`VR Compilation Error: ${err instanceof Error ? err.message : String(err)}`);
61
+ result.errors.push(
62
+ `VR Compilation Error: ${err instanceof Error ? err.message : String(err)}`
63
+ );
62
64
  }
63
65
  }
64
66
  return result;
65
67
  }
66
68
  };
67
- var MultiLayerCompiler_default = MultiLayerCompiler;
68
69
 
69
70
  exports.MultiLayerCompiler = MultiLayerCompiler;
70
- exports.MultiLayerCompiler_default = MultiLayerCompiler_default;
71
- //# sourceMappingURL=chunk-XH7SE4HH.cjs.map
72
- //# sourceMappingURL=chunk-XH7SE4HH.cjs.map
71
+ //# sourceMappingURL=chunk-ZP4D3CSX.cjs.map
72
+ //# sourceMappingURL=chunk-ZP4D3CSX.cjs.map
@@ -1,16 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var chunkA6GO3DPZ_cjs = require('../chunk-A6GO3DPZ.cjs');
5
- var chunkL3Z2HIWJ_cjs = require('../chunk-L3Z2HIWJ.cjs');
4
+ var chunkG7CT3EMP_cjs = require('../chunk-G7CT3EMP.cjs');
5
+ var chunkTQSZUOW5_cjs = require('../chunk-TQSZUOW5.cjs');
6
6
  var chunkCLYEIWA5_cjs = require('../chunk-CLYEIWA5.cjs');
7
- var chunkH6WMMLQK_cjs = require('../chunk-H6WMMLQK.cjs');
8
- require('../chunk-HAN4V3PF.cjs');
9
- require('../chunk-UITWA6DV.cjs');
10
- require('../chunk-SPDELRRV.cjs');
11
- require('../chunk-V2ILLPHK.cjs');
12
- require('../chunk-ARNKA274.cjs');
13
- require('../chunk-EGIZHYJP.cjs');
7
+ var chunkLZ266PCM_cjs = require('../chunk-LZ266PCM.cjs');
8
+ require('../chunk-GVUR45UF.cjs');
9
+ require('../chunk-XG23EUQX.cjs');
10
+ require('../chunk-KCQ5NDYC.cjs');
11
+ require('../chunk-PMGODDJA.cjs');
12
+ require('../chunk-MD6KDHVE.cjs');
13
+ require('../chunk-CAUCGUEA.cjs');
14
+ require('../chunk-3SAK5KFL.cjs');
14
15
  require('dotenv/config');
15
16
  var fs = require('fs');
16
17
  var path = require('path');
@@ -692,7 +693,7 @@ async function runScript(opts) {
692
693
  const source = fs__namespace.readFileSync(filePath, "utf-8");
693
694
  const ext = path__namespace.extname(filePath);
694
695
  console.log(`[holoscript] Running ${path__namespace.basename(filePath)} (target: ${opts.target})`);
695
- const parseResult = chunkH6WMMLQK_cjs.parse(source);
696
+ const parseResult = chunkLZ266PCM_cjs.parse(source);
696
697
  const ast = parseResult.ast;
697
698
  if (opts.debug) {
698
699
  console.log(`[holoscript] Parsed ${ast.body?.length || 0} top-level nodes`);
@@ -705,7 +706,7 @@ async function runScript(opts) {
705
706
  debug: opts.debug,
706
707
  hostCapabilities: createNodeHostCapabilities(path__namespace.dirname(filePath))
707
708
  });
708
- chunkA6GO3DPZ_cjs.registerStdlib(
709
+ chunkG7CT3EMP_cjs.registerStdlib(
709
710
  runtime$1,
710
711
  {
711
712
  policy: {
@@ -743,7 +744,7 @@ async function runScript(opts) {
743
744
  );
744
745
  if (opts.watch) {
745
746
  console.log(`[holoscript] Watching for changes... (Ctrl+C to stop)`);
746
- const watcher = new chunkL3Z2HIWJ_cjs.HotReloadWatcher({
747
+ const watcher = new chunkTQSZUOW5_cjs.HotReloadWatcher({
747
748
  watchPaths: [path__namespace.dirname(filePath)],
748
749
  extensions: [".hs", ".hsplus", ".holo"],
749
750
  debounceMs: 300,
@@ -755,7 +756,7 @@ async function runScript(opts) {
755
756
  console.log(`[holoscript] Re-running ${path__namespace.basename(filePath)}...`);
756
757
  try {
757
758
  const newSource = fs__namespace.readFileSync(filePath, "utf-8");
758
- const newParseResult = chunkH6WMMLQK_cjs.parse(newSource);
759
+ const newParseResult = chunkLZ266PCM_cjs.parse(newSource);
759
760
  const newAst = newParseResult.ast;
760
761
  const newRuntime = runtime.createHeadlessRuntime(newAst, {
761
762
  profile: opts.profile === "headless" ? runtime.HEADLESS_PROFILE : runtime.getProfile(opts.profile),
@@ -791,21 +792,21 @@ async function testScript(opts) {
791
792
  }
792
793
  const source = fs__namespace.readFileSync(filePath, "utf-8");
793
794
  console.log(`[holoscript test] Running tests in ${path__namespace.basename(filePath)}`);
794
- const parseResult = chunkH6WMMLQK_cjs.parse(source);
795
+ const parseResult = chunkLZ266PCM_cjs.parse(source);
795
796
  const ast = parseResult.ast;
796
797
  const profile = runtime.HEADLESS_PROFILE;
797
798
  const runtime$1 = runtime.createHeadlessRuntime(ast, { profile, tickRate: 10, debug: opts.debug });
798
799
  runtime$1.start();
799
800
  for (let i = 0; i < 50; i++) runtime$1.tick();
800
- const runner = new chunkL3Z2HIWJ_cjs.ScriptTestRunner({
801
+ const runner = new chunkTQSZUOW5_cjs.ScriptTestRunner({
801
802
  debug: opts.debug,
802
803
  runtimeState: runtime$1.getState()
803
804
  });
804
805
  const scriptResults = runner.runTestsFromSource(source, filePath);
805
806
  const runtimeState = runtime$1.getState();
806
- const compositionState = Object.keys(runtimeState).length > 0 ? runtimeState : chunkA6GO3DPZ_cjs.CompositionTestRunner.extractStateFromSource(source);
807
- const computedDefs = chunkA6GO3DPZ_cjs.CompositionTestRunner.extractComputedFromSource(source);
808
- const compositionRunner = new chunkA6GO3DPZ_cjs.CompositionTestRunner(compositionState, computedDefs, {
807
+ const compositionState = Object.keys(runtimeState).length > 0 ? runtimeState : chunkG7CT3EMP_cjs.CompositionTestRunner.extractStateFromSource(source);
808
+ const computedDefs = chunkG7CT3EMP_cjs.CompositionTestRunner.extractComputedFromSource(source);
809
+ const compositionRunner = new chunkG7CT3EMP_cjs.CompositionTestRunner(compositionState, computedDefs, {
809
810
  debug: opts.debug
810
811
  });
811
812
  const compositionResults = compositionRunner.runTestsFromSource(source);
@@ -868,7 +869,7 @@ function compileScript(opts) {
868
869
  }
869
870
  console.log(`[holoscript compile] @gotcha check passed (no critical violations)`);
870
871
  }
871
- const compileResult = chunkH6WMMLQK_cjs.parse(source);
872
+ const compileResult = chunkLZ266PCM_cjs.parse(source);
872
873
  if (!compileResult.success) {
873
874
  console.error(`[holoscript compile] Failed to parse: ${compileResult.errors?.[0]?.message}`);
874
875
  process.exit(1);
@@ -947,7 +948,7 @@ async function deployScript(opts) {
947
948
  const fileName = path__namespace.basename(filePath);
948
949
  const title = path__namespace.basename(filePath, path__namespace.extname(filePath));
949
950
  console.log(`Parsing ${fileName}...`);
950
- const ast = chunkH6WMMLQK_cjs.parse(source);
951
+ const ast = chunkLZ266PCM_cjs.parse(source);
951
952
  if (ast.errors && ast.errors.length > 0) {
952
953
  console.error("Parse errors:");
953
954
  for (const err of ast.errors) {
@@ -956,7 +957,7 @@ async function deployScript(opts) {
956
957
  process.exit(1);
957
958
  }
958
959
  const license = opts.license || "free";
959
- const provenance = chunkA6GO3DPZ_cjs.generateProvenance(source, ast, {
960
+ const provenance = chunkG7CT3EMP_cjs.generateProvenance(source, ast, {
960
961
  author: opts.author || "anonymous",
961
962
  license
962
963
  });
@@ -968,7 +969,7 @@ async function deployScript(opts) {
968
969
  path: imp.path,
969
970
  license: "free"
970
971
  }));
971
- const licenseCheck = chunkA6GO3DPZ_cjs.checkLicenseCompatibility(license, importedLicenses);
972
+ const licenseCheck = chunkG7CT3EMP_cjs.checkLicenseCompatibility(license, importedLicenses);
972
973
  if (licenseCheck.warnings.length > 0) {
973
974
  for (const w of licenseCheck.warnings) {
974
975
  console.log(` Warning: ${w}`);
@@ -987,20 +988,20 @@ async function deployScript(opts) {
987
988
  }
988
989
  const serverUrl = opts.serverUrl.replace(/\/$/, "");
989
990
  if (opts.publish) {
990
- const priceWei = chunkA6GO3DPZ_cjs.ethToWei(opts.price || "0");
991
+ const priceWei = chunkG7CT3EMP_cjs.ethToWei(opts.price || "0");
991
992
  const importChain = provenance.imports.map((imp, i) => ({
992
993
  contentHash: imp.hash || `import-${i}`,
993
994
  author: imp.author || imp.path,
994
995
  depth: 1,
995
996
  children: []
996
997
  }));
997
- const revenuePreview = chunkA6GO3DPZ_cjs.calculateRevenueDistribution(
998
+ const revenuePreview = chunkG7CT3EMP_cjs.calculateRevenueDistribution(
998
999
  priceWei,
999
1000
  provenance.author || "anonymous",
1000
1001
  importChain
1001
1002
  );
1002
1003
  console.log("\nRevenue distribution:");
1003
- for (const line of chunkA6GO3DPZ_cjs.formatRevenueDistribution(revenuePreview)) {
1004
+ for (const line of chunkG7CT3EMP_cjs.formatRevenueDistribution(revenuePreview)) {
1004
1005
  console.log(` ${line}`);
1005
1006
  }
1006
1007
  console.log(`
@@ -1039,7 +1040,7 @@ Publishing to protocol at ${serverUrl}...`);
1039
1040
  license: provenance.license,
1040
1041
  publishMode: provenance.publishMode,
1041
1042
  price: opts.price || "0",
1042
- referralBps: chunkA6GO3DPZ_cjs.PROTOCOL_CONSTANTS.DEFAULT_REFERRAL_BPS,
1043
+ referralBps: chunkG7CT3EMP_cjs.PROTOCOL_CONSTANTS.DEFAULT_REFERRAL_BPS,
1043
1044
  metadataURI: `${serverUrl}/metadata/${provenance.hash}`,
1044
1045
  mintAsNFT: opts.mintNft,
1045
1046
  // Include scene data for CDN deploy
@@ -1167,7 +1168,7 @@ function absorbScript(opts) {
1167
1168
  console.log(
1168
1169
  `[holoscript absorb] ${path__namespace.basename(filePath)} (${language}) \u2192 ${path__namespace.basename(outputPath)}`
1169
1170
  );
1170
- const processor = new chunkL3Z2HIWJ_cjs.AbsorbProcessor();
1171
+ const processor = new chunkTQSZUOW5_cjs.AbsorbProcessor();
1171
1172
  const result = processor.absorb({ language, filePath, content });
1172
1173
  fs__namespace.writeFileSync(outputPath, result.generatedHSPlus, "utf-8");
1173
1174
  console.log(`[holoscript absorb] Extracted:`);
@@ -1309,7 +1310,7 @@ async function daemonScript(opts) {
1309
1310
  const { createDaemonActions, getDaemonFileState } = await import('@holoscript/absorb-service/daemon');
1310
1311
  const repoRoot = findGitRoot(path__namespace.dirname(filePath));
1311
1312
  const source = fs__namespace.readFileSync(filePath, "utf-8");
1312
- const parseResult = chunkH6WMMLQK_cjs.parse(source);
1313
+ const parseResult = chunkLZ266PCM_cjs.parse(source);
1313
1314
  if (!parseResult.success || !parseResult.ast) {
1314
1315
  const errors = parseResult.errors?.map((e) => e.message).join(", ") || "unknown";
1315
1316
  console.error(`[daemon] Parse failed: ${errors}`);
@@ -1854,13 +1855,13 @@ async function holoMeshDaemonScript(opts) {
1854
1855
  console.error(`Error: File not found: ${filePath}`);
1855
1856
  process.exit(1);
1856
1857
  }
1857
- if (!process.env.MCP_API_KEY) {
1858
- console.error("[holomesh-daemon] MCP_API_KEY environment variable is required");
1858
+ if (!process.env.HOLOSCRIPT_API_KEY) {
1859
+ console.error("[holomesh-daemon] HOLOSCRIPT_API_KEY environment variable is required");
1859
1860
  process.exit(1);
1860
1861
  }
1861
1862
  const rawSource = fs__namespace.readFileSync(filePath, "utf-8");
1862
1863
  const source = rawSource.replace(/^#(version|target|mode)\s+.*/gm, "");
1863
- const parseResult = chunkH6WMMLQK_cjs.parse(source);
1864
+ const parseResult = chunkLZ266PCM_cjs.parse(source);
1864
1865
  if (!parseResult.success || !parseResult.ast) {
1865
1866
  const errors = parseResult.errors?.map((e) => e.message).join(", ") || "unknown";
1866
1867
  console.error(`[holomesh-daemon] Parse failed: ${errors}`);
@@ -1927,7 +1928,7 @@ async function holoMeshDaemonScript(opts) {
1927
1928
  }
1928
1929
  const meshConfig = {
1929
1930
  orchestratorUrl: process.env.MCP_ORCHESTRATOR_URL || "https://mcp-orchestrator-production-45f9.up.railway.app",
1930
- apiKey: process.env.MCP_API_KEY,
1931
+ apiKey: process.env.HOLOSCRIPT_API_KEY,
1931
1932
  workspace: process.env.HOLOMESH_WORKSPACE || "ai-ecosystem",
1932
1933
  agentName: process.env.HOLOMESH_AGENT_NAME || "holomesh-agent",
1933
1934
  discoveryIntervalMs: 5 * 60 * 1e3,
@@ -1,14 +1,15 @@
1
1
  #!/usr/bin/env node
2
- import { generateProvenance, checkLicenseCompatibility, ethToWei, calculateRevenueDistribution, formatRevenueDistribution, PROTOCOL_CONSTANTS, CompositionTestRunner, registerStdlib } from '../chunk-AW7WAELW.js';
3
- import { AbsorbProcessor, ScriptTestRunner, HotReloadWatcher } from '../chunk-GC3YU46J.js';
2
+ import { generateProvenance, checkLicenseCompatibility, ethToWei, calculateRevenueDistribution, formatRevenueDistribution, PROTOCOL_CONSTANTS, CompositionTestRunner, registerStdlib } from '../chunk-DMG7C4H2.js';
3
+ import { AbsorbProcessor, ScriptTestRunner, HotReloadWatcher } from '../chunk-EONILVMF.js';
4
4
  import { InteropContext } from '../chunk-FF3Q7ADR.js';
5
- import { parse } from '../chunk-CMYAWUX3.js';
6
- import '../chunk-DXVCEFZB.js';
7
- import '../chunk-H7XMORZI.js';
8
- import '../chunk-26TLYBFD.js';
9
- import '../chunk-SUCBB66F.js';
10
- import '../chunk-XNMEH2BI.js';
11
- import '../chunk-32TWR3HE.js';
5
+ import { parse } from '../chunk-V3NN3HPP.js';
6
+ import '../chunk-MPXBVFHQ.js';
7
+ import '../chunk-NDQNIJEH.js';
8
+ import '../chunk-IFNQFCTM.js';
9
+ import '../chunk-HPS76H7Q.js';
10
+ import '../chunk-WB4Z63GG.js';
11
+ import '../chunk-XUTX5CBW.js';
12
+ import '../chunk-2CWOLHTE.js';
12
13
  import 'dotenv/config';
13
14
  import * as fs from 'fs';
14
15
  import * as path from 'path';
@@ -1830,8 +1831,8 @@ async function holoMeshDaemonScript(opts) {
1830
1831
  console.error(`Error: File not found: ${filePath}`);
1831
1832
  process.exit(1);
1832
1833
  }
1833
- if (!process.env.MCP_API_KEY) {
1834
- console.error("[holomesh-daemon] MCP_API_KEY environment variable is required");
1834
+ if (!process.env.HOLOSCRIPT_API_KEY) {
1835
+ console.error("[holomesh-daemon] HOLOSCRIPT_API_KEY environment variable is required");
1835
1836
  process.exit(1);
1836
1837
  }
1837
1838
  const rawSource = fs.readFileSync(filePath, "utf-8");
@@ -1903,7 +1904,7 @@ async function holoMeshDaemonScript(opts) {
1903
1904
  }
1904
1905
  const meshConfig = {
1905
1906
  orchestratorUrl: process.env.MCP_ORCHESTRATOR_URL || "https://mcp-orchestrator-production-45f9.up.railway.app",
1906
- apiKey: process.env.MCP_API_KEY,
1907
+ apiKey: process.env.HOLOSCRIPT_API_KEY,
1907
1908
  workspace: process.env.HOLOMESH_WORKSPACE || "ai-ecosystem",
1908
1909
  agentName: process.env.HOLOMESH_AGENT_NAME || "holomesh-agent",
1909
1910
  discoveryIntervalMs: 5 * 60 * 1e3,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- require('../chunk-EGIZHYJP.cjs');
3
+ require('../chunk-3SAK5KFL.cjs');
4
4
  var crypto = require('crypto');
5
5
 
6
6
  var DEFAULT_CONFIG = {
@@ -0,0 +1,25 @@
1
+ // @holoscript/core/codebase — local dedup + god-file detection utilities
2
+ export declare class DedupFilter {
3
+ constructor(config?: { hashFn?: (item: unknown) => string; [key: string]: unknown });
4
+ add(item: unknown): boolean;
5
+ has(item: unknown): boolean;
6
+ report(): { duplicates: unknown[]; removals: unknown[] };
7
+ [key: string]: unknown;
8
+ }
9
+ export declare function createDedupFilter(config?: unknown): DedupFilter;
10
+ export declare class GodFileDetector {
11
+ constructor(thresholds?: unknown);
12
+ analyze(path: string, content: string): unknown;
13
+ [key: string]: unknown;
14
+ }
15
+ export declare function createGodFileDetector(thresholds?: unknown): GodFileDetector;
16
+ export type Dedupable = unknown;
17
+ export type DedupReport = { duplicates: unknown[]; removals: unknown[] };
18
+ export type DedupRemoval = unknown;
19
+ export type DedupConfig = unknown;
20
+ export type FileMetrics = unknown;
21
+ export type GodFileClassification = unknown;
22
+ export type GodFileReport = unknown;
23
+ export type VirtualSplitPlan = unknown;
24
+ export type SplitSegment = unknown;
25
+ export type GodFileThresholds = unknown;
@@ -1,4 +1,4 @@
1
- import '../chunk-32TWR3HE.js';
1
+ import '../chunk-2CWOLHTE.js';
2
2
  import { createHash } from 'crypto';
3
3
 
4
4
  var DEFAULT_CONFIG = {
@@ -2,28 +2,27 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkX4YVN7H3_cjs = require('../chunk-X4YVN7H3.cjs');
6
- require('../chunk-QHVVVN47.cjs');
7
- require('../chunk-AIUXRS74.cjs');
8
- require('../chunk-EGIZHYJP.cjs');
5
+ var chunk72EQECGT_cjs = require('../chunk-72EQECGT.cjs');
6
+ require('../chunk-BF2235SI.cjs');
7
+ require('../chunk-3SAK5KFL.cjs');
9
8
 
10
9
 
11
10
 
12
11
  Object.defineProperty(exports, "AgentInferenceCompiler", {
13
12
  enumerable: true,
14
- get: function () { return chunkX4YVN7H3_cjs.AgentInferenceCompiler; }
13
+ get: function () { return chunk72EQECGT_cjs.AgentInferenceCompiler; }
15
14
  });
16
15
  Object.defineProperty(exports, "createAgentInferenceCompiler", {
17
16
  enumerable: true,
18
- get: function () { return chunkX4YVN7H3_cjs.createAgentInferenceCompiler; }
17
+ get: function () { return chunk72EQECGT_cjs.createAgentInferenceCompiler; }
19
18
  });
20
19
  Object.defineProperty(exports, "createPythonAgentInferenceCompiler", {
21
20
  enumerable: true,
22
- get: function () { return chunkX4YVN7H3_cjs.createPythonAgentInferenceCompiler; }
21
+ get: function () { return chunk72EQECGT_cjs.createPythonAgentInferenceCompiler; }
23
22
  });
24
23
  Object.defineProperty(exports, "default", {
25
24
  enumerable: true,
26
- get: function () { return chunkX4YVN7H3_cjs.AgentInferenceExportTarget_default; }
25
+ get: function () { return chunk72EQECGT_cjs.AgentInferenceExportTarget_default; }
27
26
  });
28
27
  //# sourceMappingURL=agent-inference.cjs.map
29
28
  //# sourceMappingURL=agent-inference.cjs.map
@@ -1,6 +1,5 @@
1
- export { AgentInferenceCompiler, createAgentInferenceCompiler, createPythonAgentInferenceCompiler, AgentInferenceExportTarget_default as default } from '../chunk-CNVM7J3M.js';
2
- import '../chunk-QWKUKVRE.js';
3
- import '../chunk-V42NTCFH.js';
4
- import '../chunk-32TWR3HE.js';
1
+ export { AgentInferenceCompiler, createAgentInferenceCompiler, createPythonAgentInferenceCompiler, AgentInferenceExportTarget_default as default } from '../chunk-XD6IYDUX.js';
2
+ import '../chunk-6XSERL6L.js';
3
+ import '../chunk-2CWOLHTE.js';
5
4
  //# sourceMappingURL=agent-inference.js.map
6
5
  //# sourceMappingURL=agent-inference.js.map
@@ -1,20 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkPJMOXFPR_cjs = require('../chunk-PJMOXFPR.cjs');
4
- require('../chunk-HHS6FMOU.cjs');
5
- require('../chunk-QHVVVN47.cjs');
6
- require('../chunk-AIUXRS74.cjs');
7
- require('../chunk-EGIZHYJP.cjs');
3
+ var chunk4XSNJCLC_cjs = require('../chunk-4XSNJCLC.cjs');
4
+ require('../chunk-LXJ4667L.cjs');
5
+ require('../chunk-BF2235SI.cjs');
6
+ require('../chunk-3SAK5KFL.cjs');
8
7
 
9
- chunkPJMOXFPR_cjs.init_AndroidXRCompiler();
8
+ chunk4XSNJCLC_cjs.init_AndroidXRCompiler();
10
9
 
11
10
  Object.defineProperty(exports, "AndroidXRCompiler", {
12
11
  enumerable: true,
13
- get: function () { return chunkPJMOXFPR_cjs.AndroidXRCompiler; }
12
+ get: function () { return chunk4XSNJCLC_cjs.AndroidXRCompiler; }
14
13
  });
15
14
  Object.defineProperty(exports, "compileToAndroidXR", {
16
15
  enumerable: true,
17
- get: function () { return chunkPJMOXFPR_cjs.compileToAndroidXR; }
16
+ get: function () { return chunk4XSNJCLC_cjs.compileToAndroidXR; }
18
17
  });
19
18
  //# sourceMappingURL=android-xr.cjs.map
20
19
  //# sourceMappingURL=android-xr.cjs.map
@@ -1,9 +1,8 @@
1
- import { init_AndroidXRCompiler } from '../chunk-MWEFR6YQ.js';
2
- export { AndroidXRCompiler, compileToAndroidXR } from '../chunk-MWEFR6YQ.js';
3
- import '../chunk-KDB6BUMB.js';
4
- import '../chunk-QWKUKVRE.js';
5
- import '../chunk-V42NTCFH.js';
6
- import '../chunk-32TWR3HE.js';
1
+ import { init_AndroidXRCompiler } from '../chunk-S2N5TNMA.js';
2
+ export { AndroidXRCompiler, compileToAndroidXR } from '../chunk-S2N5TNMA.js';
3
+ import '../chunk-YQK5JNFK.js';
4
+ import '../chunk-6XSERL6L.js';
5
+ import '../chunk-2CWOLHTE.js';
7
6
 
8
7
  init_AndroidXRCompiler();
9
8
  //# sourceMappingURL=android-xr.js.map
@@ -1,21 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkWUXIRGZP_cjs = require('../chunk-WUXIRGZP.cjs');
4
- require('../chunk-QHVVVN47.cjs');
5
- require('../chunk-AIUXRS74.cjs');
6
- require('../chunk-SPDELRRV.cjs');
7
- require('../chunk-ARNKA274.cjs');
8
- require('../chunk-EGIZHYJP.cjs');
3
+ var chunkNCUKG4SK_cjs = require('../chunk-NCUKG4SK.cjs');
4
+ require('../chunk-PMGODDJA.cjs');
5
+ require('../chunk-CAUCGUEA.cjs');
6
+ require('../chunk-BF2235SI.cjs');
7
+ require('../chunk-3SAK5KFL.cjs');
9
8
 
10
- chunkWUXIRGZP_cjs.init_AndroidCompiler();
9
+ chunkNCUKG4SK_cjs.init_AndroidCompiler();
11
10
 
12
11
  Object.defineProperty(exports, "AndroidCompiler", {
13
12
  enumerable: true,
14
- get: function () { return chunkWUXIRGZP_cjs.AndroidCompiler; }
13
+ get: function () { return chunkNCUKG4SK_cjs.AndroidCompiler; }
15
14
  });
16
15
  Object.defineProperty(exports, "compileToAndroid", {
17
16
  enumerable: true,
18
- get: function () { return chunkWUXIRGZP_cjs.compileToAndroid; }
17
+ get: function () { return chunkNCUKG4SK_cjs.compileToAndroid; }
19
18
  });
20
19
  //# sourceMappingURL=android.cjs.map
21
20
  //# sourceMappingURL=android.cjs.map