@qitqode/qitqode-android-arm64 0.2.14 → 0.2.16

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 (414) hide show
  1. package/bun +2 -2
  2. package/bundle/{chunk-wrzn87w0.js → chunk-098mr0zz.js} +1 -1
  3. package/bundle/{chunk-j15wejz0.js → chunk-0catm9vq.js} +1 -1
  4. package/bundle/{chunk-kdqhwa65.js → chunk-0cqs1qkh.js} +1 -1
  5. package/bundle/{chunk-d10qre1b.js → chunk-0f3ncvfe.js} +1 -1
  6. package/bundle/{chunk-583d91xq.js → chunk-0gqwvt8w.js} +2 -2
  7. package/bundle/chunk-0mb55ytc.js +2 -0
  8. package/bundle/{chunk-9zsp3qkh.js → chunk-0n2ncnwz.js} +1 -1
  9. package/bundle/chunk-0y0hm0m5.js +2 -0
  10. package/bundle/chunk-120e8yr1.js +2 -0
  11. package/bundle/{chunk-spcdwmy4.js → chunk-1aneepm5.js} +1 -1
  12. package/bundle/chunk-1dxm8yev.js +2 -0
  13. package/bundle/{chunk-96sra8g8.js → chunk-1jg7cybp.js} +1 -1
  14. package/bundle/{chunk-ngygp66y.js → chunk-1k5nfw7g.js} +1 -1
  15. package/bundle/{chunk-fmcg649e.js → chunk-1kksj8cn.js} +1 -1
  16. package/bundle/chunk-1pgpv979.js +2 -0
  17. package/bundle/{chunk-szfqmkj6.js → chunk-1xsjkf4c.js} +1 -1
  18. package/bundle/{chunk-zx63mepv.js → chunk-1yetxft4.js} +1 -1
  19. package/bundle/chunk-23zh9s18.js +2 -0
  20. package/bundle/{chunk-8qpfphdz.js → chunk-24pf9s68.js} +1 -1
  21. package/bundle/chunk-2a0zf12g.js +2 -0
  22. package/bundle/chunk-2b8x31p3.js +2 -0
  23. package/bundle/chunk-2cvmdss3.js +2 -0
  24. package/bundle/{chunk-bm8azfnt.js → chunk-2kvghwar.js} +1 -1
  25. package/bundle/{chunk-ch7s512a.js → chunk-2nkjwqpm.js} +1 -1
  26. package/bundle/chunk-2qbsg6dp.js +2 -0
  27. package/bundle/{chunk-9ttebtcf.js → chunk-2rvs18fx.js} +1 -1
  28. package/bundle/{chunk-rxt6gktt.js → chunk-2thbax1j.js} +1 -1
  29. package/bundle/{chunk-6y0wgz2j.js → chunk-2zxygnx4.js} +1 -1
  30. package/bundle/{chunk-zgwasq3p.js → chunk-36kg3v3k.js} +1 -1
  31. package/bundle/{chunk-1gdt9q05.js → chunk-37hh7eee.js} +1 -1
  32. package/bundle/chunk-39mwv068.js +2 -0
  33. package/bundle/{chunk-set1f1wr.js → chunk-39z0qxkt.js} +1 -1
  34. package/bundle/{chunk-p0852vfn.js → chunk-3dfy9k0t.js} +2 -2
  35. package/bundle/{chunk-et3tgx7t.js → chunk-3e26pryk.js} +1 -1
  36. package/bundle/{chunk-vzkdzhn0.js → chunk-3eddms0g.js} +1 -1
  37. package/bundle/chunk-3re79hkf.js +2 -0
  38. package/bundle/{chunk-sy76e7nr.js → chunk-3vjs8aht.js} +1 -1
  39. package/bundle/{chunk-k769v1ds.js → chunk-3z7r4c0p.js} +1 -1
  40. package/bundle/chunk-40pe0tde.js +11 -0
  41. package/bundle/{chunk-0ejx0yqx.js → chunk-47nber5v.js} +1 -1
  42. package/bundle/{chunk-bga4kqd1.js → chunk-491f4ab9.js} +2 -2
  43. package/bundle/{chunk-3152y1q9.js → chunk-4bp91rza.js} +1 -1
  44. package/bundle/{chunk-pdcxmr6x.js → chunk-4dy64hgp.js} +1 -1
  45. package/bundle/{chunk-0mztgsxp.js → chunk-4fqwg54p.js} +1 -1
  46. package/bundle/{chunk-2w3n0q9m.js → chunk-4gv7nsdd.js} +2 -2
  47. package/bundle/{chunk-2ascwm7j.js → chunk-4nw19yab.js} +1 -1
  48. package/bundle/chunk-51fyaa6r.js +2 -0
  49. package/bundle/{chunk-9znfb8f2.js → chunk-52f62kr0.js} +2 -2
  50. package/bundle/chunk-52n4tdeh.js +5 -0
  51. package/bundle/{chunk-x4jnyj09.js → chunk-543jma8r.js} +1 -1
  52. package/bundle/chunk-58q03ah1.js +2 -0
  53. package/bundle/{chunk-hrcqbadm.js → chunk-5fhy0wb0.js} +1 -1
  54. package/bundle/{chunk-8zpsgfb6.js → chunk-5fym1zr2.js} +1 -1
  55. package/bundle/{chunk-a3g8de96.js → chunk-5k5jdayv.js} +1 -1
  56. package/bundle/chunk-5nmqgqj2.js +2 -0
  57. package/bundle/{chunk-psmwrvqs.js → chunk-5t69v8jg.js} +2 -2
  58. package/bundle/{chunk-7w571q26.js → chunk-5vtbg7pj.js} +1 -1
  59. package/bundle/{chunk-g738e799.js → chunk-5xmtzs15.js} +2 -2
  60. package/bundle/chunk-5ydg5ny1.js +2 -0
  61. package/bundle/{chunk-v5me0cj9.js → chunk-5z5rk3ng.js} +1 -1
  62. package/bundle/{chunk-5dvy83ms.js → chunk-62mb6wxm.js} +2 -2
  63. package/bundle/chunk-62mytrwv.js +2 -0
  64. package/bundle/{chunk-edvfqxfr.js → chunk-6396bg4p.js} +1 -1
  65. package/bundle/chunk-63bccmze.js +2 -0
  66. package/bundle/{chunk-1ypzf18e.js → chunk-64x1vtdq.js} +1 -1
  67. package/bundle/{chunk-9mabvb06.js → chunk-6kx4atkt.js} +1 -1
  68. package/bundle/{chunk-dmb0ez0m.js → chunk-6r7vm4xc.js} +3 -3
  69. package/bundle/{chunk-tcyzj3rz.js → chunk-6rggm6tm.js} +1 -1
  70. package/bundle/{chunk-fp2xgnjn.js → chunk-6vpc1y3w.js} +2 -2
  71. package/bundle/{chunk-71jmhvef.js → chunk-6vxddv5w.js} +2 -2
  72. package/bundle/chunk-6ynaebaw.js +2 -0
  73. package/bundle/{chunk-ep4drmt9.js → chunk-700jhn67.js} +1 -1
  74. package/bundle/{chunk-fdmz0502.js → chunk-76jbys6j.js} +2 -2
  75. package/bundle/chunk-782y3dm8.js +2 -0
  76. package/bundle/{chunk-d7h1dp0h.js → chunk-89g9wzc2.js} +1 -1
  77. package/bundle/chunk-8q50bha4.js +2 -0
  78. package/bundle/chunk-8v6qbhm1.js +2 -0
  79. package/bundle/chunk-955jtenj.js +2 -0
  80. package/bundle/chunk-95yzwxpf.js +2 -0
  81. package/bundle/{chunk-2w79k0mh.js → chunk-96281xfb.js} +2 -2
  82. package/bundle/{chunk-bdcd2mcb.js → chunk-96657nrr.js} +2 -2
  83. package/bundle/chunk-99ansgsj.js +2 -0
  84. package/bundle/{chunk-3c73rngn.js → chunk-9dd2krfn.js} +1 -1
  85. package/bundle/chunk-9exxjnxc.js +2 -0
  86. package/bundle/{chunk-eqsank84.js → chunk-9ge1mkfs.js} +1 -1
  87. package/bundle/{chunk-4r7fbkcm.js → chunk-9mmaja9n.js} +1 -1
  88. package/bundle/{chunk-mjkwd1sz.js → chunk-9rd7q5e9.js} +1 -1
  89. package/bundle/{chunk-6cztstry.js → chunk-9skj2w9e.js} +2 -2
  90. package/bundle/{chunk-nb4xtk1n.js → chunk-9tdbts1r.js} +1 -1
  91. package/bundle/{chunk-sg9enzsp.js → chunk-9tfm1dk2.js} +2 -2
  92. package/bundle/{chunk-z6qyx227.js → chunk-9xaea8h1.js} +1 -1
  93. package/bundle/{chunk-meehnnv9.js → chunk-a0c6w901.js} +2 -2
  94. package/bundle/chunk-a2tp2f6s.js +2 -0
  95. package/bundle/{chunk-69htq8kq.js → chunk-a3ynq3h7.js} +1 -1
  96. package/bundle/chunk-a4y0wjtq.js +3 -0
  97. package/bundle/{chunk-6dd2dx69.js → chunk-afagt413.js} +2 -2
  98. package/bundle/{chunk-px69995t.js → chunk-afzx47y2.js} +1 -1
  99. package/bundle/chunk-ag3s3t7x.js +2 -0
  100. package/bundle/{chunk-n7zd97hy.js → chunk-ajdn1n77.js} +2 -2
  101. package/bundle/chunk-arwm1qxm.js +2 -0
  102. package/bundle/{chunk-adws0hhk.js → chunk-awt3q88j.js} +2 -2
  103. package/bundle/{chunk-qn1fhqyw.js → chunk-az2pxgx6.js} +2 -2
  104. package/bundle/chunk-b0gq0s8a.js +2 -0
  105. package/bundle/{chunk-48rg4yhk.js → chunk-b2zfr7jz.js} +2 -2
  106. package/bundle/{chunk-mbmaeq0a.js → chunk-b63733cw.js} +1 -1
  107. package/bundle/chunk-b7430vg8.js +2 -0
  108. package/bundle/{chunk-07b4pkk6.js → chunk-b7dw5ged.js} +1 -1
  109. package/bundle/{chunk-prz2fkn9.js → chunk-b83qf145.js} +1 -1
  110. package/bundle/{chunk-veptx3fk.js → chunk-b8w33ck9.js} +1 -1
  111. package/bundle/{chunk-674pexjx.js → chunk-bd21p9zz.js} +2 -2
  112. package/bundle/chunk-be2z0tr4.js +2 -0
  113. package/bundle/{chunk-x0de4z05.js → chunk-bkqemdv8.js} +2 -2
  114. package/bundle/chunk-bq585t67.js +2 -0
  115. package/bundle/chunk-bts3gw8w.js +2 -0
  116. package/bundle/{chunk-qz20b42s.js → chunk-c0sr83np.js} +1 -1
  117. package/bundle/{chunk-zh7e6kqs.js → chunk-c4tdfar1.js} +1 -1
  118. package/bundle/chunk-c6ege2yp.js +2 -0
  119. package/bundle/{chunk-00ft63qn.js → chunk-chs4bkgh.js} +1 -1
  120. package/bundle/{chunk-8b9z8j3z.js → chunk-cm426ssg.js} +1 -1
  121. package/bundle/{chunk-crqycrs4.js → chunk-d4y5hyjg.js} +2 -2
  122. package/bundle/chunk-de0edzjs.js +2 -0
  123. package/bundle/{chunk-4hvenszg.js → chunk-der5kj1b.js} +1 -1
  124. package/bundle/{chunk-6d4xc6br.js → chunk-dhykktcp.js} +1 -1
  125. package/bundle/{chunk-8jkqyf9n.js → chunk-dm7hfb7f.js} +2 -2
  126. package/bundle/chunk-dntnvfdz.js +2 -0
  127. package/bundle/{chunk-q1dmxn63.js → chunk-dptvy1zn.js} +2 -2
  128. package/bundle/{chunk-2k2szpze.js → chunk-dqt8rrey.js} +1 -1
  129. package/bundle/{chunk-ky3fhz9z.js → chunk-dr003xka.js} +1 -1
  130. package/bundle/chunk-dtyzk0j7.js +2 -0
  131. package/bundle/{chunk-qrztx1b4.js → chunk-dwza14dk.js} +2 -2
  132. package/bundle/chunk-e3tmbywr.js +2 -0
  133. package/bundle/{chunk-ej0yzstw.js → chunk-e4nap6v9.js} +2 -2
  134. package/bundle/{chunk-5h1s0akp.js → chunk-e7x8v549.js} +1 -1
  135. package/bundle/{chunk-1e75j4m1.js → chunk-e826jvr2.js} +2 -2
  136. package/bundle/{chunk-9z7y4x7q.js → chunk-edm4c812.js} +1 -1
  137. package/bundle/{chunk-ws720v4j.js → chunk-eearwfay.js} +1 -1
  138. package/bundle/{chunk-gkf7x1yj.js → chunk-ekavngf7.js} +1 -1
  139. package/bundle/chunk-em637k9q.js +2 -0
  140. package/bundle/{chunk-8gkz5550.js → chunk-epncmz5t.js} +1 -1
  141. package/bundle/chunk-eytpz91c.js +8 -0
  142. package/bundle/chunk-f4qcwbx0.js +2 -0
  143. package/bundle/{chunk-a8askx4y.js → chunk-f6gd8809.js} +1 -1
  144. package/bundle/{chunk-e8s4mp5n.js → chunk-fcbmedh3.js} +2 -2
  145. package/bundle/{chunk-4ycg2c6f.js → chunk-fg5f3a8a.js} +2 -2
  146. package/bundle/chunk-fj7jcv7m.js +2 -0
  147. package/bundle/{chunk-47jkx37s.js → chunk-ft4msj4z.js} +3 -3
  148. package/bundle/chunk-fyntc5hj.js +2 -0
  149. package/bundle/chunk-fyt4yaq7.js +2 -0
  150. package/bundle/chunk-g4hcxhfs.js +2 -0
  151. package/bundle/{chunk-c5cyt23k.js → chunk-g7twcprm.js} +2 -2
  152. package/bundle/{chunk-9amnqaeq.js → chunk-g8844pb4.js} +1 -1
  153. package/bundle/{chunk-w136zswr.js → chunk-ganwjd6s.js} +3 -3
  154. package/bundle/chunk-gdew108b.js +2 -0
  155. package/bundle/chunk-gdy74wte.js +2 -0
  156. package/bundle/{chunk-7a4sb6q7.js → chunk-gse0cgqc.js} +1 -1
  157. package/bundle/{chunk-z0dj15g9.js → chunk-gsjgbm0d.js} +1 -1
  158. package/bundle/{chunk-a1mbach4.js → chunk-gt10s0ks.js} +1 -1
  159. package/bundle/{chunk-qpk7jp6t.js → chunk-gxpx2nd8.js} +1 -1
  160. package/bundle/{chunk-4p9fny77.js → chunk-gxq2fwnc.js} +1 -1
  161. package/bundle/chunk-gz90qgcn.js +2 -0
  162. package/bundle/chunk-gzz78dnm.js +2 -0
  163. package/bundle/{chunk-840mmmzz.js → chunk-h3yazfmh.js} +4 -4
  164. package/bundle/{chunk-d4faz5xa.js → chunk-h429rzqp.js} +1 -1
  165. package/bundle/{chunk-f0dp1tf9.js → chunk-h5y0pwwc.js} +1 -1
  166. package/bundle/{chunk-62gefpwn.js → chunk-h6b6acrv.js} +2 -2
  167. package/bundle/{chunk-19rs84t8.js → chunk-h8bq75er.js} +1 -1
  168. package/bundle/{chunk-99df6wvm.js → chunk-ha147mdc.js} +1 -1
  169. package/bundle/{chunk-xdcwx384.js → chunk-ha1w0xzh.js} +1 -1
  170. package/bundle/{chunk-5341jv20.js → chunk-ha294vpj.js} +1 -1
  171. package/bundle/chunk-hfrjkgyk.js +2 -0
  172. package/bundle/chunk-hjpt1n6g.js +2 -0
  173. package/bundle/{chunk-bzh71a92.js → chunk-hvdre0mb.js} +1 -1
  174. package/bundle/{chunk-86sfzgnf.js → chunk-hxf2a10r.js} +1 -1
  175. package/bundle/{chunk-4ppw719f.js → chunk-j09qf4zh.js} +1 -1
  176. package/bundle/chunk-j0jayfyn.js +35 -0
  177. package/bundle/{chunk-ffz334ab.js → chunk-j5b0yc0f.js} +1 -1
  178. package/bundle/{chunk-n6pn4f3r.js → chunk-j767byd1.js} +1 -1
  179. package/bundle/chunk-j794z99k.js +2 -0
  180. package/bundle/{chunk-y1v7mf1a.js → chunk-j95mkzwg.js} +123 -123
  181. package/bundle/{chunk-rn3je2hv.js → chunk-jcznttek.js} +1 -1
  182. package/bundle/{chunk-4v29ayke.js → chunk-jgw20mxx.js} +1 -1
  183. package/bundle/{chunk-175720ws.js → chunk-jhdpwndc.js} +2 -2
  184. package/bundle/{chunk-9gxyt2ay.js → chunk-jkqa49xc.js} +2 -2
  185. package/bundle/{chunk-sb3cgb4v.js → chunk-jmg64erz.js} +1 -1
  186. package/bundle/chunk-jpw7z507.js +2 -0
  187. package/bundle/{chunk-3cs1qf8x.js → chunk-jr622341.js} +1 -1
  188. package/bundle/{chunk-qpggztkq.js → chunk-jv69hdp0.js} +2 -2
  189. package/bundle/chunk-jx9c90ft.js +2 -0
  190. package/bundle/{chunk-fpzkyzny.js → chunk-kevhkmn2.js} +2 -2
  191. package/bundle/{chunk-bxnsrggq.js → chunk-khpjjjsb.js} +1 -1
  192. package/bundle/chunk-kkfrys0w.js +2 -0
  193. package/bundle/chunk-kkq2vwm6.js +2 -0
  194. package/bundle/{chunk-qqsj69m2.js → chunk-km1tyeyy.js} +1 -1
  195. package/bundle/chunk-kp0w1p79.js +2 -0
  196. package/bundle/chunk-kr7t73tg.js +3 -0
  197. package/bundle/chunk-kt7q9620.js +2 -0
  198. package/bundle/{chunk-8a9sj8gp.js → chunk-kzcb1pt4.js} +1 -1
  199. package/bundle/{chunk-jwv6fda1.js → chunk-m0f6cf9n.js} +2 -2
  200. package/bundle/chunk-m30bgt2t.js +2 -0
  201. package/bundle/chunk-m318f9es.js +2 -0
  202. package/bundle/{chunk-1mfdmm2t.js → chunk-m5r6zq6v.js} +1 -1
  203. package/bundle/chunk-m6g6za7b.js +2 -0
  204. package/bundle/chunk-m8djypsy.js +11 -0
  205. package/bundle/chunk-ma0vvbvy.js +2 -0
  206. package/bundle/chunk-mha4n5md.js +2 -0
  207. package/bundle/{chunk-s9epttpy.js → chunk-mhq2a5ms.js} +1 -1
  208. package/bundle/chunk-mp9qhnxg.js +2 -0
  209. package/bundle/{chunk-gd0j16gn.js → chunk-mqdvthkm.js} +1 -1
  210. package/bundle/{chunk-69k7cdtv.js → chunk-mqe1qa6t.js} +2 -2
  211. package/bundle/{chunk-j45p2v4a.js → chunk-mz6swd88.js} +3 -3
  212. package/bundle/{chunk-0m4gvjcv.js → chunk-n25t4j9w.js} +2 -2
  213. package/bundle/{chunk-hx13a8es.js → chunk-n7ewvphw.js} +3 -3
  214. package/bundle/chunk-n9wre9wx.js +2 -0
  215. package/bundle/chunk-ncbj74tk.js +3 -0
  216. package/bundle/{chunk-06tgmvh6.js → chunk-ne3z7yye.js} +2 -2
  217. package/bundle/chunk-nnyvn2pm.js +2 -0
  218. package/bundle/chunk-nyhx3822.js +2 -0
  219. package/bundle/{chunk-zjyaze0d.js → chunk-p54bzjtv.js} +1 -1
  220. package/bundle/{chunk-dvp0r93q.js → chunk-p5d5qyzq.js} +1 -1
  221. package/bundle/{chunk-m8kjtp60.js → chunk-p6mxxem5.js} +1 -1
  222. package/bundle/{chunk-fd04358e.js → chunk-p76c9s6g.js} +310 -309
  223. package/bundle/chunk-p8etcskm.js +2 -0
  224. package/bundle/{chunk-b350g18y.js → chunk-pf4gwr34.js} +2 -2
  225. package/bundle/{chunk-wf0n1cs9.js → chunk-pf61zhms.js} +1 -1
  226. package/bundle/{chunk-sh03ka27.js → chunk-pfx8ts02.js} +1 -1
  227. package/bundle/{chunk-e611m0p4.js → chunk-phvp9h7w.js} +1 -1
  228. package/bundle/chunk-pv71d7f3.js +2 -0
  229. package/bundle/{chunk-6wmtbebc.js → chunk-pwcmc8j7.js} +1 -1
  230. package/bundle/{chunk-g77kddrs.js → chunk-pyt4xpze.js} +2 -2
  231. package/bundle/{chunk-1bq15kf0.js → chunk-q0pd8bac.js} +2 -2
  232. package/bundle/{chunk-yg9n2a2d.js → chunk-q12dtxep.js} +1 -1
  233. package/bundle/{chunk-v1axkp21.js → chunk-q2j2dm96.js} +2 -2
  234. package/bundle/{chunk-rx9eh3db.js → chunk-qf1hh45g.js} +3 -3
  235. package/bundle/{chunk-p4xqfkbh.js → chunk-qqjspfqw.js} +1 -1
  236. package/bundle/{chunk-9kc2th5c.js → chunk-qvnsgyfk.js} +2 -2
  237. package/bundle/{chunk-rqap90xh.js → chunk-qz35c4xy.js} +2 -2
  238. package/bundle/{chunk-bemyyen3.js → chunk-r3z77rjn.js} +1 -1
  239. package/bundle/{chunk-chnr7pe5.js → chunk-r7mcn9ey.js} +1 -1
  240. package/bundle/{chunk-nzz7gzg2.js → chunk-rmpgmjtd.js} +1 -1
  241. package/bundle/{chunk-k0chq88p.js → chunk-rpt3rm31.js} +1 -1
  242. package/bundle/chunk-rteaec1s.js +2 -0
  243. package/bundle/chunk-rxwcah73.js +2 -0
  244. package/bundle/{chunk-s0gmxpxm.js → chunk-s1gy4hnw.js} +2 -2
  245. package/bundle/{chunk-4s1n38ds.js → chunk-s2ma1nz3.js} +2 -2
  246. package/bundle/chunk-s3gjc4m0.js +2 -0
  247. package/bundle/{chunk-6yshpz0z.js → chunk-s5taq9jy.js} +2 -2
  248. package/bundle/{chunk-5mf4qrye.js → chunk-s7017cak.js} +2 -2
  249. package/bundle/{chunk-6pt6nqwk.js → chunk-s9bn800b.js} +1 -1
  250. package/bundle/{chunk-73a7ts8r.js → chunk-sa3rjs2s.js} +1 -1
  251. package/bundle/{chunk-wfpnv00c.js → chunk-sprbs7aj.js} +2 -2
  252. package/bundle/{chunk-10q04xh5.js → chunk-sq2z7keb.js} +1 -1
  253. package/bundle/{chunk-w8nj5ph5.js → chunk-sqrx9csx.js} +1 -1
  254. package/bundle/{chunk-art8gejd.js → chunk-srf4jqcj.js} +1 -1
  255. package/bundle/{chunk-ffyj5nsg.js → chunk-ssp3nw24.js} +2 -2
  256. package/bundle/{chunk-6kch0q2d.js → chunk-svnhycdw.js} +2 -2
  257. package/bundle/chunk-swm990q6.js +2 -0
  258. package/bundle/chunk-sy42ayp2.js +2 -0
  259. package/bundle/{chunk-5rvvfgfy.js → chunk-t3kxce69.js} +2 -2
  260. package/bundle/chunk-t7mvej98.js +2 -0
  261. package/bundle/{chunk-6j53vtzd.js → chunk-t8pmy758.js} +1 -1
  262. package/bundle/{chunk-v7v0krrj.js → chunk-t9srpmte.js} +1 -1
  263. package/bundle/{chunk-358wdvj7.js → chunk-tatecas7.js} +2 -2
  264. package/bundle/chunk-teagh4hx.js +2 -0
  265. package/bundle/{chunk-avksqxan.js → chunk-tf40p520.js} +1 -1
  266. package/bundle/{chunk-y5ydtbpd.js → chunk-tpgksx59.js} +1 -1
  267. package/bundle/{chunk-02tmc2st.js → chunk-tr4cze2c.js} +1 -1
  268. package/bundle/chunk-tv4cp6f9.js +2 -0
  269. package/bundle/chunk-tw618904.js +2 -0
  270. package/bundle/{chunk-zpjtse0z.js → chunk-v1bqh3m6.js} +176 -176
  271. package/bundle/{chunk-j46bxb1b.js → chunk-v3bfzxxg.js} +1 -1
  272. package/bundle/{chunk-vr13f6b5.js → chunk-v5gf0wx6.js} +2 -2
  273. package/bundle/{chunk-d385e2qt.js → chunk-v6mnbwtz.js} +1 -1
  274. package/bundle/{chunk-bq6cvf16.js → chunk-v93gr6n9.js} +2 -2
  275. package/bundle/chunk-vdpffam0.js +2 -0
  276. package/bundle/chunk-ve5w7nkb.js +2 -0
  277. package/bundle/chunk-vey57h4x.js +30 -0
  278. package/bundle/{chunk-pwq2f75j.js → chunk-vf492zs6.js} +1 -1
  279. package/bundle/{chunk-fkq0v5qv.js → chunk-vg9ec44m.js} +2 -2
  280. package/bundle/{chunk-61b81z2h.js → chunk-vh3n53qq.js} +1 -1
  281. package/bundle/{chunk-bmdqb48f.js → chunk-vk8gxf4y.js} +1 -1
  282. package/bundle/{chunk-rd08wx37.js → chunk-vr222v2n.js} +2 -2
  283. package/bundle/chunk-vrpca62q.js +2 -0
  284. package/bundle/{chunk-x3dzzq0t.js → chunk-w5fx69cw.js} +1 -1
  285. package/bundle/{chunk-05bkxat0.js → chunk-w9w59zjv.js} +2 -2
  286. package/bundle/{chunk-xmf59618.js → chunk-wbz79hns.js} +1 -1
  287. package/bundle/{chunk-gfvq78gy.js → chunk-wdrfzx4m.js} +1 -1
  288. package/bundle/{chunk-j3agzs13.js → chunk-wf18y499.js} +2 -2
  289. package/bundle/chunk-wvvygzz2.js +2 -0
  290. package/bundle/{chunk-w4fr00s7.js → chunk-wyxc99aa.js} +2 -2
  291. package/bundle/{chunk-5q98z8ck.js → chunk-x2mbre12.js} +2 -2
  292. package/bundle/{chunk-2d61z24r.js → chunk-x8rr2f15.js} +1 -1
  293. package/bundle/{chunk-7s9msscb.js → chunk-xpmgqa5n.js} +1 -1
  294. package/bundle/{chunk-rws2tsdv.js → chunk-xrwsttb7.js} +1 -1
  295. package/bundle/{chunk-wmj3xndt.js → chunk-xz6psr05.js} +1 -1
  296. package/bundle/{chunk-4xqwt6dr.js → chunk-xzshjp04.js} +2 -2
  297. package/bundle/chunk-y27gwnx9.js +2 -0
  298. package/bundle/chunk-y2ms7q84.js +2 -0
  299. package/bundle/{chunk-1pft3sar.js → chunk-y8bjb32m.js} +1 -1
  300. package/bundle/{chunk-h036zy9e.js → chunk-ya7wrt5f.js} +2 -2
  301. package/bundle/{chunk-ahgb3r1c.js → chunk-ycjz7y1x.js} +2 -2
  302. package/bundle/{chunk-10kj86va.js → chunk-ykqx1z0b.js} +1 -1
  303. package/bundle/chunk-yq4vck53.js +2 -0
  304. package/bundle/{chunk-j2snkw45.js → chunk-yxsc90ba.js} +2 -2
  305. package/bundle/{chunk-5cwy8y78.js → chunk-yy5qqab3.js} +2 -2
  306. package/bundle/{chunk-86reb44c.js → chunk-z38am71w.js} +1 -1
  307. package/bundle/{chunk-pwrwb7mn.js → chunk-z6mqdbj1.js} +1 -1
  308. package/bundle/{chunk-nyxn7npc.js → chunk-z87ew6d3.js} +1 -1
  309. package/bundle/{chunk-m6967jtv.js → chunk-z9k4506p.js} +2 -2
  310. package/bundle/{chunk-hf39qx6t.js → chunk-zezz8xfw.js} +2 -2
  311. package/bundle/{chunk-ffx0cr44.js → chunk-zg72kz2k.js} +2 -2
  312. package/bundle/chunk-zkxc41ek.js +2 -0
  313. package/bundle/{chunk-tz1bzrnh.js → chunk-zssy3srh.js} +1 -1
  314. package/bundle/{chunk-ae1g5y4r.js → chunk-zyz4na64.js} +1 -1
  315. package/bundle/{chunk-e18hshcg.js → chunk-zzsetq5f.js} +1 -1
  316. package/bundle/index.js +3 -3
  317. package/bundle/parser.worker.js +2 -2
  318. package/bundle/worker.js +1 -1
  319. package/package.json +1 -1
  320. package/bundle/chunk-00r3he5x.js +0 -2
  321. package/bundle/chunk-0ks20gz1.js +0 -2
  322. package/bundle/chunk-1a08ffyd.js +0 -2
  323. package/bundle/chunk-1r7anzk5.js +0 -2
  324. package/bundle/chunk-26e51217.js +0 -2
  325. package/bundle/chunk-2g4kxtz0.js +0 -2
  326. package/bundle/chunk-2jzay8a9.js +0 -2
  327. package/bundle/chunk-2q78bdtj.js +0 -2
  328. package/bundle/chunk-30rghawe.js +0 -2
  329. package/bundle/chunk-31a47ptm.js +0 -10
  330. package/bundle/chunk-33mzqyyb.js +0 -3
  331. package/bundle/chunk-34yk99ep.js +0 -2
  332. package/bundle/chunk-3dajnr1w.js +0 -2
  333. package/bundle/chunk-3ege6krg.js +0 -2
  334. package/bundle/chunk-43vpxggb.js +0 -2
  335. package/bundle/chunk-49y7zg15.js +0 -2
  336. package/bundle/chunk-5qhsfjzq.js +0 -3
  337. package/bundle/chunk-5xxn06g0.js +0 -2
  338. package/bundle/chunk-7cp30q0t.js +0 -2
  339. package/bundle/chunk-7xc73qb1.js +0 -2
  340. package/bundle/chunk-8gz8fk6r.js +0 -2
  341. package/bundle/chunk-8ht7cq3h.js +0 -2
  342. package/bundle/chunk-8qv0119d.js +0 -2
  343. package/bundle/chunk-9m0eawt5.js +0 -2
  344. package/bundle/chunk-9thgxbze.js +0 -2
  345. package/bundle/chunk-a32y70fe.js +0 -2
  346. package/bundle/chunk-avzaqy6a.js +0 -2
  347. package/bundle/chunk-az12tp53.js +0 -2
  348. package/bundle/chunk-b5dpzcc7.js +0 -2
  349. package/bundle/chunk-bcgtqx3g.js +0 -2
  350. package/bundle/chunk-bde5d507.js +0 -2
  351. package/bundle/chunk-bzzggc3s.js +0 -2
  352. package/bundle/chunk-c8qx439t.js +0 -2
  353. package/bundle/chunk-ckw51fn6.js +0 -2
  354. package/bundle/chunk-denp0wrq.js +0 -2
  355. package/bundle/chunk-depxzjer.js +0 -2
  356. package/bundle/chunk-dhvqpcf3.js +0 -2
  357. package/bundle/chunk-dkqqswbv.js +0 -2
  358. package/bundle/chunk-dn0437c1.js +0 -5
  359. package/bundle/chunk-e5t7jsxa.js +0 -2
  360. package/bundle/chunk-eb811dt2.js +0 -2
  361. package/bundle/chunk-fbz2xv2w.js +0 -2
  362. package/bundle/chunk-gbvcb4k1.js +0 -2
  363. package/bundle/chunk-gdtnqzbp.js +0 -2
  364. package/bundle/chunk-gkfvhh28.js +0 -2
  365. package/bundle/chunk-gnh8c49b.js +0 -2
  366. package/bundle/chunk-gvf6ek9f.js +0 -2
  367. package/bundle/chunk-gvx5hmhk.js +0 -2
  368. package/bundle/chunk-hham7r33.js +0 -2
  369. package/bundle/chunk-hsjbe5zy.js +0 -2
  370. package/bundle/chunk-j1bv93m4.js +0 -31
  371. package/bundle/chunk-jvvctqjd.js +0 -8
  372. package/bundle/chunk-jvx7jtm4.js +0 -3
  373. package/bundle/chunk-k6gdmqff.js +0 -2
  374. package/bundle/chunk-kzkb4648.js +0 -2
  375. package/bundle/chunk-m2540waa.js +0 -2
  376. package/bundle/chunk-mscvm1rm.js +0 -2
  377. package/bundle/chunk-mw3hh526.js +0 -2
  378. package/bundle/chunk-n3nsrk5n.js +0 -2
  379. package/bundle/chunk-n9nmc4q4.js +0 -2
  380. package/bundle/chunk-nj4as8vy.js +0 -2
  381. package/bundle/chunk-nrzca9yd.js +0 -2
  382. package/bundle/chunk-nxm6gpyv.js +0 -2
  383. package/bundle/chunk-pp10epga.js +0 -8
  384. package/bundle/chunk-qbjqkezn.js +0 -2
  385. package/bundle/chunk-qhtp1xvx.js +0 -2
  386. package/bundle/chunk-qkztgpay.js +0 -2
  387. package/bundle/chunk-rnf3dy0y.js +0 -2
  388. package/bundle/chunk-rry4kq85.js +0 -2
  389. package/bundle/chunk-ryfj80q6.js +0 -2
  390. package/bundle/chunk-snx49w8h.js +0 -2
  391. package/bundle/chunk-t21mdqbb.js +0 -2
  392. package/bundle/chunk-tn2yyqeb.js +0 -2
  393. package/bundle/chunk-ttebf3nt.js +0 -2
  394. package/bundle/chunk-twpfh0mx.js +0 -2
  395. package/bundle/chunk-tzf6d5qy.js +0 -2
  396. package/bundle/chunk-v2mq09wx.js +0 -2
  397. package/bundle/chunk-v59a02aj.js +0 -2
  398. package/bundle/chunk-vnstr4g1.js +0 -2
  399. package/bundle/chunk-vxr4rzt0.js +0 -2
  400. package/bundle/chunk-w0h9rczg.js +0 -2
  401. package/bundle/chunk-w214dwws.js +0 -2
  402. package/bundle/chunk-w8344et5.js +0 -2
  403. package/bundle/chunk-weyg78et.js +0 -2
  404. package/bundle/chunk-xchj8gna.js +0 -2
  405. package/bundle/chunk-y18ptwk2.js +0 -2
  406. package/bundle/chunk-y3dpyz2d.js +0 -2
  407. package/bundle/chunk-ykvgmje9.js +0 -35
  408. package/bundle/chunk-yvjecrjy.js +0 -2
  409. package/bundle/chunk-yw2x6by6.js +0 -2
  410. package/bundle/chunk-z0r4syk8.js +0 -2
  411. package/bundle/chunk-z7c00g63.js +0 -2
  412. package/bundle/chunk-znr0saas.js +0 -2
  413. package/bundle/chunk-zqqt7v17.js +0 -2
  414. package/bundle/chunk-zwrgh1hc.js +0 -2
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-sh03ka27.js";var e={"ui.sessionReview.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u5909\u66F4","ui.sessionReview.title.lastTurn":"\u524D\u56DE\u30BF\u30FC\u30F3\u306E\u5909\u66F4","ui.sessionReview.diffStyle.unified":"Unified","ui.sessionReview.diffStyle.split":"Split","ui.sessionReview.openFile":"\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u304F","ui.sessionReview.selection.line":"{{line}} \u884C\u76EE","ui.sessionReview.selection.lines":"{{start}}-{{end}} \u884C\u76EE","ui.sessionReview.expandAll":"\u3059\u3079\u3066\u5C55\u958B","ui.sessionReview.collapseAll":"\u3059\u3079\u3066\u6298\u308A\u305F\u305F\u3080","ui.sessionReview.change.added":"\u8FFD\u52A0","ui.sessionReview.change.removed":"\u524A\u9664","ui.sessionReview.change.modified":"\u5909\u66F4","ui.sessionReview.image.loading":"\u8AAD\u307F\u8FBC\u307F\u4E2D...","ui.sessionReview.image.placeholder":"\u753B\u50CF","ui.sessionReview.largeDiff.title":"\u5DEE\u5206\u304C\u5927\u304D\u3059\u304E\u3066\u8868\u793A\u3067\u304D\u307E\u305B\u3093","ui.sessionReview.largeDiff.meta":"\u4E0A\u9650: {{limit}} \u5909\u66F4\u884C\u3002\u73FE\u5728: {{current}} \u5909\u66F4\u884C\u3002","ui.sessionReview.largeDiff.renderAnyway":"\u305D\u308C\u3067\u3082\u8868\u793A\u3059\u308B","ui.fileMedia.kind.image":"\u753B\u50CF","ui.fileMedia.kind.audio":"\u97F3\u58F0","ui.fileMedia.state.removed":"{{kind}}\u306F\u524A\u9664\u3055\u308C\u307E\u3057\u305F","ui.fileMedia.state.loading":"{{kind}}\u3092\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...","ui.fileMedia.state.error":"{{kind}}\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F","ui.fileMedia.state.unavailable":"{{kind}}\u306F\u8868\u793A\u3067\u304D\u307E\u305B\u3093","ui.fileMedia.binary.title":"\u30D0\u30A4\u30CA\u30EA\u30D5\u30A1\u30A4\u30EB","ui.fileMedia.binary.description.path":"{{path}} \u306F\u30D0\u30A4\u30CA\u30EA\u30D5\u30A1\u30A4\u30EB\u306E\u305F\u3081\u8868\u793A\u3067\u304D\u307E\u305B\u3093\u3002","ui.fileMedia.binary.description.default":"\u3053\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u30D0\u30A4\u30CA\u30EA\u30D5\u30A1\u30A4\u30EB\u306E\u305F\u3081\u8868\u793A\u3067\u304D\u307E\u305B\u3093\u3002","ui.lineComment.label.prefix":"","ui.lineComment.label.suffix":"\u3078\u306E\u30B3\u30E1\u30F3\u30C8","ui.lineComment.editorLabel.prefix":"","ui.lineComment.editorLabel.suffix":"\u3078\u306E\u30B3\u30E1\u30F3\u30C8\u3092\u4F5C\u6210\u4E2D","ui.lineComment.placeholder":"\u30B3\u30E1\u30F3\u30C8\u3092\u8FFD\u52A0","ui.lineComment.submit":"\u30B3\u30E1\u30F3\u30C8","ui.sessionTurn.steps.show":"\u30B9\u30C6\u30C3\u30D7\u3092\u8868\u793A","ui.sessionTurn.steps.hide":"\u30B9\u30C6\u30C3\u30D7\u3092\u96A0\u3059","ui.sessionTurn.summary.response":"\u5FDC\u7B54","ui.sessionTurn.diff.showMore":"\u3055\u3089\u306B\u5909\u66F4\u3092\u8868\u793A ({{count}})","ui.sessionTurn.retry.retrying":"\u518D\u8A66\u884C\u4E2D","ui.sessionTurn.retry.inSeconds":"{{seconds}}\u79D2\u5F8C","ui.sessionTurn.retry.attempt":"{{attempt}}\u56DE\u76EE","ui.sessionTurn.retry.attemptLine":"{{line}} - {{attempt}}\u56DE\u76EE","ui.sessionTurn.retry.geminiHot":"gemini \u304C\u6DF7\u96D1\u3057\u3066\u3044\u307E\u3059","ui.sessionTurn.error.freeUsageExceeded":"\u7121\u6599\u4F7F\u7528\u5236\u9650\u306B\u9054\u3057\u307E\u3057\u305F","ui.sessionTurn.error.addQredits":"\u30AF\u30EC\u30B8\u30C3\u30C8\u3092\u8FFD\u52A0","ui.sessionTurn.status.delegating":"\u4F5C\u696D\u3092\u59D4\u4EFB\u4E2D","ui.sessionTurn.status.planning":"\u6B21\u306E\u30B9\u30C6\u30C3\u30D7\u3092\u8A08\u753B\u4E2D","ui.sessionTurn.status.gatheringContext":"\u63A2\u7D22\u4E2D","ui.sessionTurn.status.gatheredContext":"\u63A2\u7D22\u6E08\u307F","ui.sessionTurn.status.searchingCodebase":"\u30B3\u30FC\u30C9\u30D9\u30FC\u30B9\u3092\u691C\u7D22\u4E2D","ui.sessionTurn.status.searchingWeb":"\u30A6\u30A7\u30D6\u3092\u691C\u7D22\u4E2D","ui.sessionTurn.status.makingEdits":"\u7DE8\u96C6\u3092\u5B9F\u884C\u4E2D","ui.sessionTurn.status.runningCommands":"\u30B3\u30DE\u30F3\u30C9\u3092\u5B9F\u884C\u4E2D","ui.sessionTurn.status.thinking":"\u601D\u8003\u4E2D","ui.sessionTurn.status.thinkingWithTopic":"\u601D\u8003\u4E2D - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u8003\u3048\u3092\u307E\u3068\u3081\u3066\u3044\u307E\u3059","ui.sessionTurn.status.consideringNextSteps":"\u6B21\u306E\u30B9\u30C6\u30C3\u30D7\u3092\u691C\u8A0E\u4E2D","ui.messagePart.questions.dismissed":"\u8CEA\u554F\u3092\u30B9\u30AD\u30C3\u30D7\u3057\u307E\u3057\u305F","ui.messagePart.compaction":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u5727\u7E2E\u3057\u307E\u3057\u305F","ui.messagePart.context.read.one":"{{count}} \u4EF6\u306E\u8AAD\u307F\u53D6\u308A","ui.messagePart.context.read.other":"{{count}} \u4EF6\u306E\u8AAD\u307F\u53D6\u308A","ui.messagePart.context.search.one":"{{count}} \u4EF6\u306E\u691C\u7D22","ui.messagePart.context.search.other":"{{count}} \u4EF6\u306E\u691C\u7D22","ui.messagePart.context.list.one":"{{count}} \u4EF6\u306E\u30EA\u30B9\u30C8","ui.messagePart.context.list.other":"{{count}} \u4EF6\u306E\u30EA\u30B9\u30C8","ui.messagePart.diagnostic.error":"\u30A8\u30E9\u30FC","ui.messagePart.title.edit":"\u7DE8\u96C6","ui.messagePart.title.write":"\u4F5C\u6210","ui.messagePart.option.typeOwnAnswer":"\u81EA\u5206\u306E\u56DE\u7B54\u3092\u5165\u529B","ui.messagePart.review.title":"\u56DE\u7B54\u3092\u78BA\u8A8D","ui.list.loading":"\u8AAD\u307F\u8FBC\u307F\u4E2D","ui.list.empty":"\u7D50\u679C\u306A\u3057","ui.list.clearFilter":"\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u30AF\u30EA\u30A2","ui.list.emptyWithFilter.prefix":"\u6B21\u306E\u691C\u7D22\u7D50\u679C\u306F\u3042\u308A\u307E\u305B\u3093: ","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"\u65B0\u3057\u3044\u30E1\u30C3\u30BB\u30FC\u30B8","ui.textField.copyToClipboard":"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC","ui.textField.copyLink":"\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC","ui.textField.copied":"\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F","ui.imagePreview.alt":"\u753B\u50CF\u30D7\u30EC\u30D3\u30E5\u30FC","ui.scrollView.ariaLabel":"\u30B9\u30AF\u30ED\u30FC\u30EB\u53EF\u80FD\u306A\u30B3\u30F3\u30C6\u30F3\u30C4","ui.tool.read":"\u8AAD\u307F\u8FBC\u307F","ui.tool.loaded":"\u8AAD\u307F\u8FBC\u307F\u6E08\u307F","ui.tool.list":"\u30EA\u30B9\u30C8","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"Web\u691C\u7D22","ui.tool.codesearch":"\u30B3\u30FC\u30C9\u691C\u7D22","ui.tool.shell":"Shell","ui.tool.patch":"Patch","ui.tool.todos":"Todo","ui.tool.todos.read":"Todo\u8AAD\u307F\u8FBC\u307F","ui.tool.questions":"\u8CEA\u554F","ui.tool.agent":"{{type}}\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8","ui.tool.agent.default":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8","ui.common.file.one":"\u30D5\u30A1\u30A4\u30EB","ui.common.file.other":"\u30D5\u30A1\u30A4\u30EB","ui.common.question.one":"\u8CEA\u554F","ui.common.question.other":"\u8CEA\u554F","ui.common.add":"\u8FFD\u52A0","ui.common.back":"\u623B\u308B","ui.common.cancel":"\u30AD\u30E3\u30F3\u30BB\u30EB","ui.common.confirm":"\u78BA\u8A8D","ui.common.dismiss":"\u9589\u3058\u308B","ui.common.close":"\u9589\u3058\u308B","ui.common.next":"\u6B21\u3078","ui.common.submit":"\u9001\u4FE1","ui.permission.deny":"\u62D2\u5426","ui.permission.allowAlways":"\u5E38\u306B\u8A31\u53EF","ui.permission.allowOnce":"\u4ECA\u56DE\u306E\u307F\u8A31\u53EF","ui.message.expand":"\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u5C55\u958B","ui.message.collapse":"\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u6298\u308A\u305F\u305F\u3080","ui.message.copy":"\u30B3\u30D4\u30FC","ui.message.copyMessage":"\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u30B3\u30D4\u30FC","ui.message.forkMessage":"\u65B0\u3057\u3044\u30BB\u30C3\u30B7\u30E7\u30F3\u306B\u30D5\u30A9\u30FC\u30AF","ui.message.revertMessage":"\u3053\u306E\u6642\u70B9\u307E\u3067\u30EA\u30BB\u30C3\u30C8","ui.message.copyResponse":"\u5FDC\u7B54\u3092\u30B3\u30D4\u30FC","ui.message.copied":"\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F\uFF01","ui.message.interrupted":"\u4E2D\u65AD","ui.message.queued":"\u5F85\u6A5F\u4E2D","ui.message.attachment.alt":"\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB","ui.patch.action.deleted":"\u524A\u9664\u6E08\u307F","ui.patch.action.created":"\u4F5C\u6210\u6E08\u307F","ui.patch.action.moved":"\u79FB\u52D5\u6E08\u307F","ui.patch.action.patched":"\u30D1\u30C3\u30C1\u9069\u7528\u6E08\u307F","ui.question.subtitle.answered":"{{count}}\u4EF6\u56DE\u7B54\u6E08\u307F","ui.question.answer.none":"(\u56DE\u7B54\u306A\u3057)","ui.question.review.notAnswered":"(\u672A\u56DE\u7B54)","ui.question.multiHint":"\u8A72\u5F53\u3059\u308B\u3082\u306E\u3092\u3059\u3079\u3066\u9078\u629E","ui.question.singleHint":"1 \u3064\u9078\u629E","ui.question.custom.placeholder":"\u56DE\u7B54\u3092\u5165\u529B...","ui.fileSearch.placeholder":"\u691C\u7D22","ui.fileSearch.previousMatch":"\u524D\u306E\u4E00\u81F4","ui.fileSearch.nextMatch":"\u6B21\u306E\u4E00\u81F4","ui.fileSearch.close":"\u691C\u7D22\u3092\u9589\u3058\u308B","ui.tool.task":"\u30BF\u30B9\u30AF","ui.tool.skill":"\u30B9\u30AD\u30EB","ui.basicTool.called":"`{{tool}}` \u3092\u547C\u3073\u51FA\u3057\u307E\u3057\u305F","ui.toolErrorCard.failed":"\u5931\u6557","ui.toolErrorCard.copyError":"\u30A8\u30E9\u30FC\u3092\u30B3\u30D4\u30FC","ui.message.duration.seconds":"{{count}}\u79D2","ui.message.duration.minutesSeconds":"{{minutes}}\u5206 {{seconds}}\u79D2"};export{e as dict};
2
+ import"./chunk-pfx8ts02.js";var e={"ui.sessionReview.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u5909\u66F4","ui.sessionReview.title.lastTurn":"\u524D\u56DE\u30BF\u30FC\u30F3\u306E\u5909\u66F4","ui.sessionReview.diffStyle.unified":"Unified","ui.sessionReview.diffStyle.split":"Split","ui.sessionReview.openFile":"\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u304F","ui.sessionReview.selection.line":"{{line}} \u884C\u76EE","ui.sessionReview.selection.lines":"{{start}}-{{end}} \u884C\u76EE","ui.sessionReview.expandAll":"\u3059\u3079\u3066\u5C55\u958B","ui.sessionReview.collapseAll":"\u3059\u3079\u3066\u6298\u308A\u305F\u305F\u3080","ui.sessionReview.change.added":"\u8FFD\u52A0","ui.sessionReview.change.removed":"\u524A\u9664","ui.sessionReview.change.modified":"\u5909\u66F4","ui.sessionReview.image.loading":"\u8AAD\u307F\u8FBC\u307F\u4E2D...","ui.sessionReview.image.placeholder":"\u753B\u50CF","ui.sessionReview.largeDiff.title":"\u5DEE\u5206\u304C\u5927\u304D\u3059\u304E\u3066\u8868\u793A\u3067\u304D\u307E\u305B\u3093","ui.sessionReview.largeDiff.meta":"\u4E0A\u9650: {{limit}} \u5909\u66F4\u884C\u3002\u73FE\u5728: {{current}} \u5909\u66F4\u884C\u3002","ui.sessionReview.largeDiff.renderAnyway":"\u305D\u308C\u3067\u3082\u8868\u793A\u3059\u308B","ui.fileMedia.kind.image":"\u753B\u50CF","ui.fileMedia.kind.audio":"\u97F3\u58F0","ui.fileMedia.state.removed":"{{kind}}\u306F\u524A\u9664\u3055\u308C\u307E\u3057\u305F","ui.fileMedia.state.loading":"{{kind}}\u3092\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...","ui.fileMedia.state.error":"{{kind}}\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F","ui.fileMedia.state.unavailable":"{{kind}}\u306F\u8868\u793A\u3067\u304D\u307E\u305B\u3093","ui.fileMedia.binary.title":"\u30D0\u30A4\u30CA\u30EA\u30D5\u30A1\u30A4\u30EB","ui.fileMedia.binary.description.path":"{{path}} \u306F\u30D0\u30A4\u30CA\u30EA\u30D5\u30A1\u30A4\u30EB\u306E\u305F\u3081\u8868\u793A\u3067\u304D\u307E\u305B\u3093\u3002","ui.fileMedia.binary.description.default":"\u3053\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u30D0\u30A4\u30CA\u30EA\u30D5\u30A1\u30A4\u30EB\u306E\u305F\u3081\u8868\u793A\u3067\u304D\u307E\u305B\u3093\u3002","ui.lineComment.label.prefix":"","ui.lineComment.label.suffix":"\u3078\u306E\u30B3\u30E1\u30F3\u30C8","ui.lineComment.editorLabel.prefix":"","ui.lineComment.editorLabel.suffix":"\u3078\u306E\u30B3\u30E1\u30F3\u30C8\u3092\u4F5C\u6210\u4E2D","ui.lineComment.placeholder":"\u30B3\u30E1\u30F3\u30C8\u3092\u8FFD\u52A0","ui.lineComment.submit":"\u30B3\u30E1\u30F3\u30C8","ui.sessionTurn.steps.show":"\u30B9\u30C6\u30C3\u30D7\u3092\u8868\u793A","ui.sessionTurn.steps.hide":"\u30B9\u30C6\u30C3\u30D7\u3092\u96A0\u3059","ui.sessionTurn.summary.response":"\u5FDC\u7B54","ui.sessionTurn.diff.showMore":"\u3055\u3089\u306B\u5909\u66F4\u3092\u8868\u793A ({{count}})","ui.sessionTurn.retry.retrying":"\u518D\u8A66\u884C\u4E2D","ui.sessionTurn.retry.inSeconds":"{{seconds}}\u79D2\u5F8C","ui.sessionTurn.retry.attempt":"{{attempt}}\u56DE\u76EE","ui.sessionTurn.retry.attemptLine":"{{line}} - {{attempt}}\u56DE\u76EE","ui.sessionTurn.retry.geminiHot":"gemini \u304C\u6DF7\u96D1\u3057\u3066\u3044\u307E\u3059","ui.sessionTurn.error.freeUsageExceeded":"\u7121\u6599\u4F7F\u7528\u5236\u9650\u306B\u9054\u3057\u307E\u3057\u305F","ui.sessionTurn.error.addQredits":"\u30AF\u30EC\u30B8\u30C3\u30C8\u3092\u8FFD\u52A0","ui.sessionTurn.status.delegating":"\u4F5C\u696D\u3092\u59D4\u4EFB\u4E2D","ui.sessionTurn.status.planning":"\u6B21\u306E\u30B9\u30C6\u30C3\u30D7\u3092\u8A08\u753B\u4E2D","ui.sessionTurn.status.gatheringContext":"\u63A2\u7D22\u4E2D","ui.sessionTurn.status.gatheredContext":"\u63A2\u7D22\u6E08\u307F","ui.sessionTurn.status.searchingCodebase":"\u30B3\u30FC\u30C9\u30D9\u30FC\u30B9\u3092\u691C\u7D22\u4E2D","ui.sessionTurn.status.searchingWeb":"\u30A6\u30A7\u30D6\u3092\u691C\u7D22\u4E2D","ui.sessionTurn.status.makingEdits":"\u7DE8\u96C6\u3092\u5B9F\u884C\u4E2D","ui.sessionTurn.status.runningCommands":"\u30B3\u30DE\u30F3\u30C9\u3092\u5B9F\u884C\u4E2D","ui.sessionTurn.status.thinking":"\u601D\u8003\u4E2D","ui.sessionTurn.status.thinkingWithTopic":"\u601D\u8003\u4E2D - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u8003\u3048\u3092\u307E\u3068\u3081\u3066\u3044\u307E\u3059","ui.sessionTurn.status.consideringNextSteps":"\u6B21\u306E\u30B9\u30C6\u30C3\u30D7\u3092\u691C\u8A0E\u4E2D","ui.messagePart.questions.dismissed":"\u8CEA\u554F\u3092\u30B9\u30AD\u30C3\u30D7\u3057\u307E\u3057\u305F","ui.messagePart.compaction":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u5727\u7E2E\u3057\u307E\u3057\u305F","ui.messagePart.context.read.one":"{{count}} \u4EF6\u306E\u8AAD\u307F\u53D6\u308A","ui.messagePart.context.read.other":"{{count}} \u4EF6\u306E\u8AAD\u307F\u53D6\u308A","ui.messagePart.context.search.one":"{{count}} \u4EF6\u306E\u691C\u7D22","ui.messagePart.context.search.other":"{{count}} \u4EF6\u306E\u691C\u7D22","ui.messagePart.context.list.one":"{{count}} \u4EF6\u306E\u30EA\u30B9\u30C8","ui.messagePart.context.list.other":"{{count}} \u4EF6\u306E\u30EA\u30B9\u30C8","ui.messagePart.diagnostic.error":"\u30A8\u30E9\u30FC","ui.messagePart.title.edit":"\u7DE8\u96C6","ui.messagePart.title.write":"\u4F5C\u6210","ui.messagePart.option.typeOwnAnswer":"\u81EA\u5206\u306E\u56DE\u7B54\u3092\u5165\u529B","ui.messagePart.review.title":"\u56DE\u7B54\u3092\u78BA\u8A8D","ui.list.loading":"\u8AAD\u307F\u8FBC\u307F\u4E2D","ui.list.empty":"\u7D50\u679C\u306A\u3057","ui.list.clearFilter":"\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u30AF\u30EA\u30A2","ui.list.emptyWithFilter.prefix":"\u6B21\u306E\u691C\u7D22\u7D50\u679C\u306F\u3042\u308A\u307E\u305B\u3093: ","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"\u65B0\u3057\u3044\u30E1\u30C3\u30BB\u30FC\u30B8","ui.textField.copyToClipboard":"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC","ui.textField.copyLink":"\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC","ui.textField.copied":"\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F","ui.imagePreview.alt":"\u753B\u50CF\u30D7\u30EC\u30D3\u30E5\u30FC","ui.scrollView.ariaLabel":"\u30B9\u30AF\u30ED\u30FC\u30EB\u53EF\u80FD\u306A\u30B3\u30F3\u30C6\u30F3\u30C4","ui.tool.read":"\u8AAD\u307F\u8FBC\u307F","ui.tool.loaded":"\u8AAD\u307F\u8FBC\u307F\u6E08\u307F","ui.tool.list":"\u30EA\u30B9\u30C8","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"Web\u691C\u7D22","ui.tool.codesearch":"\u30B3\u30FC\u30C9\u691C\u7D22","ui.tool.shell":"Shell","ui.tool.patch":"Patch","ui.tool.todos":"Todo","ui.tool.todos.read":"Todo\u8AAD\u307F\u8FBC\u307F","ui.tool.questions":"\u8CEA\u554F","ui.tool.agent":"{{type}}\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8","ui.tool.agent.default":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8","ui.common.file.one":"\u30D5\u30A1\u30A4\u30EB","ui.common.file.other":"\u30D5\u30A1\u30A4\u30EB","ui.common.question.one":"\u8CEA\u554F","ui.common.question.other":"\u8CEA\u554F","ui.common.add":"\u8FFD\u52A0","ui.common.back":"\u623B\u308B","ui.common.cancel":"\u30AD\u30E3\u30F3\u30BB\u30EB","ui.common.confirm":"\u78BA\u8A8D","ui.common.dismiss":"\u9589\u3058\u308B","ui.common.close":"\u9589\u3058\u308B","ui.common.next":"\u6B21\u3078","ui.common.submit":"\u9001\u4FE1","ui.permission.deny":"\u62D2\u5426","ui.permission.allowAlways":"\u5E38\u306B\u8A31\u53EF","ui.permission.allowOnce":"\u4ECA\u56DE\u306E\u307F\u8A31\u53EF","ui.message.expand":"\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u5C55\u958B","ui.message.collapse":"\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u6298\u308A\u305F\u305F\u3080","ui.message.copy":"\u30B3\u30D4\u30FC","ui.message.copyMessage":"\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u30B3\u30D4\u30FC","ui.message.forkMessage":"\u65B0\u3057\u3044\u30BB\u30C3\u30B7\u30E7\u30F3\u306B\u30D5\u30A9\u30FC\u30AF","ui.message.revertMessage":"\u3053\u306E\u6642\u70B9\u307E\u3067\u30EA\u30BB\u30C3\u30C8","ui.message.copyResponse":"\u5FDC\u7B54\u3092\u30B3\u30D4\u30FC","ui.message.copied":"\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F\uFF01","ui.message.interrupted":"\u4E2D\u65AD","ui.message.queued":"\u5F85\u6A5F\u4E2D","ui.message.attachment.alt":"\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB","ui.patch.action.deleted":"\u524A\u9664\u6E08\u307F","ui.patch.action.created":"\u4F5C\u6210\u6E08\u307F","ui.patch.action.moved":"\u79FB\u52D5\u6E08\u307F","ui.patch.action.patched":"\u30D1\u30C3\u30C1\u9069\u7528\u6E08\u307F","ui.question.subtitle.answered":"{{count}}\u4EF6\u56DE\u7B54\u6E08\u307F","ui.question.answer.none":"(\u56DE\u7B54\u306A\u3057)","ui.question.review.notAnswered":"(\u672A\u56DE\u7B54)","ui.question.multiHint":"\u8A72\u5F53\u3059\u308B\u3082\u306E\u3092\u3059\u3079\u3066\u9078\u629E","ui.question.singleHint":"1 \u3064\u9078\u629E","ui.question.custom.placeholder":"\u56DE\u7B54\u3092\u5165\u529B...","ui.fileSearch.placeholder":"\u691C\u7D22","ui.fileSearch.previousMatch":"\u524D\u306E\u4E00\u81F4","ui.fileSearch.nextMatch":"\u6B21\u306E\u4E00\u81F4","ui.fileSearch.close":"\u691C\u7D22\u3092\u9589\u3058\u308B","ui.tool.task":"\u30BF\u30B9\u30AF","ui.tool.skill":"\u30B9\u30AD\u30EB","ui.basicTool.called":"`{{tool}}` \u3092\u547C\u3073\u51FA\u3057\u307E\u3057\u305F","ui.toolErrorCard.failed":"\u5931\u6557","ui.toolErrorCard.copyError":"\u30A8\u30E9\u30FC\u3092\u30B3\u30D4\u30FC","ui.message.duration.seconds":"{{count}}\u79D2","ui.message.duration.minutesSeconds":"{{minutes}}\u5206 {{seconds}}\u79D2"};export{e as dict};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  function t(o){return o}
3
- export{t as fe};
3
+ export{t as ge};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  var o=[{test:(a)=>a.startsWith("en"),locale:"en"},{test:(a)=>a.startsWith("zh")&&/(hant|tw|hk|mo)/.test(a),locale:"zht"},{test:(a)=>a.startsWith("zh"),locale:"zh"},{test:(a)=>a.startsWith("ko"),locale:"ko"},{test:(a)=>a.startsWith("de"),locale:"de"},{test:(a)=>a.startsWith("es"),locale:"es"},{test:(a)=>a.startsWith("fr"),locale:"fr"},{test:(a)=>a.startsWith("da"),locale:"da"},{test:(a)=>a.startsWith("ja"),locale:"ja"},{test:(a)=>a.startsWith("pl"),locale:"pl"},{test:(a)=>a.startsWith("ru"),locale:"ru"},{test:(a)=>a.startsWith("ar"),locale:"ar"},{test:(a)=>/^(no|nb|nn)/.test(a),locale:"no"},{test:(a)=>a.startsWith("pt")&&/br/.test(a),locale:"br"},{test:(a)=>a.startsWith("pt"),locale:"pt"},{test:(a)=>a.startsWith("th"),locale:"th"},{test:(a)=>a.startsWith("bs"),locale:"bs"},{test:(a)=>a.startsWith("tr"),locale:"tr"}],s=new Set(["Asia/Shanghai","Asia/Chongqing","Asia/Harbin","Asia/Urumqi","Asia/Kashgar"]),A=new Set(["Asia/Hong_Kong","Asia/Macau","Asia/Macao","Asia/Taipei"]),m=new Set(["Asia/Tokyo"]),l=new Set(["Europe/Paris","Europe/Monaco","Indian/Reunion","Indian/Mayotte","Pacific/Noumea","Pacific/Tahiti","Pacific/Marquesas","Pacific/Gambier","America/Martinique","America/Guadeloupe","America/St_Barthelemy","America/Cayenne","America/Miquelon"]),u=new Set(["Europe/Moscow","Europe/Kaliningrad","Europe/Samara","Europe/Volgograd","Europe/Saratov","Europe/Astrakhan","Europe/Kirov","Europe/Ulyanovsk","Europe/Simferopol","Europe/Minsk","Asia/Yekaterinburg","Asia/Omsk","Asia/Novosibirsk","Asia/Novokuznetsk","Asia/Krasnoyarsk","Asia/Irkutsk","Asia/Chita","Asia/Yakutsk","Asia/Khandyga","Asia/Vladivostok","Asia/Ust-Nera","Asia/Magadan","Asia/Sakhalin","Asia/Srednekolymsk","Asia/Kamchatka","Asia/Anadyr","Asia/Barnaul","Asia/Tomsk"]),h=new Set(["Europe/Madrid","Atlantic/Canary","Africa/Ceuta","America/Mexico_City","America/Tijuana","America/Hermosillo","America/Mazatlan","America/Chihuahua","America/Monterrey","America/Cancun","America/Merida","America/Matamoros","America/Bahia_Banderas","America/Ojinaga","America/Havana","America/Santo_Domingo","America/Puerto_Rico","America/Panama","America/Guatemala","America/Tegucigalpa","America/Managua","America/Costa_Rica","America/El_Salvador","America/Bogota","America/Caracas","America/Guayaquil","America/Lima","America/La_Paz","America/Asuncion","America/Montevideo","America/Santiago","America/Punta_Arenas","Pacific/Easter","America/Argentina/Buenos_Aires","America/Argentina/Cordoba","America/Argentina/Salta","America/Argentina/Jujuy","America/Argentina/Tucuman","America/Argentina/Catamarca","America/Argentina/La_Rioja","America/Argentina/San_Juan","America/Argentina/Mendoza","America/Argentina/San_Luis","America/Argentina/Rio_Gallegos","America/Argentina/Ushuaia"]),d=new Set(["America/New_York","America/Detroit","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Indiana/Indianapolis","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Vevay","America/Indiana/Tell_City","America/Indiana/Knox","America/Chicago","America/Menominee","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/North_Dakota/Beulah","America/Denver","America/Boise","America/Phoenix","America/Los_Angeles","America/Anchorage","America/Juneau","America/Sitka","America/Metlakatla","America/Yakutat","America/Nome","America/Adak","Pacific/Honolulu","America/Toronto","America/Vancouver","America/Edmonton","America/Winnipeg","America/Halifax","America/St_Johns","America/Regina","America/Whitehorse","Europe/London","Europe/Belfast","Europe/Dublin","Australia/Sydney","Australia/Melbourne","Australia/Brisbane","Australia/Perth","Australia/Adelaide","Australia/Hobart","Australia/Darwin","Pacific/Auckland"]);function g(){try{let a=Intl.DateTimeFormat().resolvedOptions().timeZone;if(!a)return;if(A.has(a))return"zht";if(s.has(a))return"zh";if(m.has(a))return"ja";if(u.has(a))return"ru";if(l.has(a))return"fr";if(h.has(a))return"es";if(d.has(a))return"en"}catch{}return}function f(){let a=g();if(a)return a;for(let t of["LC_ALL","LC_MESSAGES","LANG","LANGUAGE"]){let e=process.env[t];if(!e)continue;for(let r of e.split(":")){let i=r.replace(/[.@].*$/,"").replace(/_/g,"-").toLowerCase();if(!i||i==="c"||i==="posix")continue;let n=o.find((c)=>c.test(i));if(n)return n.locale}}try{let t=Intl.DateTimeFormat().resolvedOptions().locale.toLowerCase(),e=o.find((r)=>r.test(t));if(e)return e.locale}catch{}return"en"}
3
- export{f as W};
3
+ export{f as X};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Ke as u}from"./chunk-0m4gvjcv.js";import{Qe as m,Re as S}from"./chunk-w136zswr.js";import{Se as C}from"./chunk-s0gmxpxm.js";import{Gf as h}from"./chunk-48rg4yhk.js";import{vP as R}from"./chunk-sh03ka27.js";var WB=R((s)=>{var H=C(),K=m(),V=h(),v=S(),q=u(),b=(B)=>H.HttpResponse.isInstance(B)?B.headers?.date??B.headers?.Date:void 0,I=(B)=>new Date(Date.now()+B),P=(B,J)=>Math.abs(I(J).getTime()-B)>=300000,A=(B,J)=>{let Q=Date.parse(B);if(P(Q,J))return Q-Date.now();return J},M=(B,J)=>{if(!J)throw Error(`Property \`${B}\` is not resolved for AWS SDK SigV4Auth`);return J},w=async(B)=>{let J=M("context",B.context),Q=M("config",B.config),L=J.endpointV2?.properties?.authSchemes?.[0],z=await M("signer",Q.signer)(L),j=B?.signingRegion,Z=B?.signingRegionSet,Y=B?.signingName;return{config:Q,signer:z,signingRegion:j,signingRegionSet:Z,signingName:Y}};class D{async sign(B,J,Q){if(!H.HttpRequest.isInstance(B))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let L=await w(Q),{config:$,signer:z}=L,{signingRegion:j,signingName:Z}=L,Y=Q.context;if(Y?.authSchemes?.length??!1){let[G,X]=Y.authSchemes;if(G?.name==="sigv4a"&&X?.name==="sigv4")j=X?.signingRegion??j,Z=X?.signingName??Z}return await z.sign(B,{signingDate:I($.systemClockOffset),signingRegion:j,signingService:Z})}errorHandler(B){return(J)=>{let Q=J.ServerTime??b(J.$response);if(Q){let L=M("config",B.config),$=L.systemClockOffset;if(L.systemClockOffset=A(Q,L.systemClockOffset),L.systemClockOffset!==$&&J.$metadata)J.$metadata.clockSkewCorrected=!0}throw J}}successHandler(B,J){let Q=b(B);if(Q){let L=M("config",J.config);L.systemClockOffset=A(Q,L.systemClockOffset)}}}var p=D;class _ extends D{async sign(B,J,Q){if(!H.HttpRequest.isInstance(B))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let{config:L,signer:$,signingRegion:z,signingRegionSet:j,signingName:Z}=await w(Q),W=(await L.sigv4aSigningRegionSet?.()??j??[z]).join(",");return await $.sign(B,{signingDate:I(L.systemClockOffset),signingRegion:W,signingService:Z})}}var T=(B)=>typeof B==="string"&&B.length>0?B.split(",").map((J)=>J.trim()):[],O=(B)=>`AWS_BEARER_TOKEN_${B.replace(/[\s-]/g,"_").toUpperCase()}`,N="AWS_AUTH_SCHEME_PREFERENCE",y="auth_scheme_preference",l={environmentVariableSelector:(B,J)=>{if(J?.signingName){if(O(J.signingName)in B)return["httpBearerAuth"]}if(!(N in B))return;return T(B[N])},configFileSelector:(B)=>{if(!(y in B))return;return T(B[y])},default:[]},a=(B)=>{return B.sigv4aSigningRegionSet=K.normalizeProvider(B.sigv4aSigningRegionSet),B},d={environmentVariableSelector(B){if(B.AWS_SIGV4A_SIGNING_REGION_SET)return B.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((J)=>J.trim());throw new V.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.",{tryNextLink:!0})},configFileSelector(B){if(B.sigv4a_signing_region_set)return(B.sigv4a_signing_region_set??"").split(",").map((J)=>J.trim());throw new V.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:!0})},default:void 0},E=(B)=>{let J=B.credentials,Q=!!B.credentials,L=void 0;Object.defineProperty(B,"credentials",{set(W){if(W&&W!==J&&W!==L)Q=!0;J=W;let G=c(B,{credentials:J,credentialDefaultProvider:B.credentialDefaultProvider}),X=t(B,G);if(Q&&!X.attributed){let F=typeof J==="object"&&J!==null;L=async(U)=>{let x=await X(U);if(F&&(!x.$source||Object.keys(x.$source).length===0))return v.setCredentialFeature(x,"CREDENTIALS_CODE","e");return x},L.memoized=X.memoized,L.configBound=X.configBound,L.attributed=!0}else L=X},get(){return L},enumerable:!0,configurable:!0}),B.credentials=J;let{signingEscapePath:$=!0,systemClockOffset:z=B.systemClockOffset||0,sha256:j}=B,Z;if(B.signer)Z=K.normalizeProvider(B.signer);else if(B.regionInfoProvider)Z=()=>K.normalizeProvider(B.region)().then(async(W)=>[await B.regionInfoProvider(W,{useFipsEndpoint:await B.useFipsEndpoint(),useDualstackEndpoint:await B.useDualstackEndpoint()})||{},W]).then(([W,G])=>{let{signingRegion:X,signingService:F}=W;B.signingRegion=B.signingRegion||X||G,B.signingName=B.signingName||F||B.serviceId;let U={...B,credentials:B.credentials,region:B.signingRegion,service:B.signingName,sha256:j,uriEscapePath:$};return new(B.signerConstructor||q.SignatureV4)(U)});else Z=async(W)=>{W=Object.assign({},{name:"sigv4",signingName:B.signingName||B.defaultSigningName,signingRegion:await K.normalizeProvider(B.region)(),properties:{}},W);let{signingRegion:G,signingName:X}=W;B.signingRegion=B.signingRegion||G,B.signingName=B.signingName||X||B.serviceId;let F={...B,credentials:B.credentials,region:B.signingRegion,service:B.signingName,sha256:j,uriEscapePath:$};return new(B.signerConstructor||q.SignatureV4)(F)};return Object.assign(B,{systemClockOffset:z,signingEscapePath:$,signer:Z})},f=E;function c(B,{credentials:J,credentialDefaultProvider:Q}){let L;if(J)if(!J?.memoized)L=K.memoizeIdentityProvider(J,K.isIdentityExpired,K.doesIdentityRequireRefresh);else L=J;else if(Q)L=K.normalizeProvider(Q(Object.assign({},B,{parentClientConfig:B})));else L=async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")};return L.memoized=!0,L}function t(B,J){if(J.configBound)return J;let Q=async(L)=>J({...L,callerClientConfig:B});return Q.memoized=J.memoized,Q.configBound=!0,Q}s.AWSSDKSigV4Signer=p;s.AwsSdkSigV4ASigner=_;s.AwsSdkSigV4Signer=D;s.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS=l;s.NODE_SIGV4A_CONFIG_OPTIONS=d;s.getBearerTokenEnvKey=O;s.resolveAWSSDKSigV4Config=f;s.resolveAwsSdkSigV4AConfig=a;s.resolveAwsSdkSigV4Config=E;s.validateSigningProperties=w});
3
- export{WB as Je};
2
+ import{Le as u}from"./chunk-n25t4j9w.js";import{Re as m,Se as S}from"./chunk-ganwjd6s.js";import{Te as C}from"./chunk-s1gy4hnw.js";import{Hf as h}from"./chunk-b2zfr7jz.js";import{$Q as R}from"./chunk-pfx8ts02.js";var WB=R((s)=>{var H=C(),K=m(),V=h(),v=S(),q=u(),b=(B)=>H.HttpResponse.isInstance(B)?B.headers?.date??B.headers?.Date:void 0,I=(B)=>new Date(Date.now()+B),P=(B,J)=>Math.abs(I(J).getTime()-B)>=300000,A=(B,J)=>{let Q=Date.parse(B);if(P(Q,J))return Q-Date.now();return J},M=(B,J)=>{if(!J)throw Error(`Property \`${B}\` is not resolved for AWS SDK SigV4Auth`);return J},w=async(B)=>{let J=M("context",B.context),Q=M("config",B.config),L=J.endpointV2?.properties?.authSchemes?.[0],z=await M("signer",Q.signer)(L),j=B?.signingRegion,Z=B?.signingRegionSet,Y=B?.signingName;return{config:Q,signer:z,signingRegion:j,signingRegionSet:Z,signingName:Y}};class D{async sign(B,J,Q){if(!H.HttpRequest.isInstance(B))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let L=await w(Q),{config:$,signer:z}=L,{signingRegion:j,signingName:Z}=L,Y=Q.context;if(Y?.authSchemes?.length??!1){let[G,X]=Y.authSchemes;if(G?.name==="sigv4a"&&X?.name==="sigv4")j=X?.signingRegion??j,Z=X?.signingName??Z}return await z.sign(B,{signingDate:I($.systemClockOffset),signingRegion:j,signingService:Z})}errorHandler(B){return(J)=>{let Q=J.ServerTime??b(J.$response);if(Q){let L=M("config",B.config),$=L.systemClockOffset;if(L.systemClockOffset=A(Q,L.systemClockOffset),L.systemClockOffset!==$&&J.$metadata)J.$metadata.clockSkewCorrected=!0}throw J}}successHandler(B,J){let Q=b(B);if(Q){let L=M("config",J.config);L.systemClockOffset=A(Q,L.systemClockOffset)}}}var p=D;class _ extends D{async sign(B,J,Q){if(!H.HttpRequest.isInstance(B))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let{config:L,signer:$,signingRegion:z,signingRegionSet:j,signingName:Z}=await w(Q),W=(await L.sigv4aSigningRegionSet?.()??j??[z]).join(",");return await $.sign(B,{signingDate:I(L.systemClockOffset),signingRegion:W,signingService:Z})}}var T=(B)=>typeof B==="string"&&B.length>0?B.split(",").map((J)=>J.trim()):[],O=(B)=>`AWS_BEARER_TOKEN_${B.replace(/[\s-]/g,"_").toUpperCase()}`,N="AWS_AUTH_SCHEME_PREFERENCE",y="auth_scheme_preference",l={environmentVariableSelector:(B,J)=>{if(J?.signingName){if(O(J.signingName)in B)return["httpBearerAuth"]}if(!(N in B))return;return T(B[N])},configFileSelector:(B)=>{if(!(y in B))return;return T(B[y])},default:[]},a=(B)=>{return B.sigv4aSigningRegionSet=K.normalizeProvider(B.sigv4aSigningRegionSet),B},d={environmentVariableSelector(B){if(B.AWS_SIGV4A_SIGNING_REGION_SET)return B.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((J)=>J.trim());throw new V.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.",{tryNextLink:!0})},configFileSelector(B){if(B.sigv4a_signing_region_set)return(B.sigv4a_signing_region_set??"").split(",").map((J)=>J.trim());throw new V.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:!0})},default:void 0},E=(B)=>{let J=B.credentials,Q=!!B.credentials,L=void 0;Object.defineProperty(B,"credentials",{set(W){if(W&&W!==J&&W!==L)Q=!0;J=W;let G=c(B,{credentials:J,credentialDefaultProvider:B.credentialDefaultProvider}),X=t(B,G);if(Q&&!X.attributed){let F=typeof J==="object"&&J!==null;L=async(U)=>{let x=await X(U);if(F&&(!x.$source||Object.keys(x.$source).length===0))return v.setCredentialFeature(x,"CREDENTIALS_CODE","e");return x},L.memoized=X.memoized,L.configBound=X.configBound,L.attributed=!0}else L=X},get(){return L},enumerable:!0,configurable:!0}),B.credentials=J;let{signingEscapePath:$=!0,systemClockOffset:z=B.systemClockOffset||0,sha256:j}=B,Z;if(B.signer)Z=K.normalizeProvider(B.signer);else if(B.regionInfoProvider)Z=()=>K.normalizeProvider(B.region)().then(async(W)=>[await B.regionInfoProvider(W,{useFipsEndpoint:await B.useFipsEndpoint(),useDualstackEndpoint:await B.useDualstackEndpoint()})||{},W]).then(([W,G])=>{let{signingRegion:X,signingService:F}=W;B.signingRegion=B.signingRegion||X||G,B.signingName=B.signingName||F||B.serviceId;let U={...B,credentials:B.credentials,region:B.signingRegion,service:B.signingName,sha256:j,uriEscapePath:$};return new(B.signerConstructor||q.SignatureV4)(U)});else Z=async(W)=>{W=Object.assign({},{name:"sigv4",signingName:B.signingName||B.defaultSigningName,signingRegion:await K.normalizeProvider(B.region)(),properties:{}},W);let{signingRegion:G,signingName:X}=W;B.signingRegion=B.signingRegion||G,B.signingName=B.signingName||X||B.serviceId;let F={...B,credentials:B.credentials,region:B.signingRegion,service:B.signingName,sha256:j,uriEscapePath:$};return new(B.signerConstructor||q.SignatureV4)(F)};return Object.assign(B,{systemClockOffset:z,signingEscapePath:$,signer:Z})},f=E;function c(B,{credentials:J,credentialDefaultProvider:Q}){let L;if(J)if(!J?.memoized)L=K.memoizeIdentityProvider(J,K.isIdentityExpired,K.doesIdentityRequireRefresh);else L=J;else if(Q)L=K.normalizeProvider(Q(Object.assign({},B,{parentClientConfig:B})));else L=async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")};return L.memoized=!0,L}function t(B,J){if(J.configBound)return J;let Q=async(L)=>J({...L,callerClientConfig:B});return Q.memoized=J.memoized,Q.configBound=!0,Q}s.AWSSDKSigV4Signer=p;s.AwsSdkSigV4ASigner=_;s.AwsSdkSigV4Signer=D;s.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS=l;s.NODE_SIGV4A_CONFIG_OPTIONS=d;s.getBearerTokenEnvKey=O;s.resolveAWSSDKSigV4Config=f;s.resolveAwsSdkSigV4AConfig=a;s.resolveAwsSdkSigV4Config=E;s.validateSigningProperties=w});
3
+ export{WB as Ke};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{$r as rJ,Kr as mJ,Lr as vJ,Mr as dJ,Nr as lJ,Qr as d,Rr as l,Tr as uJ,Ur as cJ,Xr as pJ,Yr as iJ,Zr as nJ,_r as aJ,bs as AQ}from"./chunk-6cztstry.js";import{Et as FQ,ft as CQ,gt as DQ}from"./chunk-8jkqyf9n.js";import{Pt as x,Yt as GJ}from"./chunk-5dvy83ms.js";import{AD as KJ,BH as SJ,FF as z,FH as xJ,GE as qQ,GG as EJ,JH as fJ,KG as MJ,LF as b,NE as _J,NF as CJ,NG as oJ,RG as RJ,SM as j,TG as VJ,UH as E,WG as hJ,XF as DJ,YF as FJ,ZF as AJ,ZH as yJ,_H as bJ,aF as BQ,bF as wQ,bP as g,cP as eJ,dD as GQ,dH as jJ,eF as $J,fF as UJ,fP as HQ,gC as wJ,gI as I,gP as WQ,hN as o,hP as R,jC as HJ,jG as t,jH as NJ,kF as zJ,kG as OJ,mC as WJ,mG as y,nJ as gJ,oC as $Q,rD as IJ,tB as tJ,uD as PJ,uH as kJ,vF as ZJ,wC as f,xD as T,yH as LJ,zG as TJ}from"./chunk-9kc2th5c.js";import{uP as zQ,wP as u,yP as S}from"./chunk-sh03ka27.js";var IX={};u(IX,{resource:()=>BJ,layer:()=>EQ,enabled:()=>OQ,Observability:()=>WX});var p={};u(p,{make:()=>IQ,layer:()=>ZX});var VQ=AJ.pipe(FJ,DJ((J)=>{if(lJ(J)&&J.reason._tag==="StatusCodeError"&&J.reason.response.status===429){let Q=HJ(J.reason.response.headers["retry-after"]).pipe(WJ(CJ),wJ(()=>5));return t(T(Q))}return t(T(1))})),sJ=E(function*(J){let Q=yield*jJ(),X=f(Q,b),Y=f(Q,UJ),$=fJ(Q),G=KJ(IJ(J.exportInterval),PJ),B=void 0,C=nJ(f(Q,pJ)).pipe(iJ(NJ(rJ,!1)),aJ({schedule:VQ,times:3})),V=vJ({"user-agent":`effect-opentelemetry-${J.label}/0.0.0`});if(J.headers)V=dJ(mJ(J.headers),V);let r=uJ(J.url,{headers:V}),O=[],s=OJ(()=>{if(B!==void 0&&X.currentTimeMillisUnsafe()<B)return y;else if(B!==void 0)B=void 0;let h=O;if(J.maxBatchSize!=="disabled"){if(O.length===0)return y;O=[]}return C.execute(cJ(r,J.body(h))).pipe(EJ,SJ(!1))}).pipe(MJ((h)=>{if(B!==void 0)return y;return B=X.currentTimeMillisUnsafe()+60000,O=[],yJ("Disabling exporter for 60 seconds",h)}),bJ({package:"@effect/opentelemetry",module:J.label}));return yield*zJ(Y,s.pipe(RJ,kJ,VJ(J.shutdownTimeout))),yield*hJ(G).pipe(TJ(s),LJ,xJ(Y)),{push(h){if(B!==void 0)return;if(O.push(h),J.maxBatchSize!=="disabled"&&O.length>=J.maxBatchSize)gJ($(s),Y)}}});var jQ=(J)=>{let Q=J.attributes?e(Object.entries(J.attributes)):[];if(Q.push({key:"service.name",value:{stringValue:J.serviceName}}),J.serviceVersion)Q.push({key:"service.version",value:{stringValue:J.serviceVersion}});return{attributes:Q,droppedAttributesCount:0}},JQ=E(function*(J){let Q={...yield*g(o(eJ(j,j)),"OTEL_RESOURCE_ATTRIBUTES"),...J?.attributes},X=J?.serviceName??Q["service.name"]??(yield*g(j,"OTEL_SERVICE_NAME"));delete Q["service.name"];let Y=J?.serviceVersion??Q["service.version"]??(yield*g(o(j),"OTEL_SERVICE_VERSION"));return delete Q["service.version"],jQ({serviceName:X,serviceVersion:Y,attributes:Q})},oJ),QQ=(J)=>{let Q=J.attributes.find((X)=>X.key==="service.name");if(!Q||!Q.value.stringValue)throw Error("Resource does not contain a service name");return Q.value.stringValue},e=(J)=>{let Q=[];for(let[X,Y]of J)Q.push({key:X,value:m(Y)});return Q},m=(J)=>{if(Array.isArray(J))return{arrayValue:{values:J.map(m)}};switch(typeof J){case"string":return{stringValue:J};case"bigint":return{intValue:Number(J)};case"number":return Number.isInteger(J)?{intValue:J}:{doubleValue:J};case"boolean":return{boolValue:J};default:return{stringValue:tJ(J)}}};var c={};u(c,{layerProtobuf:()=>YX,layerJson:()=>XX,OtlpSerialization:()=>M});var N={Varint:0,Fixed64:1,LengthDelimited:2,Fixed32:5},k=(J,Q)=>J<<3|Q,D=(J)=>{let Q=[],X=typeof J==="bigint"?J:BigInt(J);while(X>0x7fn)Q.push(Number(X&0x7fn)|128),X>>=7n;return Q.push(Number(X)),new Uint8Array(Q)};var kQ=(J)=>{let Q=new Uint8Array(8);return new DataView(Q.buffer).setBigUint64(0,J,!0),Q},LQ=(J)=>{let Q=new Uint8Array(4);return new DataView(Q.buffer).setUint32(0,J,!0),Q},SQ=(J)=>{let Q=new Uint8Array(8);return new DataView(Q.buffer).setFloat64(0,J,!0),Q},xQ=(J)=>new TextEncoder().encode(J),fQ=(J)=>{let Q=new Uint8Array(J.length/2);for(let X=0;X<J.length;X+=2)Q[X/2]=parseInt(J.slice(X,X+2),16);return Q},Z=(...J)=>{let Q=J.reduce(($,G)=>$+G.length,0),X=new Uint8Array(Q),Y=0;for(let $ of J)X.set($,Y),Y+=$.length;return X},q=(J,Q)=>Z(D(k(J,N.Varint)),D(Q));var JJ=(J,Q)=>q(J,Q?1:0),W=(J,Q)=>Z(D(k(J,N.Fixed64)),kQ(Q)),v=(J,Q)=>Z(D(k(J,N.Fixed32)),LQ(Q)),F=(J,Q)=>Z(D(k(J,N.Fixed64)),SQ(Q)),L=(J,Q)=>Z(D(k(J,N.LengthDelimited)),D(Q.length),Q),K=(J,Q)=>L(J,xQ(Q)),U=(J,Q)=>L(J,fQ(Q)),w=(J,Q)=>L(J,Q),_=(J,Q,X)=>Z(...Q.map((Y)=>w(J,X(Y))));var H=(J,Q)=>Q!==void 0&&Q!==""?K(J,Q):new Uint8Array(0);var QJ=(J)=>{if(J.stringValue!==void 0&&J.stringValue!==null)return K(1,J.stringValue);if(J.boolValue!==void 0&&J.boolValue!==null)return JJ(2,J.boolValue);if(J.intValue!==void 0&&J.intValue!==null)return q(3,BigInt(J.intValue));if(J.doubleValue!==void 0&&J.doubleValue!==null)return F(4,J.doubleValue);if(J.arrayValue!==void 0)return w(5,bQ(J.arrayValue));if(J.kvlistValue!==void 0)return w(6,gQ(J.kvlistValue));if(J.bytesValue!==void 0)return L(7,J.bytesValue);return new Uint8Array(0)},bQ=(J)=>_(1,J.values,QJ),gQ=(J)=>_(1,J.values,P),P=(J)=>Z(K(1,J.key),w(2,QJ(J.value))),XJ=(J)=>Z(K(1,J.name),H(2,J.version),J.attributes?_(3,J.attributes,P):new Uint8Array(0),J.droppedAttributesCount?q(4,J.droppedAttributesCount):new Uint8Array(0)),YJ=(J)=>Z(_(1,J.attributes,P),J.droppedAttributesCount>0?q(2,J.droppedAttributesCount):new Uint8Array(0));var mQ=(J)=>Z(H(2,J.message),q(3,J.code)),vQ=(J)=>Z(W(1,BigInt(J.timeUnixNano)),K(2,J.name),_(3,J.attributes,P),J.droppedAttributesCount>0?q(4,J.droppedAttributesCount):new Uint8Array(0)),dQ=(J)=>Z(U(1,J.traceId),U(2,J.spanId),H(3,J.traceState),_(4,J.attributes,P),J.droppedAttributesCount>0?q(5,J.droppedAttributesCount):new Uint8Array(0),J.flags!==void 0?v(6,J.flags):new Uint8Array(0)),lQ=(J)=>Z(U(1,J.traceId),U(2,J.spanId),H(3,J.traceState),J.parentSpanId!==void 0?U(4,J.parentSpanId):new Uint8Array(0),K(5,J.name),q(6,J.kind),W(7,BigInt(J.startTimeUnixNano)),W(8,BigInt(J.endTimeUnixNano)),_(9,J.attributes,P),J.droppedAttributesCount>0?q(10,J.droppedAttributesCount):new Uint8Array(0),_(11,J.events,vQ),J.droppedEventsCount>0?q(12,J.droppedEventsCount):new Uint8Array(0),_(13,J.links,dQ),J.droppedLinksCount>0?q(14,J.droppedLinksCount):new Uint8Array(0),w(15,mQ(J.status)),J.flags!==void 0?v(16,J.flags):new Uint8Array(0)),uQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.spans,lQ),H(3,J.schemaUrl)),cQ=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeSpans,uQ),H(3,J.schemaUrl)),XQ=(J)=>_(1,J.resourceSpans,cQ);var YQ=(J)=>Z(W(2,BigInt(J.startTimeUnixNano)),W(3,BigInt(J.timeUnixNano)),J.asDouble!==void 0?F(4,J.asDouble):new Uint8Array(0),J.asInt!==void 0?W(6,BigInt(J.asInt)):new Uint8Array(0),_(7,J.attributes,P),J.flags!==void 0?q(8,J.flags):new Uint8Array(0)),pQ=(J)=>{let Q=Z(...J.bucketCounts.map((Y)=>W(6,BigInt(Y)))),X=Z(...J.explicitBounds.map((Y)=>F(7,Y)));return Z(W(2,BigInt(J.startTimeUnixNano)),W(3,BigInt(J.timeUnixNano)),W(4,BigInt(J.count)),J.sum!==void 0?F(5,J.sum):new Uint8Array(0),Q,X,_(9,J.attributes,P),J.flags!==void 0?q(10,J.flags):new Uint8Array(0),J.min!==void 0?F(11,J.min):new Uint8Array(0),J.max!==void 0?F(12,J.max):new Uint8Array(0))},iQ=(J)=>_(1,J.dataPoints,YQ),nQ=(J)=>Z(_(1,J.dataPoints,YQ),q(2,J.aggregationTemporality),JJ(3,J.isMonotonic)),aQ=(J)=>Z(_(1,J.dataPoints,pQ),q(2,J.aggregationTemporality)),rQ=(J)=>Z(K(1,J.name),H(2,J.description),H(3,J.unit),J.gauge!==void 0?w(5,iQ(J.gauge)):new Uint8Array(0),J.sum!==void 0?w(7,nQ(J.sum)):new Uint8Array(0),J.histogram!==void 0?w(9,aQ(J.histogram)):new Uint8Array(0)),sQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.metrics,rQ),H(3,J.schemaUrl)),tQ=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeMetrics,sQ),H(3,J.schemaUrl)),ZQ=(J)=>_(1,J.resourceMetrics,tQ);var oQ=(J)=>Z(W(1,BigInt(J.timeUnixNano)),J.severityNumber!==void 0?q(2,J.severityNumber):new Uint8Array(0),H(3,J.severityText),J.body!==void 0?w(5,QJ(J.body)):new Uint8Array(0),_(6,J.attributes,P),J.droppedAttributesCount!==void 0&&J.droppedAttributesCount>0?q(7,J.droppedAttributesCount):new Uint8Array(0),J.flags!==void 0?v(8,J.flags):new Uint8Array(0),J.traceId!==void 0&&J.traceId!==""?U(9,J.traceId):new Uint8Array(0),J.spanId!==void 0&&J.spanId!==""?U(10,J.spanId):new Uint8Array(0),J.observedTimeUnixNano!==void 0?W(11,BigInt(J.observedTimeUnixNano)):new Uint8Array(0)),eQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.logRecords,oQ),H(3,J.schemaUrl)),JX=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeLogs,eQ),H(3,J.schemaUrl)),_Q=(J)=>_(1,J.resourceLogs,JX);class M extends $Q()("effect/observability/OtlpSerialization"){}var XX=ZJ(M,{traces:(J)=>l(J),metrics:(J)=>l(J),logs:(J)=>l(J)}),YX=ZJ(M,{traces:(J)=>d(XQ(J),"application/x-protobuf"),metrics:(J)=>d(ZQ(J),"application/x-protobuf"),logs:(J)=>d(_Q(J),"application/x-protobuf")});var IQ=E(function*(J){let Q=yield*M,X=yield*JQ(J.resource),Y={name:QQ(X)},$=yield*sJ({label:"OtlpLogger",url:J.url,headers:J.headers,maxBatchSize:J.maxBatchSize??1000,exportInterval:J.exportInterval??T(1),body:(B)=>Q.logs({resourceLogs:[{resource:X,scopeLogs:[{scope:Y,logRecords:B}]}]}),shutdownTimeout:J.shutdownTimeout??T(3)}),G={excludeLogSpans:J.excludeLogSpans??!1,clock:yield*b};return HQ((B)=>{$.push(_X(B,G))})}),ZX=(J)=>WQ([IQ(J)],{mergeWithExisting:J.mergeWithExisting??!0}),_X=(J,Q)=>{let Y=Q.clock.currentTimeNanosUnsafe().toString(),$=J.date.getTime(),G=e(Object.entries(J.fiber.getRef(BQ)));if(G.push({key:"fiberId",value:{intValue:J.fiber.id}}),!Q.excludeLogSpans)for(let[V,r]of J.fiber.getRef(wQ))G.push({key:`logSpan.${V}`,value:{stringValue:`${$-r}ms`}});if(J.cause.reasons.length>0)G.push({key:"log.error",value:{stringValue:qQ(J.cause)}});let B=GQ(J.message),C={severityNumber:$X(J.logLevel),severityText:J.logLevel,timeUnixNano:Y,observedTimeUnixNano:Y,attributes:G,body:m(B.length===1?B[0]:B),droppedAttributesCount:0};if(J.fiber.currentSpan)C.traceId=J.fiber.currentSpan.traceId,C.spanId=J.fiber.currentSpan.spanId;return C},$X=(J)=>{switch(J){case"Trace":return A.SEVERITY_NUMBER_TRACE;case"Debug":return A.SEVERITY_NUMBER_DEBUG;case"Info":return A.SEVERITY_NUMBER_INFO;case"Warn":return A.SEVERITY_NUMBER_WARN;case"Error":return A.SEVERITY_NUMBER_ERROR;case"Fatal":return A.SEVERITY_NUMBER_FATAL;default:return A.SEVERITY_NUMBER_UNSPECIFIED}},A={SEVERITY_NUMBER_UNSPECIFIED:0,SEVERITY_NUMBER_TRACE:1,SEVERITY_NUMBER_TRACE2:2,SEVERITY_NUMBER_TRACE3:3,SEVERITY_NUMBER_TRACE4:4,SEVERITY_NUMBER_DEBUG:5,SEVERITY_NUMBER_DEBUG2:6,SEVERITY_NUMBER_DEBUG3:7,SEVERITY_NUMBER_DEBUG4:8,SEVERITY_NUMBER_INFO:9,SEVERITY_NUMBER_INFO2:10,SEVERITY_NUMBER_INFO3:11,SEVERITY_NUMBER_INFO4:12,SEVERITY_NUMBER_WARN:13,SEVERITY_NUMBER_WARN2:14,SEVERITY_NUMBER_WARN3:15,SEVERITY_NUMBER_WARN4:16,SEVERITY_NUMBER_ERROR:17,SEVERITY_NUMBER_ERROR2:18,SEVERITY_NUMBER_ERROR3:19,SEVERITY_NUMBER_ERROR4:20,SEVERITY_NUMBER_FATAL:21,SEVERITY_NUMBER_FATAL2:22,SEVERITY_NUMBER_FATAL3:23,SEVERITY_NUMBER_FATAL4:24};var UQ={};u(UQ,{logger:()=>n,layer:()=>qJ,create:()=>KQ});var GX=(J)=>J==="sessionID"?"session.id":J,PQ=(J)=>Object.fromEntries(Object.entries(J??{}).filter((Q)=>Q[1]!==void 0&&Q[1]!==null).map(([Q,X])=>[GX(Q),X])),qX=(J)=>{if(Array.isArray(J))return J.map((Q)=>String(Q)).join(" ");return J===void 0?"":String(J)},i=(J,Q,X,Y)=>{let $=PQ({...Q,...Y}),G=J(X);return Object.keys($).length?I.annotateLogs(G,$):G},n=R.make((J)=>{let Q=PQ(J.fiber.getRef($J.CurrentLogAnnotations)),X=J.date.getTime();for(let[B,C]of J.fiber.getRef($J.CurrentLogSpans))Q[`logSpan.${B}`]=`${X-C}ms`;if(J.cause.reasons.length>0)Q.cause=_J.pretty(J.cause);let Y=typeof Q.service==="string"?Q.service:void 0;if(Y)delete Q.service;let $=Y?GJ.create({service:Y}):GJ.Default,G=qX(J.message);switch(J.logLevel){case"Trace":case"Debug":return $.debug(G,Q);case"Warn":return $.warn(G,Q);case"Error":case"Fatal":return $.error(G,Q);default:return $.info(G,Q)}}),qJ=R.layer([n],{mergeWithExisting:!1}),KQ=(J={})=>({debug:(Q,X)=>i((Y)=>I.logDebug(Y),J,Q,X),info:(Q,X)=>i((Y)=>I.logInfo(Y),J,Q,X),warn:(Q,X)=>i((Y)=>I.logWarning(Y),J,Q,X),error:(Q,X)=>i((Y)=>I.logError(Y),J,Q,X),with:(Q)=>KQ({...J,...Q})});var a=x.OTEL_EXPORTER_OTLP_ENDPOINT,OQ=!!a,BX=crypto.randomUUID(),TQ=x.OTEL_EXPORTER_OTLP_HEADERS?x.OTEL_EXPORTER_OTLP_HEADERS.split(",").reduce((J,Q)=>{let[X,...Y]=Q.split("=");return J[X]=Y.join("="),J},{}):void 0;function BJ(){let J=FQ("main"),Q=(()=>{let X=process.env.OTEL_RESOURCE_ATTRIBUTES;if(!X)return{};try{return Object.fromEntries(X.split(",").map((Y)=>{let $=Y.indexOf("=");if($<1)throw Error("Invalid OTEL_RESOURCE_ATTRIBUTES entry");return[decodeURIComponent(Y.slice(0,$)),decodeURIComponent(Y.slice($+1))]}))}catch{return{}}})();return{serviceName:"qitqode",serviceVersion:CQ,attributes:{...Q,"deployment.environment.name":DQ,"qitqode.client":x.QITQODE_CLIENT,"qitqode.process_role":J.processRole,"qitqode.run_id":J.runID,"service.instance.id":BX}}}function wX(){return R.layer([n,p.make({url:`${a}/v1/logs`,resource:BJ(),headers:TQ})],{mergeWithExisting:!1}).pipe(z.provide(c.layerJson),z.provide(AQ.layer))}var HX=async()=>{let J=await import("./chunk-sy76e7nr.js"),Q=await import("./chunk-bzh71a92.js"),X=await import("./chunk-96sra8g8.js"),{AsyncLocalStorageContextManager:Y}=await import("./chunk-zx63mepv.js").then((m)=>zQ(m.default,1)),{context:$}=await import("./chunk-kzkb4648.js").then((m)=>zQ(m.default,1)),G=new Y;return G.enable(),$.setGlobalContextManager(G),J.layer(()=>({resource:BJ(),spanProcessor:new X.BatchSpanProcessor(new Q.OTLPTraceExporter({url:`${a}/v1/traces`,headers:TQ}))}))},EQ=!a?qJ:z.unwrap(I.gen(function*(){let J=yield*I.promise(HX);return z.mergeAll(J,wX())})),WX={enabled:OQ,layer:EQ};var aX=z.makeMemoMapUnsafe();
3
- export{qJ as Er,UQ as Fr,EQ as Gr,WX as Hr,IX as Ir,aX as Jr};
2
+ import{Bt as pJ,Ct as iJ,Dt as nJ,Et as aJ,Ft as rJ,Ht as AQ,ot as mJ,pt as vJ,qt as dJ,rt as lJ,ut as d,vt as l,xt as uJ,yt as cJ}from"./chunk-9skj2w9e.js";import{Lu as CQ,Mu as DQ,iv as FQ}from"./chunk-dm7hfb7f.js";import{Cv as GJ,tv as x}from"./chunk-62mb6wxm.js";import{$G as ZJ,AI as hJ,BH as DJ,CH as FJ,DH as AJ,DJ as yJ,EJ as bJ,GG as BQ,HG as wQ,HQ as g,IQ as eJ,JE as GQ,JI as jJ,KG as $J,LG as UJ,LQ as HQ,MD as wJ,MJ as I,MQ as WQ,NO as o,NQ as R,PD as HJ,PH as t,PI as NJ,QG as zJ,QH as OJ,SD as WJ,SH as y,TK as gJ,UD as $Q,XE as IJ,ZC as tJ,_E as PJ,_I as kJ,aE as f,bF as T,cJ as LJ,dI as TJ,eF as KJ,fJ as SJ,jH as z,jJ as xJ,kG as qQ,kI as EJ,nJ as fJ,oI as MJ,pH as b,rG as _J,rH as CJ,rI as oJ,vI as RJ,wO as j,xI as VJ,yJ as E}from"./chunk-qvnsgyfk.js";import{_Q as zQ,aR as u,cR as S}from"./chunk-pfx8ts02.js";var IX={};u(IX,{resource:()=>BJ,layer:()=>EQ,enabled:()=>OQ,Observability:()=>WX});var p={};u(p,{make:()=>IQ,layer:()=>ZX});var VQ=AJ.pipe(FJ,DJ((J)=>{if(lJ(J)&&J.reason._tag==="StatusCodeError"&&J.reason.response.status===429){let Q=HJ(J.reason.response.headers["retry-after"]).pipe(WJ(CJ),wJ(()=>5));return t(T(Q))}return t(T(1))})),sJ=E(function*(J){let Q=yield*jJ(),X=f(Q,b),Y=f(Q,UJ),$=fJ(Q),G=KJ(IJ(J.exportInterval),PJ),B=void 0,C=nJ(f(Q,pJ)).pipe(iJ(NJ(rJ,!1)),aJ({schedule:VQ,times:3})),V=vJ({"user-agent":`effect-opentelemetry-${J.label}/0.0.0`});if(J.headers)V=dJ(mJ(J.headers),V);let r=uJ(J.url,{headers:V}),O=[],s=OJ(()=>{if(B!==void 0&&X.currentTimeMillisUnsafe()<B)return y;else if(B!==void 0)B=void 0;let h=O;if(J.maxBatchSize!=="disabled"){if(O.length===0)return y;O=[]}return C.execute(cJ(r,J.body(h))).pipe(EJ,SJ(!1))}).pipe(MJ((h)=>{if(B!==void 0)return y;return B=X.currentTimeMillisUnsafe()+60000,O=[],yJ("Disabling exporter for 60 seconds",h)}),bJ({package:"@effect/opentelemetry",module:J.label}));return yield*zJ(Y,s.pipe(RJ,kJ,VJ(J.shutdownTimeout))),yield*hJ(G).pipe(TJ(s),LJ,xJ(Y)),{push(h){if(B!==void 0)return;if(O.push(h),J.maxBatchSize!=="disabled"&&O.length>=J.maxBatchSize)gJ($(s),Y)}}});var jQ=(J)=>{let Q=J.attributes?e(Object.entries(J.attributes)):[];if(Q.push({key:"service.name",value:{stringValue:J.serviceName}}),J.serviceVersion)Q.push({key:"service.version",value:{stringValue:J.serviceVersion}});return{attributes:Q,droppedAttributesCount:0}},JQ=E(function*(J){let Q={...yield*g(o(eJ(j,j)),"OTEL_RESOURCE_ATTRIBUTES"),...J?.attributes},X=J?.serviceName??Q["service.name"]??(yield*g(j,"OTEL_SERVICE_NAME"));delete Q["service.name"];let Y=J?.serviceVersion??Q["service.version"]??(yield*g(o(j),"OTEL_SERVICE_VERSION"));return delete Q["service.version"],jQ({serviceName:X,serviceVersion:Y,attributes:Q})},oJ),QQ=(J)=>{let Q=J.attributes.find((X)=>X.key==="service.name");if(!Q||!Q.value.stringValue)throw Error("Resource does not contain a service name");return Q.value.stringValue},e=(J)=>{let Q=[];for(let[X,Y]of J)Q.push({key:X,value:m(Y)});return Q},m=(J)=>{if(Array.isArray(J))return{arrayValue:{values:J.map(m)}};switch(typeof J){case"string":return{stringValue:J};case"bigint":return{intValue:Number(J)};case"number":return Number.isInteger(J)?{intValue:J}:{doubleValue:J};case"boolean":return{boolValue:J};default:return{stringValue:tJ(J)}}};var c={};u(c,{layerProtobuf:()=>YX,layerJson:()=>XX,OtlpSerialization:()=>M});var N={Varint:0,Fixed64:1,LengthDelimited:2,Fixed32:5},k=(J,Q)=>J<<3|Q,D=(J)=>{let Q=[],X=typeof J==="bigint"?J:BigInt(J);while(X>0x7fn)Q.push(Number(X&0x7fn)|128),X>>=7n;return Q.push(Number(X)),new Uint8Array(Q)};var kQ=(J)=>{let Q=new Uint8Array(8);return new DataView(Q.buffer).setBigUint64(0,J,!0),Q},LQ=(J)=>{let Q=new Uint8Array(4);return new DataView(Q.buffer).setUint32(0,J,!0),Q},SQ=(J)=>{let Q=new Uint8Array(8);return new DataView(Q.buffer).setFloat64(0,J,!0),Q},xQ=(J)=>new TextEncoder().encode(J),fQ=(J)=>{let Q=new Uint8Array(J.length/2);for(let X=0;X<J.length;X+=2)Q[X/2]=parseInt(J.slice(X,X+2),16);return Q},Z=(...J)=>{let Q=J.reduce(($,G)=>$+G.length,0),X=new Uint8Array(Q),Y=0;for(let $ of J)X.set($,Y),Y+=$.length;return X},q=(J,Q)=>Z(D(k(J,N.Varint)),D(Q));var JJ=(J,Q)=>q(J,Q?1:0),W=(J,Q)=>Z(D(k(J,N.Fixed64)),kQ(Q)),v=(J,Q)=>Z(D(k(J,N.Fixed32)),LQ(Q)),F=(J,Q)=>Z(D(k(J,N.Fixed64)),SQ(Q)),L=(J,Q)=>Z(D(k(J,N.LengthDelimited)),D(Q.length),Q),K=(J,Q)=>L(J,xQ(Q)),U=(J,Q)=>L(J,fQ(Q)),w=(J,Q)=>L(J,Q),_=(J,Q,X)=>Z(...Q.map((Y)=>w(J,X(Y))));var H=(J,Q)=>Q!==void 0&&Q!==""?K(J,Q):new Uint8Array(0);var QJ=(J)=>{if(J.stringValue!==void 0&&J.stringValue!==null)return K(1,J.stringValue);if(J.boolValue!==void 0&&J.boolValue!==null)return JJ(2,J.boolValue);if(J.intValue!==void 0&&J.intValue!==null)return q(3,BigInt(J.intValue));if(J.doubleValue!==void 0&&J.doubleValue!==null)return F(4,J.doubleValue);if(J.arrayValue!==void 0)return w(5,bQ(J.arrayValue));if(J.kvlistValue!==void 0)return w(6,gQ(J.kvlistValue));if(J.bytesValue!==void 0)return L(7,J.bytesValue);return new Uint8Array(0)},bQ=(J)=>_(1,J.values,QJ),gQ=(J)=>_(1,J.values,P),P=(J)=>Z(K(1,J.key),w(2,QJ(J.value))),XJ=(J)=>Z(K(1,J.name),H(2,J.version),J.attributes?_(3,J.attributes,P):new Uint8Array(0),J.droppedAttributesCount?q(4,J.droppedAttributesCount):new Uint8Array(0)),YJ=(J)=>Z(_(1,J.attributes,P),J.droppedAttributesCount>0?q(2,J.droppedAttributesCount):new Uint8Array(0));var mQ=(J)=>Z(H(2,J.message),q(3,J.code)),vQ=(J)=>Z(W(1,BigInt(J.timeUnixNano)),K(2,J.name),_(3,J.attributes,P),J.droppedAttributesCount>0?q(4,J.droppedAttributesCount):new Uint8Array(0)),dQ=(J)=>Z(U(1,J.traceId),U(2,J.spanId),H(3,J.traceState),_(4,J.attributes,P),J.droppedAttributesCount>0?q(5,J.droppedAttributesCount):new Uint8Array(0),J.flags!==void 0?v(6,J.flags):new Uint8Array(0)),lQ=(J)=>Z(U(1,J.traceId),U(2,J.spanId),H(3,J.traceState),J.parentSpanId!==void 0?U(4,J.parentSpanId):new Uint8Array(0),K(5,J.name),q(6,J.kind),W(7,BigInt(J.startTimeUnixNano)),W(8,BigInt(J.endTimeUnixNano)),_(9,J.attributes,P),J.droppedAttributesCount>0?q(10,J.droppedAttributesCount):new Uint8Array(0),_(11,J.events,vQ),J.droppedEventsCount>0?q(12,J.droppedEventsCount):new Uint8Array(0),_(13,J.links,dQ),J.droppedLinksCount>0?q(14,J.droppedLinksCount):new Uint8Array(0),w(15,mQ(J.status)),J.flags!==void 0?v(16,J.flags):new Uint8Array(0)),uQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.spans,lQ),H(3,J.schemaUrl)),cQ=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeSpans,uQ),H(3,J.schemaUrl)),XQ=(J)=>_(1,J.resourceSpans,cQ);var YQ=(J)=>Z(W(2,BigInt(J.startTimeUnixNano)),W(3,BigInt(J.timeUnixNano)),J.asDouble!==void 0?F(4,J.asDouble):new Uint8Array(0),J.asInt!==void 0?W(6,BigInt(J.asInt)):new Uint8Array(0),_(7,J.attributes,P),J.flags!==void 0?q(8,J.flags):new Uint8Array(0)),pQ=(J)=>{let Q=Z(...J.bucketCounts.map((Y)=>W(6,BigInt(Y)))),X=Z(...J.explicitBounds.map((Y)=>F(7,Y)));return Z(W(2,BigInt(J.startTimeUnixNano)),W(3,BigInt(J.timeUnixNano)),W(4,BigInt(J.count)),J.sum!==void 0?F(5,J.sum):new Uint8Array(0),Q,X,_(9,J.attributes,P),J.flags!==void 0?q(10,J.flags):new Uint8Array(0),J.min!==void 0?F(11,J.min):new Uint8Array(0),J.max!==void 0?F(12,J.max):new Uint8Array(0))},iQ=(J)=>_(1,J.dataPoints,YQ),nQ=(J)=>Z(_(1,J.dataPoints,YQ),q(2,J.aggregationTemporality),JJ(3,J.isMonotonic)),aQ=(J)=>Z(_(1,J.dataPoints,pQ),q(2,J.aggregationTemporality)),rQ=(J)=>Z(K(1,J.name),H(2,J.description),H(3,J.unit),J.gauge!==void 0?w(5,iQ(J.gauge)):new Uint8Array(0),J.sum!==void 0?w(7,nQ(J.sum)):new Uint8Array(0),J.histogram!==void 0?w(9,aQ(J.histogram)):new Uint8Array(0)),sQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.metrics,rQ),H(3,J.schemaUrl)),tQ=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeMetrics,sQ),H(3,J.schemaUrl)),ZQ=(J)=>_(1,J.resourceMetrics,tQ);var oQ=(J)=>Z(W(1,BigInt(J.timeUnixNano)),J.severityNumber!==void 0?q(2,J.severityNumber):new Uint8Array(0),H(3,J.severityText),J.body!==void 0?w(5,QJ(J.body)):new Uint8Array(0),_(6,J.attributes,P),J.droppedAttributesCount!==void 0&&J.droppedAttributesCount>0?q(7,J.droppedAttributesCount):new Uint8Array(0),J.flags!==void 0?v(8,J.flags):new Uint8Array(0),J.traceId!==void 0&&J.traceId!==""?U(9,J.traceId):new Uint8Array(0),J.spanId!==void 0&&J.spanId!==""?U(10,J.spanId):new Uint8Array(0),J.observedTimeUnixNano!==void 0?W(11,BigInt(J.observedTimeUnixNano)):new Uint8Array(0)),eQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.logRecords,oQ),H(3,J.schemaUrl)),JX=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeLogs,eQ),H(3,J.schemaUrl)),_Q=(J)=>_(1,J.resourceLogs,JX);class M extends $Q()("effect/observability/OtlpSerialization"){}var XX=ZJ(M,{traces:(J)=>l(J),metrics:(J)=>l(J),logs:(J)=>l(J)}),YX=ZJ(M,{traces:(J)=>d(XQ(J),"application/x-protobuf"),metrics:(J)=>d(ZQ(J),"application/x-protobuf"),logs:(J)=>d(_Q(J),"application/x-protobuf")});var IQ=E(function*(J){let Q=yield*M,X=yield*JQ(J.resource),Y={name:QQ(X)},$=yield*sJ({label:"OtlpLogger",url:J.url,headers:J.headers,maxBatchSize:J.maxBatchSize??1000,exportInterval:J.exportInterval??T(1),body:(B)=>Q.logs({resourceLogs:[{resource:X,scopeLogs:[{scope:Y,logRecords:B}]}]}),shutdownTimeout:J.shutdownTimeout??T(3)}),G={excludeLogSpans:J.excludeLogSpans??!1,clock:yield*b};return HQ((B)=>{$.push(_X(B,G))})}),ZX=(J)=>WQ([IQ(J)],{mergeWithExisting:J.mergeWithExisting??!0}),_X=(J,Q)=>{let Y=Q.clock.currentTimeNanosUnsafe().toString(),$=J.date.getTime(),G=e(Object.entries(J.fiber.getRef(BQ)));if(G.push({key:"fiberId",value:{intValue:J.fiber.id}}),!Q.excludeLogSpans)for(let[V,r]of J.fiber.getRef(wQ))G.push({key:`logSpan.${V}`,value:{stringValue:`${$-r}ms`}});if(J.cause.reasons.length>0)G.push({key:"log.error",value:{stringValue:qQ(J.cause)}});let B=GQ(J.message),C={severityNumber:$X(J.logLevel),severityText:J.logLevel,timeUnixNano:Y,observedTimeUnixNano:Y,attributes:G,body:m(B.length===1?B[0]:B),droppedAttributesCount:0};if(J.fiber.currentSpan)C.traceId=J.fiber.currentSpan.traceId,C.spanId=J.fiber.currentSpan.spanId;return C},$X=(J)=>{switch(J){case"Trace":return A.SEVERITY_NUMBER_TRACE;case"Debug":return A.SEVERITY_NUMBER_DEBUG;case"Info":return A.SEVERITY_NUMBER_INFO;case"Warn":return A.SEVERITY_NUMBER_WARN;case"Error":return A.SEVERITY_NUMBER_ERROR;case"Fatal":return A.SEVERITY_NUMBER_FATAL;default:return A.SEVERITY_NUMBER_UNSPECIFIED}},A={SEVERITY_NUMBER_UNSPECIFIED:0,SEVERITY_NUMBER_TRACE:1,SEVERITY_NUMBER_TRACE2:2,SEVERITY_NUMBER_TRACE3:3,SEVERITY_NUMBER_TRACE4:4,SEVERITY_NUMBER_DEBUG:5,SEVERITY_NUMBER_DEBUG2:6,SEVERITY_NUMBER_DEBUG3:7,SEVERITY_NUMBER_DEBUG4:8,SEVERITY_NUMBER_INFO:9,SEVERITY_NUMBER_INFO2:10,SEVERITY_NUMBER_INFO3:11,SEVERITY_NUMBER_INFO4:12,SEVERITY_NUMBER_WARN:13,SEVERITY_NUMBER_WARN2:14,SEVERITY_NUMBER_WARN3:15,SEVERITY_NUMBER_WARN4:16,SEVERITY_NUMBER_ERROR:17,SEVERITY_NUMBER_ERROR2:18,SEVERITY_NUMBER_ERROR3:19,SEVERITY_NUMBER_ERROR4:20,SEVERITY_NUMBER_FATAL:21,SEVERITY_NUMBER_FATAL2:22,SEVERITY_NUMBER_FATAL3:23,SEVERITY_NUMBER_FATAL4:24};var UQ={};u(UQ,{logger:()=>n,layer:()=>qJ,create:()=>KQ});var GX=(J)=>J==="sessionID"?"session.id":J,PQ=(J)=>Object.fromEntries(Object.entries(J??{}).filter((Q)=>Q[1]!==void 0&&Q[1]!==null).map(([Q,X])=>[GX(Q),X])),qX=(J)=>{if(Array.isArray(J))return J.map((Q)=>String(Q)).join(" ");return J===void 0?"":String(J)},i=(J,Q,X,Y)=>{let $=PQ({...Q,...Y}),G=J(X);return Object.keys($).length?I.annotateLogs(G,$):G},n=R.make((J)=>{let Q=PQ(J.fiber.getRef($J.CurrentLogAnnotations)),X=J.date.getTime();for(let[B,C]of J.fiber.getRef($J.CurrentLogSpans))Q[`logSpan.${B}`]=`${X-C}ms`;if(J.cause.reasons.length>0)Q.cause=_J.pretty(J.cause);let Y=typeof Q.service==="string"?Q.service:void 0;if(Y)delete Q.service;let $=Y?GJ.create({service:Y}):GJ.Default,G=qX(J.message);switch(J.logLevel){case"Trace":case"Debug":return $.debug(G,Q);case"Warn":return $.warn(G,Q);case"Error":case"Fatal":return $.error(G,Q);default:return $.info(G,Q)}}),qJ=R.layer([n],{mergeWithExisting:!1}),KQ=(J={})=>({debug:(Q,X)=>i((Y)=>I.logDebug(Y),J,Q,X),info:(Q,X)=>i((Y)=>I.logInfo(Y),J,Q,X),warn:(Q,X)=>i((Y)=>I.logWarning(Y),J,Q,X),error:(Q,X)=>i((Y)=>I.logError(Y),J,Q,X),with:(Q)=>KQ({...J,...Q})});var a=x.OTEL_EXPORTER_OTLP_ENDPOINT,OQ=!!a,BX=crypto.randomUUID(),TQ=x.OTEL_EXPORTER_OTLP_HEADERS?x.OTEL_EXPORTER_OTLP_HEADERS.split(",").reduce((J,Q)=>{let[X,...Y]=Q.split("=");return J[X]=Y.join("="),J},{}):void 0;function BJ(){let J=FQ("main"),Q=(()=>{let X=process.env.OTEL_RESOURCE_ATTRIBUTES;if(!X)return{};try{return Object.fromEntries(X.split(",").map((Y)=>{let $=Y.indexOf("=");if($<1)throw Error("Invalid OTEL_RESOURCE_ATTRIBUTES entry");return[decodeURIComponent(Y.slice(0,$)),decodeURIComponent(Y.slice($+1))]}))}catch{return{}}})();return{serviceName:"qitqode",serviceVersion:CQ,attributes:{...Q,"deployment.environment.name":DQ,"qitqode.client":x.QITQODE_CLIENT,"qitqode.process_role":J.processRole,"qitqode.run_id":J.runID,"service.instance.id":BX}}}function wX(){return R.layer([n,p.make({url:`${a}/v1/logs`,resource:BJ(),headers:TQ})],{mergeWithExisting:!1}).pipe(z.provide(c.layerJson),z.provide(AQ.layer))}var HX=async()=>{let J=await import("./chunk-3vjs8aht.js"),Q=await import("./chunk-hvdre0mb.js"),X=await import("./chunk-1jg7cybp.js"),{AsyncLocalStorageContextManager:Y}=await import("./chunk-1yetxft4.js").then((m)=>zQ(m.default,1)),{context:$}=await import("./chunk-fj7jcv7m.js").then((m)=>zQ(m.default,1)),G=new Y;return G.enable(),$.setGlobalContextManager(G),J.layer(()=>({resource:BJ(),spanProcessor:new X.BatchSpanProcessor(new Q.OTLPTraceExporter({url:`${a}/v1/traces`,headers:TQ}))}))},EQ=!a?qJ:z.unwrap(I.gen(function*(){let J=yield*I.promise(HX);return z.mergeAll(J,wX())})),WX={enabled:OQ,layer:EQ};var aX=z.makeMemoMapUnsafe();
3
+ export{qJ as it,UQ as jt,EQ as kt,WX as lt,IX as mt,aX as nt};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{ft as a,gt as b,ht as c}from"./chunk-52f62kr0.js";import"./chunk-svnhycdw.js";import"./chunk-9skj2w9e.js";import"./chunk-m5r6zq6v.js";import"./chunk-vg9ec44m.js";import"./chunk-e826jvr2.js";import"./chunk-dm7hfb7f.js";import"./chunk-s5taq9jy.js";import"./chunk-62mb6wxm.js";import"./chunk-zg72kz2k.js";import"./chunk-kr7t73tg.js";import"./chunk-9tfm1dk2.js";import"./chunk-x2mbre12.js";import"./chunk-sprbs7aj.js";import"./chunk-qvnsgyfk.js";import"./chunk-pfx8ts02.js";export{c as makeRuntime,a as attachWith,b as attach};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Je as a}from"./chunk-jgw20mxx.js";import"./chunk-ganwjd6s.js";import"./chunk-s1gy4hnw.js";import"./chunk-b2zfr7jz.js";import"./chunk-pfx8ts02.js";export{a as fromProcess};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Pt as f,Yt as m}from"./chunk-5dvy83ms.js";import{mu as p}from"./chunk-ffx0cr44.js";import{wP as l}from"./chunk-sh03ka27.js";var n={};l(n,{start:()=>I,Heap:()=>n});import h from"path";import{writeHeapSnapshot as u}from"v8";var i=m.create({service:"heap"}),g=60000,d=2147483648,o,s=!1,a=!0;function I(){if(!f.QITQODE_AUTO_HEAP_SNAPSHOT)return;if(o)return;let c=async()=>{if(s)return;let e=process.memoryUsage();if(e.rss<=d){a=!0;return}if(!a)return;s=!0,a=!1;let r=h.join(p.Path.log,`heap-${process.pid}-${new Date().toISOString().replace(/[:.]/g,"")}.heapsnapshot`);i.warn("heap usage exceeded limit",{rss:e.rss,heap:e.heapUsed,file:r}),await Promise.resolve().then(()=>u(r)).catch((t)=>{i.error("failed to write heap snapshot",{error:t instanceof Error?t.message:String(t),file:r})}),s=!1};o=setInterval(()=>{c()},g),o.unref?.()}
3
- export{I as dg,n as eg};
2
+ import{Cv as m,tv as f}from"./chunk-62mb6wxm.js";import{Sv as p}from"./chunk-zg72kz2k.js";import{aR as l}from"./chunk-pfx8ts02.js";var n={};l(n,{start:()=>I,Heap:()=>n});import h from"path";import{writeHeapSnapshot as u}from"v8";var i=m.create({service:"heap"}),g=60000,d=2147483648,o,s=!1,a=!0;function I(){if(!f.QITQODE_AUTO_HEAP_SNAPSHOT)return;if(o)return;let c=async()=>{if(s)return;let e=process.memoryUsage();if(e.rss<=d){a=!0;return}if(!a)return;s=!0,a=!1;let r=h.join(p.Path.log,`heap-${process.pid}-${new Date().toISOString().replace(/[:.]/g,"")}.heapsnapshot`);i.warn("heap usage exceeded limit",{rss:e.rss,heap:e.heapUsed,file:r}),await Promise.resolve().then(()=>u(r)).catch((t)=>{i.error("failed to write heap snapshot",{error:t instanceof Error?t.message:String(t),file:r})}),s=!1};o=setInterval(()=>{c()},g),o.unref?.()}
3
+ export{I as eg,n as fg};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Ld as a,Md as b}from"./chunk-qz35c4xy.js";import"./chunk-4bp91rza.js";import"./chunk-vg9ec44m.js";import"./chunk-e826jvr2.js";import"./chunk-s5taq9jy.js";import"./chunk-62mb6wxm.js";import"./chunk-zg72kz2k.js";import"./chunk-kr7t73tg.js";import"./chunk-9tfm1dk2.js";import"./chunk-x2mbre12.js";import"./chunk-sprbs7aj.js";import"./chunk-qvnsgyfk.js";import"./chunk-pfx8ts02.js";export{a as read,b as copy};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  var x=Symbol("no event loop error");async function S(q){let F=q.events[Symbol.asyncIterator](),I=q.tracker.completion,Z=I.then(()=>"DONE"),Y=(async()=>{try{while(!0){let B=await Promise.race([F.next(),Z]);if(B==="DONE")return x;if(B.done)return q.connection.fail(Error("QitQode event stream closed before connecting")),x;await q.onEvent(B.value)}}catch(B){return q.connection.fail(B instanceof Error?B:Error(String(B))),B}})();try{let B=await Promise.race([q.connection.wait().then(()=>({type:"connected"})),I.then((J)=>({type:"completed",result:J}))]);if(B.type==="completed")return B.result;q.tracker.markDispatching();let H=q.dispatch().then(()=>q.tracker.markStarted());H.catch(()=>{});let Q=await Promise.race([H.then(()=>({type:"dispatch"})),I.then((J)=>({type:"completion",result:J}))]),V=Q.type==="completion"?Q.result:await I,K=V;if(V.status==="interrupted"&&q.cancelRemote){let J,$=await Promise.race([q.cancelRemote().then(()=>!0,()=>!1),new Promise((G)=>{J=setTimeout(()=>G(!1),3000)})]);if(J)clearTimeout(J);K={...V,abortConfirmed:$}}let W=await Y;if(W!==x)throw W;return K}finally{q.tracker.stop(),q.abort();let B=q.iteratorReturnTimeoutMs??250,H=Promise.resolve().then(()=>F.return?.()).catch(()=>{return}),Q;if(await Promise.race([H,new Promise((K)=>{Q=setTimeout(K,B)})]),Q)clearTimeout(Q);let V;if(await Promise.race([Y,new Promise((K)=>{V=setTimeout(K,B)})]),V)clearTimeout(V)}}function O(){let q=!1,F,I,Z=new Promise((B,H)=>{F=B,I=H}),Y=(B)=>{if(q)return;q=!0,I(B)};return{onEvent(B){if(B?.type!=="server.connected"||q)return;q=!0,F()},fail:Y,async wait(B=15000){let H=setTimeout(()=>Y(Error("QitQode event stream did not connect before prompt dispatch")),B);try{await Z}finally{clearTimeout(H)}}}}function P(q){let F=!1,I=!1,Z=!1,Y,B="waiting to send the request",H=(q.now??Date.now)(),Q=!1,V="",K=new Map,W=new Promise((z)=>{Y=z}),J=q.now??Date.now,$=q.noProgressWarningMs??90000,G=q.noProgressTimeoutMs??180000;if(!Number.isFinite($)||$<0||!Number.isFinite(G)||G<=0||$>=G)throw Error("No-progress limits must be numbers with 0 <= warning < timeout.");let y=(z)=>{let C=z;return!!C&&(C.properties?.sessionID===q.sessionID||C.properties?.info?.sessionID===q.sessionID||C.properties?.part?.sessionID===q.sessionID)},D=(z)=>{if(F)return;F=!0,clearInterval(R),Y(z)},L=(z)=>{B=z,H=J(),Q=!1},j=()=>{if(I)return;I=!0,H=J()},A=(z)=>{if(z?.type==="step-start")return"waiting for model output";if(z?.type==="step-finish")return"model step finished";if(z?.type==="text")return"receiving assistant text";if(z?.type==="reasoning")return"receiving model reasoning";if(z?.type==="tool")return z.tool==="bash"?"running a shell command":`running the ${String(z.tool||"unknown")} tool`;return"processing a session update"},_=async()=>{if(F)return;let z;try{z=await q.query()}catch{return}if(F)return;if(z){let C=`${z.type}:${typeof z.message==="string"?z.message:""}`;if(C!==V){if(V=C,z.type==="retry")L("retrying the request")}}if(Z&&(!z||z.type==="idle"))D({status:"completed"})},T=()=>{if(F||!I)return;let z=J()-H;if(!Q&&z>=$)Q=!0,Promise.resolve(q.onNoProgressWarning?.({elapsedMs:z,phase:B,sessionID:q.sessionID})).catch(()=>{});if(z>=G)D({status:"interrupted",reason:"no-progress",phase:B,elapsedMs:z})},E=q.intervalMs??750,R=setInterval(()=>{T(),_().catch(()=>{})},E);return{markDispatching(){j(),B="sending the request"},markStarted(){j(),Z=!0,L("waiting for QitQode")},onEvent(z){if(F)return;if(!y(z))return;let C=z;if(Z=!0,!I)j();if(C.type==="session.status"&&C.properties?.status?.type==="idle"){D({status:"completed"});return}if(C.type==="message.updated"&&C.properties?.info?.role==="assistant"){let X=C.properties.info,U=`${X.id??""}:${X.time?.updated??X.time?.created??""}`;if(K.get("assistant-message")!==U)K.set("assistant-message",U),L("waiting for model output");return}if(C.type==="message.part.updated"){let X=C.properties?.part;if(!X)return;let U=X.state??{},b=U.metadata?.output??U.output??"",N=`${U.status??""}:${typeof b==="string"?`${b.length}:${b.slice(-256)}`:""}:${X.time?.end??""}`,k=String(X.id??X.type??"part");if(K.get(k)!==N)K.set(k,N),L(A(X));return}if(C.type==="permission.asked")L("handling a permission request")},interrupt(z){let C=Math.max(0,J()-H);D({status:"interrupted",reason:"signal",signal:z.signal,phase:B,elapsedMs:C})},get done(){return F},completion:W,stop(){D({status:"completed"})}}}var w="build";function f(q){return q&&q.trim().length>0?q:"build"}
3
- export{S as _,O as $,P as aa,w as ba,f as ca};
3
+ export{S as $,O as aa,P as ba,w as ca,f as da};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-sh03ka27.js";var e={"ui.sessionReview.title":"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0627\u0644\u062C\u0644\u0633\u0629","ui.sessionReview.title.lastTurn":"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0622\u062E\u0631 \u062F\u0648\u0631","ui.sessionReview.diffStyle.unified":"\u0645\u0648\u062D\u062F","ui.sessionReview.diffStyle.split":"\u0645\u0646\u0642\u0633\u0645","ui.sessionReview.openFile":"\u0641\u062A\u062D \u0645\u0644\u0641","ui.sessionReview.selection.line":"\u0633\u0637\u0631 {{line}}","ui.sessionReview.selection.lines":"\u0627\u0644\u0623\u0633\u0637\u0631 {{start}}-{{end}}","ui.sessionReview.expandAll":"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0643\u0644","ui.sessionReview.collapseAll":"\u0637\u064A \u0627\u0644\u0643\u0644","ui.sessionReview.change.added":"\u0645\u0636\u0627\u0641","ui.sessionReview.change.removed":"\u0645\u062D\u0630\u0648\u0641","ui.sessionReview.change.modified":"\u0645\u0639\u062F\u0644","ui.sessionReview.image.loading":"\u062C\u0627\u0631 \u0627\u0644\u062A\u062D\u0645\u064A\u0644...","ui.sessionReview.image.placeholder":"\u0635\u0648\u0631\u0629","ui.sessionReview.largeDiff.title":"Diff \u0643\u0628\u064A\u0631 \u062C\u062F\u0627 \u0644\u0639\u0631\u0636\u0647","ui.sessionReview.largeDiff.meta":"\u0627\u0644\u062D\u062F: {{limit}} \u0633\u0637\u0631\u064B\u0627 \u0645\u062A\u063A\u064A\u0631\u064B\u0627. \u0627\u0644\u062D\u0627\u0644\u064A: {{current}} \u0633\u0637\u0631\u064B\u0627 \u0645\u062A\u063A\u064A\u0631\u064B\u0627.","ui.sessionReview.largeDiff.renderAnyway":"\u0627\u0639\u0631\u0636 \u0639\u0644\u0649 \u0623\u064A \u062D\u0627\u0644","ui.fileMedia.kind.image":"\u0635\u0648\u0631\u0629","ui.fileMedia.kind.audio":"\u0635\u0648\u062A","ui.fileMedia.state.removed":"\u062A\u0645\u062A \u0625\u0632\u0627\u0644\u0629 {{kind}}","ui.fileMedia.state.loading":"\u062C\u0627\u0631\u064A \u062A\u062D\u0645\u064A\u0644 {{kind}}...","ui.fileMedia.state.error":"\u062E\u0637\u0623 \u0641\u064A \u062A\u062D\u0645\u064A\u0644 {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} \u063A\u064A\u0631 \u0645\u062A\u0648\u0641\u0631","ui.fileMedia.binary.title":"\u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A","ui.fileMedia.binary.description.path":"{{path}} \u0639\u0628\u0627\u0631\u0629 \u0639\u0646 \u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A \u0648\u0644\u0627 \u064A\u0645\u0643\u0646 \u0639\u0631\u0636\u0647.","ui.fileMedia.binary.description.default":"\u0647\u0630\u0627 \u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A \u0648\u0644\u0627 \u064A\u0645\u0643\u0646 \u0639\u0631\u0636\u0647.","ui.lineComment.label.prefix":"\u062A\u0639\u0644\u064A\u0642 \u0639\u0644\u0649 ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u0639\u0644\u064A\u0642 \u0639\u0644\u0649 ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u0623\u0636\u0641 \u062A\u0639\u0644\u064A\u0642\u064B\u0627","ui.lineComment.submit":"\u062A\u0639\u0644\u064A\u0642","ui.sessionTurn.steps.show":"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u062E\u0637\u0648\u0627\u062A","ui.sessionTurn.steps.hide":"\u0625\u062E\u0641\u0627\u0621 \u0627\u0644\u062E\u0637\u0648\u0627\u062A","ui.sessionTurn.summary.response":"\u0627\u0633\u062A\u062C\u0627\u0628\u0629","ui.sessionTurn.diff.showMore":"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u062A\u063A\u064A\u064A\u0631\u0627\u062A ({{count}})","ui.sessionTurn.retry.retrying":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629","ui.sessionTurn.retry.inSeconds":"\u062E\u0644\u0627\u0644 {{seconds}} \u062B\u0648\u0627\u0646\u064A","ui.sessionTurn.retry.attempt":"\u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0631\u0642\u0645 {{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0631\u0642\u0645 {{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini \u0645\u0632\u062F\u062D\u0645 \u062D\u0627\u0644\u064A\u0627","ui.sessionTurn.error.freeUsageExceeded":"\u062A\u0645 \u062A\u062C\u0627\u0648\u0632 \u062D\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0645\u062C\u0627\u0646\u064A","ui.sessionTurn.error.addQredits":"\u0625\u0636\u0627\u0641\u0629 \u0631\u0635\u064A\u062F","ui.sessionTurn.status.delegating":"\u062A\u0641\u0648\u064A\u0636 \u0627\u0644\u0639\u0645\u0644","ui.sessionTurn.status.planning":"\u062A\u062E\u0637\u064A\u0637 \u0627\u0644\u062E\u0637\u0648\u0627\u062A \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.sessionTurn.status.gatheringContext":"\u0627\u0633\u062A\u0643\u0634\u0627\u0641","ui.sessionTurn.status.gatheredContext":"\u062A\u0645 \u0627\u0644\u0627\u0633\u062A\u0643\u0634\u0627\u0641","ui.sessionTurn.status.searchingCodebase":"\u0627\u0644\u0628\u062D\u062B \u0641\u064A \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u062A\u0639\u0644\u064A\u0645\u0627\u062A \u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0629","ui.sessionTurn.status.searchingWeb":"\u0627\u0644\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0648\u064A\u0628","ui.sessionTurn.status.makingEdits":"\u0625\u062C\u0631\u0627\u0621 \u062A\u0639\u062F\u064A\u0644\u0627\u062A","ui.sessionTurn.status.runningCommands":"\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0623\u0648\u0627\u0645\u0631","ui.sessionTurn.status.thinking":"\u062A\u0641\u0643\u064A\u0631","ui.sessionTurn.status.thinkingWithTopic":"\u062A\u0641\u0643\u064A\u0631 - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u062C\u0645\u0639 \u0627\u0644\u0623\u0641\u0643\u0627\u0631","ui.sessionTurn.status.consideringNextSteps":"\u0627\u0644\u0646\u0638\u0631 \u0641\u064A \u0627\u0644\u062E\u0637\u0648\u0627\u062A \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.messagePart.questions.dismissed":"\u062A\u0645 \u0631\u0641\u0636 \u0627\u0644\u0623\u0633\u0626\u0644\u0629","ui.messagePart.compaction":"\u062A\u0645 \u0636\u063A\u0637 \u0627\u0644\u062C\u0644\u0633\u0629","ui.messagePart.context.read.one":"{{count}} \u0642\u0631\u0627\u0621\u0629","ui.messagePart.context.read.other":"{{count}} \u0642\u0631\u0627\u0621\u0627\u062A","ui.messagePart.context.search.one":"{{count}} \u0628\u062D\u062B","ui.messagePart.context.search.other":"{{count}} \u0639\u0645\u0644\u064A\u0627\u062A \u0628\u062D\u062B","ui.messagePart.context.list.one":"{{count}} \u0642\u0627\u0626\u0645\u0629","ui.messagePart.context.list.other":"{{count}} \u0642\u0648\u0627\u0626\u0645","ui.messagePart.diagnostic.error":"\u062E\u0637\u0623","ui.messagePart.title.edit":"\u062A\u062D\u0631\u064A\u0631","ui.messagePart.title.write":"\u0643\u062A\u0627\u0628\u0629","ui.messagePart.option.typeOwnAnswer":"\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643 \u0627\u0644\u062E\u0627\u0635\u0629","ui.messagePart.review.title":"\u0645\u0631\u0627\u062C\u0639\u0629 \u0625\u062C\u0627\u0628\u0627\u062A\u0643","ui.list.loading":"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u062D\u0645\u064A\u0644","ui.list.empty":"\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C","ui.list.clearFilter":"\u0645\u0633\u062D \u0639\u0627\u0645\u0644 \u0627\u0644\u062A\u0635\u0641\u064A\u0629","ui.list.emptyWithFilter.prefix":"\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C \u0644\u0640","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"\u0631\u0633\u0627\u0644\u0629 \u062C\u062F\u064A\u062F\u0629","ui.textField.copyToClipboard":"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629","ui.textField.copyLink":"\u0646\u0633\u062E \u0627\u0644\u0631\u0627\u0628\u0637","ui.textField.copied":"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E","ui.imagePreview.alt":"\u0645\u0639\u0627\u064A\u0646\u0629 \u0627\u0644\u0635\u0648\u0631\u0629","ui.scrollView.ariaLabel":"\u0645\u062D\u062A\u0648\u0649 \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0645\u0631\u064A\u0631","ui.tool.read":"\u0642\u0631\u0627\u0621\u0629","ui.tool.loaded":"\u062A\u0645 \u0627\u0644\u062A\u062D\u0645\u064A\u0644","ui.tool.list":"\u0642\u0627\u0626\u0645\u0629","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"\u062C\u0644\u0628 \u0627\u0644\u0648\u064A\u0628","ui.tool.websearch":"\u0628\u062D\u062B \u0627\u0644\u0648\u064A\u0628","ui.tool.codesearch":"\u0628\u062D\u062B \u0627\u0644\u0643\u0648\u062F","ui.tool.shell":"Shell","ui.tool.patch":"\u062A\u0635\u062D\u064A\u062D","ui.tool.todos":"\u0627\u0644\u0645\u0647\u0627\u0645","ui.tool.todos.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0647\u0627\u0645","ui.tool.questions":"\u0623\u0633\u0626\u0644\u0629","ui.tool.agent":"\u0648\u0643\u064A\u0644 {{type}}","ui.tool.agent.default":"\u0648\u0643\u064A\u0644","ui.common.file.one":"\u0645\u0644\u0641","ui.common.file.other":"\u0645\u0644\u0641\u0627\u062A","ui.common.question.one":"\u0633\u0624\u0627\u0644","ui.common.question.other":"\u0623\u0633\u0626\u0644\u0629","ui.common.add":"\u0625\u0636\u0627\u0641\u0629","ui.common.back":"\u0631\u062C\u0648\u0639","ui.common.cancel":"\u0625\u0644\u063A\u0627\u0621","ui.common.confirm":"\u062A\u0623\u0643\u064A\u062F","ui.common.dismiss":"\u0631\u0641\u0636","ui.common.close":"\u0625\u063A\u0644\u0627\u0642","ui.common.next":"\u0627\u0644\u062A\u0627\u0644\u064A","ui.common.submit":"\u0625\u0631\u0633\u0627\u0644","ui.permission.deny":"\u0631\u0641\u0636","ui.permission.allowAlways":"\u0627\u0644\u0633\u0645\u0627\u062D \u062F\u0627\u0626\u0645\u064B\u0627","ui.permission.allowOnce":"\u0627\u0644\u0633\u0645\u0627\u062D \u0645\u0631\u0629 \u0648\u0627\u062D\u062F\u0629","ui.message.expand":"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.collapse":"\u0637\u064A \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.copy":"\u0646\u0633\u062E","ui.message.copyMessage":"\u0646\u0633\u062E \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.forkMessage":"\u062A\u0634\u0639\u0628 \u0625\u0644\u0649 \u062C\u0644\u0633\u0629 \u062C\u062F\u064A\u062F\u0629","ui.message.revertMessage":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646 \u0625\u0644\u0649 \u0647\u0630\u0647 \u0627\u0644\u0646\u0642\u0637\u0629","ui.message.copyResponse":"\u0646\u0633\u062E \u0627\u0644\u0631\u062F","ui.message.copied":"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E!","ui.message.interrupted":"\u062A\u0645\u062A \u0627\u0644\u0645\u0642\u0627\u0637\u0639\u0629","ui.message.queued":"\u0641\u064A \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631","ui.message.attachment.alt":"\u0645\u0631\u0641\u0642","ui.patch.action.deleted":"\u0645\u062D\u0630\u0648\u0641","ui.patch.action.created":"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621","ui.patch.action.moved":"\u0645\u0646\u0642\u0648\u0644","ui.patch.action.patched":"\u0645\u0635\u062D\u062D","ui.question.subtitle.answered":"{{count}} \u0623\u062C\u064A\u0628","ui.question.answer.none":"(\u0644\u0627 \u062A\u0648\u062C\u062F \u0625\u062C\u0627\u0628\u0629)","ui.question.review.notAnswered":"(\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0631\u062F)","ui.question.multiHint":"\u062D\u062F\u062F \u0643\u0644 \u0645\u0627 \u064A\u0646\u0637\u0628\u0642","ui.question.singleHint":"\u062D\u062F\u062F \u0625\u062C\u0627\u0628\u0629 \u0648\u0627\u062D\u062F\u0629","ui.question.custom.placeholder":"\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643...","ui.fileSearch.placeholder":"\u0628\u062D\u062B","ui.fileSearch.previousMatch":"\u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629","ui.fileSearch.nextMatch":"\u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.fileSearch.close":"\u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u0628\u062D\u062B","ui.tool.task":"\u0645\u0647\u0645\u0629","ui.tool.skill":"\u0645\u0647\u0627\u0631\u0629","ui.basicTool.called":"\u062A\u0645 \u0627\u0633\u062A\u062F\u0639\u0627\u0621 `{{tool}}`","ui.toolErrorCard.failed":"\u0641\u0634\u0644","ui.toolErrorCard.copyError":"\u0646\u0633\u062E \u0627\u0644\u062E\u0637\u0623","ui.message.duration.seconds":"{{count}}\u062B","ui.message.duration.minutesSeconds":"{{minutes}}\u062F {{seconds}}\u062B"};export{e as dict};
2
+ import"./chunk-pfx8ts02.js";var e={"ui.sessionReview.title":"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0627\u0644\u062C\u0644\u0633\u0629","ui.sessionReview.title.lastTurn":"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0622\u062E\u0631 \u062F\u0648\u0631","ui.sessionReview.diffStyle.unified":"\u0645\u0648\u062D\u062F","ui.sessionReview.diffStyle.split":"\u0645\u0646\u0642\u0633\u0645","ui.sessionReview.openFile":"\u0641\u062A\u062D \u0645\u0644\u0641","ui.sessionReview.selection.line":"\u0633\u0637\u0631 {{line}}","ui.sessionReview.selection.lines":"\u0627\u0644\u0623\u0633\u0637\u0631 {{start}}-{{end}}","ui.sessionReview.expandAll":"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0643\u0644","ui.sessionReview.collapseAll":"\u0637\u064A \u0627\u0644\u0643\u0644","ui.sessionReview.change.added":"\u0645\u0636\u0627\u0641","ui.sessionReview.change.removed":"\u0645\u062D\u0630\u0648\u0641","ui.sessionReview.change.modified":"\u0645\u0639\u062F\u0644","ui.sessionReview.image.loading":"\u062C\u0627\u0631 \u0627\u0644\u062A\u062D\u0645\u064A\u0644...","ui.sessionReview.image.placeholder":"\u0635\u0648\u0631\u0629","ui.sessionReview.largeDiff.title":"Diff \u0643\u0628\u064A\u0631 \u062C\u062F\u0627 \u0644\u0639\u0631\u0636\u0647","ui.sessionReview.largeDiff.meta":"\u0627\u0644\u062D\u062F: {{limit}} \u0633\u0637\u0631\u064B\u0627 \u0645\u062A\u063A\u064A\u0631\u064B\u0627. \u0627\u0644\u062D\u0627\u0644\u064A: {{current}} \u0633\u0637\u0631\u064B\u0627 \u0645\u062A\u063A\u064A\u0631\u064B\u0627.","ui.sessionReview.largeDiff.renderAnyway":"\u0627\u0639\u0631\u0636 \u0639\u0644\u0649 \u0623\u064A \u062D\u0627\u0644","ui.fileMedia.kind.image":"\u0635\u0648\u0631\u0629","ui.fileMedia.kind.audio":"\u0635\u0648\u062A","ui.fileMedia.state.removed":"\u062A\u0645\u062A \u0625\u0632\u0627\u0644\u0629 {{kind}}","ui.fileMedia.state.loading":"\u062C\u0627\u0631\u064A \u062A\u062D\u0645\u064A\u0644 {{kind}}...","ui.fileMedia.state.error":"\u062E\u0637\u0623 \u0641\u064A \u062A\u062D\u0645\u064A\u0644 {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} \u063A\u064A\u0631 \u0645\u062A\u0648\u0641\u0631","ui.fileMedia.binary.title":"\u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A","ui.fileMedia.binary.description.path":"{{path}} \u0639\u0628\u0627\u0631\u0629 \u0639\u0646 \u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A \u0648\u0644\u0627 \u064A\u0645\u0643\u0646 \u0639\u0631\u0636\u0647.","ui.fileMedia.binary.description.default":"\u0647\u0630\u0627 \u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A \u0648\u0644\u0627 \u064A\u0645\u0643\u0646 \u0639\u0631\u0636\u0647.","ui.lineComment.label.prefix":"\u062A\u0639\u0644\u064A\u0642 \u0639\u0644\u0649 ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u0639\u0644\u064A\u0642 \u0639\u0644\u0649 ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u0623\u0636\u0641 \u062A\u0639\u0644\u064A\u0642\u064B\u0627","ui.lineComment.submit":"\u062A\u0639\u0644\u064A\u0642","ui.sessionTurn.steps.show":"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u062E\u0637\u0648\u0627\u062A","ui.sessionTurn.steps.hide":"\u0625\u062E\u0641\u0627\u0621 \u0627\u0644\u062E\u0637\u0648\u0627\u062A","ui.sessionTurn.summary.response":"\u0627\u0633\u062A\u062C\u0627\u0628\u0629","ui.sessionTurn.diff.showMore":"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u062A\u063A\u064A\u064A\u0631\u0627\u062A ({{count}})","ui.sessionTurn.retry.retrying":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629","ui.sessionTurn.retry.inSeconds":"\u062E\u0644\u0627\u0644 {{seconds}} \u062B\u0648\u0627\u0646\u064A","ui.sessionTurn.retry.attempt":"\u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0631\u0642\u0645 {{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0631\u0642\u0645 {{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini \u0645\u0632\u062F\u062D\u0645 \u062D\u0627\u0644\u064A\u0627","ui.sessionTurn.error.freeUsageExceeded":"\u062A\u0645 \u062A\u062C\u0627\u0648\u0632 \u062D\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0645\u062C\u0627\u0646\u064A","ui.sessionTurn.error.addQredits":"\u0625\u0636\u0627\u0641\u0629 \u0631\u0635\u064A\u062F","ui.sessionTurn.status.delegating":"\u062A\u0641\u0648\u064A\u0636 \u0627\u0644\u0639\u0645\u0644","ui.sessionTurn.status.planning":"\u062A\u062E\u0637\u064A\u0637 \u0627\u0644\u062E\u0637\u0648\u0627\u062A \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.sessionTurn.status.gatheringContext":"\u0627\u0633\u062A\u0643\u0634\u0627\u0641","ui.sessionTurn.status.gatheredContext":"\u062A\u0645 \u0627\u0644\u0627\u0633\u062A\u0643\u0634\u0627\u0641","ui.sessionTurn.status.searchingCodebase":"\u0627\u0644\u0628\u062D\u062B \u0641\u064A \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u062A\u0639\u0644\u064A\u0645\u0627\u062A \u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0629","ui.sessionTurn.status.searchingWeb":"\u0627\u0644\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0648\u064A\u0628","ui.sessionTurn.status.makingEdits":"\u0625\u062C\u0631\u0627\u0621 \u062A\u0639\u062F\u064A\u0644\u0627\u062A","ui.sessionTurn.status.runningCommands":"\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0623\u0648\u0627\u0645\u0631","ui.sessionTurn.status.thinking":"\u062A\u0641\u0643\u064A\u0631","ui.sessionTurn.status.thinkingWithTopic":"\u062A\u0641\u0643\u064A\u0631 - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u062C\u0645\u0639 \u0627\u0644\u0623\u0641\u0643\u0627\u0631","ui.sessionTurn.status.consideringNextSteps":"\u0627\u0644\u0646\u0638\u0631 \u0641\u064A \u0627\u0644\u062E\u0637\u0648\u0627\u062A \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.messagePart.questions.dismissed":"\u062A\u0645 \u0631\u0641\u0636 \u0627\u0644\u0623\u0633\u0626\u0644\u0629","ui.messagePart.compaction":"\u062A\u0645 \u0636\u063A\u0637 \u0627\u0644\u062C\u0644\u0633\u0629","ui.messagePart.context.read.one":"{{count}} \u0642\u0631\u0627\u0621\u0629","ui.messagePart.context.read.other":"{{count}} \u0642\u0631\u0627\u0621\u0627\u062A","ui.messagePart.context.search.one":"{{count}} \u0628\u062D\u062B","ui.messagePart.context.search.other":"{{count}} \u0639\u0645\u0644\u064A\u0627\u062A \u0628\u062D\u062B","ui.messagePart.context.list.one":"{{count}} \u0642\u0627\u0626\u0645\u0629","ui.messagePart.context.list.other":"{{count}} \u0642\u0648\u0627\u0626\u0645","ui.messagePart.diagnostic.error":"\u062E\u0637\u0623","ui.messagePart.title.edit":"\u062A\u062D\u0631\u064A\u0631","ui.messagePart.title.write":"\u0643\u062A\u0627\u0628\u0629","ui.messagePart.option.typeOwnAnswer":"\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643 \u0627\u0644\u062E\u0627\u0635\u0629","ui.messagePart.review.title":"\u0645\u0631\u0627\u062C\u0639\u0629 \u0625\u062C\u0627\u0628\u0627\u062A\u0643","ui.list.loading":"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u062D\u0645\u064A\u0644","ui.list.empty":"\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C","ui.list.clearFilter":"\u0645\u0633\u062D \u0639\u0627\u0645\u0644 \u0627\u0644\u062A\u0635\u0641\u064A\u0629","ui.list.emptyWithFilter.prefix":"\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C \u0644\u0640","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"\u0631\u0633\u0627\u0644\u0629 \u062C\u062F\u064A\u062F\u0629","ui.textField.copyToClipboard":"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629","ui.textField.copyLink":"\u0646\u0633\u062E \u0627\u0644\u0631\u0627\u0628\u0637","ui.textField.copied":"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E","ui.imagePreview.alt":"\u0645\u0639\u0627\u064A\u0646\u0629 \u0627\u0644\u0635\u0648\u0631\u0629","ui.scrollView.ariaLabel":"\u0645\u062D\u062A\u0648\u0649 \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0645\u0631\u064A\u0631","ui.tool.read":"\u0642\u0631\u0627\u0621\u0629","ui.tool.loaded":"\u062A\u0645 \u0627\u0644\u062A\u062D\u0645\u064A\u0644","ui.tool.list":"\u0642\u0627\u0626\u0645\u0629","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"\u062C\u0644\u0628 \u0627\u0644\u0648\u064A\u0628","ui.tool.websearch":"\u0628\u062D\u062B \u0627\u0644\u0648\u064A\u0628","ui.tool.codesearch":"\u0628\u062D\u062B \u0627\u0644\u0643\u0648\u062F","ui.tool.shell":"Shell","ui.tool.patch":"\u062A\u0635\u062D\u064A\u062D","ui.tool.todos":"\u0627\u0644\u0645\u0647\u0627\u0645","ui.tool.todos.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0647\u0627\u0645","ui.tool.questions":"\u0623\u0633\u0626\u0644\u0629","ui.tool.agent":"\u0648\u0643\u064A\u0644 {{type}}","ui.tool.agent.default":"\u0648\u0643\u064A\u0644","ui.common.file.one":"\u0645\u0644\u0641","ui.common.file.other":"\u0645\u0644\u0641\u0627\u062A","ui.common.question.one":"\u0633\u0624\u0627\u0644","ui.common.question.other":"\u0623\u0633\u0626\u0644\u0629","ui.common.add":"\u0625\u0636\u0627\u0641\u0629","ui.common.back":"\u0631\u062C\u0648\u0639","ui.common.cancel":"\u0625\u0644\u063A\u0627\u0621","ui.common.confirm":"\u062A\u0623\u0643\u064A\u062F","ui.common.dismiss":"\u0631\u0641\u0636","ui.common.close":"\u0625\u063A\u0644\u0627\u0642","ui.common.next":"\u0627\u0644\u062A\u0627\u0644\u064A","ui.common.submit":"\u0625\u0631\u0633\u0627\u0644","ui.permission.deny":"\u0631\u0641\u0636","ui.permission.allowAlways":"\u0627\u0644\u0633\u0645\u0627\u062D \u062F\u0627\u0626\u0645\u064B\u0627","ui.permission.allowOnce":"\u0627\u0644\u0633\u0645\u0627\u062D \u0645\u0631\u0629 \u0648\u0627\u062D\u062F\u0629","ui.message.expand":"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.collapse":"\u0637\u064A \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.copy":"\u0646\u0633\u062E","ui.message.copyMessage":"\u0646\u0633\u062E \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.forkMessage":"\u062A\u0634\u0639\u0628 \u0625\u0644\u0649 \u062C\u0644\u0633\u0629 \u062C\u062F\u064A\u062F\u0629","ui.message.revertMessage":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646 \u0625\u0644\u0649 \u0647\u0630\u0647 \u0627\u0644\u0646\u0642\u0637\u0629","ui.message.copyResponse":"\u0646\u0633\u062E \u0627\u0644\u0631\u062F","ui.message.copied":"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E!","ui.message.interrupted":"\u062A\u0645\u062A \u0627\u0644\u0645\u0642\u0627\u0637\u0639\u0629","ui.message.queued":"\u0641\u064A \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631","ui.message.attachment.alt":"\u0645\u0631\u0641\u0642","ui.patch.action.deleted":"\u0645\u062D\u0630\u0648\u0641","ui.patch.action.created":"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621","ui.patch.action.moved":"\u0645\u0646\u0642\u0648\u0644","ui.patch.action.patched":"\u0645\u0635\u062D\u062D","ui.question.subtitle.answered":"{{count}} \u0623\u062C\u064A\u0628","ui.question.answer.none":"(\u0644\u0627 \u062A\u0648\u062C\u062F \u0625\u062C\u0627\u0628\u0629)","ui.question.review.notAnswered":"(\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0631\u062F)","ui.question.multiHint":"\u062D\u062F\u062F \u0643\u0644 \u0645\u0627 \u064A\u0646\u0637\u0628\u0642","ui.question.singleHint":"\u062D\u062F\u062F \u0625\u062C\u0627\u0628\u0629 \u0648\u0627\u062D\u062F\u0629","ui.question.custom.placeholder":"\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643...","ui.fileSearch.placeholder":"\u0628\u062D\u062B","ui.fileSearch.previousMatch":"\u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629","ui.fileSearch.nextMatch":"\u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.fileSearch.close":"\u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u0628\u062D\u062B","ui.tool.task":"\u0645\u0647\u0645\u0629","ui.tool.skill":"\u0645\u0647\u0627\u0631\u0629","ui.basicTool.called":"\u062A\u0645 \u0627\u0633\u062A\u062F\u0639\u0627\u0621 `{{tool}}`","ui.toolErrorCard.failed":"\u0641\u0634\u0644","ui.toolErrorCard.copyError":"\u0646\u0633\u062E \u0627\u0644\u062E\u0637\u0623","ui.message.duration.seconds":"{{count}}\u062B","ui.message.duration.minutesSeconds":"{{minutes}}\u062F {{seconds}}\u062B"};export{e as dict};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Sl as f,Tl as Gj,Ul as Rj,Vl as Hj,Yl as s}from"./chunk-47jkx37s.js";import{In as xj}from"./chunk-h036zy9e.js";import{On as vj}from"./chunk-3152y1q9.js";import{Vr as P,Wr as wj,as as T,bs as Kj}from"./chunk-6cztstry.js";import{ft as a,gt as y}from"./chunk-8jkqyf9n.js";import{Pt as I,Yt as h}from"./chunk-5dvy83ms.js";import{hu as i,iu as Ij,ju as Jj,mu as Nj}from"./chunk-ffx0cr44.js";import{nu as j}from"./chunk-33mzqyyb.js";import{BC as Wj,FF as o,VO as C,ZK as l,_F as g,gI as Q}from"./chunk-9kc2th5c.js";import{uP as kj,wP as Oj,yP as Ej}from"./chunk-sh03ka27.js";var tj={};Oj(tj,{stopRefresh:()=>aj,startRefresh:()=>sj,refresh:()=>jj,readModelCatalogResponse:()=>Pj,get:()=>fj,Provider:()=>cj,Model:()=>pj,MODEL_CATALOG_MAX_BYTES:()=>Aj,Data:()=>S});import hj from"path";var U={};Oj(U,{layer:()=>Bj,isPreview:()=>ij,isNewerVersion:()=>qj,isLocal:()=>mj,getReleaseType:()=>yj,defaultLayer:()=>nj,UpgradeFailedError:()=>x,USER_AGENT:()=>Sj,Service:()=>E,Installation:()=>U,Info:()=>Uj,Event:()=>Cj});var _j=(J)=>J.pipe(T.retryTransient({retryOn:"errors-and-responses",times:2,schedule:g.exponential(200).pipe(g.jittered)}));import Yj from"path";var z=kj(xj(),1);import u from"crypto";import v from"fs";import Zj from"path";class H extends Error{constructor(J){super(J);this.name="SelfUpdateError"}}function $j(J){let V=J?.platform??process.platform,_=J?.arch??process.arch,$=J?.libc??"bionic",W=["qitqode",V==="win32"?"windows":V,_];if(_==="x64")W.push("baseline");if(V==="linux"&&$==="musl")W.push("musl");return`@qitqode/${W.join("-")}`}function Tj(J,V){if(V.integrity){let _=V.integrity.match(/^(sha512|sha384|sha256)-([A-Za-z0-9+/=]+)$/);if(!_)throw new H(`registry returned an unrecognized integrity string: ${V.integrity}`);if(u.createHash(_[1]).update(J).digest("base64")!==_[2])throw new H(`checksum mismatch: downloaded tarball does not match the registry ${_[1]} integrity value; refusing to install`);return}if(V.shasum){if(u.createHash("sha1").update(J).digest("hex")!==V.shasum.toLowerCase())throw new H("checksum mismatch: downloaded tarball does not match the registry shasum; refusing to install");return}throw new H("registry provided no integrity metadata for the tarball; refusing to install")}function Qj(J,V){let _=(w,R)=>{let G=w,q=w+R;while(G<q&&J[G]!==0)G++;return new TextDecoder().decode(J.subarray(w,G))},$=0,W;while($+512<=J.length){if(J.subarray($,$+512).every((Z)=>Z===0))break;let R=_($+124,12).trim(),G=R?parseInt(R,8):0;if(!Number.isFinite(G)||G<0)throw new H("downloaded tarball is corrupt (bad tar header)");let q=String.fromCharCode(J[$+156]),B=_($,100),N=_($+345,155);if(N)B=`${N}/${B}`;if(W)B=W,W=void 0;let b=$+512,X=b+G;if(q==="L")W=new TextDecoder().decode(J.subarray(b,X)).replace(/\0+$/,"");else if((q==="0"||q==="\x00"||q==="")&&B===V)return J.slice(b,X);$=b+Math.ceil(G/512)*512}return}var A=(J)=>String(J instanceof Error?J.message:J),n=(J)=>Q.fail(new H(J)),p=(J,V)=>Q.try({try:J,catch:(_)=>new H(V(_))}),Xj=Q.fnUntraced(function*(J){let{target:V,execPath:_,packageName:$,registry:W}=J,w=J.gunzip??((K)=>Bun.gunzipSync(K)),R=Zj.dirname(_);yield*p(()=>v.accessSync(R,v.constants.W_OK),()=>`no write permission for ${R}; cannot replace ${_}. Fix the directory permissions or re-run with sufficient privileges.`);let G=`${W}/${$}/${encodeURIComponent(V)}`,B=(yield*J.fetchJson(G).pipe(Q.mapError((K)=>new H(`download failed: could not fetch ${$}@${V} from ${W} (${A(K)}). Check your network connection and that version ${V} exists.`))))?.dist;if(!B?.tarball)return yield*n(`registry response for ${$}@${V} has no tarball URL; cannot self-update`);let N=B.tarball,b=yield*J.fetchBytes(N).pipe(Q.mapError((K)=>new H(`download failed: could not download ${N} (${A(K)}). Check your network connection and try again.`)));yield*Q.try({try:()=>Tj(b,B),catch:(K)=>K instanceof H?K:new H(A(K))});let X=yield*Q.try({try:()=>w(b),catch:()=>new H("downloaded tarball is corrupt (gunzip failed); try again")}),Z=Qj(X,"package/bin/qitqode")??Qj(X,"package/bin/qitqode.exe");if(!Z||Z.length===0)return yield*n(`tarball for ${$}@${V} does not contain the expected binary at bin/qitqode`);let O=Zj.join(R,`.qitqode-upgrade-${process.pid}`),Y=`${_}.backup-${process.pid}`,D=(K)=>{try{v.rmSync(K,{force:!0})}catch{}};yield*p(()=>v.writeFileSync(O,Z,{mode:493}),(K)=>{return D(O),`no write permission: could not write ${O} (${A(K)})`});let L=yield*J.runVersion(O).pipe(Q.mapError((K)=>{return D(O),new H(`downloaded binary failed its --version check (${A(K)}); keeping the current installation`)}));if(L.code!==0)return D(O),yield*n(`downloaded binary failed its --version check (exit ${L.code}); keeping the current installation`);let m=L.stdout.trim();if(m&&!m.includes(V))return D(O),yield*n(`downloaded binary reports version "${m}" instead of ${V}; keeping the current installation`);yield*p(()=>v.renameSync(_,Y),(K)=>{return D(O),`could not move the current binary aside (${A(K)}); check permissions on ${_}`}),yield*Q.try({try:()=>v.renameSync(O,_),catch:(K)=>{try{v.renameSync(Y,_)}catch{return new H(`failed to install the new binary AND failed to restore the old one; your previous binary is preserved at ${Y} \u2014 move it back to ${_} manually`)}return D(O),new H(`could not install the new binary (${A(K)}); the previous version was restored`)}}),D(Y)});var c=h.create({service:"installation"}),k="@qitqode/cli";function qj(J,V){if(!z.default.valid(J)||!z.default.valid(V))return!1;return z.default.gt(V,J)}var Cj={Updated:s.define("installation.updated",j.object({version:j.string()})),UpdateAvailable:s.define("installation.update-available",j.object({version:j.string()}))};function yj(J,V){if(!qj(J,V))throw Error(`Version ${V} is not newer than ${J}`);let _=z.default.major(J),$=z.default.minor(J),W=z.default.major(V),w=z.default.minor(V);if(W>_)return"major";if(w>$)return"minor";return"patch"}var Uj=j.object({version:j.string(),latest:j.string()}).meta({ref:"InstallationInfo"}),Sj=`qitqode/${y}/${a}/${I.QITQODE_CLIENT}`;function ij(){return y!=="latest"}function mj(){return y==="local"}class x extends C.TaggedErrorClass()("UpgradeFailedError",{stderr:C.String}){}var uj=C.Struct({version:C.String});class E extends Wj.Service()("@qitqode/Installation"){}var Bj=o.effect(E,Q.gen(function*(){let J=yield*T.HttpClient,V=T.filterStatusOk(_j(J)),_=yield*f.ChildProcessSpawner,$=(X,Z)=>Gj.make(X[0],X.slice(1),{cwd:Z?.cwd,env:Z?.env,extendEnv:!0}),W=Q.fnUntraced(function*(X){let Z=yield*Hj(_,X);return{code:Z.code,stdout:Z.text,stderr:Z.stderr}},Q.scoped),w=Q.fnUntraced(function*(X,Z){let O=yield*_.spawn($(X,Z)),Y=yield*l.mkString(l.decodeText(O.stdout));return yield*O.exitCode,Y},Q.scoped,Q.catch(()=>Q.succeed(""))),R=Q.fnUntraced(function*(X,Z){return yield*W($(X,Z))},Q.catch(()=>Q.succeed({code:f.ExitCode(1),stdout:"",stderr:""}))),G=Q.fn("Installation.method")(function*(){if(process.execPath.includes(Yj.join(".qitqode","bin")))return"curl";if(process.execPath.includes(Yj.join(".local","bin")))return"curl";let X=process.execPath.toLowerCase(),Z=[{name:"npm",command:()=>w(["npm","list","-g","--depth=0"])},{name:"pnpm",command:()=>w(["pnpm","list","-g","--depth=0"])},{name:"bun",command:()=>w(["bun","pm","ls","-g"])}];Z.sort((O,Y)=>{let D=X.includes(O.name),L=X.includes(Y.name);if(D&&!L)return-1;if(!D&&L)return 1;return 0});for(let O of Z)if((yield*O.command()).includes(k))return O.name;return"unknown"}),q=Q.fn("Installation.latest")(function*(X){let Z=X||(yield*G());if(Z==="curl"){let Y=(yield*w(["curl","-sI","https://github.com/qitqode/qitqode/releases/latest"])).match(/^location:.*\/tag\/v([0-9][^\s/]*)/im);if(Y)return Y[1];return yield*Q.die(Error("failed to resolve latest version from GitHub releases redirect"))}if(Z==="npm"||Z==="bun"||Z==="pnpm"){let Y=(yield*w(["npm","config","get","registry"])).trim()||"https://registry.npmjs.org",D=Y.endsWith("/")?Y.slice(0,-1):Y,L=yield*V.execute(P.get(`${D}/${encodeURIComponent(k)}/${y}`).pipe(P.acceptJson));return(yield*wj.schemaBodyJson(uj)(L)).version}return c.warn("unsupported update channel, skipping",{method:Z}),yield*Q.die(Error(`unsupported update channel: ${Z}`))},Q.orDie),B=Q.fnUntraced(function*(){let Z=(yield*w(["npm","config","get","registry"])).trim()||"https://registry.npmjs.org";return Z.endsWith("/")?Z.slice(0,-1):Z}),N=Q.fnUntraced(function*(X){let Z=yield*B();yield*Xj({target:X,execPath:process.env.QITQODE_SELF_UPDATE_TARGET_BINARY||process.execPath,packageName:$j(),registry:Z,fetchJson:(O)=>V.execute(P.get(O).pipe(P.acceptJson)).pipe(Q.flatMap((Y)=>Y.json)),fetchBytes:(O)=>V.execute(P.get(O)).pipe(Q.flatMap((Y)=>Y.arrayBuffer),Q.map((Y)=>new Uint8Array(Y))),runVersion:(O)=>R([O,"--version"]).pipe(Q.map((Y)=>({code:Y.code,stdout:Y.stdout})))}).pipe(Q.mapError((O)=>new x({stderr:O.message})))}),b=Q.fn("Installation.upgrade")(function*(X,Z){if(X==="curl"){yield*N(Z),c.info("upgraded",{method:X,target:Z});return}let Y=yield*(()=>{if(X==="npm")return R(["npm","install","-g",`${k}@${Z}`]);if(X==="pnpm")return R(["pnpm","install","-g",`${k}@${Z}`]);if(X==="bun")return R(["bun","install","-g",`${k}@${Z}`]);return new x({stderr:`Unknown method: ${X}`})})();if(Y.code!==0){let D=Y.stderr||"";return yield*new x({stderr:D})}c.info("upgraded",{method:X,target:Z,stdout:Y.stdout,stderr:Y.stderr}),yield*w([process.execPath,"--version"])});return E.of({info:Q.fn("Installation.info")(function*(){return{version:a,latest:yield*q()}}),method:G,latest:q,upgrade:b})})),nj=Bj.pipe(o.provide(Kj.layer),o.provide(Rj));var t=j.lazy(()=>j.union([j.string(),j.number(),j.boolean(),j.null(),j.array(t),j.record(j.string(),t)])),Dj=j.object({input:j.number(),output:j.number(),cache_read:j.number().optional(),cache_write:j.number().optional(),context_over_200k:j.object({input:j.number(),output:j.number(),cache_read:j.number().optional(),cache_write:j.number().optional()}).optional()}),r=j.object({id:j.string(),name:j.string(),family:j.string().optional(),release_date:j.string(),attachment:j.boolean(),reasoning:j.boolean(),temperature:j.boolean().optional(),tool_call:j.boolean(),interleaved:j.union([j.literal(!0),j.object({field:j.enum(["reasoning_content","reasoning_details"])}).strict()]).optional(),cost:Dj.optional(),limit:j.object({context:j.number(),input:j.number().optional(),output:j.number()}),modalities:j.object({input:j.array(j.enum(["text","audio","image","video","pdf"])),output:j.array(j.enum(["text","audio","image","video","pdf"]))}).optional(),experimental:j.object({modes:j.record(j.string(),j.object({cost:Dj.optional(),provider:j.object({body:j.record(j.string(),t).optional(),headers:j.record(j.string(),j.string()).optional()}).optional()})).optional()}).optional(),status:j.enum(["alpha","beta","deprecated"]).optional(),provider:j.object({npm:j.string().optional(),api:j.string().optional()}).optional()}),e=j.object({api:j.string().optional(),name:j.string(),env:j.array(j.string()),id:j.string(),npm:j.string().optional(),models:j.record(j.string(),r)});var Vj=h.create({service:"models.dev"}),bj=Fj(),F=hj.join(Nj.Path.cache,bj==="https://models.dev"?"models.json":`models-${Ij.fast(bj)}.json`),dj=300000,Aj=8388608,M,gj=j.record(j.string(),e),pj=r,cj=e;function Fj(){return I.QITQODE_MODELS_URL||"https://models.dev"}function lj(){return Date.now()-Number(i.stat(F)?.mtimeMs??0)<dj}function Lj(J){return!J&&lj()}function d(J){let V=gj.parse(typeof J==="string"?JSON.parse(J):J);for(let[_,$]of Object.entries(V))if($.id!==_)throw Error(`Invalid model provider: ${_}`);return V}async function zj(J){let V=await i.readJson(J).catch(()=>{return});if(!V)return;try{return d(V)}catch(_){Vj.warn("Ignoring invalid model catalog cache",{file:J,error:_});return}}async function Pj(J,V,_=Aj){V.throwIfAborted();let $=J.headers.get("content-type")?.split(";")[0]?.trim().toLowerCase();if($!=="application/json"&&!$?.endsWith("+json"))throw Error(`Invalid model catalog content type: ${$||"missing"}`);let W=Number(J.headers.get("content-length"));if(Number.isFinite(W)&&W>_)throw Error("Model catalog response is too large");if(!J.body)return"";let w=J.body.getReader(),R=()=>void w.cancel(V.reason).catch(()=>{return});V.addEventListener("abort",R,{once:!0});let G=new Uint8Array(_),q=0;try{for(;;){let B=await w.read();if(V.throwIfAborted(),B.done)break;if(q+=B.value.byteLength,q>_)throw await w.cancel(),Error("Model catalog response is too large");G.set(B.value,q-B.value.byteLength)}}finally{V.removeEventListener("abort",R)}return new TextDecoder().decode(G.subarray(0,q))}var Mj=async()=>{let J=AbortSignal.timeout(1e4),V=await fetch(`${Fj()}/api.json`,{headers:{"User-Agent":U.USER_AGENT},signal:J});if(!V.ok)return;let _=d(await Pj(V,J));return JSON.stringify(_)},S=vj(async()=>{let J=await zj(I.QITQODE_MODELS_PATH??F);if(J)return J;let V=await import("./chunk-86sfzgnf.js").then((_)=>d(_.snapshot)).catch(()=>{return});if(V)return V;if(I.QITQODE_DISABLE_MODELS_FETCH)return{};return Jj.withLock(`models-dev:${F}`,async()=>{let _=await zj(I.QITQODE_MODELS_PATH??F);if(_)return _;let $=await Mj();if($)return await i.write(F,$).catch((W)=>{Vj.error("Failed to write models cache",{error:W})}),d($);return{}})});async function fj(){return S()}async function jj(J=!1){if(Lj(J))return S.reset();await Jj.withLock(`models-dev:${F}`,async()=>{if(Lj(J))return S.reset();let V=await Mj();if(!V)return;await i.write(F,V),S.reset()}).catch((V)=>{Vj.error("Failed to fetch models.dev",{error:V})})}function sj(){if(M||I.QITQODE_DISABLE_MODELS_FETCH||process.argv.includes("--get-yargs-completions"))return;jj(),M=setInterval(async()=>{await jj()},3600000),M.unref()}function aj(){if(!M)return;clearInterval(M),M=void 0}
3
- export{_j as dl,U as el,Aj as fl,pj as gl,cj as hl,Pj as il,S as jl,fj as kl,jj as ll,sj as ml,aj as nl,tj as ol};
2
+ import{Tl as f,Ul as Gj,Vl as Rj,Wl as Hj,Zl as s}from"./chunk-ft4msj4z.js";import{gp as xj}from"./chunk-ya7wrt5f.js";import{mp as vj}from"./chunk-4bp91rza.js";import{At as wj,Gt as T,Ht as Kj,zt as P}from"./chunk-9skj2w9e.js";import{Lu as a,Mu as y}from"./chunk-dm7hfb7f.js";import{Cv as h,tv as I}from"./chunk-62mb6wxm.js";import{Nv as i,Ov as Ij,Pv as Jj,Sv as Nj}from"./chunk-zg72kz2k.js";import{Tv as j}from"./chunk-kr7t73tg.js";import{DM as l,EH as g,MJ as Q,fE as Wj,jH as o,zQ as C}from"./chunk-qvnsgyfk.js";import{_Q as kj,aR as Oj,cR as Ej}from"./chunk-pfx8ts02.js";var tj={};Oj(tj,{stopRefresh:()=>aj,startRefresh:()=>sj,refresh:()=>jj,readModelCatalogResponse:()=>Pj,get:()=>fj,Provider:()=>cj,Model:()=>pj,MODEL_CATALOG_MAX_BYTES:()=>Aj,Data:()=>S});import hj from"path";var U={};Oj(U,{layer:()=>Bj,isPreview:()=>ij,isNewerVersion:()=>qj,isLocal:()=>mj,getReleaseType:()=>yj,defaultLayer:()=>nj,UpgradeFailedError:()=>x,USER_AGENT:()=>Sj,Service:()=>E,Installation:()=>U,Info:()=>Uj,Event:()=>Cj});var _j=(J)=>J.pipe(T.retryTransient({retryOn:"errors-and-responses",times:2,schedule:g.exponential(200).pipe(g.jittered)}));import Yj from"path";var z=kj(xj(),1);import u from"crypto";import v from"fs";import Zj from"path";class H extends Error{constructor(J){super(J);this.name="SelfUpdateError"}}function $j(J){let V=J?.platform??process.platform,_=J?.arch??process.arch,$=J?.libc??"bionic",W=["qitqode",V==="win32"?"windows":V,_];if(_==="x64")W.push("baseline");if(V==="linux"&&$==="musl")W.push("musl");return`@qitqode/${W.join("-")}`}function Tj(J,V){if(V.integrity){let _=V.integrity.match(/^(sha512|sha384|sha256)-([A-Za-z0-9+/=]+)$/);if(!_)throw new H(`registry returned an unrecognized integrity string: ${V.integrity}`);if(u.createHash(_[1]).update(J).digest("base64")!==_[2])throw new H(`checksum mismatch: downloaded tarball does not match the registry ${_[1]} integrity value; refusing to install`);return}if(V.shasum){if(u.createHash("sha1").update(J).digest("hex")!==V.shasum.toLowerCase())throw new H("checksum mismatch: downloaded tarball does not match the registry shasum; refusing to install");return}throw new H("registry provided no integrity metadata for the tarball; refusing to install")}function Qj(J,V){let _=(w,R)=>{let G=w,q=w+R;while(G<q&&J[G]!==0)G++;return new TextDecoder().decode(J.subarray(w,G))},$=0,W;while($+512<=J.length){if(J.subarray($,$+512).every((Z)=>Z===0))break;let R=_($+124,12).trim(),G=R?parseInt(R,8):0;if(!Number.isFinite(G)||G<0)throw new H("downloaded tarball is corrupt (bad tar header)");let q=String.fromCharCode(J[$+156]),B=_($,100),N=_($+345,155);if(N)B=`${N}/${B}`;if(W)B=W,W=void 0;let b=$+512,X=b+G;if(q==="L")W=new TextDecoder().decode(J.subarray(b,X)).replace(/\0+$/,"");else if((q==="0"||q==="\x00"||q==="")&&B===V)return J.slice(b,X);$=b+Math.ceil(G/512)*512}return}var A=(J)=>String(J instanceof Error?J.message:J),n=(J)=>Q.fail(new H(J)),p=(J,V)=>Q.try({try:J,catch:(_)=>new H(V(_))}),Xj=Q.fnUntraced(function*(J){let{target:V,execPath:_,packageName:$,registry:W}=J,w=J.gunzip??((K)=>Bun.gunzipSync(K)),R=Zj.dirname(_);yield*p(()=>v.accessSync(R,v.constants.W_OK),()=>`no write permission for ${R}; cannot replace ${_}. Fix the directory permissions or re-run with sufficient privileges.`);let G=`${W}/${$}/${encodeURIComponent(V)}`,B=(yield*J.fetchJson(G).pipe(Q.mapError((K)=>new H(`download failed: could not fetch ${$}@${V} from ${W} (${A(K)}). Check your network connection and that version ${V} exists.`))))?.dist;if(!B?.tarball)return yield*n(`registry response for ${$}@${V} has no tarball URL; cannot self-update`);let N=B.tarball,b=yield*J.fetchBytes(N).pipe(Q.mapError((K)=>new H(`download failed: could not download ${N} (${A(K)}). Check your network connection and try again.`)));yield*Q.try({try:()=>Tj(b,B),catch:(K)=>K instanceof H?K:new H(A(K))});let X=yield*Q.try({try:()=>w(b),catch:()=>new H("downloaded tarball is corrupt (gunzip failed); try again")}),Z=Qj(X,"package/bin/qitqode")??Qj(X,"package/bin/qitqode.exe");if(!Z||Z.length===0)return yield*n(`tarball for ${$}@${V} does not contain the expected binary at bin/qitqode`);let O=Zj.join(R,`.qitqode-upgrade-${process.pid}`),Y=`${_}.backup-${process.pid}`,D=(K)=>{try{v.rmSync(K,{force:!0})}catch{}};yield*p(()=>v.writeFileSync(O,Z,{mode:493}),(K)=>{return D(O),`no write permission: could not write ${O} (${A(K)})`});let L=yield*J.runVersion(O).pipe(Q.mapError((K)=>{return D(O),new H(`downloaded binary failed its --version check (${A(K)}); keeping the current installation`)}));if(L.code!==0)return D(O),yield*n(`downloaded binary failed its --version check (exit ${L.code}); keeping the current installation`);let m=L.stdout.trim();if(m&&!m.includes(V))return D(O),yield*n(`downloaded binary reports version "${m}" instead of ${V}; keeping the current installation`);yield*p(()=>v.renameSync(_,Y),(K)=>{return D(O),`could not move the current binary aside (${A(K)}); check permissions on ${_}`}),yield*Q.try({try:()=>v.renameSync(O,_),catch:(K)=>{try{v.renameSync(Y,_)}catch{return new H(`failed to install the new binary AND failed to restore the old one; your previous binary is preserved at ${Y} \u2014 move it back to ${_} manually`)}return D(O),new H(`could not install the new binary (${A(K)}); the previous version was restored`)}}),D(Y)});var c=h.create({service:"installation"}),k="@qitqode/cli";function qj(J,V){if(!z.default.valid(J)||!z.default.valid(V))return!1;return z.default.gt(V,J)}var Cj={Updated:s.define("installation.updated",j.object({version:j.string()})),UpdateAvailable:s.define("installation.update-available",j.object({version:j.string()}))};function yj(J,V){if(!qj(J,V))throw Error(`Version ${V} is not newer than ${J}`);let _=z.default.major(J),$=z.default.minor(J),W=z.default.major(V),w=z.default.minor(V);if(W>_)return"major";if(w>$)return"minor";return"patch"}var Uj=j.object({version:j.string(),latest:j.string()}).meta({ref:"InstallationInfo"}),Sj=`qitqode/${y}/${a}/${I.QITQODE_CLIENT}`;function ij(){return y!=="latest"}function mj(){return y==="local"}class x extends C.TaggedErrorClass()("UpgradeFailedError",{stderr:C.String}){}var uj=C.Struct({version:C.String});class E extends Wj.Service()("@qitqode/Installation"){}var Bj=o.effect(E,Q.gen(function*(){let J=yield*T.HttpClient,V=T.filterStatusOk(_j(J)),_=yield*f.ChildProcessSpawner,$=(X,Z)=>Gj.make(X[0],X.slice(1),{cwd:Z?.cwd,env:Z?.env,extendEnv:!0}),W=Q.fnUntraced(function*(X){let Z=yield*Hj(_,X);return{code:Z.code,stdout:Z.text,stderr:Z.stderr}},Q.scoped),w=Q.fnUntraced(function*(X,Z){let O=yield*_.spawn($(X,Z)),Y=yield*l.mkString(l.decodeText(O.stdout));return yield*O.exitCode,Y},Q.scoped,Q.catch(()=>Q.succeed(""))),R=Q.fnUntraced(function*(X,Z){return yield*W($(X,Z))},Q.catch(()=>Q.succeed({code:f.ExitCode(1),stdout:"",stderr:""}))),G=Q.fn("Installation.method")(function*(){if(process.execPath.includes(Yj.join(".qitqode","bin")))return"curl";if(process.execPath.includes(Yj.join(".local","bin")))return"curl";let X=process.execPath.toLowerCase(),Z=[{name:"npm",command:()=>w(["npm","list","-g","--depth=0"])},{name:"pnpm",command:()=>w(["pnpm","list","-g","--depth=0"])},{name:"bun",command:()=>w(["bun","pm","ls","-g"])}];Z.sort((O,Y)=>{let D=X.includes(O.name),L=X.includes(Y.name);if(D&&!L)return-1;if(!D&&L)return 1;return 0});for(let O of Z)if((yield*O.command()).includes(k))return O.name;return"unknown"}),q=Q.fn("Installation.latest")(function*(X){let Z=X||(yield*G());if(Z==="curl"){let Y=(yield*w(["curl","-sI","https://github.com/qitqode/qitqode/releases/latest"])).match(/^location:.*\/tag\/v([0-9][^\s/]*)/im);if(Y)return Y[1];return yield*Q.die(Error("failed to resolve latest version from GitHub releases redirect"))}if(Z==="npm"||Z==="bun"||Z==="pnpm"){let Y=(yield*w(["npm","config","get","registry"])).trim()||"https://registry.npmjs.org",D=Y.endsWith("/")?Y.slice(0,-1):Y,L=yield*V.execute(P.get(`${D}/${encodeURIComponent(k)}/${y}`).pipe(P.acceptJson));return(yield*wj.schemaBodyJson(uj)(L)).version}return c.warn("unsupported update channel, skipping",{method:Z}),yield*Q.die(Error(`unsupported update channel: ${Z}`))},Q.orDie),B=Q.fnUntraced(function*(){let Z=(yield*w(["npm","config","get","registry"])).trim()||"https://registry.npmjs.org";return Z.endsWith("/")?Z.slice(0,-1):Z}),N=Q.fnUntraced(function*(X){let Z=yield*B();yield*Xj({target:X,execPath:process.env.QITQODE_SELF_UPDATE_TARGET_BINARY||process.execPath,packageName:$j(),registry:Z,fetchJson:(O)=>V.execute(P.get(O).pipe(P.acceptJson)).pipe(Q.flatMap((Y)=>Y.json)),fetchBytes:(O)=>V.execute(P.get(O)).pipe(Q.flatMap((Y)=>Y.arrayBuffer),Q.map((Y)=>new Uint8Array(Y))),runVersion:(O)=>R([O,"--version"]).pipe(Q.map((Y)=>({code:Y.code,stdout:Y.stdout})))}).pipe(Q.mapError((O)=>new x({stderr:O.message})))}),b=Q.fn("Installation.upgrade")(function*(X,Z){if(X==="curl"){yield*N(Z),c.info("upgraded",{method:X,target:Z});return}let Y=yield*(()=>{if(X==="npm")return R(["npm","install","-g",`${k}@${Z}`]);if(X==="pnpm")return R(["pnpm","install","-g",`${k}@${Z}`]);if(X==="bun")return R(["bun","install","-g",`${k}@${Z}`]);return new x({stderr:`Unknown method: ${X}`})})();if(Y.code!==0){let D=Y.stderr||"";return yield*new x({stderr:D})}c.info("upgraded",{method:X,target:Z,stdout:Y.stdout,stderr:Y.stderr}),yield*w([process.execPath,"--version"])});return E.of({info:Q.fn("Installation.info")(function*(){return{version:a,latest:yield*q()}}),method:G,latest:q,upgrade:b})})),nj=Bj.pipe(o.provide(Kj.layer),o.provide(Rj));var t=j.lazy(()=>j.union([j.string(),j.number(),j.boolean(),j.null(),j.array(t),j.record(j.string(),t)])),Dj=j.object({input:j.number(),output:j.number(),cache_read:j.number().optional(),cache_write:j.number().optional(),context_over_200k:j.object({input:j.number(),output:j.number(),cache_read:j.number().optional(),cache_write:j.number().optional()}).optional()}),r=j.object({id:j.string(),name:j.string(),family:j.string().optional(),release_date:j.string(),attachment:j.boolean(),reasoning:j.boolean(),temperature:j.boolean().optional(),tool_call:j.boolean(),interleaved:j.union([j.literal(!0),j.object({field:j.enum(["reasoning_content","reasoning_details"])}).strict()]).optional(),cost:Dj.optional(),limit:j.object({context:j.number(),input:j.number().optional(),output:j.number()}),modalities:j.object({input:j.array(j.enum(["text","audio","image","video","pdf"])),output:j.array(j.enum(["text","audio","image","video","pdf"]))}).optional(),experimental:j.object({modes:j.record(j.string(),j.object({cost:Dj.optional(),provider:j.object({body:j.record(j.string(),t).optional(),headers:j.record(j.string(),j.string()).optional()}).optional()})).optional()}).optional(),status:j.enum(["alpha","beta","deprecated"]).optional(),provider:j.object({npm:j.string().optional(),api:j.string().optional()}).optional()}),e=j.object({api:j.string().optional(),name:j.string(),env:j.array(j.string()),id:j.string(),npm:j.string().optional(),models:j.record(j.string(),r)});var Vj=h.create({service:"models.dev"}),bj=Fj(),F=hj.join(Nj.Path.cache,bj==="https://models.dev"?"models.json":`models-${Ij.fast(bj)}.json`),dj=300000,Aj=8388608,M,gj=j.record(j.string(),e),pj=r,cj=e;function Fj(){return I.QITQODE_MODELS_URL||"https://models.dev"}function lj(){return Date.now()-Number(i.stat(F)?.mtimeMs??0)<dj}function Lj(J){return!J&&lj()}function d(J){let V=gj.parse(typeof J==="string"?JSON.parse(J):J);for(let[_,$]of Object.entries(V))if($.id!==_)throw Error(`Invalid model provider: ${_}`);return V}async function zj(J){let V=await i.readJson(J).catch(()=>{return});if(!V)return;try{return d(V)}catch(_){Vj.warn("Ignoring invalid model catalog cache",{file:J,error:_});return}}async function Pj(J,V,_=Aj){V.throwIfAborted();let $=J.headers.get("content-type")?.split(";")[0]?.trim().toLowerCase();if($!=="application/json"&&!$?.endsWith("+json"))throw Error(`Invalid model catalog content type: ${$||"missing"}`);let W=Number(J.headers.get("content-length"));if(Number.isFinite(W)&&W>_)throw Error("Model catalog response is too large");if(!J.body)return"";let w=J.body.getReader(),R=()=>void w.cancel(V.reason).catch(()=>{return});V.addEventListener("abort",R,{once:!0});let G=new Uint8Array(_),q=0;try{for(;;){let B=await w.read();if(V.throwIfAborted(),B.done)break;if(q+=B.value.byteLength,q>_)throw await w.cancel(),Error("Model catalog response is too large");G.set(B.value,q-B.value.byteLength)}}finally{V.removeEventListener("abort",R)}return new TextDecoder().decode(G.subarray(0,q))}var Mj=async()=>{let J=AbortSignal.timeout(1e4),V=await fetch(`${Fj()}/api.json`,{headers:{"User-Agent":U.USER_AGENT},signal:J});if(!V.ok)return;let _=d(await Pj(V,J));return JSON.stringify(_)},S=vj(async()=>{let J=await zj(I.QITQODE_MODELS_PATH??F);if(J)return J;let V=await import("./chunk-hxf2a10r.js").then((_)=>d(_.snapshot)).catch(()=>{return});if(V)return V;if(I.QITQODE_DISABLE_MODELS_FETCH)return{};return Jj.withLock(`models-dev:${F}`,async()=>{let _=await zj(I.QITQODE_MODELS_PATH??F);if(_)return _;let $=await Mj();if($)return await i.write(F,$).catch((W)=>{Vj.error("Failed to write models cache",{error:W})}),d($);return{}})});async function fj(){return S()}async function jj(J=!1){if(Lj(J))return S.reset();await Jj.withLock(`models-dev:${F}`,async()=>{if(Lj(J))return S.reset();let V=await Mj();if(!V)return;await i.write(F,V),S.reset()}).catch((V)=>{Vj.error("Failed to fetch models.dev",{error:V})})}function sj(){if(M||I.QITQODE_DISABLE_MODELS_FETCH||process.argv.includes("--get-yargs-completions"))return;jj(),M=setInterval(async()=>{await jj()},3600000),M.unref()}function aj(){if(!M)return;clearInterval(M),M=void 0}
3
+ export{_j as el,U as fl,Aj as gl,pj as hl,cj as il,Pj as jl,S as kl,fj as ll,jj as ml,sj as nl,aj as ol,tj as pl};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Rf as a}from"./chunk-s7017cak.js";import"./chunk-q2j2dm96.js";import"./chunk-pfx8ts02.js";export default a();
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Te as u,Ue as S,Ve as v}from"./chunk-meehnnv9.js";import{$e as U,We as q,df as k,gf as y,jf as $,kf as D,of as N,pf as A,tf as E,vf as H,xf as O}from"./chunk-4ycg2c6f.js";import"./chunk-pdcxmr6x.js";import"./chunk-cqtkxwd8.js";import"./chunk-a1mbach4.js";import{Lu as j}from"./chunk-sg9enzsp.js";import"./chunk-5q98z8ck.js";import"./chunk-sh03ka27.js";var C=$(()=>D(j.object({error:j.object({message:j.string()})}))),f=$(()=>D(j.object({id:j.string().nullish(),model:j.string().nullish(),results:j.array(j.object({index:j.number(),relevance_score:j.number()})),usage:j.object({prompt_tokens:j.number(),completion_tokens:j.number(),total_tokens:j.number()})}))),M=$(()=>D(j.object({rankFields:j.array(j.string()).optional()}))),h=class{constructor(F,G){this.specificationVersion="v3",this.modelId=F,this.config=G}get provider(){return this.config.provider}async doRerank({documents:F,headers:G,query:K,topN:V,abortSignal:W,providerOptions:Y}){var J,P;let Z=await N({provider:"togetherai",providerOptions:Y,schema:M}),{responseHeaders:X,value:B,rawValue:x}=await A({url:`${this.config.baseURL}/rerank`,headers:q(this.config.headers(),G),body:{model:this.modelId,documents:F.values,query:K,top_n:V,rank_fields:Z==null?void 0:Z.rankFields,return_documents:!1},failedResponseHandler:E({errorSchema:C,errorToMessage:(Q)=>Q.error.message}),successfulResponseHandler:H(f),abortSignal:W,fetch:this.config.fetch});return{ranking:B.results.map((Q)=>({index:Q.index,relevanceScore:Q.relevance_score})),response:{id:(J=B.id)!=null?J:void 0,modelId:(P=B.model)!=null?P:void 0,headers:X,body:x}}}},I=class{constructor(F,G){this.modelId=F,this.config=G,this.specificationVersion="v3",this.maxImagesPerCall=1}get provider(){return this.config.provider}async doGenerate({prompt:F,n:G,size:K,seed:V,providerOptions:W,headers:Y,abortSignal:J,files:P,mask:Z}){var X,B,x;let Q=[];if(Z!=null)throw Error("Together AI does not support mask-based image editing. Use FLUX Kontext models (e.g., black-forest-labs/FLUX.1-kontext-pro) with a reference image and descriptive prompt instead.");if(K!=null)Q.push({type:"unsupported",feature:"aspectRatio",details:"This model does not support the `aspectRatio` option. Use `size` instead."});let _=(x=(B=(X=this.config._internal)==null?void 0:X.currentDate)==null?void 0:B.call(X))!=null?x:new Date,R=await N({provider:"togetherai",providerOptions:W,schema:m}),w;if(P!=null&&P.length>0){if(w=U(P[0]),P.length>1)Q.push({type:"other",message:"Together AI only supports a single input image. Additional images are ignored."})}let T=K==null?void 0:K.split("x"),{value:b,responseHeaders:z}=await A({url:`${this.config.baseURL}/images/generations`,headers:q(this.config.headers(),Y),body:{model:this.modelId,prompt:F,seed:V,...G>1?{n:G}:{},...T&&{width:parseInt(T[0]),height:parseInt(T[1])},...w!=null?{image_url:w}:{},response_format:"base64",...R!=null?R:{}},failedResponseHandler:E({errorSchema:g,errorToMessage:(L)=>L.error.message}),successfulResponseHandler:H(c),abortSignal:J,fetch:this.config.fetch});return{images:b.data.map((L)=>L.b64_json),warnings:Q,response:{timestamp:_,modelId:this.modelId,headers:z}}}},c=j.object({data:j.array(j.object({b64_json:j.string()}))}),g=j.object({error:j.object({message:j.string()})}),m=$(()=>D(j.object({steps:j.number().nullish(),guidance:j.number().nullish(),negative_prompt:j.string().nullish(),disable_safety_checker:j.boolean().nullish()}).passthrough())),p="2.0.41";function l(){if(typeof process>"u")return;if(typeof process.env.TOGETHER_API_KEY==="string")return;let F=process.env.TOGETHER_AI_API_KEY;if(typeof F==="string")console.warn("TOGETHER_AI_API_KEY is deprecated and will be removed in a future release. Please use TOGETHER_API_KEY instead.");return F}function n(F={}){var G;let K=O((G=F.baseURL)!=null?G:"https://api.together.xyz/v1/"),V=()=>{var x;return k({Authorization:`Bearer ${y({apiKey:(x=F.apiKey)!=null?x:l(),environmentVariableName:"TOGETHER_API_KEY",description:"TogetherAI"})}`,...F.headers},`ai-sdk/togetherai/${p}`)},W=(x)=>({provider:`togetherai.${x}`,url:({path:Q})=>`${K}${Q}`,headers:V,fetch:F.fetch}),Y=(x)=>{return new u(x,W("chat"))},J=(x)=>new S(x,W("completion")),P=(x)=>new v(x,W("embedding")),Z=(x)=>new I(x,{...W("image"),baseURL:K!=null?K:"https://api.together.xyz/v1/"}),X=(x)=>new h(x,{...W("reranking"),baseURL:K!=null?K:"https://api.together.xyz/v1/"}),B=(x)=>Y(x);return B.specificationVersion="v3",B.completionModel=J,B.languageModel=Y,B.chatModel=Y,B.embeddingModel=P,B.textEmbeddingModel=P,B.image=Z,B.imageModel=Z,B.reranking=X,B.rerankingModel=X,B}var xj=n();export{xj as togetherai,n as createTogetherAI,p as VERSION};
2
+ import{Ue as u,Ve as S,We as v}from"./chunk-a0c6w901.js";import{Xe as q,af as U,ef as k,hf as y,kf as $,lf as D,pf as N,qf as A,uf as E,wf as H,yf as O}from"./chunk-fg5f3a8a.js";import"./chunk-4dy64hgp.js";import"./chunk-cqtkxwd8.js";import"./chunk-gt10s0ks.js";import{pw as j}from"./chunk-9tfm1dk2.js";import"./chunk-x2mbre12.js";import"./chunk-pfx8ts02.js";var C=$(()=>D(j.object({error:j.object({message:j.string()})}))),f=$(()=>D(j.object({id:j.string().nullish(),model:j.string().nullish(),results:j.array(j.object({index:j.number(),relevance_score:j.number()})),usage:j.object({prompt_tokens:j.number(),completion_tokens:j.number(),total_tokens:j.number()})}))),M=$(()=>D(j.object({rankFields:j.array(j.string()).optional()}))),h=class{constructor(F,G){this.specificationVersion="v3",this.modelId=F,this.config=G}get provider(){return this.config.provider}async doRerank({documents:F,headers:G,query:K,topN:V,abortSignal:W,providerOptions:Y}){var J,P;let Z=await N({provider:"togetherai",providerOptions:Y,schema:M}),{responseHeaders:X,value:B,rawValue:x}=await A({url:`${this.config.baseURL}/rerank`,headers:q(this.config.headers(),G),body:{model:this.modelId,documents:F.values,query:K,top_n:V,rank_fields:Z==null?void 0:Z.rankFields,return_documents:!1},failedResponseHandler:E({errorSchema:C,errorToMessage:(Q)=>Q.error.message}),successfulResponseHandler:H(f),abortSignal:W,fetch:this.config.fetch});return{ranking:B.results.map((Q)=>({index:Q.index,relevanceScore:Q.relevance_score})),response:{id:(J=B.id)!=null?J:void 0,modelId:(P=B.model)!=null?P:void 0,headers:X,body:x}}}},I=class{constructor(F,G){this.modelId=F,this.config=G,this.specificationVersion="v3",this.maxImagesPerCall=1}get provider(){return this.config.provider}async doGenerate({prompt:F,n:G,size:K,seed:V,providerOptions:W,headers:Y,abortSignal:J,files:P,mask:Z}){var X,B,x;let Q=[];if(Z!=null)throw Error("Together AI does not support mask-based image editing. Use FLUX Kontext models (e.g., black-forest-labs/FLUX.1-kontext-pro) with a reference image and descriptive prompt instead.");if(K!=null)Q.push({type:"unsupported",feature:"aspectRatio",details:"This model does not support the `aspectRatio` option. Use `size` instead."});let _=(x=(B=(X=this.config._internal)==null?void 0:X.currentDate)==null?void 0:B.call(X))!=null?x:new Date,R=await N({provider:"togetherai",providerOptions:W,schema:m}),w;if(P!=null&&P.length>0){if(w=U(P[0]),P.length>1)Q.push({type:"other",message:"Together AI only supports a single input image. Additional images are ignored."})}let T=K==null?void 0:K.split("x"),{value:b,responseHeaders:z}=await A({url:`${this.config.baseURL}/images/generations`,headers:q(this.config.headers(),Y),body:{model:this.modelId,prompt:F,seed:V,...G>1?{n:G}:{},...T&&{width:parseInt(T[0]),height:parseInt(T[1])},...w!=null?{image_url:w}:{},response_format:"base64",...R!=null?R:{}},failedResponseHandler:E({errorSchema:g,errorToMessage:(L)=>L.error.message}),successfulResponseHandler:H(c),abortSignal:J,fetch:this.config.fetch});return{images:b.data.map((L)=>L.b64_json),warnings:Q,response:{timestamp:_,modelId:this.modelId,headers:z}}}},c=j.object({data:j.array(j.object({b64_json:j.string()}))}),g=j.object({error:j.object({message:j.string()})}),m=$(()=>D(j.object({steps:j.number().nullish(),guidance:j.number().nullish(),negative_prompt:j.string().nullish(),disable_safety_checker:j.boolean().nullish()}).passthrough())),p="2.0.41";function l(){if(typeof process>"u")return;if(typeof process.env.TOGETHER_API_KEY==="string")return;let F=process.env.TOGETHER_AI_API_KEY;if(typeof F==="string")console.warn("TOGETHER_AI_API_KEY is deprecated and will be removed in a future release. Please use TOGETHER_API_KEY instead.");return F}function n(F={}){var G;let K=O((G=F.baseURL)!=null?G:"https://api.together.xyz/v1/"),V=()=>{var x;return k({Authorization:`Bearer ${y({apiKey:(x=F.apiKey)!=null?x:l(),environmentVariableName:"TOGETHER_API_KEY",description:"TogetherAI"})}`,...F.headers},`ai-sdk/togetherai/${p}`)},W=(x)=>({provider:`togetherai.${x}`,url:({path:Q})=>`${K}${Q}`,headers:V,fetch:F.fetch}),Y=(x)=>{return new u(x,W("chat"))},J=(x)=>new S(x,W("completion")),P=(x)=>new v(x,W("embedding")),Z=(x)=>new I(x,{...W("image"),baseURL:K!=null?K:"https://api.together.xyz/v1/"}),X=(x)=>new h(x,{...W("reranking"),baseURL:K!=null?K:"https://api.together.xyz/v1/"}),B=(x)=>Y(x);return B.specificationVersion="v3",B.completionModel=J,B.languageModel=Y,B.chatModel=Y,B.embeddingModel=P,B.textEmbeddingModel=P,B.image=Z,B.imageModel=Z,B.reranking=X,B.rerankingModel=X,B}var xj=n();export{xj as togetherai,n as createTogetherAI,p as VERSION};