@holoscript/core 8.0.6 → 8.0.8

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 (248) hide show
  1. package/README.md +34 -34
  2. package/bin/holoscript.cjs +1 -1
  3. package/dist/GLTFPipeline-3EJLL3TS.cjs +38 -0
  4. package/dist/GLTFPipeline-3OWJV2VK.js +17 -0
  5. package/dist/{HoloScriptPlusParser-A2W7OCN2.cjs → HoloScriptPlusParser-ADWRY5OS.cjs} +15 -15
  6. package/dist/{HoloScriptPlusParser-7FBIFUFC.js → HoloScriptPlusParser-JLJDXHSC.js} +4 -4
  7. package/dist/HoloScriptPlusParser-QCGFPWIL.cjs +27 -0
  8. package/dist/{HoloScriptPlusParser-F2Z56FJR.js → HoloScriptPlusParser-WENAFEFV.js} +5 -5
  9. package/dist/HoloScriptRuntime-GGRVEU4T.cjs +19 -0
  10. package/dist/HoloScriptRuntime-GJK6VJPH.js +10 -0
  11. package/dist/{USDZExporter-3FWJ25JI.cjs → USDZExporter-AUHZODOF.cjs} +15 -4
  12. package/dist/{USDZExporter-D2HQLQYK.js → USDZExporter-GXB4AUSG.js} +15 -4
  13. package/dist/{chunk-2GQHTXOK.js → chunk-22Q5A6RV.js} +3 -3
  14. package/dist/{chunk-XHZCF3AS.cjs → chunk-2BZHWUSR.cjs} +27 -15
  15. package/dist/{chunk-XJAN7CZG.cjs → chunk-2GCNOI2U.cjs} +2 -2
  16. package/dist/{chunk-DBPGNHFS.js → chunk-2OWDB4FB.js} +13 -25
  17. package/dist/{chunk-N75IH2HY.js → chunk-2Y3V22SG.js} +5 -14
  18. package/dist/{chunk-MXFUTKCO.js → chunk-33YHE7HX.js} +3 -7
  19. package/dist/{chunk-RCZHLCX2.js → chunk-3GWWJT7L.js} +4 -4
  20. package/dist/{chunk-EK7L4DW7.js → chunk-3NGDZZR4.js} +4 -4
  21. package/dist/{chunk-WRLUBRKS.cjs → chunk-3SKLAUDD.cjs} +2 -2
  22. package/dist/{chunk-KKFZ3B6J.cjs → chunk-3VBO3IYQ.cjs} +2 -2
  23. package/dist/{chunk-YF2I3MV3.js → chunk-47RUFYKR.js} +2 -2
  24. package/dist/{chunk-VHAONJBY.js → chunk-4JGRWHZJ.js} +7 -5
  25. package/dist/{chunk-2J5WZLF5.cjs → chunk-4W5G5QVL.cjs} +26 -26
  26. package/dist/{chunk-GQHQOPXZ.cjs → chunk-4YNYPHH3.cjs} +186 -17
  27. package/dist/{chunk-H5PUZHJV.cjs → chunk-56VOWURB.cjs} +61 -40
  28. package/dist/{chunk-DQRQZB33.cjs → chunk-5A4TCHOC.cjs} +3 -3
  29. package/dist/{chunk-M56JSP4A.js → chunk-5EDVCNRT.js} +2 -2
  30. package/dist/{chunk-YU5RJQPE.js → chunk-5ET6L4NS.js} +3 -3
  31. package/dist/{chunk-A3GFOZAF.cjs → chunk-63ZGNR2T.cjs} +43 -39
  32. package/dist/{chunk-NG77ATEW.cjs → chunk-6PRZIHGL.cjs} +6 -6
  33. package/dist/{chunk-OXGPGQXN.cjs → chunk-7DMMMBCY.cjs} +7 -7
  34. package/dist/{chunk-FHP6LXJS.js → chunk-7E7GCQCK.js} +2 -2
  35. package/dist/{chunk-P4AIF7OQ.js → chunk-7VMGP2FW.js} +44 -28
  36. package/dist/{chunk-7MVLEZB2.js → chunk-7X5PNIQJ.js} +3 -3
  37. package/dist/{chunk-X7QB5PL5.cjs → chunk-7ZHYEITD.cjs} +11 -11
  38. package/dist/{chunk-KPJL34Y7.cjs → chunk-ACVWFGBI.cjs} +2 -2
  39. package/dist/{chunk-QWSB553J.cjs → chunk-AWB7QYY6.cjs} +6 -6
  40. package/dist/{chunk-VATGR4EM.js → chunk-B4EKV6HQ.js} +61 -40
  41. package/dist/{chunk-HBEN5TQR.js → chunk-BRNUPDHJ.js} +5 -5
  42. package/dist/{chunk-F63LYRVE.js → chunk-BTKZGHAV.js} +23 -11
  43. package/dist/{chunk-YTR32ZEB.cjs → chunk-C4GSLCHE.cjs} +300 -125
  44. package/dist/{chunk-CXS3DUKD.js → chunk-C7ZBSV2Q.js} +3 -3
  45. package/dist/{chunk-WOH6LKYT.cjs → chunk-CCPSNT6B.cjs} +12 -7
  46. package/dist/{chunk-NW5G5FBQ.js → chunk-DD2JQ7TS.js} +4 -3
  47. package/dist/{chunk-JD7CIZ33.js → chunk-DUCB6LGL.js} +8 -10
  48. package/dist/{chunk-D63CGNJU.js → chunk-DY72BMU5.js} +3 -3
  49. package/dist/{chunk-AIA52I7T.cjs → chunk-EBS32AJI.cjs} +6 -4
  50. package/dist/{chunk-DCE3LDO3.cjs → chunk-EDPYCLRC.cjs} +52 -62
  51. package/dist/{chunk-NDUX553L.js → chunk-F2G6CWFT.js} +240 -65
  52. package/dist/{chunk-X7LYK5TX.cjs → chunk-F5LKJ6F5.cjs} +43 -31
  53. package/dist/{chunk-LAUFLPB6.js → chunk-FGMDMJM7.js} +10 -5
  54. package/dist/{chunk-P52PPB5R.js → chunk-FHQFPYV4.js} +4 -4
  55. package/dist/{chunk-YIMN575O.js → chunk-FNHJRI32.js} +8 -5
  56. package/dist/{chunk-EXUP2BUM.cjs → chunk-FT6TDR2O.cjs} +27 -27
  57. package/dist/{chunk-BRQJKJGT.cjs → chunk-FWVYAMNW.cjs} +4 -4
  58. package/dist/{chunk-PGANYCAG.cjs → chunk-G25QVBA5.cjs} +4 -3
  59. package/dist/{chunk-5BLWXOIP.cjs → chunk-G6PNEASF.cjs} +13 -13
  60. package/dist/{chunk-2BSMSUCE.js → chunk-GASCWJK5.js} +2 -2
  61. package/dist/{chunk-2VL6SJ33.cjs → chunk-GH6C2QGW.cjs} +12 -21
  62. package/dist/{chunk-JEB5UU3E.js → chunk-GSOUNWEL.js} +35 -27
  63. package/dist/{chunk-QPOQ7VPI.js → chunk-GTA4Q3A3.js} +2 -2
  64. package/dist/{chunk-JIYN45TV.cjs → chunk-GVFJ6T4S.cjs} +3 -7
  65. package/dist/{chunk-IVY74O6C.js → chunk-GVOKJNUN.js} +50 -11
  66. package/dist/{chunk-GZG4KA4E.js → chunk-GW3LKD5C.js} +6 -4
  67. package/dist/{chunk-IBXT6UP3.cjs → chunk-HFSVMKM3.cjs} +14 -14
  68. package/dist/{chunk-E767PVC6.cjs → chunk-HLFDZ35S.cjs} +5 -5
  69. package/dist/{chunk-ZXZ2AL2J.cjs → chunk-I76GIKN7.cjs} +20 -16
  70. package/dist/{chunk-4FDL7JLJ.cjs → chunk-KAIVDEIG.cjs} +145 -60
  71. package/dist/{chunk-X4EBCG4K.js → chunk-KCPHASCO.js} +18 -6
  72. package/dist/{chunk-T5J7ZKP3.cjs → chunk-KOUAQL2B.cjs} +16 -13
  73. package/dist/{chunk-GMP623FG.cjs → chunk-KQU64CIX.cjs} +2 -2
  74. package/dist/{chunk-4DO425P5.js → chunk-L5U4W6JC.js} +4 -4
  75. package/dist/{chunk-HBLKLLG5.cjs → chunk-LMJ5EBV7.cjs} +10 -10
  76. package/dist/{chunk-QWAR3GY6.cjs → chunk-LODTHGST.cjs} +8 -8
  77. package/dist/{chunk-TFUMBR7G.cjs → chunk-LPS5AMQD.cjs} +8 -8
  78. package/dist/{chunk-ISG3TQ2O.js → chunk-LWUOUCYL.js} +9 -5
  79. package/dist/{chunk-6CTRH7HT.cjs → chunk-LYJJI7ZK.cjs} +12 -14
  80. package/dist/{chunk-GTU2Z2WW.cjs → chunk-M7K4LE66.cjs} +5 -14
  81. package/dist/{chunk-URG2SJLK.js → chunk-MDR235RZ.js} +3 -7
  82. package/dist/{chunk-ULXWSPCK.js → chunk-MSYSQ2AJ.js} +101 -16
  83. package/dist/{chunk-TCBJMNXS.cjs → chunk-NGBXXZLL.cjs} +50 -62
  84. package/dist/{chunk-RXU4PQKA.js → chunk-NHJLP37F.js} +6 -6
  85. package/dist/{chunk-NTGBEMYL.cjs → chunk-NHYRRAGI.cjs} +5 -5
  86. package/dist/{chunk-YG3OAHJZ.cjs → chunk-O3MGZDCT.cjs} +89 -52
  87. package/dist/{chunk-GIOYPNTH.js → chunk-OABEO6HH.js} +185 -16
  88. package/dist/{chunk-N5YOAFNA.cjs → chunk-OS533P33.cjs} +37 -29
  89. package/dist/{chunk-IIUFMUTV.js → chunk-PABONWKI.js} +24 -11
  90. package/dist/{chunk-5BQIJG3O.js → chunk-PXNZ6TME.js} +47 -57
  91. package/dist/{chunk-KDZRD6EI.js → chunk-Q2Q34NF3.js} +63 -26
  92. package/dist/{chunk-IS4AEGLU.js → chunk-QBWNJXNR.js} +10 -6
  93. package/dist/{chunk-5IHG2LGT.js → chunk-QFU53KRH.js} +4 -4
  94. package/dist/{chunk-NTJZJ5IP.cjs → chunk-QGMUTVVH.cjs} +17 -17
  95. package/dist/{chunk-MYY4PMWX.cjs → chunk-RUVBFAF7.cjs} +50 -11
  96. package/dist/{chunk-E64LOLJU.js → chunk-S762UEV5.js} +5 -5
  97. package/dist/{chunk-3SBVODUP.cjs → chunk-SH5PPVK7.cjs} +61 -45
  98. package/dist/{chunk-LY4DMQOW.cjs → chunk-SKZPC5AG.cjs} +5 -5
  99. package/dist/{chunk-TJHVSBP2.js → chunk-SLHLXUMO.js} +10 -4
  100. package/dist/{chunk-S6OVFUXD.js → chunk-SSSN7VAM.js} +3 -3
  101. package/dist/{chunk-K5UGRXKR.js → chunk-SXOSDZD6.js} +6 -6
  102. package/dist/{chunk-J32ZJZJH.js → chunk-SYTRBGDS.js} +2 -2
  103. package/dist/{chunk-CIWWXYHZ.cjs → chunk-T6W3Z3SH.cjs} +2 -2
  104. package/dist/{chunk-U36W76U7.js → chunk-TEVX443G.js} +44 -51
  105. package/dist/{chunk-6DOKCECB.cjs → chunk-TQ377OLB.cjs} +23 -21
  106. package/dist/{chunk-YAPPQYJH.cjs → chunk-TRCGG42I.cjs} +195 -152
  107. package/dist/{chunk-H652NHX5.js → chunk-TVANHNJ7.js} +30 -23
  108. package/dist/{chunk-EKBKLK7P.js → chunk-UDE4OZMR.js} +3 -3
  109. package/dist/{chunk-3OIZJNVT.cjs → chunk-UGXHYIWT.cjs} +5 -5
  110. package/dist/{chunk-44GM3P4G.cjs → chunk-ULMSSHCJ.cjs} +21 -21
  111. package/dist/{chunk-3B5NVDHJ.cjs → chunk-UOL6Y5TD.cjs} +18 -18
  112. package/dist/{chunk-5S7RKFGR.cjs → chunk-UVFI7XIR.cjs} +10 -4
  113. package/dist/{chunk-5TIZXMED.cjs → chunk-V7AKE5VT.cjs} +10 -10
  114. package/dist/{chunk-3B7AY37W.js → chunk-VEPGBETF.js} +6 -6
  115. package/dist/{chunk-BKCK3IU6.js → chunk-VF257YKO.js} +4 -4
  116. package/dist/{chunk-4N4SXXWF.js → chunk-VSACG2AR.js} +3 -3
  117. package/dist/{chunk-ZDSYWBIE.cjs → chunk-VW5CRJBE.cjs} +3 -7
  118. package/dist/{chunk-PVWNU4QT.cjs → chunk-WFKVS2K4.cjs} +64 -26
  119. package/dist/{chunk-TDCJ7YPA.js → chunk-WXQ57LAO.js} +3 -3
  120. package/dist/{chunk-NE5CZ2NC.cjs → chunk-X27QRG4C.cjs} +38 -38
  121. package/dist/{chunk-TVHSPJ4N.cjs → chunk-X2AVEAZM.cjs} +30 -23
  122. package/dist/{chunk-C34AJIJO.js → chunk-XQ5MWMP2.js} +4 -4
  123. package/dist/{chunk-TFWYKOOB.cjs → chunk-XW6IXEQH.cjs} +26 -13
  124. package/dist/{chunk-YIVFJNYV.js → chunk-Y3ZFVUUU.js} +2 -2
  125. package/dist/{chunk-TJIMBJ6L.cjs → chunk-Y57W2CT5.cjs} +2 -2
  126. package/dist/{chunk-BFROVZOF.cjs → chunk-YCM6QQRT.cjs} +46 -53
  127. package/dist/{chunk-MBOOR7X4.js → chunk-YFVQWSNJ.js} +3 -3
  128. package/dist/{chunk-ISM4NX6N.js → chunk-YFWRJW4B.js} +2 -2
  129. package/dist/{chunk-6OTFG3EB.js → chunk-YN6IETRZ.js} +179 -136
  130. package/dist/{chunk-NPDNFPTU.js → chunk-YRRAUB35.js} +4 -4
  131. package/dist/{chunk-GCYR3D2K.js → chunk-Z6PMDS4G.js} +61 -23
  132. package/dist/{chunk-DPZXVDGM.js → chunk-ZA34AN3R.js} +8 -17
  133. package/dist/{chunk-EKYL4PE3.cjs → chunk-ZLF4YF3U.cjs} +2 -2
  134. package/dist/{chunk-VFKXK4GR.cjs → chunk-ZPZAVHXL.cjs} +20 -20
  135. package/dist/cli/holoscript-runner.cjs +39 -22
  136. package/dist/cli/holoscript-runner.js +32 -15
  137. package/dist/compiler/GasOptimizationAnalyzer.d.ts +73 -0
  138. package/dist/compiler/NFTMarketplaceCompiler.d.ts +23 -0
  139. package/dist/compiler/agent-inference.cjs +7 -7
  140. package/dist/compiler/agent-inference.js +3 -3
  141. package/dist/compiler/android-xr.cjs +8 -8
  142. package/dist/compiler/android-xr.js +6 -6
  143. package/dist/compiler/android.cjs +6 -6
  144. package/dist/compiler/android.js +4 -4
  145. package/dist/compiler/ar.cjs +6 -6
  146. package/dist/compiler/ar.js +4 -4
  147. package/dist/compiler/babylon.cjs +8 -8
  148. package/dist/compiler/babylon.js +7 -7
  149. package/dist/compiler/business-quest.cjs +9 -9
  150. package/dist/compiler/business-quest.js +1 -1
  151. package/dist/compiler/context.cjs +6 -6
  152. package/dist/compiler/context.js +3 -3
  153. package/dist/compiler/domain-block-utils.cjs +153 -153
  154. package/dist/compiler/domain-block-utils.js +4 -4
  155. package/dist/compiler/dtdl.cjs +7 -7
  156. package/dist/compiler/dtdl.js +4 -4
  157. package/dist/compiler/gltf-pipeline.cjs +8 -8
  158. package/dist/compiler/gltf-pipeline.js +1 -1
  159. package/dist/compiler/godot.cjs +6 -6
  160. package/dist/compiler/godot.js +5 -5
  161. package/dist/compiler/incremental.cjs +8 -8
  162. package/dist/compiler/incremental.js +3 -3
  163. package/dist/compiler/index.cjs +347 -362
  164. package/dist/compiler/index.d.ts +20 -0
  165. package/dist/compiler/index.js +200 -215
  166. package/dist/compiler/ios.cjs +6 -6
  167. package/dist/compiler/ios.js +4 -4
  168. package/dist/compiler/llm-provider-capabilities.cjs +6 -6
  169. package/dist/compiler/llm-provider-capabilities.js +3 -3
  170. package/dist/compiler/multi-layer.cjs +10 -10
  171. package/dist/compiler/multi-layer.js +9 -9
  172. package/dist/compiler/openxr.cjs +7 -7
  173. package/dist/compiler/openxr.js +6 -6
  174. package/dist/compiler/playcanvas.cjs +6 -6
  175. package/dist/compiler/playcanvas.js +5 -5
  176. package/dist/compiler/r3f.cjs +13 -13
  177. package/dist/compiler/r3f.js +8 -8
  178. package/dist/compiler/sdf.cjs +7 -7
  179. package/dist/compiler/sdf.js +5 -5
  180. package/dist/compiler/state.cjs +6 -6
  181. package/dist/compiler/state.js +4 -4
  182. package/dist/compiler/trait-composition.cjs +8 -8
  183. package/dist/compiler/trait-composition.js +4 -4
  184. package/dist/compiler/unity.cjs +7 -7
  185. package/dist/compiler/unity.js +6 -6
  186. package/dist/compiler/unreal.cjs +8 -8
  187. package/dist/compiler/unreal.js +6 -6
  188. package/dist/compiler/urdf.cjs +14 -14
  189. package/dist/compiler/urdf.js +5 -5
  190. package/dist/compiler/usd-physics.cjs +7 -7
  191. package/dist/compiler/usd-physics.js +4 -4
  192. package/dist/compiler/visionos.cjs +7 -7
  193. package/dist/compiler/visionos.js +6 -6
  194. package/dist/compiler/vrchat.cjs +7 -7
  195. package/dist/compiler/vrchat.js +5 -5
  196. package/dist/compiler/vrr.cjs +7 -7
  197. package/dist/compiler/vrr.js +5 -5
  198. package/dist/compiler/wasm.cjs +10 -10
  199. package/dist/compiler/wasm.js +5 -5
  200. package/dist/compiler/webgpu.cjs +6 -6
  201. package/dist/compiler/webgpu.js +5 -5
  202. package/dist/coordinators/index.cjs +27 -10
  203. package/dist/coordinators/index.js +27 -10
  204. package/dist/debugger.cjs +6 -6
  205. package/dist/debugger.js +4 -4
  206. package/dist/entries/scripting.cjs +6 -6
  207. package/dist/entries/scripting.js +2 -2
  208. package/dist/hololand/index.cjs +36 -36
  209. package/dist/hololand/index.js +2 -2
  210. package/dist/index.cjs +1056 -796
  211. package/dist/index.js +440 -180
  212. package/dist/math/tropical-spmv.cjs +10 -10
  213. package/dist/math/tropical-spmv.js +1 -1
  214. package/dist/math/vec3.cjs +13 -13
  215. package/dist/math/vec3.js +1 -1
  216. package/dist/parser/NFTMarketplaceTypes.d.ts +191 -0
  217. package/dist/parser.cjs +16 -16
  218. package/dist/parser.js +5 -5
  219. package/dist/reconstruction/index.cjs +37 -37
  220. package/dist/reconstruction/index.js +4 -4
  221. package/dist/runtime.cjs +274 -76
  222. package/dist/runtime.d.ts +10 -1
  223. package/dist/runtime.js +268 -70
  224. package/dist/self-improvement/index.cjs +12 -4
  225. package/dist/self-improvement/index.js +12 -4
  226. package/dist/{src-HCCCSYP7.js → src-J6CM4AUR.js} +91 -33
  227. package/dist/{src-4ROC227P.cjs → src-PT2FERDV.cjs} +93 -35
  228. package/dist/testing.cjs +5 -5
  229. package/dist/testing.js +1 -1
  230. package/dist/traits/botanical-lotus.cjs +49 -49
  231. package/dist/traits/botanical-lotus.js +2 -2
  232. package/dist/traits/engines/index.cjs +39 -39
  233. package/dist/traits/engines/index.d.ts +279 -0
  234. package/dist/traits/engines/index.js +4 -4
  235. package/dist/traits/index.cjs +881 -773
  236. package/dist/traits/index.js +366 -258
  237. package/dist/world/index.cjs +21 -18
  238. package/dist/world/index.js +21 -18
  239. package/dist/world-model/index.cjs +11 -5
  240. package/dist/world-model/index.d.ts +8 -0
  241. package/dist/world-model/index.js +11 -5
  242. package/package.json +74 -68
  243. package/LICENSE +0 -21
  244. package/dist/GLTFPipeline-PVLTKDBD.cjs +0 -38
  245. package/dist/GLTFPipeline-QPI4I7DL.js +0 -17
  246. package/dist/HoloScriptPlusParser-WKHRIH6T.cjs +0 -27
  247. package/dist/HoloScriptRuntime-6ZGLUCFS.js +0 -10
  248. package/dist/HoloScriptRuntime-ALUASIL2.cjs +0 -19
