@bkm016/basalt 0.1.26 → 0.1.27

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 (992) hide show
  1. package/chunk-00jhevnt.js +3 -0
  2. package/chunk-04tx0etc.js +2 -0
  3. package/chunk-0r86p29p.js +7 -0
  4. package/chunk-10x1zefx.js +25 -0
  5. package/chunk-1amcz1cz.js +10 -0
  6. package/chunk-1pfdps04.js +2 -0
  7. package/chunk-206g40v9.js +59 -0
  8. package/chunk-2364s958.js +7 -0
  9. package/chunk-3fv2qcpg.js +12 -0
  10. package/chunk-3zz4a5tn.js +31 -0
  11. package/chunk-45wfmdts.js +44 -0
  12. package/chunk-4hkwjw05.js +2 -0
  13. package/chunk-4pq7ycp2.js +5 -0
  14. package/chunk-51f8zbj5.js +3 -0
  15. package/chunk-5e0qfdgx.js +5 -0
  16. package/chunk-7hpf9qq2.js +3 -0
  17. package/chunk-82dkdvs9.js +2 -0
  18. package/chunk-8913dkey.js +3 -0
  19. package/chunk-8g1sbmwf.js +3 -0
  20. package/chunk-8hfch7d0.js +2 -0
  21. package/chunk-90arpvgz.js +2 -0
  22. package/chunk-912knnfg.js +11 -0
  23. package/chunk-97bazdk3.js +20 -0
  24. package/chunk-9akexjfn.js +2 -0
  25. package/chunk-9dgmbwcc.js +2 -0
  26. package/chunk-acd2cwza.js +3 -0
  27. package/chunk-ach16jbw.js +2 -0
  28. package/chunk-ax823t5v.js +3 -0
  29. package/chunk-b03hg30w.js +2 -0
  30. package/chunk-bh29df86.js +5 -0
  31. package/chunk-bhpg72c4.js +2 -0
  32. package/chunk-bwww6j2q.js +2 -0
  33. package/chunk-c126k8wc.js +2 -0
  34. package/chunk-cb3jgak9.js +3 -0
  35. package/chunk-cjeyy6da.js +3 -0
  36. package/chunk-cs4gb2hb.js +2 -0
  37. package/chunk-en5t6hwd.js +3 -0
  38. package/chunk-f4n1csz0.js +3 -0
  39. package/chunk-fqfjjhkj.js +3 -0
  40. package/chunk-h4bvkm6p.js +3 -0
  41. package/chunk-j01t6mnq.js +3 -0
  42. package/chunk-j16smb6d.js +2 -0
  43. package/chunk-j7eqp97m.js +2 -0
  44. package/chunk-jdrqn8m1.js +2 -0
  45. package/chunk-jp1gqkbp.js +4 -0
  46. package/chunk-jrcvxscb.js +9 -0
  47. package/chunk-jxcghx26.js +50 -0
  48. package/chunk-k8zq95wr.js +2 -0
  49. package/chunk-ken7ras9.js +8 -0
  50. package/chunk-kqgpjmcf.js +2 -0
  51. package/chunk-krbdx24j.js +3 -0
  52. package/chunk-ky2ym708.js +8 -0
  53. package/chunk-kzfy666j.js +16 -0
  54. package/chunk-n0stnnxv.js +2 -0
  55. package/chunk-n9m2pagh.js +2 -0
  56. package/chunk-nedvy6yk.js +10 -0
  57. package/chunk-ng5g0fy3.js +3 -0
  58. package/chunk-nqeqasyt.js +7 -0
  59. package/chunk-nt30x5a7.js +3 -0
  60. package/chunk-pa7yh2q3.js +3 -0
  61. package/chunk-q1s5r204.js +3 -0
  62. package/chunk-qj0vfk01.js +2 -0
  63. package/chunk-qqfdg01g.js +3 -0
  64. package/chunk-rj6qknjx.js +12 -0
  65. package/chunk-rvrj0nrs.js +3 -0
  66. package/chunk-sbhj5h2q.js +2 -0
  67. package/chunk-t71zzafh.js +3 -0
  68. package/chunk-t7fwvzmh.js +3 -0
  69. package/chunk-tpv5hz99.js +5 -0
  70. package/chunk-tx2rrrtq.js +2 -0
  71. package/chunk-tyzzbhr5.js +3 -0
  72. package/chunk-tzbefwf0.js +286 -0
  73. package/chunk-v4p8807b.js +18 -0
  74. package/chunk-vnxjcym9.js +17 -0
  75. package/chunk-w35r8v6x.js +39 -0
  76. package/chunk-wbygknv2.js +3 -0
  77. package/chunk-wk63htqy.js +2 -0
  78. package/chunk-wwazj6mz.js +3 -0
  79. package/chunk-x3g1bzq6.js +51 -0
  80. package/chunk-xpc75mkw.js +25 -0
  81. package/chunk-ydhdewcv.js +4014 -0
  82. package/chunk-ypxn8bec.js +3 -0
  83. package/chunk-yztc2q9q.js +490 -0
  84. package/compiled.js +9 -9
  85. package/package.json +1 -1
  86. package/ui-test-worker.js +52 -52
  87. package/web/chunk-00a6amwf.js +1 -0
  88. package/web/chunk-00a6amwf.js.br +0 -0
  89. package/web/chunk-00a6amwf.js.gz +0 -0
  90. package/web/chunk-023b3kdx.js +214 -0
  91. package/web/chunk-023b3kdx.js.br +0 -0
  92. package/web/chunk-023b3kdx.js.gz +0 -0
  93. package/web/chunk-1bzdt1n8.js +1 -0
  94. package/web/chunk-1bzdt1n8.js.br +2 -0
  95. package/web/chunk-1bzdt1n8.js.gz +0 -0
  96. package/web/chunk-1fnxbfkf.js +139 -0
  97. package/web/chunk-1fnxbfkf.js.br +0 -0
  98. package/web/chunk-1fnxbfkf.js.gz +0 -0
  99. package/web/chunk-1hmw1eaw.js +1 -0
  100. package/web/chunk-1hmw1eaw.js.br +0 -0
  101. package/web/chunk-1hmw1eaw.js.gz +0 -0
  102. package/web/chunk-1qd75yjn.js +2 -0
  103. package/web/chunk-1qd75yjn.js.br +0 -0
  104. package/web/chunk-1qd75yjn.js.gz +0 -0
  105. package/web/chunk-20gcnbgn.js +2 -0
  106. package/web/chunk-20gcnbgn.js.br +0 -0
  107. package/web/chunk-20gcnbgn.js.gz +0 -0
  108. package/web/chunk-20v068s6.js +1 -0
  109. package/web/chunk-20v068s6.js.br +0 -0
  110. package/web/chunk-20v068s6.js.gz +0 -0
  111. package/web/chunk-22jfhjk3.js +2 -0
  112. package/web/chunk-22jfhjk3.js.br +0 -0
  113. package/web/chunk-22jfhjk3.js.gz +0 -0
  114. package/web/chunk-2nwvdqxm.js +1 -0
  115. package/web/chunk-2nwvdqxm.js.br +0 -0
  116. package/web/chunk-2nwvdqxm.js.gz +0 -0
  117. package/web/chunk-2wvgy7f4.js +1 -0
  118. package/web/chunk-2wvgy7f4.js.br +0 -0
  119. package/web/chunk-2wvgy7f4.js.gz +0 -0
  120. package/web/chunk-37hn49td.js +2 -0
  121. package/web/chunk-37hn49td.js.br +0 -0
  122. package/web/chunk-37hn49td.js.gz +0 -0
  123. package/web/chunk-3crfxxst.js +21 -0
  124. package/web/chunk-3crfxxst.js.br +0 -0
  125. package/web/chunk-3crfxxst.js.gz +0 -0
  126. package/web/chunk-3hg9a6xa.js +1 -0
  127. package/web/chunk-3hg9a6xa.js.br +0 -0
  128. package/web/chunk-3hg9a6xa.js.gz +0 -0
  129. package/web/chunk-3m2nnnk5.js +1 -0
  130. package/web/chunk-3m2nnnk5.js.br +0 -0
  131. package/web/chunk-3m2nnnk5.js.gz +0 -0
  132. package/web/chunk-3ry5cjnp.js +169 -0
  133. package/web/chunk-3ry5cjnp.js.br +0 -0
  134. package/web/chunk-3ry5cjnp.js.gz +0 -0
  135. package/web/chunk-407zrkgx.js +40 -0
  136. package/web/chunk-407zrkgx.js.br +0 -0
  137. package/web/chunk-407zrkgx.js.gz +0 -0
  138. package/web/chunk-414npx47.js +1 -0
  139. package/web/chunk-414npx47.js.br +0 -0
  140. package/web/chunk-414npx47.js.gz +0 -0
  141. package/web/chunk-43e1ste5.js +1 -0
  142. package/web/chunk-43e1ste5.js.br +0 -0
  143. package/web/chunk-43e1ste5.js.gz +0 -0
  144. package/web/chunk-45ex0e3e.js +2 -0
  145. package/web/chunk-45ex0e3e.js.br +0 -0
  146. package/web/chunk-45ex0e3e.js.gz +0 -0
  147. package/web/chunk-508cpafz.js +142 -0
  148. package/web/chunk-508cpafz.js.br +0 -0
  149. package/web/chunk-508cpafz.js.gz +0 -0
  150. package/web/chunk-538r4sey.js +1 -0
  151. package/web/chunk-538r4sey.js.br +0 -0
  152. package/web/chunk-538r4sey.js.gz +0 -0
  153. package/web/chunk-55zs0yq1.js +1 -0
  154. package/web/chunk-55zs0yq1.js.br +0 -0
  155. package/web/chunk-55zs0yq1.js.gz +0 -0
  156. package/web/chunk-58gh3tbh.js +34 -0
  157. package/web/chunk-58gh3tbh.js.br +0 -0
  158. package/web/chunk-58gh3tbh.js.gz +0 -0
  159. package/web/chunk-5h3r1hpg.js +89 -0
  160. package/web/chunk-5h3r1hpg.js.br +0 -0
  161. package/web/chunk-5h3r1hpg.js.gz +0 -0
  162. package/web/chunk-68q4nnmc.js +2 -0
  163. package/web/chunk-68q4nnmc.js.br +3 -0
  164. package/web/chunk-68q4nnmc.js.gz +0 -0
  165. package/web/chunk-6ktmzq32.js +16 -0
  166. package/web/chunk-6ktmzq32.js.br +0 -0
  167. package/web/chunk-6ktmzq32.js.gz +0 -0
  168. package/web/chunk-6ry6x1ez.js +1 -0
  169. package/web/chunk-6ry6x1ez.js.br +0 -0
  170. package/web/chunk-6ry6x1ez.js.gz +0 -0
  171. package/web/chunk-6wxxypbv.js +7 -0
  172. package/web/chunk-6wxxypbv.js.br +0 -0
  173. package/web/chunk-6wxxypbv.js.gz +0 -0
  174. package/web/chunk-6x9r1z9z.js +291 -0
  175. package/web/chunk-6x9r1z9z.js.br +0 -0
  176. package/web/chunk-6x9r1z9z.js.gz +0 -0
  177. package/web/chunk-719tz8xw.js +1 -0
  178. package/web/chunk-719tz8xw.js.br +0 -0
  179. package/web/chunk-719tz8xw.js.gz +0 -0
  180. package/web/chunk-7devrtv4.js +2 -0
  181. package/web/chunk-7devrtv4.js.br +3 -0
  182. package/web/chunk-7devrtv4.js.gz +0 -0
  183. package/web/chunk-7rs26q98.js +2 -0
  184. package/web/chunk-7rs26q98.js.br +0 -0
  185. package/web/chunk-7rs26q98.js.gz +0 -0
  186. package/web/chunk-82aqq58f.js +24 -0
  187. package/web/chunk-82aqq58f.js.br +0 -0
  188. package/web/chunk-82aqq58f.js.gz +0 -0
  189. package/web/chunk-96n00vam.js +1 -0
  190. package/web/chunk-96n00vam.js.br +0 -0
  191. package/web/chunk-96n00vam.js.gz +0 -0
  192. package/web/chunk-99c0h3v7.js +1 -0
  193. package/web/chunk-99c0h3v7.js.br +0 -0
  194. package/web/chunk-99c0h3v7.js.gz +0 -0
  195. package/web/chunk-a11ev6ff.js +1 -0
  196. package/web/chunk-a11ev6ff.js.br +0 -0
  197. package/web/chunk-a11ev6ff.js.gz +0 -0
  198. package/web/chunk-a1cpkzwh.js +2 -0
  199. package/web/chunk-a1cpkzwh.js.br +0 -0
  200. package/web/chunk-a1cpkzwh.js.gz +0 -0
  201. package/web/chunk-a31z4c14.js +4 -0
  202. package/web/chunk-a31z4c14.js.br +0 -0
  203. package/web/chunk-a31z4c14.js.gz +0 -0
  204. package/web/chunk-aan5qk6x.js +1 -0
  205. package/web/chunk-aan5qk6x.js.br +0 -0
  206. package/web/chunk-aan5qk6x.js.gz +0 -0
  207. package/web/chunk-b07y0tzq.js +1 -0
  208. package/web/chunk-b07y0tzq.js.br +0 -0
  209. package/web/chunk-b07y0tzq.js.gz +0 -0
  210. package/web/chunk-b4d1948q.js +62 -0
  211. package/web/chunk-b4d1948q.js.br +0 -0
  212. package/web/chunk-b4d1948q.js.gz +0 -0
  213. package/web/chunk-btk2h3vh.js +36 -0
  214. package/web/chunk-btk2h3vh.js.br +0 -0
  215. package/web/chunk-btk2h3vh.js.gz +0 -0
  216. package/web/chunk-bw9crrb4.js +1 -0
  217. package/web/chunk-bw9crrb4.js.br +0 -0
  218. package/web/chunk-bw9crrb4.js.gz +0 -0
  219. package/web/chunk-c1s7faqj.js +2 -0
  220. package/web/chunk-c1s7faqj.js.br +0 -0
  221. package/web/chunk-c1s7faqj.js.gz +0 -0
  222. package/web/chunk-c3d08dw1.js +1 -0
  223. package/web/chunk-c3d08dw1.js.br +0 -0
  224. package/web/chunk-c3d08dw1.js.gz +0 -0
  225. package/web/chunk-cgt871p9.js +1 -0
  226. package/web/chunk-cgt871p9.js.br +0 -0
  227. package/web/chunk-cgt871p9.js.gz +0 -0
  228. package/web/chunk-crfbqd4d.js +2 -0
  229. package/web/chunk-crfbqd4d.js.br +0 -0
  230. package/web/chunk-crfbqd4d.js.gz +0 -0
  231. package/web/chunk-ctr4kt7p.js +332 -0
  232. package/web/chunk-ctr4kt7p.js.br +0 -0
  233. package/web/chunk-ctr4kt7p.js.gz +0 -0
  234. package/web/chunk-cys4n4sv.js +1 -0
  235. package/web/chunk-cys4n4sv.js.br +0 -0
  236. package/web/chunk-cys4n4sv.js.gz +0 -0
  237. package/web/chunk-d5n2yz4e.js +2 -0
  238. package/web/chunk-d5n2yz4e.js.br +0 -0
  239. package/web/chunk-d5n2yz4e.js.gz +0 -0
  240. package/web/chunk-d6wcabaa.css +1 -0
  241. package/web/chunk-d6wcabaa.css.br +0 -0
  242. package/web/chunk-d6wcabaa.css.gz +0 -0
  243. package/web/chunk-d7nrrcwp.js +38 -0
  244. package/web/chunk-d7nrrcwp.js.br +0 -0
  245. package/web/chunk-d7nrrcwp.js.gz +0 -0
  246. package/web/chunk-df9ja645.js +1 -0
  247. package/web/chunk-df9ja645.js.br +0 -0
  248. package/web/chunk-df9ja645.js.gz +0 -0
  249. package/web/chunk-dhxc6xe9.js +1 -0
  250. package/web/chunk-dhxc6xe9.js.br +2 -0
  251. package/web/chunk-dhxc6xe9.js.gz +0 -0
  252. package/web/chunk-dy2egpw5.js +12 -0
  253. package/web/chunk-dy2egpw5.js.br +0 -0
  254. package/web/chunk-dy2egpw5.js.gz +0 -0
  255. package/web/chunk-e4cwyn1g.js +2 -0
  256. package/web/chunk-e4cwyn1g.js.br +0 -0
  257. package/web/chunk-e4cwyn1g.js.gz +0 -0
  258. package/web/chunk-efjc9mga.js +2 -0
  259. package/web/chunk-efjc9mga.js.br +0 -0
  260. package/web/chunk-efjc9mga.js.gz +0 -0
  261. package/web/chunk-eq59kad4.js +303 -0
  262. package/web/chunk-eq59kad4.js.br +0 -0
  263. package/web/chunk-eq59kad4.js.gz +0 -0
  264. package/web/chunk-f05s9gsw.js +7 -0
  265. package/web/chunk-f05s9gsw.js.br +0 -0
  266. package/web/chunk-f05s9gsw.js.gz +0 -0
  267. package/web/chunk-f2bb976c.js +1 -0
  268. package/web/chunk-f2bb976c.js.br +0 -0
  269. package/web/chunk-f2bb976c.js.gz +0 -0
  270. package/web/chunk-f4aabnnv.js +1 -0
  271. package/web/chunk-f4aabnnv.js.br +0 -0
  272. package/web/chunk-f4aabnnv.js.gz +0 -0
  273. package/web/chunk-f5wyg9zh.js +2 -0
  274. package/web/chunk-f5wyg9zh.js.br +0 -0
  275. package/web/chunk-f5wyg9zh.js.gz +0 -0
  276. package/web/chunk-fmbc7t17.js +7 -0
  277. package/web/chunk-fmbc7t17.js.br +0 -0
  278. package/web/chunk-fmbc7t17.js.gz +0 -0
  279. package/web/chunk-ftdzs90e.js +1 -0
  280. package/web/chunk-ftdzs90e.js.br +0 -0
  281. package/web/chunk-ftdzs90e.js.gz +0 -0
  282. package/web/chunk-g0s2xxfd.js +324 -0
  283. package/web/chunk-g0s2xxfd.js.br +0 -0
  284. package/web/chunk-g0s2xxfd.js.gz +0 -0
  285. package/web/chunk-g1k9nggh.js +39 -0
  286. package/web/chunk-g1k9nggh.js.br +0 -0
  287. package/web/chunk-g1k9nggh.js.gz +0 -0
  288. package/web/chunk-g26mzwzc.js +1 -0
  289. package/web/chunk-g26mzwzc.js.br +0 -0
  290. package/web/chunk-g26mzwzc.js.gz +0 -0
  291. package/web/chunk-g7b4p9k9.js +1 -0
  292. package/web/chunk-g7b4p9k9.js.br +0 -0
  293. package/web/chunk-g7b4p9k9.js.gz +0 -0
  294. package/web/chunk-ghr3jf15.js +140 -0
  295. package/web/chunk-ghr3jf15.js.br +0 -0
  296. package/web/chunk-ghr3jf15.js.gz +0 -0
  297. package/web/chunk-gv4zh4er.js +1 -0
  298. package/web/chunk-gv4zh4er.js.br +0 -0
  299. package/web/chunk-gv4zh4er.js.gz +0 -0
  300. package/web/chunk-gvndjaan.js +2 -0
  301. package/web/chunk-gvndjaan.js.br +0 -0
  302. package/web/chunk-gvndjaan.js.gz +0 -0
  303. package/web/chunk-gw0e69yj.js +1 -0
  304. package/web/chunk-gw0e69yj.js.br +0 -0
  305. package/web/chunk-gw0e69yj.js.gz +0 -0
  306. package/web/chunk-gxwsf4t1.js +2 -0
  307. package/web/chunk-gxwsf4t1.js.br +0 -0
  308. package/web/chunk-gxwsf4t1.js.gz +0 -0
  309. package/web/chunk-hh6vpvar.js +84 -0
  310. package/web/chunk-hh6vpvar.js.br +0 -0
  311. package/web/chunk-hh6vpvar.js.gz +0 -0
  312. package/web/chunk-hxqqy585.js +1 -0
  313. package/web/chunk-hxqqy585.js.br +0 -0
  314. package/web/chunk-hxqqy585.js.gz +0 -0
  315. package/web/chunk-hxsrph02.js +1139 -0
  316. package/web/chunk-hxsrph02.js.br +0 -0
  317. package/web/chunk-hxsrph02.js.gz +0 -0
  318. package/web/chunk-hxx6ad4x.js +1 -0
  319. package/web/chunk-hxx6ad4x.js.br +0 -0
  320. package/web/chunk-hxx6ad4x.js.gz +0 -0
  321. package/web/chunk-hzvff525.js +2 -0
  322. package/web/chunk-hzvff525.js.br +0 -0
  323. package/web/chunk-hzvff525.js.gz +0 -0
  324. package/web/chunk-j2gkg76r.js +2 -0
  325. package/web/chunk-j2gkg76r.js.br +0 -0
  326. package/web/chunk-j2gkg76r.js.gz +0 -0
  327. package/web/chunk-jcbheqv1.js +1 -0
  328. package/web/chunk-jcbheqv1.js.br +0 -0
  329. package/web/chunk-jcbheqv1.js.gz +0 -0
  330. package/web/chunk-jhx6v9es.js +1 -0
  331. package/web/chunk-jhx6v9es.js.br +0 -0
  332. package/web/chunk-jhx6v9es.js.gz +0 -0
  333. package/web/chunk-jnhem746.js +292 -0
  334. package/web/chunk-jnhem746.js.br +0 -0
  335. package/web/chunk-jnhem746.js.gz +0 -0
  336. package/web/chunk-jr796qsk.js +1 -0
  337. package/web/chunk-jr796qsk.js.br +0 -0
  338. package/web/chunk-jr796qsk.js.gz +0 -0
  339. package/web/chunk-jw92texh.js +1 -0
  340. package/web/chunk-jw92texh.js.br +0 -0
  341. package/web/chunk-jw92texh.js.gz +0 -0
  342. package/web/chunk-k89686qj.js +2 -0
  343. package/web/chunk-k89686qj.js.br +0 -0
  344. package/web/chunk-k89686qj.js.gz +0 -0
  345. package/web/chunk-mqdvg55y.js +2 -0
  346. package/web/chunk-mqdvg55y.js.br +0 -0
  347. package/web/chunk-mqdvg55y.js.gz +0 -0
  348. package/web/chunk-mvm0gvwj.js +24 -0
  349. package/web/chunk-mvm0gvwj.js.br +0 -0
  350. package/web/chunk-mvm0gvwj.js.gz +0 -0
  351. package/web/chunk-n033azqs.js +30 -0
  352. package/web/chunk-n033azqs.js.br +0 -0
  353. package/web/chunk-n033azqs.js.gz +0 -0
  354. package/web/chunk-n0fqhrqv.js +89 -0
  355. package/web/chunk-n0fqhrqv.js.br +0 -0
  356. package/web/chunk-n0fqhrqv.js.gz +0 -0
  357. package/web/chunk-n1p03ng0.js +1 -0
  358. package/web/chunk-n1p03ng0.js.br +0 -0
  359. package/web/chunk-n1p03ng0.js.gz +0 -0
  360. package/web/chunk-nb73fq72.js +1 -0
  361. package/web/chunk-nb73fq72.js.br +0 -0
  362. package/web/chunk-nb73fq72.js.gz +0 -0
  363. package/web/chunk-ngsv0xfb.js +1 -0
  364. package/web/chunk-ngsv0xfb.js.br +0 -0
  365. package/web/chunk-ngsv0xfb.js.gz +0 -0
  366. package/web/chunk-nxnkb0w4.js +55 -0
  367. package/web/chunk-nxnkb0w4.js.br +0 -0
  368. package/web/chunk-nxnkb0w4.js.gz +0 -0
  369. package/web/chunk-nymsmy8d.js +78 -0
  370. package/web/chunk-nymsmy8d.js.br +0 -0
  371. package/web/chunk-nymsmy8d.js.gz +0 -0
  372. package/web/chunk-nzqxb0ea.js +1 -0
  373. package/web/chunk-nzqxb0ea.js.br +0 -0
  374. package/web/chunk-nzqxb0ea.js.gz +0 -0
  375. package/web/chunk-p26b4zdm.js +1 -0
  376. package/web/chunk-p26b4zdm.js.br +0 -0
  377. package/web/chunk-p26b4zdm.js.gz +0 -0
  378. package/web/chunk-qa0wwff0.js +1 -0
  379. package/web/chunk-qa0wwff0.js.br +0 -0
  380. package/web/chunk-qa0wwff0.js.gz +0 -0
  381. package/web/chunk-qgv81n98.js +1 -0
  382. package/web/chunk-qgv81n98.js.br +0 -0
  383. package/web/chunk-qgv81n98.js.gz +0 -0
  384. package/web/chunk-qtwjt5mm.js +3 -0
  385. package/web/chunk-qtwjt5mm.js.br +0 -0
  386. package/web/chunk-qtwjt5mm.js.gz +0 -0
  387. package/web/chunk-r49dy5vx.js +1 -0
  388. package/web/chunk-r49dy5vx.js.br +0 -0
  389. package/web/chunk-r49dy5vx.js.gz +0 -0
  390. package/web/chunk-r97hd8wk.js +98 -0
  391. package/web/chunk-r97hd8wk.js.br +0 -0
  392. package/web/chunk-r97hd8wk.js.gz +0 -0
  393. package/web/chunk-rj1rp0tc.js +1 -0
  394. package/web/chunk-rj1rp0tc.js.br +0 -0
  395. package/web/chunk-rj1rp0tc.js.gz +0 -0
  396. package/web/chunk-s00gxcxn.js +2 -0
  397. package/web/chunk-s00gxcxn.js.br +0 -0
  398. package/web/chunk-s00gxcxn.js.gz +0 -0
  399. package/web/chunk-s6a13wxe.js +2 -0
  400. package/web/chunk-s6a13wxe.js.br +0 -0
  401. package/web/chunk-s6a13wxe.js.gz +0 -0
  402. package/web/chunk-sb61aqg8.js +4 -0
  403. package/web/chunk-sb61aqg8.js.br +0 -0
  404. package/web/chunk-sb61aqg8.js.gz +0 -0
  405. package/web/chunk-scwrkcdw.js +1 -0
  406. package/web/chunk-scwrkcdw.js.br +0 -0
  407. package/web/chunk-scwrkcdw.js.gz +0 -0
  408. package/web/chunk-shtvhd61.js +200 -0
  409. package/web/chunk-shtvhd61.js.br +0 -0
  410. package/web/chunk-shtvhd61.js.gz +0 -0
  411. package/web/chunk-szwh742y.js +2 -0
  412. package/web/chunk-szwh742y.js.br +0 -0
  413. package/web/chunk-szwh742y.js.gz +0 -0
  414. package/web/chunk-t5e9vh89.js +1 -0
  415. package/web/chunk-t5e9vh89.js.br +0 -0
  416. package/web/chunk-t5e9vh89.js.gz +0 -0
  417. package/web/chunk-tbgavq0t.js +2 -0
  418. package/web/chunk-tbgavq0t.js.br +0 -0
  419. package/web/chunk-tbgavq0t.js.gz +0 -0
  420. package/web/chunk-tefm9md2.js +2 -0
  421. package/web/chunk-tefm9md2.js.br +0 -0
  422. package/web/chunk-tefm9md2.js.gz +0 -0
  423. package/web/chunk-tntwwpyh.js +2 -0
  424. package/web/chunk-tntwwpyh.js.br +0 -0
  425. package/web/chunk-tntwwpyh.js.gz +0 -0
  426. package/web/chunk-tp3fpa0t.js +1 -0
  427. package/web/chunk-tp3fpa0t.js.br +0 -0
  428. package/web/chunk-tp3fpa0t.js.gz +0 -0
  429. package/web/chunk-tr7fg3tv.js +8 -0
  430. package/web/chunk-tr7fg3tv.js.br +0 -0
  431. package/web/chunk-tr7fg3tv.js.gz +0 -0
  432. package/web/chunk-v5xf47q0.js +1 -0
  433. package/web/chunk-v5xf47q0.js.br +0 -0
  434. package/web/chunk-v5xf47q0.js.gz +0 -0
  435. package/web/chunk-vayamfxv.js +1 -0
  436. package/web/chunk-vayamfxv.js.br +0 -0
  437. package/web/chunk-vayamfxv.js.gz +0 -0
  438. package/web/chunk-vndrjeyr.js +2 -0
  439. package/web/chunk-vndrjeyr.js.br +0 -0
  440. package/web/chunk-vndrjeyr.js.gz +0 -0
  441. package/web/chunk-vwms8c7b.js +1 -0
  442. package/web/chunk-vwms8c7b.js.br +0 -0
  443. package/web/chunk-vwms8c7b.js.gz +0 -0
  444. package/web/chunk-w2gy2tmp.js +99 -0
  445. package/web/chunk-w2gy2tmp.js.br +0 -0
  446. package/web/chunk-w2gy2tmp.js.gz +0 -0
  447. package/web/chunk-wdd9pasx.js +1 -0
  448. package/web/chunk-wdd9pasx.js.br +0 -0
  449. package/web/chunk-wdd9pasx.js.gz +0 -0
  450. package/web/chunk-whfh2wev.js +41 -0
  451. package/web/chunk-whfh2wev.js.br +0 -0
  452. package/web/chunk-whfh2wev.js.gz +0 -0
  453. package/web/chunk-wjecy48x.js +1 -0
  454. package/web/chunk-wjecy48x.js.br +0 -0
  455. package/web/chunk-wjecy48x.js.gz +0 -0
  456. package/web/chunk-wqmyjj6w.js +370 -0
  457. package/web/chunk-wqmyjj6w.js.br +0 -0
  458. package/web/chunk-wqmyjj6w.js.gz +0 -0
  459. package/web/chunk-wv83gygp.js +1 -0
  460. package/web/chunk-wv83gygp.js.br +0 -0
  461. package/web/chunk-wv83gygp.js.gz +0 -0
  462. package/web/chunk-x1gr0017.js +70 -0
  463. package/web/chunk-x1gr0017.js.br +0 -0
  464. package/web/chunk-x1gr0017.js.gz +0 -0
  465. package/web/chunk-xa9m0mh2.js +106 -0
  466. package/web/chunk-xa9m0mh2.js.br +0 -0
  467. package/web/chunk-xa9m0mh2.js.gz +0 -0
  468. package/web/chunk-xjbxndxz.js +2 -0
  469. package/web/chunk-xjbxndxz.js.br +0 -0
  470. package/web/chunk-xjbxndxz.js.gz +0 -0
  471. package/web/chunk-xsfmh8rr.js +217 -0
  472. package/web/chunk-xsfmh8rr.js.br +0 -0
  473. package/web/chunk-xsfmh8rr.js.gz +0 -0
  474. package/web/chunk-xvsb3w1f.js +1 -0
  475. package/web/chunk-xvsb3w1f.js.br +0 -0
  476. package/web/chunk-xvsb3w1f.js.gz +0 -0
  477. package/web/chunk-y2jkaf1e.js +2 -0
  478. package/web/chunk-y2jkaf1e.js.br +0 -0
  479. package/web/chunk-y2jkaf1e.js.gz +0 -0
  480. package/web/chunk-ynpx7j96.js +1 -0
  481. package/web/chunk-ynpx7j96.js.br +0 -0
  482. package/web/chunk-ynpx7j96.js.gz +0 -0
  483. package/web/chunk-z04ncfs3.js +2 -0
  484. package/web/chunk-z04ncfs3.js.br +0 -0
  485. package/web/chunk-z04ncfs3.js.gz +0 -0
  486. package/web/chunk-zapwrc5k.js +2 -0
  487. package/web/chunk-zapwrc5k.js.br +0 -0
  488. package/web/chunk-zapwrc5k.js.gz +0 -0
  489. package/web/chunk-zq1qbaxb.js +2 -0
  490. package/web/chunk-zq1qbaxb.js.br +0 -0
  491. package/web/chunk-zq1qbaxb.js.gz +0 -0
  492. package/web/chunk-zs7physk.js +120 -0
  493. package/web/chunk-zs7physk.js.br +0 -0
  494. package/web/chunk-zs7physk.js.gz +0 -0
  495. package/web/index.html +1 -1
  496. package/web/index.html.br +0 -0
  497. package/web/index.html.gz +0 -0
  498. package/worker.js +1 -1
  499. package/chunk-05bkyxh9.js +0 -3
  500. package/chunk-080kr9ct.js +0 -15
  501. package/chunk-1a4rrb2v.js +0 -10
  502. package/chunk-1s560041.js +0 -2
  503. package/chunk-2expw9m3.js +0 -3
  504. package/chunk-2fm6g0ga.js +0 -3
  505. package/chunk-2scbc5yh.js +0 -3
  506. package/chunk-33jk5rw1.js +0 -3
  507. package/chunk-377w9fhp.js +0 -3
  508. package/chunk-3wqncn58.js +0 -3
  509. package/chunk-43n3k72q.js +0 -2
  510. package/chunk-44pv8c0b.js +0 -5
  511. package/chunk-5gk93yp2.js +0 -3
  512. package/chunk-5z5sbry2.js +0 -7
  513. package/chunk-6qvg49rk.js +0 -51
  514. package/chunk-7d6fdzs3.js +0 -50
  515. package/chunk-7h6k7vac.js +0 -3
  516. package/chunk-7t5yqsgn.js +0 -5
  517. package/chunk-7th9y456.js +0 -2
  518. package/chunk-7v98r8ft.js +0 -2
  519. package/chunk-82bb3whz.js +0 -3
  520. package/chunk-8e061pr3.js +0 -2
  521. package/chunk-8n83nvpa.js +0 -7
  522. package/chunk-9nng543t.js +0 -3
  523. package/chunk-a0ex6znf.js +0 -18
  524. package/chunk-a25etmgf.js +0 -3
  525. package/chunk-awzaxv88.js +0 -2
  526. package/chunk-b2s9aksm.js +0 -2
  527. package/chunk-bfrpy5jd.js +0 -4
  528. package/chunk-br64f072.js +0 -2
  529. package/chunk-btza2hna.js +0 -5
  530. package/chunk-c9bjdydc.js +0 -3
  531. package/chunk-cww7drfr.js +0 -2
  532. package/chunk-d0az9pq0.js +0 -2
  533. package/chunk-d47bpkyz.js +0 -12
  534. package/chunk-dkfpqbcr.js +0 -3
  535. package/chunk-dsk3r1s8.js +0 -2
  536. package/chunk-dw8p4zcz.js +0 -2
  537. package/chunk-edz2cxtp.js +0 -5
  538. package/chunk-epqgd8d0.js +0 -3
  539. package/chunk-f7tn67ff.js +0 -2
  540. package/chunk-fevkmd0j.js +0 -3
  541. package/chunk-fzdvrsvn.js +0 -482
  542. package/chunk-ghat319t.js +0 -25
  543. package/chunk-h19mfxzq.js +0 -7
  544. package/chunk-h6sh9pkr.js +0 -2
  545. package/chunk-jdazqwft.js +0 -2
  546. package/chunk-je52rmxs.js +0 -9
  547. package/chunk-jj5pkfgm.js +0 -2
  548. package/chunk-jp7f2kak.js +0 -2
  549. package/chunk-jqpb4q7h.js +0 -3
  550. package/chunk-jzf3qp0g.js +0 -2
  551. package/chunk-k5qg9az8.js +0 -8
  552. package/chunk-m51tryxx.js +0 -3
  553. package/chunk-mna7mgdw.js +0 -3
  554. package/chunk-nfgg1ksw.js +0 -3
  555. package/chunk-npd8k692.js +0 -2
  556. package/chunk-nqzqm9ad.js +0 -3
  557. package/chunk-nsrdzz1p.js +0 -20
  558. package/chunk-qdwzmvcq.js +0 -3923
  559. package/chunk-qgyjffh0.js +0 -16
  560. package/chunk-qnq3xa4h.js +0 -286
  561. package/chunk-r0gyd40q.js +0 -2
  562. package/chunk-ra4kx253.js +0 -7
  563. package/chunk-rq2b2a6n.js +0 -11
  564. package/chunk-s1m4dt0z.js +0 -3
  565. package/chunk-s78m24h4.js +0 -2
  566. package/chunk-sd9r82h2.js +0 -3
  567. package/chunk-smygzsyr.js +0 -10
  568. package/chunk-t0zexn7n.js +0 -2
  569. package/chunk-t2s0yyw0.js +0 -3
  570. package/chunk-v9a2y9rn.js +0 -3
  571. package/chunk-vkn4bfyp.js +0 -2
  572. package/chunk-vpzs9trn.js +0 -3
  573. package/chunk-w3tzsrkw.js +0 -12
  574. package/chunk-x0t8h6vv.js +0 -5
  575. package/chunk-x23g9em9.js +0 -39
  576. package/chunk-x316ag7c.js +0 -25
  577. package/chunk-x5zgyewh.js +0 -2
  578. package/chunk-xr35av3b.js +0 -59
  579. package/chunk-yd190t0s.js +0 -31
  580. package/chunk-zhvw8efz.js +0 -3
  581. package/chunk-zyqsqwn7.js +0 -2
  582. package/web/chunk-08tgd17j.js +0 -12
  583. package/web/chunk-08tgd17j.js.br +0 -0
  584. package/web/chunk-08tgd17j.js.gz +0 -0
  585. package/web/chunk-0mqyt9m7.js +0 -1
  586. package/web/chunk-0mqyt9m7.js.br +0 -0
  587. package/web/chunk-0mqyt9m7.js.gz +0 -0
  588. package/web/chunk-0n99y9n5.js +0 -1
  589. package/web/chunk-0n99y9n5.js.br +0 -0
  590. package/web/chunk-0n99y9n5.js.gz +0 -0
  591. package/web/chunk-0qjj75v7.js +0 -1
  592. package/web/chunk-0qjj75v7.js.br +0 -0
  593. package/web/chunk-0qjj75v7.js.gz +0 -0
  594. package/web/chunk-0x3wtwhf.js +0 -291
  595. package/web/chunk-0x3wtwhf.js.br +0 -0
  596. package/web/chunk-0x3wtwhf.js.gz +0 -0
  597. package/web/chunk-0zd5g2yw.js +0 -1
  598. package/web/chunk-0zd5g2yw.js.br +0 -0
  599. package/web/chunk-0zd5g2yw.js.gz +0 -0
  600. package/web/chunk-146ww24y.js +0 -55
  601. package/web/chunk-146ww24y.js.br +0 -0
  602. package/web/chunk-146ww24y.js.gz +0 -0
  603. package/web/chunk-1d8r3aeh.js +0 -3
  604. package/web/chunk-1d8r3aeh.js.br +0 -0
  605. package/web/chunk-1d8r3aeh.js.gz +0 -0
  606. package/web/chunk-1qs4nh4c.js +0 -1
  607. package/web/chunk-1qs4nh4c.js.br +0 -0
  608. package/web/chunk-1qs4nh4c.js.gz +0 -0
  609. package/web/chunk-1v13225a.js +0 -1
  610. package/web/chunk-1v13225a.js.br +0 -2
  611. package/web/chunk-1v13225a.js.gz +0 -0
  612. package/web/chunk-22caavs1.js +0 -1
  613. package/web/chunk-22caavs1.js.br +0 -0
  614. package/web/chunk-22caavs1.js.gz +0 -0
  615. package/web/chunk-28e0vn8m.js +0 -1
  616. package/web/chunk-28e0vn8m.js.br +0 -0
  617. package/web/chunk-28e0vn8m.js.gz +0 -0
  618. package/web/chunk-28sta4gj.js +0 -142
  619. package/web/chunk-28sta4gj.js.br +0 -0
  620. package/web/chunk-28sta4gj.js.gz +0 -0
  621. package/web/chunk-33eqjx7d.js +0 -2
  622. package/web/chunk-33eqjx7d.js.br +0 -0
  623. package/web/chunk-33eqjx7d.js.gz +0 -0
  624. package/web/chunk-3781tgyt.js +0 -21
  625. package/web/chunk-3781tgyt.js.br +0 -0
  626. package/web/chunk-3781tgyt.js.gz +0 -0
  627. package/web/chunk-3gt60qmf.js +0 -370
  628. package/web/chunk-3gt60qmf.js.br +0 -0
  629. package/web/chunk-3gt60qmf.js.gz +0 -0
  630. package/web/chunk-3rg8d23d.js +0 -2
  631. package/web/chunk-3rg8d23d.js.br +0 -0
  632. package/web/chunk-3rg8d23d.js.gz +0 -0
  633. package/web/chunk-40wx2kxh.js +0 -1
  634. package/web/chunk-40wx2kxh.js.br +0 -0
  635. package/web/chunk-40wx2kxh.js.gz +0 -0
  636. package/web/chunk-44kgdrrk.js +0 -1
  637. package/web/chunk-44kgdrrk.js.br +0 -0
  638. package/web/chunk-44kgdrrk.js.gz +0 -0
  639. package/web/chunk-4vqmgjbf.js +0 -1
  640. package/web/chunk-4vqmgjbf.js.br +0 -0
  641. package/web/chunk-4vqmgjbf.js.gz +0 -0
  642. package/web/chunk-55h6ya95.js +0 -1
  643. package/web/chunk-55h6ya95.js.br +0 -2
  644. package/web/chunk-55h6ya95.js.gz +0 -0
  645. package/web/chunk-5a80hcah.js +0 -1
  646. package/web/chunk-5a80hcah.js.br +0 -0
  647. package/web/chunk-5a80hcah.js.gz +0 -0
  648. package/web/chunk-5fed8tt3.js +0 -1
  649. package/web/chunk-5fed8tt3.js.br +0 -0
  650. package/web/chunk-5fed8tt3.js.gz +0 -0
  651. package/web/chunk-5kcmtrrk.js +0 -2
  652. package/web/chunk-5kcmtrrk.js.br +0 -0
  653. package/web/chunk-5kcmtrrk.js.gz +0 -0
  654. package/web/chunk-5y1v9ycq.js +0 -2
  655. package/web/chunk-5y1v9ycq.js.br +0 -0
  656. package/web/chunk-5y1v9ycq.js.gz +0 -0
  657. package/web/chunk-61wasm9a.js +0 -1
  658. package/web/chunk-61wasm9a.js.br +0 -0
  659. package/web/chunk-61wasm9a.js.gz +0 -0
  660. package/web/chunk-66mcaz0p.js +0 -7
  661. package/web/chunk-66mcaz0p.js.br +0 -0
  662. package/web/chunk-66mcaz0p.js.gz +0 -0
  663. package/web/chunk-6ew2qvxb.js +0 -1
  664. package/web/chunk-6ew2qvxb.js.br +0 -0
  665. package/web/chunk-6ew2qvxb.js.gz +0 -0
  666. package/web/chunk-6hkgy8ej.js +0 -36
  667. package/web/chunk-6hkgy8ej.js.br +0 -0
  668. package/web/chunk-6hkgy8ej.js.gz +0 -0
  669. package/web/chunk-75v6mnzm.js +0 -40
  670. package/web/chunk-75v6mnzm.js.br +0 -0
  671. package/web/chunk-75v6mnzm.js.gz +0 -0
  672. package/web/chunk-7ddgm832.js +0 -41
  673. package/web/chunk-7ddgm832.js.br +0 -0
  674. package/web/chunk-7ddgm832.js.gz +0 -0
  675. package/web/chunk-80htbw45.js +0 -1
  676. package/web/chunk-80htbw45.js.br +0 -0
  677. package/web/chunk-80htbw45.js.gz +0 -0
  678. package/web/chunk-8304998z.js +0 -1
  679. package/web/chunk-8304998z.js.br +0 -0
  680. package/web/chunk-8304998z.js.gz +0 -0
  681. package/web/chunk-84wf0ej8.js +0 -2
  682. package/web/chunk-84wf0ej8.js.br +0 -0
  683. package/web/chunk-84wf0ej8.js.gz +0 -0
  684. package/web/chunk-859ry2p4.js +0 -1
  685. package/web/chunk-859ry2p4.js.br +0 -0
  686. package/web/chunk-859ry2p4.js.gz +0 -0
  687. package/web/chunk-883weqxg.js +0 -2
  688. package/web/chunk-883weqxg.js.br +0 -0
  689. package/web/chunk-883weqxg.js.gz +0 -0
  690. package/web/chunk-8a46b2ww.js +0 -303
  691. package/web/chunk-8a46b2ww.js.br +0 -0
  692. package/web/chunk-8a46b2ww.js.gz +0 -0
  693. package/web/chunk-8cajyrkw.js +0 -1
  694. package/web/chunk-8cajyrkw.js.br +0 -0
  695. package/web/chunk-8cajyrkw.js.gz +0 -0
  696. package/web/chunk-8ejwy8g3.js +0 -30
  697. package/web/chunk-8ejwy8g3.js.br +0 -0
  698. package/web/chunk-8ejwy8g3.js.gz +0 -0
  699. package/web/chunk-951dg5kq.js +0 -8
  700. package/web/chunk-951dg5kq.js.br +0 -1
  701. package/web/chunk-951dg5kq.js.gz +0 -0
  702. package/web/chunk-97ccteq4.js +0 -106
  703. package/web/chunk-97ccteq4.js.br +0 -0
  704. package/web/chunk-97ccteq4.js.gz +0 -0
  705. package/web/chunk-98kr0bw8.js +0 -98
  706. package/web/chunk-98kr0bw8.js.br +0 -0
  707. package/web/chunk-98kr0bw8.js.gz +0 -0
  708. package/web/chunk-9bq7xgjz.js +0 -1
  709. package/web/chunk-9bq7xgjz.js.br +0 -0
  710. package/web/chunk-9bq7xgjz.js.gz +0 -0
  711. package/web/chunk-9g5jgnfe.js +0 -2
  712. package/web/chunk-9g5jgnfe.js.br +0 -0
  713. package/web/chunk-9g5jgnfe.js.gz +0 -0
  714. package/web/chunk-9kx2s040.js +0 -1
  715. package/web/chunk-9kx2s040.js.br +0 -0
  716. package/web/chunk-9kx2s040.js.gz +0 -0
  717. package/web/chunk-9v1f6yc8.js +0 -1
  718. package/web/chunk-9v1f6yc8.js.br +0 -0
  719. package/web/chunk-9v1f6yc8.js.gz +0 -0
  720. package/web/chunk-an6adjgz.js +0 -24
  721. package/web/chunk-an6adjgz.js.br +0 -0
  722. package/web/chunk-an6adjgz.js.gz +0 -0
  723. package/web/chunk-arp4g43b.js +0 -1
  724. package/web/chunk-arp4g43b.js.br +0 -0
  725. package/web/chunk-arp4g43b.js.gz +0 -0
  726. package/web/chunk-b2ads9ra.js +0 -1
  727. package/web/chunk-b2ads9ra.js.br +0 -0
  728. package/web/chunk-b2ads9ra.js.gz +0 -0
  729. package/web/chunk-bd90pxqc.js +0 -169
  730. package/web/chunk-bd90pxqc.js.br +0 -0
  731. package/web/chunk-bd90pxqc.js.gz +0 -0
  732. package/web/chunk-bmtzds29.js +0 -1
  733. package/web/chunk-bmtzds29.js.br +0 -0
  734. package/web/chunk-bmtzds29.js.gz +0 -0
  735. package/web/chunk-brsvdef4.js +0 -1
  736. package/web/chunk-brsvdef4.js.br +0 -0
  737. package/web/chunk-brsvdef4.js.gz +0 -0
  738. package/web/chunk-bv0vs331.js +0 -332
  739. package/web/chunk-bv0vs331.js.br +0 -0
  740. package/web/chunk-bv0vs331.js.gz +0 -0
  741. package/web/chunk-bzvserky.js +0 -89
  742. package/web/chunk-bzvserky.js.br +0 -0
  743. package/web/chunk-bzvserky.js.gz +0 -0
  744. package/web/chunk-cd3hhgn9.js +0 -2
  745. package/web/chunk-cd3hhgn9.js.br +0 -0
  746. package/web/chunk-cd3hhgn9.js.gz +0 -0
  747. package/web/chunk-cdwn0hd1.js +0 -2
  748. package/web/chunk-cdwn0hd1.js.br +0 -0
  749. package/web/chunk-cdwn0hd1.js.gz +0 -0
  750. package/web/chunk-ckpx6ky8.js +0 -2
  751. package/web/chunk-ckpx6ky8.js.br +0 -0
  752. package/web/chunk-ckpx6ky8.js.gz +0 -0
  753. package/web/chunk-d11xvhrx.js +0 -140
  754. package/web/chunk-d11xvhrx.js.br +0 -0
  755. package/web/chunk-d11xvhrx.js.gz +0 -0
  756. package/web/chunk-d25jazap.js +0 -89
  757. package/web/chunk-d25jazap.js.br +0 -0
  758. package/web/chunk-d25jazap.js.gz +0 -0
  759. package/web/chunk-d5jk5ftp.js +0 -2
  760. package/web/chunk-d5jk5ftp.js.br +0 -0
  761. package/web/chunk-d5jk5ftp.js.gz +0 -0
  762. package/web/chunk-dkdedpn5.js +0 -1
  763. package/web/chunk-dkdedpn5.js.br +0 -0
  764. package/web/chunk-dkdedpn5.js.gz +0 -0
  765. package/web/chunk-drr7mqg2.js +0 -1
  766. package/web/chunk-drr7mqg2.js.br +0 -0
  767. package/web/chunk-drr7mqg2.js.gz +0 -0
  768. package/web/chunk-dxejr2wc.js +0 -7
  769. package/web/chunk-dxejr2wc.js.br +0 -0
  770. package/web/chunk-dxejr2wc.js.gz +0 -0
  771. package/web/chunk-dym50nnh.js +0 -292
  772. package/web/chunk-dym50nnh.js.br +0 -0
  773. package/web/chunk-dym50nnh.js.gz +0 -0
  774. package/web/chunk-e1fv9zdp.js +0 -1
  775. package/web/chunk-e1fv9zdp.js.br +0 -0
  776. package/web/chunk-e1fv9zdp.js.gz +0 -0
  777. package/web/chunk-e9ycc491.js +0 -120
  778. package/web/chunk-e9ycc491.js.br +0 -0
  779. package/web/chunk-e9ycc491.js.gz +0 -0
  780. package/web/chunk-eww9ygx5.js +0 -2
  781. package/web/chunk-eww9ygx5.js.br +0 -0
  782. package/web/chunk-eww9ygx5.js.gz +0 -0
  783. package/web/chunk-ey2fy3vm.js +0 -4
  784. package/web/chunk-ey2fy3vm.js.br +0 -0
  785. package/web/chunk-ey2fy3vm.js.gz +0 -0
  786. package/web/chunk-ez498328.js +0 -39
  787. package/web/chunk-ez498328.js.br +0 -0
  788. package/web/chunk-ez498328.js.gz +0 -0
  789. package/web/chunk-f0x62xvv.js +0 -84
  790. package/web/chunk-f0x62xvv.js.br +0 -0
  791. package/web/chunk-f0x62xvv.js.gz +0 -0
  792. package/web/chunk-f1z92c2d.js +0 -1
  793. package/web/chunk-f1z92c2d.js.br +0 -2
  794. package/web/chunk-f1z92c2d.js.gz +0 -0
  795. package/web/chunk-fwvar7a7.js +0 -1
  796. package/web/chunk-fwvar7a7.js.br +0 -0
  797. package/web/chunk-fwvar7a7.js.gz +0 -0
  798. package/web/chunk-g8bw60t3.js +0 -324
  799. package/web/chunk-g8bw60t3.js.br +0 -0
  800. package/web/chunk-g8bw60t3.js.gz +0 -0
  801. package/web/chunk-g8se5rtx.js +0 -2
  802. package/web/chunk-g8se5rtx.js.br +0 -0
  803. package/web/chunk-g8se5rtx.js.gz +0 -0
  804. package/web/chunk-gkwkbkr4.js +0 -217
  805. package/web/chunk-gkwkbkr4.js.br +0 -0
  806. package/web/chunk-gkwkbkr4.js.gz +0 -0
  807. package/web/chunk-h50zbzfg.js +0 -24
  808. package/web/chunk-h50zbzfg.js.br +0 -0
  809. package/web/chunk-h50zbzfg.js.gz +0 -0
  810. package/web/chunk-j3vqhfgg.js +0 -1
  811. package/web/chunk-j3vqhfgg.js.br +0 -0
  812. package/web/chunk-j3vqhfgg.js.gz +0 -0
  813. package/web/chunk-jk6j68wv.js +0 -1
  814. package/web/chunk-jk6j68wv.js.br +0 -0
  815. package/web/chunk-jk6j68wv.js.gz +0 -0
  816. package/web/chunk-jrdx4yfq.js +0 -2
  817. package/web/chunk-jrdx4yfq.js.br +0 -0
  818. package/web/chunk-jrdx4yfq.js.gz +0 -0
  819. package/web/chunk-k2by2sj0.css +0 -1
  820. package/web/chunk-k2by2sj0.css.br +0 -0
  821. package/web/chunk-k2by2sj0.css.gz +0 -0
  822. package/web/chunk-kc4ymfvv.js +0 -2
  823. package/web/chunk-kc4ymfvv.js.br +0 -1
  824. package/web/chunk-kc4ymfvv.js.gz +0 -0
  825. package/web/chunk-kh9d9x20.js +0 -1
  826. package/web/chunk-kh9d9x20.js.br +0 -0
  827. package/web/chunk-kh9d9x20.js.gz +0 -0
  828. package/web/chunk-kkv1h28t.js +0 -2
  829. package/web/chunk-kkv1h28t.js.br +0 -0
  830. package/web/chunk-kkv1h28t.js.gz +0 -0
  831. package/web/chunk-kzkjfngw.js +0 -7
  832. package/web/chunk-kzkjfngw.js.br +0 -0
  833. package/web/chunk-kzkjfngw.js.gz +0 -0
  834. package/web/chunk-mj8xb4z9.js +0 -2
  835. package/web/chunk-mj8xb4z9.js.br +0 -0
  836. package/web/chunk-mj8xb4z9.js.gz +0 -0
  837. package/web/chunk-msn8bpe6.js +0 -1
  838. package/web/chunk-msn8bpe6.js.br +0 -0
  839. package/web/chunk-msn8bpe6.js.gz +0 -0
  840. package/web/chunk-mv0pwdz6.js +0 -1
  841. package/web/chunk-mv0pwdz6.js.br +0 -0
  842. package/web/chunk-mv0pwdz6.js.gz +0 -0
  843. package/web/chunk-myhtb5ps.js +0 -2
  844. package/web/chunk-myhtb5ps.js.br +0 -0
  845. package/web/chunk-myhtb5ps.js.gz +0 -0
  846. package/web/chunk-n8qc0chz.js +0 -34
  847. package/web/chunk-n8qc0chz.js.br +0 -0
  848. package/web/chunk-n8qc0chz.js.gz +0 -0
  849. package/web/chunk-nf83ezt5.js +0 -1136
  850. package/web/chunk-nf83ezt5.js.br +0 -0
  851. package/web/chunk-nf83ezt5.js.gz +0 -0
  852. package/web/chunk-nh3m09b1.js +0 -1
  853. package/web/chunk-nh3m09b1.js.br +0 -0
  854. package/web/chunk-nh3m09b1.js.gz +0 -0
  855. package/web/chunk-nqvjw71s.js +0 -1
  856. package/web/chunk-nqvjw71s.js.br +0 -0
  857. package/web/chunk-nqvjw71s.js.gz +0 -0
  858. package/web/chunk-nyydkfyf.js +0 -1
  859. package/web/chunk-nyydkfyf.js.br +0 -0
  860. package/web/chunk-nyydkfyf.js.gz +0 -0
  861. package/web/chunk-p0zneef1.js +0 -2
  862. package/web/chunk-p0zneef1.js.br +0 -0
  863. package/web/chunk-p0zneef1.js.gz +0 -0
  864. package/web/chunk-pjd16rfv.js +0 -1
  865. package/web/chunk-pjd16rfv.js.br +0 -0
  866. package/web/chunk-pjd16rfv.js.gz +0 -0
  867. package/web/chunk-praang0j.js +0 -214
  868. package/web/chunk-praang0j.js.br +0 -0
  869. package/web/chunk-praang0j.js.gz +0 -0
  870. package/web/chunk-prynwp2t.js +0 -1
  871. package/web/chunk-prynwp2t.js.br +0 -0
  872. package/web/chunk-prynwp2t.js.gz +0 -0
  873. package/web/chunk-q0kx0wyj.js +0 -2
  874. package/web/chunk-q0kx0wyj.js.br +0 -0
  875. package/web/chunk-q0kx0wyj.js.gz +0 -0
  876. package/web/chunk-q6aqg79d.js +0 -2
  877. package/web/chunk-q6aqg79d.js.br +0 -0
  878. package/web/chunk-q6aqg79d.js.gz +0 -0
  879. package/web/chunk-qd3x1kbw.js +0 -1
  880. package/web/chunk-qd3x1kbw.js.br +0 -2
  881. package/web/chunk-qd3x1kbw.js.gz +0 -0
  882. package/web/chunk-qgqg2kr5.js +0 -1
  883. package/web/chunk-qgqg2kr5.js.br +0 -0
  884. package/web/chunk-qgqg2kr5.js.gz +0 -0
  885. package/web/chunk-qha5j25q.js +0 -2
  886. package/web/chunk-qha5j25q.js.br +0 -0
  887. package/web/chunk-qha5j25q.js.gz +0 -0
  888. package/web/chunk-qhf717ek.js +0 -2
  889. package/web/chunk-qhf717ek.js.br +0 -0
  890. package/web/chunk-qhf717ek.js.gz +0 -0
  891. package/web/chunk-qjswcwvm.js +0 -1
  892. package/web/chunk-qjswcwvm.js.br +0 -0
  893. package/web/chunk-qjswcwvm.js.gz +0 -0
  894. package/web/chunk-qt2ktkps.js +0 -1
  895. package/web/chunk-qt2ktkps.js.br +0 -0
  896. package/web/chunk-qt2ktkps.js.gz +0 -0
  897. package/web/chunk-rjvdk0s6.js +0 -1
  898. package/web/chunk-rjvdk0s6.js.br +0 -0
  899. package/web/chunk-rjvdk0s6.js.gz +0 -0
  900. package/web/chunk-scnew5q6.js +0 -1
  901. package/web/chunk-scnew5q6.js.br +0 -0
  902. package/web/chunk-scnew5q6.js.gz +0 -0
  903. package/web/chunk-scrrgk6n.js +0 -2
  904. package/web/chunk-scrrgk6n.js.br +0 -0
  905. package/web/chunk-scrrgk6n.js.gz +0 -0
  906. package/web/chunk-sy1ta5rp.js +0 -1
  907. package/web/chunk-sy1ta5rp.js.br +0 -0
  908. package/web/chunk-sy1ta5rp.js.gz +0 -0
  909. package/web/chunk-t092etr1.js +0 -2
  910. package/web/chunk-t092etr1.js.br +0 -0
  911. package/web/chunk-t092etr1.js.gz +0 -0
  912. package/web/chunk-t34g8qj4.js +0 -2
  913. package/web/chunk-t34g8qj4.js.br +0 -0
  914. package/web/chunk-t34g8qj4.js.gz +0 -0
  915. package/web/chunk-tfdwgjr1.js +0 -2
  916. package/web/chunk-tfdwgjr1.js.br +0 -0
  917. package/web/chunk-tfdwgjr1.js.gz +0 -0
  918. package/web/chunk-ty54ph0y.js +0 -1
  919. package/web/chunk-ty54ph0y.js.br +0 -2
  920. package/web/chunk-ty54ph0y.js.gz +0 -0
  921. package/web/chunk-v36p2ccs.js +0 -2
  922. package/web/chunk-v36p2ccs.js.br +0 -0
  923. package/web/chunk-v36p2ccs.js.gz +0 -0
  924. package/web/chunk-v7nv1ve8.js +0 -1
  925. package/web/chunk-v7nv1ve8.js.br +0 -0
  926. package/web/chunk-v7nv1ve8.js.gz +0 -0
  927. package/web/chunk-vchzf900.js +0 -2
  928. package/web/chunk-vchzf900.js.br +0 -0
  929. package/web/chunk-vchzf900.js.gz +0 -0
  930. package/web/chunk-vmpry714.js +0 -1
  931. package/web/chunk-vmpry714.js.br +0 -0
  932. package/web/chunk-vmpry714.js.gz +0 -0
  933. package/web/chunk-vtn7g6n0.js +0 -2
  934. package/web/chunk-vtn7g6n0.js.br +0 -0
  935. package/web/chunk-vtn7g6n0.js.gz +0 -0
  936. package/web/chunk-w1bp9wwx.js +0 -1
  937. package/web/chunk-w1bp9wwx.js.br +0 -0
  938. package/web/chunk-w1bp9wwx.js.gz +0 -0
  939. package/web/chunk-w4h1c0eb.js +0 -200
  940. package/web/chunk-w4h1c0eb.js.br +0 -0
  941. package/web/chunk-w4h1c0eb.js.gz +0 -0
  942. package/web/chunk-ww5c1dmz.js +0 -1
  943. package/web/chunk-ww5c1dmz.js.br +0 -0
  944. package/web/chunk-ww5c1dmz.js.gz +0 -0
  945. package/web/chunk-wx0jmdbq.js +0 -62
  946. package/web/chunk-wx0jmdbq.js.br +0 -0
  947. package/web/chunk-wx0jmdbq.js.gz +0 -0
  948. package/web/chunk-xdns99dp.js +0 -99
  949. package/web/chunk-xdns99dp.js.br +0 -0
  950. package/web/chunk-xdns99dp.js.gz +0 -0
  951. package/web/chunk-xnhzragz.js +0 -1
  952. package/web/chunk-xnhzragz.js.br +0 -0
  953. package/web/chunk-xnhzragz.js.gz +0 -0
  954. package/web/chunk-xq241z8c.js +0 -38
  955. package/web/chunk-xq241z8c.js.br +0 -0
  956. package/web/chunk-xq241z8c.js.gz +0 -0
  957. package/web/chunk-xve7x5x1.js +0 -2
  958. package/web/chunk-xve7x5x1.js.br +0 -0
  959. package/web/chunk-xve7x5x1.js.gz +0 -0
  960. package/web/chunk-xvn1wg8g.js +0 -2
  961. package/web/chunk-xvn1wg8g.js.br +0 -0
  962. package/web/chunk-xvn1wg8g.js.gz +0 -0
  963. package/web/chunk-xwy6m9v6.js +0 -1
  964. package/web/chunk-xwy6m9v6.js.br +0 -0
  965. package/web/chunk-xwy6m9v6.js.gz +0 -0
  966. package/web/chunk-y7zvyd6m.js +0 -1
  967. package/web/chunk-y7zvyd6m.js.br +0 -0
  968. package/web/chunk-y7zvyd6m.js.gz +0 -0
  969. package/web/chunk-yh07726r.js +0 -78
  970. package/web/chunk-yh07726r.js.br +0 -0
  971. package/web/chunk-yh07726r.js.gz +0 -0
  972. package/web/chunk-yr94dbhk.js +0 -1
  973. package/web/chunk-yr94dbhk.js.br +0 -0
  974. package/web/chunk-yr94dbhk.js.gz +0 -0
  975. package/web/chunk-ysqfkg2v.js +0 -70
  976. package/web/chunk-ysqfkg2v.js.br +0 -0
  977. package/web/chunk-ysqfkg2v.js.gz +0 -0
  978. package/web/chunk-yxax25q6.js +0 -4
  979. package/web/chunk-yxax25q6.js.br +0 -0
  980. package/web/chunk-yxax25q6.js.gz +0 -0
  981. package/web/chunk-z7024nm8.js +0 -16
  982. package/web/chunk-z7024nm8.js.br +0 -0
  983. package/web/chunk-z7024nm8.js.gz +0 -0
  984. package/web/chunk-z91sdj83.js +0 -139
  985. package/web/chunk-z91sdj83.js.br +0 -0
  986. package/web/chunk-z91sdj83.js.gz +0 -0
  987. package/web/chunk-za5j3w7x.js +0 -2
  988. package/web/chunk-za5j3w7x.js.br +0 -0
  989. package/web/chunk-za5j3w7x.js.gz +0 -0
  990. package/web/chunk-zw958xwq.js +0 -1
  991. package/web/chunk-zw958xwq.js.br +0 -0
  992. package/web/chunk-zw958xwq.js.gz +0 -0
