@qitqode/qitqode-android-arm64 0.2.5 → 0.2.7

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 (410) hide show
  1. package/bundle/{chunk-ztyy3ga3.js → chunk-01e3v1xz.js} +2 -2
  2. package/bundle/{chunk-p54bzjtv.js → chunk-060wbpz4.js} +1 -1
  3. package/bundle/{chunk-ypdt9mmr.js → chunk-0am156m5.js} +2 -2
  4. package/bundle/{chunk-xhtcegk0.js → chunk-0bgssfvq.js} +1 -1
  5. package/bundle/{chunk-dnnkq5y4.js → chunk-0crgymtr.js} +2 -2
  6. package/bundle/chunk-0dzpjk7x.js +2 -0
  7. package/bundle/{chunk-bwbqkfv0.js → chunk-0ffmwhw7.js} +1 -1
  8. package/bundle/{chunk-h62chdmw.js → chunk-0g0jpw0z.js} +1 -1
  9. package/bundle/{chunk-mn9end71.js → chunk-0ggvqmnm.js} +1 -1
  10. package/bundle/{chunk-y7hgevfv.js → chunk-0gsw04hw.js} +2 -2
  11. package/bundle/{chunk-tkrwcjkr.js → chunk-0qpqd7nz.js} +2 -2
  12. package/bundle/{chunk-nty5z2cj.js → chunk-0tqmm8b8.js} +1 -1
  13. package/bundle/chunk-12fwmmcp.js +2 -0
  14. package/bundle/{chunk-bch1rj72.js → chunk-14d301ze.js} +1 -1
  15. package/bundle/{chunk-3cqrz7g1.js → chunk-16srrzjr.js} +1 -1
  16. package/bundle/{chunk-45a4n21f.js → chunk-19pspc1p.js} +1 -1
  17. package/bundle/chunk-1a95ysv3.js +2 -0
  18. package/bundle/chunk-1akh8pk2.js +2 -0
  19. package/bundle/{chunk-5tky3csh.js → chunk-1ay97v74.js} +1 -1
  20. package/bundle/{chunk-6ar91jvd.js → chunk-1c0yp2gv.js} +1 -1
  21. package/bundle/{chunk-2md6sx8d.js → chunk-1rgt2vmt.js} +1 -1
  22. package/bundle/{chunk-3kpse7zy.js → chunk-1vpx7szf.js} +1 -1
  23. package/bundle/chunk-22qetqnp.js +2 -0
  24. package/bundle/{chunk-tm34qp8j.js → chunk-2bjfz4fb.js} +1 -1
  25. package/bundle/{chunk-jxwey5py.js → chunk-2c26kxp4.js} +5 -5
  26. package/bundle/{chunk-xe69cnsk.js → chunk-2c41dncf.js} +1 -1
  27. package/bundle/{chunk-m7v4ky0y.js → chunk-2cjfezfr.js} +1 -1
  28. package/bundle/chunk-2d2a92kj.js +2 -0
  29. package/bundle/{chunk-m5dm7a1t.js → chunk-2pex3ak9.js} +1 -1
  30. package/bundle/chunk-2qrvkef8.js +2 -0
  31. package/bundle/chunk-2tppw8j9.js +2 -0
  32. package/bundle/chunk-2y87m7pe.js +2 -0
  33. package/bundle/{chunk-sfw5qddj.js → chunk-33jcxsbe.js} +1 -1
  34. package/bundle/{chunk-d0x5pbkm.js → chunk-3623jvcm.js} +1 -1
  35. package/bundle/{chunk-953pqp3w.js → chunk-368jx5dp.js} +1 -1
  36. package/bundle/chunk-3ft1dn9j.js +2 -0
  37. package/bundle/{chunk-rn83r0js.js → chunk-3k7016c2.js} +1 -1
  38. package/bundle/chunk-3rgct4bd.js +11 -0
  39. package/bundle/{chunk-68v3b6ns.js → chunk-3xdmxm5t.js} +2 -2
  40. package/bundle/{chunk-dt5aae7t.js → chunk-42q8vj0w.js} +1 -1
  41. package/bundle/{chunk-yhj01dz9.js → chunk-438faz6b.js} +2 -2
  42. package/bundle/chunk-4656qm05.js +2 -0
  43. package/bundle/chunk-46knch5z.js +2 -0
  44. package/bundle/{chunk-n23d0q00.js → chunk-4bewbvvr.js} +1 -1
  45. package/bundle/{chunk-pmg53fdd.js → chunk-4byvnx78.js} +1 -1
  46. package/bundle/chunk-4ftjx7ss.js +2 -0
  47. package/bundle/{chunk-jqk3v8d6.js → chunk-4fvbexr8.js} +1 -1
  48. package/bundle/{chunk-k1nh5sd2.js → chunk-4fy08jcj.js} +1 -1
  49. package/bundle/{chunk-0smnwqk6.js → chunk-4j76bf4j.js} +2 -2
  50. package/bundle/{chunk-5nrc5rhh.js → chunk-4jpab7ag.js} +1 -1
  51. package/bundle/{chunk-0j5rzaxx.js → chunk-4ngmjk8j.js} +2 -2
  52. package/bundle/{chunk-vnrjk2be.js → chunk-4rpgwgx9.js} +1 -1
  53. package/bundle/chunk-4sgy87h5.js +2 -0
  54. package/bundle/{chunk-65bmsp2t.js → chunk-4vzjdmts.js} +1 -1
  55. package/bundle/{chunk-zc0cdvcv.js → chunk-4zhrg3rv.js} +2 -2
  56. package/bundle/{chunk-5pzs51sp.js → chunk-52rdms56.js} +1 -1
  57. package/bundle/chunk-54hktc8h.js +2 -0
  58. package/bundle/{chunk-smznrv7k.js → chunk-55way0em.js} +1 -1
  59. package/bundle/{chunk-k4gsktts.js → chunk-59kk0mce.js} +1 -1
  60. package/bundle/chunk-59m55866.js +2 -0
  61. package/bundle/{chunk-a9a0cwmf.js → chunk-5b3v1x2c.js} +2 -2
  62. package/bundle/chunk-5js5nw7r.js +2 -0
  63. package/bundle/{chunk-5gsdnejs.js → chunk-5nhwqg7c.js} +1 -1
  64. package/bundle/{chunk-13rsd5vv.js → chunk-5r05d901.js} +3 -3
  65. package/bundle/{chunk-avefgbjg.js → chunk-5zh91zk2.js} +2 -2
  66. package/bundle/chunk-61jn7908.js +2 -0
  67. package/bundle/chunk-61txdqz1.js +2 -0
  68. package/bundle/chunk-668g9wkg.js +2 -0
  69. package/bundle/chunk-6frhjpmt.js +2 -0
  70. package/bundle/{chunk-920z7g7j.js → chunk-6gqs1k7m.js} +1 -1
  71. package/bundle/chunk-6k14c8x1.js +5 -0
  72. package/bundle/{chunk-g42krp0z.js → chunk-6nxebcf8.js} +1 -1
  73. package/bundle/chunk-6r1jpj0h.js +2 -0
  74. package/bundle/{chunk-7bcm7gg1.js → chunk-6r48fje7.js} +1 -1
  75. package/bundle/{chunk-bqn6bqws.js → chunk-6ychs4wx.js} +1 -1
  76. package/bundle/{chunk-21rq4592.js → chunk-705xnxbc.js} +2 -2
  77. package/bundle/chunk-73fn4dqd.js +2 -0
  78. package/bundle/{chunk-2b3fn9xv.js → chunk-73xryfgn.js} +2 -2
  79. package/bundle/{chunk-ct693qsd.js → chunk-76h0f86f.js} +1 -1
  80. package/bundle/{chunk-cq9sd32h.js → chunk-77h8tytk.js} +1 -1
  81. package/bundle/chunk-78j2c2je.js +2 -0
  82. package/bundle/chunk-78jt24ht.js +2 -0
  83. package/bundle/chunk-7j2vpavd.js +2 -0
  84. package/bundle/chunk-7nkxgm72.js +2 -0
  85. package/bundle/{chunk-f31yvp20.js → chunk-7p6mxch0.js} +1 -1
  86. package/bundle/{chunk-mhhtf0v3.js → chunk-7sq5dyv1.js} +1 -1
  87. package/bundle/{chunk-804vmbcd.js → chunk-7x2q1w0f.js} +1 -1
  88. package/bundle/{chunk-ac7482n2.js → chunk-7z96r2px.js} +2 -2
  89. package/bundle/chunk-84pjdenq.js +2 -0
  90. package/bundle/chunk-859pkecc.js +2 -0
  91. package/bundle/{chunk-y0527cg0.js → chunk-8hmt3avx.js} +1 -1
  92. package/bundle/{chunk-7ayb3k5p.js → chunk-8jvfqh3b.js} +1 -1
  93. package/bundle/{chunk-8wwdrwf2.js → chunk-8p0t8qah.js} +1 -1
  94. package/bundle/chunk-8p249svd.js +2 -0
  95. package/bundle/{chunk-z1932c3f.js → chunk-8rfqv5he.js} +1 -1
  96. package/bundle/chunk-8rqbx4jw.js +2 -0
  97. package/bundle/chunk-8s3krfsm.js +2 -0
  98. package/bundle/{chunk-pb30kkbs.js → chunk-93pmbdz7.js} +6 -6
  99. package/bundle/{chunk-vcygx6hs.js → chunk-95am490c.js} +2 -2
  100. package/bundle/{chunk-52frd9p0.js → chunk-9a6p1gdn.js} +8 -8
  101. package/bundle/chunk-9aafddkw.js +3 -0
  102. package/bundle/{chunk-0xrb12s8.js → chunk-9g9katgy.js} +2 -2
  103. package/bundle/{chunk-24rkf2gk.js → chunk-9qzwmt76.js} +1 -1
  104. package/bundle/chunk-9sv53kb4.js +2 -0
  105. package/bundle/chunk-9wbe0dkx.js +2 -0
  106. package/bundle/{chunk-bne5w117.js → chunk-9xxnwb33.js} +4 -4
  107. package/bundle/{chunk-fjbv3jht.js → chunk-a610qd3x.js} +1 -1
  108. package/bundle/{chunk-5c2438af.js → chunk-a76w2jwm.js} +1 -1
  109. package/bundle/{chunk-at22twxx.js → chunk-aa2n02qk.js} +2 -2
  110. package/bundle/{chunk-3akv2xqh.js → chunk-abv0fskc.js} +1 -1
  111. package/bundle/{chunk-7g66qc1v.js → chunk-acd72413.js} +2 -2
  112. package/bundle/{chunk-wkg3c643.js → chunk-ae7b11np.js} +2 -2
  113. package/bundle/{chunk-gy21fw82.js → chunk-agqss9ga.js} +2 -2
  114. package/bundle/chunk-aj5z8qd5.js +2 -0
  115. package/bundle/{chunk-fxx0z4yb.js → chunk-ajp53ksp.js} +1 -1
  116. package/bundle/{chunk-j164q40b.js → chunk-amp6mvbp.js} +2 -2
  117. package/bundle/{chunk-44723rmb.js → chunk-aqcpk2vg.js} +1 -1
  118. package/bundle/chunk-b0c2mvc0.js +2 -0
  119. package/bundle/{chunk-pxv12ctq.js → chunk-b6eypnbj.js} +1 -1
  120. package/bundle/chunk-b79z8f94.js +2 -0
  121. package/bundle/chunk-bbwcsdy9.js +2 -0
  122. package/bundle/chunk-bbzjdbb9.js +2 -0
  123. package/bundle/{chunk-6evh2ke8.js → chunk-bd505nsd.js} +1 -1
  124. package/bundle/{chunk-p4027t94.js → chunk-bd84t3fb.js} +1 -1
  125. package/bundle/chunk-bh4s1yct.js +2 -0
  126. package/bundle/{chunk-rrv0n73b.js → chunk-bk7f59fn.js} +1 -1
  127. package/bundle/{chunk-venprxdp.js → chunk-bn71wqqf.js} +1 -1
  128. package/bundle/{chunk-j9h1sp4g.js → chunk-c3szabpf.js} +2 -2
  129. package/bundle/{chunk-z6sbjvtv.js → chunk-c6cajbyj.js} +1 -1
  130. package/bundle/{chunk-p6crzjtf.js → chunk-c8prg3jx.js} +2 -2
  131. package/bundle/chunk-crqcppwq.js +2 -0
  132. package/bundle/{chunk-t239rvej.js → chunk-cth373se.js} +2 -2
  133. package/bundle/chunk-d09zpgj1.js +2 -0
  134. package/bundle/{chunk-np12r26m.js → chunk-d1tb1jd0.js} +1 -1
  135. package/bundle/{chunk-mmjgf680.js → chunk-dbpkq7ba.js} +2 -2
  136. package/bundle/{chunk-36xm6mgm.js → chunk-dd4qnh8s.js} +2 -2
  137. package/bundle/{chunk-p169ee92.js → chunk-defj5zs6.js} +1 -1
  138. package/bundle/chunk-dexcptaz.js +3 -0
  139. package/bundle/chunk-dgqkak21.js +2 -0
  140. package/bundle/{chunk-jww55nk9.js → chunk-dgva3y5v.js} +1 -1
  141. package/bundle/chunk-dhgvh7c3.js +2 -0
  142. package/bundle/{chunk-c55f729m.js → chunk-djqxbnwc.js} +2 -2
  143. package/bundle/chunk-dmd101ja.js +2 -0
  144. package/bundle/{chunk-vygkwwjd.js → chunk-drnj1a14.js} +2 -2
  145. package/bundle/{chunk-g3wvtyw3.js → chunk-dt1wwt7m.js} +1 -1
  146. package/bundle/{chunk-cz5vta94.js → chunk-dw70wds9.js} +1 -1
  147. package/bundle/{chunk-xdd3553a.js → chunk-dw7yrk1g.js} +1 -1
  148. package/bundle/chunk-dwb39jdf.js +2 -0
  149. package/bundle/chunk-dx4zxex7.js +2 -0
  150. package/bundle/{chunk-ph8hn1wt.js → chunk-dy2k5rdx.js} +2 -2
  151. package/bundle/{chunk-wwdpw27v.js → chunk-dz3bec8g.js} +1 -1
  152. package/bundle/{chunk-t0761rhq.js → chunk-e0zb6sw6.js} +2 -2
  153. package/bundle/chunk-e2pqvscp.js +2 -0
  154. package/bundle/{chunk-vsz4s6zt.js → chunk-e4g4mvak.js} +1 -1
  155. package/bundle/{chunk-fhqfqd5v.js → chunk-eeq0krp7.js} +2 -2
  156. package/bundle/chunk-efe6kj3d.js +2 -0
  157. package/bundle/{chunk-qp1n7kwe.js → chunk-egkhynj5.js} +1 -1
  158. package/bundle/chunk-emac0dss.js +2 -0
  159. package/bundle/chunk-encfnt6w.js +2 -0
  160. package/bundle/{chunk-y29ejqg2.js → chunk-etv6c77a.js} +1 -1
  161. package/bundle/{chunk-32j0q58h.js → chunk-eyr5ymt8.js} +1 -1
  162. package/bundle/{chunk-r9w0thdk.js → chunk-f2pv705d.js} +1 -1
  163. package/bundle/{chunk-5w76kdjr.js → chunk-f4mnp6xd.js} +1 -1
  164. package/bundle/{chunk-xdteq9bd.js → chunk-f84hw65n.js} +1 -1
  165. package/bundle/chunk-fg2nyz2x.js +2 -0
  166. package/bundle/chunk-ga6wc979.js +2 -0
  167. package/bundle/{chunk-nw3e93y8.js → chunk-gbxf6e5d.js} +3 -3
  168. package/bundle/chunk-gdew7bwm.js +2 -0
  169. package/bundle/{chunk-w9gzfsy7.js → chunk-gdj7mqrd.js} +2 -2
  170. package/bundle/chunk-ge19ff9d.js +2 -0
  171. package/bundle/{chunk-wmezdcdh.js → chunk-ghap1n1m.js} +4 -4
  172. package/bundle/chunk-gt0q07xq.js +2 -0
  173. package/bundle/{chunk-7mppvhv9.js → chunk-gwrnxcdn.js} +2 -2
  174. package/bundle/{chunk-e8p92vz4.js → chunk-gww0skmn.js} +2 -2
  175. package/bundle/chunk-h4dnjfr2.js +2 -0
  176. package/bundle/{chunk-has2rz35.js → chunk-h7658zxy.js} +1 -1
  177. package/bundle/chunk-h8fx619t.js +2 -0
  178. package/bundle/{chunk-313zqzc1.js → chunk-hfefq104.js} +1 -1
  179. package/bundle/{chunk-ff548b0j.js → chunk-hhk2sp5n.js} +2 -2
  180. package/bundle/{chunk-47k5jy1p.js → chunk-hqjc4wgg.js} +2 -2
  181. package/bundle/{chunk-48r70n4s.js → chunk-hrtze4c5.js} +1 -1
  182. package/bundle/{chunk-r5zy4za0.js → chunk-hwsqqkrv.js} +2 -2
  183. package/bundle/{chunk-ehb4hd9c.js → chunk-j6xmgn63.js} +1 -1
  184. package/bundle/chunk-jnvb3s7f.js +2 -0
  185. package/bundle/chunk-jrq2xw6e.js +2 -0
  186. package/bundle/chunk-jwckmhjm.js +2 -0
  187. package/bundle/{chunk-xqnzmr7a.js → chunk-jxkrhrp0.js} +2 -2
  188. package/bundle/chunk-jz27ypm5.js +2 -0
  189. package/bundle/chunk-jzrs878d.js +2 -0
  190. package/bundle/chunk-jzx700tb.js +2 -0
  191. package/bundle/chunk-k1x8469r.js +3 -0
  192. package/bundle/{chunk-0g7acwt1.js → chunk-k3g28tbw.js} +1 -1
  193. package/bundle/{chunk-wy3a4cab.js → chunk-k6zwfstj.js} +1 -1
  194. package/bundle/{chunk-0qd3567w.js → chunk-kfj37631.js} +1 -1
  195. package/bundle/{chunk-khzzmyk2.js → chunk-kmzpeq8k.js} +1 -1
  196. package/bundle/{chunk-bd21p9zz.js → chunk-kre93a89.js} +2 -2
  197. package/bundle/{chunk-j8fcfhr2.js → chunk-kry4vcrf.js} +2 -2
  198. package/bundle/chunk-ktp2b4t4.js +2 -0
  199. package/bundle/chunk-m483jvn8.js +2 -0
  200. package/bundle/chunk-makecdh6.js +8 -0
  201. package/bundle/{chunk-tr6rdr6h.js → chunk-mbbxedsq.js} +2 -2
  202. package/bundle/chunk-menbcmkq.js +2 -0
  203. package/bundle/{chunk-hwrrrbqd.js → chunk-mghnkwp8.js} +1 -1
  204. package/bundle/{chunk-pr7z5dj8.js → chunk-mhxyv9c8.js} +1 -1
  205. package/bundle/{chunk-k5q9px67.js → chunk-mjrqhbp2.js} +1 -1
  206. package/bundle/{chunk-9zm6r55d.js → chunk-msh249db.js} +2 -2
  207. package/bundle/{chunk-bbdp6dj4.js → chunk-n0g4983e.js} +1 -1
  208. package/bundle/{chunk-dnsh1v42.js → chunk-n4qxj391.js} +2 -2
  209. package/bundle/{chunk-ptqk1j2r.js → chunk-n5p7cn4w.js} +1 -1
  210. package/bundle/{chunk-5zkj5xv9.js → chunk-n9twhc5d.js} +2 -2
  211. package/bundle/{chunk-p5be5ddp.js → chunk-na1wr2qf.js} +1 -1
  212. package/bundle/{chunk-4agaj51z.js → chunk-nbckdba0.js} +1 -1
  213. package/bundle/{chunk-ezrqhqkp.js → chunk-nftbj8g9.js} +1 -1
  214. package/bundle/{chunk-93gdcrbc.js → chunk-nfzpegqx.js} +1 -1
  215. package/bundle/chunk-np8h66t0.js +2 -0
  216. package/bundle/{chunk-af81r4v7.js → chunk-npzx3yd5.js} +1 -1
  217. package/bundle/chunk-nr2j8ytn.js +3 -0
  218. package/bundle/{chunk-w46g7kdq.js → chunk-nrk29616.js} +2 -2
  219. package/bundle/{chunk-826r9svy.js → chunk-ns8xnkjb.js} +2 -2
  220. package/bundle/{chunk-7vmx8bg9.js → chunk-ntpn0w9m.js} +2 -2
  221. package/bundle/chunk-nwwmns3w.js +2 -0
  222. package/bundle/{chunk-ksme3gj1.js → chunk-p40z6510.js} +1 -1
  223. package/bundle/{chunk-xmb8jy13.js → chunk-p847g35y.js} +1 -1
  224. package/bundle/{chunk-vf492zs6.js → chunk-p8ak162p.js} +1 -1
  225. package/bundle/chunk-pe5dpzec.js +2 -0
  226. package/bundle/{chunk-bbng1cea.js → chunk-pf3nqf00.js} +1 -1
  227. package/bundle/{chunk-9hz56z6a.js → chunk-ppy0jy6j.js} +1 -1
  228. package/bundle/{chunk-et3804wr.js → chunk-prbxhnza.js} +1 -1
  229. package/bundle/{chunk-nrat6ncm.js → chunk-ptwex14s.js} +1 -1
  230. package/bundle/{chunk-qey1efpx.js → chunk-q3pt4p9f.js} +1 -1
  231. package/bundle/{chunk-eb4y8bjv.js → chunk-q6mcnq9p.js} +1 -1
  232. package/bundle/{chunk-vp9scf28.js → chunk-q6p92zyn.js} +2 -2
  233. package/bundle/{chunk-yfzyzsr4.js → chunk-q87fw8dk.js} +2 -2
  234. package/bundle/chunk-q8f6a074.js +2 -0
  235. package/bundle/{chunk-5qsr1q4t.js → chunk-qbrj9wzd.js} +1 -1
  236. package/bundle/{chunk-j0bwa5dk.js → chunk-qdvnscxm.js} +2 -2
  237. package/bundle/{chunk-d6jhs818.js → chunk-qp3hxqg5.js} +2 -2
  238. package/bundle/{chunk-jg1ccs3j.js → chunk-qph2c2v7.js} +1 -1
  239. package/bundle/{chunk-3vvd7j14.js → chunk-qprbef09.js} +1 -1
  240. package/bundle/chunk-qqaevt32.js +2 -0
  241. package/bundle/chunk-qzpvz708.js +2 -0
  242. package/bundle/{chunk-41cq88js.js → chunk-r4kg0z96.js} +2 -2
  243. package/bundle/{chunk-faee8zgc.js → chunk-r73e8gsp.js} +1 -1
  244. package/bundle/chunk-reyjr2e0.js +2 -0
  245. package/bundle/{chunk-dxdggn90.js → chunk-rfzra502.js} +1 -1
  246. package/bundle/{chunk-tg226j37.js → chunk-rhrcgvb8.js} +1 -1
  247. package/bundle/{chunk-wyj8cpx5.js → chunk-rk0fnvp5.js} +1 -1
  248. package/bundle/{chunk-t8c4cs6z.js → chunk-rqedtjz9.js} +1 -1
  249. package/bundle/{chunk-eg3syjtv.js → chunk-s06t769q.js} +2 -2
  250. package/bundle/{chunk-cfjjx3sh.js → chunk-skxg3s8z.js} +1 -1
  251. package/bundle/{chunk-7x6yrtzn.js → chunk-spzd8rev.js} +1 -1
  252. package/bundle/chunk-t178njgb.js +2 -0
  253. package/bundle/{chunk-3jf3jhrs.js → chunk-t4b2fm7z.js} +1 -1
  254. package/bundle/{chunk-55fcmswd.js → chunk-t8sy5sgx.js} +2 -2
  255. package/bundle/{chunk-s4vx9x1v.js → chunk-t9qyzzsz.js} +1 -1
  256. package/bundle/{chunk-6scf311w.js → chunk-tc9xbn1t.js} +1 -1
  257. package/bundle/{chunk-qnvsqnz5.js → chunk-tezrgfc6.js} +2 -2
  258. package/bundle/chunk-tjpev5t6.js +2 -0
  259. package/bundle/{chunk-nymf08b4.js → chunk-tkzctbxq.js} +2 -2
  260. package/bundle/{chunk-t5xxs5kp.js → chunk-ts2k13g0.js} +1 -1
  261. package/bundle/{chunk-gszvgz76.js → chunk-twd6r7nf.js} +2 -2
  262. package/bundle/{chunk-qxcyz5hc.js → chunk-twfvrafb.js} +2 -2
  263. package/bundle/{chunk-70q8qcb2.js → chunk-twvmjsxf.js} +1 -1
  264. package/bundle/{chunk-ggxzf22k.js → chunk-tz3s8dvy.js} +1 -1
  265. package/bundle/chunk-tzq7wjgv.js +3 -0
  266. package/bundle/{chunk-n78f8hfk.js → chunk-v0c3k797.js} +1 -1
  267. package/bundle/chunk-v1s16wwd.js +2 -0
  268. package/bundle/{chunk-kj8cmn7z.js → chunk-v3nmnm57.js} +2 -2
  269. package/bundle/chunk-v6b29nx4.js +2 -0
  270. package/bundle/chunk-v6rgd1j5.js +2 -0
  271. package/bundle/chunk-v9dnetq8.js +2 -0
  272. package/bundle/{chunk-450fef7h.js → chunk-v9w88wpy.js} +2 -2
  273. package/bundle/{chunk-7hvf9dgx.js → chunk-va2qfh0x.js} +1 -1
  274. package/bundle/chunk-vd5mpvcc.js +2 -0
  275. package/bundle/{chunk-w4synhfg.js → chunk-vfb72vdy.js} +1 -1
  276. package/bundle/{chunk-45k7qm85.js → chunk-vhzx5bxd.js} +1 -1
  277. package/bundle/{chunk-cmb62jkt.js → chunk-vjn54xj5.js} +2 -2
  278. package/bundle/{chunk-ybane1en.js → chunk-vp3yf46q.js} +1 -1
  279. package/bundle/{chunk-jyt2xvha.js → chunk-vzrc2fmt.js} +1 -1
  280. package/bundle/{chunk-ejqzcdcx.js → chunk-w3zhy5vq.js} +1 -1
  281. package/bundle/{chunk-v3nqkqhz.js → chunk-w43kmnm9.js} +641 -635
  282. package/bundle/{chunk-w4brava0.js → chunk-wb1d3mqw.js} +1 -1
  283. package/bundle/{chunk-6m9jb0s9.js → chunk-wd8hbven.js} +2 -2
  284. package/bundle/{chunk-vshycswk.js → chunk-wgt1tqw9.js} +1 -1
  285. package/bundle/{chunk-0428v6mw.js → chunk-whw18cn9.js} +1 -1
  286. package/bundle/{chunk-pxm4qvqk.js → chunk-wjz42325.js} +2 -2
  287. package/bundle/{chunk-y67kaj0b.js → chunk-wvb17w0z.js} +1 -1
  288. package/bundle/chunk-wwct4z7j.js +2 -0
  289. package/bundle/{chunk-55ykn8nz.js → chunk-x55h5qdc.js} +4 -4
  290. package/bundle/{chunk-05ck7acg.js → chunk-x80d0zh7.js} +1 -1
  291. package/bundle/{chunk-mjjaezwq.js → chunk-x9fyt3vx.js} +2 -2
  292. package/bundle/{chunk-g22e4gw7.js → chunk-xb3sxa6f.js} +1 -1
  293. package/bundle/{chunk-yz25607t.js → chunk-xcxqt8ag.js} +1 -1
  294. package/bundle/{chunk-c36p881g.js → chunk-xhh70g8j.js} +3 -3
  295. package/bundle/chunk-xr9wz961.js +2 -0
  296. package/bundle/{chunk-0cnwsf8p.js → chunk-y0h3jfkj.js} +1 -1
  297. package/bundle/{chunk-m7ganre7.js → chunk-y2t5pmqw.js} +1 -1
  298. package/bundle/{chunk-g3y5xemb.js → chunk-y5q9v80n.js} +1 -1
  299. package/bundle/{chunk-kdj7xvz7.js → chunk-yd94wz5v.js} +2 -2
  300. package/bundle/{chunk-rn043d0r.js → chunk-yjqww6ag.js} +2 -2
  301. package/bundle/{chunk-2drzgtv3.js → chunk-yxttz5z5.js} +2 -2
  302. package/bundle/{chunk-2nv1scj9.js → chunk-yy7r3t3w.js} +2 -2
  303. package/bundle/{chunk-5pwv2p3s.js → chunk-yzpc5kj2.js} +1 -1
  304. package/bundle/{chunk-73r8bjjz.js → chunk-z6kcnpsj.js} +2 -2
  305. package/bundle/{chunk-nj1ntakd.js → chunk-z744mz4w.js} +2 -2
  306. package/bundle/{chunk-39z96pc6.js → chunk-z7kswv9r.js} +3 -3
  307. package/bundle/chunk-zfegnt1e.js +2 -0
  308. package/bundle/chunk-zg7kesbp.js +2 -0
  309. package/bundle/{chunk-t9pwz4ws.js → chunk-znmbfx70.js} +1 -1
  310. package/bundle/{chunk-24ygjbpf.js → chunk-zp5sr5nx.js} +2 -2
  311. package/bundle/{chunk-ha1w0xzh.js → chunk-zrhw1szj.js} +1 -1
  312. package/bundle/chunk-zy06fe4r.js +2 -0
  313. package/bundle/index.js +3 -3
  314. package/bundle/parser.worker.js +2 -2
  315. package/bundle/worker.js +1 -1
  316. package/package.json +1 -1
  317. package/bundle/chunk-03bp59wq.js +0 -2
  318. package/bundle/chunk-0ppnq3a4.js +0 -2
  319. package/bundle/chunk-0te0vcdn.js +0 -2
  320. package/bundle/chunk-11h06z17.js +0 -2
  321. package/bundle/chunk-28yv4fqe.js +0 -2
  322. package/bundle/chunk-34a52hyr.js +0 -2
  323. package/bundle/chunk-3n3gb3vd.js +0 -2
  324. package/bundle/chunk-3sq60y9f.js +0 -2
  325. package/bundle/chunk-49mbnqvc.js +0 -2
  326. package/bundle/chunk-4fr6kae9.js +0 -2
  327. package/bundle/chunk-516w1nc4.js +0 -2
  328. package/bundle/chunk-535nm66j.js +0 -2
  329. package/bundle/chunk-5kpxpm8e.js +0 -2
  330. package/bundle/chunk-5nm5s0h2.js +0 -2
  331. package/bundle/chunk-5ysbwr4x.js +0 -3
  332. package/bundle/chunk-6gpf2bjs.js +0 -2
  333. package/bundle/chunk-6sxx56b2.js +0 -2
  334. package/bundle/chunk-6t48g4x5.js +0 -2
  335. package/bundle/chunk-7bgzcpdw.js +0 -2
  336. package/bundle/chunk-7kjvcbwa.js +0 -2
  337. package/bundle/chunk-89b4k585.js +0 -2
  338. package/bundle/chunk-8jma2btf.js +0 -2
  339. package/bundle/chunk-93e0w75z.js +0 -2
  340. package/bundle/chunk-97gp818s.js +0 -2
  341. package/bundle/chunk-98b7ecrk.js +0 -2
  342. package/bundle/chunk-9epf2zbh.js +0 -2
  343. package/bundle/chunk-acpjrs02.js +0 -2
  344. package/bundle/chunk-agv04nt7.js +0 -2
  345. package/bundle/chunk-be7smmar.js +0 -2
  346. package/bundle/chunk-bryx5cx9.js +0 -2
  347. package/bundle/chunk-c13rrw41.js +0 -2
  348. package/bundle/chunk-c2kkv619.js +0 -2
  349. package/bundle/chunk-c5xj1y5v.js +0 -2
  350. package/bundle/chunk-ckpm4dvv.js +0 -2
  351. package/bundle/chunk-ct8twng1.js +0 -2
  352. package/bundle/chunk-d38y7bvh.js +0 -2
  353. package/bundle/chunk-d6hxsfm6.js +0 -2
  354. package/bundle/chunk-descb9jz.js +0 -2
  355. package/bundle/chunk-dvr2b9r1.js +0 -2
  356. package/bundle/chunk-ea5fktnn.js +0 -2
  357. package/bundle/chunk-f0t7rryn.js +0 -3
  358. package/bundle/chunk-f4mf6tpp.js +0 -2
  359. package/bundle/chunk-f97k17t8.js +0 -2
  360. package/bundle/chunk-g4ehhdzp.js +0 -2
  361. package/bundle/chunk-gd6qpdjw.js +0 -2
  362. package/bundle/chunk-gehn9fd9.js +0 -2
  363. package/bundle/chunk-h5pnng66.js +0 -2
  364. package/bundle/chunk-hgmqz75r.js +0 -2
  365. package/bundle/chunk-hhax4mxw.js +0 -2
  366. package/bundle/chunk-jvkzdap1.js +0 -2
  367. package/bundle/chunk-kf2f3mza.js +0 -2
  368. package/bundle/chunk-kg8fcv91.js +0 -2
  369. package/bundle/chunk-kgptyf7n.js +0 -3
  370. package/bundle/chunk-kjjjrjnb.js +0 -2
  371. package/bundle/chunk-kn8w69g9.js +0 -8
  372. package/bundle/chunk-kxwkab31.js +0 -2
  373. package/bundle/chunk-m5cfmhwh.js +0 -2
  374. package/bundle/chunk-m7qxxbns.js +0 -2
  375. package/bundle/chunk-mh19kwzw.js +0 -10
  376. package/bundle/chunk-mtpzcc14.js +0 -2
  377. package/bundle/chunk-n8wg5h5p.js +0 -2
  378. package/bundle/chunk-p6hcj3kv.js +0 -2
  379. package/bundle/chunk-pexmns0j.js +0 -2
  380. package/bundle/chunk-pt603np4.js +0 -2
  381. package/bundle/chunk-qk5bfcv8.js +0 -2
  382. package/bundle/chunk-qr06byhp.js +0 -2
  383. package/bundle/chunk-r1xh50b2.js +0 -5
  384. package/bundle/chunk-r7sq3maz.js +0 -2
  385. package/bundle/chunk-rmgs9nmj.js +0 -2
  386. package/bundle/chunk-rrd0fdra.js +0 -2
  387. package/bundle/chunk-rytavefg.js +0 -2
  388. package/bundle/chunk-sf5zc4kc.js +0 -2
  389. package/bundle/chunk-sh9vjnsh.js +0 -2
  390. package/bundle/chunk-st0c5wwc.js +0 -2
  391. package/bundle/chunk-teb3k2sf.js +0 -2
  392. package/bundle/chunk-ts798jvf.js +0 -2
  393. package/bundle/chunk-tx5aj02v.js +0 -2
  394. package/bundle/chunk-ty2vg1a5.js +0 -2
  395. package/bundle/chunk-v1t51rrq.js +0 -2
  396. package/bundle/chunk-vh9ptqn0.js +0 -2
  397. package/bundle/chunk-vwh6mv37.js +0 -2
  398. package/bundle/chunk-w2cb8cry.js +0 -2
  399. package/bundle/chunk-w72rctxz.js +0 -2
  400. package/bundle/chunk-wbw9zv3h.js +0 -2
  401. package/bundle/chunk-x6mw98c2.js +0 -2
  402. package/bundle/chunk-xy3c8f1h.js +0 -3
  403. package/bundle/chunk-xynwfaf1.js +0 -3
  404. package/bundle/chunk-y6p57wgh.js +0 -2
  405. package/bundle/chunk-y6xs8v17.js +0 -2
  406. package/bundle/chunk-yv5aehqq.js +0 -2
  407. package/bundle/chunk-z3xsfpc6.js +0 -2
  408. package/bundle/chunk-zgcabs1k.js +0 -2
  409. package/bundle/chunk-zn5pw733.js +0 -2
  410. package/bundle/chunk-zxwvnmea.js +0 -2
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Pd as b}from"./chunk-2nv1scj9.js";import{ae as f}from"./chunk-5w76kdjr.js";import{Bh as S}from"./chunk-v3nqkqhz.js";import"./chunk-w46g7kdq.js";import"./chunk-bd21p9zz.js";import"./chunk-p54bzjtv.js";import"./chunk-ha1w0xzh.js";import"./chunk-6m9jb0s9.js";import"./chunk-vygkwwjd.js";import{cl as v}from"./chunk-52frd9p0.js";import"./chunk-xqnzmr7a.js";import{Dl as R,Nl as k,vl as U}from"./chunk-r1xh50b2.js";import"./chunk-13rsd5vv.js";import"./chunk-mh19kwzw.js";import"./chunk-a9a0cwmf.js";import"./chunk-nw3e93y8.js";import"./chunk-9zm6r55d.js";import"./chunk-vcygx6hs.js";import"./chunk-khzzmyk2.js";import"./chunk-y7hgevfv.js";import"./chunk-47k5jy1p.js";import"./chunk-kn8w69g9.js";import"./chunk-ph8hn1wt.js";import"./chunk-ptqk1j2r.js";import"./chunk-cqtkxwd8.js";import"./chunk-pr7z5dj8.js";import"./chunk-dnnkq5y4.js";import"./chunk-t239rvej.js";import"./chunk-yz25607t.js";import"./chunk-7hvf9dgx.js";import"./chunk-wkg3c643.js";import"./chunk-fhqfqd5v.js";import"./chunk-2b3fn9xv.js";import"./chunk-rn043d0r.js";import"./chunk-73r8bjjz.js";import{Er as Z}from"./chunk-t5xxs5kp.js";import"./chunk-ztyy3ga3.js";import"./chunk-mmjgf680.js";import"./chunk-nj1ntakd.js";import"./chunk-cmb62jkt.js";import"./chunk-tkrwcjkr.js";import"./chunk-w2cb8cry.js";import"./chunk-kj8cmn7z.js";import"./chunk-r5zy4za0.js";import"./chunk-tr6rdr6h.js";import"./chunk-at22twxx.js";import"./chunk-kgptyf7n.js";import"./chunk-j9h1sp4g.js";import"./chunk-p6crzjtf.js";import"./chunk-55fcmswd.js";import"./chunk-qnvsqnz5.js";import"./chunk-pxm4qvqk.js";import"./chunk-j8fcfhr2.js";import"./chunk-r9w0thdk.js";var i=f({command:"stats",describe:"show token usage and cost statistics",builder:(z)=>{return z.option("days",{describe:"show stats for the last N days (default: all time)",type:"number"}).option("tools",{describe:"number of tools to show (default: all)",type:"number"}).option("models",{describe:"show model statistics (default: hidden). Pass a number to show top N, otherwise shows all"}).option("project",{describe:"filter by project (default: all projects, empty string: current project)",type:"string"})},handler:async(z)=>{await b(process.cwd(),async()=>{let E=await y(z.days,z.project),_;if(z.models===!0)_=1/0;else if(typeof z.models==="number")_=z.models;u(E,z.tools,_)})}});async function w(){return k.project}async function p(){return R.use((E)=>E.select().from(U).all()).map((E)=>v.fromRow(E))}async function y(z,E){let _=await p(),L=86400000,J=(()=>{if(z===void 0)return 0;if(z===0){let V=new Date;return V.setHours(0,0,0,0),V.getTime()}return Date.now()-z*86400000})(),K=(()=>{if(z===void 0)return;if(z===0)return 1;return z})(),Y=J>0?_.filter((V)=>V.time.updated>=J):_;if(E!==void 0)if(E===""){let V=await w();Y=Y.filter((F)=>F.projectID===V.id)}else Y=Y.filter((V)=>V.projectID===E);let G={totalSessions:Y.length,totalMessages:0,totalCost:0,totalTokens:{input:0,output:0,reasoning:0,cache:{read:0,write:0}},toolUsage:{},modelUsage:{},dateRange:{earliest:Date.now(),latest:Date.now()},days:0,costPerDay:0,tokensPerSession:0,medianTokensPerSession:0};if(Y.length>1000)console.log(`Large dataset detected (${Y.length} sessions). This may take a while...`);if(Y.length===0)return G.days=K??0,G;let C=Date.now(),x=0,X=[],h=20;for(let V=0;V<Y.length;V+=h){let D=Y.slice(V,V+h).map(async(Q)=>{let W=await S.runPromise(v.Service.use((O)=>O.messages({sessionID:Q.id,agentID:"*"}))),N=0,H={input:0,output:0,reasoning:0,cache:{read:0,write:0}},j={},A={};for(let O of W){if(O.info.role==="assistant"){N+=O.info.cost||0;let B=`${O.info.providerID}/${O.info.modelID}`;if(!A[B])A[B]={messages:0,tokens:{input:0,output:0,cache:{read:0,write:0}},cost:0};if(A[B].messages++,A[B].cost+=O.info.cost||0,O.info.tokens)H.input+=O.info.tokens.input||0,H.output+=O.info.tokens.output||0,H.reasoning+=O.info.tokens.reasoning||0,H.cache.read+=O.info.tokens.cache?.read||0,H.cache.write+=O.info.tokens.cache?.write||0,A[B].tokens.input+=O.info.tokens.input||0,A[B].tokens.output+=(O.info.tokens.output||0)+(O.info.tokens.reasoning||0),A[B].tokens.cache.read+=O.info.tokens.cache?.read||0,A[B].tokens.cache.write+=O.info.tokens.cache?.write||0}for(let B of O.parts)if(B.type==="tool"&&B.tool)j[B.tool]=(j[B.tool]||0)+1}return{messageCount:W.length,sessionCost:N,sessionTokens:H,sessionTotalTokens:H.input+H.output+H.reasoning+H.cache.read+H.cache.write,sessionToolUsage:j,sessionModelUsage:A,earliestTime:J>0?Q.time.updated:Q.time.created,latestTime:Q.time.updated}}),M=await Promise.all(D);for(let Q of M){C=Math.min(C,Q.earliestTime),x=Math.max(x,Q.latestTime),X.push(Q.sessionTotalTokens),G.totalMessages+=Q.messageCount,G.totalCost+=Q.sessionCost,G.totalTokens.input+=Q.sessionTokens.input,G.totalTokens.output+=Q.sessionTokens.output,G.totalTokens.reasoning+=Q.sessionTokens.reasoning,G.totalTokens.cache.read+=Q.sessionTokens.cache.read,G.totalTokens.cache.write+=Q.sessionTokens.cache.write;for(let[W,N]of Object.entries(Q.sessionToolUsage))G.toolUsage[W]=(G.toolUsage[W]||0)+N;for(let[W,N]of Object.entries(Q.sessionModelUsage)){if(!G.modelUsage[W])G.modelUsage[W]={messages:0,tokens:{input:0,output:0,cache:{read:0,write:0}},cost:0};G.modelUsage[W].messages+=N.messages,G.modelUsage[W].tokens.input+=N.tokens.input,G.modelUsage[W].tokens.output+=N.tokens.output,G.modelUsage[W].tokens.cache.read+=N.tokens.cache.read,G.modelUsage[W].tokens.cache.write+=N.tokens.cache.write,G.modelUsage[W].cost+=N.cost}}}let $=Math.max(1,Math.ceil((x-C)/86400000)),q=K??$;G.dateRange={earliest:C,latest:x},G.days=q,G.costPerDay=G.totalCost/q;let I=G.totalTokens.input+G.totalTokens.output+G.totalTokens.reasoning+G.totalTokens.cache.read+G.totalTokens.cache.write;G.tokensPerSession=Y.length>0?I/Y.length:0,X.sort((V,F)=>V-F);let P=Math.floor(X.length/2);return G.medianTokensPerSession=X.length===0?0:X.length%2===0?(X[P-1]+X[P])/2:X[P],G}function u(z,E,_){function J(x,X){let $=55-x.length-X.length,q=Math.max(0,$);return`\u2502${x}${" ".repeat(q)}${X} \u2502`}console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 OVERVIEW \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524"),console.log(J("Sessions",z.totalSessions.toLocaleString())),console.log(J("Messages",z.totalMessages.toLocaleString())),console.log(J("Days",z.days.toString())),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"),console.log(),console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 COST & TOKENS \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");let K=isNaN(z.totalCost)?0:z.totalCost,Y=isNaN(z.costPerDay)?0:z.costPerDay,G=isNaN(z.tokensPerSession)?0:z.tokensPerSession;console.log(J("Total Cost",`$${K.toFixed(2)}`)),console.log(J("Avg Cost/Day",`$${Y.toFixed(2)}`)),console.log(J("Avg Tokens/Session",Z.number(Math.round(G))));let C=isNaN(z.medianTokensPerSession)?0:z.medianTokensPerSession;if(console.log(J("Median Tokens/Session",Z.number(Math.round(C)))),console.log(J("Input",Z.number(z.totalTokens.input))),console.log(J("Output",Z.number(z.totalTokens.output))),console.log(J("Cache Read",Z.number(z.totalTokens.cache.read))),console.log(J("Cache Write",Z.number(z.totalTokens.cache.write))),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"),console.log(),_!==void 0&&Object.keys(z.modelUsage).length>0){let x=Object.entries(z.modelUsage).sort(([,h],[,$])=>$.messages-h.messages),X=_===1/0?x:x.slice(0,_);console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 MODEL USAGE \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");for(let[h,$]of X)console.log(`\u2502 ${h.padEnd(54)} \u2502`),console.log(J(" Messages",$.messages.toLocaleString())),console.log(J(" Input Tokens",Z.number($.tokens.input))),console.log(J(" Output Tokens",Z.number($.tokens.output))),console.log(J(" Cache Read",Z.number($.tokens.cache.read))),console.log(J(" Cache Write",Z.number($.tokens.cache.write))),console.log(J(" Cost",`$${$.cost.toFixed(4)}`)),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");process.stdout.write("\x1B[1A"),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518")}if(console.log(),Object.keys(z.toolUsage).length>0){let x=Object.entries(z.toolUsage).sort(([,q],[,I])=>I-q),X=E?x.slice(0,E):x;console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 TOOL USAGE \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");let h=Math.max(...X.map(([,q])=>q)),$=Object.values(z.toolUsage).reduce((q,I)=>q+I,0);for(let[q,I]of X){let P=Math.max(1,Math.floor(I/h*20)),V="\u2588".repeat(P),F=(I/$*100).toFixed(1),D=18,W=` ${(q.length>18?q.substring(0,16)+"..":q).padEnd(18)} ${V.padEnd(20)} ${I.toString().padStart(3)} (${F.padStart(4)}%)`,N=Math.max(0,56-W.length-1);console.log(`\u2502${W}${" ".repeat(N)} \u2502`)}console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518")}console.log()}export{u as displayStats,y as aggregateSessionStats,i as StatsCommand};
2
+ import{Qd as b}from"./chunk-yy7r3t3w.js";import{be as f}from"./chunk-f4mnp6xd.js";import{Ch as S}from"./chunk-w43kmnm9.js";import"./chunk-nrk29616.js";import"./chunk-kre93a89.js";import"./chunk-060wbpz4.js";import"./chunk-zrhw1szj.js";import"./chunk-wd8hbven.js";import"./chunk-drnj1a14.js";import{dl as v}from"./chunk-9a6p1gdn.js";import"./chunk-jxkrhrp0.js";import{El as R,Ol as k,wl as U}from"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import"./chunk-3rgct4bd.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-hqjc4wgg.js";import"./chunk-makecdh6.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-va2qfh0x.js";import"./chunk-ae7b11np.js";import"./chunk-eeq0krp7.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import{ct as Z}from"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-vjn54xj5.js";import"./chunk-0qpqd7nz.js";import"./chunk-gdew7bwm.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-wjz42325.js";import"./chunk-kry4vcrf.js";import"./chunk-f2pv705d.js";var i=f({command:"stats",describe:"show token usage and cost statistics",builder:(z)=>{return z.option("days",{describe:"show stats for the last N days (default: all time)",type:"number"}).option("tools",{describe:"number of tools to show (default: all)",type:"number"}).option("models",{describe:"show model statistics (default: hidden). Pass a number to show top N, otherwise shows all"}).option("project",{describe:"filter by project (default: all projects, empty string: current project)",type:"string"})},handler:async(z)=>{await b(process.cwd(),async()=>{let E=await y(z.days,z.project),_;if(z.models===!0)_=1/0;else if(typeof z.models==="number")_=z.models;u(E,z.tools,_)})}});async function w(){return k.project}async function p(){return R.use((E)=>E.select().from(U).all()).map((E)=>v.fromRow(E))}async function y(z,E){let _=await p(),L=86400000,J=(()=>{if(z===void 0)return 0;if(z===0){let V=new Date;return V.setHours(0,0,0,0),V.getTime()}return Date.now()-z*86400000})(),K=(()=>{if(z===void 0)return;if(z===0)return 1;return z})(),Y=J>0?_.filter((V)=>V.time.updated>=J):_;if(E!==void 0)if(E===""){let V=await w();Y=Y.filter((F)=>F.projectID===V.id)}else Y=Y.filter((V)=>V.projectID===E);let G={totalSessions:Y.length,totalMessages:0,totalCost:0,totalTokens:{input:0,output:0,reasoning:0,cache:{read:0,write:0}},toolUsage:{},modelUsage:{},dateRange:{earliest:Date.now(),latest:Date.now()},days:0,costPerDay:0,tokensPerSession:0,medianTokensPerSession:0};if(Y.length>1000)console.log(`Large dataset detected (${Y.length} sessions). This may take a while...`);if(Y.length===0)return G.days=K??0,G;let C=Date.now(),x=0,X=[],h=20;for(let V=0;V<Y.length;V+=h){let D=Y.slice(V,V+h).map(async(Q)=>{let W=await S.runPromise(v.Service.use((O)=>O.messages({sessionID:Q.id,agentID:"*"}))),N=0,H={input:0,output:0,reasoning:0,cache:{read:0,write:0}},j={},A={};for(let O of W){if(O.info.role==="assistant"){N+=O.info.cost||0;let B=`${O.info.providerID}/${O.info.modelID}`;if(!A[B])A[B]={messages:0,tokens:{input:0,output:0,cache:{read:0,write:0}},cost:0};if(A[B].messages++,A[B].cost+=O.info.cost||0,O.info.tokens)H.input+=O.info.tokens.input||0,H.output+=O.info.tokens.output||0,H.reasoning+=O.info.tokens.reasoning||0,H.cache.read+=O.info.tokens.cache?.read||0,H.cache.write+=O.info.tokens.cache?.write||0,A[B].tokens.input+=O.info.tokens.input||0,A[B].tokens.output+=(O.info.tokens.output||0)+(O.info.tokens.reasoning||0),A[B].tokens.cache.read+=O.info.tokens.cache?.read||0,A[B].tokens.cache.write+=O.info.tokens.cache?.write||0}for(let B of O.parts)if(B.type==="tool"&&B.tool)j[B.tool]=(j[B.tool]||0)+1}return{messageCount:W.length,sessionCost:N,sessionTokens:H,sessionTotalTokens:H.input+H.output+H.reasoning+H.cache.read+H.cache.write,sessionToolUsage:j,sessionModelUsage:A,earliestTime:J>0?Q.time.updated:Q.time.created,latestTime:Q.time.updated}}),M=await Promise.all(D);for(let Q of M){C=Math.min(C,Q.earliestTime),x=Math.max(x,Q.latestTime),X.push(Q.sessionTotalTokens),G.totalMessages+=Q.messageCount,G.totalCost+=Q.sessionCost,G.totalTokens.input+=Q.sessionTokens.input,G.totalTokens.output+=Q.sessionTokens.output,G.totalTokens.reasoning+=Q.sessionTokens.reasoning,G.totalTokens.cache.read+=Q.sessionTokens.cache.read,G.totalTokens.cache.write+=Q.sessionTokens.cache.write;for(let[W,N]of Object.entries(Q.sessionToolUsage))G.toolUsage[W]=(G.toolUsage[W]||0)+N;for(let[W,N]of Object.entries(Q.sessionModelUsage)){if(!G.modelUsage[W])G.modelUsage[W]={messages:0,tokens:{input:0,output:0,cache:{read:0,write:0}},cost:0};G.modelUsage[W].messages+=N.messages,G.modelUsage[W].tokens.input+=N.tokens.input,G.modelUsage[W].tokens.output+=N.tokens.output,G.modelUsage[W].tokens.cache.read+=N.tokens.cache.read,G.modelUsage[W].tokens.cache.write+=N.tokens.cache.write,G.modelUsage[W].cost+=N.cost}}}let $=Math.max(1,Math.ceil((x-C)/86400000)),q=K??$;G.dateRange={earliest:C,latest:x},G.days=q,G.costPerDay=G.totalCost/q;let I=G.totalTokens.input+G.totalTokens.output+G.totalTokens.reasoning+G.totalTokens.cache.read+G.totalTokens.cache.write;G.tokensPerSession=Y.length>0?I/Y.length:0,X.sort((V,F)=>V-F);let P=Math.floor(X.length/2);return G.medianTokensPerSession=X.length===0?0:X.length%2===0?(X[P-1]+X[P])/2:X[P],G}function u(z,E,_){function J(x,X){let $=55-x.length-X.length,q=Math.max(0,$);return`\u2502${x}${" ".repeat(q)}${X} \u2502`}console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 OVERVIEW \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524"),console.log(J("Sessions",z.totalSessions.toLocaleString())),console.log(J("Messages",z.totalMessages.toLocaleString())),console.log(J("Days",z.days.toString())),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"),console.log(),console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 COST & TOKENS \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");let K=isNaN(z.totalCost)?0:z.totalCost,Y=isNaN(z.costPerDay)?0:z.costPerDay,G=isNaN(z.tokensPerSession)?0:z.tokensPerSession;console.log(J("Total Cost",`$${K.toFixed(2)}`)),console.log(J("Avg Cost/Day",`$${Y.toFixed(2)}`)),console.log(J("Avg Tokens/Session",Z.number(Math.round(G))));let C=isNaN(z.medianTokensPerSession)?0:z.medianTokensPerSession;if(console.log(J("Median Tokens/Session",Z.number(Math.round(C)))),console.log(J("Input",Z.number(z.totalTokens.input))),console.log(J("Output",Z.number(z.totalTokens.output))),console.log(J("Cache Read",Z.number(z.totalTokens.cache.read))),console.log(J("Cache Write",Z.number(z.totalTokens.cache.write))),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"),console.log(),_!==void 0&&Object.keys(z.modelUsage).length>0){let x=Object.entries(z.modelUsage).sort(([,h],[,$])=>$.messages-h.messages),X=_===1/0?x:x.slice(0,_);console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 MODEL USAGE \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");for(let[h,$]of X)console.log(`\u2502 ${h.padEnd(54)} \u2502`),console.log(J(" Messages",$.messages.toLocaleString())),console.log(J(" Input Tokens",Z.number($.tokens.input))),console.log(J(" Output Tokens",Z.number($.tokens.output))),console.log(J(" Cache Read",Z.number($.tokens.cache.read))),console.log(J(" Cache Write",Z.number($.tokens.cache.write))),console.log(J(" Cost",`$${$.cost.toFixed(4)}`)),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");process.stdout.write("\x1B[1A"),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518")}if(console.log(),Object.keys(z.toolUsage).length>0){let x=Object.entries(z.toolUsage).sort(([,q],[,I])=>I-q),X=E?x.slice(0,E):x;console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 TOOL USAGE \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");let h=Math.max(...X.map(([,q])=>q)),$=Object.values(z.toolUsage).reduce((q,I)=>q+I,0);for(let[q,I]of X){let P=Math.max(1,Math.floor(I/h*20)),V="\u2588".repeat(P),F=(I/$*100).toFixed(1),D=18,W=` ${(q.length>18?q.substring(0,16)+"..":q).padEnd(18)} ${V.padEnd(20)} ${I.toString().padStart(3)} (${F.padStart(4)}%)`,N=Math.max(0,56-W.length-1);console.log(`\u2502${W}${" ".repeat(N)} \u2502`)}console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518")}console.log()}export{u as displayStats,y as aggregateSessionStats,i as StatsCommand};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{en as E,fn as c,gn as M,hn as i}from"./chunk-a9a0cwmf.js";import{En as e,Fn as _0,Gn as I,Hn as O0,jn as g,ln as n,mn as k,pn as d,qn as u}from"./chunk-nw3e93y8.js";import{On as r}from"./chunk-vcygx6hs.js";import{is as G,ns as y}from"./chunk-kj8cmn7z.js";import{Es as s}from"./chunk-r5zy4za0.js";import{Ns as X,Ws as o}from"./chunk-tr6rdr6h.js";import{bt as x,ft as K,kt as T}from"./chunk-at22twxx.js";import{lt as j}from"./chunk-kgptyf7n.js";import{DE as L,TN as A,eH as w,mI as f,zB as v}from"./chunk-qnvsqnz5.js";import{uO as p}from"./chunk-r9w0thdk.js";var F={};p(F,{waitForDependencies:()=>M0,layer:()=>V0,get:()=>R0,defaultLayer:()=>W0,TuiConfig:()=>F,Service:()=>z,Info:()=>Z0});import l from"path";var J={};p(J,{Keybinds:()=>B0,ConfigKeybinds:()=>J});var _=(O,Z)=>A.String.pipe(A.optional,A.withDecodingDefault(w.succeed(O))).annotate({description:Z}),j0=process.platform==="win32"?"ctrl+z,ctrl+-,super+z":"ctrl+-,super+z",w0=A.Struct({leader:_("ctrl+x","Leader key for keybind combinations"),app_exit:_("ctrl+c,ctrl+d,<leader>q","Exit the application"),editor_open:_("<leader>e","Open external editor"),theme_list:_("<leader>t","List available themes"),sidebar_toggle:_("<leader>b","Toggle sidebar"),scrollbar_toggle:_("none","Toggle session scrollbar"),status_view:_("<leader>s","View status"),session_export:_("<leader>x","Export session to editor"),session_new:_("<leader>n","Create a new session"),session_list:_("<leader>l","List all sessions"),session_timeline:_("<leader>g","Show session timeline"),session_fork:_("none","Fork session from message"),session_rename:_("ctrl+r","Rename session"),session_delete:_("ctrl+d","Delete session"),stash_delete:_("ctrl+d","Delete stash entry"),model_provider_list:_("ctrl+a","Open provider list from model dialog"),model_favorite_toggle:_("ctrl+f","Toggle model favorite status"),session_share:_("none","Share current session"),session_unshare:_("none","Unshare current session"),session_interrupt:_("escape","Interrupt current session"),session_compact:_("<leader>c","Compact the session"),messages_page_up:_("pageup,ctrl+alt+b","Scroll messages up by one page"),messages_page_down:_("pagedown,ctrl+alt+f","Scroll messages down by one page"),messages_line_up:_("ctrl+alt+y","Scroll messages up by one line"),messages_line_down:_("ctrl+alt+e","Scroll messages down by one line"),messages_half_page_up:_("ctrl+alt+u","Scroll messages up by half page"),messages_half_page_down:_("ctrl+alt+d","Scroll messages down by half page"),messages_first:_("ctrl+g,home","Navigate to first message"),messages_last:_("ctrl+alt+g,end","Navigate to last message"),messages_next:_("none","Navigate to next message"),messages_previous:_("none","Navigate to previous message"),messages_last_user:_("none","Navigate to last user message"),messages_copy:_("<leader>y","Copy message"),messages_undo:_("<leader>u","Undo message"),messages_redo:_("<leader>r","Redo message"),messages_toggle_conceal:_("<leader>h","Toggle code block concealment in messages"),tool_details:_("none","Toggle tool details visibility"),model_list:_("<leader>m","List available models"),model_cycle_recent:_("f2","Next recently used model"),model_cycle_recent_reverse:_("shift+f2","Previous recently used model"),model_cycle_favorite:_("none","Next favorite model"),model_cycle_favorite_reverse:_("none","Previous favorite model"),command_list:_("ctrl+p","List available commands"),agent_list:_("<leader>a","List agents"),agent_cycle:_("ctrl+space","Next agent"),agent_cycle_reverse:_("none","Previous agent"),variant_cycle:_("ctrl+t","Cycle model variants"),variant_list:_("none","List model variants"),input_clear:_("ctrl+c","Clear input field"),input_paste:_("super+v,ctrl+v","Paste from clipboard"),input_submit:_("return","Submit input"),input_newline:_("shift+return,ctrl+return,alt+return,ctrl+j","Insert newline in input"),input_move_left:_("left,ctrl+b","Move cursor left in input"),input_move_right:_("right,ctrl+f","Move cursor right in input"),input_move_up:_("up","Move cursor up in input"),input_move_down:_("down","Move cursor down in input"),input_select_left:_("shift+left","Select left in input"),input_select_right:_("shift+right","Select right in input"),input_select_up:_("shift+up","Select up in input"),input_select_down:_("shift+down","Select down in input"),input_line_home:_("ctrl+a","Move to start of line in input"),input_line_end:_("ctrl+e","Move to end of line in input"),input_select_line_home:_("ctrl+shift+a","Select to start of line in input"),input_select_line_end:_("ctrl+shift+e","Select to end of line in input"),input_visual_line_home:_("alt+a","Move to start of visual line in input"),input_visual_line_end:_("alt+e","Move to end of visual line in input"),input_select_visual_line_home:_("alt+shift+a","Select to start of visual line in input"),input_select_visual_line_end:_("alt+shift+e","Select to end of visual line in input"),input_buffer_home:_("home","Move to start of buffer in input"),input_buffer_end:_("end","Move to end of buffer in input"),input_select_buffer_home:_("shift+home","Select to start of buffer in input"),input_select_buffer_end:_("shift+end","Select to end of buffer in input"),input_delete_line:_("ctrl+shift+d","Delete line in input"),input_delete_to_line_end:_("ctrl+k","Delete to end of line in input"),input_delete_to_line_start:_("ctrl+u","Delete to start of line in input"),input_backspace:_("backspace,shift+backspace","Backspace in input"),input_delete:_("ctrl+d,delete,shift+delete","Delete character in input"),input_undo:_(j0,"Undo in input"),input_redo:_("ctrl+.,super+shift+z","Redo in input"),input_word_forward:_("alt+f,alt+right,ctrl+right","Move word forward in input"),input_word_backward:_("alt+b,alt+left,ctrl+left","Move word backward in input"),input_select_word_forward:_("alt+shift+f,alt+shift+right","Select word forward in input"),input_select_word_backward:_("alt+shift+b,alt+shift+left","Select word backward in input"),input_delete_word_forward:_("alt+d,alt+delete,ctrl+delete","Delete word forward in input"),input_delete_word_backward:_("ctrl+w,ctrl+backspace,alt+backspace","Delete word backward in input"),history_previous:_("up","Previous history item"),history_next:_("down","Next history item"),session_child_first:_("<leader>down","Go to first child session"),session_child_cycle:_("<leader>right","Go to next child session"),session_child_cycle_reverse:_("<leader>left","Go to previous child session"),session_parent:_("<leader>up","Go to parent session"),session_main:_("<leader>escape","Back to the main conversation"),terminal_suspend:_("ctrl+z","Suspend terminal"),terminal_title_toggle:_("none","Toggle terminal title"),tips_toggle:_("<leader>h","Toggle tips on home screen"),plugin_manager:_("none","Open plugin manager dialog"),display_thinking:_("none","Toggle thinking blocks visibility")}).annotate({identifier:"KeybindsConfig"}),B0=r(w0);var K0=j.object(Object.fromEntries(Object.keys(J.Keybinds.shape).map((O)=>[O,j.string().optional()]))).strict(),R=j.object({scroll_speed:j.number().min(0.001).optional().describe("TUI scroll speed"),scroll_acceleration:j.object({enabled:j.boolean().describe("Enable scroll acceleration")}).optional().describe("Scroll acceleration settings"),diff_style:j.enum(["auto","stacked"]).optional().describe("Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column"),mouse:j.boolean().optional().describe("Enable or disable mouse capture (default: true on desktop, false on Android/Termux)"),accessible:j.boolean().optional().describe("Screen-reader friendly mode: linear main-screen rendering, no mouse capture, reduced motion, no sound (default: false)"),reduce_motion:j.boolean().optional().describe("Disable spinners and other animations, showing static text instead (default: false)"),sound:j.boolean().optional().describe("Enable or disable sound cues (default: true)"),announcements:j.enum(["quiet","normal","verbose"]).optional().describe("Verbosity of accessible-mode screen-reader announcements: 'quiet' announces only turn boundaries, errors, and stops; 'normal' adds tool-start lines; 'verbose' adds tool-completion lines (default: normal). Errors are always announced.")}),P=j.object({$schema:j.string().optional(),theme:j.string().optional(),keybinds:K0.optional(),plugin:M.Spec.zod.array().optional(),plugin_enabled:j.record(j.string(),j.boolean()).optional()}).extend(R.shape).strict();var D=o.create({service:"tui.migrate"}),X0="https://qitqode.com/tui.json",Y0=P.shape.theme.optional(),b=j.record(j.string(),j.unknown()).optional(),H0=j.object({scroll_speed:R.shape.scroll_speed.catch(void 0),scroll_acceleration:R.shape.scroll_acceleration.catch(void 0),diff_style:R.shape.diff_style.catch(void 0)}).strip();async function t(O){let Z=await G0(O);for(let V of Z){let $=await K.readText(V).catch((m)=>{D.warn("failed to read config for tui migration",{path:V,error:m});return});if(!$)continue;let Q=[],B=g($,Q,{allowTrailingComma:!0});if(Q.length||!B||typeof B!=="object"||Array.isArray(B))continue;let W=Y0.safeParse("theme"in B?B.theme:void 0),Y=b.safeParse("keybinds"in B?B.keybinds:void 0),N=b.safeParse("tui"in B?B.tui:void 0),H={theme:W.success?W.data:void 0,keybinds:Y.success?Y.data:void 0,tui:N.success?N.data:void 0},S=H.tui?J0(H.tui):void 0;if(H.theme===void 0&&H.keybinds===void 0&&!S)continue;let U=l.join(l.dirname(V),"tui.json");if(await K.exists(U))continue;let C={$schema:X0};if(H.theme!==void 0)C.theme=H.theme;if(H.keybinds!==void 0)C.keybinds=H.keybinds;if(S)Object.assign(C,S);if(!await K.write(U,JSON.stringify(C,null,2)).then(()=>!0).catch((m)=>{return D.warn("failed to write tui migration target",{from:V,to:U,error:m}),!1}))continue;if(!await D0(V,$)){D.warn("tui config migrated but source file was not stripped",{from:V,to:U});continue}D.info("migrated tui config",{from:V,to:U})}}function J0(O){let Z=H0.parse(O);if(Z.scroll_speed===void 0&&Z.diff_style===void 0&&Z.scroll_acceleration===void 0)return;return Z}async function D0(O,Z){let V=O+".tui-migration.bak";if(!(await K.exists(V)?!0:await K.write(V,Z).then(()=>!0).catch((W)=>{return D.warn("failed to backup source config during tui migration",{path:O,backup:V,error:W}),!1})))return!1;let B=["theme","keybinds","tui"].reduce((W,Y)=>{let N=n(W,[Y],void 0,{formattingOptions:{insertSpaces:!0,tabSize:2}});if(!N.length)return W;return k(W,N)},Z);return K.write(O,B).then(()=>{return D.info("stripped tui keys from server config",{path:O,backup:V}),!0}).catch((W)=>{return D.warn("failed to strip legacy tui keys from server config",{path:O,backup:V,error:W}),!1})}async function G0(O){let Z=[...I(T.Path.config,"qitqode"),...await K.findUp(["qitqode.json","qitqode.jsonc"],O.cwd,void 0,{rootFirst:!0})];for(let $ of G(O.directories))Z.push(...I($,"qitqode"));if(X.QITQODE_CONFIG)Z.push(X.QITQODE_CONFIG);return(await Promise.all(G(Z).map(async($)=>{return await K.exists($)?$:void 0}))).filter(($)=>!!$)}var a=v.Reference("CurrentWorkingDirectory",{defaultValue:()=>process.cwd()});var h=o.create({service:"tui.config"}),Z0=P;class z extends v.Service()("@qitqode/TuiConfig"){}function I0(O,Z){if(K.contains(Z.directory,O))return"local";return"global"}function N0(O){let Z={...O};if(!("tui"in Z))return Z;if(!s(Z.tui))return delete Z.tui,Z;let V=Z.tui;return delete Z.tui,{...V,...Z}}async function U0(O,Z){if(!O.plugin)return O;for(let V=0;V<O.plugin.length;V++)O.plugin[V]=await M.resolvePluginSpec(O.plugin[V],Z);return O}async function q(O,Z,V){let $=await z0(Z);if(O.result=y(O.result,$),!$.plugin?.length)return;let Q=I0(Z,V),B=M.deduplicatePluginOrigins([...O.result.plugin_origins??[],...$.plugin.map((W)=>({spec:W,scope:Q,source:Z}))]);O.result.plugin=B.map((W)=>W.spec),O.result.plugin_origins=B}var A0=w.fn("TuiConfig.loadState")(function*(O){let Z=yield*_0(O.directory);yield*w.promise(()=>t({directories:Z,cwd:O.directory}));let V=X.QITQODE_DISABLE_PROJECT_CONFIG?[]:yield*e("tui",O.directory),$={result:{}};for(let W of I(T.Path.config,"tui"))yield*w.promise(()=>q($,W,O)).pipe(w.orDie);if(X.QITQODE_TUI_CONFIG){let W=X.QITQODE_TUI_CONFIG;yield*w.promise(()=>q($,W,O)).pipe(w.orDie),h.debug("loaded custom tui config",{path:W})}for(let W of V)yield*w.promise(()=>q($,W,O)).pipe(w.orDie);let Q=G(Z).filter((W)=>W.endsWith(".qitqode")||W===X.QITQODE_CONFIG_DIR);for(let W of Q){if(!W.endsWith(".qitqode")&&W!==X.QITQODE_CONFIG_DIR)continue;for(let Y of I(W,"tui"))yield*w.promise(()=>q($,Y,O)).pipe(w.orDie)}let B={...$.result.keybinds??{}};if(process.platform==="win32")B.terminal_suspend="none",B.input_undo??=G(["ctrl+z",...J.Keybinds.shape.input_undo.parse(void 0).split(",")]).join(",");return $.result.keybinds=J.Keybinds.parse(B),{config:$.result,dirs:$.result.plugin?.length?Q:[]}}),V0=L.effect(z,w.gen(function*(){let O=yield*a,Z=yield*u.Service,V=yield*x.Service,$=yield*A0({directory:O}),Q=yield*w.forEach($.dirs,(Y)=>i.install({fs:V,npm:Z,dir:Y}).pipe(w.forkScoped),{concurrency:"unbounded"}),B=w.fn("TuiConfig.get")(()=>w.succeed($.config)),W=w.fn("TuiConfig.waitForDependencies")(()=>w.forEach(Q,f.join,{concurrency:"unbounded"}).pipe(w.ignore(),w.asVoid));return z.of({get:B,waitForDependencies:W})}).pipe(w.withSpan("TuiConfig.layer"))),W0=V0.pipe(L.provide(u.defaultLayer),L.provide(x.defaultLayer)),{runPromise:$0}=d(z,W0);async function M0(){await $0((O)=>O.waitForDependencies())}async function R0(){return $0((O)=>O.get())}async function z0(O){let Z=await O0(O);if(!Z)return{};return C0(Z,O).catch((V)=>{return h.warn("failed to load tui config",{path:O,error:V}),{}})}async function C0(O,Z){return c.substitute({text:O,type:"path",path:Z,missing:"empty"}).then((V)=>E.jsonc(V,Z)).then((V)=>{if(!s(V))return{};return E.schema(Z0,N0(V),Z)}).then((V)=>U0(V,Z)).catch((V)=>{return h.warn("invalid tui config",{path:Z,error:V}),{}})}
2
+ import{Eo as E,Fo as c,Go as M,Ho as i}from"./chunk-5b3v1x2c.js";import{Jo as g,Lo as n,Mo as k,Po as d,Qo as u,cp as e,dp as _0,ep as I,fp as O0}from"./chunk-gbxf6e5d.js";import{mp as r}from"./chunk-95am490c.js";import{It as G,Nt as y}from"./chunk-v3nmnm57.js";import{cu as s}from"./chunk-hwsqqkrv.js";import{lu as X,uu as o}from"./chunk-mbbxedsq.js";import{Bu as x,Fu as K,Ku as T}from"./chunk-aa2n02qk.js";import{Lu as j}from"./chunk-k1x8469r.js";import{EI as w,MJ as f,ZC as v,bG as L,rP as A}from"./chunk-tezrgfc6.js";import{UP as p}from"./chunk-f2pv705d.js";var F={};p(F,{waitForDependencies:()=>M0,layer:()=>V0,get:()=>R0,defaultLayer:()=>W0,TuiConfig:()=>F,Service:()=>z,Info:()=>Z0});import l from"path";var J={};p(J,{Keybinds:()=>B0,ConfigKeybinds:()=>J});var _=(O,Z)=>A.String.pipe(A.optional,A.withDecodingDefault(w.succeed(O))).annotate({description:Z}),j0=process.platform==="win32"?"ctrl+z,ctrl+-,super+z":"ctrl+-,super+z",w0=A.Struct({leader:_("ctrl+x","Leader key for keybind combinations"),app_exit:_("ctrl+c,ctrl+d,<leader>q","Exit the application"),editor_open:_("<leader>e","Open external editor"),theme_list:_("<leader>t","List available themes"),sidebar_toggle:_("<leader>b","Toggle sidebar"),scrollbar_toggle:_("none","Toggle session scrollbar"),status_view:_("<leader>s","View status"),session_export:_("<leader>x","Export session to editor"),session_new:_("<leader>n","Create a new session"),session_list:_("<leader>l","List all sessions"),session_timeline:_("<leader>g","Show session timeline"),session_fork:_("none","Fork session from message"),session_rename:_("ctrl+r","Rename session"),session_delete:_("ctrl+d","Delete session"),stash_delete:_("ctrl+d","Delete stash entry"),model_provider_list:_("ctrl+a","Open provider list from model dialog"),model_favorite_toggle:_("ctrl+f","Toggle model favorite status"),session_share:_("none","Share current session"),session_unshare:_("none","Unshare current session"),session_interrupt:_("escape","Interrupt current session"),session_compact:_("<leader>c","Compact the session"),messages_page_up:_("pageup,ctrl+alt+b","Scroll messages up by one page"),messages_page_down:_("pagedown,ctrl+alt+f","Scroll messages down by one page"),messages_line_up:_("ctrl+alt+y","Scroll messages up by one line"),messages_line_down:_("ctrl+alt+e","Scroll messages down by one line"),messages_half_page_up:_("ctrl+alt+u","Scroll messages up by half page"),messages_half_page_down:_("ctrl+alt+d","Scroll messages down by half page"),messages_first:_("ctrl+g,home","Navigate to first message"),messages_last:_("ctrl+alt+g,end","Navigate to last message"),messages_next:_("none","Navigate to next message"),messages_previous:_("none","Navigate to previous message"),messages_last_user:_("none","Navigate to last user message"),messages_copy:_("<leader>y","Copy message"),messages_undo:_("<leader>u","Undo message"),messages_redo:_("<leader>r","Redo message"),messages_toggle_conceal:_("<leader>h","Toggle code block concealment in messages"),tool_details:_("none","Toggle tool details visibility"),model_list:_("<leader>m","List available models"),model_cycle_recent:_("f2","Next recently used model"),model_cycle_recent_reverse:_("shift+f2","Previous recently used model"),model_cycle_favorite:_("none","Next favorite model"),model_cycle_favorite_reverse:_("none","Previous favorite model"),command_list:_("ctrl+p","List available commands"),agent_list:_("<leader>a","List agents"),agent_cycle:_("ctrl+space","Next agent"),agent_cycle_reverse:_("none","Previous agent"),variant_cycle:_("ctrl+t","Cycle model variants"),variant_list:_("none","List model variants"),input_clear:_("ctrl+c","Clear input field"),input_paste:_("super+v,ctrl+v","Paste from clipboard"),input_submit:_("return","Submit input"),input_newline:_("shift+return,ctrl+return,alt+return,ctrl+j","Insert newline in input"),input_move_left:_("left,ctrl+b","Move cursor left in input"),input_move_right:_("right,ctrl+f","Move cursor right in input"),input_move_up:_("up","Move cursor up in input"),input_move_down:_("down","Move cursor down in input"),input_select_left:_("shift+left","Select left in input"),input_select_right:_("shift+right","Select right in input"),input_select_up:_("shift+up","Select up in input"),input_select_down:_("shift+down","Select down in input"),input_line_home:_("ctrl+a","Move to start of line in input"),input_line_end:_("ctrl+e","Move to end of line in input"),input_select_line_home:_("ctrl+shift+a","Select to start of line in input"),input_select_line_end:_("ctrl+shift+e","Select to end of line in input"),input_visual_line_home:_("alt+a","Move to start of visual line in input"),input_visual_line_end:_("alt+e","Move to end of visual line in input"),input_select_visual_line_home:_("alt+shift+a","Select to start of visual line in input"),input_select_visual_line_end:_("alt+shift+e","Select to end of visual line in input"),input_buffer_home:_("home","Move to start of buffer in input"),input_buffer_end:_("end","Move to end of buffer in input"),input_select_buffer_home:_("shift+home","Select to start of buffer in input"),input_select_buffer_end:_("shift+end","Select to end of buffer in input"),input_delete_line:_("ctrl+shift+d","Delete line in input"),input_delete_to_line_end:_("ctrl+k","Delete to end of line in input"),input_delete_to_line_start:_("ctrl+u","Delete to start of line in input"),input_backspace:_("backspace,shift+backspace","Backspace in input"),input_delete:_("ctrl+d,delete,shift+delete","Delete character in input"),input_undo:_(j0,"Undo in input"),input_redo:_("ctrl+.,super+shift+z","Redo in input"),input_word_forward:_("alt+f,alt+right,ctrl+right","Move word forward in input"),input_word_backward:_("alt+b,alt+left,ctrl+left","Move word backward in input"),input_select_word_forward:_("alt+shift+f,alt+shift+right","Select word forward in input"),input_select_word_backward:_("alt+shift+b,alt+shift+left","Select word backward in input"),input_delete_word_forward:_("alt+d,alt+delete,ctrl+delete","Delete word forward in input"),input_delete_word_backward:_("ctrl+w,ctrl+backspace,alt+backspace","Delete word backward in input"),history_previous:_("up","Previous history item"),history_next:_("down","Next history item"),session_child_first:_("<leader>down","Go to first child session"),session_child_cycle:_("<leader>right","Go to next child session"),session_child_cycle_reverse:_("<leader>left","Go to previous child session"),session_parent:_("<leader>up","Go to parent session"),session_main:_("<leader>escape","Back to the main conversation"),terminal_suspend:_("ctrl+z","Suspend terminal"),terminal_title_toggle:_("none","Toggle terminal title"),tips_toggle:_("<leader>h","Toggle tips on home screen"),plugin_manager:_("none","Open plugin manager dialog"),display_thinking:_("none","Toggle thinking blocks visibility")}).annotate({identifier:"KeybindsConfig"}),B0=r(w0);var K0=j.object(Object.fromEntries(Object.keys(J.Keybinds.shape).map((O)=>[O,j.string().optional()]))).strict(),R=j.object({scroll_speed:j.number().min(0.001).optional().describe("TUI scroll speed"),scroll_acceleration:j.object({enabled:j.boolean().describe("Enable scroll acceleration")}).optional().describe("Scroll acceleration settings"),diff_style:j.enum(["auto","stacked"]).optional().describe("Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column"),mouse:j.boolean().optional().describe("Enable or disable mouse capture (default: true on desktop, false on Android/Termux)"),accessible:j.boolean().optional().describe("Screen-reader friendly mode: linear main-screen rendering, no mouse capture, reduced motion, no sound (default: false)"),reduce_motion:j.boolean().optional().describe("Disable spinners and other animations, showing static text instead (default: false)"),sound:j.boolean().optional().describe("Enable or disable sound cues (default: true)"),announcements:j.enum(["quiet","normal","verbose"]).optional().describe("Verbosity of accessible-mode screen-reader announcements: 'quiet' announces only turn boundaries, errors, and stops; 'normal' adds tool-start lines; 'verbose' adds tool-completion lines (default: normal). Errors are always announced.")}),P=j.object({$schema:j.string().optional(),theme:j.string().optional(),keybinds:K0.optional(),plugin:M.Spec.zod.array().optional(),plugin_enabled:j.record(j.string(),j.boolean()).optional()}).extend(R.shape).strict();var D=o.create({service:"tui.migrate"}),X0="https://qitqode.com/tui.json",Y0=P.shape.theme.optional(),b=j.record(j.string(),j.unknown()).optional(),H0=j.object({scroll_speed:R.shape.scroll_speed.catch(void 0),scroll_acceleration:R.shape.scroll_acceleration.catch(void 0),diff_style:R.shape.diff_style.catch(void 0)}).strip();async function t(O){let Z=await G0(O);for(let V of Z){let $=await K.readText(V).catch((m)=>{D.warn("failed to read config for tui migration",{path:V,error:m});return});if(!$)continue;let Q=[],B=g($,Q,{allowTrailingComma:!0});if(Q.length||!B||typeof B!=="object"||Array.isArray(B))continue;let W=Y0.safeParse("theme"in B?B.theme:void 0),Y=b.safeParse("keybinds"in B?B.keybinds:void 0),N=b.safeParse("tui"in B?B.tui:void 0),H={theme:W.success?W.data:void 0,keybinds:Y.success?Y.data:void 0,tui:N.success?N.data:void 0},S=H.tui?J0(H.tui):void 0;if(H.theme===void 0&&H.keybinds===void 0&&!S)continue;let U=l.join(l.dirname(V),"tui.json");if(await K.exists(U))continue;let C={$schema:X0};if(H.theme!==void 0)C.theme=H.theme;if(H.keybinds!==void 0)C.keybinds=H.keybinds;if(S)Object.assign(C,S);if(!await K.write(U,JSON.stringify(C,null,2)).then(()=>!0).catch((m)=>{return D.warn("failed to write tui migration target",{from:V,to:U,error:m}),!1}))continue;if(!await D0(V,$)){D.warn("tui config migrated but source file was not stripped",{from:V,to:U});continue}D.info("migrated tui config",{from:V,to:U})}}function J0(O){let Z=H0.parse(O);if(Z.scroll_speed===void 0&&Z.diff_style===void 0&&Z.scroll_acceleration===void 0)return;return Z}async function D0(O,Z){let V=O+".tui-migration.bak";if(!(await K.exists(V)?!0:await K.write(V,Z).then(()=>!0).catch((W)=>{return D.warn("failed to backup source config during tui migration",{path:O,backup:V,error:W}),!1})))return!1;let B=["theme","keybinds","tui"].reduce((W,Y)=>{let N=n(W,[Y],void 0,{formattingOptions:{insertSpaces:!0,tabSize:2}});if(!N.length)return W;return k(W,N)},Z);return K.write(O,B).then(()=>{return D.info("stripped tui keys from server config",{path:O,backup:V}),!0}).catch((W)=>{return D.warn("failed to strip legacy tui keys from server config",{path:O,backup:V,error:W}),!1})}async function G0(O){let Z=[...I(T.Path.config,"qitqode"),...await K.findUp(["qitqode.json","qitqode.jsonc"],O.cwd,void 0,{rootFirst:!0})];for(let $ of G(O.directories))Z.push(...I($,"qitqode"));if(X.QITQODE_CONFIG)Z.push(X.QITQODE_CONFIG);return(await Promise.all(G(Z).map(async($)=>{return await K.exists($)?$:void 0}))).filter(($)=>!!$)}var a=v.Reference("CurrentWorkingDirectory",{defaultValue:()=>process.cwd()});var h=o.create({service:"tui.config"}),Z0=P;class z extends v.Service()("@qitqode/TuiConfig"){}function I0(O,Z){if(K.contains(Z.directory,O))return"local";return"global"}function N0(O){let Z={...O};if(!("tui"in Z))return Z;if(!s(Z.tui))return delete Z.tui,Z;let V=Z.tui;return delete Z.tui,{...V,...Z}}async function U0(O,Z){if(!O.plugin)return O;for(let V=0;V<O.plugin.length;V++)O.plugin[V]=await M.resolvePluginSpec(O.plugin[V],Z);return O}async function q(O,Z,V){let $=await z0(Z);if(O.result=y(O.result,$),!$.plugin?.length)return;let Q=I0(Z,V),B=M.deduplicatePluginOrigins([...O.result.plugin_origins??[],...$.plugin.map((W)=>({spec:W,scope:Q,source:Z}))]);O.result.plugin=B.map((W)=>W.spec),O.result.plugin_origins=B}var A0=w.fn("TuiConfig.loadState")(function*(O){let Z=yield*_0(O.directory);yield*w.promise(()=>t({directories:Z,cwd:O.directory}));let V=X.QITQODE_DISABLE_PROJECT_CONFIG?[]:yield*e("tui",O.directory),$={result:{}};for(let W of I(T.Path.config,"tui"))yield*w.promise(()=>q($,W,O)).pipe(w.orDie);if(X.QITQODE_TUI_CONFIG){let W=X.QITQODE_TUI_CONFIG;yield*w.promise(()=>q($,W,O)).pipe(w.orDie),h.debug("loaded custom tui config",{path:W})}for(let W of V)yield*w.promise(()=>q($,W,O)).pipe(w.orDie);let Q=G(Z).filter((W)=>W.endsWith(".qitqode")||W===X.QITQODE_CONFIG_DIR);for(let W of Q){if(!W.endsWith(".qitqode")&&W!==X.QITQODE_CONFIG_DIR)continue;for(let Y of I(W,"tui"))yield*w.promise(()=>q($,Y,O)).pipe(w.orDie)}let B={...$.result.keybinds??{}};if(process.platform==="win32")B.terminal_suspend="none",B.input_undo??=G(["ctrl+z",...J.Keybinds.shape.input_undo.parse(void 0).split(",")]).join(",");return $.result.keybinds=J.Keybinds.parse(B),{config:$.result,dirs:$.result.plugin?.length?Q:[]}}),V0=L.effect(z,w.gen(function*(){let O=yield*a,Z=yield*u.Service,V=yield*x.Service,$=yield*A0({directory:O}),Q=yield*w.forEach($.dirs,(Y)=>i.install({fs:V,npm:Z,dir:Y}).pipe(w.forkScoped),{concurrency:"unbounded"}),B=w.fn("TuiConfig.get")(()=>w.succeed($.config)),W=w.fn("TuiConfig.waitForDependencies")(()=>w.forEach(Q,f.join,{concurrency:"unbounded"}).pipe(w.ignore(),w.asVoid));return z.of({get:B,waitForDependencies:W})}).pipe(w.withSpan("TuiConfig.layer"))),W0=V0.pipe(L.provide(u.defaultLayer),L.provide(x.defaultLayer)),{runPromise:$0}=d(z,W0);async function M0(){await $0((O)=>O.waitForDependencies())}async function R0(){return $0((O)=>O.get())}async function z0(O){let Z=await O0(O);if(!Z)return{};return C0(Z,O).catch((V)=>{return h.warn("failed to load tui config",{path:O,error:V}),{}})}async function C0(O,Z){return c.substitute({text:O,type:"path",path:Z,missing:"empty"}).then((V)=>E.jsonc(V,Z)).then((V)=>{if(!s(V))return{};return E.schema(Z0,N0(V),Z)}).then((V)=>U0(V,Z)).catch((V)=>{return h.warn("invalid tui config",{path:Z,error:V}),{}})}
3
3
  export{Z0 as u,z as v,V0 as w,W0 as x,M0 as y,R0 as z,F as A};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-r9w0thdk.js";var{create:os,defineProperty:Gt,getOwnPropertyDescriptor:us,getOwnPropertyNames:ps,getPrototypeOf:hs}=Object,cs=Object.prototype.hasOwnProperty,ce=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ls=(t,e)=>{for(var s in e)Gt(t,s,{get:e[s],enumerable:!0})},ds=(t,e,s,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of ps(e))!cs.call(t,r)&&r!==s&&Gt(t,r,{get:()=>e[r],enumerable:!(i=us(e,r))||i.enumerable});return t},le=(t,e,s)=>(s=t!=null?os(hs(t)):{},ds(e||!t||!t.__esModule?Gt(s,"default",{value:t,enumerable:!0}):s,t)),fs=ce((t,e)=>{e.exports={}}),de=ce((t,e)=>{var s=fs(),i=/^[\da-fA-F]+$/,r=/^\d+$/,n=new WeakMap;function o(h){h=h.Parser.acorn||h;let l=n.get(h);if(!l){let{tokTypes:g,TokContext:C,TokenType:A}=h,S=new C("<tag",!1),V=new C("</tag",!1),P=new C("<tag>...</tag>",!0,!0),U={tc_oTag:S,tc_cTag:V,tc_expr:P},et={jsxName:new A("jsxName"),jsxText:new A("jsxText",{beforeExpr:!0}),jsxTagStart:new A("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new A("jsxTagEnd")};et.jsxTagStart.updateContext=function(){this.context.push(P),this.context.push(S),this.exprAllowed=!1},et.jsxTagEnd.updateContext=function(dt){let ft=this.context.pop();ft===S&&dt===g.slash||ft===V?(this.context.pop(),this.exprAllowed=this.curContext()===P):this.exprAllowed=!0},l={tokContexts:U,tokTypes:et},n.set(h,l)}return l}function p(h){if(!h)return h;if(h.type==="JSXIdentifier")return h.name;if(h.type==="JSXNamespacedName")return h.namespace.name+":"+h.name.name;if(h.type==="JSXMemberExpression")return p(h.object)+"."+p(h.property)}e.exports=function(h){return h=h||{},function(l){return u({allowNamespaces:h.allowNamespaces!==!1,allowNamespacedObjects:!!h.allowNamespacedObjects},l)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return o(void 0).tokTypes},configurable:!0,enumerable:!0});function u(h,l){let g=l.acorn||void 0,C=o(g),A=g.tokTypes,S=C.tokTypes,V=g.tokContexts,P=C.tokContexts.tc_oTag,U=C.tokContexts.tc_cTag,et=C.tokContexts.tc_expr,dt=g.isNewLine,ft=g.isIdentifierStart,ns=g.isIdentifierChar;return class extends l{static get acornJsx(){return C}jsx_readToken(){let c="",y=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let x=this.input.charCodeAt(this.pos);switch(x){case 60:case 123:return this.pos===this.start?x===60&&this.exprAllowed?(++this.pos,this.finishToken(S.jsxTagStart)):this.getTokenFromCode(x):(c+=this.input.slice(y,this.pos),this.finishToken(S.jsxText,c));case 38:c+=this.input.slice(y,this.pos),c+=this.jsx_readEntity(),y=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(x===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:dt(x)?(c+=this.input.slice(y,this.pos),c+=this.jsx_readNewLine(!0),y=this.pos):++this.pos}}}jsx_readNewLine(c){let y=this.input.charCodeAt(this.pos),x;return++this.pos,y===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,x=c?`
2
+ import"./chunk-f2pv705d.js";var{create:os,defineProperty:Gt,getOwnPropertyDescriptor:us,getOwnPropertyNames:ps,getPrototypeOf:hs}=Object,cs=Object.prototype.hasOwnProperty,ce=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ls=(t,e)=>{for(var s in e)Gt(t,s,{get:e[s],enumerable:!0})},ds=(t,e,s,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of ps(e))!cs.call(t,r)&&r!==s&&Gt(t,r,{get:()=>e[r],enumerable:!(i=us(e,r))||i.enumerable});return t},le=(t,e,s)=>(s=t!=null?os(hs(t)):{},ds(e||!t||!t.__esModule?Gt(s,"default",{value:t,enumerable:!0}):s,t)),fs=ce((t,e)=>{e.exports={}}),de=ce((t,e)=>{var s=fs(),i=/^[\da-fA-F]+$/,r=/^\d+$/,n=new WeakMap;function o(h){h=h.Parser.acorn||h;let l=n.get(h);if(!l){let{tokTypes:g,TokContext:C,TokenType:A}=h,S=new C("<tag",!1),V=new C("</tag",!1),P=new C("<tag>...</tag>",!0,!0),U={tc_oTag:S,tc_cTag:V,tc_expr:P},et={jsxName:new A("jsxName"),jsxText:new A("jsxText",{beforeExpr:!0}),jsxTagStart:new A("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new A("jsxTagEnd")};et.jsxTagStart.updateContext=function(){this.context.push(P),this.context.push(S),this.exprAllowed=!1},et.jsxTagEnd.updateContext=function(dt){let ft=this.context.pop();ft===S&&dt===g.slash||ft===V?(this.context.pop(),this.exprAllowed=this.curContext()===P):this.exprAllowed=!0},l={tokContexts:U,tokTypes:et},n.set(h,l)}return l}function p(h){if(!h)return h;if(h.type==="JSXIdentifier")return h.name;if(h.type==="JSXNamespacedName")return h.namespace.name+":"+h.name.name;if(h.type==="JSXMemberExpression")return p(h.object)+"."+p(h.property)}e.exports=function(h){return h=h||{},function(l){return u({allowNamespaces:h.allowNamespaces!==!1,allowNamespacedObjects:!!h.allowNamespacedObjects},l)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return o(void 0).tokTypes},configurable:!0,enumerable:!0});function u(h,l){let g=l.acorn||void 0,C=o(g),A=g.tokTypes,S=C.tokTypes,V=g.tokContexts,P=C.tokContexts.tc_oTag,U=C.tokContexts.tc_cTag,et=C.tokContexts.tc_expr,dt=g.isNewLine,ft=g.isIdentifierStart,ns=g.isIdentifierChar;return class extends l{static get acornJsx(){return C}jsx_readToken(){let c="",y=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let x=this.input.charCodeAt(this.pos);switch(x){case 60:case 123:return this.pos===this.start?x===60&&this.exprAllowed?(++this.pos,this.finishToken(S.jsxTagStart)):this.getTokenFromCode(x):(c+=this.input.slice(y,this.pos),this.finishToken(S.jsxText,c));case 38:c+=this.input.slice(y,this.pos),c+=this.jsx_readEntity(),y=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(x===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:dt(x)?(c+=this.input.slice(y,this.pos),c+=this.jsx_readNewLine(!0),y=this.pos):++this.pos}}}jsx_readNewLine(c){let y=this.input.charCodeAt(this.pos),x;return++this.pos,y===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,x=c?`
3
3
  `:`\r
4
4
  `):x=String.fromCharCode(y),this.options.locations&&(++this.curLine,this.lineStart=this.pos),x}jsx_readString(c){let y="",x=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let k=this.input.charCodeAt(this.pos);if(k===c)break;k===38?(y+=this.input.slice(x,this.pos),y+=this.jsx_readEntity(),x=this.pos):dt(k)?(y+=this.input.slice(x,this.pos),y+=this.jsx_readNewLine(!1),x=this.pos):++this.pos}return y+=this.input.slice(x,this.pos++),this.finishToken(A.string,y)}jsx_readEntity(){let c="",y=0,x,k=this.input[this.pos];k!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let Y=++this.pos;for(;this.pos<this.input.length&&y++<10;){if(k=this.input[this.pos++],k===";"){c[0]==="#"?c[1]==="x"?(c=c.substr(2),i.test(c)&&(x=String.fromCharCode(parseInt(c,16)))):(c=c.substr(1),r.test(c)&&(x=String.fromCharCode(parseInt(c,10)))):x=s[c];break}c+=k}return x||(this.pos=Y,"&")}jsx_readWord(){let c,y=this.pos;do c=this.input.charCodeAt(++this.pos);while(ns(c)||c===45);return this.finishToken(S.jsxName,this.input.slice(y,this.pos))}jsx_parseIdentifier(){let c=this.startNode();return this.type===S.jsxName?c.name=this.value:this.type.keyword?c.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(c,"JSXIdentifier")}jsx_parseNamespacedName(){let c=this.start,y=this.startLoc,x=this.jsx_parseIdentifier();if(!h.allowNamespaces||!this.eat(A.colon))return x;var k=this.startNodeAt(c,y);return k.namespace=x,k.name=this.jsx_parseIdentifier(),this.finishNode(k,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===S.jsxTagEnd)return"";let c=this.start,y=this.startLoc,x=this.jsx_parseNamespacedName();for(this.type===A.dot&&x.type==="JSXNamespacedName"&&!h.allowNamespacedObjects&&this.unexpected();this.eat(A.dot);){let k=this.startNodeAt(c,y);k.object=x,k.property=this.jsx_parseIdentifier(),x=this.finishNode(k,"JSXMemberExpression")}return x}jsx_parseAttributeValue(){switch(this.type){case A.braceL:let c=this.jsx_parseExpressionContainer();return c.expression.type==="JSXEmptyExpression"&&this.raise(c.start,"JSX attributes must only be assigned a non-empty expression"),c;case S.jsxTagStart:case A.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let c=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(c,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let c=this.startNode();return this.next(),c.expression=this.type===A.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(A.braceR),this.finishNode(c,"JSXExpressionContainer")}jsx_parseAttribute(){let c=this.startNode();return this.eat(A.braceL)?(this.expect(A.ellipsis),c.argument=this.parseMaybeAssign(),this.expect(A.braceR),this.finishNode(c,"JSXSpreadAttribute")):(c.name=this.jsx_parseNamespacedName(),c.value=this.eat(A.eq)?this.jsx_parseAttributeValue():null,this.finishNode(c,"JSXAttribute"))}jsx_parseOpeningElementAt(c,y){let x=this.startNodeAt(c,y);x.attributes=[];let k=this.jsx_parseElementName();for(k&&(x.name=k);this.type!==A.slash&&this.type!==S.jsxTagEnd;)x.attributes.push(this.jsx_parseAttribute());return x.selfClosing=this.eat(A.slash),this.expect(S.jsxTagEnd),this.finishNode(x,k?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(c,y){let x=this.startNodeAt(c,y),k=this.jsx_parseElementName();return k&&(x.name=k),this.expect(S.jsxTagEnd),this.finishNode(x,k?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(c,y){let x=this.startNodeAt(c,y),k=[],Y=this.jsx_parseOpeningElementAt(c,y),mt=null;if(!Y.selfClosing){t:for(;;)switch(this.type){case S.jsxTagStart:if(c=this.start,y=this.startLoc,this.next(),this.eat(A.slash)){mt=this.jsx_parseClosingElementAt(c,y);break t}k.push(this.jsx_parseElementAt(c,y));break;case S.jsxText:k.push(this.parseExprAtom());break;case A.braceL:k.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}p(mt.name)!==p(Y.name)&&this.raise(mt.start,"Expected corresponding JSX closing tag for <"+p(Y.name)+">")}let wt=Y.name?"Element":"Fragment";return x["opening"+wt]=Y,x["closing"+wt]=mt,x.children=k,this.type===A.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(x,"JSX"+wt)}jsx_parseText(){let c=this.parseLiteral(this.value);return c.type="JSXText",c}jsx_parseElement(){let c=this.start,y=this.startLoc;return this.next(),this.jsx_parseElementAt(c,y)}parseExprAtom(c){return this.type===S.jsxText?this.jsx_parseText():this.type===S.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(c)}readToken(c){let y=this.curContext();if(y===et)return this.jsx_readToken();if(y===P||y===U){if(ft(c))return this.jsx_readWord();if(c==62)return++this.pos,this.finishToken(S.jsxTagEnd);if((c===34||c===39)&&y==P)return this.jsx_readString(c)}return c===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(S.jsxTagStart)):super.readToken(c)}updateContext(c){if(this.type==A.braceL){var y=this.curContext();y==P?this.context.push(V.b_expr):y==et?this.context.push(V.b_tmpl):super.updateContext(c),this.exprAllowed=!0}else if(this.type===A.slash&&c===S.jsxTagStart)this.context.length-=2,this.context.push(U),this.exprAllowed=!1;else return super.updateContext(c)}}}}),fe={};ls(fe,{parsers:()=>hr});var ms=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],me=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],ys="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",ye="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Dt={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Ft="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",xs={5:Ft,"5module":Ft+" export import",6:Ft+" const class extends export import super"},gs=/^in(stanceof)?$/,As=new RegExp("["+ye+"]"),vs=new RegExp("["+ye+ys+"]");function Lt(t,e){for(var s=65536,i=0;i<e.length;i+=2){if(s+=e[i],s>t)return!1;if(s+=e[i+1],s>=t)return!0}return!1}function G(t,e){return t<65?t===36:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&As.test(String.fromCharCode(t)):e===!1?!1:Lt(t,me)}function Q(t,e){return t<48?t===36:t<58?!0:t<65?!1:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&vs.test(String.fromCharCode(t)):e===!1?!1:Lt(t,me)||Lt(t,ms)}var E=function(t,e){e===void 0&&(e={}),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null};function L(t,e){return new E(t,{beforeExpr:!0,binop:e})}var R={beforeExpr:!0},B={startsExpr:!0},Jt={};function b(t,e){return e===void 0&&(e={}),e.keyword=t,Jt[t]=new E(t,e)}var a={num:new E("num",B),regexp:new E("regexp",B),string:new E("string",B),name:new E("name",B),privateId:new E("privateId",B),eof:new E("eof"),bracketL:new E("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new E("]"),braceL:new E("{",{beforeExpr:!0,startsExpr:!0}),braceR:new E("}"),parenL:new E("(",{beforeExpr:!0,startsExpr:!0}),parenR:new E(")"),comma:new E(",",R),semi:new E(";",R),colon:new E(":",R),dot:new E("."),question:new E("?",R),questionDot:new E("?."),arrow:new E("=>",R),template:new E("template"),invalidTemplate:new E("invalidTemplate"),ellipsis:new E("...",R),backQuote:new E("`",B),dollarBraceL:new E("${",{beforeExpr:!0,startsExpr:!0}),eq:new E("=",{beforeExpr:!0,isAssign:!0}),assign:new E("_=",{beforeExpr:!0,isAssign:!0}),incDec:new E("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new E("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:L("||",1),logicalAND:L("&&",2),bitwiseOR:L("|",3),bitwiseXOR:L("^",4),bitwiseAND:L("&",5),equality:L("==/!=/===/!==",6),relational:L("</>/<=/>=",7),bitShift:L("<</>>/>>>",8),plusMin:new E("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:L("%",10),star:L("*",10),slash:L("/",10),starstar:new E("**",{beforeExpr:!0}),coalesce:L("??",1),_break:b("break"),_case:b("case",R),_catch:b("catch"),_continue:b("continue"),_debugger:b("debugger"),_default:b("default",R),_do:b("do",{isLoop:!0,beforeExpr:!0}),_else:b("else",R),_finally:b("finally"),_for:b("for",{isLoop:!0}),_function:b("function",B),_if:b("if"),_return:b("return",R),_switch:b("switch"),_throw:b("throw",R),_try:b("try"),_var:b("var"),_const:b("const"),_while:b("while",{isLoop:!0}),_with:b("with"),_new:b("new",{beforeExpr:!0,startsExpr:!0}),_this:b("this",B),_super:b("super",B),_class:b("class",B),_extends:b("extends",R),_export:b("export"),_import:b("import",B),_null:b("null",B),_true:b("true",B),_false:b("false",B),_in:b("in",{beforeExpr:!0,binop:7}),_instanceof:b("instanceof",{beforeExpr:!0,binop:7}),_typeof:b("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:b("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:b("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},N=/\r\n?|\n|\u2028|\u2029/,bs=new RegExp(N.source,"g");function st(t){return t===10||t===13||t===8232||t===8233}function xe(t,e,s){s===void 0&&(s=t.length);for(var i=e;i<s;i++){var r=t.charCodeAt(i);if(st(r))return i<s-1&&r===13&&t.charCodeAt(i+1)===10?i+2:i+1}return-1}var ge=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,w=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ae=Object.prototype,Cs=Ae.hasOwnProperty,Es=Ae.toString,it=Object.hasOwn||function(t,e){return Cs.call(t,e)},ee=Array.isArray||function(t){return Es.call(t)==="[object Array]"},se=Object.create(null);function z(t){return se[t]||(se[t]=new RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function X(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}var Ss=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,pt=function(t,e){this.line=t,this.column=e};pt.prototype.offset=function(t){return new pt(this.line,this.column+t)};var Ct=function(t,e,s){this.start=e,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)};function ve(t,e){for(var s=1,i=0;;){var r=xe(t,i,e);if(r<0)return new pt(s,e-i);++s,i=r}}var Rt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ie=!1;function ks(t){var e={};for(var s in Rt)e[s]=t&&it(t,s)?t[s]:Rt[s];if(e.ecmaVersion==="latest"?e.ecmaVersion=1e8:e.ecmaVersion==null?(!ie&&typeof console=="object"&&console.warn&&(ie=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
5
5
  Defaulting to 2020, but this will stop working in the future.`)),e.ecmaVersion=11):e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),e.allowReserved==null&&(e.allowReserved=e.ecmaVersion<5),(!t||t.allowHashBang==null)&&(e.allowHashBang=e.ecmaVersion>=14),ee(e.onToken)){var i=e.onToken;e.onToken=function(r){return i.push(r)}}return ee(e.onComment)&&(e.onComment=Ts(e,e.onComment)),e}function Ts(t,e){return function(s,i,r,n,o,p){var u={type:s?"Block":"Line",value:i,start:r,end:n};t.locations&&(u.loc=new Ct(this,o,p)),t.ranges&&(u.range=[r,n]),e.push(u)}}var ht=1,rt=2,Kt=4,be=8,Xt=16,Ce=32,Et=64,Ee=128,tt=256,ct=512,St=ht|rt|tt;function Ht(t,e){return rt|(t?Kt:0)|(e?be:0)}var gt=0,Wt=1,W=2,Se=3,ke=4,Te=5,_=function(t,e,s){this.options=t=ks(t),this.sourceFile=t.sourceFile,this.keywords=z(xs[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=Dt[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=z(i);var r=(i?i+" ":"")+Dt.strict;this.reservedWordsStrict=z(r),this.reservedWordsStrictBind=z(r+" "+Dt.strictBind),this.input=String(e),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(`
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-f2pv705d.js";var q="./tree-sitter-powershell-ryb2ffqs.wasm";export{q as default};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-f2pv705d.js";var t="./highlights-ghv9g403.scm";export{t as default};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{rO as T}from"./chunk-j8fcfhr2.js";import{tO as G,wO as J}from"./chunk-r9w0thdk.js";var K=G((Q)=>{Object.defineProperty(Q,"__esModule",{value:!0});Q.AbstractAsyncHooksContextManager=void 0;var b=J("events"),f=["addListener","on","once","prependListener","prependOnceListener"];class P{bind(q,j){if(j instanceof b.EventEmitter)return this._bindEventEmitter(q,j);if(typeof j==="function")return this._bindFunction(q,j);return j}_bindFunction(q,j){let z=this,w=function(...B){return z.with(q,()=>j.apply(this,B))};return Object.defineProperty(w,"length",{enumerable:!1,configurable:!0,writable:!1,value:j.length}),w}_bindEventEmitter(q,j){if(this._getPatchMap(j)!==void 0)return j;if(this._createPatchMap(j),f.forEach((w)=>{if(j[w]===void 0)return;j[w]=this._patchAddListener(j,j[w],q)}),typeof j.removeListener==="function")j.removeListener=this._patchRemoveListener(j,j.removeListener);if(typeof j.off==="function")j.off=this._patchRemoveListener(j,j.off);if(typeof j.removeAllListeners==="function")j.removeAllListeners=this._patchRemoveAllListeners(j,j.removeAllListeners);return j}_patchRemoveListener(q,j){let z=this;return function(w,B){let D=z._getPatchMap(q)?.[w];if(D===void 0)return j.call(this,w,B);let E=D.get(B);return j.call(this,w,E||B)}}_patchRemoveAllListeners(q,j){let z=this;return function(w){let B=z._getPatchMap(q);if(B!==void 0){if(arguments.length===0)z._createPatchMap(q);else if(B[w]!==void 0)delete B[w]}return j.apply(this,arguments)}}_patchAddListener(q,j,z){let w=this;return function(B,D){if(w._wrapped)return j.call(this,B,D);let E=w._getPatchMap(q);if(E===void 0)E=w._createPatchMap(q);let F=E[B];if(F===void 0)F=new WeakMap,E[B]=F;let O=w.bind(z,D);F.set(D,O),w._wrapped=!0;try{return j.call(this,B,O)}finally{w._wrapped=!1}}}_createPatchMap(q){let j=Object.create(null);return q[this._kOtListeners]=j,j}_getPatchMap(q){return q[this._kOtListeners]}_kOtListeners=Symbol("OtListeners");_wrapped=!1}Q.AbstractAsyncHooksContextManager=P});var Y=G((V)=>{Object.defineProperty(V,"__esModule",{value:!0});V.AsyncHooksContextManager=void 0;var u=T(),L=J("async_hooks"),N=K();class U extends N.AbstractAsyncHooksContextManager{_asyncHook;_contexts=new Map;_stack=[];constructor(){super();this._asyncHook=L.createHook({init:this._init.bind(this),before:this._before.bind(this),after:this._after.bind(this),destroy:this._destroy.bind(this),promiseResolve:this._destroy.bind(this)})}active(){return this._stack[this._stack.length-1]??u.ROOT_CONTEXT}with(q,j,z,...w){this._enterContext(q);try{return j.call(z,...w)}finally{this._exitContext()}}enable(){return this._asyncHook.enable(),this}disable(){return this._asyncHook.disable(),this._contexts.clear(),this._stack=[],this}_init(q,j){if(j==="TIMERWRAP")return;let z=this._stack[this._stack.length-1];if(z!==void 0)this._contexts.set(q,z)}_destroy(q){this._contexts.delete(q)}_before(q){let j=this._contexts.get(q);if(j!==void 0)this._enterContext(j)}_after(){this._exitContext()}_enterContext(q){this._stack.push(q)}_exitContext(){this._stack.pop()}}V.AsyncHooksContextManager=U});var S=G(($)=>{Object.defineProperty($,"__esModule",{value:!0});$.AsyncLocalStorageContextManager=void 0;var H=T(),k=J("async_hooks"),_=K();class Z extends _.AbstractAsyncHooksContextManager{_asyncLocalStorage;constructor(){super();this._asyncLocalStorage=new k.AsyncLocalStorage}active(){return this._asyncLocalStorage.getStore()??H.ROOT_CONTEXT}with(q,j,z,...w){let B=z==null?j:j.bind(z);return this._asyncLocalStorage.run(q,B,...w)}enable(){return this}disable(){return this._asyncLocalStorage.disable(),this}}$.AsyncLocalStorageContextManager=Z});var h=G((I)=>{Object.defineProperty(I,"__esModule",{value:!0});I.AsyncLocalStorageContextManager=I.AsyncHooksContextManager=void 0;var C=Y();Object.defineProperty(I,"AsyncHooksContextManager",{enumerable:!0,get:function(){return C.AsyncHooksContextManager}});var y=S();Object.defineProperty(I,"AsyncLocalStorageContextManager",{enumerable:!0,get:function(){return y.AsyncLocalStorageContextManager}})});export default h();
2
+ import{RP as T}from"./chunk-kry4vcrf.js";import{TP as G,WP as J}from"./chunk-f2pv705d.js";var K=G((Q)=>{Object.defineProperty(Q,"__esModule",{value:!0});Q.AbstractAsyncHooksContextManager=void 0;var b=J("events"),f=["addListener","on","once","prependListener","prependOnceListener"];class P{bind(q,j){if(j instanceof b.EventEmitter)return this._bindEventEmitter(q,j);if(typeof j==="function")return this._bindFunction(q,j);return j}_bindFunction(q,j){let z=this,w=function(...B){return z.with(q,()=>j.apply(this,B))};return Object.defineProperty(w,"length",{enumerable:!1,configurable:!0,writable:!1,value:j.length}),w}_bindEventEmitter(q,j){if(this._getPatchMap(j)!==void 0)return j;if(this._createPatchMap(j),f.forEach((w)=>{if(j[w]===void 0)return;j[w]=this._patchAddListener(j,j[w],q)}),typeof j.removeListener==="function")j.removeListener=this._patchRemoveListener(j,j.removeListener);if(typeof j.off==="function")j.off=this._patchRemoveListener(j,j.off);if(typeof j.removeAllListeners==="function")j.removeAllListeners=this._patchRemoveAllListeners(j,j.removeAllListeners);return j}_patchRemoveListener(q,j){let z=this;return function(w,B){let D=z._getPatchMap(q)?.[w];if(D===void 0)return j.call(this,w,B);let E=D.get(B);return j.call(this,w,E||B)}}_patchRemoveAllListeners(q,j){let z=this;return function(w){let B=z._getPatchMap(q);if(B!==void 0){if(arguments.length===0)z._createPatchMap(q);else if(B[w]!==void 0)delete B[w]}return j.apply(this,arguments)}}_patchAddListener(q,j,z){let w=this;return function(B,D){if(w._wrapped)return j.call(this,B,D);let E=w._getPatchMap(q);if(E===void 0)E=w._createPatchMap(q);let F=E[B];if(F===void 0)F=new WeakMap,E[B]=F;let O=w.bind(z,D);F.set(D,O),w._wrapped=!0;try{return j.call(this,B,O)}finally{w._wrapped=!1}}}_createPatchMap(q){let j=Object.create(null);return q[this._kOtListeners]=j,j}_getPatchMap(q){return q[this._kOtListeners]}_kOtListeners=Symbol("OtListeners");_wrapped=!1}Q.AbstractAsyncHooksContextManager=P});var Y=G((V)=>{Object.defineProperty(V,"__esModule",{value:!0});V.AsyncHooksContextManager=void 0;var u=T(),L=J("async_hooks"),N=K();class U extends N.AbstractAsyncHooksContextManager{_asyncHook;_contexts=new Map;_stack=[];constructor(){super();this._asyncHook=L.createHook({init:this._init.bind(this),before:this._before.bind(this),after:this._after.bind(this),destroy:this._destroy.bind(this),promiseResolve:this._destroy.bind(this)})}active(){return this._stack[this._stack.length-1]??u.ROOT_CONTEXT}with(q,j,z,...w){this._enterContext(q);try{return j.call(z,...w)}finally{this._exitContext()}}enable(){return this._asyncHook.enable(),this}disable(){return this._asyncHook.disable(),this._contexts.clear(),this._stack=[],this}_init(q,j){if(j==="TIMERWRAP")return;let z=this._stack[this._stack.length-1];if(z!==void 0)this._contexts.set(q,z)}_destroy(q){this._contexts.delete(q)}_before(q){let j=this._contexts.get(q);if(j!==void 0)this._enterContext(j)}_after(){this._exitContext()}_enterContext(q){this._stack.push(q)}_exitContext(){this._stack.pop()}}V.AsyncHooksContextManager=U});var S=G(($)=>{Object.defineProperty($,"__esModule",{value:!0});$.AsyncLocalStorageContextManager=void 0;var H=T(),k=J("async_hooks"),_=K();class Z extends _.AbstractAsyncHooksContextManager{_asyncLocalStorage;constructor(){super();this._asyncLocalStorage=new k.AsyncLocalStorage}active(){return this._asyncLocalStorage.getStore()??H.ROOT_CONTEXT}with(q,j,z,...w){let B=z==null?j:j.bind(z);return this._asyncLocalStorage.run(q,B,...w)}enable(){return this}disable(){return this._asyncLocalStorage.disable(),this}}$.AsyncLocalStorageContextManager=Z});var h=G((I)=>{Object.defineProperty(I,"__esModule",{value:!0});I.AsyncLocalStorageContextManager=I.AsyncHooksContextManager=void 0;var C=Y();Object.defineProperty(I,"AsyncHooksContextManager",{enumerable:!0,get:function(){return C.AsyncHooksContextManager}});var y=S();Object.defineProperty(I,"AsyncLocalStorageContextManager",{enumerable:!0,get:function(){return y.AsyncLocalStorageContextManager}})});export default h();
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{rO as q}from"./chunk-j8fcfhr2.js";import{tO as k}from"./chunk-r9w0thdk.js";var z=k((b)=>{Object.defineProperty(b,"__esModule",{value:!0});b.getMachineId=void 0;var v=q();async function w(){v.diag.debug("could not read machine-id: unsupported platform");return}b.getMachineId=w});export default z();
2
+ import{RP as q}from"./chunk-kry4vcrf.js";import{TP as k}from"./chunk-f2pv705d.js";var z=k((b)=>{Object.defineProperty(b,"__esModule",{value:!0});b.getMachineId=void 0;var v=q();async function w(){v.diag.debug("could not read machine-id: unsupported platform");return}b.getMachineId=w});export default z();
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  var f={"language.en":"English","language.zh":"\u7B80\u4F53\u4E2D\u6587","language.zht":"\u7E41\u9AD4\u4E2D\u6587","language.ko":"\uD55C\uAD6D\uC5B4","language.de":"Deutsch","language.es":"Espa\xF1ol","language.fr":"Fran\xE7ais","language.da":"Dansk","language.ja":"\u65E5\u672C\u8A9E","language.pl":"Polski","language.ru":"\u0420\u0443\u0441\u0441\u043A\u0438\u0439","language.ar":"\u0627\u0644\u0639\u0631\u0628\u064A\u0629","language.no":"Norsk","language.br":"Portugu\xEAs (Brasil)","language.pt":"Portugu\xEAs","language.bs":"Bosanski","language.th":"\u0E44\u0E17\u0E22","language.tr":"T\xFCrk\xE7e","tui.prompt.placeholder.normal":"\u8F93\u5165\u6D88\u606F...(\u8F93\u5165/\u5524\u8D77\u547D\u4EE4)","tui.prompt.placeholder.shell":'\u6267\u884C\u547D\u4EE4\u2026\u2026 "{{example}}"',"tui.prompt.ghost":"{{prediction}} (\u6309 Tab \u91C7\u7EB3)","tui.home.placeholder.example.todo":"\u4FEE\u590D\u4EE3\u7801\u5E93\u4E2D\u7684 TODO","tui.home.placeholder.example.stack":"\u8FD9\u4E2A\u9879\u76EE\u7528\u4E86\u4EC0\u4E48\u6280\u672F\u6808\uFF1F","tui.home.placeholder.example.tests":"\u4FEE\u590D\u5931\u8D25\u7684\u6D4B\u8BD5","tui.home.agreement.prefix":"\u4F7F\u7528 QitQode \u5373\u8868\u793A\u4F60\u540C\u610F\u6211\u4EEC\u7684","tui.home.agreement.terms":"\u670D\u52A1\u534F\u8BAE","tui.home.agreement.separator":"\u548C","tui.home.agreement.privacy":"\u9690\u79C1\u653F\u7B56","tui.home.agreement.suffix":"","tui.prompt.hint.attach_file":"\u6DFB\u52A0\u6587\u4EF6","tui.prompt.hint.subagent":"\u5B50\u667A\u80FD\u4F53","tui.prompt.hint.commands":"\u5524\u8D77\u547D\u4EE4","tui.prompt.hint.switch_mode":"\u5207\u6362\u6A21\u5F0F","tui.prompt.hint.settings":"\u8BBE\u7F6E","tui.tips.label":"\u63D0\u793A","tui.tips.plain_terminal":"\u63A8\u8350\u4F7F\u7528iTerm\u6216vscode\u7EC8\u7AEF","tui.tips.attach_file":"\u8F93\u5165 {highlight}@{/highlight} \u540E\u63A5\u6587\u4EF6\u540D\u4EE5\u6A21\u7CCA\u641C\u7D22\u5E76\u9644\u52A0\u6587\u4EF6","tui.tips.shell_prefix":"\u4EE5 {highlight}!{/highlight} \u5F00\u5934\u53EF\u76F4\u63A5\u8FD0\u884C shell \u547D\u4EE4\uFF08\u4F8B\u5982 {highlight}!ls -la{/highlight}\uFF09","tui.tips.tab_agent":"\u6309 {highlight}Tab{/highlight} \u6216 {highlight}Shift+Tab{/highlight} \u5728 Build / Plan / Compose \u667A\u80FD\u4F53\u4E4B\u95F4\u5207\u6362","tui.tips.theme_mode":"\u8FD0\u884C {highlight}/dark{/highlight} \u5207\u6362\u5230\u6DF1\u8272\u6A21\u5F0F\uFF0C{highlight}/light{/highlight} \u5207\u6362\u5230\u6D45\u8272\u6A21\u5F0F","tui.tips.doc":"\u8FD0\u884C {highlight}/doc{/highlight} \u6253\u5F00\u4F7F\u7528\u6587\u6863","tui.tips.undo":"\u4F7F\u7528 {highlight}/undo{/highlight} \u64A4\u9500\u6700\u540E\u4E00\u6761\u6D88\u606F\u53CA\u5176\u6587\u4EF6\u6539\u52A8","tui.tips.redo":"\u4F7F\u7528 {highlight}/redo{/highlight} \u6062\u590D\u4E4B\u524D\u64A4\u9500\u7684\u6D88\u606F\u548C\u6587\u4EF6\u6539\u52A8","tui.tips.drag_drop":"\u628A\u56FE\u7247\u6216 PDF \u62D6\u5165\u7EC8\u7AEF\u53EF\u4F5C\u4E3A\u4E0A\u4E0B\u6587\u6DFB\u52A0","tui.tips.paste_image":"\u6309 {highlight}Ctrl+V{/highlight} \u628A\u526A\u8D34\u677F\u4E2D\u7684\u56FE\u7247\u7C98\u8D34\u5230\u63D0\u793A\u6846","tui.tips.editor":"\u6309 {highlight}Ctrl+X E{/highlight} \u6216 {highlight}/editor{/highlight} \u5728\u5916\u90E8\u7F16\u8F91\u5668\u4E2D\u7F16\u8F91\u6D88\u606F","tui.tips.init":"\u8FD0\u884C {highlight}/init{/highlight} \u57FA\u4E8E\u4F60\u7684\u4EE3\u7801\u5E93\u81EA\u52A8\u751F\u6210\u9879\u76EE\u89C4\u5219","tui.tips.models":"\u8FD0\u884C {highlight}/models{/highlight} \u6216 {highlight}Ctrl+X M{/highlight} \u5207\u6362\u6A21\u578B","tui.tips.theme":'\u5728\u547D\u4EE4\u9762\u677F\uFF08{highlight}Ctrl+P{/highlight}\uFF09\u4E2D\u641C\u7D22 "lock" \u53EF\u9501\u5B9A\u4E3B\u9898\u6A21\u5F0F\uFF0C\u4F7F\u5176\u4E0D\u968F\u7EC8\u7AEF\u80CC\u666F\u53D8\u5316',"tui.tips.new_session":"\u6309 {highlight}Ctrl+X N{/highlight} \u6216 {highlight}/new{/highlight} \u5F00\u542F\u5168\u65B0\u4F1A\u8BDD","tui.tips.sessions":"\u4F7F\u7528 {highlight}/sessions{/highlight} \u6216 {highlight}Ctrl+X L{/highlight} \u5217\u51FA\u5E76\u7EE7\u7EED\u4E4B\u524D\u7684\u4F1A\u8BDD","tui.tips.compact":"\u8FD0\u884C {highlight}/compact{/highlight} \u5728\u63A5\u8FD1\u4E0A\u4E0B\u6587\u4E0A\u9650\u65F6\u538B\u7F29\u957F\u4F1A\u8BDD","tui.tips.export":"\u6309 {highlight}Ctrl+X X{/highlight} \u6216 {highlight}/export{/highlight} \u628A\u4F1A\u8BDD\u4FDD\u5B58\u4E3A Markdown","tui.tips.copy_last":"\u6309 {highlight}Ctrl+X Y{/highlight} \u628A\u52A9\u624B\u6700\u540E\u4E00\u6761\u6D88\u606F\u590D\u5236\u5230\u526A\u8D34\u677F","tui.tips.command_palette":"\u6309 {highlight}Ctrl+P{/highlight} \u67E5\u770B\u6240\u6709\u53EF\u7528\u52A8\u4F5C\u548C\u547D\u4EE4","tui.tips.leader":"\u524D\u5BFC\u952E\u662F {highlight}Ctrl+X{/highlight}\uFF0C\u642D\u914D\u5176\u4ED6\u952E\u53EF\u5FEB\u901F\u89E6\u53D1\u52A8\u4F5C","tui.tips.f2":"\u6309 {highlight}F2{/highlight} \u5728\u6700\u8FD1\u4F7F\u7528\u7684\u6A21\u578B\u4E4B\u95F4\u5FEB\u901F\u5207\u6362","tui.tips.sidebar":"\u6309 {highlight}Ctrl+X B{/highlight} \u663E\u793A/\u9690\u85CF\u4FA7\u680F","tui.tips.history":"\u7528 {highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} \u6D4F\u89C8\u4F1A\u8BDD\u5386\u53F2","tui.tips.jump_first":"\u6309 {highlight}Ctrl+G{/highlight} \u6216 {highlight}Home{/highlight} \u8DF3\u5230\u4F1A\u8BDD\u5F00\u5934","tui.tips.jump_last":"\u6309 {highlight}Ctrl+Alt+G{/highlight} \u6216 {highlight}End{/highlight} \u8DF3\u5230\u6700\u65B0\u6D88\u606F","tui.tips.newline":"\u6309 {highlight}Shift+Enter{/highlight} \u6216 {highlight}Ctrl+J{/highlight} \u5728\u63D0\u793A\u6846\u6362\u884C","tui.tips.clear_input":"\u8F93\u5165\u65F6\u6309 {highlight}Ctrl+C{/highlight} \u6E05\u7A7A\u8F93\u5165\u6846","tui.tips.escape":"\u6309 {highlight}Escape{/highlight} \u5728\u54CD\u5E94\u4E2D\u9014\u6253\u65AD AI","tui.tips.plan_agent":"\u5207\u6362\u5230 {highlight}Plan{/highlight} \u667A\u80FD\u4F53\u4EE5\u83B7\u53D6\u5EFA\u8BAE\u800C\u4E0D\u5B9E\u9645\u6539\u52A8","tui.tips.subagent":"\u5728\u63D0\u793A\u8BCD\u4E2D\u4F7F\u7528 {highlight}@agent-name{/highlight} \u8C03\u7528\u4E13\u7528\u5B50\u667A\u80FD\u4F53","tui.tips.cycle_sessions":"\u6309 {highlight}Ctrl+X Right/Left{/highlight} \u5728\u7236\u5B50\u4F1A\u8BDD\u4E4B\u95F4\u5207\u6362","tui.tips.config_files":"\u521B\u5EFA {highlight}qitqode.json{/highlight} \u7528\u4E8E\u670D\u52A1\u7AEF\u914D\u7F6E\uFF0C{highlight}tui.json{/highlight} \u7528\u4E8E TUI \u914D\u7F6E","tui.tips.global_config":"\u628A TUI \u914D\u7F6E\u653E\u5728 {highlight}~/.config/qitqode/tui.json{/highlight} \u4F5C\u4E3A\u5168\u5C40\u914D\u7F6E","tui.tips.schema":"\u5728\u914D\u7F6E\u4E2D\u52A0\u5165 {highlight}$schema{/highlight} \u4EE5\u4FBF\u7F16\u8F91\u5668\u81EA\u52A8\u8865\u5168","tui.tips.default_model":"\u5728\u914D\u7F6E\u91CC\u8BBE\u7F6E {highlight}model{/highlight} \u6765\u6307\u5B9A\u9ED8\u8BA4\u6A21\u578B","tui.tips.keybinds":"\u901A\u8FC7 {highlight}tui.json{/highlight} \u7684 {highlight}keybinds{/highlight} \u90E8\u5206\u8986\u76D6\u4EFB\u610F\u6309\u952E","tui.tips.disable_keybind":"\u628A\u4EFB\u610F\u6309\u952E\u8BBE\u4E3A {highlight}none{/highlight} \u5373\u53EF\u5B8C\u5168\u7981\u7528\u5B83","tui.tips.mcp_config":"\u5728 {highlight}mcp{/highlight} \u914D\u7F6E\u9879\u4E2D\u914D\u7F6E\u672C\u5730\u6216\u8FDC\u7A0B MCP \u670D\u52A1\u5668","tui.tips.mcp_oauth":"QitQode \u81EA\u52A8\u5904\u7406\u9700\u8981\u9274\u6743\u7684\u8FDC\u7A0B MCP \u670D\u52A1\u5668\u7684 OAuth","tui.tips.custom_command":"\u5728 {highlight}.qitqode/command/{/highlight} \u6DFB\u52A0 {highlight}.md{/highlight} \u6587\u4EF6\u4EE5\u5B9A\u4E49\u53EF\u590D\u7528\u81EA\u5B9A\u4E49\u63D0\u793A","tui.tips.command_args":"\u5728\u81EA\u5B9A\u4E49\u547D\u4EE4\u4E2D\u4F7F\u7528 {highlight}$ARGUMENTS{/highlight}\u3001{highlight}$1{/highlight}\u3001{highlight}$2{/highlight} \u63A5\u6536\u52A8\u6001\u53C2\u6570","tui.tips.command_backticks":"\u5728\u547D\u4EE4\u4E2D\u4F7F\u7528\u53CD\u5F15\u53F7\u6CE8\u5165 shell \u8F93\u51FA\uFF08\u4F8B\u5982 {highlight}`git status`{/highlight}\uFF09","tui.tips.custom_agent":"\u5728 {highlight}.qitqode/agent/{/highlight} \u6DFB\u52A0 {highlight}.md{/highlight} \u6587\u4EF6\u6765\u521B\u5EFA\u4E13\u7528 AI \u89D2\u8272","tui.tips.agent_perms":"\u4E3A\u6BCF\u4E2A\u667A\u80FD\u4F53\u5355\u72EC\u914D\u7F6E {highlight}edit{/highlight}\u3001{highlight}bash{/highlight}\u3001{highlight}webfetch{/highlight} \u5DE5\u5177\u6743\u9650","tui.tips.bash_allow":'\u4F7F\u7528 {highlight}"git *": "allow"{/highlight} \u8FD9\u7C7B\u6A21\u5F0F\u505A\u7CBE\u7EC6 bash \u6743\u9650',"tui.tips.bash_deny":'\u8BBE\u7F6E {highlight}"rm -rf *": "deny"{/highlight} \u963B\u6B62\u7834\u574F\u6027\u547D\u4EE4',"tui.tips.bash_ask":'\u914D\u7F6E {highlight}"git push": "ask"{/highlight} \u5728\u63A8\u9001\u524D\u8981\u6C42\u786E\u8BA4',"tui.tips.formatter":"QitQode \u81EA\u52A8\u4F7F\u7528 prettier\u3001gofmt\u3001ruff \u7B49\u683C\u5F0F\u5316\u6587\u4EF6","tui.tips.disable_formatter":'\u5728\u914D\u7F6E\u4E2D\u8BBE\u7F6E {highlight}"formatter": false{/highlight} \u5173\u95ED\u6240\u6709\u81EA\u52A8\u683C\u5F0F\u5316',"tui.tips.custom_formatter":"\u5728\u914D\u7F6E\u4E2D\u6309\u6587\u4EF6\u540E\u7F00\u5B9A\u4E49\u81EA\u5B9A\u4E49\u683C\u5F0F\u5316\u547D\u4EE4","tui.tips.lsp":"QitQode \u4F7F\u7528 LSP \u670D\u52A1\u5668\u8FDB\u884C\u667A\u80FD\u4EE3\u7801\u5206\u6790","tui.tips.custom_tool":"\u5728 {highlight}.qitqode/tools/{/highlight} \u521B\u5EFA {highlight}.ts{/highlight} \u6587\u4EF6\u5B9A\u4E49\u65B0\u7684 LLM \u5DE5\u5177","tui.tips.tool_scripts":"\u5DE5\u5177\u5B9A\u4E49\u53EF\u4EE5\u8C03\u7528 Python\u3001Go \u7B49\u811A\u672C","tui.tips.plugins":"\u5728 {highlight}.qitqode/plugin/{/highlight} \u6DFB\u52A0 {highlight}.ts{/highlight} \u6587\u4EF6\u6302\u63A5\u4E8B\u4EF6\u94A9\u5B50","tui.tips.plugin_notify":"\u7528\u63D2\u4EF6\u5728\u4F1A\u8BDD\u5B8C\u6210\u65F6\u53D1\u9001\u7CFB\u7EDF\u901A\u77E5","tui.tips.plugin_protect":"\u5199\u4E00\u4E2A\u63D2\u4EF6\u963B\u6B62 QitQode \u8BFB\u53D6\u654F\u611F\u6587\u4EF6","tui.tips.run":"\u7528 {highlight}qitqode run{/highlight} \u8FDB\u884C\u975E\u4EA4\u4E92\u5F0F\u811A\u672C\u8C03\u7528","tui.tips.continue":"\u7528 {highlight}qitqode --continue{/highlight} \u7EE7\u7EED\u4E0A\u4E00\u4E2A\u4F1A\u8BDD","tui.tips.attach_cli":"\u7528 {highlight}qitqode run -f file.ts{/highlight} \u901A\u8FC7\u547D\u4EE4\u884C\u9644\u52A0\u6587\u4EF6","tui.tips.format_json":"\u7528 {highlight}--format json{/highlight} \u5728\u811A\u672C\u4E2D\u83B7\u5F97\u673A\u5668\u53EF\u8BFB\u8F93\u51FA","tui.tips.auth_list":"\u8FD0\u884C {highlight}qitqode auth status{/highlight} \u67E5\u770B\u5F53\u524D\u767B\u5F55\u72B6\u6001","tui.tips.agent_create":"\u8FD0\u884C {highlight}qitqode agent create{/highlight} \u5F15\u5BFC\u5F0F\u521B\u5EFA\u667A\u80FD\u4F53","tui.tips.theme_system":'\u4F7F\u7528 {highlight}"theme": "system"{/highlight} \u8DDF\u968F\u7EC8\u7AEF\u914D\u8272',"tui.tips.theme_files":"\u5728 {highlight}.qitqode/themes/{/highlight} \u76EE\u5F55\u4E0B\u521B\u5EFA JSON \u4E3B\u9898\u6587\u4EF6","tui.tips.theme_variants":"\u4E3B\u9898\u652F\u6301\u6DF1\u8272/\u6D45\u8272\u53CC\u6A21\u5F0F\u53D8\u4F53","tui.tips.theme_ansi":"\u81EA\u5B9A\u4E49\u4E3B\u9898\u4E2D\u53EF\u5F15\u7528 ANSI 0-255 \u8272\u53F7","tui.tips.env_var":"\u5728\u914D\u7F6E\u4E2D\u7528 {highlight}{env:VAR_NAME}{/highlight} \u8BED\u6CD5\u5F15\u7528\u73AF\u5883\u53D8\u91CF","tui.tips.file_var":"\u7528 {highlight}{file:path}{/highlight} \u5728\u914D\u7F6E\u503C\u4E2D\u5D4C\u5165\u6587\u4EF6\u5185\u5BB9","tui.tips.instructions":"\u5728\u914D\u7F6E\u4E2D\u7528 {highlight}instructions{/highlight} \u52A0\u8F7D\u989D\u5916\u7684\u89C4\u5219\u6587\u4EF6","tui.tips.temperature":"\u628A\u667A\u80FD\u4F53\u7684 {highlight}temperature{/highlight} \u4ECE 0.0\uFF08\u4E13\u6CE8\uFF09\u8C03\u5230 1.0\uFF08\u521B\u9020\uFF09","tui.tips.steps":"\u914D\u7F6E {highlight}steps{/highlight} \u9650\u5236\u6BCF\u6B21\u8BF7\u6C42\u7684\u667A\u80FD\u4F53\u8FED\u4EE3\u6B21\u6570","tui.tips.disable_tool":'\u8BBE\u7F6E {highlight}"tools": {"bash": false}{/highlight} \u7981\u7528\u5177\u4F53\u5DE5\u5177',"tui.tips.disable_mcp_tools":'\u8BBE\u7F6E {highlight}"mcp_*": false{/highlight} \u7981\u7528\u67D0\u4E2A MCP \u670D\u52A1\u5668\u7684\u6240\u6709\u5DE5\u5177',"tui.tips.tool_override":"\u5728\u6BCF\u4E2A\u667A\u80FD\u4F53\u914D\u7F6E\u4E2D\u8986\u76D6\u5168\u5C40\u5DE5\u5177\u8BBE\u7F6E","tui.tips.doom_loop":"\u6743\u9650 {highlight}doom_loop{/highlight} \u9632\u6B62\u5DE5\u5177\u8C03\u7528\u9677\u5165\u6B7B\u5FAA\u73AF","tui.tips.external_dir":"\u6743\u9650 {highlight}external_directory{/highlight} \u4FDD\u62A4\u9879\u76EE\u5916\u90E8\u7684\u6587\u4EF6","tui.tips.debug_config":"\u8FD0\u884C {highlight}qitqode debug config{/highlight} \u6392\u67E5\u914D\u7F6E\u95EE\u9898","tui.tips.print_logs":"\u4F7F\u7528 {highlight}--print-logs{/highlight} \u6807\u5FD7\u5728 stderr \u8F93\u51FA\u8BE6\u7EC6\u65E5\u5FD7","tui.tips.timeline":"\u6309 {highlight}Ctrl+X G{/highlight} \u6216 {highlight}/timeline{/highlight} \u8DF3\u5230\u6307\u5B9A\u6D88\u606F","tui.tips.toggle_code":"\u6309 {highlight}Ctrl+X H{/highlight} \u5207\u6362\u6D88\u606F\u4E2D\u4EE3\u7801\u5757\u7684\u663E\u793A","tui.tips.status":"\u6309 {highlight}Ctrl+X S{/highlight} \u6216 {highlight}/status{/highlight} \u67E5\u770B\u7CFB\u7EDF\u72B6\u6001","tui.tips.scroll_accel":"\u5728 {highlight}tui.json{/highlight} \u4E2D\u5F00\u542F {highlight}scroll_acceleration{/highlight} \u4EAB\u53D7\u5E73\u6ED1\u6EDA\u52A8","tui.tips.agents_md":"\u628A\u9879\u76EE\u91CC\u7684 {highlight}AGENTS.md{/highlight} \u63D0\u4EA4\u5230 Git \u4E0E\u56E2\u961F\u5171\u4EAB","tui.tips.review":"\u7528 {highlight}/review{/highlight} \u5BA1\u9605\u672A\u63D0\u4EA4\u6539\u52A8\u3001\u5206\u652F\u6216 PR","tui.tips.help":"\u8FD0\u884C {highlight}/help{/highlight} \u6216 {highlight}Ctrl+X H{/highlight} \u663E\u793A\u5E2E\u52A9\u5BF9\u8BDD\u6846","tui.tips.rename":"\u7528 {highlight}/rename{/highlight} \u91CD\u547D\u540D\u5F53\u524D\u4F1A\u8BDD","tui.tips.suspend.unix":"\u6309 {highlight}Ctrl+Z{/highlight} \u6302\u8D77\u7EC8\u7AEF\u5E76\u8FD4\u56DE shell","tui.tips.suspend.win":"\u6309 {highlight}Ctrl+Z{/highlight} \u64A4\u9500\u63D0\u793A\u6846\u4E2D\u7684\u8F93\u5165","tui.command.palette.title":"\u547D\u4EE4","tui.command.palette.suggested":"\u63A8\u8350","tui.command.category.session":"\u4F1A\u8BDD","tui.command.category.agent":"\u667A\u80FD\u4F53","tui.command.category.provider":"\u670D\u52A1\u5546","tui.command.category.system":"\u7CFB\u7EDF","tui.command.category.prompt":"\u63D0\u793A\u6846","tui.command.category.internal":"\u5185\u7F6E","tui.command.category.external":"\u7B2C\u4E09\u65B9","tui.slash.init.description":"\u5F15\u5BFC\u5F0F AGENTS.md \u8BBE\u7F6E","tui.slash.review.description":"\u5BA1\u67E5\u53D8\u66F4 [commit|branch|pr]\uFF0C\u9ED8\u8BA4\u672A\u63D0\u4EA4\u7684\u53D8\u66F4","tui.slash.dream.description":"\u4ECE memory \u6587\u4EF6\u4E0E\u539F\u59CB\u8F68\u8FF9\u4E2D\u624B\u52A8\u6574\u5408\u9879\u76EE\u8BB0\u5FC6","tui.slash.distill.description":"\u5728\u6700\u8FD1\u5DE5\u4F5C\u4E2D\u53D1\u73B0\u91CD\u590D\u6D41\u7A0B\uFF0C\u6253\u5305\u4E3A skill\u3001\u5B50\u667A\u80FD\u4F53\u6216\u547D\u4EE4","tui.slash.goal.description":"\u8BBE\u7F6E\u7EC8\u6B62\u6761\u4EF6\u76EE\u6807\uFF1B\u8FD0\u884C\u76F4\u5230\u5224\u5B9A\u8FBE\u6210\u3002\u4F7F\u7528 /goal clear \u4E2D\u6B62","tui.slash.deep-research.description":"\u6DF1\u5EA6\u591A\u6765\u6E90\u3001\u4E8B\u5B9E\u6838\u67E5\u7684\u7814\u7A76\u62A5\u544A\uFF08\u8FD0\u884C deep-research \u5DE5\u4F5C\u6D41\uFF09","tui.command.language.switch.title":"\u5207\u6362\u8BED\u8A00","tui.command.language.switch.description":"\u66F4\u6539\u663E\u793A\u8BED\u8A00","tui.command.language.dialog.title":"\u5207\u6362\u8BED\u8A00","tui.language.auto":"\u81EA\u52A8\uFF08\u8DDF\u968F\u7CFB\u7EDF\uFF09","tui.language.current":"\u5F53\u524D","tui.command.session.list.title":"\u5207\u6362\u4F1A\u8BDD","tui.command.session.new.title":"\u65B0\u5EFA\u4F1A\u8BDD","tui.command.workflow.list.title":"\u5DE5\u4F5C\u6D41","tui.command.model.list.title":"\u5207\u6362\u6A21\u578B","tui.command.model.cycle_recent.title":"\u5FAA\u73AF\u5207\u6362\u6A21\u578B","tui.command.model.cycle_recent_reverse.title":"\u53CD\u5411\u5FAA\u73AF\u5207\u6362\u6A21\u578B","tui.command.model.cycle_favorite.title":"\u5FAA\u73AF\u5207\u6362\u6536\u85CF\u6A21\u578B","tui.command.model.cycle_favorite_reverse.title":"\u53CD\u5411\u5FAA\u73AF\u5207\u6362\u6536\u85CF\u6A21\u578B","tui.command.agent.list.title":"\u5207\u6362\u667A\u80FD\u4F53","tui.command.mcp.list.title":"\u5207\u6362 MCP","tui.command.never_ask.title_on":"\u8DF3\u8FC7\u63D0\u95EE\uFF1A\u5DF2\u5F00\u542F\uFF08\u81EA\u52A8\u51B3\u7B56\uFF0C\u6743\u9650\u8BF7\u6C42\u9664\u5916\uFF09 - \u70B9\u51FB\u5173\u95ED","tui.command.never_ask.title_off":"\u8DF3\u8FC7\u63D0\u95EE\uFF1A\u5DF2\u5173\u95ED - \u70B9\u51FB\u5F00\u542F\uFF08\u81EA\u52A8\u51B3\u7B56\uFF0C\u6743\u9650\u8BF7\u6C42\u9664\u5916\uFF09","tui.command.never_ask.toast_on":"\u5DF2\u5F00\u542F\u8DF3\u8FC7\u63D0\u95EE \u2014 \u6211\u4E0D\u4F1A\u518D\u5411\u4F60\u63D0\u95EE\uFF0C\u4F1A\u81EA\u884C\u9009\u62E9\u6700\u4F73\u9009\u9879\uFF0C\u76F4\u5230\u4F60\u5173\u95ED\uFF08/never-ask\uFF09\u3002\u6743\u9650\u8BF7\u6C42\u4ECD\u9700\u4F60\u786E\u8BA4\u3002","tui.command.never_ask.toast_off":"\u5DF2\u5173\u95ED\u8DF3\u8FC7\u63D0\u95EE \u2014 \u9047\u5230\u51B3\u7B56\u70B9\u6211\u4F1A\u91CD\u65B0\u5411\u4F60\u63D0\u95EE\u3002","tui.command.never_ask.title_on_fullauto":"\u8DF3\u8FC7\u63D0\u95EE\uFF1A\u5DF2\u5F00\u542F\uFF08\u81EA\u52A8\u51B3\u7B56\uFF1B\u5168\u81EA\u52A8\u6A21\u5F0F\u540C\u65F6\u81EA\u52A8\u6279\u51C6\u6743\u9650\uFF09 - \u70B9\u51FB\u5173\u95ED","tui.command.never_ask.title_off_fullauto":"\u8DF3\u8FC7\u63D0\u95EE\uFF1A\u5DF2\u5173\u95ED - \u70B9\u51FB\u5F00\u542F\uFF08\u81EA\u52A8\u51B3\u7B56\uFF1B\u5168\u81EA\u52A8\u6A21\u5F0F\u4ECD\u5728\u81EA\u52A8\u6279\u51C6\u6743\u9650\uFF09","tui.command.never_ask.toast_on_fullauto":"\u5DF2\u5F00\u542F\u8DF3\u8FC7\u63D0\u95EE \u2014 \u6211\u4E0D\u4F1A\u518D\u5411\u4F60\u63D0\u95EE\uFF0C\u4F1A\u81EA\u884C\u9009\u62E9\u6700\u4F73\u9009\u9879\uFF0C\u76F4\u5230\u4F60\u5173\u95ED\uFF08/never-ask\uFF09\u3002\u5168\u81EA\u52A8\u6A21\u5F0F\u5DF2\u5F00\u542F\uFF0C\u5DE5\u5177\u6743\u9650\u8BF7\u6C42\u4E5F\u4F1A\u81EA\u52A8\u6279\u51C6\u3002","tui.command.agent.cycle.title":"\u5FAA\u73AF\u5207\u6362\u667A\u80FD\u4F53","tui.command.variant.cycle.title":"\u5FAA\u73AF\u5207\u6362\u6A21\u578B\u53D8\u4F53","tui.command.variant.list.title":"\u5207\u6362\u6A21\u578B\u53D8\u4F53","tui.command.agent.cycle.reverse.title":"\u53CD\u5411\u5FAA\u73AF\u5207\u6362\u667A\u80FD\u4F53","tui.command.provider.login.title":"\u767B\u5F55","tui.command.provider.logout.title":"\u767B\u51FA","tui.command.console.org.switch.title":"\u5207\u6362\u7EC4\u7EC7","tui.command.qitqode.status.title":"\u67E5\u770B\u72B6\u6001","tui.command.worktree.list.title":"\u5DE5\u4F5C\u6811","tui.command.theme.switch.title":"\u5207\u6362\u4E3B\u9898","tui.command.theme.switch_mode.to_light":"\u5207\u6362\u5230\u6D45\u8272\u6A21\u5F0F","tui.command.theme.switch_mode.to_dark":"\u5207\u6362\u5230\u6DF1\u8272\u6A21\u5F0F","tui.command.theme.mode.unlock":"\u89E3\u9501\u4E3B\u9898\u6A21\u5F0F","tui.command.theme.mode.lock":"\u9501\u5B9A\u4E3B\u9898\u6A21\u5F0F","tui.command.help.show.title":"\u5E2E\u52A9","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"\u65E0\u969C\u788D:\u53EF\u5728\u547D\u4EE4\u5217\u8868\u4E2D\u5207\u6362\u52A8\u753B\u548C\u58F0\u97F3\u3002\u73AF\u5883\u53D8\u91CF:NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND\u3002","tui.dialog.help.announcements":"\u64AD\u62A5:\u5728\u65E0\u969C\u788D\u6A21\u5F0F\u4E0B,\u53EF\u901A\u8FC7\u547D\u4EE4\u5217\u8868\u6216 QITQODE_TUI_ANNOUNCEMENTS \u9009\u62E9\u5C4F\u5E55\u9605\u8BFB\u5668\u64AD\u62A5\u7684\u8BE6\u7EC6\u7A0B\u5EA6(\u5B89\u9759\u3001\u6B63\u5E38\u3001\u8BE6\u7EC6)\u3002\u9519\u8BEF\u59CB\u7EC8\u4F1A\u64AD\u62A5\u3002","tui.dialog.help.dialog_keys":"\u5BF9\u8BDD\u6846:\u6240\u6709\u5BF9\u8BDD\u6846\u5747\u53EF\u4EC5\u7528\u952E\u76D8\u64CD\u4F5C \u2014 Esc \u5173\u95ED,Tab \u6216\u65B9\u5411\u952E\u79FB\u52A8\u7126\u70B9,Enter \u6216\u7A7A\u683C\u952E\u6FC0\u6D3B\u5F53\u524D\u63A7\u4EF6\u3002","tui.command.app.announcements.cycle":"\u64AD\u62A5:{{level}}(\u9009\u62E9\u4EE5\u66F4\u6539)","tui.announcements.level.quiet":"\u5B89\u9759","tui.announcements.level.normal":"\u6B63\u5E38","tui.announcements.level.verbose":"\u8BE6\u7EC6","tui.app.terminal_too_small":"\u7EC8\u7AEF\u7A97\u53E3\u8FC7\u5C0F ({{width}}x{{height}}),\u8BF7\u8C03\u6574\u5230\u81F3\u5C11 40x8\u3002","tui.dialog.help.command_list":"\u6309 {{keybind}} \u67E5\u770B\u5F53\u524D\u4E0A\u4E0B\u6587\u4E2D\u6240\u6709\u53EF\u7528\u7684\u64CD\u4F5C\u548C\u547D\u4EE4\u3002","tui.dialog.help.ok":"\u786E\u5B9A","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 \u6EDA\u52A8 \xB7 PgUp/PgDn \u7FFB\u9875 \xB7 esc \u5173\u95ED","tui.dialog.ok":"\u786E\u5B9A","tui.dialog.confirm.cancel":"\u53D6\u6D88","tui.dialog.confirm.confirm":"\u786E\u8BA4","tui.dialog.agreement.title":"\u670D\u52A1\u534F\u8BAE\u4E0E\u9690\u79C1\u653F\u7B56","tui.dialog.agreement.message":"\u8BF7\u9605\u8BFB\u5E76\u540C\u610F\u540E\u7EE7\u7EED\u4F7F\u7528\u3002","tui.dialog.agreement.confirm":"\u540C\u610F\u5E76\u7EE7\u7EED","tui.command.docs.terms.title":"\u67E5\u770B\u670D\u52A1\u6761\u6B3E","tui.command.docs.privacy.title":"\u67E5\u770B\u9690\u79C1\u653F\u7B56","tui.command.consent.revoke.title":"\u64A4\u9500\u514D\u8D39\u6A21\u578B\u534F\u8BAE","tui.consent.revoked":"\u5DF2\u64A4\u9500\u514D\u8D39\u6A21\u578B\u534F\u8BAE \u2014 \u4E0B\u6B21\u4F7F\u7528\u65F6\u5C06\u518D\u6B21\u8BF7\u6C42\u540C\u610F","tui.dialog.select.placeholder":"\u641C\u7D22","tui.dialog.select.no_results":"\u672A\u627E\u5230\u7ED3\u679C","tui.dialog.prompt.placeholder":"\u8F93\u5165\u6587\u672C","tui.dialog.prompt.busy":"\u5904\u7406\u4E2D...","tui.dialog.prompt.processing":"\u5904\u7406\u4E2D...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"\u63D0\u4EA4","tui.dialog.export.title":"\u5BFC\u51FA\u9009\u9879","tui.dialog.export.filename":"\u6587\u4EF6\u540D\uFF1A","tui.dialog.export.filename_placeholder":"\u8F93\u5165\u6587\u4EF6\u540D","tui.dialog.export.include_thinking":"\u5305\u542B\u601D\u8003\u8FC7\u7A0B","tui.dialog.export.include_tool_details":"\u5305\u542B\u5DE5\u5177\u8BE6\u60C5","tui.dialog.export.include_assistant_metadata":"\u5305\u542B\u52A9\u624B\u5143\u6570\u636E","tui.dialog.export.open_without_saving":"\u76F4\u63A5\u6253\u5F00\u4E0D\u4FDD\u5B58","tui.dialog.export.hint.toggle_prefix":"\u6309","tui.dialog.export.hint.toggle_action":"\u5207\u6362","tui.dialog.export.hint.confirm_action":"\u786E\u8BA4","tui.dialog.export.hint.options_action":"\u67E5\u770B\u9009\u9879","tui.toast.copied_to_clipboard":"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F","tui.toast.instructions_loaded":"\u5DF2\u52A0\u8F7D {{files}}","tui.toast.update_available.title":"\u6709\u65B0\u7248\u672C\u53EF\u7528","tui.toast.update_available.confirm":"\u65B0\u7248\u672C v{{version}} \u5DF2\u53D1\u5E03\uFF0C\u662F\u5426\u7ACB\u5373\u66F4\u65B0\uFF1F","tui.toast.update_available.updating":"\u6B63\u5728\u66F4\u65B0\u5230 v{{version}}...","tui.toast.update_available.failed":"\u66F4\u65B0\u5931\u8D25","tui.toast.update_available.success":"\u5DF2\u66F4\u65B0\u5230 QitQode v{{version}}\uFF0C\u8BF7\u91CD\u542F\u5E94\u7528\u3002","tui.toast.updated.title":"\u5DF2\u81EA\u52A8\u66F4\u65B0","tui.toast.updated.message":"\u5DF2\u81EA\u52A8\u5E94\u7528\u8865\u4E01\u66F4\u65B0\uFF1Av{{version}}\u3002\u91CD\u542F\u540E\u751F\u6548\u3002\u53EF\u5728\u914D\u7F6E\u4E2D\u8BBE\u7F6E autoupdate: false \u5173\u95ED\u81EA\u52A8\u66F4\u65B0\u3002","tui.sidebar.instructions":"\u6307\u4EE4\u6587\u4EF6","tui.sidebar.cwd":"\u5DE5\u4F5C\u76EE\u5F55","tui.toast.unknown_error":"\u53D1\u751F\u672A\u77E5\u9519\u8BEF","tui.command.docs.open.title":"\u6253\u5F00\u6587\u6863","tui.command.app.exit.title":"\u9000\u51FA\u5E94\u7528","tui.command.app.debug.title":"\u5207\u6362\u8C03\u8BD5\u9762\u677F","tui.command.app.console.title":"\u5207\u6362\u63A7\u5236\u53F0","tui.command.app.heap_snapshot.title":"\u5BFC\u51FA\u5806\u5FEB\u7167","tui.command.terminal.suspend.title":"\u6302\u8D77\u7EC8\u7AEF","tui.command.terminal.title.disable":"\u7981\u7528\u7EC8\u7AEF\u6807\u9898","tui.command.terminal.title.enable":"\u542F\u7528\u7EC8\u7AEF\u6807\u9898","tui.command.app.toggle.animations.disable":"\u7981\u7528\u52A8\u753B","tui.command.app.toggle.animations.enable":"\u542F\u7528\u52A8\u753B","tui.command.app.toggle.diffwrap.disable":"\u7981\u7528 diff \u81EA\u52A8\u6362\u884C","tui.command.app.toggle.diffwrap.enable":"\u542F\u7528 diff \u81EA\u52A8\u6362\u884C","tui.command.app.toggle.sound.disable":"\u7981\u7528\u58F0\u97F3","tui.command.app.toggle.sound.enable":"\u542F\u7528\u58F0\u97F3","tui.command.logout.toast":"\u5DF2\u767B\u51FA","tui.command.session.share.title":"\u5206\u4EAB\u4F1A\u8BDD","tui.command.session.share.copy_link":"\u590D\u5236\u5206\u4EAB\u94FE\u63A5","tui.command.session.rename.title":"\u91CD\u547D\u540D\u4F1A\u8BDD","tui.command.session.timeline.title":"\u8DF3\u8F6C\u5230\u6D88\u606F","tui.command.session.fork.title":"\u6D3E\u751F\u4F1A\u8BDD","tui.command.session.compact.title":"\u538B\u7F29\u4F1A\u8BDD","tui.command.session.unshare.title":"\u53D6\u6D88\u5206\u4EAB","tui.command.session.undo.title":"\u64A4\u9500\u4E0A\u4E00\u6761\u6D88\u606F","tui.command.session.redo.title":"\u91CD\u505A","tui.command.session.sidebar.show":"\u663E\u793A\u4FA7\u680F","tui.command.session.sidebar.hide":"\u9690\u85CF\u4FA7\u680F","tui.command.session.conceal.disable":"\u5173\u95ED\u4EE3\u7801\u9690\u85CF","tui.command.session.conceal.enable":"\u5F00\u542F\u4EE3\u7801\u9690\u85CF","tui.command.session.timestamps.show":"\u663E\u793A\u65F6\u95F4\u6233","tui.command.session.timestamps.hide":"\u9690\u85CF\u65F6\u95F4\u6233","tui.command.session.thinking.expand":"\u5C55\u5F00\u601D\u8003\u8FC7\u7A0B","tui.command.session.thinking.collapse":"\u6298\u53E0\u601D\u8003\u8FC7\u7A0B","tui.command.session.tool_details.show":"\u663E\u793A\u5DE5\u5177\u8BE6\u60C5","tui.command.session.tool_details.hide":"\u9690\u85CF\u5DE5\u5177\u8BE6\u60C5","tui.command.session.scrollbar.toggle":"\u5207\u6362\u4F1A\u8BDD\u6EDA\u52A8\u6761","tui.command.session.generic_tool_output.show":"\u663E\u793A\u901A\u7528\u5DE5\u5177\u8F93\u51FA","tui.command.session.generic_tool_output.hide":"\u9690\u85CF\u901A\u7528\u5DE5\u5177\u8F93\u51FA","tui.command.session.page_up.title":"\u4E0A\u7FFB\u4E00\u9875","tui.command.session.page_down.title":"\u4E0B\u7FFB\u4E00\u9875","tui.command.session.line_up.title":"\u5411\u4E0A\u4E00\u884C","tui.command.session.line_down.title":"\u5411\u4E0B\u4E00\u884C","tui.command.session.half_page_up.title":"\u5411\u4E0A\u534A\u9875","tui.command.session.half_page_down.title":"\u5411\u4E0B\u534A\u9875","tui.command.session.first.title":"\u7B2C\u4E00\u6761\u6D88\u606F","tui.command.session.last.title":"\u6700\u540E\u4E00\u6761\u6D88\u606F","tui.command.session.last_user.title":"\u8DF3\u5230\u6700\u540E\u4E00\u6761\u7528\u6237\u6D88\u606F","tui.command.session.message_next.title":"\u4E0B\u4E00\u6761\u6D88\u606F","tui.command.session.message_previous.title":"\u4E0A\u4E00\u6761\u6D88\u606F","tui.command.messages.copy.title":"\u590D\u5236\u6700\u540E\u4E00\u6761\u52A9\u624B\u6D88\u606F","tui.command.session.copy.title":"\u590D\u5236\u4F1A\u8BDD\u8BB0\u5F55","tui.command.session.export.title":"\u5BFC\u51FA\u4F1A\u8BDD\u8BB0\u5F55","tui.command.session.child_first.title":"\u8FDB\u5165\u5B50\u4F1A\u8BDD","tui.command.session.parent.title":"\u8FD4\u56DE\u7236\u4F1A\u8BDD","tui.command.session.child_next.title":"\u4E0B\u4E00\u4E2A\u5B50\u4F1A\u8BDD","tui.command.session.child_previous.title":"\u4E0A\u4E00\u4E2A\u5B50\u4F1A\u8BDD","tui.command.prompt.clear.title":"\u6E05\u7A7A\u63D0\u793A\u6846","tui.command.prompt.submit.title":"\u63D0\u4EA4\u63D0\u793A\u8BCD","tui.command.prompt.paste.title":"\u7C98\u8D34","tui.command.session.interrupt.title":"\u4E2D\u65AD\u4F1A\u8BDD","tui.command.prompt.editor.title":"\u6253\u5F00\u7F16\u8F91\u5668","tui.command.prompt.skills.title":"\u6280\u80FD","tui.command.voice.toggle.title":"\u5207\u6362\u8BED\u97F3\u8F93\u5165","tui.command.voice.toggle.title_on":"\u8BED\u97F3\u8F93\u5165\uFF1A\u5DF2\u5F00\u542F \u2014 \u70B9\u51FB\u5173\u95ED","tui.command.voice.toggle.title_off":"\u8BED\u97F3\u8F93\u5165\uFF1A\u5DF2\u5173\u95ED \u2014 \u70B9\u51FB\u5F00\u542F","tui.command.voice.send.title":"\u5207\u6362\u8BED\u97F3\u53D1\u9001\u6307\u4EE4","tui.command.voice.send.title_on":"\u8BED\u97F3\u53D1\u9001\uFF1A\u5DF2\u5F00\u542F \u2014 \u70B9\u51FB\u5173\u95ED","tui.command.voice.send.title_off":"\u8BED\u97F3\u53D1\u9001\uFF1A\u5DF2\u5173\u95ED \u2014 \u70B9\u51FB\u5F00\u542F","tui.voice.enabled":"\u8BED\u97F3\u8F93\u5165\u5DF2\u542F\u7528\uFF08\u4E2D\u6587/\u82F1\u6587\uFF09\u2014 \u70B9\u51FB [Voice] \u5F00\u59CB\u5F55\u97F3","tui.voice.disabled":"\u8BED\u97F3\u8F93\u5165\u5DF2\u5173\u95ED","tui.voice.send.enabled":"\u8BED\u97F3\u53D1\u9001\u5DF2\u542F\u7528 \u2014 \u505C\u987F\u540E\u6E05\u6670\u5FF5\u51FA\u300C\u53D1\u9001\u300D\u5373\u53EF\u63D0\u4EA4","tui.voice.send.disabled":"\u8BED\u97F3\u53D1\u9001\u5DF2\u5173\u95ED","tui.voice.control.enabled":"\u8BED\u97F3\u63A7\u5236\u5DF2\u542F\u7528 \u2014 \u4F7F\u7528\u591A\u6A21\u6001\u6A21\u578B\u667A\u80FD\u7F16\u8F91\uFF08\u8F83\u6162\uFF09","tui.voice.control.disabled":"\u8BED\u97F3\u63A7\u5236\u5DF2\u5173\u95ED \u2014 \u4F7F\u7528\u5FEB\u901F ASR \u8F6C\u5199","tui.command.voice.control.title":"\u5207\u6362\u8BED\u97F3\u63A7\u5236\uFF08\u591A\u6A21\u6001\uFF09","tui.command.voice.control.title_on":"\u8BED\u97F3\u63A7\u5236\uFF1A\u5DF2\u5F00\u542F\uFF08\u591A\u6A21\u6001\uFF09 \u2014 \u70B9\u51FB\u5173\u95ED","tui.command.voice.control.title_off":"\u8BED\u97F3\u63A7\u5236\uFF1A\u5DF2\u5173\u95ED\uFF08\u5FEB\u901F ASR\uFF09 \u2014 \u70B9\u51FB\u5F00\u542F","tui.voice.error.no_auth":"\u8BF7\u5148\u7528 /connect \u8FDE\u63A5 QitQode \u8D26\u53F7\uFF0C\u6216\u914D\u7F6E voice.asr_model \u6307\u5B9A\u5176\u4ED6 provider","tui.voice.error.no_auth_provider":"\u8BED\u97F3 provider\u300C{{provider}}\u300D\u672A\u8BA4\u8BC1\uFF0C\u8BF7\u68C0\u67E5\u5176 apiKey \u914D\u7F6E","tui.voice.error.provider_not_found":"provider\u300C{{provider}}\u300D\u4E0D\u53EF\u7528 \u2014 \u8BF7 /connect \u8FDE\u63A5\uFF0C\u81EA\u5B9A\u4E49\u7AEF\u70B9\u9700\u5728\u914D\u7F6E\u4E2D\u58F0\u660E models","tui.voice.error.no_url":"provider\u300C{{provider}}\u300D\u672A\u914D\u7F6E baseURL\uFF0C\u8BF7\u5728 options.baseURL \u4E2D\u6307\u5B9A","tui.voice.error.no_device":"\u672A\u68C0\u6D4B\u5230\u9EA6\u514B\u98CE/\u97F3\u9891\u8BBE\u5907 \u2014 \u8BF7\u68C0\u67E5\u7CFB\u7EDF\u97F3\u9891\u8BBE\u7F6E","tui.voice.error.recorder_failed":"\u5F55\u97F3\u5931\u8D25","tui.voice.error.no_recorder":"\u672A\u68C0\u6D4B\u5230\u5F55\u97F3\u5DE5\u5177\uFF0C\u8BF7\u5B89\u88C5 sox","tui.voice.error.too_short":"\u5F55\u97F3\u65F6\u95F4\u8FC7\u77ED","tui.voice.error.network":"\u8F6C\u5199\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC","tui.voice.error.empty_send":"\u65E0\u5185\u5BB9\u53EF\u53D1\u9001","tui.voice.error.unknown_agent":"\u672A\u627E\u5230 agent\u300C{{name}}\u300D","tui.command.prompt.stash.title":"\u6682\u5B58\u63D0\u793A\u8BCD","tui.command.prompt.stash.pop.title":"\u5F39\u51FA\u6682\u5B58","tui.command.prompt.stash.list.title":"\u6682\u5B58\u5217\u8868","tui.command.tips.toggle.show":"\u663E\u793A Tips","tui.command.tips.toggle.hide":"\u9690\u85CF Tips","tui.command.plugins.list.title":"\u63D2\u4EF6","tui.command.plugins.install.title":"\u5B89\u88C5\u63D2\u4EF6","tui.dialog.login.title":"QitQode \u767B\u5F55","cli.providers.select":"\u9009\u62E9\u670D\u52A1\u5546","cli.providers.other":"\u5176\u4ED6 Provider","tui.dialog.login.import_claude":"\u4ECE Claude Code \u5BFC\u5165","tui.dialog.login.other":"\u5176\u4ED6\u670D\u52A1\u5546","tui.dialog.login.import_claude.no_key":"\u672A\u627E\u5230 Claude Code API Key","tui.dialog.login.import_claude.read_failed":"\u8BFB\u53D6 ~/.claude/settings.json \u5931\u8D25","tui.dialog.login.import_claude.success":"\u5DF2\u4ECE Claude Code \u5BFC\u5165\u914D\u7F6E","tui.question.plan_enter.question":"\u662F\u5426\u5207\u6362\u5230 plan \u6A21\u5F0F\u8FDB\u884C\u7ED3\u6784\u5316\u89C4\u5212\uFF1F","tui.question.plan_enter.header":"\u8FDB\u5165\u8BA1\u5212","tui.question.plan_enter.option.0.label":"\u662F","tui.question.plan_enter.option.0.description":"\u5207\u6362\u5230 plan \u667A\u80FD\u4F53\u8FDB\u884C\u53EA\u8BFB\u89C4\u5212","tui.question.plan_enter.option.1.label":"\u5426","tui.question.plan_enter.option.1.description":"\u7559\u5728\u5F53\u524D\u6A21\u5F0F","tui.question.plan_exit.question":"{{plan}} \u5904\u7684\u8BA1\u5212\u5DF2\u5B8C\u6210\u3002\u662F\u5426\u5207\u6362\u5230 build \u667A\u80FD\u4F53\u5F00\u59CB\u5B9E\u73B0\uFF1F","tui.question.plan_exit.header":"\u9000\u51FA\u8BA1\u5212","tui.question.plan_exit.option.0.label":"\u662F","tui.question.plan_exit.option.0.description":"\u5207\u6362\u5230 build \u667A\u80FD\u4F53\u5E76\u5F00\u59CB\u5B9E\u73B0\u8BA1\u5212","tui.question.plan_exit.option.1.label":"\u5426","tui.question.plan_exit.option.1.description":"\u7559\u5728 plan \u667A\u80FD\u4F53\u7EE7\u7EED\u5B8C\u5584\u8BA1\u5212","tui.session.badge.auto":"\u81EA\u52A8","trust.title":"\u8BBF\u95EE\u5DE5\u4F5C\u533A\uFF1A","trust.safety_check":"\u5B89\u5168\u786E\u8BA4\uFF1A\u8FD9\u662F\u4F60\u81EA\u5DF1\u521B\u5EFA\u6216\u4FE1\u4EFB\u7684\u9879\u76EE\u5417\uFF1F\uFF08\u5982\u4F60\u81EA\u5DF1\u7684\u4EE3\u7801\u3001\u77E5\u540D\u5F00\u6E90\u9879\u76EE\u6216\u56E2\u961F\u5185\u90E8\u9879\u76EE\uFF09\u3002\u5982\u679C\u4E0D\u662F\uFF0C\u8BF7\u5148\u68C0\u67E5\u6B64\u76EE\u5F55\u4E0B\u7684\u5185\u5BB9\u3002","trust.capabilities":"QitQode \u5C06\u80FD\u591F\u8BFB\u53D6\u3001\u7F16\u8F91\u548C\u6267\u884C\u6B64\u76EE\u5F55\u4E2D\u7684\u6587\u4EF6\u3002","trust.plugin_warn":"\u5982\u679C\u6B64\u76EE\u5F55\u4E2D\u5B58\u5728\u6076\u610F\u63D2\u4EF6\uFF0C\u5B83\u4EEC\u53EF\u4EE5\u6267\u884C\u4EFB\u610F\u4EE3\u7801\u3001\u8BFB\u53D6\u3001\u4FEE\u6539\u6216\u7A83\u53D6\u4F60\u7684\u6587\u4EF6\u3002","trust.option.yes":"\u662F\u7684\uFF0C\u6211\u4FE1\u4EFB\u6B64\u76EE\u5F55","trust.option.no":"\u5426\uFF0C\u9000\u51FA","trust.dangerous.title_home":"\u8B66\u544A\uFF1A\u4F60\u5373\u5C06\u6253\u5F00\u4E3B\u76EE\u5F55\u3002","trust.dangerous.title_root":"\u8B66\u544A\uFF1A\u4F60\u5373\u5C06\u6253\u5F00\u6587\u4EF6\u7CFB\u7EDF\u6839\u76EE\u5F55\u3002","trust.dangerous.body_home":"\u6A21\u578B\u5C06\u80FD\u591F\u8BBF\u95EE\u4F60\u6240\u6709\u7684\u4E2A\u4EBA\u6587\u4EF6 \u2014 SSH \u5BC6\u94A5\u3001\u51ED\u8BC1\u3001\u6D4F\u89C8\u5668\u914D\u7F6E\u7B49\u4E3B\u76EE\u5F55\u4E0B\u7684\u6240\u6709\u5185\u5BB9\u3002","trust.dangerous.body_root":"\u6A21\u578B\u5C06\u80FD\u591F\u8BBF\u95EE\u6574\u4E2A\u6587\u4EF6\u7CFB\u7EDF \u2014 \u7CFB\u7EDF\u6587\u4EF6\u3001\u6240\u6709\u7528\u6237\u6570\u636E\u3001\u51ED\u8BC1\u4EE5\u53CA\u8FD9\u53F0\u673A\u5668\u4E0A\u7684\u4E00\u5207\u3002","trust.dangerous.advice_home":"\u9664\u975E\u6709\u660E\u786E\u7684\u7406\u7531\uFF0C\u5426\u5219\u4E0D\u8981\u4FE1\u4EFB\u4F60\u7684\u6574\u4E2A\u4E3B\u76EE\u5F55\u3002","trust.dangerous.advice_root":"\u9664\u975E\u6709\u660E\u786E\u7684\u7406\u7531\uFF0C\u5426\u5219\u4E0D\u8981\u4FE1\u4EFB\u6587\u4EF6\u7CFB\u7EDF\u6839\u76EE\u5F55\u3002","trust.dangerous.option.yes":"\u6211\u4E86\u89E3\u98CE\u9669\uFF0C\u4EC5\u672C\u6B21\u4FE1\u4EFB","trust.dangerous.option.no":"\u9000\u51FA\uFF08\u63A8\u8350\uFF09"};
3
- export{f as Kd};
3
+ export{f as Ld};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-r9w0thdk.js";var{create:Hn,defineProperty:rt,getOwnPropertyDescriptor:Gn,getOwnPropertyNames:Zn,getPrototypeOf:Xn}=Object,zn=Object.prototype.hasOwnProperty,Vt=(t)=>{throw TypeError(t)},er=(t,e,n)=>(e in t)?rt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Le=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Qt=(t,e)=>{for(var n in e)rt(t,n,{get:e[n],enumerable:!0})},tr=(t,e,n,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let g of Zn(e))!zn.call(t,g)&&g!==n&&rt(t,g,{get:()=>e[g],enumerable:!(u=Gn(e,g))||u.enumerable});return t},bt=(t,e,n)=>(n=t!=null?Hn(Xn(t)):{},tr(e||!t||!t.__esModule?rt(n,"default",{value:t,enumerable:!0}):n,t)),Rt=(t,e,n)=>er(t,typeof e!="symbol"?e+"":e,n),wt=(t,e,n)=>e.has(t)||Vt("Cannot "+n),Ue=(t,e,n)=>(wt(t,e,"read from private field"),n?n.call(t):e.get(t)),lt=(t,e,n)=>e.has(t)?Vt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Jt=(t,e,n,u)=>(wt(t,e,"write to private field"),u?u.call(t,n):e.set(t,n),n),Xe=(t,e,n)=>(wt(t,e,"access private method"),n),Ce=Le((t)=>{var e={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},u="tag:yaml.org,2002:",g={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function E(l){let i=[0],r=l.indexOf(`
2
+ import"./chunk-f2pv705d.js";var{create:Hn,defineProperty:rt,getOwnPropertyDescriptor:Gn,getOwnPropertyNames:Zn,getPrototypeOf:Xn}=Object,zn=Object.prototype.hasOwnProperty,Vt=(t)=>{throw TypeError(t)},er=(t,e,n)=>(e in t)?rt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Le=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Qt=(t,e)=>{for(var n in e)rt(t,n,{get:e[n],enumerable:!0})},tr=(t,e,n,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let g of Zn(e))!zn.call(t,g)&&g!==n&&rt(t,g,{get:()=>e[g],enumerable:!(u=Gn(e,g))||u.enumerable});return t},bt=(t,e,n)=>(n=t!=null?Hn(Xn(t)):{},tr(e||!t||!t.__esModule?rt(n,"default",{value:t,enumerable:!0}):n,t)),Rt=(t,e,n)=>er(t,typeof e!="symbol"?e+"":e,n),wt=(t,e,n)=>e.has(t)||Vt("Cannot "+n),Ue=(t,e,n)=>(wt(t,e,"read from private field"),n?n.call(t):e.get(t)),lt=(t,e,n)=>e.has(t)?Vt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Jt=(t,e,n,u)=>(wt(t,e,"write to private field"),u?u.call(t,n):e.set(t,n),n),Xe=(t,e,n)=>(wt(t,e,"access private method"),n),Ce=Le((t)=>{var e={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},u="tag:yaml.org,2002:",g={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function E(l){let i=[0],r=l.indexOf(`
3
3
  `);for(;r!==-1;)r+=1,i.push(r),r=l.indexOf(`
4
4
  `,r);return i}function b(l){let i,r;return typeof l=="string"?(i=E(l),r=l):(Array.isArray(l)&&(l=l[0]),l&&l.context&&(l.lineStarts||(l.lineStarts=E(l.context.src)),i=l.lineStarts,r=l.context.src)),{lineStarts:i,src:r}}function T(l,i){if(typeof l!="number"||l<0)return null;let{lineStarts:r,src:s}=b(i);if(!r||!s||l>s.length)return null;for(let p=0;p<r.length;++p){let c=r[p];if(l<c)return{line:p,col:l-r[p-1]+1};if(l===c)return{line:p+1,col:1}}let o=r.length;return{line:o,col:l-r[o-1]+1}}function M(l,i){let{lineStarts:r,src:s}=b(i);if(!r||!(l>=1)||l>r.length)return null;let o=r[l-1],p=r[l];for(;p&&p>o&&s[p-1]===`
5
5
  `;)--p;return s.slice(o,p)}function I({start:l,end:i},r,s=80){let o=M(l.line,r);if(!o)return null;let{col:p}=l;if(o.length>s)if(p<=s-10)o=o.substr(0,s-1)+"\u2026";else{let C=Math.round(s/2);o.length>p+C&&(o=o.substr(0,p+C-1)+"\u2026"),p-=o.length-s,o="\u2026"+o.substr(1-s)}let c=1,h="";i&&(i.line===l.line&&p+(i.col-l.col)<=s+1?c=i.col-l.col:(c=Math.min(o.length+1,s)-p,h="\u2026"));let v=p>1?" ".repeat(p-1):"",O="^".repeat(c);return`${o}
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Pf as k}from"./chunk-p8ak162p.js";import{Mg as f}from"./chunk-v9w88wpy.js";function z(){return async(l,b)=>k(await f(l,b.options),b)}export{z as Of};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-r9w0thdk.js";var ve=Object.defineProperty,W=(e,t)=>{for(var n in t)ve(e,n,{get:t[n],enumerable:!0})},Z={};W(Z,{languages:()=>lt,options:()=>pt,parsers:()=>ue,printers:()=>zt});var Ie=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},K=Ie,ye="indent",Ae="group",Oe="if-break",q="line",xe="break-parent",ee=()=>{},w=ee,te=ee;function I(e){return w(e),{type:ye,contents:e}}function y(e,t={}){return w(e),te(t.expandedStates,!0),{type:Ae,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function O(e,t="",n={}){return w(e),t!==""&&w(t),{type:Oe,breakContents:e,flatContents:t,groupId:n.groupId}}var De={type:xe},ge={type:q,hard:!0},C={type:q},p={type:q,soft:!0},h=[ge,De];function E(e,t){w(e),te(t);let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return n}function V(e){return(t,n,r)=>{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,o=n;for(;o>=0&&o<s;){let c=t.charAt(o);if(e instanceof RegExp){if(!e.test(c))return o}else if(!e.includes(c))return o;i?o--:o++}return o===-1||o===s?o:!1}}var Ht=V(/\s/u),ne=V(" \t"),_e=V(",; \t"),ke=V(/[^\n\r]/u);function Se(e,t,n){let r=!!(n!=null&&n.backwards);if(t===!1)return!1;let i=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&i===`
2
+ import"./chunk-f2pv705d.js";var ve=Object.defineProperty,W=(e,t)=>{for(var n in t)ve(e,n,{get:t[n],enumerable:!0})},Z={};W(Z,{languages:()=>lt,options:()=>pt,parsers:()=>ue,printers:()=>zt});var Ie=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},K=Ie,ye="indent",Ae="group",Oe="if-break",q="line",xe="break-parent",ee=()=>{},w=ee,te=ee;function I(e){return w(e),{type:ye,contents:e}}function y(e,t={}){return w(e),te(t.expandedStates,!0),{type:Ae,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function O(e,t="",n={}){return w(e),t!==""&&w(t),{type:Oe,breakContents:e,flatContents:t,groupId:n.groupId}}var De={type:xe},ge={type:q,hard:!0},C={type:q},p={type:q,soft:!0},h=[ge,De];function E(e,t){w(e),te(t);let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return n}function V(e){return(t,n,r)=>{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,o=n;for(;o>=0&&o<s;){let c=t.charAt(o);if(e instanceof RegExp){if(!e.test(c))return o}else if(!e.includes(c))return o;i?o--:o++}return o===-1||o===s?o:!1}}var Ht=V(/\s/u),ne=V(" \t"),_e=V(",; \t"),ke=V(/[^\n\r]/u);function Se(e,t,n){let r=!!(n!=null&&n.backwards);if(t===!1)return!1;let i=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&i===`
3
3
  `)return t-2;if(i===`
4
4
  `||i==="\r"||i==="\u2028"||i==="\u2029")return t-1}else{if(i==="\r"&&e.charAt(t+1)===`
5
5
  `)return t+2;if(i===`