@@ -103,9 +103,7 @@ var SovereignWorldAdapter = class {
103
103
  }
104
104
  await this.sleep(this.pollIntervalMs);
105
105
  }
106
- throw new Error(
107
- `[SovereignWorldAdapter] Job ${jobId} timed out after ${this.timeoutMs}ms`
108
- );
106
+ throw new Error(`[SovereignWorldAdapter] Job ${jobId} timed out after ${this.timeoutMs}ms`);
109
107
  }
110
108
  async fetchJob(jobId) {
111
109
  return this.request(`/api/jobs/${jobId}`);
@@ -141,7 +139,10 @@ var SovereignWorldAdapter = class {
141
139
  "Content-Type": "application/json",
142
140
  ...this.apiKey ? { Authorization: `Bearer ${this.apiKey}` } : {}
143
141
  };
144
- const res = await fetch(url, { ...init, headers: { ...headers, ...init.headers ?? {} } });
142
+ const res = await fetch(url, {
143
+ ...init,
144
+ headers: { ...headers, ...init.headers ?? {} }
145
+ });
145
146
  if (!res.ok) {
146
147
  const text = await res.text().catch(() => "");
147
148
  throw new Error(
@@ -240,18 +241,14 @@ var Sovereign3DAdapter = class {
240
241
  }
241
242
  await this.sleep(this.pollIntervalMs);
242
243
  }
243
- throw new Error(
244
- `[Sovereign3DAdapter] Job ${jobId} timed out after ${this.timeoutMs}ms`
245
- );
244
+ throw new Error(`[Sovereign3DAdapter] Job ${jobId} timed out after ${this.timeoutMs}ms`);
246
245
  }
247
246
  async fetchJob(jobId) {
248
247
  return this.request(`/api/jobs/${jobId}`);
249
248
  }
250
249
  mapResult(job) {
251
250
  if (!job.asset_url) {
252
- throw new Error(
253
- `[Sovereign3DAdapter] Job ${job.job_id} completed but returned no asset_url`
254
- );
251
+ throw new Error(`[Sovereign3DAdapter] Job ${job.job_id} completed but returned no asset_url`);
255
252
  }
256
253
  const rawMeta = job.metadata ?? {};
257
254
  const bounds = rawMeta.bounds ?? [-10, 0, -10, 10, 5, 10];
@@ -278,7 +275,10 @@ var Sovereign3DAdapter = class {
278
275
  "Content-Type": "application/json",
279
276
  ...this.apiKey ? { Authorization: `Bearer ${this.apiKey}` } : {}
280
277
  };
281
- const res = await fetch(url, { ...init, headers: { ...headers, ...init.headers ?? {} } });
278
+ const res = await fetch(url, {
279
+ ...init,
280
+ headers: { ...headers, ...init.headers ?? {} }
281
+ });
282
282
  if (!res.ok) {
283
283
  const text = await res.text().catch(() => "");
284
284
  throw new Error(
@@ -319,7 +319,8 @@ var Sovereign3DAdapter = class {
319
319
 
320
320
  // src/world/adapters/SovereignGeneratorAdapter.ts
321
321
  var DEFAULT_LOCAL_ENDPOINT = typeof process !== "undefined" && process.env.BRITTNEY_LOCAL_ENDPOINT || typeof process !== "undefined" && process.env.OLLAMA_HOST || "http://localhost:11434";
322
- var DEFAULT_LOCAL_MODEL = typeof process !== "undefined" && process.env.BRITTNEY_MODEL || "brittney-qwen-v23:latest";
322
+ var BRITTNEY_SOVEREIGN_DEFAULT_MODEL = "qwen2.5-coder:7b";
323
+ var DEFAULT_LOCAL_MODEL = typeof process !== "undefined" && process.env.BRITTNEY_MODEL || BRITTNEY_SOVEREIGN_DEFAULT_MODEL;
323
324
  var DEFAULT_CLOUD_ENDPOINT = typeof process !== "undefined" && process.env.BRITTNEY_SERVICE_URL || "";
324
325
  var DEFAULT_CLOUD_API_KEY = typeof process !== "undefined" && process.env.BRITTNEY_API_KEY || "";
325
326
  var DEFAULT_CLOUD_MODEL = "brittney-standard";
@@ -835,16 +836,18 @@ var WorldGeneratorService = class {
835
836
  this.registry = registry;
836
837
  }
837
838
  /**
838
- * Register the built-in sovereign adapter (SovereignWorldAdapter — Brittney v43+).
839
+ * Register the built-in sovereign adapter (SovereignWorldAdapter — Brittney v43+).
839
840
  * Call once during scene/runtime bootstrap.
840
841
  */
841
842
  registerDefaultAdapters() {
842
843
  if (this.defaultAdaptersRegistered) return;
843
- this.registry.register(new Sovereign3DAdapter({
844
- // HOLOSCRIPT_SOVEREIGN_MOCK=true enables deterministic mock output when the
845
- // live sovereign service (wss://api.hololand.io) is offline or not yet deployed.
846
- mockMode: Boolean(process.env.HOLOSCRIPT_SOVEREIGN_MOCK)
847
- }));
844
+ this.registry.register(
845
+ new Sovereign3DAdapter({
846
+ // HOLOSCRIPT_SOVEREIGN_MOCK=true enables deterministic mock output when the
847
+ // live sovereign service (wss://api.hololand.io) is offline or not yet deployed.
848
+ mockMode: Boolean(process.env.HOLOSCRIPT_SOVEREIGN_MOCK)
849
+ })
850
+ );
848
851
  this.defaultAdaptersRegistered = true;
849
852
  }
850
853
  /**
@@ -101,9 +101,7 @@ var SovereignWorldAdapter = class {
101
101
  }
102
102
  await this.sleep(this.pollIntervalMs);
103
103
  }
104
- throw new Error(
105
- `[SovereignWorldAdapter] Job ${jobId} timed out after ${this.timeoutMs}ms`
106
- );
104
+ throw new Error(`[SovereignWorldAdapter] Job ${jobId} timed out after ${this.timeoutMs}ms`);
107
105
  }
108
106
  async fetchJob(jobId) {
109
107
  return this.request(`/api/jobs/${jobId}`);
@@ -139,7 +137,10 @@ var SovereignWorldAdapter = class {
139
137
  "Content-Type": "application/json",
140
138
  ...this.apiKey ? { Authorization: `Bearer ${this.apiKey}` } : {}
141
139
  };
142
- const res = await fetch(url, { ...init, headers: { ...headers, ...init.headers ?? {} } });
140
+ const res = await fetch(url, {
141
+ ...init,
142
+ headers: { ...headers, ...init.headers ?? {} }
143
+ });
143
144
  if (!res.ok) {
144
145
  const text = await res.text().catch(() => "");
145
146
  throw new Error(
@@ -238,18 +239,14 @@ var Sovereign3DAdapter = class {
238
239
  }
239
240
  await this.sleep(this.pollIntervalMs);
240
241
  }
241
- throw new Error(
242
- `[Sovereign3DAdapter] Job ${jobId} timed out after ${this.timeoutMs}ms`
243
- );
242
+ throw new Error(`[Sovereign3DAdapter] Job ${jobId} timed out after ${this.timeoutMs}ms`);
244
243
  }
245
244
  async fetchJob(jobId) {
246
245
  return this.request(`/api/jobs/${jobId}`);
247
246
  }
248
247
  mapResult(job) {
249
248
  if (!job.asset_url) {
250
- throw new Error(
251
- `[Sovereign3DAdapter] Job ${job.job_id} completed but returned no asset_url`
252
- );
249
+ throw new Error(`[Sovereign3DAdapter] Job ${job.job_id} completed but returned no asset_url`);
253
250
  }
254
251
  const rawMeta = job.metadata ?? {};
255
252
  const bounds = rawMeta.bounds ?? [-10, 0, -10, 10, 5, 10];
@@ -276,7 +273,10 @@ var Sovereign3DAdapter = class {
276
273
  "Content-Type": "application/json",
277
274
  ...this.apiKey ? { Authorization: `Bearer ${this.apiKey}` } : {}
278
275
  };
279
- const res = await fetch(url, { ...init, headers: { ...headers, ...init.headers ?? {} } });
276
+ const res = await fetch(url, {
277
+ ...init,
278
+ headers: { ...headers, ...init.headers ?? {} }
279
+ });
280
280
  if (!res.ok) {
281
281
  const text = await res.text().catch(() => "");
282
282
  throw new Error(
@@ -317,7 +317,8 @@ var Sovereign3DAdapter = class {
317
317
 
318
318
  // src/world/adapters/SovereignGeneratorAdapter.ts
319
319
  var DEFAULT_LOCAL_ENDPOINT = typeof process !== "undefined" && process.env.BRITTNEY_LOCAL_ENDPOINT || typeof process !== "undefined" && process.env.OLLAMA_HOST || "http://localhost:11434";
320
- var DEFAULT_LOCAL_MODEL = typeof process !== "undefined" && process.env.BRITTNEY_MODEL || "brittney-qwen-v23:latest";
320
+ var BRITTNEY_SOVEREIGN_DEFAULT_MODEL = "qwen2.5-coder:7b";
321
+ var DEFAULT_LOCAL_MODEL = typeof process !== "undefined" && process.env.BRITTNEY_MODEL || BRITTNEY_SOVEREIGN_DEFAULT_MODEL;
321
322
  var DEFAULT_CLOUD_ENDPOINT = typeof process !== "undefined" && process.env.BRITTNEY_SERVICE_URL || "";
322
323
  var DEFAULT_CLOUD_API_KEY = typeof process !== "undefined" && process.env.BRITTNEY_API_KEY || "";
323
324
  var DEFAULT_CLOUD_MODEL = "brittney-standard";
@@ -833,16 +834,18 @@ var WorldGeneratorService = class {
833
834
  this.registry = registry;
834
835
  }
835
836
  /**
836
- * Register the built-in sovereign adapter (SovereignWorldAdapter — Brittney v43+).
837
+ * Register the built-in sovereign adapter (SovereignWorldAdapter — Brittney v43+).
837
838
  * Call once during scene/runtime bootstrap.
838
839
  */
839
840
  registerDefaultAdapters() {
840
841
  if (this.defaultAdaptersRegistered) return;
841
- this.registry.register(new Sovereign3DAdapter({
842
- // HOLOSCRIPT_SOVEREIGN_MOCK=true enables deterministic mock output when the
843
- // live sovereign service (wss://api.hololand.io) is offline or not yet deployed.
844
- mockMode: Boolean(process.env.HOLOSCRIPT_SOVEREIGN_MOCK)
845
- }));
842
+ this.registry.register(
843
+ new Sovereign3DAdapter({
844
+ // HOLOSCRIPT_SOVEREIGN_MOCK=true enables deterministic mock output when the
845
+ // live sovereign service (wss://api.hololand.io) is offline or not yet deployed.
846
+ mockMode: Boolean(process.env.HOLOSCRIPT_SOVEREIGN_MOCK)
847
+ })
848
+ );
846
849
  this.defaultAdaptersRegistered = true;
847
850
  }
848
851
  /**
@@ -100,9 +100,7 @@ function validatePortableHardwareReceiptMetadata(receipt) {
100
100
  return { valid: false, errors: ["Hardware receipt metadata must be an object"] };
101
101
  }
102
102
  if (receipt.schemaVersion !== HARDWARE_RECEIPT_METADATA_SCHEMA_VERSION) {
103
- errors.push(
104
- `schemaVersion must be ${HARDWARE_RECEIPT_METADATA_SCHEMA_VERSION}`
105
- );
103
+ errors.push(`schemaVersion must be ${HARDWARE_RECEIPT_METADATA_SCHEMA_VERSION}`);
106
104
  }
107
105
  const target = requireObject(receipt, "target", errors);
108
106
  if (target) {
@@ -219,7 +217,9 @@ function buildFailureClusters(trajectories) {
219
217
  });
220
218
  }
221
219
  }
222
- return Array.from(clusters.values()).sort((a, b) => b.count - a.count || a.label.localeCompare(b.label));
220
+ return Array.from(clusters.values()).sort(
221
+ (a, b) => b.count - a.count || a.label.localeCompare(b.label)
222
+ );
223
223
  }
224
224
  function dominantPredicate(trajectory) {
225
225
  const scores = trajectory.predicateScore;
@@ -975,7 +975,13 @@ function createHumanoidRockThrowScene(seed = DEFAULT_SEED2) {
975
975
  const objects = [
976
976
  { id: "avatar", kind: "avatar", center: { x: -3, y: 1.25, z: 0 } },
977
977
  { id: "right-hand", kind: "hand", center: { x: -2.72, y: 1.22, z: 0.16 } },
978
- { id: "rock", kind: "rock", center: { x: -2.35, y: 0.22, z: 0.12 }, radiusM: 0.13, massKg: 1.8 },
978
+ {
979
+ id: "rock",
980
+ kind: "rock",
981
+ center: { x: -2.35, y: 0.22, z: 0.12 },
982
+ radiusM: 0.13,
983
+ massKg: 1.8
984
+ },
979
985
  { id: "target", kind: "target", center: { x: 2.55, y: 0.85, z: 0 }, radiusM: 0.42, massKg: 20 },
980
986
  { id: "stage", kind: "stage", center: { x: 0, y: 0, z: 0 } }
981
987
  ];
@@ -117,3 +117,11 @@ export declare function buildAdversarialTrajectoryReport(
117
117
  ): AdversarialTrajectoryReport;
118
118
  export declare function serializeReport(report: AdversarialTrajectoryReport): string;
119
119
  export declare function isReportCountsConsistent(report: AdversarialTrajectoryReport): boolean;
120
+ // --- Builder result types ---
121
+ export interface DeterministicFailureTrajectoryBuild { readonly result: any; readonly trajectory: AdversarialTrajectory; }
122
+ export interface HumanoidRockThrowTrajectoryBuild { readonly result: any; readonly trajectory: AdversarialTrajectory; }
123
+ export interface TwoAgentHandoffCatchTrajectoryBuild { readonly result: any; readonly trajectory: AdversarialTrajectory; }
124
+ // --- Builder functions ---
125
+ export function buildDeterministicFailureTrajectory(actions?: readonly any[], options?: any): DeterministicFailureTrajectoryBuild;
126
+ export function buildHumanoidRockThrowTrajectory(options?: any): HumanoidRockThrowTrajectoryBuild;
127
+ export function buildTwoAgentHandoffCatchTrajectory(options?: any): TwoAgentHandoffCatchTrajectoryBuild;
@@ -98,9 +98,7 @@ function validatePortableHardwareReceiptMetadata(receipt) {
98
98
  return { valid: false, errors: ["Hardware receipt metadata must be an object"] };
99
99
  }
100
100
  if (receipt.schemaVersion !== HARDWARE_RECEIPT_METADATA_SCHEMA_VERSION) {
101
- errors.push(
102
- `schemaVersion must be ${HARDWARE_RECEIPT_METADATA_SCHEMA_VERSION}`
103
- );
101
+ errors.push(`schemaVersion must be ${HARDWARE_RECEIPT_METADATA_SCHEMA_VERSION}`);
104
102
  }
105
103
  const target = requireObject(receipt, "target", errors);
106
104
  if (target) {
@@ -217,7 +215,9 @@ function buildFailureClusters(trajectories) {
217
215
  });
218
216
  }
219
217
  }
220
- return Array.from(clusters.values()).sort((a, b) => b.count - a.count || a.label.localeCompare(b.label));
218
+ return Array.from(clusters.values()).sort(
219
+ (a, b) => b.count - a.count || a.label.localeCompare(b.label)
220
+ );
221
221
  }
222
222
  function dominantPredicate(trajectory) {
223
223
  const scores = trajectory.predicateScore;
@@ -973,7 +973,13 @@ function createHumanoidRockThrowScene(seed = DEFAULT_SEED2) {
973
973
  const objects = [
974
974
  { id: "avatar", kind: "avatar", center: { x: -3, y: 1.25, z: 0 } },
975
975
  { id: "right-hand", kind: "hand", center: { x: -2.72, y: 1.22, z: 0.16 } },
976
- { id: "rock", kind: "rock", center: { x: -2.35, y: 0.22, z: 0.12 }, radiusM: 0.13, massKg: 1.8 },
976
+ {
977
+ id: "rock",
978
+ kind: "rock",
979
+ center: { x: -2.35, y: 0.22, z: 0.12 },
980
+ radiusM: 0.13,
981
+ massKg: 1.8
982
+ },
977
983
  { id: "target", kind: "target", center: { x: 2.55, y: 0.85, z: 0 }, radiusM: 0.42, massKg: 20 },
978
984
  { id: "stage", kind: "stage", center: { x: 0, y: 0, z: 0 } }
979
985
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holoscript/core",
3
- "version": "8.0.6",
3
+ "version": "8.0.8",
4
4
  "description": "Core parser, AST, compiler infrastructure, trait system, and runtime for HoloScript — the open AI-spatial reality protocol for 3D/XR/IoT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -44,6 +44,11 @@
44
44
  "import": "./dist/parser.js",
45
45
  "require": "./dist/parser.cjs"
46
46
  },
47
+ "./parser/*": {
48
+ "types": "./dist/parser/*.d.ts",
49
+ "import": "./dist/parser/*.js",
50
+ "require": "./dist/parser/*.cjs"
51
+ },
47
52
  "./runtime": {
48
53
  "types": "./dist/runtime.d.ts",
49
54
  "import": "./dist/runtime.js",
@@ -186,6 +191,24 @@
186
191
  "bin": {
187
192
  "holoscript": "./bin/holoscript.cjs"
188
193
  },
194
+ "scripts": {
195
+ "prepublishOnly": "pnpm run build",
196
+ "verify:workspace": "node scripts/verify-internal-workspace-protocol.mjs",
197
+ "build": "node scripts/verify-internal-workspace-protocol.mjs && tsup && node scripts/generate-types.mjs",
198
+ "dev": "tsup --watch",
199
+ "test": "node --max-old-space-size=16384 run-vitest.mjs",
200
+ "test:coverage": "node --max-old-space-size=16384 run-vitest.mjs --coverage",
201
+ "test:watch": "vitest",
202
+ "typecheck": "tsc --noEmit -p tsconfig.json",
203
+ "typecheck:narrow": "tsc --noEmit -p tsconfig.narrow.json",
204
+ "benchmark:export-targets": "node run-vitest.mjs src/compiler/__tests__/export-manager-all-targets-bench.test.ts",
205
+ "benchmark:paper10:compile-matrix": "node scripts/run-paper10-compile-matrix.mjs",
206
+ "benchmark:paper10:compile-matrix:full": "node scripts/run-paper10-compile-matrix.mjs --full",
207
+ "benchmark:paper10:depth-distribution": "node scripts/run-paper10-depth-distribution.mjs",
208
+ "benchmark:dispatch-policy": "tsx src/compiler/dispatch/DispatchPolicyBenchmark.cli.ts",
209
+ "benchmark:paper6:mecanim-matrix": "node scripts/run-paper6-mecanim-matrix.mjs",
210
+ "benchmark:critic-loop": "node scripts/run-critic-loop-benchmark.mjs"
211
+ },
189
212
  "keywords": [
190
213
  "holoscript",
191
214
  "vr",
@@ -216,17 +239,50 @@
216
239
  "directory": "packages/core"
217
240
  },
218
241
  "dependencies": {
219
- "@mediapipe/tasks-vision": "0.10.17",
220
- "jose": "^6.2.2",
221
- "jsonwebtoken": "^9.0.2",
222
- "zod": "^4.3.6",
223
242
  "@holoscript/agent-protocol": "^8.0.6",
224
- "@holoscript/core-types": "^6.1.0",
225
243
  "@holoscript/assimp-plugin": "^0.1.0",
244
+ "@holoscript/core-types": "^6.1.0",
226
245
  "@holoscript/llm-provider": "^1.2.1",
227
- "@holoscript/platform": "^6.1.2"
246
+ "@holoscript/platform": "^6.1.2",
247
+ "@mediapipe/tasks-vision": "0.10.17",
248
+ "jose": "^6.2.2",
249
+ "jsonwebtoken": "^9.0.2",
250
+ "zod": "^4.3.6"
228
251
  },
229
252
  "optionalDependencies": {
253
+ "@holoscript/alphafold-plugin": "^2.0.2",
254
+ "@holoscript/domain-plugin-template": "^0.0.2",
255
+ "@holoscript/medical-plugin": "^2.0.2",
256
+ "@holoscript/narupa-plugin": "^2.0.2",
257
+ "@holoscript/plugin-banking-finance": "^2.0.2",
258
+ "@holoscript/plugin-civil-engineering": "^2.0.2",
259
+ "@holoscript/plugin-culture-keyword": "^2.0.2",
260
+ "@holoscript/plugin-economic-primitives": "^2.0.2",
261
+ "@holoscript/plugin-education-lms": "^2.0.2",
262
+ "@holoscript/plugin-emergency-response": "^2.0.2",
263
+ "@holoscript/plugin-fashion": "^2.0.2",
264
+ "@holoscript/plugin-film-vfx": "^2.0.2",
265
+ "@holoscript/plugin-film3d-volumetrics": "^2.0.3",
266
+ "@holoscript/plugin-fitness-wellness": "^2.0.2",
267
+ "@holoscript/plugin-forensics": "^2.0.2",
268
+ "@holoscript/plugin-geolocation-gis": "^2.0.2",
269
+ "@holoscript/plugin-hardware-invention": "^2.0.2",
270
+ "@holoscript/plugin-hr-workforce": "^2.0.2",
271
+ "@holoscript/plugin-insurance": "^2.0.2",
272
+ "@holoscript/plugin-legal-document": "^2.0.2",
273
+ "@holoscript/plugin-manufacturing-qc": "^2.0.2",
274
+ "@holoscript/plugin-neuroscience": "^2.0.2",
275
+ "@holoscript/plugin-restaurant": "^2.0.2",
276
+ "@holoscript/plugin-retail-ecommerce": "^2.0.2",
277
+ "@holoscript/plugin-therapy": "^2.0.2",
278
+ "@holoscript/plugin-threat-intelligence": "^2.0.2",
279
+ "@holoscript/plugin-trait-audit": "^2.0.2",
280
+ "@holoscript/plugin-travel-hospitality": "^2.0.2",
281
+ "@holoscript/plugin-urban-planning": "^2.0.2",
282
+ "@holoscript/plugin-wine-food-beverage": "^2.0.2",
283
+ "@holoscript/plugin-wisdom-gotcha": "^2.0.2",
284
+ "@holoscript/radio-astronomy-plugin": "^2.0.3",
285
+ "@holoscript/robotics-plugin": "^2.0.2",
230
286
  "@gltf-transform/core": "^3.7.0",
231
287
  "@gltf-transform/extensions": "^3.7.0",
232
288
  "@gltf-transform/functions": "^3.7.0",
@@ -248,51 +304,18 @@
248
304
  "tree-sitter-rust": "^0.24.0",
249
305
  "tree-sitter-typescript": "^0.23.2",
250
306
  "web-tree-sitter": "^0.24.0",
251
- "ws": "^8.16.0",
252
- "@holoscript/alphafold-plugin": "^2.0.1",
253
- "@holoscript/narupa-plugin": "^2.0.1",
254
- "@holoscript/domain-plugin-template": "^0.0.1",
255
- "@holoscript/plugin-banking-finance": "^2.0.1",
256
- "@holoscript/plugin-civil-engineering": "^2.0.1",
257
- "@holoscript/medical-plugin": "^2.0.1",
258
- "@holoscript/plugin-economic-primitives": "^2.0.1",
259
- "@holoscript/plugin-culture-keyword": "^2.0.1",
260
- "@holoscript/plugin-fashion": "^2.0.1",
261
- "@holoscript/plugin-film3d-volumetrics": "^2.0.2",
262
- "@holoscript/plugin-emergency-response": "^2.0.1",
263
- "@holoscript/plugin-education-lms": "^2.0.1",
264
- "@holoscript/plugin-film-vfx": "^2.0.1",
265
- "@holoscript/plugin-fitness-wellness": "^2.0.1",
266
- "@holoscript/plugin-forensics": "^2.0.1",
267
- "@holoscript/plugin-hardware-invention": "^2.0.1",
268
- "@holoscript/plugin-geolocation-gis": "^2.0.1",
269
- "@holoscript/plugin-hr-workforce": "^2.0.1",
270
- "@holoscript/plugin-manufacturing-qc": "^2.0.1",
271
- "@holoscript/plugin-legal-document": "^2.0.1",
272
- "@holoscript/plugin-neuroscience": "^2.0.1",
273
- "@holoscript/plugin-insurance": "^2.0.1",
274
- "@holoscript/plugin-restaurant": "^2.0.1",
275
- "@holoscript/plugin-therapy": "^2.0.1",
276
- "@holoscript/plugin-trait-audit": "^2.0.1",
277
- "@holoscript/plugin-retail-ecommerce": "^2.0.1",
278
- "@holoscript/plugin-threat-intelligence": "^2.0.1",
279
- "@holoscript/plugin-travel-hospitality": "^2.0.1",
280
- "@holoscript/plugin-wine-food-beverage": "^2.0.1",
281
- "@holoscript/plugin-urban-planning": "^2.0.1",
282
- "@holoscript/radio-astronomy-plugin": "^2.0.2",
283
- "@holoscript/plugin-wisdom-gotcha": "^2.0.1",
284
- "@holoscript/robotics-plugin": "^2.0.1"
307
+ "ws": "^8.16.0"
285
308
  },
286
309
  "peerDependencies": {
310
+ "@holoscript/absorb-service": ">=6.1.0",
311
+ "@holoscript/engine": ">=6.1.0",
312
+ "@holoscript/framework": ">=6.1.0",
313
+ "@holoscript/mcp-server": ">=8.0.0",
314
+ "@holoscript/mesh": ">=6.1.0",
287
315
  "@pixiv/three-vrm": "^2.0.0",
288
316
  "ioredis": "^5.3.0",
289
317
  "puppeteer": "^23.0.0",
290
- "react": "^19.2.0",
291
- "@holoscript/absorb-service": "6.1.1",
292
- "@holoscript/engine": "6.1.3",
293
- "@holoscript/framework": "6.1.2",
294
- "@holoscript/mcp-server": "6.1.1",
295
- "@holoscript/mesh": "6.1.3"
318
+ "react": "^19.2.0"
296
319
  },
297
320
  "peerDependenciesMeta": {
298
321
  "@holoscript/absorb-service": {
@@ -324,6 +347,8 @@
324
347
  }
325
348
  },
326
349
  "devDependencies": {
350
+ "@holoscript/engine": "workspace:*",
351
+ "@holoscript/framework": "workspace:*",
327
352
  "@types/jsonwebtoken": "^9.0.7",
328
353
  "@types/pixelmatch": "^5.2.6",
329
354
  "@types/pngjs": "^6.0.5",
@@ -334,25 +359,6 @@
334
359
  "tsup": "^8.0.1",
335
360
  "typedoc": "^0.28.19",
336
361
  "typescript": "~5.9.3",
337
- "vitest": "^4.1.5",
338
- "@holoscript/engine": "6.1.3",
339
- "@holoscript/framework": "6.1.2"
340
- },
341
- "scripts": {
342
- "verify:workspace": "node scripts/verify-internal-workspace-protocol.mjs",
343
- "build": "node scripts/verify-internal-workspace-protocol.mjs && tsup && node scripts/generate-types.mjs",
344
- "dev": "tsup --watch",
345
- "test": "node --max-old-space-size=16384 run-vitest.mjs",
346
- "test:coverage": "node --max-old-space-size=16384 run-vitest.mjs --coverage",
347
- "test:watch": "vitest",
348
- "typecheck": "tsc --noEmit -p tsconfig.json",
349
- "typecheck:narrow": "tsc --noEmit -p tsconfig.narrow.json",
350
- "benchmark:export-targets": "node run-vitest.mjs src/compiler/__tests__/export-manager-all-targets-bench.test.ts",
351
- "benchmark:paper10:compile-matrix": "node scripts/run-paper10-compile-matrix.mjs",
352
- "benchmark:paper10:compile-matrix:full": "node scripts/run-paper10-compile-matrix.mjs --full",
353
- "benchmark:paper10:depth-distribution": "node scripts/run-paper10-depth-distribution.mjs",
354
- "benchmark:dispatch-policy": "tsx src/compiler/dispatch/DispatchPolicyBenchmark.cli.ts",
355
- "benchmark:paper6:mecanim-matrix": "node scripts/run-paper6-mecanim-matrix.mjs",
356
- "benchmark:critic-loop": "node scripts/run-critic-loop-benchmark.mjs"
362
+ "vitest": "^4.1.5"
357
363
  }
358
- }
364
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025-2026 HoloScript Contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,38 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkVFKXK4GR_cjs = require('./chunk-VFKXK4GR.cjs');
4
- require('./chunk-EXUP2BUM.cjs');
5
- require('./chunk-4FDL7JLJ.cjs');
6
- require('./chunk-UOIGFQXC.cjs');
7
- require('./chunk-H5PUZHJV.cjs');
8
- require('./chunk-5S7RKFGR.cjs');
9
- require('./chunk-OIQYIIO3.cjs');
10
- require('./chunk-AIA52I7T.cjs');
11
- require('./chunk-2VL6SJ33.cjs');
12
- require('./chunk-QWAR3GY6.cjs');
13
- require('./chunk-5FSKKMR7.cjs');
14
- require('./chunk-GTU2Z2WW.cjs');
15
- require('./chunk-ZDSYWBIE.cjs');
16
- require('./chunk-E7JP3BS3.cjs');
17
- require('./chunk-HCCQLAA4.cjs');
18
-
19
-
20
-
21
- Object.defineProperty(exports, "GLTFPipeline", {
22
- enumerable: true,
23
- get: function () { return chunkVFKXK4GR_cjs.GLTFPipeline; }
24
- });
25
- Object.defineProperty(exports, "createGLTFPipeline", {
26
- enumerable: true,
27
- get: function () { return chunkVFKXK4GR_cjs.createGLTFPipeline; }
28
- });
29
- Object.defineProperty(exports, "generateScaleNormalMap", {
30
- enumerable: true,
31
- get: function () { return chunkVFKXK4GR_cjs.generateScaleNormalMap; }
32
- });
33
- Object.defineProperty(exports, "generateScaleTexture", {
34
- enumerable: true,
35
- get: function () { return chunkVFKXK4GR_cjs.generateScaleTexture; }
36
- });
37
- //# sourceMappingURL=GLTFPipeline-PVLTKDBD.cjs.map
38
- //# sourceMappingURL=GLTFPipeline-PVLTKDBD.cjs.map
@@ -1,17 +0,0 @@
1
- export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-K5UGRXKR.js';
2
- import './chunk-EKBKLK7P.js';
3
- import './chunk-ULXWSPCK.js';
4
- import './chunk-XT6JY5W5.js';
5
- import './chunk-VATGR4EM.js';
6
- import './chunk-TJHVSBP2.js';
7
- import './chunk-4C57PR42.js';
8
- import './chunk-GZG4KA4E.js';
9
- import './chunk-DPZXVDGM.js';
10
- import './chunk-CXS3DUKD.js';
11
- import './chunk-THCK6ECW.js';
12
- import './chunk-N75IH2HY.js';
13
- import './chunk-MXFUTKCO.js';
14
- import './chunk-VVKVQZI6.js';
15
- import './chunk-OL46QLBJ.js';
16
- //# sourceMappingURL=GLTFPipeline-QPI4I7DL.js.map
17
- //# sourceMappingURL=GLTFPipeline-QPI4I7DL.js.map
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkT5J7ZKP3_cjs = require('./chunk-T5J7ZKP3.cjs');
4
- require('./chunk-NG77ATEW.cjs');
5
- require('./chunk-WRLUBRKS.cjs');
6
- require('./chunk-X3GJPRVK.cjs');
7
- require('./chunk-DTGBOSEM.cjs');
8
- require('./chunk-YKGPCZEE.cjs');
9
- require('./chunk-6EX3I5P4.cjs');
10
- require('./chunk-HCCQLAA4.cjs');
11
-
12
-
13
-
14
- Object.defineProperty(exports, "HoloScriptPlusParser", {
15
- enumerable: true,
16
- get: function () { return chunkT5J7ZKP3_cjs.HoloScriptPlusParser; }
17
- });
18
- Object.defineProperty(exports, "createParser", {
19
- enumerable: true,
20
- get: function () { return chunkT5J7ZKP3_cjs.createParser; }
21
- });
22
- Object.defineProperty(exports, "parse", {
23
- enumerable: true,
24
- get: function () { return chunkT5J7ZKP3_cjs.parse; }
25
- });
26
- //# sourceMappingURL=HoloScriptPlusParser-WKHRIH6T.cjs.map
27
- //# sourceMappingURL=HoloScriptPlusParser-WKHRIH6T.cjs.map
@@ -1,10 +0,0 @@
1
- export { HoloScriptRuntime } from './chunk-5BQIJG3O.js';
2
- import './chunk-XL6INWKT.js';
3
- import './chunk-IELX2OKI.js';
4
- import './chunk-URG2SJLK.js';
5
- import './chunk-H652NHX5.js';
6
- import './chunk-PHENW4MQ.js';
7
- import './chunk-VVKVQZI6.js';
8
- import './chunk-OL46QLBJ.js';
9
- //# sourceMappingURL=HoloScriptRuntime-6ZGLUCFS.js.map
10
- //# sourceMappingURL=HoloScriptRuntime-6ZGLUCFS.js.map
@@ -1,19 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkDCE3LDO3_cjs = require('./chunk-DCE3LDO3.cjs');
4
- require('./chunk-GJNCFRJU.cjs');
5
- require('./chunk-YDPEHCCI.cjs');
6
- require('./chunk-JIYN45TV.cjs');
7
- require('./chunk-TVHSPJ4N.cjs');
8
- require('./chunk-ILRBGFVD.cjs');
9
- require('./chunk-E7JP3BS3.cjs');
10
- require('./chunk-HCCQLAA4.cjs');
11
-
12
-
13
-
14
- Object.defineProperty(exports, "HoloScriptRuntime", {
15
- enumerable: true,
16
- get: function () { return chunkDCE3LDO3_cjs.HoloScriptRuntime; }
17
- });
18
- //# sourceMappingURL=HoloScriptRuntime-ALUASIL2.cjs.map
19
- //# sourceMappingURL=HoloScriptRuntime-ALUASIL2.cjs.map