package/chunk-qgyjffh0.js DELETED
@@ -1,16 +0,0 @@
1
- // @bun
2
- import{Ri,Bt,Tt,R,oo,Ci}from"./chunk-s78m24h4.js";import{o,e,p,nr,Ht,L,ye,I,Ui,xn,ir}from"./chunk-33jk5rw1.js";import*as S from"fs/promises";import*as ne from"fs";import*as O from"path";import*as $e from"child_process";import*as at from"crypto";import*as ct from"readline";function C(a){if(a.inputSchema.type!=="object")throw Error(`JSON schema for tool "${a.name}" must be an object, but got ${a.inputSchema.type}`);return{type:"custom",name:a.name,input_schema:a.inputSchema,description:a.description,run:a.run,parse:(r)=>r,...a.close?{close:a.close}:{}}}var F=Tt.promises,J=448,pt=384;function ae(a,r){let t=R.relative(a,r);return t===""||!t.startsWith(".."+R.sep)&&t!==".."&&!R.isAbsolute(t)}async function Ee(a,r){for(let t of a)if(ae(await X(R.resolve(t)),r))return t;return}var yt=40;function Z(a){let r=a?.code;return typeof r==="string"?r:void 0}async function X(a){let r=[],t=a,i=0;for(;;){let n;try{n=await F.realpath(t)}catch(s){let c;try{c=(await F.lstat(t)).isSymbolicLink()}catch(l){let f=Z(l);if(f!=="ENOENT"&&f!=="ENOTDIR")throw l;let h=R.dirname(t);if(h===t)throw l;r.push(R.basename(t)),t=h;continue}if(!c)throw s;if(++i>yt)throw Object.assign(Error("too many levels of symbolic links"),{code:"ELOOP"});t=R.resolve(R.dirname(t),await F.readlink(t));continue}return r.length?R.join(n,...r.reverse()):n}}async function Ae(a,r,t){let i=t?.allowedRoots??[],n=await X(R.resolve(a)),s;try{s=await X(R.resolve(n,r))}catch(l){throw new I(q(l,`path ${JSON.stringify(r)}`))}if(ae(n,s)||await Ee(i,s)!==void 0)return s;let c=i.length?"the session's working directory and its other permitted directories":"the session's working directory";throw new I(`path ${JSON.stringify(r)} is outside ${c}`)}async function be(a,r){let t=R.dirname(a),i=R.join(t,`.tmp-${process.pid}-${Bt.randomUUID()}`),n=await F.stat(a).then((c)=>c.mode&511,()=>{return}),s;try{if(s=await F.open(i,"wx",pt),n!==void 0)await s.chmod(n);await s.writeFile(r,"utf-8"),await s.sync(),await s.close(),s=void 0,await F.rename(i,a)}catch(c){if(s)await s.close().catch(()=>{});throw await F.unlink(i).catch(()=>{}),c}}function q(a,r){let t=Z(a);switch(t){case"ENOENT":return`${r}: no such file or directory`;case"EACCES":case"EPERM":return`${r}: permission denied`;case"ENOTDIR":return`${r}: not a directory`;case"EISDIR":return`${r}: is a directory`;case"ELOOP":return`${r}: too many levels of symbolic links`;case"ENAMETOOLONG":return`${r}: file name too long`;case"ENOSPC":return`${r}: no space left on device`;case"EMFILE":case"ENFILE":return`${r}: too many open files`;default:return`${r}: ${t!==void 0?`i/o error (${t})`:"i/o error"}`}}var k=Tt.promises,wt=Ci.promisify(Ri.execFile);async function _t(a){let{client:r,sessionId:t}=a;if(!r)return async()=>{};let i=L(r),n=a.session;if(!n){if(t===void 0)return async()=>{};i.warn("AgentToolContext.sessionId is deprecated and costs an extra session fetch; fetch the session once and set `session` instead",{component:"agent-tool-context"}),n=await r.beta.sessions.retrieve(t)}let s=R.resolve(a.workdir,"skills"),c=[];for(let l of n.agent.skills)try{let f=await r.beta.skills.versions.retrieve(l.version,{skill_id:l.skill_id}),h=R.basename(f.name.trim());if(h===""||h==="."||h==="..")h=l.skill_id;let d=R.resolve(s,h);if(d!==s&&!d.startsWith(s+R.sep)){i.warn("skill name escapes the skills dir; skipping",{component:"agent-tool-context",name:f.name});continue}let m=await r.beta.skills.versions.download(f.id,{skill_id:l.skill_id});await k.rm(d,{recursive:!0,force:!0}),await k.mkdir(d,{recursive:!0,mode:J}),c.push(d),await Ce(m,d),i.info("downloaded skill",{component:"agent-tool-context",skill_id:l.skill_id,version:f.id,dest:d})}catch(f){i.warn("failed to download skill",{component:"agent-tool-context",skill_id:l.skill_id,error:String(f)})}return async()=>{for(let l of c)await k.rm(l,{recursive:!0,force:!0}).catch((f)=>{i.warn("failed to clean up skill",{component:"agent-tool-context",dest:l,error:String(f)})})}}function gt(a){for(let r of a){let t=r.trim();if(!t)continue;if(R.isAbsolute(t)||t.split(/[\\/]/).includes(".."))throw new p(`refusing to extract unsafe archive member: ${t}`)}}var Me="skill archive listing is inconsistent; refusing to extract",St={unzip:new Set(["-","d","?"]),tar:new Set(["-","d","C"])};function xe(a){let r=a.split(`
3
- `);if(r[r.length-1]==="")r.pop();return r}function Et(a,r){return/^[\x20-\x7E]+$/.test(r)&&!/[\\^#]/.test(r)&&!(a==="unzip"&&r.startsWith("-"))}function bt(a,r,t){let i=xe(r),n=xe(t);if(i.length!==n.length)throw new p(Me);let s=[],c=[];return i.forEach((l,f)=>{if(St[a].has(n[f].charAt(0))){s.push(l);return}if(!Et(a,l))throw new p(`refusing to extract archive: cannot safely exclude member ${JSON.stringify(l)}`);c.push(l)}),{plain:s,special:c}}async function De(a){for(let r of await k.readdir(a,{withFileTypes:!0}))if(r.isDirectory())await De(R.join(a,r.name));else if(!r.isFile())throw new p(Me)}async function Oe(a,r){try{let{stdout:t}=await wt(a,r);return t}catch(t){if(Z(t)==="ENOENT")throw new p(`skill extraction requires the \`${a}\` command, but it was not found on PATH`);throw t}}function Ot(a){let r,t=!1;for(let i of a){let n=i.trim().split("/").filter((c)=>c!==""&&c!==".");if(n.length===0)continue;let s=n[0];if(r===void 0)r=s;else if(s!==r)return"";if(n.length>1)t=!0}return r!==void 0&&t?r:""}async function Ce(a,r){let t=R.join(r,`.skill-archive-${process.pid}-${Date.now()}`);if(!a.body)throw new p("skill download response had no body");await oo.promises.pipeline(oo.Readable.fromWeb(a.body),Tt.createWriteStream(t));let i=R.join(R.dirname(r),`.skill-stage-${process.pid}-${Date.now()}`),n=R.join(R.dirname(r),`.skill-exclude-${process.pid}-${Date.now()}`);try{let s=await vt(t,4),c=s.length>=4&&s[0]===80&&s[1]===75&&s[2]===3&&s[3]===4,l=c?"unzip":"tar",f=await Oe(l,c?["-Z1",t]:["-tf",t]),h=await Oe(l,c?["-Z","--h","--t",t]:["-tvf",t]),{plain:d,special:m}=bt(l,f,h);gt([...d,...m]);let _=Ot(d);if(await k.mkdir(i,{recursive:!0,mode:J}),d.length>0)await Oe(l,await Mt(l,t,i,m,n));await De(i);let E=_?R.join(i,_):i,D=await k.readdir(E).catch((M)=>{throw Z(M)==="ENOENT"?new p(Me):M});for(let M of D)await k.rename(R.join(E,M),R.join(r,M))}finally{await k.rm(t,{force:!0}),await k.rm(n,{force:!0}),await k.rm(i,{recursive:!0,force:!0})}}async function Mt(a,r,t,i,n){let s=i.map((c)=>c.replace(/[*?[\\]/g,"\\$&"));if(a==="unzip")return["-oq",r,"-d",t,...s.length>0?["-x",...s]:[]];if(s.length===0)return["-xf",r,"-C",t];return await k.writeFile(n,s.join(`
4
- `)+`
5
- `,{flag:"wx",mode:384}),["-xf",r,"-C",t,"-X",n]}async function vt(a,r){let t=await k.open(a,"r");try{let i=Buffer.alloc(r),{bytesRead:n}=await t.read(i,0,r,0);return i.subarray(0,n)}finally{await t.close()}}var g=Tt.promises,z=Tt.constants,Ue=448,kt=384,It=448,ke=z.O_NOFOLLOW??0,Rt=z.O_NONBLOCK??0,y=(()=>{class a extends Error{constructor(r,t){super(`path ${JSON.stringify(t)} ${r}`);this.name="FileStoreError",this.reason=r,this.relPath=t}}return a.ESCAPES_ROOT="escapes the store root",a.IS_A_SYMLINK="is a symlink",a.NOT_A_FILE="is not a regular file",a.NOT_A_DIRECTORY="is not a directory",a.NOT_UTF8="is not valid utf-8",a.MOVE_DESTINATION_EXISTS="already exists",a})();function Ie(a){return a.startsWith("/")&&!a.split("/").includes("..")}var ve=(()=>{class a{constructor(r,t,i=!1){this.hashes=new Map,this.rootPath=r,this.removedOnDispose=t,this.decoder=i?new TextDecoder("utf-8",{fatal:!0}):void 0}static async open(r,t){if(!Nt())throw Error("FileStore requires O_NOFOLLOW support on this platform");let i=!1;try{await g.lstat(r)}catch(n){if(n.code!=="ENOENT")throw n;i=!0}return new a(R.resolve(r),i,t?.utf8??!1)}async createRoot(){await Lt(this.rootPath)}root(){return{path:this.rootPath,removedOnDispose:this.removedOnDispose}}async dispose(){if(!this.removedOnDispose)return;await g.rm(this.rootPath,{recursive:!0,force:!0})}async put(r,t,i){let n=r.replace(/\\/g,"/");if(n.endsWith("/")||n.endsWith("/.")||n===""||n===".")throw new y(y.NOT_A_FILE,r);let s=this.resolveUnderRoot(r),c=typeof t==="string"?nr(t):t;this.requireUtf8(r,c),await Fe(this.rootPath,R.dirname(s)),await $t(s,c,i?.executable??!1)}async get(r){let t=this.resolveUnderRoot(r),i;try{i=await je(r,t)}catch(s){if(s.code==="ENOENT")return null;throw s}let n;try{let s=await i.readFile();n=new Uint8Array(s.buffer,s.byteOffset,s.byteLength)}finally{await i.close()}return this.requireUtf8(r,n),n}async ls(r="/"){let t=this.resolveUnderRoot(r);return new Set((await Pe(this.rootPath,r,t)).map(([i])=>i))}async findSymlinks(r="/"){let t=this.resolveUnderRoot(r);return xt(this.rootPath,r,t)}async hashtree(r="/"){let t=this.resolveUnderRoot(r),i=ce.nowNs(),n=Object.create(null);for(let[s,c]of await Pe(this.rootPath,r,t)){let l=await this.hashViaCache(s,c,i);if(l!==null)n[s]=l}return n}async hashFile(r){let t=this.resolveUnderRoot(r),i;try{i=await g.lstat(t,{bigint:!0})}catch(s){if(s.code==="ENOENT")return null;throw s}if(i.isSymbolicLink())throw new y(y.IS_A_SYMLINK,r);if(!i.isFile())throw new y(y.NOT_A_FILE,r);let n=R.relative(this.rootPath,t).split(R.sep).join("/");return this.hashViaCache(n,t,ce.nowNs())}async move(r,t){let i=this.resolveUnderRoot(r),n=this.resolveUnderRoot(t);if(i===this.rootPath||n===this.rootPath)return;if(await g.stat(n).then(()=>!0,()=>!1))throw new y(y.MOVE_DESTINATION_EXISTS,t);await Fe(this.rootPath,R.dirname(n)),await g.rename(i,n)}async remove(r){let t=this.resolveUnderRoot(r);if(t===this.rootPath)return;let i;try{i=await g.lstat(t,{bigint:!0})}catch(n){if(n.code==="ENOENT")return;throw n}if(i.isDirectory())await g.rm(t,{recursive:!0,force:!0});else try{await g.unlink(t)}catch(n){if(n.code!=="ENOENT")throw n}}resolveUnderRoot(r){let t=r.replace(/\\/g,"/").replace(/^\/+/,""),i=t.split("/").filter((n)=>n!==""&&n!==".");if(R.posix.isAbsolute(t)||i.includes(".."))throw new y(y.ESCAPES_ROOT,r);return i.length===0?this.rootPath:R.join(this.rootPath,...i)}requireUtf8(r,t){if(!this.decoder)return;try{this.decoder.decode(t)}catch{throw new y(y.NOT_UTF8,r)}}async hashViaCache(r,t,i){let n;try{n=await g.lstat(t,{bigint:!0})}catch(l){if(l.code==="ENOENT")return null;throw l}if(!n.isFile())return null;let s=this.hashes.get(r),c;if(s!==void 0&&Ct(s,n))c=s.sha;else try{c=await ce.hashFile(t)}catch(l){let f=l.code;if(f==="ENOENT"||l instanceof y)return null;if(f==="ELOOP"||f==="EMLINK")return null;throw l}if(Ft(n,i))this.hashes.set(r,{mtimeNs:n.mtimeNs,ctimeNs:n.ctimeNs,size:n.size,sha:c});return c}}return a.isPathLegal=Ie,a})();function Nt(){return ke!==0}async function Lt(a){let r=[],t=a;for(;;){try{await g.stat(t);break}catch(n){let s=n.code;if(s!=="ENOENT"&&s!=="ENOTDIR"&&s!=="ELOOP")throw n}r.push(t);let i=R.dirname(t);if(i===t)break;t=i}for(let i of r.reverse())try{await g.mkdir(i,{mode:Ue})}catch(n){if(n.code!=="EEXIST")throw n}}async function Fe(a,r){let t=R.relative(a,r);if(t==="")return;let i=a;for(let n of t.split(R.sep)){i=R.join(i,n);try{await g.mkdir(i,{mode:Ue})}catch(s){if(s.code!=="EEXIST")throw s}}}async function $t(a,r,t){let i=t?It:kt,n=R.join(R.dirname(a),`.fs-${Bt.randomBytes(8).toString("hex")}.tmp`),s;try{s=await g.open(n,z.O_WRONLY|z.O_CREAT|z.O_EXCL|ke,i),await s.writeFile(r),await s.close(),s=void 0,await g.rename(n,a)}catch(c){if(s)await s.close().catch(()=>{});throw await g.unlink(n).catch(()=>{}),c}}async function je(a,r){let t;try{t=await g.open(r,z.O_RDONLY|ke|Rt)}catch(i){let n=i.code;if(n==="ELOOP"||n==="EMLINK")throw new y(y.IS_A_SYMLINK,a);throw i}try{if(!(await t.stat()).isFile())throw new y(y.NOT_A_FILE,a)}catch(i){throw await t.close().catch(()=>{}),i}return t}async function At(a){let r=Bt.createHash("sha256"),t=await je(R.basename(a),a),i=new Uint8Array(1048576);try{for(;;){let{bytesRead:n}=await t.read(i,0,i.length);if(n===0)break;r.update(i.subarray(0,n))}}finally{await t.close()}return r.digest("hex")}async function Pe(a,r,t){if(!await Dt(r,t))return[];let i=[];return await Be(t,(n,s)=>{if(s.isFile())i.push([R.relative(a,n).split(R.sep).join("/"),n])}),i.sort(),i}async function xt(a,r,t){let i=(c)=>R.relative(a,c).split(R.sep).join("/"),n;try{n=await g.lstat(t,{bigint:!0})}catch(c){let l=c.code;if(l==="ENOENT"||l==="ENOTDIR")return new Set;throw c}if(n.isSymbolicLink())return new Set([i(t)]);if(!n.isDirectory())throw new y(y.NOT_A_DIRECTORY,r);let s=new Set;return await Be(t,(c,l)=>{if(l.isSymbolicLink())s.add(i(c))}),s}async function Dt(a,r){let t;try{t=await g.lstat(r,{bigint:!0})}catch(i){let n=i.code;if(n==="ENOENT"||n==="ENOTDIR")return!1;throw i}if(!t.isDirectory())throw new y(y.NOT_A_DIRECTORY,a);return!0}async function Be(a,r){let t=[a];while(t.length){let i=t.pop(),n;try{n=await g.readdir(i,{withFileTypes:!0})}catch(s){if(s.code==="ENOENT")continue;throw s}for(let s of n){let c=R.join(i,s.name);if(r(c,s),s.isDirectory()&&!s.isSymbolicLink())t.push(c)}}}function Ct(a,r){return r.mtimeNs===a.mtimeNs&&r.ctimeNs===a.ctimeNs&&r.size===a.size}function Ft(a,r){return(a.mtimeNs>a.ctimeNs?a.mtimeNs:a.ctimeNs)<r-ce.timestampTrustMarginNs}var Pt=2000000000n,ce={hashFile:At,timestampTrustMarginNs:Pt,nowNs:()=>BigInt(Date.now())*1000000n},Ye=ve,We=Symbol.asyncDispose;if(We)Object.defineProperty(ve.prototype,We,{value:ve.prototype.dispose,configurable:!0,writable:!0});var w,T,le,Q,fe,u,G,de,A,qe,he,ze,Ge,Re,Ne,He,Ke,Te,Ve,Xe,me,ue,Je,Ze,Wt=30000,K=".anthropic-memory-store",et=1;function Qe(a){return Bt.createHash("sha256").update(`version ${et}
6
- ${a}`,"utf-8").digest("hex")}var Ut=30000,jt=100,Yt=20,qt=16,zt=32,Gt=8,Kt=50;class P extends p{constructor(a,r){super(a);if(this.name="SessionMemoryError",r!==void 0)this.cause=r}}class tt{constructor(a,r,t){this.mode=a,this.cap=r,this.waiveWindow=t,this.attempted=0,this.capped=0,this.suppressed=0}takeSlot(){if(this.attempted>=this.cap)return this.capped++,!1;return this.attempted++,!0}}var Vt=(()=>{class a{constructor(r,t){w.add(this),T.set(this,void 0),le.set(this,void 0),Q.set(this,void 0),fe.set(this,void 0),u.set(this,void 0),G.set(this,void 0),de.set(this,!1),A.set(this,[]),o(this,T,r,"f"),o(this,le,t.workdir,"f"),o(this,Q,t.syncIntervalMs??Ui,"f"),xn(e(this,Q,"f"),"syncIntervalMs"),o(this,fe,t.syncDeletions??"enabled","f"),o(this,u,L(r),"f"),o(this,G,Date.now(),"f")}get roots(){return e(this,A,"f").map((r)=>r.files.root().path)}get readOnlyRoots(){return e(this,A,"f").filter((r)=>r.readOnly).map((r)=>r.files.root().path)}async download(r){for(let t of r.resources){if(t.type!=="memory_store")continue;let i=e(this,w,"m",qe).call(this,t),n;try{if(n={memoryStoreId:t.memory_store_id,files:await Ye.open(i,{utf8:!0}),readOnly:t.access==="read_only",baseline:new Map,refusedShas:new Map,pendingDeletes:new Map},!n.files.root().removedOnDispose)throw new P(`something already exists at the memory store's path: ${i} (memory_store_id=${t.memory_store_id}); it must not exist when the session starts`);try{await n.files.createRoot()}catch(s){if(!H(s))throw s;throw new P(`cannot create the memory store's folder: ${i} (memory_store_id=${t.memory_store_id}): ${s}; the worker host must make this mount path writable`,s)}await e(this,w,"m",Ne).call(this,n),e(this,u,"f").info("downloaded memories",{count:n.baseline.size,memory_store_id:n.memoryStoreId,dest:n.files.root().path}),e(this,A,"f").push(n)}catch(s){if(n)await n.files.dispose().catch(()=>{});if(s instanceof P)throw s;throw new P(`failed to download memory store memory_store_id=${t.memory_store_id}: ${s}`,s)}}o(this,G,Date.now(),"f")}async finish(){if(e(this,de,"f"))throw new p("finish() was already called: it is the session's last sync and runs once");o(this,de,!0,"f"),await this.syncAll(!0)}async syncAll(r){await Promise.all(e(this,A,"f").map((t)=>e(this,w,"m",ze).call(this,t,r))),o(this,G,Date.now(),"f")}async syncIfDue(){if(Date.now()-e(this,G,"f")<e(this,Q,"f"))return;await this.syncAll(!1)}async flushWrites(r){await Promise.all(e(this,A,"f").map((t)=>e(this,w,"m",Ge).call(this,t,r)))}async dispose(){for(let r of e(this,A,"f")){let t=r.files.root();try{let i=await e(this,w,"m",he).call(this,r);if(!i.markerOk&&Object.keys(i.files).length>0){e(this,u,"f").warn(`${i.distrustReason}; leaving the memory store folder on disk`,{root:t.path,memory_store_id:r.memoryStoreId});continue}await r.files.dispose()}catch(i){if(!(i instanceof y)&&!H(i))throw i;e(this,u,"f").warn("failed to remove the memory store folder",{root:r.files.root().path,memory_store_id:r.memoryStoreId,error:String(i)});continue}if(t.removedOnDispose)e(this,u,"f").info("removed memory store dir",{dest:t.path,memory_store_id:r.memoryStoreId})}}}return T=new WeakMap,le=new WeakMap,Q=new WeakMap,fe=new WeakMap,u=new WeakMap,G=new WeakMap,de=new WeakMap,A=new WeakMap,w=new WeakSet,qe=function(t){if(t.mount_path){if(!Ie(t.mount_path))throw new P(`memory store mount_path is not a clean absolute path: ${JSON.stringify(t.mount_path)} (memory_store_id=${t.memory_store_id})`);return t.mount_path}return R.join(e(this,le,"f"),"memory",t.name||t.memory_store_id)},he=async function(t){let i=await t.files.hashtree(),n=i[K];if(delete i[K],n===Qe(t.memoryStoreId))return{files:i,markerOk:!0,distrustReason:null};return{files:i,markerOk:!1,distrustReason:n!==void 0?"the marker file does not match this store":"the marker file is gone"}},ze=async function(t,i){try{let n=await e(this,w,"m",he).call(this,t),s=n.files;if(!n.markerOk){if(Object.keys(s).length>0){e(this,u,"f").warn(`${n.distrustReason}; leaving the memory store folder as found and not syncing`,{root:t.files.root().path,memory_store_id:t.memoryStoreId});return}await e(this,w,"m",Re).call(this,t,"the folder or its marker is gone");return}if(Object.keys(s).length===0&&t.baseline.size>1){await e(this,w,"m",Re).call(this,t,"every memory file is gone at once");return}let c=new Map;for await(let[m,_]of e(this,w,"m",me).call(this,t.memoryStoreId))c.set(m,_);let l=new tt(e(this,fe,"f"),Math.max(Gt,Math.min(Kt,Math.floor(t.baseline.size/4))),i),f=[],h=new Map,d=[...new Set([...c.keys(),...Object.keys(s),...t.baseline.keys()])].sort();for(let m of d){let _=c.get(m),E=s[m],D=t.baseline.get(m),M;if(E===void 0&&D!==void 0&&_!==void 0&&_.content_sha256===D&&!t.readOnly)M=await e(this,w,"m",Je).call(this,t,m,_,D,l);else M=await e(this,w,"m",He).call(this,t,m,_,E,f);if(M!==void 0)h.set(m,M)}if(t.baseline=h,await e(this,w,"m",Ve).call(this,t,f),l.suppressed>0)e(this,u,"f").debug("remote deletes are disabled; locally deleted memories stay on the server",{count:l.suppressed,memory_store_id:t.memoryStoreId});if(l.capped>0)e(this,u,"f").warn(`delete cap reached: ${l.mode==="log_only"?"would send":"sent"} ${l.attempted} deletes, held ${l.capped} for later syncs`,{memory_store_id:t.memoryStoreId})}catch(n){e(this,u,"f").warn("memory sync failed",{memory_store_id:t.memoryStoreId,error:String(n)})}},Ge=async function(t,i){let n=new Map,s=new Set,c=async()=>{if(t.readOnly)return;let l=await e(this,w,"m",he).call(this,t);if(!l.markerOk){e(this,u,"f").warn(`${l.distrustReason}; not uploading anything from the memory store folder`,{root:t.files.root().path,memory_store_id:t.memoryStoreId});return}for(let[d,m]of Object.entries(l.files))if(m!==t.baseline.get(d)&&t.refusedShas.get(d)!==m)n.set(d,m),s.add(d);if(n.size===0||i?.aborted)return;let f=new Map;for await(let[d,m]of e(this,w,"m",me).call(this,t.memoryStoreId)){if(i?.aborted)return;f.set(d,m)}let h=[];for(let d of[...n.keys()].sort()){let m=n.get(d),_=t.baseline.get(d),E=f.get(d);if(E!==void 0&&E.content_sha256===m){t.baseline.set(d,E.content_sha256),s.delete(d);continue}if(E!==void 0&&E.content_sha256!==_){e(this,u,"f").warn("memory changed both locally and remotely; the flush leaves the remote version",{path:d,memory_store_id:t.memoryStoreId}),s.delete(d);continue}h.push([d,m,E])}await e(this,w,"m",Xe).call(this,t,h,s,i)};try{if(await Xt(c(),i),i?.aborted&&s.size>0)e(this,u,"f").warn(`memory flush cut off part-way; ${s.size} of ${n.size} changed files had not finished uploading`,{memory_store_id:t.memoryStoreId})}catch(l){e(this,u,"f").warn("memory flush failed",{memory_store_id:t.memoryStoreId,error:String(l)})}},Re=async function(t,i){e(this,u,"f").warn(`${i}; re-downloading the memory store folder instead of syncing`,{root:t.files.root().path,memory_store_id:t.memoryStoreId}),await t.files.createRoot(),await e(this,w,"m",Ne).call(this,t)},Ne=async function(t){t.baseline=new Map,t.pendingDeletes.clear(),await t.files.put(K,`version ${et}
7
- ${t.memoryStoreId}`);for await(let[i,n]of e(this,w,"m",me).call(this,t.memoryStoreId,"full"))if(await e(this,w,"m",Te).call(this,t,i,n.content??""))t.baseline.set(i,n.content_sha256)},He=async function(t,i,n,s,c){let l=t.baseline.get(i);if(s!==void 0)t.pendingDeletes.delete(i);if(!n){if(s===void 0){t.pendingDeletes.delete(i);return}if(l!==void 0){if(s===l){let _=await e(this,w,"m",Ke).call(this,t,i,l);if(_===void 0)return;if(_===l)return l;s=_}if(t.readOnly)e(this,u,"f").warn("memory deleted remotely but edited locally; keeping the file, which a read-only store cannot push",{path:i,memory_store_id:t.memoryStoreId});else if(t.refusedShas.get(i)!==s)e(this,u,"f").info("memory deleted remotely but edited locally; re-creating it from the file",{path:i,memory_store_id:t.memoryStoreId})}if(t.readOnly)return;if(t.refusedShas.get(i)===s)return;return await e(this,w,"m",ue).call(this,t,i,s,void 0)}let f=n.content_sha256,h=f!==l,d=s!==void 0&&s!==l&&s!==f,m=!t.readOnly&&d;if(s===void 0&&l!==void 0){if(h)e(this,u,"f").warn("memory deleted locally but changed remotely; restoring the remote version",{path:i,memory_store_id:t.memoryStoreId}),t.pendingDeletes.delete(i),c.push([i,n]);return l}if(h){if(s===f)return f;if(d)e(this,u,"f").warn("memory changed both locally and remotely; keeping the remote version",{path:i,memory_store_id:t.memoryStoreId});return c.push([i,n]),l}if(m){if(t.refusedShas.get(i)===s)return f;return await e(this,w,"m",ue).call(this,t,i,s,n)??f}return f},Ke=async function(t,i,n){let s;try{s=await t.files.hashFile(i)}catch(c){if(!(c instanceof y)&&!H(c))throw c;return n}if(s===null)return;if(s!==n)return s;try{await t.files.remove(i)}catch(c){if(!(c instanceof y)&&!H(c))throw c;return e(this,u,"f").warn("failed to remove memory deleted remotely",{path:i,memory_store_id:t.memoryStoreId,error:String(c)}),n}return},Te=async function(t,i,n){try{await t.files.put(i,n)}catch(s){if(!(s instanceof y)&&!H(s))throw s;return e(this,u,"f").warn("failed to write memory",{path:i,memory_store_id:t.memoryStoreId,error:String(s)}),!1}return!0},Ve=async function(t,i){if(i.length===0)return;let n=async(l,f)=>{let h;try{h=await e(this,T,"f").beta.memoryStores.memories.retrieve(f.id,{memory_store_id:t.memoryStoreId,view:"full"})}catch(d){if(ye(d,404))return;e(this,u,"f").warn("failed to fetch memory content",{path:l,memory_store_id:t.memoryStoreId,error:String(d)});return}if(await e(this,w,"m",Te).call(this,t,l,h.content??""))t.baseline.set(l,h.content_sha256)},s=i[Symbol.iterator](),c=async()=>{for(let[l,f]of s)await n(l,f)};await Promise.all(Array.from({length:Math.min(qt,i.length)},c))},Xe=async function(t,i,n,s){let c=i[Symbol.iterator](),l=async()=>{for(let[f,h,d]of c){if(s?.aborted)return;let m=await e(this,w,"m",ue).call(this,t,f,h,d);if(n.delete(f),m!==void 0)t.baseline.set(f,m)}};await Promise.all(Array.from({length:Math.min(zt,i.length)},l))},me=async function*(t,i="basic"){let n=i==="basic"?jt:Yt;for await(let s of e(this,T,"f").beta.memoryStores.memories.list(t,{view:i,limit:n})){if(s.type!=="memory")continue;let c=s.path.replace(/^\/+/,"");if(c===K){e(this,u,"f").warn("the server listed the reserved marker path; skipping",{path:s.path,memory_store_id:t});continue}yield[c,s]}},ue=async function r(t,i,n,s){try{let c=await t.files.get(i);if(c===null)return;let l=Ht(c),f=s?await e(this,T,"f").beta.memoryStores.memories.update(s.id,{memory_store_id:t.memoryStoreId,content:l,precondition:{type:"content_sha256",content_sha256:s.content_sha256}}):await e(this,T,"f").beta.memoryStores.memories.create(t.memoryStoreId,{path:"/"+i,content:l});return t.refusedShas.delete(i),f.content_sha256}catch(c){if(s&&ye(c,404))return await e(this,w,"m",r).call(this,t,i,n,void 0);let l=c instanceof y||ye(c,400)||ye(c,413);if(s&&ye(c,409))e(this,u,"f").warn("memory changed both locally and remotely; the upload was refused and the local edit loses",{path:i,memory_store_id:t.memoryStoreId});else if(l&&n!==void 0)t.refusedShas.set(i,n),e(this,u,"f").warn("the server rejected this memory file, so it stays un-synced until its content changes",{path:i,memory_store_id:t.memoryStoreId,rejection:String(c)});else e(this,u,"f").warn("failed to upload memory",{path:i,memory_store_id:t.memoryStoreId,error:String(c)});return}},Je=async function(t,i,n,s,c){if(c.mode==="disabled")return c.suppressed++,s;let l=t.pendingDeletes.get(i);if(l===void 0)l=Date.now(),t.pendingDeletes.set(i,l);if(!c.waiveWindow&&Date.now()-l<Ut)return s;let f,h;try{f=await t.files.hashFile(K)===Qe(t.memoryStoreId),h=await t.files.hashFile(i)===null}catch(m){if(!(m instanceof y)&&!H(m))throw m;f=h=!1}if(!f)return s;if(!h)return t.pendingDeletes.delete(i),s;if(!c.takeSlot())return s;if(c.mode==="log_only")return e(this,u,"f").info("log-only: sync would delete this memory on the server",{path:i,memory_store_id:t.memoryStoreId}),s;let d=await e(this,w,"m",Ze).call(this,t,i,n,s);if(d===void 0)t.pendingDeletes.delete(i);return d},Ze=async function(t,i,n,s){try{await e(this,T,"f").beta.memoryStores.memories.delete(n.id,{memory_store_id:t.memoryStoreId,expected_content_sha256:s})}catch(c){if(ye(c,404))return;if(ye(c,409)||ye(c,412))e(this,u,"f").warn("memory deleted locally but changed remotely; keeping the remote version",{path:i,memory_store_id:t.memoryStoreId});else e(this,u,"f").warn("failed to delete memory",{path:i,memory_store_id:t.memoryStoreId,error:String(c)});return s}e(this,u,"f").info("propagated local deletion",{path:i,memory_store_id:t.memoryStoreId});return},a})();function H(a){return typeof a==="object"&&a!==null&&typeof a.code==="string"}async function Xt(a,r){if(!r){await a;return}let t,i=new Promise((n)=>{if(t=n,r.aborted)n()});r.addEventListener("abort",t,{once:!0});try{await Promise.race([a,i])}finally{r.removeEventListener("abort",t)}}var pe,b,v,ee,W,N,Le,we,te,_e,ge,U,j,V,B,re,x,rt,it,nt=102400,lt=120000,Jt=262144,Zt=65536,ot=Buffer.from(`
8
- `),ie=102400,Qt=2000,er=200;class ft extends p{constructor(a){super(`bash command timed out after ${a}ms`);this.name="BashTimeoutError",this.timeoutMs=a}}var tr=/\x1b\[[0-9;?]*[ -/]*[@-~]/g,rr=S.glob;function dt(a){return a===void 0?Jt:a}function Y(a){if(a===void 0)return;throw new p("The `unrestrictedPaths` option you passed to the agent toolset (AgentToolContext) is no longer supported. The toolset's file tools (read, write, edit, glob, grep) are now always confined to the working directory plus the directories listed in `allowedRoots`. Remove `unrestrictedPaths` from your context; to let the file tools reach any other directory, add it to `allowedRoots`.")}function Vr(a){return[ar(a),cr(a),dr(a),hr(a),ur(a),pr(a)]}async function oe(a,r){return Y(a.unrestrictedPaths),Ae(a.workdir,r,{allowedRoots:a.allowedRoots??[]})}function ht(a,r){return Ee(a.readOnlyRoots??[],r)}function or(){let a={};for(let[r,t]of Object.entries(process.env)){if(r.startsWith("ANTHROPIC_"))continue;a[r]=t}return a}var sr=(()=>{class a{constructor(r,t=or()){pe.add(this),b.set(this,void 0),v.set(this,""),ee.set(this,!1),W.set(this,!1),N.set(this,null),o(this,b,$e.spawn("/bin/bash",["--noprofile","--norc"],{cwd:r,env:{...t,PS1:"",PS2:"",TERM:"dumb"},stdio:["pipe","pipe","pipe"],detached:!0}),"f"),e(this,b,"f").stdout.setEncoding("utf8"),e(this,b,"f").stderr.setEncoding("utf8"),e(this,b,"f").stdout.on("data",(i)=>e(this,pe,"m",Le).call(this,i)),e(this,b,"f").stderr.on("data",(i)=>e(this,pe,"m",Le).call(this,i)),e(this,b,"f").once("close",()=>{o(this,W,!0,"f");let i=e(this,N,"f");o(this,N,null,"f"),i?.resolve()})}get closed(){return e(this,W,"f")}async exec(r,t={}){if(e(this,W,"f"))throw new p("bash session terminated");let i=t.timeoutMs??lt,n=t.signal;n?.throwIfAborted(),o(this,v,"","f"),o(this,ee,!1,"f");let s=`__ANT_CMD_${at.randomUUID()}_DONE__`,c=`${s.slice(0,8)}''${s.slice(8)}`,l=`{ ${r}
9
- } </dev/null 2>&1; printf '\\n${c}%d\\n' $?
10
- `;if(e(this,b,"f").stdin.write(l),e(this,v,"f").indexOf(s)<0){let{promise:E,resolve:D}=ir();o(this,N,{sentinel:s,resolve:D},"f");let M,se;try{await Promise.race([E,new Promise((ut,Se)=>{M=setTimeout(()=>Se(new ft(i)),i)}),new Promise((ut,Se)=>{if(!n)return;se=()=>Se(n.reason),n.addEventListener("abort",se,{once:!0})})])}finally{if(M)clearTimeout(M);if(se&&n)n.removeEventListener("abort",se);o(this,N,null,"f")}}let f=e(this,v,"f").indexOf(s);if(f<0)throw new p("bash session terminated");let d=e(this,v,"f").slice(f+s.length).match(/^(-?\d+)/),m=d?parseInt(d[1],10):-1,_=e(this,v,"f").slice(0,f).replace(tr,"").replace(/\n+$/,"");if(e(this,ee,"f"))_=`[output truncated]
11
- ${_}`;return{output:_,exitCode:m}}close(){if(e(this,W,"f"))return;o(this,W,!0,"f");let r=e(this,N,"f");o(this,N,null,"f"),r?.resolve(),e(this,b,"f").stdout.destroy(),e(this,b,"f").stderr.destroy(),e(this,b,"f").stdin.destroy();try{process.kill(-e(this,b,"f").pid,"SIGKILL")}catch{e(this,b,"f").kill("SIGKILL")}e(this,b,"f").unref()}}return b=new WeakMap,v=new WeakMap,ee=new WeakMap,W=new WeakMap,N=new WeakMap,pe=new WeakSet,Le=function(t){if(o(this,v,e(this,v,"f")+t,"f"),e(this,v,"f").length>nt)o(this,v,e(this,v,"f").slice(e(this,v,"f").length-nt),"f"),o(this,ee,!0,"f");if(e(this,N,"f")&&e(this,v,"f").indexOf(e(this,N,"f").sentinel)>=0){let i=e(this,N,"f");o(this,N,null,"f"),i.resolve()}},a})();function ar(a){Y(a.unrestrictedPaths);let r,t=Promise.resolve();return C({name:"bash",description:"Run a bash command in a persistent shell. State (cwd, env vars) persists across calls.",inputSchema:{type:"object",properties:{command:{type:"string",description:"The command to run"},restart:{type:"boolean",description:"Restart the persistent shell before running"},timeout_ms:{type:"integer",description:"Per-call timeout in milliseconds"}}},run:async({command:i,restart:n,timeout_ms:s},c)=>{let l=t,f=ir();t=f.promise;try{await l}catch{}try{if(n)r?.close(),r=void 0;if(!i){if(n)return"bash session restarted";throw new I("bash: command is required")}r??(r=new sr(a.workdir,a.env));try{let{output:h,exitCode:d}=await r.exec(i,{timeoutMs:s??lt,signal:c?.signal});if(d!==0)throw new I(h||`exit ${d}`);return h}catch(h){if(h instanceof I)throw h;throw r.close(),r=void 0,new I(`bash: ${h instanceof Error?h.message:String(h)}`)}}finally{f.resolve()}},close:()=>{r?.close(),r=void 0}})}function cr(a){return Y(a.unrestrictedPaths),C({name:"read",description:"Read a UTF-8 text file relative to the workdir.",inputSchema:{type:"object",properties:{file_path:{type:"string"},view_range:{type:"array",items:{type:"integer"},description:"[start_line, end_line] 1-indexed inclusive"}},required:["file_path"]},run:async({file_path:r,view_range:t})=>{if(!r)throw new I("read: file_path is required");let i=await oe(a,r);if(t?.length&&t.length!==2)throw new I("read: view_range must be [start_line, end_line]");let n;try{let d=await S.stat(i);if(!d.isFile())throw new I(`read: ${r} is not a regular file`);let m=dt(a.maxFileBytes);if(m!==null&&d.size>m){if(!t?.length)throw new I(`read: ${r} is ${d.size} bytes, exceeds ${m}-byte limit. Use the view_range parameter to read specific line ranges, e.g. view_range: [1, 500].`);let[_,E]=t;return await lr(i,r,_,E,m)}n=await S.readFile(i,"utf8")}catch(d){if(d instanceof I)throw d;throw new I(`read: ${q(d,r)}`)}if(!t?.length)return n;let[s,c]=t,l=n.split(`
12
- `),f=Math.max(0,s-1),h=c>0?c:l.length;return l.slice(f,h).join(`
13
- `)}})}async function lr(a,r,t,i,n){let s=new fr(r,t,i,n);if(s.rangeIsEmpty())return"";let c=ne.createReadStream(a,{highWaterMark:Zt});try{for await(let l of c)if(s.collectFrom(l),s.rangeIsCollected())break}finally{c.destroy()}return s.text()}var fr=(()=>{class a{constructor(r,t,i,n){we.add(this),te.set(this,void 0),_e.set(this,void 0),ge.set(this,void 0),U.set(this,void 0),j.set(this,void 0),V.set(this,void 0),B.set(this,0),re.set(this,[]),x.set(this,0),o(this,te,r,"f"),o(this,_e,t,"f"),o(this,ge,i,"f"),o(this,U,Math.max(0,t-1),"f"),o(this,j,i>0?i:1/0,"f"),o(this,V,n,"f")}rangeIsEmpty(){return e(this,j,"f")<=e(this,U,"f")}rangeIsCollected(){return e(this,B,"f")>=e(this,j,"f")}collectFrom(r){var t;let i=0;while(i<r.length&&!this.rangeIsCollected()){let n=r.indexOf(10,i),s=n<0?r.length:n;if(e(this,B,"f")>=e(this,U,"f"))e(this,we,"m",rt).call(this,r.subarray(i,s),n>=0);if(n<0)break;o(this,B,(t=e(this,B,"f"),t++,t),"f"),i=n+1}}text(){return Buffer.concat(e(this,re,"f"),e(this,x,"f")).toString("utf8")}}return te=new WeakMap,_e=new WeakMap,ge=new WeakMap,U=new WeakMap,j=new WeakMap,V=new WeakMap,B=new WeakMap,re=new WeakMap,x=new WeakMap,we=new WeakSet,rt=function(t,i){if(e(this,re,"f").push(t),o(this,x,e(this,x,"f")+t.length,"f"),i&&e(this,B,"f")+1<e(this,j,"f"))e(this,re,"f").push(ot),o(this,x,e(this,x,"f")+ot.length,"f");if(e(this,x,"f")>e(this,V,"f"))throw e(this,we,"m",it).call(this)},it=function(){if(e(this,j,"f")-e(this,U,"f")===1)return new I(`read: line ${e(this,U,"f")+1} of ${e(this,te,"f")} alone exceeds ${e(this,V,"f")}-byte limit. The read tool cannot return part of a line, so view_range cannot narrow this further.`);return new I(`read: view_range [${e(this,_e,"f")}, ${e(this,ge,"f")}] of ${e(this,te,"f")} exceeds ${e(this,V,"f")}-byte limit. Narrow the view_range to read a smaller portion.`)},a})();function dr(a){return Y(a.unrestrictedPaths),C({name:"write",description:"Write a UTF-8 text file relative to the workdir, creating parent directories as needed.",inputSchema:{type:"object",properties:{file_path:{type:"string"},content:{type:"string"}},required:["file_path","content"]},run:async({file_path:r,content:t})=>{if(!r)throw new I("write: file_path is required");let i=await oe(a,r),n=await ht(a,i);if(n!==void 0)throw new I(`write: ${r} is inside read-only directory ${n}`);try{await S.mkdir(O.dirname(i),{recursive:!0,mode:J}),await be(i,t??"")}catch(s){throw new I(`write: ${q(s,r)}`)}return`wrote ${Buffer.byteLength(t??"")} bytes to ${r}`}})}function hr(a){return Y(a.unrestrictedPaths),C({name:"edit",description:"Replace old_string with new_string in a file. old_string must be unique unless replace_all.",inputSchema:{type:"object",properties:{file_path:{type:"string"},old_string:{type:"string"},new_string:{type:"string"},replace_all:{type:"boolean"}},required:["file_path","old_string","new_string"]},run:async({file_path:r,old_string:t,new_string:i,replace_all:n})=>{if(!r)throw new I("edit: file_path is required");if(!t)throw new I("edit: old_string is required");let s=await oe(a,r),c=await ht(a,s);if(c!==void 0)throw new I(`edit: ${r} is inside read-only directory ${c}`);let l;try{let d=await S.stat(s);if(!d.isFile())throw new I(`edit: ${r} is not a regular file`);let m=dt(a.maxFileBytes);if(m!==null&&d.size>m)throw new I(`edit: ${r} is ${d.size} bytes, exceeds ${m}-byte limit. The edit tool loads the whole file and cannot modify a file this large.`);l=await S.readFile(s,"utf8")}catch(d){if(d instanceof I)throw d;throw new I(`edit: ${q(d,r)}`)}let f=l.split(t).length-1;if(f===0)throw new I(`edit: old_string not found in ${r}`);let h;if(n)h=l.split(t).join(i);else{if(f>1)throw new I(`edit: old_string appears ${f} times in ${r} (must be unique)`);h=l.replace(t,()=>i)}try{await be(s,h)}catch(d){throw new I(`edit: write: ${q(d,r)}`)}return`edited ${r} (${n?f:1} replacement(s))`}})}function mr(a){return a.split(/[\\/{},]/).includes("..")}function ur(a){return Y(a.unrestrictedPaths),C({name:"glob",description:"Match files under the workdir against a glob pattern. Results are mtime-sorted, newest first.",inputSchema:{type:"object",properties:{pattern:{type:"string"},path:{type:"string",description:"Directory to search in. Defaults to the workdir."}},required:["pattern"]},run:async({pattern:r,path:t})=>{if(!r)throw new I("glob: pattern is required");if(O.isAbsolute(r))throw new I("glob: absolute pattern not permitted; pass a relative pattern (and optionally path)");if(mr(r))throw new I('glob: ".." is not permitted in the pattern');let i=t?await oe(a,t):O.resolve(a.workdir),n=t?i:await X(i),s=[],c=mt;try{for await(let l of rr(r,{cwd:i,withFileTypes:!0,exclude:(f)=>f.name===".git"||f.name==="node_modules"})){if(c--<=0)break;if(!l.isFile())continue;let f=O.join(l.parentPath,l.name),h;try{h=await S.realpath(f)}catch{continue}if(!ae(n,h))continue;let d=0;try{d=(await S.stat(f)).mtimeMs}catch{}s.push({path:f,mtime:d})}}catch(l){throw new I(`glob: ${l instanceof Error?l.message:String(l)}`)}if(s.length===0)return"no matches";return s.sort((l,f)=>f.mtime-l.mtime),s.slice(0,er).map((l)=>l.path).join(`
14
- `)}})}function pr(a){return Y(a.unrestrictedPaths),C({name:"grep",description:"Search file contents for a regex. Uses ripgrep if available, otherwise a built-in walker.",inputSchema:{type:"object",properties:{pattern:{type:"string"},path:{type:"string"}},required:["pattern"]},run:async({pattern:r,path:t},i)=>{if(!r)throw new I("grep: pattern is required");let n=O.resolve(a.workdir);if(t)n=await oe(a,t);let s=await Sr();return s?yr(s,r,n,i?.signal):wr(r,n,i?.signal)}})}function yr(a,r,t,i){return new Promise((n,s)=>{let c=$e.spawn(a,["-n","--no-heading","-e",r,"--",t],{...i?{signal:i}:{}}),l="",f="",h=!1;c.stdout.on("data",(d)=>{if(h)return;if(l+=d,l.length>ie)h=!0,l=l.slice(0,ie),c.kill("SIGKILL")}),c.stderr.on("data",(d)=>f+=d),c.on("close",(d)=>{if(i?.aborted)return s(new I("grep: aborted"));if(h)return n(l+`
15
- [output truncated at ${ie} bytes]`);if(d===0)return n(l);if(d===1)return n("no matches");s(new I(`grep: rg failed: ${f||`exit ${d}`}`))}),c.on("error",(d)=>{if(i?.aborted)return s(new I("grep: aborted"));s(new I(`grep: rg failed: ${d.message}`))})})}async function wr(a,r,t){let i;try{i=new RegExp(a)}catch(f){throw new I(`grep: invalid regex: ${f instanceof Error?f.message:String(f)}`)}let n=[],s=ie,c=(f)=>{if(s-=f.length+1,s<0)return n.push(`[output truncated at ${ie} bytes]`),!1;return n.push(f),!0};if((await S.stat(r).catch(()=>null))?.isFile())await st(r,i,c);else await gr(r,"",(f)=>st(O.join(r,f),i,c),t);if(t?.aborted)throw new I("grep: aborted");if(n.length===0)return"no matches";return n.join(`
16
- `)}async function st(a,r,t){let i=ne.createReadStream(a,{encoding:"utf8"}),n=ct.createInterface({input:i,crlfDelay:1/0}),s=0;try{for await(let c of n){if(s++,c.length>Qt)continue;if(r.test(c)&&!t(`${a}:${s}:${c}`))return!1}}catch{}finally{i.destroy()}return!0}var _r=40,mt=50000;async function gr(a,r,t,i){let n=mt;async function s(c,l){if(l>_r)return!0;if(i?.aborted)return!1;let f;try{f=await S.readdir(O.join(a,c),{withFileTypes:!0})}catch{return!0}for(let h of f){if(h.name===".git"||h.name==="node_modules")continue;if(n--<=0)return!1;if(i?.aborted)return!1;let d=c?O.join(c,h.name):h.name;if(h.isDirectory()){if(!await s(d,l+1))return!1}else if(h.isFile()){if(await t(d)===!1)return!1}}return!0}await s(r,0)}async function Sr(){let a=(process.env.PATH??"").split(O.delimiter);for(let r of a){let t=O.join(r,"rg");try{return await S.access(t,ne.constants.X_OK),t}catch{}}return null}export{Wt as MEMORY_FLUSH_TIMEOUT_MS,P as SessionMemoryError,Vt as SessionMemoryStores,Vr as betaAgentToolset20260401,_t as setupSkills};
package/chunk-qnq3xa4h.js DELETED
@@ -1,286 +0,0 @@
1
- // @bun
2
- import{dlopen as c,FFIType as e,ptr as I,toArrayBuffer as O}from"bun:ffi";import{readFileSync as U}from"fs";var T="./icon-dp9pmcvp.png";var E=32770,b=32771,x=2,B=1,P=2,W=13,m=976,h=1,Y=60000;function f(t){let s=new Uint16Array(t.length+1);for(let r=0;r<t.length;r++)s[r]=t.charCodeAt(r);return s}function Bi(t){if(process.platform!=="win32"||!Number.isInteger(t)||t<=0)return!1;try{let s=c("user32.dll",{IsWindow:{args:[e.ptr],returns:e.i32},PostMessageW:{args:[e.ptr,e.u32,e.u64,e.i64],returns:e.i32}});if(!s.symbols.IsWindow(BigInt(t)))return!1;return s.symbols.PostMessageW(BigInt(t),E,0,0)!==0}catch{return!1}}function Ro(t){let s=new URL(t);if(s.protocol!=="http:"&&s.protocol!=="https:")throw Error(`Unsupported browser URL protocol: ${s.protocol}`);if(process.platform==="win32"){let p=c("shell32.dll",{ShellExecuteW:{args:[e.ptr,e.ptr,e.ptr,e.ptr,e.ptr,e.i32],returns:e.ptr}}),n=f("open"),o=f(s.href);p.symbols.ShellExecuteW(null,I(n),I(o),null,null,B);return}let r=process.platform==="darwin"?"open":"xdg-open";Bun.spawn([r,s.href],{stdio:["ignore","ignore","ignore"]})}function Co(t){if(process.platform!=="win32")return!1;let s=c("kernel32.dll",{GlobalAlloc:{args:[e.u32,e.u64],returns:e.ptr},GlobalLock:{args:[e.ptr],returns:e.ptr},GlobalUnlock:{args:[e.ptr],returns:e.i32},GlobalFree:{args:[e.ptr],returns:e.ptr}}),r=c("user32.dll",{OpenClipboard:{args:[e.ptr],returns:e.i32},EmptyClipboard:{args:[],returns:e.i32},SetClipboardData:{args:[e.u32,e.ptr],returns:e.ptr},CloseClipboard:{args:[],returns:e.i32}});if(!r.symbols.OpenClipboard(null))return!1;try{r.symbols.EmptyClipboard();let p=f(t),n=s.symbols.GlobalAlloc(P,p.byteLength);if(!n)return!1;let o=s.symbols.GlobalLock(n);if(!o)return s.symbols.GlobalFree(n),!1;if(new Uint8Array(O(o,0,p.byteLength)).set(new Uint8Array(p.buffer)),s.symbols.GlobalUnlock(n),!r.symbols.SetClipboardData(W,n))return s.symbols.GlobalFree(n),!1;return!0}finally{r.symbols.CloseClipboard()}}function Fi(t){if(process.platform!=="win32")return Promise.resolve(!1);let s=(o)=>o.replace(/\p{Cc}/gu," ").slice(0,100),r=["\u6709\u7F51\u9875\u8BF7\u6C42\u514D\u914D\u5BF9\u7801\u8FDE\u63A5\u5230\u672C\u673A\u7684 Basalt\u3002","",`\u6765\u6E90\uFF1A${s(t.origin??"\u672A\u77E5")}`,`\u8BBE\u5907\uFF1A${s(t.device)}`,"","\u8FDE\u63A5\u540E\u5BF9\u65B9\u53EF\u4EE5\u5728\u8FD9\u53F0\u7535\u8111\u4E0A\u6267\u884C\u547D\u4EE4\u3002\u53EA\u6709\u8FD9\u662F\u4F60\u672C\u4EBA\u521A\u521A\u5728\u6D4F\u89C8\u5668\u4E2D\u53D1\u8D77\u7684\u64CD\u4F5C\u65F6\uFF0C\u624D\u70B9\u51FB\u201C\u662F\u201D\u3002"].join(`
3
- `),p=URL.createObjectURL(new Blob([R],{type:"text/javascript"})),n=new Worker(p);return new Promise((o)=>{let i=(u)=>{URL.revokeObjectURL(p),n.terminate(),o(u)};n.onmessage=(u)=>i(u.data.approved===!0),n.onerror=()=>i(!1),n.postMessage({title:"Basalt \u8FDE\u63A5\u786E\u8BA4",message:r})})}function g(t){if(process.platform!=="win32"||t<=0)return;try{let s=c("shell32.dll",{Shell_NotifyIconW:{args:[e.u32,e.ptr],returns:e.i32}}),r=new Uint8Array(m),p=new DataView(r.buffer);p.setUint32(0,m,!0),p.setBigUint64(8,BigInt(t),!0),p.setUint32(16,h,!0),s.symbols.Shell_NotifyIconW(x,I(r))}catch{}}async function $i(t){if(process.platform!=="win32")return;let s;try{let l=T.startsWith("./")?new URL(T,import.meta.url):T;s=new Uint8Array(U(l))}catch(l){console.warn("\u65E0\u6CD5\u8BFB\u53D6\u6258\u76D8\u56FE\u6807\u8D44\u6E90\uFF1A",l);return}let r=c("user32.dll",{PostMessageW:{args:[e.ptr,e.u32,e.u64,e.i64],returns:e.i32}}),p=new Blob([C],{type:"text/javascript"}),n=URL.createObjectURL(p),o=new Worker(n),i=0,u=!1,d,M=new Promise((l)=>{d=l}),F=()=>{if(!u&&i>0)u=!0,g(i)};return process.on("exit",F),new Promise((l)=>{let y=!1;o.onmessage=(_)=>{let a=_.data;if(a.type==="ready"&&typeof a.hwnd==="number"){URL.revokeObjectURL(n),i=a.hwnd,y=!0,l({hwnd:i,async close(){if(u)return;u=!0,process.off("exit",F),g(i),r.symbols.PostMessageW(BigInt(i),b,0,0),await Promise.race([M,Bun.sleep(300)]),o.terminate()}});return}if(a.type==="error"){if(!y)URL.revokeObjectURL(n),y=!0,process.off("exit",F),o.terminate(),l(void 0);return}if(a.type==="open")t.onOpen();else if(a.type==="copy-link")t.onCopyLink();else if(a.type==="copy-code")t.onCopyCode();else if(a.type==="quit")t.onQuit();else if(a.type==="closed")d?.()},o.onerror=()=>{if(!y)URL.revokeObjectURL(n),y=!0,process.off("exit",F),o.terminate(),l(void 0)},o.postMessage({iconBytes:s.buffer,title:t.title,tooltip:t.tooltip,auth:t.auth})})}var R=`
4
- import { dlopen, FFIType, ptr } from "bun:ffi";
5
-
6
- const MB_YESNO = 0x00000004;
7
- const MB_ICONWARNING = 0x00000030;
8
- const MB_DEFBUTTON2 = 0x00000100;
9
- const MB_SYSTEMMODAL = 0x00001000;
10
- const MB_SETFOREGROUND = 0x00010000;
11
- const MB_TOPMOST = 0x00040000;
12
- const IDYES = 6;
13
- // \u65E0\u4EBA\u5E94\u7B54\u65F6\u81EA\u52A8\u5173\u95ED\u5E76\u6309\u62D2\u7EDD\u5904\u7406\uFF0C\u4E0D\u80FD\u8BA9\u5F85\u786E\u8BA4\u72B6\u6001\u957F\u671F\u5360\u4F4F\u514D\u7801\u76F4\u8FDE\u5165\u53E3
14
- const TIMEOUT_MS = ${Y};
15
-
16
- // MessageBoxTimeoutW \u81EA XP \u8D77\u7531 user32 \u5BFC\u51FA\uFF0C\u662F\u552F\u4E00\u80FD\u5728\u8D85\u65F6\u540E\u81EA\u884C\u5173\u95ED\u7684\u539F\u751F\u786E\u8BA4\u6846
17
- const user32 = dlopen("user32.dll", {
18
- MessageBoxTimeoutW: {
19
- args: [FFIType.ptr, FFIType.ptr, FFIType.ptr, FFIType.u32, FFIType.u16, FFIType.u32],
20
- returns: FFIType.i32,
21
- },
22
- });
23
-
24
- function utf16(text) {
25
- const buf = new Uint16Array(text.length + 1);
26
- for (let i = 0; i < text.length; i++) buf[i] = text.charCodeAt(i);
27
- return buf;
28
- }
29
-
30
- self.onmessage = (event) => {
31
- const { title, message } = event.data;
32
- // \u9ED8\u8BA4\u6309\u94AE\u662F\u201C\u5426\u201D\uFF1A\u7528\u6237\u968F\u624B\u6309\u56DE\u8F66\u4E0D\u4F1A\u8BEF\u6388\u6743
33
- const result = user32.symbols.MessageBoxTimeoutW(
34
- null,
35
- ptr(utf16(message)),
36
- ptr(utf16(title)),
37
- MB_YESNO | MB_ICONWARNING | MB_DEFBUTTON2 | MB_SYSTEMMODAL | MB_SETFOREGROUND | MB_TOPMOST,
38
- 0,
39
- TIMEOUT_MS,
40
- );
41
- self.postMessage({ approved: result === IDYES });
42
- };
43
- `,C=`
44
- import { dlopen, FFIType, JSCallback, ptr } from "bun:ffi";
45
-
46
- const WM_DESTROY = 0x0002;
47
- const WM_CLOSE = 0x0010;
48
- const WM_ENDSESSION = 0x0016;
49
- const WM_LBUTTONUP = 0x0202;
50
- const WM_LBUTTONDBLCLK = 0x0203;
51
- const WM_RBUTTONUP = 0x0205;
52
- const WM_CONTEXTMENU = 0x007B;
53
- const WM_TRAY = 0x8001;
54
- const WM_OPEN_WEB = 0x8002;
55
- const WM_DESTROY_TRAY = 0x8003;
56
-
57
- const NIM_ADD = 0x00000000;
58
- const NIM_DELETE = 0x00000002;
59
- const NIF_MESSAGE = 0x00000001;
60
- const NIF_ICON = 0x00000002;
61
- const NIF_TIP = 0x00000004;
62
-
63
- const MF_STRING = 0x00000000;
64
- const MF_GRAYED = 0x00000001;
65
- const MF_DISABLED = 0x00000002;
66
- const MF_SEPARATOR = 0x00000800;
67
-
68
- const TPM_RIGHTBUTTON = 0x0002;
69
- const TPM_BOTTOMALIGN = 0x0020;
70
- const TPM_NONOTIFY = 0x0080;
71
- const TPM_RETURNCMD = 0x0100;
72
-
73
- const CMD_OPEN = 1;
74
- const CMD_COPY_LINK = 2;
75
- const CMD_COPY_CODE = 3;
76
- const CMD_QUIT = 4;
77
-
78
- const kernel32 = dlopen("kernel32.dll", {
79
- GetModuleHandleW: { args: [FFIType.ptr], returns: FFIType.ptr },
80
- });
81
-
82
- const user32 = dlopen("user32.dll", {
83
- RegisterClassExW: { args: [FFIType.ptr], returns: FFIType.u16 },
84
- CreateWindowExW: {
85
- args: [
86
- FFIType.u32, FFIType.ptr, FFIType.ptr, FFIType.u32,
87
- FFIType.i32, FFIType.i32, FFIType.i32, FFIType.i32,
88
- FFIType.ptr, FFIType.ptr, FFIType.ptr, FFIType.ptr,
89
- ],
90
- returns: FFIType.ptr,
91
- },
92
- DefWindowProcW: {
93
- args: [FFIType.ptr, FFIType.u32, FFIType.u64, FFIType.i64],
94
- returns: FFIType.i64,
95
- },
96
- DestroyWindow: { args: [FFIType.ptr], returns: FFIType.i32 },
97
- GetMessageW: {
98
- args: [FFIType.ptr, FFIType.ptr, FFIType.u32, FFIType.u32],
99
- returns: FFIType.i32,
100
- },
101
- TranslateMessage: { args: [FFIType.ptr], returns: FFIType.i32 },
102
- DispatchMessageW: { args: [FFIType.ptr], returns: FFIType.i64 },
103
- PostMessageW: {
104
- args: [FFIType.ptr, FFIType.u32, FFIType.u64, FFIType.i64],
105
- returns: FFIType.i32,
106
- },
107
- PostQuitMessage: { args: [FFIType.i32], returns: FFIType.void },
108
- RegisterWindowMessageW: { args: [FFIType.ptr], returns: FFIType.u32 },
109
- CreateIconFromResourceEx: {
110
- args: [FFIType.ptr, FFIType.u32, FFIType.i32, FFIType.u32, FFIType.i32, FFIType.i32, FFIType.u32],
111
- returns: FFIType.ptr,
112
- },
113
- DestroyIcon: { args: [FFIType.ptr], returns: FFIType.i32 },
114
- CreatePopupMenu: { args: [], returns: FFIType.ptr },
115
- AppendMenuW: {
116
- args: [FFIType.ptr, FFIType.u32, FFIType.u64, FFIType.ptr],
117
- returns: FFIType.i32,
118
- },
119
- SetMenuDefaultItem: {
120
- args: [FFIType.ptr, FFIType.u32, FFIType.u32],
121
- returns: FFIType.i32,
122
- },
123
- DestroyMenu: { args: [FFIType.ptr], returns: FFIType.i32 },
124
- GetCursorPos: { args: [FFIType.ptr], returns: FFIType.i32 },
125
- SetForegroundWindow: { args: [FFIType.ptr], returns: FFIType.i32 },
126
- TrackPopupMenu: {
127
- args: [FFIType.ptr, FFIType.u32, FFIType.i32, FFIType.i32, FFIType.i32, FFIType.ptr, FFIType.ptr],
128
- returns: FFIType.i32,
129
- },
130
- });
131
-
132
- const shell32 = dlopen("shell32.dll", {
133
- Shell_NotifyIconW: { args: [FFIType.u32, FFIType.ptr], returns: FFIType.i32 },
134
- });
135
-
136
- function utf16(text) {
137
- const buf = new Uint16Array(text.length + 1);
138
- for (let i = 0; i < text.length; i++) buf[i] = text.charCodeAt(i);
139
- return buf;
140
- }
141
-
142
- self.onmessage = (event) => {
143
- const { iconBytes, title, tooltip, auth } = event.data;
144
- const nid = new Uint8Array(976);
145
- const nidView = new DataView(nid.buffer);
146
- const taskbarCreatedMsg = user32.symbols.RegisterWindowMessageW(ptr(utf16("TaskbarCreated")));
147
-
148
- const titleLabel = utf16(title);
149
- const openLabel = utf16("\u6253\u5F00\u5DE5\u4F5C\u53F0");
150
- const copyLinkLabel = utf16(auth ? "\u590D\u5236\u914D\u5BF9\u94FE\u63A5" : "\u590D\u5236\u670D\u52A1\u5730\u5740");
151
- const copyCodeLabel = utf16("\u590D\u5236\u914D\u5BF9\u7801");
152
- const quitLabel = utf16("\u9000\u51FA Basalt");
153
-
154
- function showContextMenu(hwnd) {
155
- const menu = user32.symbols.CreatePopupMenu();
156
- if (!menu) return;
157
- user32.symbols.AppendMenuW(menu, MF_STRING | MF_GRAYED | MF_DISABLED, 0, ptr(titleLabel));
158
- user32.symbols.AppendMenuW(menu, MF_SEPARATOR, 0, null);
159
- user32.symbols.AppendMenuW(menu, MF_STRING, CMD_OPEN, ptr(openLabel));
160
- user32.symbols.SetMenuDefaultItem(menu, CMD_OPEN, 0);
161
- user32.symbols.AppendMenuW(menu, MF_STRING, CMD_COPY_LINK, ptr(copyLinkLabel));
162
- if (auth) {
163
- user32.symbols.AppendMenuW(menu, MF_STRING, CMD_COPY_CODE, ptr(copyCodeLabel));
164
- }
165
- user32.symbols.AppendMenuW(menu, MF_SEPARATOR, 0, null);
166
- user32.symbols.AppendMenuW(menu, MF_STRING, CMD_QUIT, ptr(quitLabel));
167
-
168
- const cursor = new Int32Array(2);
169
- user32.symbols.GetCursorPos(ptr(cursor));
170
- user32.symbols.SetForegroundWindow(hwnd);
171
- const command = user32.symbols.TrackPopupMenu(
172
- menu,
173
- TPM_RIGHTBUTTON | TPM_BOTTOMALIGN | TPM_NONOTIFY | TPM_RETURNCMD,
174
- cursor[0],
175
- cursor[1],
176
- 0,
177
- hwnd,
178
- null,
179
- );
180
- user32.symbols.PostMessageW(hwnd, 0, 0, 0);
181
- user32.symbols.DestroyMenu(menu);
182
-
183
- if (command === CMD_OPEN) self.postMessage({ type: "open" });
184
- else if (command === CMD_COPY_LINK) self.postMessage({ type: "copy-link" });
185
- else if (command === CMD_COPY_CODE) self.postMessage({ type: "copy-code" });
186
- else if (command === CMD_QUIT) self.postMessage({ type: "quit" });
187
- }
188
-
189
- const wndProc = new JSCallback(
190
- (hwnd, msg, wParam, lParam) => {
191
- if (taskbarCreatedMsg && msg === taskbarCreatedMsg) {
192
- shell32.symbols.Shell_NotifyIconW(NIM_ADD, ptr(nid));
193
- return 0;
194
- }
195
- if (msg === WM_OPEN_WEB) {
196
- self.postMessage({ type: "open" });
197
- return 0;
198
- }
199
- if (msg === WM_TRAY) {
200
- const mouseEvent = Number(BigInt.asUintN(16, BigInt(lParam)));
201
- if (mouseEvent === WM_LBUTTONUP || mouseEvent === WM_LBUTTONDBLCLK) {
202
- self.postMessage({ type: "open" });
203
- } else if (mouseEvent === WM_RBUTTONUP || mouseEvent === WM_CONTEXTMENU) {
204
- showContextMenu(hwnd);
205
- }
206
- return 0;
207
- }
208
- if (msg === WM_CLOSE || msg === WM_ENDSESSION) {
209
- shell32.symbols.Shell_NotifyIconW(NIM_DELETE, ptr(nid));
210
- self.postMessage({ type: "quit" });
211
- user32.symbols.DestroyWindow(hwnd);
212
- return 0;
213
- }
214
- if (msg === WM_DESTROY_TRAY) {
215
- shell32.symbols.Shell_NotifyIconW(NIM_DELETE, ptr(nid));
216
- user32.symbols.DestroyWindow(hwnd);
217
- return 0;
218
- }
219
- if (msg === WM_DESTROY) {
220
- user32.symbols.PostQuitMessage(0);
221
- return 0;
222
- }
223
- return user32.symbols.DefWindowProcW(hwnd, msg, wParam, lParam);
224
- },
225
- {
226
- args: [FFIType.ptr, FFIType.u32, FFIType.u64, FFIType.i64],
227
- returns: FFIType.i64,
228
- },
229
- );
230
-
231
- const hInstance = kernel32.symbols.GetModuleHandleW(null);
232
- const className = utf16("BasaltTrayWindow");
233
- const wc = new ArrayBuffer(80);
234
- const wcView = new DataView(wc);
235
- wcView.setUint32(0, 80, true);
236
- wcView.setBigUint64(8, BigInt(wndProc.ptr), true);
237
- wcView.setBigUint64(24, BigInt(hInstance ?? 0), true);
238
- wcView.setBigUint64(64, BigInt(ptr(className)), true);
239
- user32.symbols.RegisterClassExW(ptr(wc));
240
-
241
- const hwnd = user32.symbols.CreateWindowExW(
242
- 0, ptr(className), ptr(className), 0,
243
- 0, 0, 0, 0, null, null, hInstance, null,
244
- );
245
- if (!hwnd) {
246
- wndProc.close();
247
- self.postMessage({ type: "error", message: "CreateWindowExW failed" });
248
- return;
249
- }
250
-
251
- const pngBuf = new Uint8Array(iconBytes);
252
- const hicon = user32.symbols.CreateIconFromResourceEx(
253
- ptr(pngBuf), pngBuf.byteLength, 1, 0x00030000, 32, 32, 0,
254
- );
255
-
256
- nidView.setUint32(0, 976, true);
257
- nidView.setBigUint64(8, BigInt(hwnd), true);
258
- nidView.setUint32(16, 1, true);
259
- nidView.setUint32(20, NIF_MESSAGE | NIF_ICON | NIF_TIP, true);
260
- nidView.setUint32(24, WM_TRAY, true);
261
- nidView.setBigUint64(32, BigInt(hicon ?? 0), true);
262
- const tip = utf16(tooltip);
263
- new Uint16Array(nid.buffer, 40, 128).set(tip.subarray(0, 127));
264
-
265
- if (!shell32.symbols.Shell_NotifyIconW(NIM_ADD, ptr(nid))) {
266
- user32.symbols.DestroyWindow(hwnd);
267
- if (hicon) user32.symbols.DestroyIcon(hicon);
268
- wndProc.close();
269
- self.postMessage({ type: "error", message: "Shell_NotifyIconW failed" });
270
- return;
271
- }
272
-
273
- self.postMessage({ type: "ready", hwnd: Number(hwnd) });
274
-
275
- const msgBuf = new Uint8Array(48);
276
- while (user32.symbols.GetMessageW(ptr(msgBuf), null, 0, 0) > 0) {
277
- user32.symbols.TranslateMessage(ptr(msgBuf));
278
- user32.symbols.DispatchMessageW(ptr(msgBuf));
279
- }
280
-
281
- if (hicon) user32.symbols.DestroyIcon(hicon);
282
- wndProc.close();
283
- self.postMessage({ type: "closed" });
284
- };
285
- `;
286
- export{Bi,Ro,Co,Fi,$i};
package/chunk-r0gyd40q.js DELETED
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{H}from"./chunk-rq2b2a6n.js";import{_}from"./chunk-a0ex6znf.js";import{a}from"./chunk-377w9fhp.js";var m=a(H()),t=a(_());import{readFileSync as S}from"fs";var c=(e)=>async(s)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");let{roleArn:o,roleSessionName:r,webIdentityToken:i,providerId:n,policyArns:f,policy:g,durationSeconds:E}=e,{roleAssumerWithWebIdentity:l}=e;if(!l){let{getDefaultRoleAssumerWithWebIdentity:p}=await import("./chunk-awzaxv88.js");l=p({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:{...s?.callerClientConfig,...e.parentClientConfig}},e.clientPlugins)}return l({RoleArn:o,RoleSessionName:r??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:i,ProviderId:n,PolicyArns:f,Policy:g,DurationSeconds:E})};var d="AWS_WEB_IDENTITY_TOKEN_FILE",T="AWS_ROLE_ARN",N="AWS_ROLE_SESSION_NAME",I=(e={})=>async(s)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");let o=e?.webIdentityTokenFile??process.env[d],r=e?.roleArn??process.env[T],i=e?.roleSessionName??process.env[N];if(!o||!r)throw new t.CredentialsProviderError("Web identity configuration not specified",{logger:e.logger});let n=await c({...e,webIdentityToken:t.externalDataInterceptor?.getTokenRecord?.()[o]??S(o,{encoding:"ascii"}),roleArn:r,roleSessionName:i})(s);if(o===process.env[d])m.setCredentialFeature(n,"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN","h");return n};export{I as fromTokenFile};
package/chunk-ra4kx253.js DELETED
@@ -1,7 +0,0 @@
1
- // @bun
2
- import{r,u}from"./chunk-377w9fhp.js";var U=r(function(De,S){var y=1000,x=y*60,b=x*60,m=b*24,R=m*7,V=m*365.25;S.exports=function(e,s){s=s||{};var t=typeof e;if(t==="string"&&e.length>0)return X(e);else if(t==="number"&&isFinite(e))return s.long?ee(e):Y(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function X(e){if(e=String(e),e.length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var t=parseFloat(s[1]),i=(s[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return t*V;case"weeks":case"week":case"w":return t*R;case"days":case"day":case"d":return t*m;case"hours":case"hour":case"hrs":case"hr":case"h":return t*b;case"minutes":case"minute":case"mins":case"min":case"m":return t*x;case"seconds":case"second":case"secs":case"sec":case"s":return t*y;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}function Y(e){var s=Math.abs(e);if(s>=m)return Math.round(e/m)+"d";if(s>=b)return Math.round(e/b)+"h";if(s>=x)return Math.round(e/x)+"m";if(s>=y)return Math.round(e/y)+"s";return e+"ms"}function ee(e){var s=Math.abs(e);if(s>=m)return A(e,s,m,"day");if(s>=b)return A(e,s,b,"hour");if(s>=x)return A(e,s,x,"minute");if(s>=y)return A(e,s,y,"second");return e+" ms"}function A(e,s,t,i){var d=s>=t*1.5;return Math.round(e/t)+" "+i+(d?"s":"")}});var E=r(function(Be,_){function te(e){t.debug=t,t.default=t,t.coerce=W,t.disable=P,t.enable=d,t.enabled=T,t.humanize=U(),t.destroy=Z,Object.keys(e).forEach((n)=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={};function s(n){let o=0;for(let c=0;c<n.length;c++)o=(o<<5)-o+n.charCodeAt(c),o|=0;return t.colors[Math.abs(o)%t.colors.length]}t.selectColor=s;function t(n){let o,c=null,a,g;function l(...f){if(!l.enabled)return;let h=l,v=Number(new Date),H=v-(o||v);if(h.diff=H,h.prev=o,h.curr=v,o=v,f[0]=t.coerce(f[0]),typeof f[0]!=="string")f.unshift("%O");let O=0;f[0]=f[0].replace(/%([a-zA-Z%])/g,(j,K)=>{if(j==="%%")return"%";O++;let M=t.formatters[K];if(typeof M==="function"){let Q=f[O];j=M.call(h,Q),f.splice(O,1),O--}return j}),t.formatArgs.call(h,f),(h.log||t.log).apply(h,f)}if(l.namespace=n,l.useColors=t.useColors(),l.color=t.selectColor(n),l.extend=i,l.destroy=t.destroy,Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(c!==null)return c;if(a!==t.namespaces)a=t.namespaces,g=t.enabled(n);return g},set:(f)=>{c=f}}),typeof t.init==="function")t.init(l);return l}function i(n,o){let c=t(this.namespace+(typeof o>"u"?":":o)+n);return c.log=this.log,c}function d(n){t.save(n),t.namespaces=n,t.names=[],t.skips=[];let o=(typeof n==="string"?n:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let c of o)if(c[0]==="-")t.skips.push(c.slice(1));else t.names.push(c)}function C(n,o){let c=0,a=0,g=-1,l=0;while(c<n.length)if(a<o.length&&(o[a]===n[c]||o[a]==="*"))if(o[a]==="*")g=a,l=c,a++;else c++,a++;else if(g!==-1)a=g+1,l++,c=l;else return!1;while(a<o.length&&o[a]==="*")a++;return a===o.length}function P(){let n=[...t.names,...t.skips.map((o)=>"-"+o)].join(",");return t.enable(""),n}function T(n){for(let o of t.skips)if(C(n,o))return!1;for(let o of t.names)if(C(n,o))return!0;return!1}function W(n){if(n instanceof Error)return n.stack||n.message;return n}function Z(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return t.enable(t.load()),t}_.exports=te});var z=r(function(D,I){D.formatArgs=se;D.save=ne;D.load=oe;D.useColors=re;D.storage=ie();D.destroy=(()=>{let e=!1;return()=>{if(!e)e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();D.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function re(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function se(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+I.exports.humanize(this.diff),!this.useColors)return;let s="color: "+this.color;e.splice(1,0,s,"color: inherit");let t=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(d)=>{if(d==="%%")return;if(t++,d==="%c")i=t}),e.splice(i,0,s)}D.log=console.debug||console.log||(()=>{});function ne(e){try{if(e)D.storage.setItem("debug",e);else D.storage.removeItem("debug")}catch(s){}}function oe(){let e;try{e=D.storage.getItem("debug")||D.storage.getItem("DEBUG")}catch(s){}if(!e&&typeof process<"u"&&"env"in process)e=process.env.DEBUG;return e}function ie(){try{return localStorage}catch(e){}}I.exports=E()(D);var{formatters:ce}=I.exports;ce.j=function(e){try{return JSON.stringify(e)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}});var J=r(function(B,k){var L=u("tty"),p=u("util");B.init=be;B.log=ge;B.formatArgs=me;B.save=ye;B.load=xe;B.useColors=he;B.destroy=p.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");B.colors=[6,2,3,4,5,1];try{let e=(()=>{throw new Error("Cannot require module "+"supports-color");})();if(e&&(e.stderr||e).level>=2)B.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(e){}B.inspectOpts=Object.keys(process.env).filter((e)=>/^debug_/i.test(e)).reduce((e,s)=>{let t=s.substring(6).toLowerCase().replace(/_([a-z])/g,(d,C)=>C.toUpperCase()),i=process.env[s];if(/^(yes|on|true|enabled)$/i.test(i))i=!0;else if(/^(no|off|false|disabled)$/i.test(i))i=!1;else if(i==="null")i=null;else i=Number(i);return e[t]=i,e},{});function he(){return"colors"in B.inspectOpts?Boolean(B.inspectOpts.colors):L.isatty(process.stderr.fd)}function me(e){let{namespace:s,useColors:t}=this;if(t){let i=this.color,d="\x1B[3"+(i<8?i:"8;5;"+i),C=` ${d};1m${s} \x1B[0m`;e[0]=C+e[0].split(`
3
- `).join(`
4
- `+C),e.push(d+"m+"+k.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Fe()+s+" "+e[0]}function Fe(){if(B.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function ge(...e){return process.stderr.write(p.formatWithOptions(B.inspectOpts,...e)+`
5
- `)}function ye(e){if(e)process.env.DEBUG=e;else delete process.env.DEBUG}function xe(){return process.env.DEBUG}function be(e){e.inspectOpts={};let s=Object.keys(B.inspectOpts);for(let t=0;t<s.length;t++)e.inspectOpts[s[t]]=B.inspectOpts[s[t]]}k.exports=E()(B);var{formatters:G}=k.exports;G.o=function(e){return this.inspectOpts.colors=this.useColors,p.inspect(e,this.inspectOpts).split(`
6
- `).map((s)=>s.trim()).join(" ")};G.O=function(e){return this.inspectOpts.colors=this.useColors,p.inspect(e,this.inspectOpts)}});var sr=r(function(Se,q){if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)q.exports=z();else q.exports=J()});
7
- export{sr};