@qitqode/qitqode-android-arm64 0.1.32 → 0.1.34

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 (386) hide show
  1. package/bundle/{chunk-x4sp99g6.js → chunk-03xppy47.js} +1 -1
  2. package/bundle/{chunk-2vn41ecx.js → chunk-04hvaaje.js} +1 -1
  3. package/bundle/{chunk-6phh70sp.js → chunk-06k6egt2.js} +1 -1
  4. package/bundle/{chunk-8n20thvd.js → chunk-08f4khsw.js} +2 -2
  5. package/bundle/{chunk-mk1bfzg5.js → chunk-08m0hkdz.js} +1 -1
  6. package/bundle/{chunk-kfxv5rfg.js → chunk-09pkckr1.js} +1 -1
  7. package/bundle/{chunk-6kp07m7p.js → chunk-0c6ep9mc.js} +1 -1
  8. package/bundle/{chunk-8r6ht39z.js → chunk-0csy9x1n.js} +1 -1
  9. package/bundle/{chunk-0v0vqbn5.js → chunk-0h8wdch6.js} +1 -1
  10. package/bundle/{chunk-t56r99hp.js → chunk-0msqaywp.js} +1 -1
  11. package/bundle/chunk-0x5jn813.js +2 -0
  12. package/bundle/{chunk-vhe0tth1.js → chunk-11v7vz3y.js} +1 -1
  13. package/bundle/{chunk-1sgahe1s.js → chunk-1byd3wma.js} +1 -1
  14. package/bundle/{chunk-x3y2xzhn.js → chunk-1dtzxt2w.js} +1 -1
  15. package/bundle/{chunk-31qrzrwy.js → chunk-1gf116rg.js} +1 -1
  16. package/bundle/{chunk-hnvn2c25.js → chunk-1hmq2fpt.js} +2 -2
  17. package/bundle/{chunk-05mce0j3.js → chunk-1me21qdc.js} +1 -1
  18. package/bundle/{chunk-rvkrgkeq.js → chunk-1pg6pv0m.js} +1 -1
  19. package/bundle/{chunk-0bbs01f0.js → chunk-1yt5rsew.js} +1 -1
  20. package/bundle/{chunk-caj1b9y7.js → chunk-28cm7m3t.js} +4 -4
  21. package/bundle/chunk-28t9akfn.js +2 -0
  22. package/bundle/{chunk-6aqyhfag.js → chunk-2fkfbdcy.js} +4 -4
  23. package/bundle/{chunk-52bam8g7.js → chunk-2h1fcqvf.js} +1 -1
  24. package/bundle/chunk-2scyp9ns.js +2 -0
  25. package/bundle/{chunk-hbbsbyyq.js → chunk-2swch6mx.js} +1 -1
  26. package/bundle/chunk-2tw58kwb.js +2 -0
  27. package/bundle/chunk-2vxx0tax.js +2 -0
  28. package/bundle/chunk-2ybt3p5z.js +2 -0
  29. package/bundle/chunk-2zpkw3ge.js +2 -0
  30. package/bundle/{chunk-xthkjax9.js → chunk-34p46th6.js} +1 -1
  31. package/bundle/chunk-397be2x0.js +2 -0
  32. package/bundle/chunk-3c78nkgn.js +2 -0
  33. package/bundle/{chunk-7xm75w1e.js → chunk-3k2b05fv.js} +1 -1
  34. package/bundle/{chunk-tvdmnee6.js → chunk-3mzcr3fw.js} +1 -1
  35. package/bundle/{chunk-wqj0xasg.js → chunk-3vnnxq40.js} +1 -1
  36. package/bundle/{chunk-enpzvmtc.js → chunk-41v0x1jk.js} +1 -1
  37. package/bundle/chunk-425mq6k8.js +2 -0
  38. package/bundle/chunk-43yv7tz1.js +2 -0
  39. package/bundle/{chunk-78ymd20x.js → chunk-499gp5g5.js} +1 -1
  40. package/bundle/{chunk-m2q317gh.js → chunk-4ntbxet5.js} +1 -1
  41. package/bundle/chunk-4sw6frjt.js +2 -0
  42. package/bundle/{chunk-rzhdkkpz.js → chunk-4ttf9rjd.js} +1 -1
  43. package/bundle/{chunk-vywnd5sf.js → chunk-4wxxyrxn.js} +1 -1
  44. package/bundle/chunk-4xw14sed.js +2 -0
  45. package/bundle/chunk-536naqqv.js +2 -0
  46. package/bundle/chunk-57najm15.js +2 -0
  47. package/bundle/{chunk-60v5jvgt.js → chunk-5a7fs1hg.js} +1 -1
  48. package/bundle/chunk-5he3d7cy.js +2 -0
  49. package/bundle/{chunk-2phz0bn9.js → chunk-5vzrn6za.js} +1 -1
  50. package/bundle/{chunk-zaks8cae.js → chunk-5xq3h51b.js} +1 -1
  51. package/bundle/{chunk-gwp17r03.js → chunk-67d5d8mr.js} +1 -1
  52. package/bundle/{chunk-5pb551dx.js → chunk-696z96a6.js} +1 -1
  53. package/bundle/{chunk-yek0sk2q.js → chunk-6a7c7wnf.js} +1 -1
  54. package/bundle/{chunk-9gazyynx.js → chunk-6b196wjz.js} +2 -2
  55. package/bundle/{chunk-fgg9txzb.js → chunk-6gb65bv1.js} +1 -1
  56. package/bundle/chunk-6hybp2mt.js +2 -0
  57. package/bundle/{chunk-d6ry9418.js → chunk-6p94fpbn.js} +2 -2
  58. package/bundle/{chunk-xcmgkc57.js → chunk-6styp5dn.js} +1 -1
  59. package/bundle/{chunk-85wcc1tp.js → chunk-6v9nbb4c.js} +1 -1
  60. package/bundle/chunk-6y423jax.js +3 -0
  61. package/bundle/{chunk-ejrhvy38.js → chunk-6ynxf3q7.js} +1 -1
  62. package/bundle/{chunk-cfgvm15x.js → chunk-71zw0qhf.js} +1 -1
  63. package/bundle/chunk-72ghkgcn.js +2 -0
  64. package/bundle/{chunk-bh53dz71.js → chunk-7311jry1.js} +1 -1
  65. package/bundle/{chunk-d07p6fpk.js → chunk-73myw3bj.js} +2 -2
  66. package/bundle/chunk-741teh8k.js +2 -0
  67. package/bundle/{chunk-10bjs581.js → chunk-79agp7v3.js} +2 -2
  68. package/bundle/chunk-7b3wx6kn.js +2 -0
  69. package/bundle/{chunk-wmqsdt2c.js → chunk-7bwe0ayr.js} +1 -1
  70. package/bundle/{chunk-40efytmk.js → chunk-7eexey82.js} +1 -1
  71. package/bundle/chunk-7hh0654f.js +3 -0
  72. package/bundle/{chunk-33e9y2aw.js → chunk-7mxt5b0h.js} +1 -1
  73. package/bundle/{chunk-yjf3kyej.js → chunk-7vd91wsd.js} +1 -1
  74. package/bundle/{chunk-nv3eyyaj.js → chunk-81trveht.js} +1 -1
  75. package/bundle/{chunk-dnwefyhv.js → chunk-8762ty72.js} +1 -1
  76. package/bundle/{chunk-qc8rsn4v.js → chunk-891yevv2.js} +1 -1
  77. package/bundle/{chunk-15j5cn4t.js → chunk-8d5k45yj.js} +1 -1
  78. package/bundle/{chunk-we9cv8we.js → chunk-8eje5baf.js} +2 -2
  79. package/bundle/{chunk-8qswepp2.js → chunk-8ktgy41r.js} +1 -1
  80. package/bundle/{chunk-w18xs2h5.js → chunk-8q73cjyj.js} +1 -1
  81. package/bundle/chunk-8y623qdx.js +2 -0
  82. package/bundle/chunk-921vn745.js +2 -0
  83. package/bundle/{chunk-4jtxtkj7.js → chunk-94pcpztx.js} +2 -2
  84. package/bundle/{chunk-a7amey9s.js → chunk-9fxkh84w.js} +1 -1
  85. package/bundle/{chunk-pv67gwce.js → chunk-9msnx26q.js} +1 -1
  86. package/bundle/{chunk-8hytwgwf.js → chunk-9qdr9t8c.js} +1 -1
  87. package/bundle/{chunk-gt31468k.js → chunk-9x25d115.js} +1 -1
  88. package/bundle/{chunk-5jx0yadh.js → chunk-9y97bzht.js} +2 -2
  89. package/bundle/{chunk-zs8kqdsf.js → chunk-a0rp7gh4.js} +2 -2
  90. package/bundle/{chunk-tq0239xp.js → chunk-a3a1trap.js} +1 -1
  91. package/bundle/{chunk-n9xns8by.js → chunk-a48t0g95.js} +2 -2
  92. package/bundle/chunk-a8119c3a.js +2 -0
  93. package/bundle/chunk-akk84fnc.js +2 -0
  94. package/bundle/chunk-aw7j7brm.js +2 -0
  95. package/bundle/{chunk-js1n8tgv.js → chunk-azhw650z.js} +1 -1
  96. package/bundle/chunk-b34t8v7x.js +2 -0
  97. package/bundle/{chunk-t8m74g39.js → chunk-b4knxpqh.js} +1 -1
  98. package/bundle/chunk-b8hmj4jq.js +2 -0
  99. package/bundle/{chunk-jef04wyf.js → chunk-ba3h1pzs.js} +1 -1
  100. package/bundle/{chunk-71xz70r9.js → chunk-bbzztav6.js} +1 -1
  101. package/bundle/{chunk-dactgryw.js → chunk-bj00xk8k.js} +1 -1
  102. package/bundle/{chunk-59yqvk48.js → chunk-bja8q0ke.js} +1 -1
  103. package/bundle/{chunk-cxnfy6qk.js → chunk-bk4phk66.js} +1 -1
  104. package/bundle/{chunk-e01wnqvc.js → chunk-bnss5dkk.js} +1 -1
  105. package/bundle/{chunk-fvzwbjh8.js → chunk-bv29k2pf.js} +1 -1
  106. package/bundle/{chunk-v1xjc3s8.js → chunk-by855es0.js} +1 -1
  107. package/bundle/{chunk-zy9w1vkc.js → chunk-c5fa8cb1.js} +1 -1
  108. package/bundle/{chunk-x9rbv6p6.js → chunk-c5pb87yf.js} +1 -1
  109. package/bundle/{chunk-ck2gfaba.js → chunk-c6vfwjg4.js} +1 -1
  110. package/bundle/chunk-cfw9pyt7.js +2 -0
  111. package/bundle/chunk-ckbwdrm3.js +2 -0
  112. package/bundle/{chunk-3632wgg1.js → chunk-cs38g1bx.js} +1 -1
  113. package/bundle/{chunk-53bqcctj.js → chunk-cz3h5n1v.js} +1 -1
  114. package/bundle/{chunk-rg0mrprz.js → chunk-d00c1k9w.js} +1 -1
  115. package/bundle/{chunk-zqqx96jx.js → chunk-d80hk5x9.js} +1 -1
  116. package/bundle/{chunk-wezarrvy.js → chunk-d8dk05kd.js} +1 -1
  117. package/bundle/{chunk-p18axz0m.js → chunk-dcndy4sr.js} +1 -1
  118. package/bundle/{chunk-e7ny0b3x.js → chunk-dctj3c22.js} +1 -1
  119. package/bundle/{chunk-vvxmwyrw.js → chunk-df2aswz3.js} +1 -1
  120. package/bundle/{chunk-skqbaadf.js → chunk-dffhkd30.js} +1 -1
  121. package/bundle/{chunk-pe29yy6s.js → chunk-dhqaqeq6.js} +1 -1
  122. package/bundle/chunk-dwajajaq.js +2 -0
  123. package/bundle/{chunk-dryzt12j.js → chunk-dxcrggvq.js} +1 -1
  124. package/bundle/{chunk-fn9h4ync.js → chunk-dyv2hqvc.js} +1 -1
  125. package/bundle/{chunk-93p131d5.js → chunk-e6xnynaz.js} +1 -1
  126. package/bundle/chunk-e7ah0e61.js +2 -0
  127. package/bundle/{chunk-tqj69nh6.js → chunk-e7v9trve.js} +2 -2
  128. package/bundle/{chunk-chpr8ekb.js → chunk-ebcdxmdd.js} +1 -1
  129. package/bundle/{chunk-zw815d68.js → chunk-ee23d2nz.js} +2 -2
  130. package/bundle/chunk-efndtzby.js +2 -0
  131. package/bundle/{chunk-gb00fh4z.js → chunk-egn55fa2.js} +3 -3
  132. package/bundle/chunk-eq2pepce.js +2 -0
  133. package/bundle/{chunk-7tr9ejyk.js → chunk-esp6jv63.js} +1 -1
  134. package/bundle/chunk-f693s9vn.js +2 -0
  135. package/bundle/chunk-f9v5n0t6.js +2 -0
  136. package/bundle/{chunk-za7mwbye.js → chunk-fdadk5tw.js} +1 -1
  137. package/bundle/{chunk-0dt0bxz6.js → chunk-fg35hwa0.js} +2 -2
  138. package/bundle/{chunk-ktzq4ha1.js → chunk-fmq0m4k5.js} +1 -1
  139. package/bundle/chunk-ftepqwyq.js +2 -0
  140. package/bundle/{chunk-jh0bw59r.js → chunk-g4gjz7sq.js} +1 -1
  141. package/bundle/{chunk-w7vh8cxt.js → chunk-g4nq9swr.js} +1 -1
  142. package/bundle/{chunk-g5rabwre.js → chunk-g6cyhxwg.js} +2 -2
  143. package/bundle/{chunk-k7aenxan.js → chunk-gdb67zmn.js} +1 -1
  144. package/bundle/{chunk-a1wdeapb.js → chunk-ggydr1ze.js} +1 -1
  145. package/bundle/chunk-gk28ffhg.js +2 -0
  146. package/bundle/{chunk-c11d28qn.js → chunk-gmzrvxnv.js} +2 -2
  147. package/bundle/chunk-gpfc4z4v.js +2 -0
  148. package/bundle/chunk-gqvg02zp.js +2 -0
  149. package/bundle/{chunk-3c6p8tm3.js → chunk-gws1rn1v.js} +1 -1
  150. package/bundle/{chunk-hnzegjgv.js → chunk-gy0wm7e1.js} +1 -1
  151. package/bundle/{chunk-zcsgqk9f.js → chunk-h2m8fdqm.js} +1 -1
  152. package/bundle/{chunk-pp2eqkse.js → chunk-h3k1dk9m.js} +1 -1
  153. package/bundle/chunk-h8c3dcqt.js +2 -0
  154. package/bundle/chunk-hfq11w4h.js +2 -0
  155. package/bundle/{chunk-nkkch4h7.js → chunk-hg0etbkx.js} +1 -1
  156. package/bundle/{chunk-01my2y0c.js → chunk-hj3ddt53.js} +1 -1
  157. package/bundle/{chunk-ay8emwym.js → chunk-hw5qyht3.js} +1 -1
  158. package/bundle/chunk-hwf58w1k.js +2 -0
  159. package/bundle/{chunk-rza530gm.js → chunk-j0jdkqf5.js} +1 -1
  160. package/bundle/{chunk-ezfy0b6q.js → chunk-j8q252w3.js} +2 -2
  161. package/bundle/{chunk-kq6b222y.js → chunk-jgjnz82k.js} +1 -1
  162. package/bundle/{chunk-wfb608qf.js → chunk-jkh6eg7d.js} +3 -3
  163. package/bundle/{chunk-xrs18kzn.js → chunk-jm722vy1.js} +1 -1
  164. package/bundle/chunk-kdvs4871.js +2 -0
  165. package/bundle/{chunk-6hpgb8h4.js → chunk-ke7n9t5p.js} +3 -3
  166. package/bundle/{chunk-vcw00k0n.js → chunk-keveg5gx.js} +2 -2
  167. package/bundle/{chunk-dxpj0cxh.js → chunk-kfmz2p27.js} +2 -2
  168. package/bundle/{chunk-xm7wascx.js → chunk-kjyw00jp.js} +1 -1
  169. package/bundle/chunk-kk3ve911.js +2 -0
  170. package/bundle/{chunk-gsar6xda.js → chunk-kmcsz8yv.js} +1 -1
  171. package/bundle/{chunk-mqd1jsg2.js → chunk-knpyt206.js} +1 -1
  172. package/bundle/{chunk-4cnwn1rh.js → chunk-kv72hxkp.js} +2 -2
  173. package/bundle/{chunk-kj20f048.js → chunk-kwx9ewe0.js} +1 -1
  174. package/bundle/chunk-m4j7jyrd.js +3 -0
  175. package/bundle/{chunk-5hw6xa49.js → chunk-md8161zd.js} +1 -1
  176. package/bundle/{chunk-r7sqdfad.js → chunk-mdts0641.js} +1 -1
  177. package/bundle/{chunk-xzrb857v.js → chunk-mex0fe9s.js} +1 -1
  178. package/bundle/{chunk-ctaze2hn.js → chunk-mf3sm0pk.js} +1 -1
  179. package/bundle/chunk-mkng9ykt.js +2 -0
  180. package/bundle/{chunk-mzs2pjyc.js → chunk-mpygdb5a.js} +2 -2
  181. package/bundle/{chunk-81qwdg5s.js → chunk-mq6jn47r.js} +1 -1
  182. package/bundle/{chunk-yp8wyzzm.js → chunk-mr8j7rc6.js} +1 -1
  183. package/bundle/{chunk-h4j5xzc8.js → chunk-n6gtdx5h.js} +1 -1
  184. package/bundle/{chunk-h2afsbm1.js → chunk-n6msxne8.js} +1 -1
  185. package/bundle/{chunk-jbx3s7nw.js → chunk-n96tvjgj.js} +2 -2
  186. package/bundle/{chunk-9f1z9xce.js → chunk-ngccf7ga.js} +1 -1
  187. package/bundle/chunk-nj4d554m.js +11 -0
  188. package/bundle/{chunk-dynv30gm.js → chunk-nj61v4n7.js} +1 -1
  189. package/bundle/{chunk-12vef2pr.js → chunk-nkk4fyqf.js} +1 -1
  190. package/bundle/{chunk-gbpvs0fx.js → chunk-nmehsm3w.js} +1 -1
  191. package/bundle/chunk-npv80mcx.js +2 -0
  192. package/bundle/{chunk-rkyf0cp8.js → chunk-ny9hnvzy.js} +1 -1
  193. package/bundle/{chunk-ew9pdrp9.js → chunk-p15sv2dg.js} +1 -1
  194. package/bundle/{chunk-73e409hd.js → chunk-p3qkexpk.js} +1 -1
  195. package/bundle/{chunk-yhbcbjfk.js → chunk-p825vsjy.js} +1 -1
  196. package/bundle/{chunk-rbk8seme.js → chunk-p9cnzxb8.js} +1 -1
  197. package/bundle/chunk-pe98rznj.js +2 -0
  198. package/bundle/{chunk-15hw2z9t.js → chunk-pkc4ddw1.js} +1 -1
  199. package/bundle/{chunk-x25zkrz7.js → chunk-ppkqr9cn.js} +1 -1
  200. package/bundle/{chunk-1gx18dm5.js → chunk-prh3c44x.js} +1 -1
  201. package/bundle/{chunk-zscer8rc.js → chunk-pxmhe36r.js} +1 -1
  202. package/bundle/{chunk-2wajs9xv.js → chunk-q1czj6be.js} +1 -1
  203. package/bundle/{chunk-d3ermm6d.js → chunk-q5fygrnr.js} +1 -1
  204. package/bundle/chunk-q6wm9yt0.js +2 -0
  205. package/bundle/{chunk-g7ccdh7r.js → chunk-q8hd01j7.js} +1 -1
  206. package/bundle/{chunk-e10py6yr.js → chunk-qa2j0qmy.js} +1 -1
  207. package/bundle/chunk-qbx70v64.js +2 -0
  208. package/bundle/{chunk-ad72gb5f.js → chunk-qc3ce3vc.js} +2 -2
  209. package/bundle/{chunk-g10d6x57.js → chunk-qddt2gcs.js} +1 -1
  210. package/bundle/chunk-qek6a75r.js +2 -0
  211. package/bundle/{chunk-y3b4k38p.js → chunk-qg2vk5fw.js} +1 -1
  212. package/bundle/{chunk-7z5jh4ra.js → chunk-qkjdr337.js} +1 -1
  213. package/bundle/chunk-qkk1as5n.js +2 -0
  214. package/bundle/{chunk-5q4harvc.js → chunk-qrtc3etn.js} +2 -2
  215. package/bundle/chunk-qsm9xw87.js +2 -0
  216. package/bundle/chunk-qyzze0dv.js +2 -0
  217. package/bundle/{chunk-7avcnwv8.js → chunk-qzj6027k.js} +1 -1
  218. package/bundle/{chunk-70ck4v3t.js → chunk-r0k21apr.js} +1 -1
  219. package/bundle/chunk-r2w3gr8d.js +2 -0
  220. package/bundle/chunk-r5bqcpkz.js +2 -0
  221. package/bundle/chunk-r67c858b.js +2 -0
  222. package/bundle/chunk-r9fvfkee.js +2 -0
  223. package/bundle/{chunk-3wetyrjs.js → chunk-rjy5mqwz.js} +1 -1
  224. package/bundle/{chunk-69nzndk7.js → chunk-rkwrjphh.js} +1 -1
  225. package/bundle/{chunk-0mx2psfc.js → chunk-rmve21dh.js} +1 -1
  226. package/bundle/chunk-rq47pn3r.js +2 -0
  227. package/bundle/{chunk-b8gjz6bk.js → chunk-rq4w0by4.js} +1 -1
  228. package/bundle/{chunk-jrqb0jwy.js → chunk-rsszcqxd.js} +1 -1
  229. package/bundle/{chunk-xvwvd4kq.js → chunk-rv1stdvb.js} +1 -1
  230. package/bundle/chunk-rvt1tdy8.js +2 -0
  231. package/bundle/{chunk-3bxg5bta.js → chunk-ry7q8xn6.js} +1 -1
  232. package/bundle/{chunk-rjd8gbs5.js → chunk-ryfqwsft.js} +1 -1
  233. package/bundle/chunk-s27xvrft.js +2 -0
  234. package/bundle/chunk-s2vasbwj.js +2 -0
  235. package/bundle/{chunk-p9qfbr02.js → chunk-s4qtphwx.js} +1 -1
  236. package/bundle/{chunk-qrsveve6.js → chunk-s8hq6trz.js} +1 -1
  237. package/bundle/chunk-scy39p6q.js +2 -0
  238. package/bundle/{chunk-71sjjjr8.js → chunk-seghf5fc.js} +1 -1
  239. package/bundle/{chunk-2zq4k837.js → chunk-sfes6pp1.js} +1 -1
  240. package/bundle/chunk-shenqgrx.js +2 -0
  241. package/bundle/{chunk-htz93dsd.js → chunk-snr44en9.js} +2 -2
  242. package/bundle/{chunk-cphrgyp6.js → chunk-ssk8tkwd.js} +1 -1
  243. package/bundle/{chunk-jdynx7m6.js → chunk-sz0gkx88.js} +1 -1
  244. package/bundle/{chunk-yv0xrnn9.js → chunk-t5qamf96.js} +1 -1
  245. package/bundle/chunk-tt8jke90.js +2 -0
  246. package/bundle/chunk-ttevj0pj.js +2 -0
  247. package/bundle/chunk-v6tgn668.js +2 -0
  248. package/bundle/chunk-v7c54cyj.js +2 -0
  249. package/bundle/chunk-vgefaens.js +2 -0
  250. package/bundle/chunk-vkq0faj8.js +2 -0
  251. package/bundle/{chunk-764fksh3.js → chunk-vkqzmzpw.js} +1 -1
  252. package/bundle/{chunk-24jg9d61.js → chunk-vsr8mnj6.js} +1 -1
  253. package/bundle/{chunk-6d5rrre9.js → chunk-vszbqv24.js} +1 -1
  254. package/bundle/chunk-vv59b4re.js +2 -0
  255. package/bundle/chunk-vwqy7n3g.js +2 -0
  256. package/bundle/{chunk-y6123zvq.js → chunk-w5kg2yz0.js} +1 -1
  257. package/bundle/{chunk-ygs5pzk7.js → chunk-w9nzsd3w.js} +3 -3
  258. package/bundle/chunk-wbzs30fk.js +28 -0
  259. package/bundle/chunk-wet3bnwn.js +2 -0
  260. package/bundle/{chunk-gagtmjmp.js → chunk-wfd5h6ax.js} +2 -2
  261. package/bundle/{chunk-w8saweey.js → chunk-wfegee41.js} +1 -1
  262. package/bundle/{chunk-ht5w06x7.js → chunk-wgk7ynt3.js} +2 -2
  263. package/bundle/{chunk-257me4z3.js → chunk-wmaz57f6.js} +47 -47
  264. package/bundle/chunk-wn076jwj.js +2 -0
  265. package/bundle/{chunk-35xk4g91.js → chunk-wvf5q2hz.js} +1 -1
  266. package/bundle/{chunk-d9hbhkbq.js → chunk-wwgd4rzx.js} +2 -2
  267. package/bundle/chunk-x0m1qye9.js +2 -0
  268. package/bundle/{chunk-p62gb4wj.js → chunk-x66ycpfs.js} +1 -1
  269. package/bundle/chunk-x9s90xd1.js +3 -0
  270. package/bundle/{chunk-48ge2ryx.js → chunk-xgr6jnd6.js} +1 -1
  271. package/bundle/{chunk-q7vasbxn.js → chunk-xhkd9yf3.js} +1 -1
  272. package/bundle/{chunk-pje60pj2.js → chunk-xkv3yta0.js} +1 -1
  273. package/bundle/{chunk-2hc5z7b5.js → chunk-xqdrr7xg.js} +1 -1
  274. package/bundle/{chunk-0c2p3a6v.js → chunk-xy5cjach.js} +1 -1
  275. package/bundle/{chunk-3nx7112w.js → chunk-y370dqf3.js} +2 -2
  276. package/bundle/{chunk-ss2ms1r3.js → chunk-y437vyza.js} +1 -1
  277. package/bundle/chunk-y70aachh.js +2 -0
  278. package/bundle/{chunk-db405hjg.js → chunk-y9zstzed.js} +1 -1
  279. package/bundle/{chunk-gz8sz7z1.js → chunk-ya8g02hv.js} +1 -1
  280. package/bundle/{chunk-avf8v3hb.js → chunk-ygjtwjnk.js} +1 -1
  281. package/bundle/{chunk-pp6vhqrr.js → chunk-yjk6zv2z.js} +1 -1
  282. package/bundle/{chunk-326p5b10.js → chunk-yk97q51d.js} +1 -1
  283. package/bundle/{chunk-kf167jw7.js → chunk-ynwkr3yh.js} +1 -1
  284. package/bundle/{chunk-y9q0hb7b.js → chunk-yqk58hf6.js} +2 -2
  285. package/bundle/chunk-ysgxt83y.js +2 -0
  286. package/bundle/{chunk-tt30dybd.js → chunk-yz6898wy.js} +1 -1
  287. package/bundle/{chunk-x562b0xk.js → chunk-z1ay3qd0.js} +1 -1
  288. package/bundle/{chunk-9emq67vc.js → chunk-z7430qxg.js} +1 -1
  289. package/bundle/{chunk-2maqde7w.js → chunk-z8gdmvgg.js} +2 -2
  290. package/bundle/chunk-za63b5mc.js +5 -0
  291. package/bundle/{chunk-vxyy2dp3.js → chunk-zfcp509b.js} +1 -1
  292. package/bundle/{chunk-x7k5yeey.js → chunk-zfn0z4sh.js} +1 -1
  293. package/bundle/{chunk-ag8kz1e7.js → chunk-zh3fny3z.js} +2 -2
  294. package/bundle/{chunk-whe7h2mj.js → chunk-zm5dfk2b.js} +1 -1
  295. package/bundle/{chunk-02jtpxe0.js → chunk-zpf31kxb.js} +1 -1
  296. package/bundle/{chunk-56z7x7h4.js → chunk-zph1c2q1.js} +2 -2
  297. package/bundle/chunk-zwdnh860.js +2 -0
  298. package/bundle/{chunk-1vb79bw1.js → chunk-zwnhf4z1.js} +1 -1
  299. package/bundle/index.js +3 -3
  300. package/bundle/parser.worker.js +2 -2
  301. package/bundle/worker.js +1 -1
  302. package/package.json +1 -1
  303. package/bundle/chunk-096pd6c4.js +0 -2
  304. package/bundle/chunk-0c5rxty9.js +0 -2
  305. package/bundle/chunk-0e86gt9r.js +0 -2
  306. package/bundle/chunk-0p27fvfr.js +0 -2
  307. package/bundle/chunk-0qs1vx97.js +0 -2
  308. package/bundle/chunk-1r95p0tp.js +0 -2
  309. package/bundle/chunk-1rhhhm88.js +0 -2
  310. package/bundle/chunk-1wbjh23g.js +0 -2
  311. package/bundle/chunk-20702epe.js +0 -2
  312. package/bundle/chunk-42p59wm4.js +0 -2
  313. package/bundle/chunk-4512pvca.js +0 -2
  314. package/bundle/chunk-456bmaww.js +0 -2
  315. package/bundle/chunk-48pajrnt.js +0 -2
  316. package/bundle/chunk-4fy9c54h.js +0 -2
  317. package/bundle/chunk-4sc82a27.js +0 -2
  318. package/bundle/chunk-59y8q9m5.js +0 -2
  319. package/bundle/chunk-5tray1fw.js +0 -3
  320. package/bundle/chunk-634pnryq.js +0 -2
  321. package/bundle/chunk-64ezpbwt.js +0 -2
  322. package/bundle/chunk-7mke41x0.js +0 -2
  323. package/bundle/chunk-7ry9cvby.js +0 -2
  324. package/bundle/chunk-7wczs9mx.js +0 -2
  325. package/bundle/chunk-7z777y9k.js +0 -2
  326. package/bundle/chunk-89w3yhf8.js +0 -2
  327. package/bundle/chunk-8dwq41q1.js +0 -28
  328. package/bundle/chunk-8v96pmqn.js +0 -2
  329. package/bundle/chunk-8y2scz6z.js +0 -2
  330. package/bundle/chunk-8zx7vnx6.js +0 -2
  331. package/bundle/chunk-94a76f8w.js +0 -2
  332. package/bundle/chunk-9ng7jjp7.js +0 -2
  333. package/bundle/chunk-9tpgnjy8.js +0 -2
  334. package/bundle/chunk-a7ym9f0v.js +0 -2
  335. package/bundle/chunk-a8f2xvy3.js +0 -2
  336. package/bundle/chunk-a99cvwta.js +0 -2
  337. package/bundle/chunk-avys5mnz.js +0 -2
  338. package/bundle/chunk-axvjd10y.js +0 -2
  339. package/bundle/chunk-b4pphqab.js +0 -2
  340. package/bundle/chunk-b6087ak4.js +0 -2
  341. package/bundle/chunk-bn0h9dny.js +0 -10
  342. package/bundle/chunk-brkqxbjy.js +0 -2
  343. package/bundle/chunk-c26qxt5g.js +0 -2
  344. package/bundle/chunk-c6zscb38.js +0 -2
  345. package/bundle/chunk-cjww2jmv.js +0 -3
  346. package/bundle/chunk-d0damw6y.js +0 -2
  347. package/bundle/chunk-dafmkrhn.js +0 -2
  348. package/bundle/chunk-dgprdym0.js +0 -2
  349. package/bundle/chunk-dsamees2.js +0 -2
  350. package/bundle/chunk-dyqpxx3b.js +0 -2
  351. package/bundle/chunk-e5mv5wnt.js +0 -2
  352. package/bundle/chunk-gwzw92jt.js +0 -2
  353. package/bundle/chunk-h6f3kbz2.js +0 -2
  354. package/bundle/chunk-hp7tssgv.js +0 -2
  355. package/bundle/chunk-ht0hbdmx.js +0 -2
  356. package/bundle/chunk-k1txw65h.js +0 -2
  357. package/bundle/chunk-k5atbdbm.js +0 -2
  358. package/bundle/chunk-k75jqg60.js +0 -3
  359. package/bundle/chunk-mahgmbt9.js +0 -2
  360. package/bundle/chunk-ngm6pqyt.js +0 -2
  361. package/bundle/chunk-ngtavamt.js +0 -2
  362. package/bundle/chunk-nkhc32s3.js +0 -2
  363. package/bundle/chunk-npse2xrd.js +0 -2
  364. package/bundle/chunk-p6e4vqy7.js +0 -2
  365. package/bundle/chunk-pqkjhn8h.js +0 -2
  366. package/bundle/chunk-qadw6j20.js +0 -2
  367. package/bundle/chunk-qd8w2gkd.js +0 -2
  368. package/bundle/chunk-qggcszs2.js +0 -2
  369. package/bundle/chunk-r8m7rtfc.js +0 -2
  370. package/bundle/chunk-rf12t4n5.js +0 -2
  371. package/bundle/chunk-rpgne7xh.js +0 -2
  372. package/bundle/chunk-rvgj1vky.js +0 -2
  373. package/bundle/chunk-s3mnrhbx.js +0 -5
  374. package/bundle/chunk-s6ktx2sx.js +0 -2
  375. package/bundle/chunk-ss2jvqrg.js +0 -2
  376. package/bundle/chunk-tvwwq4b3.js +0 -2
  377. package/bundle/chunk-v2n26eg4.js +0 -2
  378. package/bundle/chunk-wr42tphe.js +0 -2
  379. package/bundle/chunk-x24y7qyd.js +0 -2
  380. package/bundle/chunk-xj765svc.js +0 -3
  381. package/bundle/chunk-y2d0w09y.js +0 -2
  382. package/bundle/chunk-y7sy3w6z.js +0 -2
  383. package/bundle/chunk-yb79f79m.js +0 -2
  384. package/bundle/chunk-yjnyzpmt.js +0 -2
  385. package/bundle/chunk-yqbcnsa1.js +0 -2
  386. package/bundle/chunk-z3mra3nm.js +0 -2
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{De as u,Ee as f,Fe as _}from"./chunk-1sgahe1s.js";import{$e as R,Ge as z,Ie as C,Me as U,Ne as I,Pe as v,Se as b,af as T,df as S,ff as h,hf as k}from"./chunk-e7ny0b3x.js";import"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import{St as V}from"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-7xm75w1e.js";var m=class{constructor(j,G){this.modelId=j,this.config=G,this.specificationVersion="v3",this.maxImagesPerCall=1}get provider(){return this.config.provider}async doGenerate({prompt:j,n:G,size:P,aspectRatio:W,seed:N,providerOptions:K,headers:Y,abortSignal:X,files:Q,mask:q}){var F,Z,J,A,D;let $=[],B=(J=(Z=(F=this.config._internal)==null?void 0:F.currentDate)==null?void 0:Z.call(F))!=null?J:new Date;if(Q!=null&&Q.length>0){let{value:y,responseHeaders:c}=await T({url:this.getEditUrl(),headers:z(this.config.headers(),Y),formData:U({model:this.modelId,prompt:j,image:await Promise.all(Q.map((H)=>w(H))),mask:q!=null?await w(q):void 0,n:G,size:P,...(A=K.deepinfra)!=null?A:{}},{useArrayBrackets:!1}),failedResponseHandler:S({errorSchema:t,errorToMessage:(H)=>{var x,M;return(M=(x=H.error)==null?void 0:x.message)!=null?M:"Unknown error"}}),successfulResponseHandler:h(d),abortSignal:X,fetch:this.config.fetch});return{images:y.data.map((H)=>H.b64_json),warnings:$,response:{timestamp:B,modelId:this.modelId,headers:c}}}let E=P==null?void 0:P.split("x"),{value:L,responseHeaders:O}=await R({url:`${this.config.baseURL}/${this.modelId}`,headers:z(this.config.headers(),Y),body:{prompt:j,num_images:G,...W&&{aspect_ratio:W},...E&&{width:E[0],height:E[1]},...N!=null&&{seed:N},...(D=K.deepinfra)!=null?D:{}},failedResponseHandler:S({errorSchema:g,errorToMessage:(y)=>y.detail.error}),successfulResponseHandler:h(p),abortSignal:X,fetch:this.config.fetch});return{images:L.images.map((y)=>y.replace(/^data:image\/\w+;base64,/,"")),warnings:$,response:{timestamp:B,modelId:this.modelId,headers:O}}}getEditUrl(){return`${this.config.baseURL.replace("/inference","/openai")}/images/edits`}},g=V.object({detail:V.object({error:V.string()})}),p=V.object({images:V.array(V.string())}),t=V.object({error:V.object({message:V.string()}).optional()}),d=V.object({data:V.array(V.object({b64_json:V.string()}))});async function w(j){if(j.type==="url")return I(j.url);let G=j.data instanceof Uint8Array?j.data:C(j.data);return new Blob([G],{type:j.mediaType})}var l=class extends u{constructor(j,G){super(j,G)}fixUsageForGeminiModels(j){var G,P;if(!j||!((G=j.completion_tokens_details)==null?void 0:G.reasoning_tokens))return j;let W=(P=j.completion_tokens)!=null?P:0,N=j.completion_tokens_details.reasoning_tokens;if(N>W){let K=W+N;return{...j,completion_tokens:K,total_tokens:j.total_tokens!=null?j.total_tokens+N:void 0}}return j}async doGenerate(j){var G,P,W,N,K,Y,X;let Q=await super.doGenerate(j);if((G=Q.usage)==null?void 0:G.raw){let q=this.fixUsageForGeminiModels(Q.usage.raw);if(q!==Q.usage.raw){let F=(P=q.prompt_tokens)!=null?P:0,Z=(W=q.completion_tokens)!=null?W:0,J=(K=(N=q.prompt_tokens_details)==null?void 0:N.cached_tokens)!=null?K:0,A=(X=(Y=q.completion_tokens_details)==null?void 0:Y.reasoning_tokens)!=null?X:0;return{...Q,usage:{inputTokens:{total:F,noCache:F-J,cacheRead:J,cacheWrite:void 0},outputTokens:{total:Z,text:Z-A,reasoning:A},raw:q}}}}return Q}async doStream(j){let G=await super.doStream(j),P=G.stream,W=this.fixUsageForGeminiModels.bind(this),N=new ReadableStream({async start(K){var Y,X,Q,q,F,Z,J;let A=P.getReader();try{while(!0){let{done:D,value:$}=await A.read();if(D)break;if($.type==="finish"&&((Y=$.usage)==null?void 0:Y.raw)){let B=W($.usage.raw);if(B!==$.usage.raw){let E=(X=B.prompt_tokens)!=null?X:0,L=(Q=B.completion_tokens)!=null?Q:0,O=(F=(q=B.prompt_tokens_details)==null?void 0:q.cached_tokens)!=null?F:0,y=(J=(Z=B.completion_tokens_details)==null?void 0:Z.reasoning_tokens)!=null?J:0;K.enqueue({...$,usage:{inputTokens:{total:E,noCache:E-O,cacheRead:O,cacheWrite:void 0},outputTokens:{total:L,text:L-y,reasoning:y},raw:B}})}else K.enqueue($)}else K.enqueue($)}K.close()}catch(D){K.error(D)}}});return{...G,stream:N}}},n="2.0.41";function i(j={}){var G;let P=k((G=j.baseURL)!=null?G:"https://api.deepinfra.com/v1"),W=()=>v({Authorization:`Bearer ${b({apiKey:j.apiKey,environmentVariableName:"DEEPINFRA_API_KEY",description:"DeepInfra's API key"})}`,...j.headers},`ai-sdk/deepinfra/${n}`),N=(F)=>({provider:`deepinfra.${F}`,url:({path:Z})=>`${P}/openai${Z}`,headers:W,fetch:j.fetch}),K=(F)=>{return new l(F,N("chat"))},Y=(F)=>new f(F,N("completion")),X=(F)=>new _(F,N("embedding")),Q=(F)=>new m(F,{...N("image"),baseURL:P?`${P}/inference`:"https://api.deepinfra.com/v1/inference"}),q=(F)=>K(F);return q.specificationVersion="v3",q.completionModel=Y,q.chatModel=K,q.image=Q,q.imageModel=Q,q.languageModel=K,q.embeddingModel=X,q.textEmbeddingModel=X,q}var jj=i();export{jj as deepinfra,i as createDeepInfra,n as VERSION};
2
+ import{De as u,Ee as f,Fe as _}from"./chunk-1byd3wma.js";import{$e as R,Ge as z,Ie as C,Me as U,Ne as I,Pe as v,Se as b,af as T,df as S,ff as h,hf as k}from"./chunk-dctj3c22.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import{pv as V}from"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-3k2b05fv.js";var m=class{constructor(j,G){this.modelId=j,this.config=G,this.specificationVersion="v3",this.maxImagesPerCall=1}get provider(){return this.config.provider}async doGenerate({prompt:j,n:G,size:P,aspectRatio:W,seed:N,providerOptions:K,headers:Y,abortSignal:X,files:Q,mask:q}){var F,Z,J,A,D;let $=[],B=(J=(Z=(F=this.config._internal)==null?void 0:F.currentDate)==null?void 0:Z.call(F))!=null?J:new Date;if(Q!=null&&Q.length>0){let{value:y,responseHeaders:c}=await T({url:this.getEditUrl(),headers:z(this.config.headers(),Y),formData:U({model:this.modelId,prompt:j,image:await Promise.all(Q.map((H)=>w(H))),mask:q!=null?await w(q):void 0,n:G,size:P,...(A=K.deepinfra)!=null?A:{}},{useArrayBrackets:!1}),failedResponseHandler:S({errorSchema:t,errorToMessage:(H)=>{var x,M;return(M=(x=H.error)==null?void 0:x.message)!=null?M:"Unknown error"}}),successfulResponseHandler:h(d),abortSignal:X,fetch:this.config.fetch});return{images:y.data.map((H)=>H.b64_json),warnings:$,response:{timestamp:B,modelId:this.modelId,headers:c}}}let E=P==null?void 0:P.split("x"),{value:L,responseHeaders:O}=await R({url:`${this.config.baseURL}/${this.modelId}`,headers:z(this.config.headers(),Y),body:{prompt:j,num_images:G,...W&&{aspect_ratio:W},...E&&{width:E[0],height:E[1]},...N!=null&&{seed:N},...(D=K.deepinfra)!=null?D:{}},failedResponseHandler:S({errorSchema:g,errorToMessage:(y)=>y.detail.error}),successfulResponseHandler:h(p),abortSignal:X,fetch:this.config.fetch});return{images:L.images.map((y)=>y.replace(/^data:image\/\w+;base64,/,"")),warnings:$,response:{timestamp:B,modelId:this.modelId,headers:O}}}getEditUrl(){return`${this.config.baseURL.replace("/inference","/openai")}/images/edits`}},g=V.object({detail:V.object({error:V.string()})}),p=V.object({images:V.array(V.string())}),t=V.object({error:V.object({message:V.string()}).optional()}),d=V.object({data:V.array(V.object({b64_json:V.string()}))});async function w(j){if(j.type==="url")return I(j.url);let G=j.data instanceof Uint8Array?j.data:C(j.data);return new Blob([G],{type:j.mediaType})}var l=class extends u{constructor(j,G){super(j,G)}fixUsageForGeminiModels(j){var G,P;if(!j||!((G=j.completion_tokens_details)==null?void 0:G.reasoning_tokens))return j;let W=(P=j.completion_tokens)!=null?P:0,N=j.completion_tokens_details.reasoning_tokens;if(N>W){let K=W+N;return{...j,completion_tokens:K,total_tokens:j.total_tokens!=null?j.total_tokens+N:void 0}}return j}async doGenerate(j){var G,P,W,N,K,Y,X;let Q=await super.doGenerate(j);if((G=Q.usage)==null?void 0:G.raw){let q=this.fixUsageForGeminiModels(Q.usage.raw);if(q!==Q.usage.raw){let F=(P=q.prompt_tokens)!=null?P:0,Z=(W=q.completion_tokens)!=null?W:0,J=(K=(N=q.prompt_tokens_details)==null?void 0:N.cached_tokens)!=null?K:0,A=(X=(Y=q.completion_tokens_details)==null?void 0:Y.reasoning_tokens)!=null?X:0;return{...Q,usage:{inputTokens:{total:F,noCache:F-J,cacheRead:J,cacheWrite:void 0},outputTokens:{total:Z,text:Z-A,reasoning:A},raw:q}}}}return Q}async doStream(j){let G=await super.doStream(j),P=G.stream,W=this.fixUsageForGeminiModels.bind(this),N=new ReadableStream({async start(K){var Y,X,Q,q,F,Z,J;let A=P.getReader();try{while(!0){let{done:D,value:$}=await A.read();if(D)break;if($.type==="finish"&&((Y=$.usage)==null?void 0:Y.raw)){let B=W($.usage.raw);if(B!==$.usage.raw){let E=(X=B.prompt_tokens)!=null?X:0,L=(Q=B.completion_tokens)!=null?Q:0,O=(F=(q=B.prompt_tokens_details)==null?void 0:q.cached_tokens)!=null?F:0,y=(J=(Z=B.completion_tokens_details)==null?void 0:Z.reasoning_tokens)!=null?J:0;K.enqueue({...$,usage:{inputTokens:{total:E,noCache:E-O,cacheRead:O,cacheWrite:void 0},outputTokens:{total:L,text:L-y,reasoning:y},raw:B}})}else K.enqueue($)}else K.enqueue($)}K.close()}catch(D){K.error(D)}}});return{...G,stream:N}}},n="2.0.41";function i(j={}){var G;let P=k((G=j.baseURL)!=null?G:"https://api.deepinfra.com/v1"),W=()=>v({Authorization:`Bearer ${b({apiKey:j.apiKey,environmentVariableName:"DEEPINFRA_API_KEY",description:"DeepInfra's API key"})}`,...j.headers},`ai-sdk/deepinfra/${n}`),N=(F)=>({provider:`deepinfra.${F}`,url:({path:Z})=>`${P}/openai${Z}`,headers:W,fetch:j.fetch}),K=(F)=>{return new l(F,N("chat"))},Y=(F)=>new f(F,N("completion")),X=(F)=>new _(F,N("embedding")),Q=(F)=>new m(F,{...N("image"),baseURL:P?`${P}/inference`:"https://api.deepinfra.com/v1/inference"}),q=(F)=>K(F);return q.specificationVersion="v3",q.completionModel=Y,q.chatModel=K,q.image=Q,q.imageModel=Q,q.languageModel=K,q.embeddingModel=X,q.textEmbeddingModel=X,q}var jj=i();export{jj as deepinfra,i as createDeepInfra,n as VERSION};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-bzgj60w4.js";import"./chunk-7xm75w1e.js";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":'\u554F\u9EDE\u4EC0\u9EBC\u2026\u2026 "{{example}}"',"tui.prompt.placeholder.shell":'\u57F7\u884C\u6307\u4EE4\u2026\u2026 "{{example}}"',"tui.prompt.ghost":"{{prediction}} (\u6309 Tab \u63A1\u7D0D)","tui.home.placeholder.example.todo":"\u4FEE\u5FA9\u7A0B\u5F0F\u78BC\u5EAB\u4E2D\u7684 TODO","tui.home.placeholder.example.stack":"\u9019\u500B\u5C08\u6848\u7528\u4E86\u4EC0\u9EBC\u6280\u8853\u68E7\uFF1F","tui.home.placeholder.example.tests":"\u4FEE\u5FA9\u5931\u6557\u7684\u6E2C\u8A66","tui.home.agreement.prefix":"\u4F7F\u7528 QitQode \u5373\u8868\u793A\u4F60\u540C\u610F\u6211\u5011\u7684","tui.home.agreement.terms":"\u670D\u52D9\u5354\u8B70","tui.home.agreement.separator":"\u548C","tui.home.agreement.privacy":"\u96B1\u79C1\u653F\u7B56","tui.home.agreement.suffix":"","tui.prompt.hint.attach_file":"\u65B0\u589E\u6A94\u6848","tui.prompt.hint.subagent":"\u5B50\u667A\u80FD\u9AD4","tui.prompt.hint.commands":"\u559A\u8D77\u547D\u4EE4","tui.prompt.hint.switch_mode":"\u5207\u63DB\u6A21\u5F0F","tui.prompt.hint.settings":"\u8A2D\u5B9A","tui.tips.label":"\u63D0\u793A","tui.tips.plain_terminal":"\u5EFA\u8B70\u4F7F\u7528 iTerm \u6216 VS Code \u7D42\u7AEF\u6A5F","tui.tips.attach_file":"\u8F38\u5165 {highlight}@{/highlight} \u5F8C\u63A5\u6A94\u6848\u540D\u7A31\u4EE5\u6A21\u7CCA\u641C\u5C0B\u4E26\u9644\u52A0\u6A94\u6848","tui.tips.shell_prefix":"\u4EE5 {highlight}!{/highlight} \u958B\u982D\u53EF\u76F4\u63A5\u57F7\u884C shell \u6307\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\u6167\u4EE3\u7406\u4E4B\u9593\u5207\u63DB","tui.tips.theme_mode":"\u57F7\u884C {highlight}/dark{/highlight} \u5207\u63DB\u6DF1\u8272\u6A21\u5F0F\uFF0C{highlight}/light{/highlight} \u5207\u63DB\u6DFA\u8272\u6A21\u5F0F","tui.tips.doc":"\u57F7\u884C {highlight}/doc{/highlight} \u958B\u555F\u4F7F\u7528\u6587\u4EF6","tui.tips.undo":"\u4F7F\u7528 {highlight}/undo{/highlight} \u5FA9\u539F\u6700\u5F8C\u4E00\u689D\u8A0A\u606F\u53CA\u5176\u6A94\u6848\u8B8A\u66F4","tui.tips.redo":"\u4F7F\u7528 {highlight}/redo{/highlight} \u9084\u539F\u5148\u524D\u5FA9\u539F\u7684\u8A0A\u606F\u8207\u6A94\u6848\u8B8A\u66F4","tui.tips.drag_drop":"\u628A\u5716\u7247\u6216 PDF \u62D6\u5165\u7D42\u7AEF\u6A5F\u53EF\u4F5C\u70BA\u4E0A\u4E0B\u6587\u52A0\u5165","tui.tips.paste_image":"\u6309 {highlight}Ctrl+V{/highlight} \u628A\u526A\u8CBC\u7C3F\u4E2D\u7684\u5716\u7247\u8CBC\u5230\u8F38\u5165\u6846","tui.tips.editor":"\u6309 {highlight}Ctrl+X E{/highlight} \u6216 {highlight}/editor{/highlight} \u5728\u5916\u90E8\u7DE8\u8F2F\u5668\u4E2D\u7DE8\u8F2F\u8A0A\u606F","tui.tips.init":"\u57F7\u884C {highlight}/init{/highlight} \u6839\u64DA\u4F60\u7684\u7A0B\u5F0F\u78BC\u5EAB\u81EA\u52D5\u7522\u751F\u5C08\u6848\u898F\u5247","tui.tips.models":"\u57F7\u884C {highlight}/models{/highlight} \u6216 {highlight}Ctrl+X M{/highlight} \u5207\u63DB\u6A21\u578B","tui.tips.theme":'\u5728\u6307\u4EE4\u9762\u677F\uFF08{highlight}Ctrl+P{/highlight}\uFF09\u4E2D\u641C\u5C0B "lock" \u53EF\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F\uFF0C\u4F7F\u5176\u4E0D\u96A8\u7D42\u7AEF\u6A5F\u80CC\u666F\u8B8A\u5316',"tui.tips.new_session":"\u6309 {highlight}Ctrl+X N{/highlight} \u6216 {highlight}/new{/highlight} \u958B\u555F\u5168\u65B0\u5DE5\u4F5C\u968E\u6BB5","tui.tips.sessions":"\u4F7F\u7528 {highlight}/sessions{/highlight} \u6216 {highlight}Ctrl+X L{/highlight} \u5217\u51FA\u4E26\u7E7C\u7E8C\u5148\u524D\u7684\u5DE5\u4F5C\u968E\u6BB5","tui.tips.compact":"\u57F7\u884C {highlight}/compact{/highlight} \u5728\u63A5\u8FD1\u4E0A\u4E0B\u6587\u4E0A\u9650\u6642\u58D3\u7E2E\u9577\u5C0D\u8A71","tui.tips.export":"\u6309 {highlight}Ctrl+X X{/highlight} \u6216 {highlight}/export{/highlight} \u628A\u5C0D\u8A71\u5132\u5B58\u70BA Markdown","tui.tips.copy_last":"\u6309 {highlight}Ctrl+X Y{/highlight} \u5C07\u52A9\u7406\u6700\u5F8C\u4E00\u689D\u8A0A\u606F\u8907\u88FD\u5230\u526A\u8CBC\u7C3F","tui.tips.command_palette":"\u6309 {highlight}Ctrl+P{/highlight} \u6AA2\u8996\u6240\u6709\u53EF\u7528\u52D5\u4F5C\u8207\u6307\u4EE4","tui.tips.leader":"\u524D\u5C0E\u9375\u662F {highlight}Ctrl+X{/highlight}\uFF0C\u642D\u914D\u5176\u4ED6\u6309\u9375\u53EF\u5FEB\u901F\u89F8\u767C\u52D5\u4F5C","tui.tips.f2":"\u6309 {highlight}F2{/highlight} \u5728\u6700\u8FD1\u4F7F\u7528\u7684\u6A21\u578B\u4E4B\u9593\u5FEB\u901F\u5207\u63DB","tui.tips.sidebar":"\u6309 {highlight}Ctrl+X B{/highlight} \u986F\u793A\uFF0F\u96B1\u85CF\u5074\u908A\u6B04","tui.tips.history":"\u7528 {highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} \u700F\u89BD\u5DE5\u4F5C\u968E\u6BB5\u6B77\u53F2","tui.tips.jump_first":"\u6309 {highlight}Ctrl+G{/highlight} \u6216 {highlight}Home{/highlight} \u8DF3\u5230\u5DE5\u4F5C\u968E\u6BB5\u958B\u982D","tui.tips.jump_last":"\u6309 {highlight}Ctrl+Alt+G{/highlight} \u6216 {highlight}End{/highlight} \u8DF3\u5230\u6700\u65B0\u8A0A\u606F","tui.tips.newline":"\u6309 {highlight}Shift+Enter{/highlight} \u6216 {highlight}Ctrl+J{/highlight} \u5728\u8F38\u5165\u6846\u63DB\u884C","tui.tips.clear_input":"\u8F38\u5165\u6642\u6309 {highlight}Ctrl+C{/highlight} \u6E05\u7A7A\u8F38\u5165\u6846","tui.tips.escape":"\u6309 {highlight}Escape{/highlight} \u5728\u56DE\u61C9\u4E2D\u9014\u4E2D\u65B7 AI","tui.tips.plan_agent":"\u5207\u63DB\u5230 {highlight}Plan{/highlight} \u667A\u6167\u4EE3\u7406\u4EE5\u53D6\u5F97\u5EFA\u8B70\u800C\u4E0D\u5BE6\u969B\u8B8A\u66F4","tui.tips.subagent":"\u5728\u63D0\u793A\u8A5E\u4E2D\u4F7F\u7528 {highlight}@agent-name{/highlight} \u547C\u53EB\u5C08\u7528\u5B50\u4EE3\u7406","tui.tips.cycle_sessions":"\u6309 {highlight}Ctrl+X Right/Left{/highlight} \u5728\u7236\u5B50\u5DE5\u4F5C\u968E\u6BB5\u4E4B\u9593\u5207\u63DB","tui.tips.config_files":"\u5EFA\u7ACB {highlight}qitqode.json{/highlight} \u7528\u65BC\u4F3A\u670D\u5668\u7AEF\u8A2D\u5B9A\uFF0C{highlight}tui.json{/highlight} \u7528\u65BC TUI \u8A2D\u5B9A","tui.tips.global_config":"\u628A TUI \u8A2D\u5B9A\u653E\u5728 {highlight}~/.config/qitqode/tui.json{/highlight} \u4F5C\u70BA\u5168\u57DF\u8A2D\u5B9A","tui.tips.schema":"\u5728\u8A2D\u5B9A\u4E2D\u52A0\u5165 {highlight}$schema{/highlight} \u4EE5\u4FBF\u7DE8\u8F2F\u5668\u81EA\u52D5\u5B8C\u6210","tui.tips.default_model":"\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u5B9A {highlight}model{/highlight} \u4F86\u6307\u5B9A\u9810\u8A2D\u6A21\u578B","tui.tips.keybinds":"\u900F\u904E {highlight}tui.json{/highlight} \u7684 {highlight}keybinds{/highlight} \u5340\u6BB5\u8986\u5BEB\u4EFB\u610F\u6309\u9375","tui.tips.disable_keybind":"\u628A\u4EFB\u610F\u6309\u9375\u8A2D\u70BA {highlight}none{/highlight} \u5373\u53EF\u5B8C\u5168\u505C\u7528\u5B83","tui.tips.mcp_config":"\u5728 {highlight}mcp{/highlight} \u8A2D\u5B9A\u9805\u4E2D\u8A2D\u5B9A\u672C\u6A5F\u6216\u9060\u7AEF MCP \u4F3A\u670D\u5668","tui.tips.mcp_oauth":"QitQode \u81EA\u52D5\u8655\u7406\u9700\u8981\u9A57\u8B49\u7684\u9060\u7AEF MCP \u4F3A\u670D\u5668\u7684 OAuth","tui.tips.custom_command":"\u5728 {highlight}.qitqode/command/{/highlight} \u52A0\u5165 {highlight}.md{/highlight} \u6A94\u6848\u4EE5\u5B9A\u7FA9\u53EF\u91CD\u7528\u81EA\u8A02\u63D0\u793A","tui.tips.command_args":"\u5728\u81EA\u8A02\u6307\u4EE4\u4E2D\u4F7F\u7528 {highlight}$ARGUMENTS{/highlight}\u3001{highlight}$1{/highlight}\u3001{highlight}$2{/highlight} \u63A5\u6536\u52D5\u614B\u53C3\u6578","tui.tips.command_backticks":"\u5728\u6307\u4EE4\u4E2D\u4F7F\u7528\u53CD\u5F15\u865F\u6CE8\u5165 shell \u8F38\u51FA\uFF08\u4F8B\u5982 {highlight}`git status`{/highlight}\uFF09","tui.tips.custom_agent":"\u5728 {highlight}.qitqode/agent/{/highlight} \u52A0\u5165 {highlight}.md{/highlight} \u6A94\u6848\u4F86\u5EFA\u7ACB\u5C08\u7528 AI \u89D2\u8272","tui.tips.agent_perms":"\u70BA\u6BCF\u500B\u667A\u6167\u4EE3\u7406\u55AE\u7368\u8A2D\u5B9A {highlight}edit{/highlight}\u3001{highlight}bash{/highlight}\u3001{highlight}webfetch{/highlight} \u5DE5\u5177\u6B0A\u9650","tui.tips.bash_allow":'\u4F7F\u7528 {highlight}"git *": "allow"{/highlight} \u9019\u985E\u6A21\u5F0F\u505A\u7CBE\u7D30 bash \u6B0A\u9650',"tui.tips.bash_deny":'\u8A2D\u5B9A {highlight}"rm -rf *": "deny"{/highlight} \u963B\u64CB\u7834\u58DE\u6027\u6307\u4EE4',"tui.tips.bash_ask":'\u8A2D\u5B9A {highlight}"git push": "ask"{/highlight} \u5728\u63A8\u9001\u524D\u8981\u6C42\u78BA\u8A8D',"tui.tips.formatter":"QitQode \u81EA\u52D5\u4F7F\u7528 prettier\u3001gofmt\u3001ruff \u7B49\u683C\u5F0F\u5316\u6A94\u6848","tui.tips.disable_formatter":'\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u5B9A {highlight}"formatter": false{/highlight} \u95DC\u9589\u6240\u6709\u81EA\u52D5\u683C\u5F0F\u5316',"tui.tips.custom_formatter":"\u5728\u8A2D\u5B9A\u4E2D\u4F9D\u6A94\u6848\u526F\u6A94\u540D\u5B9A\u7FA9\u81EA\u8A02\u683C\u5F0F\u5316\u6307\u4EE4","tui.tips.lsp":"QitQode \u4F7F\u7528 LSP \u4F3A\u670D\u5668\u9032\u884C\u667A\u6167\u7A0B\u5F0F\u78BC\u5206\u6790","tui.tips.custom_tool":"\u5728 {highlight}.qitqode/tools/{/highlight} \u5EFA\u7ACB {highlight}.ts{/highlight} \u6A94\u6848\u5B9A\u7FA9\u65B0\u7684 LLM \u5DE5\u5177","tui.tips.tool_scripts":"\u5DE5\u5177\u5B9A\u7FA9\u53EF\u547C\u53EB Python\u3001Go \u7B49\u6307\u4EE4\u7A3F","tui.tips.plugins":"\u5728 {highlight}.qitqode/plugin/{/highlight} \u52A0\u5165 {highlight}.ts{/highlight} \u6A94\u6848\u639B\u8F09\u4E8B\u4EF6\u52FE\u9EDE","tui.tips.plugin_notify":"\u7528\u5916\u639B\u5728\u5DE5\u4F5C\u968E\u6BB5\u5B8C\u6210\u6642\u50B3\u9001\u7CFB\u7D71\u901A\u77E5","tui.tips.plugin_protect":"\u64B0\u5BEB\u4E00\u500B\u5916\u639B\u963B\u6B62 QitQode \u8B80\u53D6\u654F\u611F\u6A94\u6848","tui.tips.run":"\u7528 {highlight}qitqode run{/highlight} \u9032\u884C\u975E\u4E92\u52D5\u5F0F\u6307\u4EE4\u7A3F\u547C\u53EB","tui.tips.continue":"\u7528 {highlight}qitqode --continue{/highlight} \u7E7C\u7E8C\u4E0A\u4E00\u500B\u5DE5\u4F5C\u968E\u6BB5","tui.tips.attach_cli":"\u7528 {highlight}qitqode run -f file.ts{/highlight} \u900F\u904E\u547D\u4EE4\u5217\u9644\u52A0\u6A94\u6848","tui.tips.format_json":"\u7528 {highlight}--format json{/highlight} \u5728\u6307\u4EE4\u7A3F\u4E2D\u53D6\u5F97\u6A5F\u5668\u53EF\u8B80\u8F38\u51FA","tui.tips.auth_list":"\u57F7\u884C {highlight}qitqode auth status{/highlight} \u6AA2\u8996\u76EE\u524D\u7684\u767B\u5165\u72C0\u614B","tui.tips.agent_create":"\u57F7\u884C {highlight}qitqode agent create{/highlight} \u5F15\u5C0E\u5F0F\u5EFA\u7ACB\u667A\u6167\u4EE3\u7406","tui.tips.theme_system":'\u4F7F\u7528 {highlight}"theme": "system"{/highlight} \u8DDF\u96A8\u7D42\u7AEF\u6A5F\u914D\u8272',"tui.tips.theme_files":"\u5728 {highlight}.qitqode/themes/{/highlight} \u76EE\u9304\u4E0B\u5EFA\u7ACB JSON \u4E3B\u984C\u6A94\u6848","tui.tips.theme_variants":"\u4E3B\u984C\u652F\u63F4\u6DF1\u8272\uFF0F\u6DFA\u8272\u96D9\u6A21\u5F0F\u8B8A\u9AD4","tui.tips.theme_ansi":"\u81EA\u8A02\u4E3B\u984C\u4E2D\u53EF\u53C3\u7167 ANSI 0-255 \u8272\u865F","tui.tips.env_var":"\u5728\u8A2D\u5B9A\u4E2D\u7528 {highlight}{env:VAR_NAME}{/highlight} \u8A9E\u6CD5\u53C3\u7167\u74B0\u5883\u8B8A\u6578","tui.tips.file_var":"\u7528 {highlight}{file:path}{/highlight} \u5728\u8A2D\u5B9A\u503C\u4E2D\u5D4C\u5165\u6A94\u6848\u5167\u5BB9","tui.tips.instructions":"\u5728\u8A2D\u5B9A\u4E2D\u7528 {highlight}instructions{/highlight} \u8F09\u5165\u984D\u5916\u7684\u898F\u5247\u6A94\u6848","tui.tips.temperature":"\u628A\u667A\u6167\u4EE3\u7406\u7684 {highlight}temperature{/highlight} \u5F9E 0.0\uFF08\u5C08\u6CE8\uFF09\u8ABF\u5230 1.0\uFF08\u5275\u9020\uFF09","tui.tips.steps":"\u8A2D\u5B9A {highlight}steps{/highlight} \u9650\u5236\u6BCF\u6B21\u8ACB\u6C42\u7684\u4EE3\u7406\u8FED\u4EE3\u6B21\u6578","tui.tips.disable_tool":'\u8A2D\u5B9A {highlight}"tools": {"bash": false}{/highlight} \u505C\u7528\u7279\u5B9A\u5DE5\u5177',"tui.tips.disable_mcp_tools":'\u8A2D\u5B9A {highlight}"mcp_*": false{/highlight} \u505C\u7528\u67D0\u500B MCP \u4F3A\u670D\u5668\u7684\u6240\u6709\u5DE5\u5177',"tui.tips.tool_override":"\u5728\u6BCF\u500B\u667A\u6167\u4EE3\u7406\u8A2D\u5B9A\u4E2D\u8986\u5BEB\u5168\u57DF\u5DE5\u5177\u8A2D\u5B9A","tui.tips.doom_loop":"\u6B0A\u9650 {highlight}doom_loop{/highlight} \u9632\u6B62\u5DE5\u5177\u547C\u53EB\u9677\u5165\u7121\u7AAE\u8FF4\u5708","tui.tips.external_dir":"\u6B0A\u9650 {highlight}external_directory{/highlight} \u4FDD\u8B77\u5C08\u6848\u5916\u90E8\u7684\u6A94\u6848","tui.tips.debug_config":"\u57F7\u884C {highlight}qitqode debug config{/highlight} \u6392\u67E5\u8A2D\u5B9A\u554F\u984C","tui.tips.print_logs":"\u4F7F\u7528 {highlight}--print-logs{/highlight} \u65D7\u6A19\u5728 stderr \u8F38\u51FA\u8A73\u7D30\u8A18\u9304","tui.tips.timeline":"\u6309 {highlight}Ctrl+X G{/highlight} \u6216 {highlight}/timeline{/highlight} \u8DF3\u5230\u6307\u5B9A\u8A0A\u606F","tui.tips.toggle_code":"\u6309 {highlight}Ctrl+X H{/highlight} \u5207\u63DB\u8A0A\u606F\u4E2D\u7A0B\u5F0F\u78BC\u5340\u584A\u7684\u986F\u793A","tui.tips.status":"\u6309 {highlight}Ctrl+X S{/highlight} \u6216 {highlight}/status{/highlight} \u6AA2\u8996\u7CFB\u7D71\u72C0\u614B","tui.tips.scroll_accel":"\u5728 {highlight}tui.json{/highlight} \u4E2D\u555F\u7528 {highlight}scroll_acceleration{/highlight} \u4EAB\u53D7\u5E73\u6ED1\u6372\u52D5","tui.tips.agents_md":"\u628A\u5C08\u6848\u4E2D\u7684 {highlight}AGENTS.md{/highlight} \u63D0\u4EA4\u5230 Git \u8207\u5718\u968A\u5171\u4EAB","tui.tips.review":"\u7528 {highlight}/review{/highlight} \u5BE9\u95B1\u672A\u63D0\u4EA4\u8B8A\u66F4\u3001\u5206\u652F\u6216 PR","tui.tips.help":"\u57F7\u884C {highlight}/help{/highlight} \u6216 {highlight}Ctrl+X H{/highlight} \u986F\u793A\u8AAA\u660E\u5C0D\u8A71\u6846","tui.tips.rename":"\u7528 {highlight}/rename{/highlight} \u91CD\u65B0\u547D\u540D\u76EE\u524D\u7684\u5DE5\u4F5C\u968E\u6BB5","tui.tips.suspend.unix":"\u6309 {highlight}Ctrl+Z{/highlight} \u66AB\u505C\u7D42\u7AEF\u6A5F\u4E26\u8FD4\u56DE shell","tui.tips.suspend.win":"\u6309 {highlight}Ctrl+Z{/highlight} \u5FA9\u539F\u8F38\u5165\u6846\u4E2D\u7684\u8F38\u5165","tui.command.palette.title":"\u6307\u4EE4","tui.command.palette.suggested":"\u63A8\u85A6","tui.command.category.session":"\u5DE5\u4F5C\u968E\u6BB5","tui.command.category.agent":"\u667A\u6167\u4EE3\u7406","tui.command.category.provider":"\u4F9B\u61C9\u5546","tui.command.category.system":"\u7CFB\u7D71","tui.command.category.prompt":"\u8F38\u5165\u6846","tui.command.category.internal":"\u5167\u5EFA","tui.command.category.external":"\u7B2C\u4E09\u65B9","tui.slash.init.description":"\u5F15\u5C0E\u5F0F AGENTS.md \u8A2D\u5B9A","tui.slash.review.description":"\u5BE9\u67E5\u8B8A\u66F4 [commit|branch|pr]\uFF0C\u9810\u8A2D\u672A\u63D0\u4EA4\u7684\u8B8A\u66F4","tui.slash.dream.description":"\u5F9E memory \u6A94\u6848\u8207\u539F\u59CB\u8ECC\u8DE1\u4E2D\u624B\u52D5\u6574\u5408\u5C08\u6848\u8A18\u61B6","tui.slash.distill.description":"\u5728\u6700\u8FD1\u5DE5\u4F5C\u4E2D\u767C\u73FE\u91CD\u8907\u6D41\u7A0B\uFF0C\u6253\u5305\u70BA skill\u3001\u5B50\u667A\u6167\u4EE3\u7406\u6216\u547D\u4EE4","tui.slash.goal.description":"\u8A2D\u5B9A\u7D42\u6B62\u689D\u4EF6\u76EE\u6A19\uFF1B\u57F7\u884C\u76F4\u5230\u5224\u5B9A\u9054\u6210\u3002\u4F7F\u7528 /goal clear \u4E2D\u6B62","tui.slash.deep-research.description":"\u6DF1\u5EA6\u591A\u4F86\u6E90\u3001\u4E8B\u5BE6\u6838\u67E5\u7684\u7814\u7A76\u5831\u544A\uFF08\u57F7\u884C deep-research \u5DE5\u4F5C\u6D41\u7A0B\uFF09","tui.command.language.switch.title":"\u5207\u63DB\u8A9E\u8A00","tui.command.language.switch.description":"\u8B8A\u66F4\u986F\u793A\u8A9E\u8A00","tui.command.language.dialog.title":"\u5207\u63DB\u8A9E\u8A00","tui.language.auto":"\u81EA\u52D5\uFF08\u8DDF\u96A8\u7CFB\u7D71\uFF09","tui.language.current":"\u76EE\u524D","tui.command.session.list.title":"\u5207\u63DB\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.new.title":"\u65B0\u589E\u5DE5\u4F5C\u968E\u6BB5","tui.command.workflow.list.title":"\u5DE5\u4F5C\u6D41\u7A0B","tui.command.model.list.title":"\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_recent.title":"\u5FAA\u74B0\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_recent_reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_favorite.title":"\u5FAA\u74B0\u5207\u63DB\u6536\u85CF\u6A21\u578B","tui.command.model.cycle_favorite_reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u6536\u85CF\u6A21\u578B","tui.command.agent.list.title":"\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.mcp.list.title":"\u5207\u63DB MCP","tui.command.never_ask.title_on":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF0C\u6B0A\u9650\u8ACB\u6C42\u9664\u5916\uFF09 - \u9EDE\u64CA\u95DC\u9589","tui.command.never_ask.title_off":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u95DC\u9589 - \u9EDE\u64CA\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF0C\u6B0A\u9650\u8ACB\u6C42\u9664\u5916\uFF09","tui.command.never_ask.toast_on":"\u5DF2\u958B\u555F\u8DF3\u904E\u63D0\u554F \u2014 \u6211\u4E0D\u6703\u518D\u5411\u4F60\u63D0\u554F\uFF0C\u6703\u81EA\u884C\u9078\u64C7\u6700\u4F73\u9078\u9805\uFF0C\u76F4\u5230\u4F60\u95DC\u9589\uFF08/never-ask\uFF09\u3002\u6B0A\u9650\u8ACB\u6C42\u4ECD\u9700\u4F60\u78BA\u8A8D\u3002","tui.command.never_ask.toast_off":"\u5DF2\u95DC\u9589\u8DF3\u904E\u63D0\u554F \u2014 \u9047\u5230\u6C7A\u7B56\u9EDE\u6211\u6703\u91CD\u65B0\u5411\u4F60\u63D0\u554F\u3002","tui.command.never_ask.title_on_fullauto":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF1B\u5168\u81EA\u52D5\u6A21\u5F0F\u540C\u6642\u81EA\u52D5\u6838\u51C6\u6B0A\u9650\uFF09 - \u9EDE\u64CA\u95DC\u9589","tui.command.never_ask.title_off_fullauto":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u95DC\u9589 - \u9EDE\u64CA\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF1B\u5168\u81EA\u52D5\u6A21\u5F0F\u4ECD\u5728\u81EA\u52D5\u6838\u51C6\u6B0A\u9650\uFF09","tui.command.never_ask.toast_on_fullauto":"\u5DF2\u958B\u555F\u8DF3\u904E\u63D0\u554F \u2014 \u6211\u4E0D\u6703\u518D\u5411\u4F60\u63D0\u554F\uFF0C\u6703\u81EA\u884C\u9078\u64C7\u6700\u4F73\u9078\u9805\uFF0C\u76F4\u5230\u4F60\u95DC\u9589\uFF08/never-ask\uFF09\u3002\u5168\u81EA\u52D5\u6A21\u5F0F\u5DF2\u958B\u555F\uFF0C\u5DE5\u5177\u6B0A\u9650\u8ACB\u6C42\u4E5F\u6703\u81EA\u52D5\u6838\u51C6\u3002","tui.command.agent.cycle.title":"\u5FAA\u74B0\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.variant.cycle.title":"\u5FAA\u74B0\u5207\u63DB\u6A21\u578B\u8B8A\u9AD4","tui.command.variant.list.title":"\u5207\u63DB\u6A21\u578B\u8B8A\u9AD4","tui.command.agent.cycle.reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.provider.login.title":"\u767B\u5165","tui.command.provider.logout.title":"\u767B\u51FA","tui.command.console.org.switch.title":"\u5207\u63DB\u7D44\u7E54","tui.command.qitqode.status.title":"\u6AA2\u8996\u72C0\u614B","tui.command.worktree.list.title":"\u5DE5\u4F5C\u6A39","tui.command.theme.switch.title":"\u5207\u63DB\u4E3B\u984C","tui.command.theme.switch_mode.to_light":"\u5207\u63DB\u5230\u6DFA\u8272\u6A21\u5F0F","tui.command.theme.switch_mode.to_dark":"\u5207\u63DB\u5230\u6DF1\u8272\u6A21\u5F0F","tui.command.theme.mode.unlock":"\u89E3\u9664\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F","tui.command.theme.mode.lock":"\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F","tui.command.help.show.title":"\u8AAA\u660E","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"\u7121\u969C\u7919:\u53EF\u5728\u547D\u4EE4\u6E05\u55AE\u4E2D\u5207\u63DB\u52D5\u756B\u548C\u8072\u97F3\u3002\u74B0\u5883\u8B8A\u6578:NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND\u3002","tui.dialog.help.announcements":"\u64AD\u5831:\u5728\u7121\u969C\u7919\u6A21\u5F0F\u4E0B,\u53EF\u900F\u904E\u547D\u4EE4\u6E05\u55AE\u6216 QITQODE_TUI_ANNOUNCEMENTS \u9078\u64C7\u87A2\u5E55\u95B1\u8B80\u5668\u64AD\u5831\u7684\u8A73\u7D30\u7A0B\u5EA6(\u5B89\u975C\u3001\u6B63\u5E38\u3001\u8A73\u7D30)\u3002\u932F\u8AA4\u6C38\u9060\u6703\u64AD\u5831\u3002","tui.dialog.help.dialog_keys":"\u5C0D\u8A71\u65B9\u584A:\u6240\u6709\u5C0D\u8A71\u65B9\u584A\u5747\u53EF\u50C5\u7528\u9375\u76E4\u64CD\u4F5C \u2014 Esc \u95DC\u9589,Tab \u6216\u65B9\u5411\u9375\u79FB\u52D5\u7126\u9EDE,Enter \u6216\u7A7A\u683C\u9375\u555F\u7528\u76EE\u524D\u63A7\u5236\u9805\u3002","tui.command.app.announcements.cycle":"\u64AD\u5831:{{level}}(\u9078\u64C7\u4EE5\u8B8A\u66F4)","tui.announcements.level.quiet":"\u5B89\u975C","tui.announcements.level.normal":"\u6B63\u5E38","tui.announcements.level.verbose":"\u8A73\u7D30","tui.app.terminal_too_small":"\u7D42\u7AEF\u8996\u7A97\u904E\u5C0F ({{width}}x{{height}}),\u8ACB\u8ABF\u6574\u5230\u81F3\u5C11 40x8\u3002","tui.dialog.help.command_list":"\u6309 {{keybind}} \u6AA2\u8996\u76EE\u524D\u5167\u5BB9\u4E2D\u6240\u6709\u53EF\u7528\u7684\u64CD\u4F5C\u8207\u547D\u4EE4\u3002","tui.dialog.help.ok":"\u78BA\u5B9A","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 \u6372\u52D5 \xB7 PgUp/PgDn \u7FFB\u9801 \xB7 esc \u95DC\u9589","tui.dialog.ok":"\u78BA\u5B9A","tui.dialog.confirm.cancel":"\u53D6\u6D88","tui.dialog.confirm.confirm":"\u78BA\u8A8D","tui.dialog.agreement.title":"\u670D\u52D9\u5354\u8B70\u8207\u96B1\u79C1\u653F\u7B56","tui.dialog.agreement.message":"\u8ACB\u95B1\u8B80\u4E26\u540C\u610F\u5F8C\u7E7C\u7E8C\u4F7F\u7528\u3002","tui.dialog.agreement.confirm":"\u540C\u610F\u4E26\u7E7C\u7E8C","tui.command.docs.terms.title":"\u67E5\u770B\u670D\u52D9\u689D\u6B3E","tui.command.docs.privacy.title":"\u67E5\u770B\u96B1\u79C1\u653F\u7B56","tui.command.consent.revoke.title":"\u64A4\u92B7\u514D\u8CBB\u6A21\u578B\u5354\u8B70","tui.consent.revoked":"\u5DF2\u64A4\u92B7\u514D\u8CBB\u6A21\u578B\u5354\u8B70 \u2014 \u4E0B\u6B21\u4F7F\u7528\u6642\u5C07\u518D\u6B21\u8ACB\u6C42\u540C\u610F","tui.dialog.select.placeholder":"\u641C\u5C0B","tui.dialog.select.no_results":"\u627E\u4E0D\u5230\u7D50\u679C","tui.dialog.prompt.placeholder":"\u8F38\u5165\u6587\u5B57","tui.dialog.prompt.busy":"\u8655\u7406\u4E2D...","tui.dialog.prompt.processing":"\u8655\u7406\u4E2D...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"\u63D0\u4EA4","tui.dialog.export.title":"\u532F\u51FA\u9078\u9805","tui.dialog.export.filename":"\u6A94\u6848\u540D\u7A31\uFF1A","tui.dialog.export.filename_placeholder":"\u8F38\u5165\u6A94\u6848\u540D\u7A31","tui.dialog.export.include_thinking":"\u5305\u542B\u601D\u8003\u904E\u7A0B","tui.dialog.export.include_tool_details":"\u5305\u542B\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.dialog.export.include_assistant_metadata":"\u5305\u542B\u52A9\u7406\u4E2D\u7E7C\u8CC7\u6599","tui.dialog.export.open_without_saving":"\u76F4\u63A5\u958B\u555F\u800C\u4E0D\u5132\u5B58","tui.dialog.export.hint.toggle_prefix":"\u6309","tui.dialog.export.hint.toggle_action":"\u5207\u63DB","tui.dialog.export.hint.confirm_action":"\u78BA\u8A8D","tui.dialog.export.hint.options_action":"\u67E5\u770B\u9078\u9805","tui.toast.copied_to_clipboard":"\u5DF2\u8907\u88FD\u5230\u526A\u8CBC\u7C3F","tui.toast.instructions_loaded":"\u5DF2\u8F09\u5165 {{files}}","tui.toast.update_available.title":"\u6709\u65B0\u7248\u672C\u53EF\u7528","tui.toast.update_available.confirm":"\u65B0\u7248\u672C v{{version}} \u5DF2\u767C\u4F48\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\u6557","tui.toast.update_available.success":"\u5DF2\u66F4\u65B0\u5230 QitQode v{{version}}\uFF0C\u8ACB\u91CD\u65B0\u555F\u52D5\u61C9\u7528\u7A0B\u5F0F\u3002","tui.toast.updated.title":"\u5DF2\u81EA\u52D5\u66F4\u65B0","tui.toast.updated.message":"\u5DF2\u81EA\u52D5\u5957\u7528\u4FEE\u88DC\u66F4\u65B0\uFF1Av{{version}}\u3002\u91CD\u65B0\u555F\u52D5\u5F8C\u751F\u6548\u3002\u53EF\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u7F6E autoupdate: false \u95DC\u9589\u81EA\u52D5\u66F4\u65B0\u3002","tui.sidebar.instructions":"\u6307\u4EE4\u6A94\u6848","tui.sidebar.cwd":"\u5DE5\u4F5C\u76EE\u9304","tui.toast.unknown_error":"\u767C\u751F\u672A\u77E5\u932F\u8AA4","tui.command.docs.open.title":"\u958B\u555F\u6587\u4EF6","tui.command.app.exit.title":"\u7D50\u675F\u61C9\u7528\u7A0B\u5F0F","tui.command.app.debug.title":"\u5207\u63DB\u5075\u932F\u9762\u677F","tui.command.app.console.title":"\u5207\u63DB\u4E3B\u63A7\u53F0","tui.command.app.heap_snapshot.title":"\u532F\u51FA\u5806\u7A4D\u5FEB\u7167","tui.command.terminal.suspend.title":"\u66AB\u505C\u7D42\u7AEF\u6A5F","tui.command.terminal.title.disable":"\u505C\u7528\u7D42\u7AEF\u6A5F\u6A19\u984C","tui.command.terminal.title.enable":"\u555F\u7528\u7D42\u7AEF\u6A5F\u6A19\u984C","tui.command.app.toggle.animations.disable":"\u505C\u7528\u52D5\u756B","tui.command.app.toggle.animations.enable":"\u555F\u7528\u52D5\u756B","tui.command.app.toggle.diffwrap.disable":"\u505C\u7528 diff \u81EA\u52D5\u63DB\u884C","tui.command.app.toggle.diffwrap.enable":"\u555F\u7528 diff \u81EA\u52D5\u63DB\u884C","tui.command.app.toggle.sound.disable":"\u505C\u7528\u8072\u97F3","tui.command.app.toggle.sound.enable":"\u555F\u7528\u8072\u97F3","tui.command.logout.toast":"\u5DF2\u767B\u51FA","tui.command.session.share.title":"\u5206\u4EAB\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.share.copy_link":"\u8907\u88FD\u5206\u4EAB\u9023\u7D50","tui.command.session.rename.title":"\u91CD\u65B0\u547D\u540D\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.timeline.title":"\u8DF3\u5230\u8A0A\u606F","tui.command.session.fork.title":"\u5206\u652F\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.compact.title":"\u58D3\u7E2E\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.unshare.title":"\u53D6\u6D88\u5206\u4EAB","tui.command.session.undo.title":"\u5FA9\u539F\u4E0A\u4E00\u689D\u8A0A\u606F","tui.command.session.redo.title":"\u91CD\u505A","tui.command.session.sidebar.show":"\u986F\u793A\u5074\u908A\u6B04","tui.command.session.sidebar.hide":"\u96B1\u85CF\u5074\u908A\u6B04","tui.command.session.conceal.disable":"\u95DC\u9589\u7A0B\u5F0F\u78BC\u96B1\u85CF","tui.command.session.conceal.enable":"\u958B\u555F\u7A0B\u5F0F\u78BC\u96B1\u85CF","tui.command.session.timestamps.show":"\u986F\u793A\u6642\u9593\u6233\u8A18","tui.command.session.timestamps.hide":"\u96B1\u85CF\u6642\u9593\u6233\u8A18","tui.command.session.thinking.expand":"\u5C55\u958B\u601D\u8003\u904E\u7A0B","tui.command.session.thinking.collapse":"\u647A\u758A\u601D\u8003\u904E\u7A0B","tui.command.session.tool_details.show":"\u986F\u793A\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.command.session.tool_details.hide":"\u96B1\u85CF\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.command.session.scrollbar.toggle":"\u5207\u63DB\u5DE5\u4F5C\u968E\u6BB5\u6372\u8EF8","tui.command.session.generic_tool_output.show":"\u986F\u793A\u901A\u7528\u5DE5\u5177\u8F38\u51FA","tui.command.session.generic_tool_output.hide":"\u96B1\u85CF\u901A\u7528\u5DE5\u5177\u8F38\u51FA","tui.command.session.page_up.title":"\u4E0A\u4E00\u9801","tui.command.session.page_down.title":"\u4E0B\u4E00\u9801","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\u9801","tui.command.session.half_page_down.title":"\u5411\u4E0B\u534A\u9801","tui.command.session.first.title":"\u7B2C\u4E00\u689D\u8A0A\u606F","tui.command.session.last.title":"\u6700\u5F8C\u4E00\u689D\u8A0A\u606F","tui.command.session.last_user.title":"\u8DF3\u5230\u6700\u5F8C\u4E00\u689D\u4F7F\u7528\u8005\u8A0A\u606F","tui.command.session.message_next.title":"\u4E0B\u4E00\u689D\u8A0A\u606F","tui.command.session.message_previous.title":"\u4E0A\u4E00\u689D\u8A0A\u606F","tui.command.messages.copy.title":"\u8907\u88FD\u6700\u5F8C\u4E00\u689D\u52A9\u7406\u8A0A\u606F","tui.command.session.copy.title":"\u8907\u88FD\u5C0D\u8A71\u8A18\u9304","tui.command.session.export.title":"\u532F\u51FA\u5C0D\u8A71\u8A18\u9304","tui.command.session.child_first.title":"\u9032\u5165\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.parent.title":"\u8FD4\u56DE\u7236\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.child_next.title":"\u4E0B\u4E00\u500B\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.child_previous.title":"\u4E0A\u4E00\u500B\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.prompt.clear.title":"\u6E05\u7A7A\u8F38\u5165\u6846","tui.command.prompt.submit.title":"\u9001\u51FA\u63D0\u793A\u8A5E","tui.command.prompt.paste.title":"\u8CBC\u4E0A","tui.command.session.interrupt.title":"\u4E2D\u65B7\u5DE5\u4F5C\u968E\u6BB5","tui.command.prompt.editor.title":"\u958B\u555F\u7DE8\u8F2F\u5668","tui.command.prompt.skills.title":"\u6280\u80FD","tui.command.voice.toggle.title":"\u5207\u63DB\u8A9E\u97F3\u8F38\u5165","tui.command.voice.toggle.title_on":"\u8A9E\u97F3\u8F38\u5165\uFF1A\u5DF2\u958B\u555F \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.toggle.title_off":"\u8A9E\u97F3\u8F38\u5165\uFF1A\u5DF2\u95DC\u9589 \u2014 \u9EDE\u64CA\u958B\u555F","tui.command.voice.send.title":"\u5207\u63DB\u8A9E\u97F3\u767C\u9001\u6307\u4EE4","tui.command.voice.send.title_on":"\u8A9E\u97F3\u767C\u9001\uFF1A\u5DF2\u958B\u555F \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.send.title_off":"\u8A9E\u97F3\u767C\u9001\uFF1A\u5DF2\u95DC\u9589 \u2014 \u9EDE\u64CA\u958B\u555F","tui.voice.enabled":"\u8A9E\u97F3\u8F38\u5165\u5DF2\u555F\u7528\uFF08\u7C21\u9AD4\u4E2D\u6587/\u82F1\u8A9E\uFF09\u2014 \u9EDE\u64CA [Voice] \u958B\u59CB\u9304\u97F3","tui.voice.disabled":"\u8A9E\u97F3\u8F38\u5165\u5DF2\u95DC\u9589","tui.voice.send.enabled":"\u8A9E\u97F3\u767C\u9001\u5DF2\u555F\u7528 \u2014 \u505C\u9813\u5F8C\u6E05\u6670\u5FF5\u51FA\u300C\u53D1\u9001\u300D\u5373\u53EF\u63D0\u4EA4","tui.voice.send.disabled":"\u8A9E\u97F3\u767C\u9001\u5DF2\u95DC\u9589","tui.voice.control.enabled":"\u8A9E\u97F3\u63A7\u5236\u5DF2\u555F\u7528 \u2014 \u4F7F\u7528\u591A\u6A21\u614B\u6A21\u578B\u667A\u6167\u7DE8\u8F2F\uFF08\u8F03\u6162\uFF09","tui.voice.control.disabled":"\u8A9E\u97F3\u63A7\u5236\u5DF2\u95DC\u9589 \u2014 \u4F7F\u7528\u5FEB\u901F ASR \u8F49\u5BEB","tui.command.voice.control.title":"\u5207\u63DB\u8A9E\u97F3\u63A7\u5236\uFF08\u591A\u6A21\u614B\uFF09","tui.command.voice.control.title_on":"\u8A9E\u97F3\u63A7\u5236\uFF1A\u5DF2\u958B\u555F\uFF08\u591A\u6A21\u614B\uFF09 \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.control.title_off":"\u8A9E\u97F3\u63A7\u5236\uFF1A\u5DF2\u95DC\u9589\uFF08\u5FEB\u901F ASR\uFF09 \u2014 \u9EDE\u64CA\u958B\u555F","tui.voice.error.no_auth":"\u8ACB\u5148\u7528 /connect \u9023\u63A5 QitQode \u5E33\u865F\uFF0C\u6216\u914D\u7F6E voice.asr_model \u6307\u5B9A\u5176\u4ED6 provider","tui.voice.error.no_auth_provider":"\u8A9E\u97F3 provider\u300C{{provider}}\u300D\u672A\u8A8D\u8B49\uFF0C\u8ACB\u6AA2\u67E5\u5176 apiKey \u914D\u7F6E","tui.voice.error.provider_not_found":"provider\u300C{{provider}}\u300D\u4E0D\u53EF\u7528 \u2014 \u8ACB /connect \u9023\u63A5\uFF0C\u81EA\u5B9A\u7FA9\u7AEF\u9EDE\u9700\u5728\u914D\u7F6E\u4E2D\u8072\u660E models","tui.voice.error.no_url":"provider\u300C{{provider}}\u300D\u672A\u914D\u7F6E baseURL\uFF0C\u8ACB\u5728 options.baseURL \u4E2D\u6307\u5B9A","tui.voice.error.no_device":"\u672A\u5075\u6E2C\u5230\u9EA5\u514B\u98A8/\u97F3\u8A0A\u88DD\u7F6E \u2014 \u8ACB\u6AA2\u67E5\u7CFB\u7D71\u97F3\u8A0A\u8A2D\u5B9A","tui.voice.error.recorder_failed":"\u9304\u97F3\u5931\u6557","tui.voice.error.no_recorder":"\u672A\u5075\u6E2C\u5230\u9304\u97F3\u5DE5\u5177\uFF0C\u8ACB\u5B89\u88DD sox","tui.voice.error.too_short":"\u9304\u97F3\u6642\u9593\u904E\u77ED","tui.voice.error.network":"\u8F49\u5BEB\u5931\u6557\uFF0C\u8ACB\u6AA2\u67E5\u7DB2\u8DEF","tui.voice.error.empty_send":"\u7121\u5167\u5BB9\u53EF\u767C\u9001","tui.voice.error.unknown_agent":"\u672A\u627E\u5230 agent\u300C{{name}}\u300D","tui.command.prompt.stash.title":"\u66AB\u5B58\u63D0\u793A\u8A5E","tui.command.prompt.stash.pop.title":"\u5F48\u51FA\u66AB\u5B58","tui.command.prompt.stash.list.title":"\u66AB\u5B58\u6E05\u55AE","tui.command.tips.toggle.show":"\u986F\u793A Tips","tui.command.tips.toggle.hide":"\u96B1\u85CF Tips","tui.command.plugins.list.title":"\u5916\u639B","tui.command.plugins.install.title":"\u5B89\u88DD\u5916\u639B","tui.question.plan_enter.question":"\u662F\u5426\u5207\u63DB\u5230 plan \u6A21\u5F0F\u9032\u884C\u7D50\u69CB\u5316\u898F\u5283\uFF1F","tui.question.plan_enter.header":"\u9032\u5165\u8A08\u5283","tui.question.plan_enter.option.0.label":"\u662F","tui.question.plan_enter.option.0.description":"\u5207\u63DB\u5230 plan \u667A\u6167\u4EE3\u7406\u9032\u884C\u552F\u8B80\u898F\u5283","tui.question.plan_enter.option.1.label":"\u5426","tui.question.plan_enter.option.1.description":"\u7559\u5728\u7576\u524D\u6A21\u5F0F","tui.question.plan_exit.question":"{{plan}} \u7684\u8A08\u5283\u5DF2\u5B8C\u6210\u3002\u662F\u5426\u5207\u63DB\u5230 build \u667A\u6167\u4EE3\u7406\u958B\u59CB\u5BE6\u4F5C\uFF1F","tui.question.plan_exit.header":"\u9000\u51FA\u8A08\u5283","tui.question.plan_exit.option.0.label":"\u662F","tui.question.plan_exit.option.0.description":"\u5207\u63DB\u5230 build \u667A\u6167\u4EE3\u7406\u4E26\u958B\u59CB\u5BE6\u4F5C\u8A08\u5283","tui.question.plan_exit.option.1.label":"\u5426","tui.question.plan_exit.option.1.description":"\u7559\u5728 plan \u667A\u6167\u4EE3\u7406\u7E7C\u7E8C\u5B8C\u5584\u8A08\u5283","tui.session.badge.auto":"\u81EA\u52D5","trust.title":"\u5B58\u53D6\u5DE5\u4F5C\u5340\uFF1A","trust.safety_check":"\u5B89\u5168\u78BA\u8A8D\uFF1A\u9019\u662F\u4F60\u81EA\u5DF1\u5EFA\u7ACB\u6216\u4FE1\u4EFB\u7684\u5C08\u6848\u55CE\uFF1F\uFF08\u5982\u4F60\u81EA\u5DF1\u7684\u7A0B\u5F0F\u78BC\u3001\u77E5\u540D\u958B\u6E90\u5C08\u6848\u6216\u5718\u968A\u5167\u90E8\u5C08\u6848\uFF09\u3002\u5982\u679C\u4E0D\u662F\uFF0C\u8ACB\u5148\u6AA2\u67E5\u6B64\u76EE\u9304\u4E0B\u7684\u5167\u5BB9\u3002","trust.capabilities":"QitQode \u5C07\u80FD\u5920\u8B80\u53D6\u3001\u7DE8\u8F2F\u548C\u57F7\u884C\u6B64\u76EE\u9304\u4E2D\u7684\u6A94\u6848\u3002","trust.plugin_warn":"\u5982\u679C\u6B64\u76EE\u9304\u4E2D\u5B58\u5728\u60E1\u610F\u5916\u639B\u7A0B\u5F0F\uFF0C\u5B83\u5011\u53EF\u4EE5\u57F7\u884C\u4EFB\u610F\u7A0B\u5F0F\u78BC\u3001\u8B80\u53D6\u3001\u4FEE\u6539\u6216\u7ACA\u53D6\u4F60\u7684\u6A94\u6848\u3002","trust.option.yes":"\u662F\u7684\uFF0C\u6211\u4FE1\u4EFB\u6B64\u76EE\u9304","trust.option.no":"\u5426\uFF0C\u9000\u51FA","trust.dangerous.title_home":"\u8B66\u544A\uFF1A\u4F60\u5373\u5C07\u958B\u555F\u4E3B\u76EE\u9304\u3002","trust.dangerous.title_root":"\u8B66\u544A\uFF1A\u4F60\u5373\u5C07\u958B\u555F\u6A94\u6848\u7CFB\u7D71\u6839\u76EE\u9304\u3002","trust.dangerous.body_home":"\u6A21\u578B\u5C07\u80FD\u5920\u5B58\u53D6\u4F60\u6240\u6709\u7684\u500B\u4EBA\u6A94\u6848 \u2014 SSH \u91D1\u9470\u3001\u6191\u8B49\u3001\u700F\u89BD\u5668\u8A2D\u5B9A\u6A94\u7B49\u4E3B\u76EE\u9304\u4E0B\u7684\u6240\u6709\u5167\u5BB9\u3002","trust.dangerous.body_root":"\u6A21\u578B\u5C07\u80FD\u5920\u5B58\u53D6\u6574\u500B\u6A94\u6848\u7CFB\u7D71 \u2014 \u7CFB\u7D71\u6A94\u6848\u3001\u6240\u6709\u4F7F\u7528\u8005\u8CC7\u6599\u3001\u6191\u8B49\u4EE5\u53CA\u9019\u53F0\u6A5F\u5668\u4E0A\u7684\u4E00\u5207\u3002","trust.dangerous.advice_home":"\u9664\u975E\u6709\u660E\u78BA\u7684\u7406\u7531\uFF0C\u5426\u5247\u4E0D\u8981\u4FE1\u4EFB\u4F60\u7684\u6574\u500B\u4E3B\u76EE\u9304\u3002","trust.dangerous.advice_root":"\u9664\u975E\u6709\u660E\u78BA\u7684\u7406\u7531\uFF0C\u5426\u5247\u4E0D\u8981\u4FE1\u4EFB\u6A94\u6848\u7CFB\u7D71\u6839\u76EE\u9304\u3002","trust.dangerous.option.yes":"\u6211\u4E86\u89E3\u98A8\u96AA\uFF0C\u50C5\u672C\u6B21\u4FE1\u4EFB","trust.dangerous.option.no":"\u9000\u51FA\uFF08\u63A8\u85A6\uFF09"};export{f as dict};
2
+ import"./chunk-bzgj60w4.js";import"./chunk-3k2b05fv.js";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":'\u554F\u9EDE\u4EC0\u9EBC\u2026\u2026 "{{example}}"',"tui.prompt.placeholder.shell":'\u57F7\u884C\u6307\u4EE4\u2026\u2026 "{{example}}"',"tui.prompt.ghost":"{{prediction}} (\u6309 Tab \u63A1\u7D0D)","tui.home.placeholder.example.todo":"\u4FEE\u5FA9\u7A0B\u5F0F\u78BC\u5EAB\u4E2D\u7684 TODO","tui.home.placeholder.example.stack":"\u9019\u500B\u5C08\u6848\u7528\u4E86\u4EC0\u9EBC\u6280\u8853\u68E7\uFF1F","tui.home.placeholder.example.tests":"\u4FEE\u5FA9\u5931\u6557\u7684\u6E2C\u8A66","tui.home.agreement.prefix":"\u4F7F\u7528 QitQode \u5373\u8868\u793A\u4F60\u540C\u610F\u6211\u5011\u7684","tui.home.agreement.terms":"\u670D\u52D9\u5354\u8B70","tui.home.agreement.separator":"\u548C","tui.home.agreement.privacy":"\u96B1\u79C1\u653F\u7B56","tui.home.agreement.suffix":"","tui.prompt.hint.attach_file":"\u65B0\u589E\u6A94\u6848","tui.prompt.hint.subagent":"\u5B50\u667A\u80FD\u9AD4","tui.prompt.hint.commands":"\u559A\u8D77\u547D\u4EE4","tui.prompt.hint.switch_mode":"\u5207\u63DB\u6A21\u5F0F","tui.prompt.hint.settings":"\u8A2D\u5B9A","tui.tips.label":"\u63D0\u793A","tui.tips.plain_terminal":"\u5EFA\u8B70\u4F7F\u7528 iTerm \u6216 VS Code \u7D42\u7AEF\u6A5F","tui.tips.attach_file":"\u8F38\u5165 {highlight}@{/highlight} \u5F8C\u63A5\u6A94\u6848\u540D\u7A31\u4EE5\u6A21\u7CCA\u641C\u5C0B\u4E26\u9644\u52A0\u6A94\u6848","tui.tips.shell_prefix":"\u4EE5 {highlight}!{/highlight} \u958B\u982D\u53EF\u76F4\u63A5\u57F7\u884C shell \u6307\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\u6167\u4EE3\u7406\u4E4B\u9593\u5207\u63DB","tui.tips.theme_mode":"\u57F7\u884C {highlight}/dark{/highlight} \u5207\u63DB\u6DF1\u8272\u6A21\u5F0F\uFF0C{highlight}/light{/highlight} \u5207\u63DB\u6DFA\u8272\u6A21\u5F0F","tui.tips.doc":"\u57F7\u884C {highlight}/doc{/highlight} \u958B\u555F\u4F7F\u7528\u6587\u4EF6","tui.tips.undo":"\u4F7F\u7528 {highlight}/undo{/highlight} \u5FA9\u539F\u6700\u5F8C\u4E00\u689D\u8A0A\u606F\u53CA\u5176\u6A94\u6848\u8B8A\u66F4","tui.tips.redo":"\u4F7F\u7528 {highlight}/redo{/highlight} \u9084\u539F\u5148\u524D\u5FA9\u539F\u7684\u8A0A\u606F\u8207\u6A94\u6848\u8B8A\u66F4","tui.tips.drag_drop":"\u628A\u5716\u7247\u6216 PDF \u62D6\u5165\u7D42\u7AEF\u6A5F\u53EF\u4F5C\u70BA\u4E0A\u4E0B\u6587\u52A0\u5165","tui.tips.paste_image":"\u6309 {highlight}Ctrl+V{/highlight} \u628A\u526A\u8CBC\u7C3F\u4E2D\u7684\u5716\u7247\u8CBC\u5230\u8F38\u5165\u6846","tui.tips.editor":"\u6309 {highlight}Ctrl+X E{/highlight} \u6216 {highlight}/editor{/highlight} \u5728\u5916\u90E8\u7DE8\u8F2F\u5668\u4E2D\u7DE8\u8F2F\u8A0A\u606F","tui.tips.init":"\u57F7\u884C {highlight}/init{/highlight} \u6839\u64DA\u4F60\u7684\u7A0B\u5F0F\u78BC\u5EAB\u81EA\u52D5\u7522\u751F\u5C08\u6848\u898F\u5247","tui.tips.models":"\u57F7\u884C {highlight}/models{/highlight} \u6216 {highlight}Ctrl+X M{/highlight} \u5207\u63DB\u6A21\u578B","tui.tips.theme":'\u5728\u6307\u4EE4\u9762\u677F\uFF08{highlight}Ctrl+P{/highlight}\uFF09\u4E2D\u641C\u5C0B "lock" \u53EF\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F\uFF0C\u4F7F\u5176\u4E0D\u96A8\u7D42\u7AEF\u6A5F\u80CC\u666F\u8B8A\u5316',"tui.tips.new_session":"\u6309 {highlight}Ctrl+X N{/highlight} \u6216 {highlight}/new{/highlight} \u958B\u555F\u5168\u65B0\u5DE5\u4F5C\u968E\u6BB5","tui.tips.sessions":"\u4F7F\u7528 {highlight}/sessions{/highlight} \u6216 {highlight}Ctrl+X L{/highlight} \u5217\u51FA\u4E26\u7E7C\u7E8C\u5148\u524D\u7684\u5DE5\u4F5C\u968E\u6BB5","tui.tips.compact":"\u57F7\u884C {highlight}/compact{/highlight} \u5728\u63A5\u8FD1\u4E0A\u4E0B\u6587\u4E0A\u9650\u6642\u58D3\u7E2E\u9577\u5C0D\u8A71","tui.tips.export":"\u6309 {highlight}Ctrl+X X{/highlight} \u6216 {highlight}/export{/highlight} \u628A\u5C0D\u8A71\u5132\u5B58\u70BA Markdown","tui.tips.copy_last":"\u6309 {highlight}Ctrl+X Y{/highlight} \u5C07\u52A9\u7406\u6700\u5F8C\u4E00\u689D\u8A0A\u606F\u8907\u88FD\u5230\u526A\u8CBC\u7C3F","tui.tips.command_palette":"\u6309 {highlight}Ctrl+P{/highlight} \u6AA2\u8996\u6240\u6709\u53EF\u7528\u52D5\u4F5C\u8207\u6307\u4EE4","tui.tips.leader":"\u524D\u5C0E\u9375\u662F {highlight}Ctrl+X{/highlight}\uFF0C\u642D\u914D\u5176\u4ED6\u6309\u9375\u53EF\u5FEB\u901F\u89F8\u767C\u52D5\u4F5C","tui.tips.f2":"\u6309 {highlight}F2{/highlight} \u5728\u6700\u8FD1\u4F7F\u7528\u7684\u6A21\u578B\u4E4B\u9593\u5FEB\u901F\u5207\u63DB","tui.tips.sidebar":"\u6309 {highlight}Ctrl+X B{/highlight} \u986F\u793A\uFF0F\u96B1\u85CF\u5074\u908A\u6B04","tui.tips.history":"\u7528 {highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} \u700F\u89BD\u5DE5\u4F5C\u968E\u6BB5\u6B77\u53F2","tui.tips.jump_first":"\u6309 {highlight}Ctrl+G{/highlight} \u6216 {highlight}Home{/highlight} \u8DF3\u5230\u5DE5\u4F5C\u968E\u6BB5\u958B\u982D","tui.tips.jump_last":"\u6309 {highlight}Ctrl+Alt+G{/highlight} \u6216 {highlight}End{/highlight} \u8DF3\u5230\u6700\u65B0\u8A0A\u606F","tui.tips.newline":"\u6309 {highlight}Shift+Enter{/highlight} \u6216 {highlight}Ctrl+J{/highlight} \u5728\u8F38\u5165\u6846\u63DB\u884C","tui.tips.clear_input":"\u8F38\u5165\u6642\u6309 {highlight}Ctrl+C{/highlight} \u6E05\u7A7A\u8F38\u5165\u6846","tui.tips.escape":"\u6309 {highlight}Escape{/highlight} \u5728\u56DE\u61C9\u4E2D\u9014\u4E2D\u65B7 AI","tui.tips.plan_agent":"\u5207\u63DB\u5230 {highlight}Plan{/highlight} \u667A\u6167\u4EE3\u7406\u4EE5\u53D6\u5F97\u5EFA\u8B70\u800C\u4E0D\u5BE6\u969B\u8B8A\u66F4","tui.tips.subagent":"\u5728\u63D0\u793A\u8A5E\u4E2D\u4F7F\u7528 {highlight}@agent-name{/highlight} \u547C\u53EB\u5C08\u7528\u5B50\u4EE3\u7406","tui.tips.cycle_sessions":"\u6309 {highlight}Ctrl+X Right/Left{/highlight} \u5728\u7236\u5B50\u5DE5\u4F5C\u968E\u6BB5\u4E4B\u9593\u5207\u63DB","tui.tips.config_files":"\u5EFA\u7ACB {highlight}qitqode.json{/highlight} \u7528\u65BC\u4F3A\u670D\u5668\u7AEF\u8A2D\u5B9A\uFF0C{highlight}tui.json{/highlight} \u7528\u65BC TUI \u8A2D\u5B9A","tui.tips.global_config":"\u628A TUI \u8A2D\u5B9A\u653E\u5728 {highlight}~/.config/qitqode/tui.json{/highlight} \u4F5C\u70BA\u5168\u57DF\u8A2D\u5B9A","tui.tips.schema":"\u5728\u8A2D\u5B9A\u4E2D\u52A0\u5165 {highlight}$schema{/highlight} \u4EE5\u4FBF\u7DE8\u8F2F\u5668\u81EA\u52D5\u5B8C\u6210","tui.tips.default_model":"\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u5B9A {highlight}model{/highlight} \u4F86\u6307\u5B9A\u9810\u8A2D\u6A21\u578B","tui.tips.keybinds":"\u900F\u904E {highlight}tui.json{/highlight} \u7684 {highlight}keybinds{/highlight} \u5340\u6BB5\u8986\u5BEB\u4EFB\u610F\u6309\u9375","tui.tips.disable_keybind":"\u628A\u4EFB\u610F\u6309\u9375\u8A2D\u70BA {highlight}none{/highlight} \u5373\u53EF\u5B8C\u5168\u505C\u7528\u5B83","tui.tips.mcp_config":"\u5728 {highlight}mcp{/highlight} \u8A2D\u5B9A\u9805\u4E2D\u8A2D\u5B9A\u672C\u6A5F\u6216\u9060\u7AEF MCP \u4F3A\u670D\u5668","tui.tips.mcp_oauth":"QitQode \u81EA\u52D5\u8655\u7406\u9700\u8981\u9A57\u8B49\u7684\u9060\u7AEF MCP \u4F3A\u670D\u5668\u7684 OAuth","tui.tips.custom_command":"\u5728 {highlight}.qitqode/command/{/highlight} \u52A0\u5165 {highlight}.md{/highlight} \u6A94\u6848\u4EE5\u5B9A\u7FA9\u53EF\u91CD\u7528\u81EA\u8A02\u63D0\u793A","tui.tips.command_args":"\u5728\u81EA\u8A02\u6307\u4EE4\u4E2D\u4F7F\u7528 {highlight}$ARGUMENTS{/highlight}\u3001{highlight}$1{/highlight}\u3001{highlight}$2{/highlight} \u63A5\u6536\u52D5\u614B\u53C3\u6578","tui.tips.command_backticks":"\u5728\u6307\u4EE4\u4E2D\u4F7F\u7528\u53CD\u5F15\u865F\u6CE8\u5165 shell \u8F38\u51FA\uFF08\u4F8B\u5982 {highlight}`git status`{/highlight}\uFF09","tui.tips.custom_agent":"\u5728 {highlight}.qitqode/agent/{/highlight} \u52A0\u5165 {highlight}.md{/highlight} \u6A94\u6848\u4F86\u5EFA\u7ACB\u5C08\u7528 AI \u89D2\u8272","tui.tips.agent_perms":"\u70BA\u6BCF\u500B\u667A\u6167\u4EE3\u7406\u55AE\u7368\u8A2D\u5B9A {highlight}edit{/highlight}\u3001{highlight}bash{/highlight}\u3001{highlight}webfetch{/highlight} \u5DE5\u5177\u6B0A\u9650","tui.tips.bash_allow":'\u4F7F\u7528 {highlight}"git *": "allow"{/highlight} \u9019\u985E\u6A21\u5F0F\u505A\u7CBE\u7D30 bash \u6B0A\u9650',"tui.tips.bash_deny":'\u8A2D\u5B9A {highlight}"rm -rf *": "deny"{/highlight} \u963B\u64CB\u7834\u58DE\u6027\u6307\u4EE4',"tui.tips.bash_ask":'\u8A2D\u5B9A {highlight}"git push": "ask"{/highlight} \u5728\u63A8\u9001\u524D\u8981\u6C42\u78BA\u8A8D',"tui.tips.formatter":"QitQode \u81EA\u52D5\u4F7F\u7528 prettier\u3001gofmt\u3001ruff \u7B49\u683C\u5F0F\u5316\u6A94\u6848","tui.tips.disable_formatter":'\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u5B9A {highlight}"formatter": false{/highlight} \u95DC\u9589\u6240\u6709\u81EA\u52D5\u683C\u5F0F\u5316',"tui.tips.custom_formatter":"\u5728\u8A2D\u5B9A\u4E2D\u4F9D\u6A94\u6848\u526F\u6A94\u540D\u5B9A\u7FA9\u81EA\u8A02\u683C\u5F0F\u5316\u6307\u4EE4","tui.tips.lsp":"QitQode \u4F7F\u7528 LSP \u4F3A\u670D\u5668\u9032\u884C\u667A\u6167\u7A0B\u5F0F\u78BC\u5206\u6790","tui.tips.custom_tool":"\u5728 {highlight}.qitqode/tools/{/highlight} \u5EFA\u7ACB {highlight}.ts{/highlight} \u6A94\u6848\u5B9A\u7FA9\u65B0\u7684 LLM \u5DE5\u5177","tui.tips.tool_scripts":"\u5DE5\u5177\u5B9A\u7FA9\u53EF\u547C\u53EB Python\u3001Go \u7B49\u6307\u4EE4\u7A3F","tui.tips.plugins":"\u5728 {highlight}.qitqode/plugin/{/highlight} \u52A0\u5165 {highlight}.ts{/highlight} \u6A94\u6848\u639B\u8F09\u4E8B\u4EF6\u52FE\u9EDE","tui.tips.plugin_notify":"\u7528\u5916\u639B\u5728\u5DE5\u4F5C\u968E\u6BB5\u5B8C\u6210\u6642\u50B3\u9001\u7CFB\u7D71\u901A\u77E5","tui.tips.plugin_protect":"\u64B0\u5BEB\u4E00\u500B\u5916\u639B\u963B\u6B62 QitQode \u8B80\u53D6\u654F\u611F\u6A94\u6848","tui.tips.run":"\u7528 {highlight}qitqode run{/highlight} \u9032\u884C\u975E\u4E92\u52D5\u5F0F\u6307\u4EE4\u7A3F\u547C\u53EB","tui.tips.continue":"\u7528 {highlight}qitqode --continue{/highlight} \u7E7C\u7E8C\u4E0A\u4E00\u500B\u5DE5\u4F5C\u968E\u6BB5","tui.tips.attach_cli":"\u7528 {highlight}qitqode run -f file.ts{/highlight} \u900F\u904E\u547D\u4EE4\u5217\u9644\u52A0\u6A94\u6848","tui.tips.format_json":"\u7528 {highlight}--format json{/highlight} \u5728\u6307\u4EE4\u7A3F\u4E2D\u53D6\u5F97\u6A5F\u5668\u53EF\u8B80\u8F38\u51FA","tui.tips.auth_list":"\u57F7\u884C {highlight}qitqode auth status{/highlight} \u6AA2\u8996\u76EE\u524D\u7684\u767B\u5165\u72C0\u614B","tui.tips.agent_create":"\u57F7\u884C {highlight}qitqode agent create{/highlight} \u5F15\u5C0E\u5F0F\u5EFA\u7ACB\u667A\u6167\u4EE3\u7406","tui.tips.theme_system":'\u4F7F\u7528 {highlight}"theme": "system"{/highlight} \u8DDF\u96A8\u7D42\u7AEF\u6A5F\u914D\u8272',"tui.tips.theme_files":"\u5728 {highlight}.qitqode/themes/{/highlight} \u76EE\u9304\u4E0B\u5EFA\u7ACB JSON \u4E3B\u984C\u6A94\u6848","tui.tips.theme_variants":"\u4E3B\u984C\u652F\u63F4\u6DF1\u8272\uFF0F\u6DFA\u8272\u96D9\u6A21\u5F0F\u8B8A\u9AD4","tui.tips.theme_ansi":"\u81EA\u8A02\u4E3B\u984C\u4E2D\u53EF\u53C3\u7167 ANSI 0-255 \u8272\u865F","tui.tips.env_var":"\u5728\u8A2D\u5B9A\u4E2D\u7528 {highlight}{env:VAR_NAME}{/highlight} \u8A9E\u6CD5\u53C3\u7167\u74B0\u5883\u8B8A\u6578","tui.tips.file_var":"\u7528 {highlight}{file:path}{/highlight} \u5728\u8A2D\u5B9A\u503C\u4E2D\u5D4C\u5165\u6A94\u6848\u5167\u5BB9","tui.tips.instructions":"\u5728\u8A2D\u5B9A\u4E2D\u7528 {highlight}instructions{/highlight} \u8F09\u5165\u984D\u5916\u7684\u898F\u5247\u6A94\u6848","tui.tips.temperature":"\u628A\u667A\u6167\u4EE3\u7406\u7684 {highlight}temperature{/highlight} \u5F9E 0.0\uFF08\u5C08\u6CE8\uFF09\u8ABF\u5230 1.0\uFF08\u5275\u9020\uFF09","tui.tips.steps":"\u8A2D\u5B9A {highlight}steps{/highlight} \u9650\u5236\u6BCF\u6B21\u8ACB\u6C42\u7684\u4EE3\u7406\u8FED\u4EE3\u6B21\u6578","tui.tips.disable_tool":'\u8A2D\u5B9A {highlight}"tools": {"bash": false}{/highlight} \u505C\u7528\u7279\u5B9A\u5DE5\u5177',"tui.tips.disable_mcp_tools":'\u8A2D\u5B9A {highlight}"mcp_*": false{/highlight} \u505C\u7528\u67D0\u500B MCP \u4F3A\u670D\u5668\u7684\u6240\u6709\u5DE5\u5177',"tui.tips.tool_override":"\u5728\u6BCF\u500B\u667A\u6167\u4EE3\u7406\u8A2D\u5B9A\u4E2D\u8986\u5BEB\u5168\u57DF\u5DE5\u5177\u8A2D\u5B9A","tui.tips.doom_loop":"\u6B0A\u9650 {highlight}doom_loop{/highlight} \u9632\u6B62\u5DE5\u5177\u547C\u53EB\u9677\u5165\u7121\u7AAE\u8FF4\u5708","tui.tips.external_dir":"\u6B0A\u9650 {highlight}external_directory{/highlight} \u4FDD\u8B77\u5C08\u6848\u5916\u90E8\u7684\u6A94\u6848","tui.tips.debug_config":"\u57F7\u884C {highlight}qitqode debug config{/highlight} \u6392\u67E5\u8A2D\u5B9A\u554F\u984C","tui.tips.print_logs":"\u4F7F\u7528 {highlight}--print-logs{/highlight} \u65D7\u6A19\u5728 stderr \u8F38\u51FA\u8A73\u7D30\u8A18\u9304","tui.tips.timeline":"\u6309 {highlight}Ctrl+X G{/highlight} \u6216 {highlight}/timeline{/highlight} \u8DF3\u5230\u6307\u5B9A\u8A0A\u606F","tui.tips.toggle_code":"\u6309 {highlight}Ctrl+X H{/highlight} \u5207\u63DB\u8A0A\u606F\u4E2D\u7A0B\u5F0F\u78BC\u5340\u584A\u7684\u986F\u793A","tui.tips.status":"\u6309 {highlight}Ctrl+X S{/highlight} \u6216 {highlight}/status{/highlight} \u6AA2\u8996\u7CFB\u7D71\u72C0\u614B","tui.tips.scroll_accel":"\u5728 {highlight}tui.json{/highlight} \u4E2D\u555F\u7528 {highlight}scroll_acceleration{/highlight} \u4EAB\u53D7\u5E73\u6ED1\u6372\u52D5","tui.tips.agents_md":"\u628A\u5C08\u6848\u4E2D\u7684 {highlight}AGENTS.md{/highlight} \u63D0\u4EA4\u5230 Git \u8207\u5718\u968A\u5171\u4EAB","tui.tips.review":"\u7528 {highlight}/review{/highlight} \u5BE9\u95B1\u672A\u63D0\u4EA4\u8B8A\u66F4\u3001\u5206\u652F\u6216 PR","tui.tips.help":"\u57F7\u884C {highlight}/help{/highlight} \u6216 {highlight}Ctrl+X H{/highlight} \u986F\u793A\u8AAA\u660E\u5C0D\u8A71\u6846","tui.tips.rename":"\u7528 {highlight}/rename{/highlight} \u91CD\u65B0\u547D\u540D\u76EE\u524D\u7684\u5DE5\u4F5C\u968E\u6BB5","tui.tips.suspend.unix":"\u6309 {highlight}Ctrl+Z{/highlight} \u66AB\u505C\u7D42\u7AEF\u6A5F\u4E26\u8FD4\u56DE shell","tui.tips.suspend.win":"\u6309 {highlight}Ctrl+Z{/highlight} \u5FA9\u539F\u8F38\u5165\u6846\u4E2D\u7684\u8F38\u5165","tui.command.palette.title":"\u6307\u4EE4","tui.command.palette.suggested":"\u63A8\u85A6","tui.command.category.session":"\u5DE5\u4F5C\u968E\u6BB5","tui.command.category.agent":"\u667A\u6167\u4EE3\u7406","tui.command.category.provider":"\u4F9B\u61C9\u5546","tui.command.category.system":"\u7CFB\u7D71","tui.command.category.prompt":"\u8F38\u5165\u6846","tui.command.category.internal":"\u5167\u5EFA","tui.command.category.external":"\u7B2C\u4E09\u65B9","tui.slash.init.description":"\u5F15\u5C0E\u5F0F AGENTS.md \u8A2D\u5B9A","tui.slash.review.description":"\u5BE9\u67E5\u8B8A\u66F4 [commit|branch|pr]\uFF0C\u9810\u8A2D\u672A\u63D0\u4EA4\u7684\u8B8A\u66F4","tui.slash.dream.description":"\u5F9E memory \u6A94\u6848\u8207\u539F\u59CB\u8ECC\u8DE1\u4E2D\u624B\u52D5\u6574\u5408\u5C08\u6848\u8A18\u61B6","tui.slash.distill.description":"\u5728\u6700\u8FD1\u5DE5\u4F5C\u4E2D\u767C\u73FE\u91CD\u8907\u6D41\u7A0B\uFF0C\u6253\u5305\u70BA skill\u3001\u5B50\u667A\u6167\u4EE3\u7406\u6216\u547D\u4EE4","tui.slash.goal.description":"\u8A2D\u5B9A\u7D42\u6B62\u689D\u4EF6\u76EE\u6A19\uFF1B\u57F7\u884C\u76F4\u5230\u5224\u5B9A\u9054\u6210\u3002\u4F7F\u7528 /goal clear \u4E2D\u6B62","tui.slash.deep-research.description":"\u6DF1\u5EA6\u591A\u4F86\u6E90\u3001\u4E8B\u5BE6\u6838\u67E5\u7684\u7814\u7A76\u5831\u544A\uFF08\u57F7\u884C deep-research \u5DE5\u4F5C\u6D41\u7A0B\uFF09","tui.command.language.switch.title":"\u5207\u63DB\u8A9E\u8A00","tui.command.language.switch.description":"\u8B8A\u66F4\u986F\u793A\u8A9E\u8A00","tui.command.language.dialog.title":"\u5207\u63DB\u8A9E\u8A00","tui.language.auto":"\u81EA\u52D5\uFF08\u8DDF\u96A8\u7CFB\u7D71\uFF09","tui.language.current":"\u76EE\u524D","tui.command.session.list.title":"\u5207\u63DB\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.new.title":"\u65B0\u589E\u5DE5\u4F5C\u968E\u6BB5","tui.command.workflow.list.title":"\u5DE5\u4F5C\u6D41\u7A0B","tui.command.model.list.title":"\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_recent.title":"\u5FAA\u74B0\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_recent_reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_favorite.title":"\u5FAA\u74B0\u5207\u63DB\u6536\u85CF\u6A21\u578B","tui.command.model.cycle_favorite_reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u6536\u85CF\u6A21\u578B","tui.command.agent.list.title":"\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.mcp.list.title":"\u5207\u63DB MCP","tui.command.never_ask.title_on":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF0C\u6B0A\u9650\u8ACB\u6C42\u9664\u5916\uFF09 - \u9EDE\u64CA\u95DC\u9589","tui.command.never_ask.title_off":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u95DC\u9589 - \u9EDE\u64CA\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF0C\u6B0A\u9650\u8ACB\u6C42\u9664\u5916\uFF09","tui.command.never_ask.toast_on":"\u5DF2\u958B\u555F\u8DF3\u904E\u63D0\u554F \u2014 \u6211\u4E0D\u6703\u518D\u5411\u4F60\u63D0\u554F\uFF0C\u6703\u81EA\u884C\u9078\u64C7\u6700\u4F73\u9078\u9805\uFF0C\u76F4\u5230\u4F60\u95DC\u9589\uFF08/never-ask\uFF09\u3002\u6B0A\u9650\u8ACB\u6C42\u4ECD\u9700\u4F60\u78BA\u8A8D\u3002","tui.command.never_ask.toast_off":"\u5DF2\u95DC\u9589\u8DF3\u904E\u63D0\u554F \u2014 \u9047\u5230\u6C7A\u7B56\u9EDE\u6211\u6703\u91CD\u65B0\u5411\u4F60\u63D0\u554F\u3002","tui.command.never_ask.title_on_fullauto":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF1B\u5168\u81EA\u52D5\u6A21\u5F0F\u540C\u6642\u81EA\u52D5\u6838\u51C6\u6B0A\u9650\uFF09 - \u9EDE\u64CA\u95DC\u9589","tui.command.never_ask.title_off_fullauto":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u95DC\u9589 - \u9EDE\u64CA\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF1B\u5168\u81EA\u52D5\u6A21\u5F0F\u4ECD\u5728\u81EA\u52D5\u6838\u51C6\u6B0A\u9650\uFF09","tui.command.never_ask.toast_on_fullauto":"\u5DF2\u958B\u555F\u8DF3\u904E\u63D0\u554F \u2014 \u6211\u4E0D\u6703\u518D\u5411\u4F60\u63D0\u554F\uFF0C\u6703\u81EA\u884C\u9078\u64C7\u6700\u4F73\u9078\u9805\uFF0C\u76F4\u5230\u4F60\u95DC\u9589\uFF08/never-ask\uFF09\u3002\u5168\u81EA\u52D5\u6A21\u5F0F\u5DF2\u958B\u555F\uFF0C\u5DE5\u5177\u6B0A\u9650\u8ACB\u6C42\u4E5F\u6703\u81EA\u52D5\u6838\u51C6\u3002","tui.command.agent.cycle.title":"\u5FAA\u74B0\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.variant.cycle.title":"\u5FAA\u74B0\u5207\u63DB\u6A21\u578B\u8B8A\u9AD4","tui.command.variant.list.title":"\u5207\u63DB\u6A21\u578B\u8B8A\u9AD4","tui.command.agent.cycle.reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.provider.login.title":"\u767B\u5165","tui.command.provider.logout.title":"\u767B\u51FA","tui.command.console.org.switch.title":"\u5207\u63DB\u7D44\u7E54","tui.command.qitqode.status.title":"\u6AA2\u8996\u72C0\u614B","tui.command.worktree.list.title":"\u5DE5\u4F5C\u6A39","tui.command.theme.switch.title":"\u5207\u63DB\u4E3B\u984C","tui.command.theme.switch_mode.to_light":"\u5207\u63DB\u5230\u6DFA\u8272\u6A21\u5F0F","tui.command.theme.switch_mode.to_dark":"\u5207\u63DB\u5230\u6DF1\u8272\u6A21\u5F0F","tui.command.theme.mode.unlock":"\u89E3\u9664\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F","tui.command.theme.mode.lock":"\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F","tui.command.help.show.title":"\u8AAA\u660E","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"\u7121\u969C\u7919:\u53EF\u5728\u547D\u4EE4\u6E05\u55AE\u4E2D\u5207\u63DB\u52D5\u756B\u548C\u8072\u97F3\u3002\u74B0\u5883\u8B8A\u6578:NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND\u3002","tui.dialog.help.announcements":"\u64AD\u5831:\u5728\u7121\u969C\u7919\u6A21\u5F0F\u4E0B,\u53EF\u900F\u904E\u547D\u4EE4\u6E05\u55AE\u6216 QITQODE_TUI_ANNOUNCEMENTS \u9078\u64C7\u87A2\u5E55\u95B1\u8B80\u5668\u64AD\u5831\u7684\u8A73\u7D30\u7A0B\u5EA6(\u5B89\u975C\u3001\u6B63\u5E38\u3001\u8A73\u7D30)\u3002\u932F\u8AA4\u6C38\u9060\u6703\u64AD\u5831\u3002","tui.dialog.help.dialog_keys":"\u5C0D\u8A71\u65B9\u584A:\u6240\u6709\u5C0D\u8A71\u65B9\u584A\u5747\u53EF\u50C5\u7528\u9375\u76E4\u64CD\u4F5C \u2014 Esc \u95DC\u9589,Tab \u6216\u65B9\u5411\u9375\u79FB\u52D5\u7126\u9EDE,Enter \u6216\u7A7A\u683C\u9375\u555F\u7528\u76EE\u524D\u63A7\u5236\u9805\u3002","tui.command.app.announcements.cycle":"\u64AD\u5831:{{level}}(\u9078\u64C7\u4EE5\u8B8A\u66F4)","tui.announcements.level.quiet":"\u5B89\u975C","tui.announcements.level.normal":"\u6B63\u5E38","tui.announcements.level.verbose":"\u8A73\u7D30","tui.app.terminal_too_small":"\u7D42\u7AEF\u8996\u7A97\u904E\u5C0F ({{width}}x{{height}}),\u8ACB\u8ABF\u6574\u5230\u81F3\u5C11 40x8\u3002","tui.dialog.help.command_list":"\u6309 {{keybind}} \u6AA2\u8996\u76EE\u524D\u5167\u5BB9\u4E2D\u6240\u6709\u53EF\u7528\u7684\u64CD\u4F5C\u8207\u547D\u4EE4\u3002","tui.dialog.help.ok":"\u78BA\u5B9A","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 \u6372\u52D5 \xB7 PgUp/PgDn \u7FFB\u9801 \xB7 esc \u95DC\u9589","tui.dialog.ok":"\u78BA\u5B9A","tui.dialog.confirm.cancel":"\u53D6\u6D88","tui.dialog.confirm.confirm":"\u78BA\u8A8D","tui.dialog.agreement.title":"\u670D\u52D9\u5354\u8B70\u8207\u96B1\u79C1\u653F\u7B56","tui.dialog.agreement.message":"\u8ACB\u95B1\u8B80\u4E26\u540C\u610F\u5F8C\u7E7C\u7E8C\u4F7F\u7528\u3002","tui.dialog.agreement.confirm":"\u540C\u610F\u4E26\u7E7C\u7E8C","tui.command.docs.terms.title":"\u67E5\u770B\u670D\u52D9\u689D\u6B3E","tui.command.docs.privacy.title":"\u67E5\u770B\u96B1\u79C1\u653F\u7B56","tui.command.consent.revoke.title":"\u64A4\u92B7\u514D\u8CBB\u6A21\u578B\u5354\u8B70","tui.consent.revoked":"\u5DF2\u64A4\u92B7\u514D\u8CBB\u6A21\u578B\u5354\u8B70 \u2014 \u4E0B\u6B21\u4F7F\u7528\u6642\u5C07\u518D\u6B21\u8ACB\u6C42\u540C\u610F","tui.dialog.select.placeholder":"\u641C\u5C0B","tui.dialog.select.no_results":"\u627E\u4E0D\u5230\u7D50\u679C","tui.dialog.prompt.placeholder":"\u8F38\u5165\u6587\u5B57","tui.dialog.prompt.busy":"\u8655\u7406\u4E2D...","tui.dialog.prompt.processing":"\u8655\u7406\u4E2D...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"\u63D0\u4EA4","tui.dialog.export.title":"\u532F\u51FA\u9078\u9805","tui.dialog.export.filename":"\u6A94\u6848\u540D\u7A31\uFF1A","tui.dialog.export.filename_placeholder":"\u8F38\u5165\u6A94\u6848\u540D\u7A31","tui.dialog.export.include_thinking":"\u5305\u542B\u601D\u8003\u904E\u7A0B","tui.dialog.export.include_tool_details":"\u5305\u542B\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.dialog.export.include_assistant_metadata":"\u5305\u542B\u52A9\u7406\u4E2D\u7E7C\u8CC7\u6599","tui.dialog.export.open_without_saving":"\u76F4\u63A5\u958B\u555F\u800C\u4E0D\u5132\u5B58","tui.dialog.export.hint.toggle_prefix":"\u6309","tui.dialog.export.hint.toggle_action":"\u5207\u63DB","tui.dialog.export.hint.confirm_action":"\u78BA\u8A8D","tui.dialog.export.hint.options_action":"\u67E5\u770B\u9078\u9805","tui.toast.copied_to_clipboard":"\u5DF2\u8907\u88FD\u5230\u526A\u8CBC\u7C3F","tui.toast.instructions_loaded":"\u5DF2\u8F09\u5165 {{files}}","tui.toast.update_available.title":"\u6709\u65B0\u7248\u672C\u53EF\u7528","tui.toast.update_available.confirm":"\u65B0\u7248\u672C v{{version}} \u5DF2\u767C\u4F48\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\u6557","tui.toast.update_available.success":"\u5DF2\u66F4\u65B0\u5230 QitQode v{{version}}\uFF0C\u8ACB\u91CD\u65B0\u555F\u52D5\u61C9\u7528\u7A0B\u5F0F\u3002","tui.toast.updated.title":"\u5DF2\u81EA\u52D5\u66F4\u65B0","tui.toast.updated.message":"\u5DF2\u81EA\u52D5\u5957\u7528\u4FEE\u88DC\u66F4\u65B0\uFF1Av{{version}}\u3002\u91CD\u65B0\u555F\u52D5\u5F8C\u751F\u6548\u3002\u53EF\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u7F6E autoupdate: false \u95DC\u9589\u81EA\u52D5\u66F4\u65B0\u3002","tui.sidebar.instructions":"\u6307\u4EE4\u6A94\u6848","tui.sidebar.cwd":"\u5DE5\u4F5C\u76EE\u9304","tui.toast.unknown_error":"\u767C\u751F\u672A\u77E5\u932F\u8AA4","tui.command.docs.open.title":"\u958B\u555F\u6587\u4EF6","tui.command.app.exit.title":"\u7D50\u675F\u61C9\u7528\u7A0B\u5F0F","tui.command.app.debug.title":"\u5207\u63DB\u5075\u932F\u9762\u677F","tui.command.app.console.title":"\u5207\u63DB\u4E3B\u63A7\u53F0","tui.command.app.heap_snapshot.title":"\u532F\u51FA\u5806\u7A4D\u5FEB\u7167","tui.command.terminal.suspend.title":"\u66AB\u505C\u7D42\u7AEF\u6A5F","tui.command.terminal.title.disable":"\u505C\u7528\u7D42\u7AEF\u6A5F\u6A19\u984C","tui.command.terminal.title.enable":"\u555F\u7528\u7D42\u7AEF\u6A5F\u6A19\u984C","tui.command.app.toggle.animations.disable":"\u505C\u7528\u52D5\u756B","tui.command.app.toggle.animations.enable":"\u555F\u7528\u52D5\u756B","tui.command.app.toggle.diffwrap.disable":"\u505C\u7528 diff \u81EA\u52D5\u63DB\u884C","tui.command.app.toggle.diffwrap.enable":"\u555F\u7528 diff \u81EA\u52D5\u63DB\u884C","tui.command.app.toggle.sound.disable":"\u505C\u7528\u8072\u97F3","tui.command.app.toggle.sound.enable":"\u555F\u7528\u8072\u97F3","tui.command.logout.toast":"\u5DF2\u767B\u51FA","tui.command.session.share.title":"\u5206\u4EAB\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.share.copy_link":"\u8907\u88FD\u5206\u4EAB\u9023\u7D50","tui.command.session.rename.title":"\u91CD\u65B0\u547D\u540D\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.timeline.title":"\u8DF3\u5230\u8A0A\u606F","tui.command.session.fork.title":"\u5206\u652F\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.compact.title":"\u58D3\u7E2E\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.unshare.title":"\u53D6\u6D88\u5206\u4EAB","tui.command.session.undo.title":"\u5FA9\u539F\u4E0A\u4E00\u689D\u8A0A\u606F","tui.command.session.redo.title":"\u91CD\u505A","tui.command.session.sidebar.show":"\u986F\u793A\u5074\u908A\u6B04","tui.command.session.sidebar.hide":"\u96B1\u85CF\u5074\u908A\u6B04","tui.command.session.conceal.disable":"\u95DC\u9589\u7A0B\u5F0F\u78BC\u96B1\u85CF","tui.command.session.conceal.enable":"\u958B\u555F\u7A0B\u5F0F\u78BC\u96B1\u85CF","tui.command.session.timestamps.show":"\u986F\u793A\u6642\u9593\u6233\u8A18","tui.command.session.timestamps.hide":"\u96B1\u85CF\u6642\u9593\u6233\u8A18","tui.command.session.thinking.expand":"\u5C55\u958B\u601D\u8003\u904E\u7A0B","tui.command.session.thinking.collapse":"\u647A\u758A\u601D\u8003\u904E\u7A0B","tui.command.session.tool_details.show":"\u986F\u793A\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.command.session.tool_details.hide":"\u96B1\u85CF\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.command.session.scrollbar.toggle":"\u5207\u63DB\u5DE5\u4F5C\u968E\u6BB5\u6372\u8EF8","tui.command.session.generic_tool_output.show":"\u986F\u793A\u901A\u7528\u5DE5\u5177\u8F38\u51FA","tui.command.session.generic_tool_output.hide":"\u96B1\u85CF\u901A\u7528\u5DE5\u5177\u8F38\u51FA","tui.command.session.page_up.title":"\u4E0A\u4E00\u9801","tui.command.session.page_down.title":"\u4E0B\u4E00\u9801","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\u9801","tui.command.session.half_page_down.title":"\u5411\u4E0B\u534A\u9801","tui.command.session.first.title":"\u7B2C\u4E00\u689D\u8A0A\u606F","tui.command.session.last.title":"\u6700\u5F8C\u4E00\u689D\u8A0A\u606F","tui.command.session.last_user.title":"\u8DF3\u5230\u6700\u5F8C\u4E00\u689D\u4F7F\u7528\u8005\u8A0A\u606F","tui.command.session.message_next.title":"\u4E0B\u4E00\u689D\u8A0A\u606F","tui.command.session.message_previous.title":"\u4E0A\u4E00\u689D\u8A0A\u606F","tui.command.messages.copy.title":"\u8907\u88FD\u6700\u5F8C\u4E00\u689D\u52A9\u7406\u8A0A\u606F","tui.command.session.copy.title":"\u8907\u88FD\u5C0D\u8A71\u8A18\u9304","tui.command.session.export.title":"\u532F\u51FA\u5C0D\u8A71\u8A18\u9304","tui.command.session.child_first.title":"\u9032\u5165\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.parent.title":"\u8FD4\u56DE\u7236\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.child_next.title":"\u4E0B\u4E00\u500B\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.child_previous.title":"\u4E0A\u4E00\u500B\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.prompt.clear.title":"\u6E05\u7A7A\u8F38\u5165\u6846","tui.command.prompt.submit.title":"\u9001\u51FA\u63D0\u793A\u8A5E","tui.command.prompt.paste.title":"\u8CBC\u4E0A","tui.command.session.interrupt.title":"\u4E2D\u65B7\u5DE5\u4F5C\u968E\u6BB5","tui.command.prompt.editor.title":"\u958B\u555F\u7DE8\u8F2F\u5668","tui.command.prompt.skills.title":"\u6280\u80FD","tui.command.voice.toggle.title":"\u5207\u63DB\u8A9E\u97F3\u8F38\u5165","tui.command.voice.toggle.title_on":"\u8A9E\u97F3\u8F38\u5165\uFF1A\u5DF2\u958B\u555F \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.toggle.title_off":"\u8A9E\u97F3\u8F38\u5165\uFF1A\u5DF2\u95DC\u9589 \u2014 \u9EDE\u64CA\u958B\u555F","tui.command.voice.send.title":"\u5207\u63DB\u8A9E\u97F3\u767C\u9001\u6307\u4EE4","tui.command.voice.send.title_on":"\u8A9E\u97F3\u767C\u9001\uFF1A\u5DF2\u958B\u555F \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.send.title_off":"\u8A9E\u97F3\u767C\u9001\uFF1A\u5DF2\u95DC\u9589 \u2014 \u9EDE\u64CA\u958B\u555F","tui.voice.enabled":"\u8A9E\u97F3\u8F38\u5165\u5DF2\u555F\u7528\uFF08\u7C21\u9AD4\u4E2D\u6587/\u82F1\u8A9E\uFF09\u2014 \u9EDE\u64CA [Voice] \u958B\u59CB\u9304\u97F3","tui.voice.disabled":"\u8A9E\u97F3\u8F38\u5165\u5DF2\u95DC\u9589","tui.voice.send.enabled":"\u8A9E\u97F3\u767C\u9001\u5DF2\u555F\u7528 \u2014 \u505C\u9813\u5F8C\u6E05\u6670\u5FF5\u51FA\u300C\u53D1\u9001\u300D\u5373\u53EF\u63D0\u4EA4","tui.voice.send.disabled":"\u8A9E\u97F3\u767C\u9001\u5DF2\u95DC\u9589","tui.voice.control.enabled":"\u8A9E\u97F3\u63A7\u5236\u5DF2\u555F\u7528 \u2014 \u4F7F\u7528\u591A\u6A21\u614B\u6A21\u578B\u667A\u6167\u7DE8\u8F2F\uFF08\u8F03\u6162\uFF09","tui.voice.control.disabled":"\u8A9E\u97F3\u63A7\u5236\u5DF2\u95DC\u9589 \u2014 \u4F7F\u7528\u5FEB\u901F ASR \u8F49\u5BEB","tui.command.voice.control.title":"\u5207\u63DB\u8A9E\u97F3\u63A7\u5236\uFF08\u591A\u6A21\u614B\uFF09","tui.command.voice.control.title_on":"\u8A9E\u97F3\u63A7\u5236\uFF1A\u5DF2\u958B\u555F\uFF08\u591A\u6A21\u614B\uFF09 \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.control.title_off":"\u8A9E\u97F3\u63A7\u5236\uFF1A\u5DF2\u95DC\u9589\uFF08\u5FEB\u901F ASR\uFF09 \u2014 \u9EDE\u64CA\u958B\u555F","tui.voice.error.no_auth":"\u8ACB\u5148\u7528 /connect \u9023\u63A5 QitQode \u5E33\u865F\uFF0C\u6216\u914D\u7F6E voice.asr_model \u6307\u5B9A\u5176\u4ED6 provider","tui.voice.error.no_auth_provider":"\u8A9E\u97F3 provider\u300C{{provider}}\u300D\u672A\u8A8D\u8B49\uFF0C\u8ACB\u6AA2\u67E5\u5176 apiKey \u914D\u7F6E","tui.voice.error.provider_not_found":"provider\u300C{{provider}}\u300D\u4E0D\u53EF\u7528 \u2014 \u8ACB /connect \u9023\u63A5\uFF0C\u81EA\u5B9A\u7FA9\u7AEF\u9EDE\u9700\u5728\u914D\u7F6E\u4E2D\u8072\u660E models","tui.voice.error.no_url":"provider\u300C{{provider}}\u300D\u672A\u914D\u7F6E baseURL\uFF0C\u8ACB\u5728 options.baseURL \u4E2D\u6307\u5B9A","tui.voice.error.no_device":"\u672A\u5075\u6E2C\u5230\u9EA5\u514B\u98A8/\u97F3\u8A0A\u88DD\u7F6E \u2014 \u8ACB\u6AA2\u67E5\u7CFB\u7D71\u97F3\u8A0A\u8A2D\u5B9A","tui.voice.error.recorder_failed":"\u9304\u97F3\u5931\u6557","tui.voice.error.no_recorder":"\u672A\u5075\u6E2C\u5230\u9304\u97F3\u5DE5\u5177\uFF0C\u8ACB\u5B89\u88DD sox","tui.voice.error.too_short":"\u9304\u97F3\u6642\u9593\u904E\u77ED","tui.voice.error.network":"\u8F49\u5BEB\u5931\u6557\uFF0C\u8ACB\u6AA2\u67E5\u7DB2\u8DEF","tui.voice.error.empty_send":"\u7121\u5167\u5BB9\u53EF\u767C\u9001","tui.voice.error.unknown_agent":"\u672A\u627E\u5230 agent\u300C{{name}}\u300D","tui.command.prompt.stash.title":"\u66AB\u5B58\u63D0\u793A\u8A5E","tui.command.prompt.stash.pop.title":"\u5F48\u51FA\u66AB\u5B58","tui.command.prompt.stash.list.title":"\u66AB\u5B58\u6E05\u55AE","tui.command.tips.toggle.show":"\u986F\u793A Tips","tui.command.tips.toggle.hide":"\u96B1\u85CF Tips","tui.command.plugins.list.title":"\u5916\u639B","tui.command.plugins.install.title":"\u5B89\u88DD\u5916\u639B","tui.question.plan_enter.question":"\u662F\u5426\u5207\u63DB\u5230 plan \u6A21\u5F0F\u9032\u884C\u7D50\u69CB\u5316\u898F\u5283\uFF1F","tui.question.plan_enter.header":"\u9032\u5165\u8A08\u5283","tui.question.plan_enter.option.0.label":"\u662F","tui.question.plan_enter.option.0.description":"\u5207\u63DB\u5230 plan \u667A\u6167\u4EE3\u7406\u9032\u884C\u552F\u8B80\u898F\u5283","tui.question.plan_enter.option.1.label":"\u5426","tui.question.plan_enter.option.1.description":"\u7559\u5728\u7576\u524D\u6A21\u5F0F","tui.question.plan_exit.question":"{{plan}} \u7684\u8A08\u5283\u5DF2\u5B8C\u6210\u3002\u662F\u5426\u5207\u63DB\u5230 build \u667A\u6167\u4EE3\u7406\u958B\u59CB\u5BE6\u4F5C\uFF1F","tui.question.plan_exit.header":"\u9000\u51FA\u8A08\u5283","tui.question.plan_exit.option.0.label":"\u662F","tui.question.plan_exit.option.0.description":"\u5207\u63DB\u5230 build \u667A\u6167\u4EE3\u7406\u4E26\u958B\u59CB\u5BE6\u4F5C\u8A08\u5283","tui.question.plan_exit.option.1.label":"\u5426","tui.question.plan_exit.option.1.description":"\u7559\u5728 plan \u667A\u6167\u4EE3\u7406\u7E7C\u7E8C\u5B8C\u5584\u8A08\u5283","tui.session.badge.auto":"\u81EA\u52D5","trust.title":"\u5B58\u53D6\u5DE5\u4F5C\u5340\uFF1A","trust.safety_check":"\u5B89\u5168\u78BA\u8A8D\uFF1A\u9019\u662F\u4F60\u81EA\u5DF1\u5EFA\u7ACB\u6216\u4FE1\u4EFB\u7684\u5C08\u6848\u55CE\uFF1F\uFF08\u5982\u4F60\u81EA\u5DF1\u7684\u7A0B\u5F0F\u78BC\u3001\u77E5\u540D\u958B\u6E90\u5C08\u6848\u6216\u5718\u968A\u5167\u90E8\u5C08\u6848\uFF09\u3002\u5982\u679C\u4E0D\u662F\uFF0C\u8ACB\u5148\u6AA2\u67E5\u6B64\u76EE\u9304\u4E0B\u7684\u5167\u5BB9\u3002","trust.capabilities":"QitQode \u5C07\u80FD\u5920\u8B80\u53D6\u3001\u7DE8\u8F2F\u548C\u57F7\u884C\u6B64\u76EE\u9304\u4E2D\u7684\u6A94\u6848\u3002","trust.plugin_warn":"\u5982\u679C\u6B64\u76EE\u9304\u4E2D\u5B58\u5728\u60E1\u610F\u5916\u639B\u7A0B\u5F0F\uFF0C\u5B83\u5011\u53EF\u4EE5\u57F7\u884C\u4EFB\u610F\u7A0B\u5F0F\u78BC\u3001\u8B80\u53D6\u3001\u4FEE\u6539\u6216\u7ACA\u53D6\u4F60\u7684\u6A94\u6848\u3002","trust.option.yes":"\u662F\u7684\uFF0C\u6211\u4FE1\u4EFB\u6B64\u76EE\u9304","trust.option.no":"\u5426\uFF0C\u9000\u51FA","trust.dangerous.title_home":"\u8B66\u544A\uFF1A\u4F60\u5373\u5C07\u958B\u555F\u4E3B\u76EE\u9304\u3002","trust.dangerous.title_root":"\u8B66\u544A\uFF1A\u4F60\u5373\u5C07\u958B\u555F\u6A94\u6848\u7CFB\u7D71\u6839\u76EE\u9304\u3002","trust.dangerous.body_home":"\u6A21\u578B\u5C07\u80FD\u5920\u5B58\u53D6\u4F60\u6240\u6709\u7684\u500B\u4EBA\u6A94\u6848 \u2014 SSH \u91D1\u9470\u3001\u6191\u8B49\u3001\u700F\u89BD\u5668\u8A2D\u5B9A\u6A94\u7B49\u4E3B\u76EE\u9304\u4E0B\u7684\u6240\u6709\u5167\u5BB9\u3002","trust.dangerous.body_root":"\u6A21\u578B\u5C07\u80FD\u5920\u5B58\u53D6\u6574\u500B\u6A94\u6848\u7CFB\u7D71 \u2014 \u7CFB\u7D71\u6A94\u6848\u3001\u6240\u6709\u4F7F\u7528\u8005\u8CC7\u6599\u3001\u6191\u8B49\u4EE5\u53CA\u9019\u53F0\u6A5F\u5668\u4E0A\u7684\u4E00\u5207\u3002","trust.dangerous.advice_home":"\u9664\u975E\u6709\u660E\u78BA\u7684\u7406\u7531\uFF0C\u5426\u5247\u4E0D\u8981\u4FE1\u4EFB\u4F60\u7684\u6574\u500B\u4E3B\u76EE\u9304\u3002","trust.dangerous.advice_root":"\u9664\u975E\u6709\u660E\u78BA\u7684\u7406\u7531\uFF0C\u5426\u5247\u4E0D\u8981\u4FE1\u4EFB\u6A94\u6848\u7CFB\u7D71\u6839\u76EE\u9304\u3002","trust.dangerous.option.yes":"\u6211\u4E86\u89E3\u98A8\u96AA\uFF0C\u50C5\u672C\u6B21\u4FE1\u4EFB","trust.dangerous.option.no":"\u9000\u51FA\uFF08\u63A8\u85A6\uFF09"};export{f as dict};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{fh as a,gh as b}from"./chunk-28cm7m3t.js";import"./chunk-w9nzsd3w.js";import"./chunk-zfcp509b.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-md8161zd.js";import"./chunk-yk97q51d.js";import"./chunk-wmaz57f6.js";import"./chunk-hg0etbkx.js";import"./chunk-za63b5mc.js";import"./chunk-j8q252w3.js";import"./chunk-nj4d554m.js";import"./chunk-1hmq2fpt.js";import"./chunk-y370dqf3.js";import"./chunk-snr44en9.js";import"./chunk-keveg5gx.js";import"./chunk-8eje5baf.js";import"./chunk-xqdrr7xg.js";import"./chunk-6b196wjz.js";import"./chunk-94pcpztx.js";import"./chunk-hw5qyht3.js";import"./chunk-z8gdmvgg.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import"./chunk-g6cyhxwg.js";import"./chunk-n96tvjgj.js";import"./chunk-pkc4ddw1.js";import"./chunk-xgr6jnd6.js";import"./chunk-a48t0g95.js";import"./chunk-yqk58hf6.js";import"./chunk-wwgd4rzx.js";import"./chunk-qc3ce3vc.js";import"./chunk-6p94fpbn.js";import"./chunk-fg35hwa0.js";import"./chunk-79agp7v3.js";import"./chunk-kv72hxkp.js";import"./chunk-vkqzmzpw.js";import"./chunk-x9s90xd1.js";import"./chunk-e7v9trve.js";import"./chunk-zh3fny3z.js";import"./chunk-m4j7jyrd.js";import"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-wfd5h6ax.js";import"./chunk-a0rp7gh4.js";import"./chunk-kfmz2p27.js";import"./chunk-ee23d2nz.js";import"./chunk-3k2b05fv.js";export{b as AppRuntime,a as AppLayer};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{p as w,q as h,r as I,s as C,t as D}from"./chunk-xrs18kzn.js";import{Id as c,Jd as k,Kd as $,Nd as x}from"./chunk-p62gb4wj.js";import"./chunk-x4sp99g6.js";import{Rd as P}from"./chunk-yajd975f.js";import{Vf as d}from"./chunk-rbk8seme.js";import{lm as l}from"./chunk-s3mnrhbx.js";import"./chunk-ezfy0b6q.js";import"./chunk-bn0h9dny.js";import{Wn as v}from"./chunk-3nx7112w.js";import"./chunk-htz93dsd.js";import"./chunk-vcw00k0n.js";import"./chunk-2hc5z7b5.js";import"./chunk-9gazyynx.js";import"./chunk-d9hbhkbq.js";import"./chunk-ad72gb5f.js";import"./chunk-d6ry9418.js";import"./chunk-0dt0bxz6.js";import"./chunk-10bjs581.js";import"./chunk-4cnwn1rh.js";import{Qs as b}from"./chunk-xj765svc.js";import{bt as m}from"./chunk-tqj69nh6.js";import"./chunk-ag8kz1e7.js";import"./chunk-5tray1fw.js";import"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-gagtmjmp.js";import"./chunk-zs8kqdsf.js";import"./chunk-7xm75w1e.js";var j={spinner:()=>x(),log:{error:(o)=>c.error(o),info:(o)=>c.info(o),success:(o)=>c.success(o)},resolve:(o)=>v(o),...h,global:b.Path.config};function S(o){if(!o||typeof o!=="object")return;if(!("cause"in o))return;return o.cause}function _(o,e=j){let n=o.mod,a=Boolean(o.force),y=Boolean(o.global);return async(f)=>{let u=e.spinner();u.start("Installing plugin package...");let p=await I(n,e);if(!p.ok){u.stop("Install failed",1),e.log.error(`Could not install "${n}"`);let t=w(p.error);if(t.detail)e.log.error(t.detail);if(t.missing)e.log.info("This package depends on a version that is not available in your npm registry."),e.log.info("Check npm registry/auth settings and try again.");return!1}u.stop("Plugin package ready");let s=e.spinner();s.start("Reading plugin manifest...");let i=await C(p.target);if(!i.ok){if(i.code==="manifest_read_failed")return s.stop("Manifest read failed",1),e.log.error(`Installed "${n}" but failed to read ${i.file}`),e.log.error(m(S(i.error)??i.error)),!1;if(i.code==="manifest_no_targets")return s.stop("No plugin targets found",1),e.log.error(`"${n}" does not expose plugin entrypoints in package.json`),e.log.info('Expected one of: exports["./tui"], exports["./server"], package.json main for server, or package.json["oc-themes"] for tui themes.'),!1;return s.stop("Manifest read failed",1),!1}s.stop(`Detected ${i.targets.map((t)=>t.kind).join(" + ")} target${i.targets.length===1?"":"s"}`);let g=e.spinner();g.start("Updating plugin config...");let r=await D({spec:n,targets:i.targets,force:a,global:y,vcs:f.vcs,worktree:f.worktree,directory:f.directory,config:e.global},e);if(!r.ok){if(r.code==="invalid_json")return g.stop(`Failed updating ${r.kind} config`,1),e.log.error(`Invalid JSON in ${r.file} (${r.parse} at line ${r.line}, column ${r.col})`),e.log.info("Fix the config file and run the command again."),!1;return g.stop("Failed updating plugin config",1),e.log.error(m(r.error)),!1}g.stop("Plugin config updated");for(let t of r.items){if(t.mode==="noop"){e.log.info(`Already configured in ${t.file}`);continue}if(t.mode==="replace"){e.log.info(`Replaced in ${t.file}`);continue}e.log.info(`Added to ${t.file}`)}return e.log.success(`Installed ${n}`),e.log.info(y?`Scope: global (${r.dir})`:`Scope: local (${r.dir})`),!0}}var R=P({command:"plugin <module>",aliases:["plug"],describe:"install plugin and update config",builder:(o)=>{return o.positional("module",{type:"string",describe:"npm module name"}).option("global",{alias:["g"],type:"boolean",default:!1,describe:"install in global config"}).option("force",{alias:["f"],type:"boolean",default:!1,describe:"replace existing plugin version"})},handler:async(o)=>{let e=String(o.module??"").trim();if(!e){d.error("module is required"),process.exitCode=1;return}d.empty(),k(`Install plugin ${e}`);let n=_({mod:e,global:Boolean(o.global),force:Boolean(o.force)}),a=!0;if(await l.provide({directory:process.cwd(),fn:async()=>{a=await n({vcs:l.project.vcs,worktree:l.worktree,directory:l.directory})}}),$("Done"),!a)process.exitCode=1}});export{_ as createPlugTask,R as PluginCommand};
2
+ import{p as w,q as h,r as I,s as C,t as D}from"./chunk-jm722vy1.js";import{Id as c,Jd as k,Kd as $,Nd as x}from"./chunk-x66ycpfs.js";import"./chunk-03xppy47.js";import{Rd as P}from"./chunk-yajd975f.js";import{Vf as d}from"./chunk-p9cnzxb8.js";import{lm as l}from"./chunk-za63b5mc.js";import"./chunk-j8q252w3.js";import"./chunk-nj4d554m.js";import{tp as v}from"./chunk-y370dqf3.js";import"./chunk-snr44en9.js";import"./chunk-keveg5gx.js";import"./chunk-xqdrr7xg.js";import"./chunk-6b196wjz.js";import"./chunk-wwgd4rzx.js";import"./chunk-qc3ce3vc.js";import"./chunk-6p94fpbn.js";import"./chunk-fg35hwa0.js";import"./chunk-79agp7v3.js";import"./chunk-kv72hxkp.js";import{nu as b}from"./chunk-x9s90xd1.js";import{Au as m}from"./chunk-e7v9trve.js";import"./chunk-zh3fny3z.js";import"./chunk-m4j7jyrd.js";import"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-wfd5h6ax.js";import"./chunk-a0rp7gh4.js";import"./chunk-3k2b05fv.js";var j={spinner:()=>x(),log:{error:(o)=>c.error(o),info:(o)=>c.info(o),success:(o)=>c.success(o)},resolve:(o)=>v(o),...h,global:b.Path.config};function S(o){if(!o||typeof o!=="object")return;if(!("cause"in o))return;return o.cause}function _(o,e=j){let n=o.mod,a=Boolean(o.force),y=Boolean(o.global);return async(f)=>{let u=e.spinner();u.start("Installing plugin package...");let p=await I(n,e);if(!p.ok){u.stop("Install failed",1),e.log.error(`Could not install "${n}"`);let t=w(p.error);if(t.detail)e.log.error(t.detail);if(t.missing)e.log.info("This package depends on a version that is not available in your npm registry."),e.log.info("Check npm registry/auth settings and try again.");return!1}u.stop("Plugin package ready");let s=e.spinner();s.start("Reading plugin manifest...");let i=await C(p.target);if(!i.ok){if(i.code==="manifest_read_failed")return s.stop("Manifest read failed",1),e.log.error(`Installed "${n}" but failed to read ${i.file}`),e.log.error(m(S(i.error)??i.error)),!1;if(i.code==="manifest_no_targets")return s.stop("No plugin targets found",1),e.log.error(`"${n}" does not expose plugin entrypoints in package.json`),e.log.info('Expected one of: exports["./tui"], exports["./server"], package.json main for server, or package.json["oc-themes"] for tui themes.'),!1;return s.stop("Manifest read failed",1),!1}s.stop(`Detected ${i.targets.map((t)=>t.kind).join(" + ")} target${i.targets.length===1?"":"s"}`);let g=e.spinner();g.start("Updating plugin config...");let r=await D({spec:n,targets:i.targets,force:a,global:y,vcs:f.vcs,worktree:f.worktree,directory:f.directory,config:e.global},e);if(!r.ok){if(r.code==="invalid_json")return g.stop(`Failed updating ${r.kind} config`,1),e.log.error(`Invalid JSON in ${r.file} (${r.parse} at line ${r.line}, column ${r.col})`),e.log.info("Fix the config file and run the command again."),!1;return g.stop("Failed updating plugin config",1),e.log.error(m(r.error)),!1}g.stop("Plugin config updated");for(let t of r.items){if(t.mode==="noop"){e.log.info(`Already configured in ${t.file}`);continue}if(t.mode==="replace"){e.log.info(`Replaced in ${t.file}`);continue}e.log.info(`Added to ${t.file}`)}return e.log.success(`Installed ${n}`),e.log.info(y?`Scope: global (${r.dir})`:`Scope: local (${r.dir})`),!0}}var R=P({command:"plugin <module>",aliases:["plug"],describe:"install plugin and update config",builder:(o)=>{return o.positional("module",{type:"string",describe:"npm module name"}).option("global",{alias:["g"],type:"boolean",default:!1,describe:"install in global config"}).option("force",{alias:["f"],type:"boolean",default:!1,describe:"replace existing plugin version"})},handler:async(o)=>{let e=String(o.module??"").trim();if(!e){d.error("module is required"),process.exitCode=1;return}d.empty(),k(`Install plugin ${e}`);let n=_({mod:e,global:Boolean(o.global),force:Boolean(o.force)}),a=!0;if(await l.provide({directory:process.cwd(),fn:async()=>{a=await n({vcs:l.project.vcs,worktree:l.worktree,directory:l.directory})}}),$("Done"),!a)process.exitCode=1}});export{_ as createPlugTask,R as PluginCommand};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Ed as p}from"./chunk-x25zkrz7.js";import{Fd as x,Gd as b,Id as w,Jd as v,Kd as c}from"./chunk-p62gb4wj.js";import"./chunk-x4sp99g6.js";import{Rd as g}from"./chunk-yajd975f.js";import{Vf as r}from"./chunk-rbk8seme.js";import{gh as m}from"./chunk-caj1b9y7.js";import"./chunk-ygs5pzk7.js";import"./chunk-vxyy2dp3.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-5hw6xa49.js";import"./chunk-326p5b10.js";import{Cl as f,kk as y}from"./chunk-257me4z3.js";import"./chunk-nkkch4h7.js";import"./chunk-s3mnrhbx.js";import"./chunk-ezfy0b6q.js";import"./chunk-bn0h9dny.js";import"./chunk-hnvn2c25.js";import"./chunk-3nx7112w.js";import"./chunk-htz93dsd.js";import"./chunk-vcw00k0n.js";import"./chunk-we9cv8we.js";import"./chunk-2hc5z7b5.js";import"./chunk-9gazyynx.js";import"./chunk-4jtxtkj7.js";import"./chunk-ay8emwym.js";import"./chunk-2maqde7w.js";import"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import"./chunk-g5rabwre.js";import"./chunk-jbx3s7nw.js";import"./chunk-15hw2z9t.js";import"./chunk-48ge2ryx.js";import"./chunk-n9xns8by.js";import"./chunk-y9q0hb7b.js";import"./chunk-d9hbhkbq.js";import"./chunk-ad72gb5f.js";import"./chunk-d6ry9418.js";import"./chunk-0dt0bxz6.js";import"./chunk-10bjs581.js";import"./chunk-4cnwn1rh.js";import"./chunk-764fksh3.js";import"./chunk-xj765svc.js";import"./chunk-tqj69nh6.js";import"./chunk-ag8kz1e7.js";import"./chunk-5tray1fw.js";import"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-gagtmjmp.js";import"./chunk-zs8kqdsf.js";import"./chunk-dxpj0cxh.js";import"./chunk-zw815d68.js";import"./chunk-7xm75w1e.js";import{EOL as S}from"os";function s(e,t,i){return i.trim()?`[redacted:${e}:${t}]`:i}function o(e,t,i){if(!i)return i;return Object.keys(i).length?{redacted:`${e}:${t}`}:i}function a(e,t){return{...t,value:s("file-text",e,t.value)}}function l(e,t){return t?.map((i,u)=>({...i,file:s(`${e}-file`,String(u),i.file),patch:s(`${e}-patch`,String(u),i.patch)}))}function I(e){if(!e.source)return e.source;if(e.source.type==="symbol")return{...e.source,path:s("file-path",e.id,e.source.path),name:s("file-symbol",e.id,e.source.name),text:a(e.id,e.source.text)};if(e.source.type==="resource")return{...e.source,clientName:s("file-client",e.id,e.source.clientName),uri:s("file-uri",e.id,e.source.uri),text:a(e.id,e.source.text)};return{...e.source,path:s("file-path",e.id,e.source.path),text:a(e.id,e.source.text)}}function h(e){return{...e,url:s("file-url",e.id,e.url),filename:e.filename===void 0?void 0:s("file-name",e.id,e.filename),source:I(e)}}function $(e){switch(e.type){case"text":return{...e,text:s("text",e.id,e.text),metadata:o("text-metadata",e.id,e.metadata)};case"reasoning":return{...e,text:s("reasoning",e.id,e.text),metadata:o("reasoning-metadata",e.id,e.metadata)};case"file":return h(e);case"subtask":return{...e,prompt:s("subtask-prompt",e.id,e.prompt),description:s("subtask-description",e.id,e.description),command:e.command===void 0?void 0:s("subtask-command",e.id,e.command)};case"tool":return{...e,metadata:o("tool-metadata",e.id,e.metadata),state:e.state.status==="pending"?{...e.state,input:o("tool-input",e.id,e.state.input)??e.state.input,raw:s("tool-raw",e.id,e.state.raw)}:e.state.status==="running"?{...e.state,input:o("tool-input",e.id,e.state.input)??e.state.input,title:e.state.title===void 0?void 0:s("tool-title",e.id,e.state.title),metadata:o("tool-state-metadata",e.id,e.state.metadata)}:e.state.status==="completed"?{...e.state,input:o("tool-input",e.id,e.state.input)??e.state.input,output:s("tool-output",e.id,e.state.output),title:s("tool-title",e.id,e.state.title),metadata:o("tool-state-metadata",e.id,e.state.metadata)??e.state.metadata,attachments:e.state.attachments?.map(h)}:{...e.state,input:o("tool-input",e.id,e.state.input)??e.state.input,metadata:o("tool-state-metadata",e.id,e.state.metadata)}};case"patch":return{...e,hash:s("patch",e.id,e.hash),files:e.files.map((t,i)=>s("patch-file",`${e.id}-${i}`,t))};case"snapshot":return{...e,snapshot:s("snapshot",e.id,e.snapshot)};case"step-start":return{...e,snapshot:e.snapshot===void 0?void 0:s("snapshot",e.id,e.snapshot)};case"step-finish":return{...e,snapshot:e.snapshot===void 0?void 0:s("snapshot",e.id,e.snapshot)};case"agent":return{...e,source:!e.source?e.source:{...e.source,value:s("agent-source",e.id,e.source.value)}};default:return e}}var D=$;function P(e){return{info:{...e.info,title:s("session-title",e.info.id,e.info.title),directory:s("session-directory",e.info.id,e.info.directory),summary:!e.info.summary?e.info.summary:{...e.info.summary,diffs:l("session-diff",e.info.summary.diffs)},revert:!e.info.revert?e.info.revert:{...e.info.revert,snapshot:e.info.revert.snapshot===void 0?void 0:s("revert-snapshot",e.info.id,e.info.revert.snapshot),diff:e.info.revert.diff===void 0?void 0:s("revert-diff",e.info.id,e.info.revert.diff)}},messages:e.messages.map((t)=>({info:t.info.role==="user"?{...t.info,system:t.info.system===void 0?void 0:s("system",t.info.id,t.info.system),summary:!t.info.summary?t.info.summary:{...t.info.summary,title:t.info.summary.title===void 0?void 0:s("summary-title",t.info.id,t.info.summary.title),body:t.info.summary.body===void 0?void 0:s("summary-body",t.info.id,t.info.summary.body),diffs:l("message-diff",t.info.summary.diffs)}}:{...t.info,path:{cwd:s("cwd",t.info.id,t.info.path.cwd),root:s("root",t.info.id,t.info.path.root)}},parts:t.parts.map(D)}))}}var A=g({command:"export [sessionID]",describe:"export session data as JSON",builder:(e)=>{return e.positional("sessionID",{describe:"session id to export",type:"string"}).option("sanitize",{describe:"redact sensitive transcript and file data",type:"boolean"})},handler:async(e)=>{await p(process.cwd(),async()=>{let t=e.sessionID?y.make(e.sessionID):void 0;if(process.stderr.write(`Exporting session: ${t??"latest"}
2
+ import{Ed as p}from"./chunk-ppkqr9cn.js";import{Fd as x,Gd as b,Id as w,Jd as v,Kd as c}from"./chunk-x66ycpfs.js";import"./chunk-03xppy47.js";import{Rd as g}from"./chunk-yajd975f.js";import{Vf as r}from"./chunk-p9cnzxb8.js";import{gh as m}from"./chunk-28cm7m3t.js";import"./chunk-w9nzsd3w.js";import"./chunk-zfcp509b.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-md8161zd.js";import"./chunk-yk97q51d.js";import{Cl as f,kk as y}from"./chunk-wmaz57f6.js";import"./chunk-hg0etbkx.js";import"./chunk-za63b5mc.js";import"./chunk-j8q252w3.js";import"./chunk-nj4d554m.js";import"./chunk-1hmq2fpt.js";import"./chunk-y370dqf3.js";import"./chunk-snr44en9.js";import"./chunk-keveg5gx.js";import"./chunk-8eje5baf.js";import"./chunk-xqdrr7xg.js";import"./chunk-6b196wjz.js";import"./chunk-94pcpztx.js";import"./chunk-hw5qyht3.js";import"./chunk-z8gdmvgg.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import"./chunk-g6cyhxwg.js";import"./chunk-n96tvjgj.js";import"./chunk-pkc4ddw1.js";import"./chunk-xgr6jnd6.js";import"./chunk-a48t0g95.js";import"./chunk-yqk58hf6.js";import"./chunk-wwgd4rzx.js";import"./chunk-qc3ce3vc.js";import"./chunk-6p94fpbn.js";import"./chunk-fg35hwa0.js";import"./chunk-79agp7v3.js";import"./chunk-kv72hxkp.js";import"./chunk-vkqzmzpw.js";import"./chunk-x9s90xd1.js";import"./chunk-e7v9trve.js";import"./chunk-zh3fny3z.js";import"./chunk-m4j7jyrd.js";import"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-wfd5h6ax.js";import"./chunk-a0rp7gh4.js";import"./chunk-kfmz2p27.js";import"./chunk-ee23d2nz.js";import"./chunk-3k2b05fv.js";import{EOL as S}from"os";function s(e,t,i){return i.trim()?`[redacted:${e}:${t}]`:i}function o(e,t,i){if(!i)return i;return Object.keys(i).length?{redacted:`${e}:${t}`}:i}function a(e,t){return{...t,value:s("file-text",e,t.value)}}function l(e,t){return t?.map((i,u)=>({...i,file:s(`${e}-file`,String(u),i.file),patch:s(`${e}-patch`,String(u),i.patch)}))}function I(e){if(!e.source)return e.source;if(e.source.type==="symbol")return{...e.source,path:s("file-path",e.id,e.source.path),name:s("file-symbol",e.id,e.source.name),text:a(e.id,e.source.text)};if(e.source.type==="resource")return{...e.source,clientName:s("file-client",e.id,e.source.clientName),uri:s("file-uri",e.id,e.source.uri),text:a(e.id,e.source.text)};return{...e.source,path:s("file-path",e.id,e.source.path),text:a(e.id,e.source.text)}}function h(e){return{...e,url:s("file-url",e.id,e.url),filename:e.filename===void 0?void 0:s("file-name",e.id,e.filename),source:I(e)}}function $(e){switch(e.type){case"text":return{...e,text:s("text",e.id,e.text),metadata:o("text-metadata",e.id,e.metadata)};case"reasoning":return{...e,text:s("reasoning",e.id,e.text),metadata:o("reasoning-metadata",e.id,e.metadata)};case"file":return h(e);case"subtask":return{...e,prompt:s("subtask-prompt",e.id,e.prompt),description:s("subtask-description",e.id,e.description),command:e.command===void 0?void 0:s("subtask-command",e.id,e.command)};case"tool":return{...e,metadata:o("tool-metadata",e.id,e.metadata),state:e.state.status==="pending"?{...e.state,input:o("tool-input",e.id,e.state.input)??e.state.input,raw:s("tool-raw",e.id,e.state.raw)}:e.state.status==="running"?{...e.state,input:o("tool-input",e.id,e.state.input)??e.state.input,title:e.state.title===void 0?void 0:s("tool-title",e.id,e.state.title),metadata:o("tool-state-metadata",e.id,e.state.metadata)}:e.state.status==="completed"?{...e.state,input:o("tool-input",e.id,e.state.input)??e.state.input,output:s("tool-output",e.id,e.state.output),title:s("tool-title",e.id,e.state.title),metadata:o("tool-state-metadata",e.id,e.state.metadata)??e.state.metadata,attachments:e.state.attachments?.map(h)}:{...e.state,input:o("tool-input",e.id,e.state.input)??e.state.input,metadata:o("tool-state-metadata",e.id,e.state.metadata)}};case"patch":return{...e,hash:s("patch",e.id,e.hash),files:e.files.map((t,i)=>s("patch-file",`${e.id}-${i}`,t))};case"snapshot":return{...e,snapshot:s("snapshot",e.id,e.snapshot)};case"step-start":return{...e,snapshot:e.snapshot===void 0?void 0:s("snapshot",e.id,e.snapshot)};case"step-finish":return{...e,snapshot:e.snapshot===void 0?void 0:s("snapshot",e.id,e.snapshot)};case"agent":return{...e,source:!e.source?e.source:{...e.source,value:s("agent-source",e.id,e.source.value)}};default:return e}}var D=$;function P(e){return{info:{...e.info,title:s("session-title",e.info.id,e.info.title),directory:s("session-directory",e.info.id,e.info.directory),summary:!e.info.summary?e.info.summary:{...e.info.summary,diffs:l("session-diff",e.info.summary.diffs)},revert:!e.info.revert?e.info.revert:{...e.info.revert,snapshot:e.info.revert.snapshot===void 0?void 0:s("revert-snapshot",e.info.id,e.info.revert.snapshot),diff:e.info.revert.diff===void 0?void 0:s("revert-diff",e.info.id,e.info.revert.diff)}},messages:e.messages.map((t)=>({info:t.info.role==="user"?{...t.info,system:t.info.system===void 0?void 0:s("system",t.info.id,t.info.system),summary:!t.info.summary?t.info.summary:{...t.info.summary,title:t.info.summary.title===void 0?void 0:s("summary-title",t.info.id,t.info.summary.title),body:t.info.summary.body===void 0?void 0:s("summary-body",t.info.id,t.info.summary.body),diffs:l("message-diff",t.info.summary.diffs)}}:{...t.info,path:{cwd:s("cwd",t.info.id,t.info.path.cwd),root:s("root",t.info.id,t.info.path.root)}},parts:t.parts.map(D)}))}}var A=g({command:"export [sessionID]",describe:"export session data as JSON",builder:(e)=>{return e.positional("sessionID",{describe:"session id to export",type:"string"}).option("sanitize",{describe:"redact sensitive transcript and file data",type:"boolean"})},handler:async(e)=>{await p(process.cwd(),async()=>{let t=e.sessionID?y.make(e.sessionID):void 0;if(process.stderr.write(`Exporting session: ${t??"latest"}
3
3
  `),!t){r.empty(),v("Export session",{output:process.stderr});let i=[];for await(let n of f.list())i.push(n);if(i.length===0){w.error("No sessions found",{output:process.stderr}),c("Done",{output:process.stderr});return}i.sort((n,d)=>d.time.updated-n.time.updated);let u=await b({message:"Select session to export",maxItems:10,options:i.map((n)=>({label:n.title,value:n.id,hint:`${new Date(n.time.updated).toLocaleString()} \u2022 ${n.id.slice(-8)}`})),output:process.stderr});if(x(u))throw new r.CancelledError;t=u,c("Exporting session...",{output:process.stderr})}try{let i=await m.runPromise(f.Service.use((d)=>d.get(t))),u=await m.runPromise(f.Service.use((d)=>d.messages({sessionID:i.id,agentID:"*"}))),n={info:i,messages:u};process.stdout.write(JSON.stringify(e.sanitize?P(n):n,null,2)),process.stdout.write(S)}catch{r.error(`Session not found: ${t}`),process.exit(1)}})}});export{A as ExportCommand};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$e as S,Ge as E,Oe as O,Pe as b,Se as k,Ve as M,We as W,_e as F,df as T,ef as _,ff as H,hf as C}from"./chunk-e7ny0b3x.js";import{aq as I,bq as R,dq as P}from"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import{St as j}from"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-7xm75w1e.js";var u=j.object({thinking:j.object({type:j.enum(["enabled","disabled"]).optional(),tokenBudget:j.number().optional()}).optional()}),d=j.object({message:j.string()}),w=T({errorSchema:d,errorToMessage:(z)=>z.message});function c({tools:z,toolChoice:X}){z=(z==null?void 0:z.length)?z:void 0;let Y=[];if(z==null)return{tools:void 0,toolChoice:void 0,toolWarnings:Y};let $=[];for(let J of z)if(J.type==="provider")Y.push({type:"unsupported",feature:`provider-defined tool ${J.id}`});else $.push({type:"function",function:{name:J.name,description:J.description,parameters:J.inputSchema}});if(X==null)return{tools:$,toolChoice:void 0,toolWarnings:Y};let D=X.type;switch(D){case"auto":return{tools:$,toolChoice:void 0,toolWarnings:Y};case"none":return{tools:$,toolChoice:"NONE",toolWarnings:Y};case"required":return{tools:$,toolChoice:"REQUIRED",toolWarnings:Y};case"tool":return{tools:$.filter((J)=>J.function.name===X.toolName),toolChoice:"REQUIRED",toolWarnings:Y};default:throw new P({functionality:`tool choice type: ${D}`})}}function y(z){if(z==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let{input_tokens:X,output_tokens:Y}=z;return{inputTokens:{total:X,noCache:X,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:Y,text:Y,reasoning:void 0},raw:z}}function p(z){let X=[],Y=[],$=[];for(let{role:D,content:J}of z)switch(D){case"system":{X.push({role:"system",content:J});break}case"user":{X.push({role:"user",content:J.map((Q)=>{var B;switch(Q.type){case"text":return Q.text;case"file":{let G;if(typeof Q.data==="string")G=Q.data;else if(Q.data instanceof Uint8Array){if(!(((B=Q.mediaType)==null?void 0:B.startsWith("text/"))||Q.mediaType==="application/json"))throw new P({functionality:`document media type: ${Q.mediaType}`,message:`Media type '${Q.mediaType}' is not supported. Supported media types are: text/* and application/json.`});G=new TextDecoder().decode(Q.data)}else throw new P({functionality:"File URL data",message:"URLs should be downloaded by the AI SDK and not reach this point. This indicates a configuration issue."});return Y.push({data:{text:G,title:Q.filename}}),""}}}).join("")});break}case"assistant":{let Q="",B=[];for(let G of J)switch(G.type){case"text":{Q+=G.text;break}case"tool-call":{B.push({id:G.toolCallId,type:"function",function:{name:G.toolName,arguments:JSON.stringify(G.input)}});break}}X.push({role:"assistant",content:B.length>0?void 0:Q,tool_calls:B.length>0?B:void 0,tool_plan:void 0});break}case"tool":{X.push(...J.filter((Q)=>Q.type!=="tool-approval-response").map((Q)=>{var B;let G=Q.output,K;switch(G.type){case"text":case"error-text":K=G.value;break;case"execution-denied":K=(B=G.reason)!=null?B:"Tool execution denied.";break;case"content":case"json":case"error-json":K=JSON.stringify(G.value);break}return{role:"tool",content:K,tool_call_id:Q.toolCallId}}));break}default:throw Error(`Unsupported role: ${D}`)}return{messages:X,documents:Y,warnings:$}}function f(z){switch(z){case"COMPLETE":case"STOP_SEQUENCE":return"stop";case"MAX_TOKENS":return"length";case"ERROR":return"error";case"TOOL_CALL":return"tool-calls";default:return"other"}}var i=class{constructor(z,X){this.specificationVersion="v3",this.supportedUrls={},this.modelId=z,this.config=X}get provider(){return this.config.provider}async getArgs({prompt:z,maxOutputTokens:X,temperature:Y,topP:$,topK:D,frequencyPenalty:J,presencePenalty:Q,stopSequences:B,responseFormat:G,seed:K,tools:U,toolChoice:N,providerOptions:q}){var Z,L;let A=(Z=await F({provider:"cohere",providerOptions:q,schema:u}))!=null?Z:{},{messages:V,documents:x,warnings:h}=p(z),{tools:v,toolChoice:m,toolWarnings:g}=c({tools:U,toolChoice:N});return{args:{model:this.modelId,frequency_penalty:J,presence_penalty:Q,max_tokens:X,temperature:Y,p:$,k:D,seed:K,stop_sequences:B,response_format:(G==null?void 0:G.type)==="json"?{type:"json_object",json_schema:G.schema}:void 0,messages:V,tools:v,tool_choice:m,...x.length>0&&{documents:x},...A.thinking&&{thinking:{type:(L=A.thinking.type)!=null?L:"enabled",token_budget:A.thinking.tokenBudget}}},warnings:[...g,...h]}}async doGenerate(z){var X,Y,$,D,J,Q,B;let{args:G,warnings:K}=await this.getArgs(z),{responseHeaders:U,value:N,rawValue:q}=await S({url:`${this.config.baseURL}/chat`,headers:E(this.config.headers(),z.headers),body:G,failedResponseHandler:w,successfulResponseHandler:H(a),abortSignal:z.abortSignal,fetch:this.config.fetch}),Z=[];for(let L of(X=N.message.content)!=null?X:[]){if(L.type==="text"&&L.text.length>0){Z.push({type:"text",text:L.text});continue}if(L.type==="thinking"&&L.thinking.length>0){Z.push({type:"reasoning",text:L.thinking});continue}}for(let L of(Y=N.message.citations)!=null?Y:[])Z.push({type:"source",sourceType:"document",id:this.config.generateId(),mediaType:"text/plain",title:((D=($=L.sources[0])==null?void 0:$.document)==null?void 0:D.title)||"Document",providerMetadata:{cohere:{start:L.start,end:L.end,text:L.text,sources:L.sources,...L.type&&{citationType:L.type}}}});for(let L of(J=N.message.tool_calls)!=null?J:[])Z.push({type:"tool-call",toolCallId:L.id,toolName:L.function.name,input:L.function.arguments.replace(/^null$/,"{}")});return{content:Z,finishReason:{unified:f(N.finish_reason),raw:(Q=N.finish_reason)!=null?Q:void 0},usage:y(N.usage.tokens),request:{body:G},response:{id:(B=N.generation_id)!=null?B:void 0,headers:U,body:q},warnings:K}}async doStream(z){let{args:X,warnings:Y}=await this.getArgs(z),{responseHeaders:$,value:D}=await S({url:`${this.config.baseURL}/chat`,headers:E(this.config.headers(),z.headers),body:{...X,stream:!0},failedResponseHandler:w,successfulResponseHandler:_(s),abortSignal:z.abortSignal,fetch:this.config.fetch}),J={unified:"other",raw:void 0},Q=void 0,B=null,G=!1;return{stream:D.pipeThrough(new TransformStream({start(K){K.enqueue({type:"stream-start",warnings:Y})},transform(K,U){var N,q;if(z.includeRawChunks)U.enqueue({type:"raw",rawValue:K.rawValue});if(!K.success){J={unified:"error",raw:void 0},U.enqueue({type:"error",error:K.error});return}let Z=K.value;switch(Z.type){case"content-start":{if(Z.delta.message.content.type==="thinking"){U.enqueue({type:"reasoning-start",id:String(Z.index)}),G=!0;return}U.enqueue({type:"text-start",id:String(Z.index)});return}case"content-delta":{if("thinking"in Z.delta.message.content){U.enqueue({type:"reasoning-delta",id:String(Z.index),delta:Z.delta.message.content.thinking});return}U.enqueue({type:"text-delta",id:String(Z.index),delta:Z.delta.message.content.text});return}case"content-end":{if(G){U.enqueue({type:"reasoning-end",id:String(Z.index)}),G=!1;return}U.enqueue({type:"text-end",id:String(Z.index)});return}case"tool-call-start":{let A=Z.delta.message.tool_calls.id,V=Z.delta.message.tool_calls.function.name,x=Z.delta.message.tool_calls.function.arguments;if(B={id:A,name:V,arguments:x,hasFinished:!1},U.enqueue({type:"tool-input-start",id:A,toolName:V}),x.length>0)U.enqueue({type:"tool-input-delta",id:A,delta:x});return}case"tool-call-delta":{if(B&&!B.hasFinished){let A=Z.delta.message.tool_calls.function.arguments;B.arguments+=A,U.enqueue({type:"tool-input-delta",id:B.id,delta:A})}return}case"tool-call-end":{if(B&&!B.hasFinished)U.enqueue({type:"tool-input-end",id:B.id}),U.enqueue({type:"tool-call",toolCallId:B.id,toolName:B.name,input:JSON.stringify(JSON.parse(((N=B.arguments)==null?void 0:N.trim())||"{}"))}),B.hasFinished=!0,B=null;return}case"message-start":{U.enqueue({type:"response-metadata",id:(q=Z.id)!=null?q:void 0});return}case"message-end":{J={unified:f(Z.delta.finish_reason),raw:Z.delta.finish_reason},Q=Z.delta.usage.tokens;return}default:return}},flush(K){K.enqueue({type:"finish",finishReason:J,usage:y(Q)})}})),request:{body:{...X,stream:!0}},response:{headers:$}}}},a=j.object({generation_id:j.string().nullish(),message:j.object({role:j.string(),content:j.array(j.union([j.object({type:j.literal("text"),text:j.string()}),j.object({type:j.literal("thinking"),thinking:j.string()})])).nullish(),tool_plan:j.string().nullish(),tool_calls:j.array(j.object({id:j.string(),type:j.literal("function"),function:j.object({name:j.string(),arguments:j.string()})})).nullish(),citations:j.array(j.object({start:j.number(),end:j.number(),text:j.string(),sources:j.array(j.object({type:j.string().optional(),id:j.string().optional(),document:j.object({id:j.string().optional(),text:j.string(),title:j.string()})})),type:j.string().optional()})).nullish()}),finish_reason:j.string(),usage:j.object({billed_units:j.object({input_tokens:j.number(),output_tokens:j.number()}),tokens:j.object({input_tokens:j.number(),output_tokens:j.number()})})}),s=j.discriminatedUnion("type",[j.object({type:j.literal("citation-start")}),j.object({type:j.literal("citation-end")}),j.object({type:j.literal("content-start"),index:j.number(),delta:j.object({message:j.object({content:j.union([j.object({type:j.literal("text"),text:j.string()}),j.object({type:j.literal("thinking"),thinking:j.string()})])})})}),j.object({type:j.literal("content-delta"),index:j.number(),delta:j.object({message:j.object({content:j.union([j.object({text:j.string()}),j.object({thinking:j.string()})])})})}),j.object({type:j.literal("content-end"),index:j.number()}),j.object({type:j.literal("message-start"),id:j.string().nullish()}),j.object({type:j.literal("message-end"),delta:j.object({finish_reason:j.string(),usage:j.object({tokens:j.object({input_tokens:j.number(),output_tokens:j.number()})})})}),j.object({type:j.literal("tool-plan-delta"),delta:j.object({message:j.object({tool_plan:j.string()})})}),j.object({type:j.literal("tool-call-start"),delta:j.object({message:j.object({tool_calls:j.object({id:j.string(),type:j.literal("function"),function:j.object({name:j.string(),arguments:j.string()})})})})}),j.object({type:j.literal("tool-call-delta"),delta:j.object({message:j.object({tool_calls:j.object({function:j.object({arguments:j.string()})})})})}),j.object({type:j.literal("tool-call-end")})]),r=j.object({inputType:j.enum(["search_document","search_query","classification","clustering"]).optional(),truncate:j.enum(["NONE","START","END"]).optional(),outputDimension:j.union([j.literal(256),j.literal(512),j.literal(1024),j.literal(1536)]).optional()}),l=class{constructor(z,X){this.specificationVersion="v3",this.maxEmbeddingsPerCall=96,this.supportsParallelCalls=!0,this.modelId=z,this.config=X}get provider(){return this.config.provider}async doEmbed({values:z,headers:X,abortSignal:Y,providerOptions:$}){var D;let J=await F({provider:"cohere",providerOptions:$,schema:r});if(z.length>this.maxEmbeddingsPerCall)throw new R({provider:this.provider,modelId:this.modelId,maxEmbeddingsPerCall:this.maxEmbeddingsPerCall,values:z});let{responseHeaders:Q,value:B,rawValue:G}=await S({url:`${this.config.baseURL}/embed`,headers:E(this.config.headers(),X),body:{model:this.modelId,embedding_types:["float"],texts:z,input_type:(D=J==null?void 0:J.inputType)!=null?D:"search_query",truncate:J==null?void 0:J.truncate,output_dimension:J==null?void 0:J.outputDimension},failedResponseHandler:w,successfulResponseHandler:H(n),abortSignal:Y,fetch:this.config.fetch});return{warnings:[],embeddings:B.embeddings.float,usage:{tokens:B.meta.billed_units.input_tokens},response:{headers:Q,body:G}}}},n=j.object({embeddings:j.object({float:j.array(j.array(j.number()))}),meta:j.object({billed_units:j.object({input_tokens:j.number()})})}),t=M(()=>W(j.object({id:j.string().nullish(),results:j.array(j.object({index:j.number(),relevance_score:j.number()})),meta:j.any()}))),e=M(()=>W(j.object({maxTokensPerDoc:j.number().optional(),priority:j.number().optional()}))),o=class{constructor(z,X){this.specificationVersion="v3",this.modelId=z,this.config=X}get provider(){return this.config.provider}async doRerank({documents:z,headers:X,query:Y,topN:$,abortSignal:D,providerOptions:J}){var Q;let B=await F({provider:"cohere",providerOptions:J,schema:e}),G=[];if(z.type==="object")G.push({type:"compatibility",feature:"object documents",details:"Object documents are converted to strings."});let{responseHeaders:K,value:U,rawValue:N}=await S({url:`${this.config.baseURL}/rerank`,headers:E(this.config.headers(),X),body:{model:this.modelId,query:Y,documents:z.type==="text"?z.values:z.values.map((q)=>JSON.stringify(q)),top_n:$,max_tokens_per_doc:B==null?void 0:B.maxTokensPerDoc,priority:B==null?void 0:B.priority},failedResponseHandler:w,successfulResponseHandler:H(t),abortSignal:D,fetch:this.config.fetch});return{ranking:U.results.map((q)=>({index:q.index,relevanceScore:q.relevance_score})),warnings:G,response:{id:(Q=U.id)!=null?Q:void 0,headers:K,body:N}}}},jj="3.0.27";function zj(z={}){var X;let Y=(X=C(z.baseURL))!=null?X:"https://api.cohere.com/v2",$=()=>b({Authorization:`Bearer ${k({apiKey:z.apiKey,environmentVariableName:"COHERE_API_KEY",description:"Cohere"})}`,...z.headers},`ai-sdk/cohere/${jj}`),D=(G)=>{var K;return new i(G,{provider:"cohere.chat",baseURL:Y,headers:$,fetch:z.fetch,generateId:(K=z.generateId)!=null?K:O})},J=(G)=>new l(G,{provider:"cohere.textEmbedding",baseURL:Y,headers:$,fetch:z.fetch}),Q=(G)=>new o(G,{provider:"cohere.reranking",baseURL:Y,headers:$,fetch:z.fetch}),B=function(G){if(new.target)throw Error("The Cohere model function cannot be called with the new keyword.");return D(G)};return B.specificationVersion="v3",B.languageModel=D,B.embedding=J,B.embeddingModel=J,B.textEmbedding=J,B.textEmbeddingModel=J,B.reranking=Q,B.rerankingModel=Q,B.imageModel=(G)=>{throw new I({modelId:G,modelType:"imageModel"})},B}var Fj=zj();export{zj as createCohere,Fj as cohere,jj as VERSION};
2
+ import{$e as S,Ge as E,Oe as O,Pe as b,Se as k,Ve as M,We as W,_e as F,df as T,ef as _,ff as H,hf as C}from"./chunk-dctj3c22.js";import{Ar as R,Cr as P,zr as I}from"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import{pv as j}from"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-3k2b05fv.js";var u=j.object({thinking:j.object({type:j.enum(["enabled","disabled"]).optional(),tokenBudget:j.number().optional()}).optional()}),d=j.object({message:j.string()}),w=T({errorSchema:d,errorToMessage:(z)=>z.message});function c({tools:z,toolChoice:X}){z=(z==null?void 0:z.length)?z:void 0;let Y=[];if(z==null)return{tools:void 0,toolChoice:void 0,toolWarnings:Y};let $=[];for(let J of z)if(J.type==="provider")Y.push({type:"unsupported",feature:`provider-defined tool ${J.id}`});else $.push({type:"function",function:{name:J.name,description:J.description,parameters:J.inputSchema}});if(X==null)return{tools:$,toolChoice:void 0,toolWarnings:Y};let D=X.type;switch(D){case"auto":return{tools:$,toolChoice:void 0,toolWarnings:Y};case"none":return{tools:$,toolChoice:"NONE",toolWarnings:Y};case"required":return{tools:$,toolChoice:"REQUIRED",toolWarnings:Y};case"tool":return{tools:$.filter((J)=>J.function.name===X.toolName),toolChoice:"REQUIRED",toolWarnings:Y};default:throw new P({functionality:`tool choice type: ${D}`})}}function y(z){if(z==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let{input_tokens:X,output_tokens:Y}=z;return{inputTokens:{total:X,noCache:X,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:Y,text:Y,reasoning:void 0},raw:z}}function p(z){let X=[],Y=[],$=[];for(let{role:D,content:J}of z)switch(D){case"system":{X.push({role:"system",content:J});break}case"user":{X.push({role:"user",content:J.map((Q)=>{var B;switch(Q.type){case"text":return Q.text;case"file":{let G;if(typeof Q.data==="string")G=Q.data;else if(Q.data instanceof Uint8Array){if(!(((B=Q.mediaType)==null?void 0:B.startsWith("text/"))||Q.mediaType==="application/json"))throw new P({functionality:`document media type: ${Q.mediaType}`,message:`Media type '${Q.mediaType}' is not supported. Supported media types are: text/* and application/json.`});G=new TextDecoder().decode(Q.data)}else throw new P({functionality:"File URL data",message:"URLs should be downloaded by the AI SDK and not reach this point. This indicates a configuration issue."});return Y.push({data:{text:G,title:Q.filename}}),""}}}).join("")});break}case"assistant":{let Q="",B=[];for(let G of J)switch(G.type){case"text":{Q+=G.text;break}case"tool-call":{B.push({id:G.toolCallId,type:"function",function:{name:G.toolName,arguments:JSON.stringify(G.input)}});break}}X.push({role:"assistant",content:B.length>0?void 0:Q,tool_calls:B.length>0?B:void 0,tool_plan:void 0});break}case"tool":{X.push(...J.filter((Q)=>Q.type!=="tool-approval-response").map((Q)=>{var B;let G=Q.output,K;switch(G.type){case"text":case"error-text":K=G.value;break;case"execution-denied":K=(B=G.reason)!=null?B:"Tool execution denied.";break;case"content":case"json":case"error-json":K=JSON.stringify(G.value);break}return{role:"tool",content:K,tool_call_id:Q.toolCallId}}));break}default:throw Error(`Unsupported role: ${D}`)}return{messages:X,documents:Y,warnings:$}}function f(z){switch(z){case"COMPLETE":case"STOP_SEQUENCE":return"stop";case"MAX_TOKENS":return"length";case"ERROR":return"error";case"TOOL_CALL":return"tool-calls";default:return"other"}}var i=class{constructor(z,X){this.specificationVersion="v3",this.supportedUrls={},this.modelId=z,this.config=X}get provider(){return this.config.provider}async getArgs({prompt:z,maxOutputTokens:X,temperature:Y,topP:$,topK:D,frequencyPenalty:J,presencePenalty:Q,stopSequences:B,responseFormat:G,seed:K,tools:U,toolChoice:N,providerOptions:q}){var Z,L;let A=(Z=await F({provider:"cohere",providerOptions:q,schema:u}))!=null?Z:{},{messages:V,documents:x,warnings:h}=p(z),{tools:v,toolChoice:m,toolWarnings:g}=c({tools:U,toolChoice:N});return{args:{model:this.modelId,frequency_penalty:J,presence_penalty:Q,max_tokens:X,temperature:Y,p:$,k:D,seed:K,stop_sequences:B,response_format:(G==null?void 0:G.type)==="json"?{type:"json_object",json_schema:G.schema}:void 0,messages:V,tools:v,tool_choice:m,...x.length>0&&{documents:x},...A.thinking&&{thinking:{type:(L=A.thinking.type)!=null?L:"enabled",token_budget:A.thinking.tokenBudget}}},warnings:[...g,...h]}}async doGenerate(z){var X,Y,$,D,J,Q,B;let{args:G,warnings:K}=await this.getArgs(z),{responseHeaders:U,value:N,rawValue:q}=await S({url:`${this.config.baseURL}/chat`,headers:E(this.config.headers(),z.headers),body:G,failedResponseHandler:w,successfulResponseHandler:H(a),abortSignal:z.abortSignal,fetch:this.config.fetch}),Z=[];for(let L of(X=N.message.content)!=null?X:[]){if(L.type==="text"&&L.text.length>0){Z.push({type:"text",text:L.text});continue}if(L.type==="thinking"&&L.thinking.length>0){Z.push({type:"reasoning",text:L.thinking});continue}}for(let L of(Y=N.message.citations)!=null?Y:[])Z.push({type:"source",sourceType:"document",id:this.config.generateId(),mediaType:"text/plain",title:((D=($=L.sources[0])==null?void 0:$.document)==null?void 0:D.title)||"Document",providerMetadata:{cohere:{start:L.start,end:L.end,text:L.text,sources:L.sources,...L.type&&{citationType:L.type}}}});for(let L of(J=N.message.tool_calls)!=null?J:[])Z.push({type:"tool-call",toolCallId:L.id,toolName:L.function.name,input:L.function.arguments.replace(/^null$/,"{}")});return{content:Z,finishReason:{unified:f(N.finish_reason),raw:(Q=N.finish_reason)!=null?Q:void 0},usage:y(N.usage.tokens),request:{body:G},response:{id:(B=N.generation_id)!=null?B:void 0,headers:U,body:q},warnings:K}}async doStream(z){let{args:X,warnings:Y}=await this.getArgs(z),{responseHeaders:$,value:D}=await S({url:`${this.config.baseURL}/chat`,headers:E(this.config.headers(),z.headers),body:{...X,stream:!0},failedResponseHandler:w,successfulResponseHandler:_(s),abortSignal:z.abortSignal,fetch:this.config.fetch}),J={unified:"other",raw:void 0},Q=void 0,B=null,G=!1;return{stream:D.pipeThrough(new TransformStream({start(K){K.enqueue({type:"stream-start",warnings:Y})},transform(K,U){var N,q;if(z.includeRawChunks)U.enqueue({type:"raw",rawValue:K.rawValue});if(!K.success){J={unified:"error",raw:void 0},U.enqueue({type:"error",error:K.error});return}let Z=K.value;switch(Z.type){case"content-start":{if(Z.delta.message.content.type==="thinking"){U.enqueue({type:"reasoning-start",id:String(Z.index)}),G=!0;return}U.enqueue({type:"text-start",id:String(Z.index)});return}case"content-delta":{if("thinking"in Z.delta.message.content){U.enqueue({type:"reasoning-delta",id:String(Z.index),delta:Z.delta.message.content.thinking});return}U.enqueue({type:"text-delta",id:String(Z.index),delta:Z.delta.message.content.text});return}case"content-end":{if(G){U.enqueue({type:"reasoning-end",id:String(Z.index)}),G=!1;return}U.enqueue({type:"text-end",id:String(Z.index)});return}case"tool-call-start":{let A=Z.delta.message.tool_calls.id,V=Z.delta.message.tool_calls.function.name,x=Z.delta.message.tool_calls.function.arguments;if(B={id:A,name:V,arguments:x,hasFinished:!1},U.enqueue({type:"tool-input-start",id:A,toolName:V}),x.length>0)U.enqueue({type:"tool-input-delta",id:A,delta:x});return}case"tool-call-delta":{if(B&&!B.hasFinished){let A=Z.delta.message.tool_calls.function.arguments;B.arguments+=A,U.enqueue({type:"tool-input-delta",id:B.id,delta:A})}return}case"tool-call-end":{if(B&&!B.hasFinished)U.enqueue({type:"tool-input-end",id:B.id}),U.enqueue({type:"tool-call",toolCallId:B.id,toolName:B.name,input:JSON.stringify(JSON.parse(((N=B.arguments)==null?void 0:N.trim())||"{}"))}),B.hasFinished=!0,B=null;return}case"message-start":{U.enqueue({type:"response-metadata",id:(q=Z.id)!=null?q:void 0});return}case"message-end":{J={unified:f(Z.delta.finish_reason),raw:Z.delta.finish_reason},Q=Z.delta.usage.tokens;return}default:return}},flush(K){K.enqueue({type:"finish",finishReason:J,usage:y(Q)})}})),request:{body:{...X,stream:!0}},response:{headers:$}}}},a=j.object({generation_id:j.string().nullish(),message:j.object({role:j.string(),content:j.array(j.union([j.object({type:j.literal("text"),text:j.string()}),j.object({type:j.literal("thinking"),thinking:j.string()})])).nullish(),tool_plan:j.string().nullish(),tool_calls:j.array(j.object({id:j.string(),type:j.literal("function"),function:j.object({name:j.string(),arguments:j.string()})})).nullish(),citations:j.array(j.object({start:j.number(),end:j.number(),text:j.string(),sources:j.array(j.object({type:j.string().optional(),id:j.string().optional(),document:j.object({id:j.string().optional(),text:j.string(),title:j.string()})})),type:j.string().optional()})).nullish()}),finish_reason:j.string(),usage:j.object({billed_units:j.object({input_tokens:j.number(),output_tokens:j.number()}),tokens:j.object({input_tokens:j.number(),output_tokens:j.number()})})}),s=j.discriminatedUnion("type",[j.object({type:j.literal("citation-start")}),j.object({type:j.literal("citation-end")}),j.object({type:j.literal("content-start"),index:j.number(),delta:j.object({message:j.object({content:j.union([j.object({type:j.literal("text"),text:j.string()}),j.object({type:j.literal("thinking"),thinking:j.string()})])})})}),j.object({type:j.literal("content-delta"),index:j.number(),delta:j.object({message:j.object({content:j.union([j.object({text:j.string()}),j.object({thinking:j.string()})])})})}),j.object({type:j.literal("content-end"),index:j.number()}),j.object({type:j.literal("message-start"),id:j.string().nullish()}),j.object({type:j.literal("message-end"),delta:j.object({finish_reason:j.string(),usage:j.object({tokens:j.object({input_tokens:j.number(),output_tokens:j.number()})})})}),j.object({type:j.literal("tool-plan-delta"),delta:j.object({message:j.object({tool_plan:j.string()})})}),j.object({type:j.literal("tool-call-start"),delta:j.object({message:j.object({tool_calls:j.object({id:j.string(),type:j.literal("function"),function:j.object({name:j.string(),arguments:j.string()})})})})}),j.object({type:j.literal("tool-call-delta"),delta:j.object({message:j.object({tool_calls:j.object({function:j.object({arguments:j.string()})})})})}),j.object({type:j.literal("tool-call-end")})]),r=j.object({inputType:j.enum(["search_document","search_query","classification","clustering"]).optional(),truncate:j.enum(["NONE","START","END"]).optional(),outputDimension:j.union([j.literal(256),j.literal(512),j.literal(1024),j.literal(1536)]).optional()}),l=class{constructor(z,X){this.specificationVersion="v3",this.maxEmbeddingsPerCall=96,this.supportsParallelCalls=!0,this.modelId=z,this.config=X}get provider(){return this.config.provider}async doEmbed({values:z,headers:X,abortSignal:Y,providerOptions:$}){var D;let J=await F({provider:"cohere",providerOptions:$,schema:r});if(z.length>this.maxEmbeddingsPerCall)throw new R({provider:this.provider,modelId:this.modelId,maxEmbeddingsPerCall:this.maxEmbeddingsPerCall,values:z});let{responseHeaders:Q,value:B,rawValue:G}=await S({url:`${this.config.baseURL}/embed`,headers:E(this.config.headers(),X),body:{model:this.modelId,embedding_types:["float"],texts:z,input_type:(D=J==null?void 0:J.inputType)!=null?D:"search_query",truncate:J==null?void 0:J.truncate,output_dimension:J==null?void 0:J.outputDimension},failedResponseHandler:w,successfulResponseHandler:H(n),abortSignal:Y,fetch:this.config.fetch});return{warnings:[],embeddings:B.embeddings.float,usage:{tokens:B.meta.billed_units.input_tokens},response:{headers:Q,body:G}}}},n=j.object({embeddings:j.object({float:j.array(j.array(j.number()))}),meta:j.object({billed_units:j.object({input_tokens:j.number()})})}),t=M(()=>W(j.object({id:j.string().nullish(),results:j.array(j.object({index:j.number(),relevance_score:j.number()})),meta:j.any()}))),e=M(()=>W(j.object({maxTokensPerDoc:j.number().optional(),priority:j.number().optional()}))),o=class{constructor(z,X){this.specificationVersion="v3",this.modelId=z,this.config=X}get provider(){return this.config.provider}async doRerank({documents:z,headers:X,query:Y,topN:$,abortSignal:D,providerOptions:J}){var Q;let B=await F({provider:"cohere",providerOptions:J,schema:e}),G=[];if(z.type==="object")G.push({type:"compatibility",feature:"object documents",details:"Object documents are converted to strings."});let{responseHeaders:K,value:U,rawValue:N}=await S({url:`${this.config.baseURL}/rerank`,headers:E(this.config.headers(),X),body:{model:this.modelId,query:Y,documents:z.type==="text"?z.values:z.values.map((q)=>JSON.stringify(q)),top_n:$,max_tokens_per_doc:B==null?void 0:B.maxTokensPerDoc,priority:B==null?void 0:B.priority},failedResponseHandler:w,successfulResponseHandler:H(t),abortSignal:D,fetch:this.config.fetch});return{ranking:U.results.map((q)=>({index:q.index,relevanceScore:q.relevance_score})),warnings:G,response:{id:(Q=U.id)!=null?Q:void 0,headers:K,body:N}}}},jj="3.0.27";function zj(z={}){var X;let Y=(X=C(z.baseURL))!=null?X:"https://api.cohere.com/v2",$=()=>b({Authorization:`Bearer ${k({apiKey:z.apiKey,environmentVariableName:"COHERE_API_KEY",description:"Cohere"})}`,...z.headers},`ai-sdk/cohere/${jj}`),D=(G)=>{var K;return new i(G,{provider:"cohere.chat",baseURL:Y,headers:$,fetch:z.fetch,generateId:(K=z.generateId)!=null?K:O})},J=(G)=>new l(G,{provider:"cohere.textEmbedding",baseURL:Y,headers:$,fetch:z.fetch}),Q=(G)=>new o(G,{provider:"cohere.reranking",baseURL:Y,headers:$,fetch:z.fetch}),B=function(G){if(new.target)throw Error("The Cohere model function cannot be called with the new keyword.");return D(G)};return B.specificationVersion="v3",B.languageModel=D,B.embedding=J,B.embeddingModel=J,B.textEmbedding=J,B.textEmbeddingModel=J,B.reranking=Q,B.rerankingModel=Q,B.imageModel=(G)=>{throw new I({modelId:G,modelType:"imageModel"})},B}var Fj=zj();export{zj as createCohere,Fj as cohere,jj as VERSION};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-cqtkxwd8.js";import{iq as H}from"./chunk-x9rbv6p6.js";import{St as Q,wt as gG}from"./chunk-c11d28qn.js";import{Gy as mG}from"./chunk-mzs2pjyc.js";import"./chunk-7xm75w1e.js";var{defineProperty:uJ,defineProperties:cJ,getOwnPropertyDescriptors:dJ,getOwnPropertySymbols:VB}=Object,uG=Object.prototype.hasOwnProperty,cG=Object.prototype.propertyIsEnumerable,dG=(B)=>{throw TypeError(B)},GG=(B,G,J)=>(G in B)?uJ(B,G,{enumerable:!0,configurable:!0,writable:!0,value:J}):B[G]=J,W=(B,G)=>{for(var J in G||(G={}))if(uG.call(G,J))GG(B,J,G[J]);if(VB){for(var J of VB(G))if(cG.call(G,J))GG(B,J,G[J])}return B},T=(B,G)=>cJ(B,dJ(G)),LB=(B,G)=>{var J={};for(var N in B)if(uG.call(B,N)&&G.indexOf(N)<0)J[N]=B[N];if(B!=null&&VB){for(var N of VB(B))if(G.indexOf(N)<0&&cG.call(B,N))J[N]=B[N]}return J},pJ=(B,G,J)=>G.has(B)||dG("Cannot "+J),JG=(B,G,J)=>(pJ(B,G,"read from private field"),J?J.call(B):G.get(B)),iJ=(B,G,J)=>G.has(B)?dG("Cannot add the same private member more than once"):G instanceof WeakSet?G.add(B):G.set(B,J),pG="vercel.ai.error",rJ=Symbol.for(pG),NG,QG,I=class B extends(QG=Error,NG=rJ,QG){constructor({name:G,message:J,cause:N}){super(J);this[NG]=!0,this.name=G,this.cause=N}static isInstance(G){return B.hasMarker(G,pG)}static hasMarker(G,J){let N=Symbol.for(J);return G!=null&&typeof G==="object"&&N in G&&typeof G[N]==="boolean"&&G[N]===!0}},iG="AI_APICallError",rG=`vercel.ai.error.${iG}`,sJ=Symbol.for(rG),XG,YG,o=class extends(YG=I,XG=sJ,YG){constructor({message:B,url:G,requestBodyValues:J,statusCode:N,responseHeaders:X,responseBody:Y,cause:Z,isRetryable:$=N!=null&&(N===408||N===409||N===429||N>=500),data:z}){super({name:iG,message:B,cause:Z});this[XG]=!0,this.url=G,this.requestBodyValues=J,this.statusCode=N,this.responseHeaders=X,this.responseBody=Y,this.isRetryable=$,this.data=z}static isInstance(B){return I.hasMarker(B,rG)}},sG="AI_EmptyResponseBodyError",nG=`vercel.ai.error.${sG}`,nJ=Symbol.for(nG),ZG,$G,aJ=class extends($G=I,ZG=nJ,$G){constructor({message:B="Empty response body"}={}){super({name:sG,message:B});this[ZG]=!0}static isInstance(B){return I.hasMarker(B,nG)}};function aG(B){if(B==null)return"unknown error";if(typeof B==="string")return B;if(B instanceof Error)return B.message;return JSON.stringify(B)}var lG="AI_InvalidArgumentError",tG=`vercel.ai.error.${lG}`,lJ=Symbol.for(tG),WG,zG,oG=class extends(zG=I,WG=lJ,zG){constructor({message:B,cause:G,argument:J}){super({name:lG,message:B,cause:G});this[WG]=!0,this.argument=J}static isInstance(B){return I.hasMarker(B,tG)}},eG="AI_InvalidPromptError",BJ=`vercel.ai.error.${eG}`,tJ=Symbol.for(BJ),jG,KG,oJ=class extends(KG=I,jG=tJ,KG){constructor({prompt:B,message:G,cause:J}){super({name:eG,message:`Invalid prompt: ${G}`,cause:J});this[jG]=!0,this.prompt=B}static isInstance(B){return I.hasMarker(B,BJ)}},GJ="AI_InvalidResponseDataError",JJ=`vercel.ai.error.${GJ}`,eJ=Symbol.for(JJ),LG,FG,KB=class extends(FG=I,LG=eJ,FG){constructor({data:B,message:G=`Invalid response data: ${JSON.stringify(B)}.`}){super({name:GJ,message:G});this[LG]=!0,this.data=B}static isInstance(B){return I.hasMarker(B,JJ)}},NJ="AI_JSONParseError",QJ=`vercel.ai.error.${NJ}`,BN=Symbol.for(QJ),qG,wG,bB=class extends(wG=I,qG=BN,wG){constructor({text:B,cause:G}){super({name:NJ,message:`JSON parsing failed: Text: ${B}.
2
+ import"./chunk-cqtkxwd8.js";import{Hr as H}from"./chunk-c5pb87yf.js";import{Vu as gG,pv as Q}from"./chunk-gmzrvxnv.js";import{dA as mG}from"./chunk-mpygdb5a.js";import"./chunk-3k2b05fv.js";var{defineProperty:uJ,defineProperties:cJ,getOwnPropertyDescriptors:dJ,getOwnPropertySymbols:VB}=Object,uG=Object.prototype.hasOwnProperty,cG=Object.prototype.propertyIsEnumerable,dG=(B)=>{throw TypeError(B)},GG=(B,G,J)=>(G in B)?uJ(B,G,{enumerable:!0,configurable:!0,writable:!0,value:J}):B[G]=J,W=(B,G)=>{for(var J in G||(G={}))if(uG.call(G,J))GG(B,J,G[J]);if(VB){for(var J of VB(G))if(cG.call(G,J))GG(B,J,G[J])}return B},T=(B,G)=>cJ(B,dJ(G)),LB=(B,G)=>{var J={};for(var N in B)if(uG.call(B,N)&&G.indexOf(N)<0)J[N]=B[N];if(B!=null&&VB){for(var N of VB(B))if(G.indexOf(N)<0&&cG.call(B,N))J[N]=B[N]}return J},pJ=(B,G,J)=>G.has(B)||dG("Cannot "+J),JG=(B,G,J)=>(pJ(B,G,"read from private field"),J?J.call(B):G.get(B)),iJ=(B,G,J)=>G.has(B)?dG("Cannot add the same private member more than once"):G instanceof WeakSet?G.add(B):G.set(B,J),pG="vercel.ai.error",rJ=Symbol.for(pG),NG,QG,I=class B extends(QG=Error,NG=rJ,QG){constructor({name:G,message:J,cause:N}){super(J);this[NG]=!0,this.name=G,this.cause=N}static isInstance(G){return B.hasMarker(G,pG)}static hasMarker(G,J){let N=Symbol.for(J);return G!=null&&typeof G==="object"&&N in G&&typeof G[N]==="boolean"&&G[N]===!0}},iG="AI_APICallError",rG=`vercel.ai.error.${iG}`,sJ=Symbol.for(rG),XG,YG,o=class extends(YG=I,XG=sJ,YG){constructor({message:B,url:G,requestBodyValues:J,statusCode:N,responseHeaders:X,responseBody:Y,cause:Z,isRetryable:$=N!=null&&(N===408||N===409||N===429||N>=500),data:z}){super({name:iG,message:B,cause:Z});this[XG]=!0,this.url=G,this.requestBodyValues=J,this.statusCode=N,this.responseHeaders=X,this.responseBody=Y,this.isRetryable=$,this.data=z}static isInstance(B){return I.hasMarker(B,rG)}},sG="AI_EmptyResponseBodyError",nG=`vercel.ai.error.${sG}`,nJ=Symbol.for(nG),ZG,$G,aJ=class extends($G=I,ZG=nJ,$G){constructor({message:B="Empty response body"}={}){super({name:sG,message:B});this[ZG]=!0}static isInstance(B){return I.hasMarker(B,nG)}};function aG(B){if(B==null)return"unknown error";if(typeof B==="string")return B;if(B instanceof Error)return B.message;return JSON.stringify(B)}var lG="AI_InvalidArgumentError",tG=`vercel.ai.error.${lG}`,lJ=Symbol.for(tG),WG,zG,oG=class extends(zG=I,WG=lJ,zG){constructor({message:B,cause:G,argument:J}){super({name:lG,message:B,cause:G});this[WG]=!0,this.argument=J}static isInstance(B){return I.hasMarker(B,tG)}},eG="AI_InvalidPromptError",BJ=`vercel.ai.error.${eG}`,tJ=Symbol.for(BJ),jG,KG,oJ=class extends(KG=I,jG=tJ,KG){constructor({prompt:B,message:G,cause:J}){super({name:eG,message:`Invalid prompt: ${G}`,cause:J});this[jG]=!0,this.prompt=B}static isInstance(B){return I.hasMarker(B,BJ)}},GJ="AI_InvalidResponseDataError",JJ=`vercel.ai.error.${GJ}`,eJ=Symbol.for(JJ),LG,FG,KB=class extends(FG=I,LG=eJ,FG){constructor({data:B,message:G=`Invalid response data: ${JSON.stringify(B)}.`}){super({name:GJ,message:G});this[LG]=!0,this.data=B}static isInstance(B){return I.hasMarker(B,JJ)}},NJ="AI_JSONParseError",QJ=`vercel.ai.error.${NJ}`,BN=Symbol.for(QJ),qG,wG,bB=class extends(wG=I,qG=BN,wG){constructor({text:B,cause:G}){super({name:NJ,message:`JSON parsing failed: Text: ${B}.
3
3
  Error message: ${aG(G)}`,cause:G});this[qG]=!0,this.text=B}static isInstance(B){return I.hasMarker(B,QJ)}},XJ="AI_LoadAPIKeyError",YJ=`vercel.ai.error.${XJ}`,GN=Symbol.for(YJ),EG,PG,OB=class extends(PG=I,EG=GN,PG){constructor({message:B}){super({name:XJ,message:B});this[EG]=!0}static isInstance(B){return I.hasMarker(B,YJ)}},ZJ="AI_LoadSettingError",$J=`vercel.ai.error.${ZJ}`,JN=Symbol.for($J),OG,HG,XX=class extends(HG=I,OG=JN,HG){constructor({message:B}){super({name:ZJ,message:B});this[OG]=!0}static isInstance(B){return I.hasMarker(B,$J)}},WJ="AI_NoContentGeneratedError",zJ=`vercel.ai.error.${WJ}`,NN=Symbol.for(zJ),SG,yG,rB=class extends(yG=I,SG=NN,yG){constructor({message:B="No content generated."}={}){super({name:WJ,message:B});this[SG]=!0}static isInstance(B){return I.hasMarker(B,zJ)}},jJ="AI_NoSuchModelError",KJ=`vercel.ai.error.${jJ}`,QN=Symbol.for(KJ),AG,VG,YX=class extends(VG=I,AG=QN,VG){constructor({errorName:B=jJ,modelId:G,modelType:J,message:N=`No such ${J}: ${G}`}){super({name:B,message:N});this[AG]=!0,this.modelId=G,this.modelType=J}static isInstance(B){return I.hasMarker(B,KJ)}},LJ="AI_TooManyEmbeddingValuesForCallError",FJ=`vercel.ai.error.${LJ}`,XN=Symbol.for(FJ),bG,MG,ZX=class extends(MG=I,bG=XN,MG){constructor(B){super({name:LJ,message:`Too many values for a single embedding call. The ${B.provider} model "${B.modelId}" can only embed up to ${B.maxEmbeddingsPerCall} values per call, but ${B.values.length} values were provided.`});this[bG]=!0,this.provider=B.provider,this.modelId=B.modelId,this.maxEmbeddingsPerCall=B.maxEmbeddingsPerCall,this.values=B.values}static isInstance(B){return I.hasMarker(B,FJ)}},qJ="AI_TypeValidationError",wJ=`vercel.ai.error.${qJ}`,YN=Symbol.for(wJ),TG,UG,FB=class B extends(UG=I,TG=YN,UG){constructor({value:G,cause:J}){super({name:qJ,message:`Type validation failed: Value: ${JSON.stringify(G)}.
4
4
  Error message: ${aG(J)}`,cause:J});this[TG]=!0,this.value=G}static isInstance(G){return I.hasMarker(G,wJ)}static wrap({value:G,cause:J}){return B.isInstance(J)&&J.value===G?J:new B({value:G,cause:J})}},EJ="AI_UnsupportedFunctionalityError",PJ=`vercel.ai.error.${EJ}`,ZN=Symbol.for(PJ),xG,kG,BB=class extends(kG=I,xG=ZN,kG){constructor({functionality:B,message:G=`'${B}' functionality not supported.`}){super({name:EJ,message:G});this[xG]=!0,this.functionality=B}static isInstance(B){return I.hasMarker(B,PJ)}},DG=class extends Error{constructor(B,G){super(B),this.name="ParseError",this.type=G.type,this.field=G.field,this.value=G.value,this.line=G.line}};function CB(B){}function $N(B){if(typeof B=="function")throw TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");let{onEvent:G=CB,onError:J=CB,onRetry:N=CB,onComment:X}=B,Y="",Z=!0,$,z="",j="";function E(K){let V=Z?K.replace(/^\xEF\xBB\xBF/,""):K,[F,x]=WN(`${Y}${V}`);for(let C of F)P(C);Y=x,Z=!1}function P(K){if(K===""){L();return}if(K.startsWith(":")){X&&X(K.slice(K.startsWith(": ")?2:1));return}let V=K.indexOf(":");if(V!==-1){let F=K.slice(0,V),x=K[V+1]===" "?2:1,C=K.slice(V+x);q(F,C,K);return}q(K,"",K)}function q(K,V,F){switch(K){case"event":j=V;break;case"data":z=`${z}${V}
5
5
  `;break;case"id":$=V.includes("\x00")?void 0:V;break;case"retry":/^\d+$/.test(V)?N(parseInt(V,10)):J(new DG(`Invalid \`retry\` value: "${V}"`,{type:"invalid-retry",value:V,line:F}));break;default:J(new DG(`Unknown field "${K.length>20?`${K.slice(0,20)}\u2026`:K}"`,{type:"unknown-field",field:K,value:V,line:F}));break}}function L(){z.length>0&&G({id:$,event:j||void 0,data:z.endsWith(`
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Sr as _}from"./chunk-4cnwn1rh.js";import{ut as h}from"./chunk-5tray1fw.js";import{DO as X,FO as L}from"./chunk-7xm75w1e.js";var E={};X(E,{println:()=>g,print:()=>a,markdown:()=>G,logo:()=>I,input:()=>w,error:()=>A,empty:()=>D,UI:()=>E,Style:()=>m,CancelledError:()=>N});import{EOL as x}from"os";var T={left:[" "," "," \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2551 \u255A\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255D","\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 ","\u2588\u2588\u2551\u2584\u2584 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 ","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2551 \u2588\u2588\u2551 "," \u255A\u2550\u2550\u2580\u2580\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D "],right:[" "," "," \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D","\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2551\u2584\u2584 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u255D ","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557"," \u255A\u2550\u2550\u2580\u2580\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"]},R={left:[" "," ","\u2588\u2580\u2580\u2588 \u2588 \u2580\u2580\u2580","\u2588 \u2584\u2588 \u2588 \u2588 ","\u2580\u2580\u2580\u2580 \u2580 \u2580 "],right:[" "," ","\u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2584 \u2588\u2580\u2580\u2580","\u2588 \u2584\u2588 \u2588 \u2588 \u2588 \u2588 \u2588\u2580\u2580 ","\u2580\u2580\u2580\u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580"]};var O=["\u2800 ","\u2588\u2580\u2580\u2588 \u2588 \u2580\u2580\u2580 \u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2584 \u2588\u2580\u2580\u2580","\u2588 \u2584\u2588 \u2588 \u2588 \u2588 \u2584\u2588 \u2588 \u2588 \u2588 \u2588 \u2588\u2580\u2580 ","\u2580\u2580\u2580\u2580 \u2580 \u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580"],N=_.create("UICancelledError",h.void()),m={TEXT_HIGHLIGHT:"\x1B[96m",TEXT_HIGHLIGHT_BOLD:"\x1B[96m\x1B[1m",TEXT_DIM:"\x1B[90m",TEXT_DIM_BOLD:"\x1B[90m\x1B[1m",TEXT_NORMAL:"\x1B[0m",TEXT_NORMAL_BOLD:"\x1B[1m",TEXT_WARNING:"\x1B[93m",TEXT_WARNING_BOLD:"\x1B[93m\x1B[1m",TEXT_DANGER:"\x1B[91m",TEXT_DANGER_BOLD:"\x1B[91m\x1B[1m",TEXT_SUCCESS:"\x1B[92m",TEXT_SUCCESS_BOLD:"\x1B[92m\x1B[1m",TEXT_INFO:"\x1B[94m",TEXT_INFO_BOLD:"\x1B[94m\x1B[1m"};function g(...r){a(...r),process.stderr.write(x)}function a(...r){f=!1,process.stderr.write(r.join(" "))}var f=!1;function D(){if(f)return;g(""+m.TEXT_NORMAL),f=!0}function I(r){if(!process.stdout.isTTY&&!process.stderr.isTTY){let o=[];for(let s of O){if(r)o.push(r);o.push(s),o.push(x)}return o.join("").trimEnd()}let n=[],t="\x1B[0m",i={fg:"\x1B[90m",shadow:"\x1B[38;5;235m",bg:"\x1B[48;5;235m"},c={fg:t,shadow:"\x1B[38;5;238m",bg:"\x1B[48;5;238m"},d=" ",b=(o,s,u,l)=>{let e=[];for(let p of o){if(p==="_"){e.push(l," ",t);continue}if(p==="^"){e.push(s,l,"\u2580",t);continue}if(p==="~"){e.push(u,"\u2580",t);continue}if(p===" "){e.push(" ");continue}e.push(s,p,t)}return e.join("")};return T.left.forEach((o,s)=>{if(r)n.push(r);n.push(b(o,i.fg,i.shadow,i.bg)),n.push(d);let u=T.right[s]??"";n.push(b(u,c.fg,c.shadow,c.bg)),n.push(x)}),n.join("").trimEnd()}async function w(r){let t=L("readline").createInterface({input:process.stdin,output:process.stdout});return new Promise((i)=>{t.question(r,(c)=>{t.close(),i(c.trim())})})}function A(r){if(r.startsWith("Error: "))r=r.slice(7);g(m.TEXT_DANGER_BOLD+"Error: "+m.TEXT_NORMAL+r)}function G(r){return r}
2
+ import{pt as _}from"./chunk-kv72hxkp.js";import{Tu as h}from"./chunk-m4j7jyrd.js";import{aQ as X,cQ as L}from"./chunk-3k2b05fv.js";var E={};X(E,{println:()=>g,print:()=>a,markdown:()=>G,logo:()=>I,input:()=>w,error:()=>A,empty:()=>D,UI:()=>E,Style:()=>m,CancelledError:()=>N});import{EOL as x}from"os";var T={left:[" "," "," \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2551 \u255A\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255D","\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 ","\u2588\u2588\u2551\u2584\u2584 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 ","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2551 \u2588\u2588\u2551 "," \u255A\u2550\u2550\u2580\u2580\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D "],right:[" "," "," \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557","\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D","\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2557 ","\u2588\u2588\u2551\u2584\u2584 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u255D ","\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557"," \u255A\u2550\u2550\u2580\u2580\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"]},R={left:[" "," ","\u2588\u2580\u2580\u2588 \u2588 \u2580\u2580\u2580","\u2588 \u2584\u2588 \u2588 \u2588 ","\u2580\u2580\u2580\u2580 \u2580 \u2580 "],right:[" "," ","\u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2584 \u2588\u2580\u2580\u2580","\u2588 \u2584\u2588 \u2588 \u2588 \u2588 \u2588 \u2588\u2580\u2580 ","\u2580\u2580\u2580\u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580"]};var O=["\u2800 ","\u2588\u2580\u2580\u2588 \u2588 \u2580\u2580\u2580 \u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2588 \u2588\u2580\u2580\u2584 \u2588\u2580\u2580\u2580","\u2588 \u2584\u2588 \u2588 \u2588 \u2588 \u2584\u2588 \u2588 \u2588 \u2588 \u2588 \u2588\u2580\u2580 ","\u2580\u2580\u2580\u2580 \u2580 \u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580"],N=_.create("UICancelledError",h.void()),m={TEXT_HIGHLIGHT:"\x1B[96m",TEXT_HIGHLIGHT_BOLD:"\x1B[96m\x1B[1m",TEXT_DIM:"\x1B[90m",TEXT_DIM_BOLD:"\x1B[90m\x1B[1m",TEXT_NORMAL:"\x1B[0m",TEXT_NORMAL_BOLD:"\x1B[1m",TEXT_WARNING:"\x1B[93m",TEXT_WARNING_BOLD:"\x1B[93m\x1B[1m",TEXT_DANGER:"\x1B[91m",TEXT_DANGER_BOLD:"\x1B[91m\x1B[1m",TEXT_SUCCESS:"\x1B[92m",TEXT_SUCCESS_BOLD:"\x1B[92m\x1B[1m",TEXT_INFO:"\x1B[94m",TEXT_INFO_BOLD:"\x1B[94m\x1B[1m"};function g(...r){a(...r),process.stderr.write(x)}function a(...r){f=!1,process.stderr.write(r.join(" "))}var f=!1;function D(){if(f)return;g(""+m.TEXT_NORMAL),f=!0}function I(r){if(!process.stdout.isTTY&&!process.stderr.isTTY){let o=[];for(let s of O){if(r)o.push(r);o.push(s),o.push(x)}return o.join("").trimEnd()}let n=[],t="\x1B[0m",i={fg:"\x1B[90m",shadow:"\x1B[38;5;235m",bg:"\x1B[48;5;235m"},c={fg:t,shadow:"\x1B[38;5;238m",bg:"\x1B[48;5;238m"},d=" ",b=(o,s,u,l)=>{let e=[];for(let p of o){if(p==="_"){e.push(l," ",t);continue}if(p==="^"){e.push(s,l,"\u2580",t);continue}if(p==="~"){e.push(u,"\u2580",t);continue}if(p===" "){e.push(" ");continue}e.push(s,p,t)}return e.join("")};return T.left.forEach((o,s)=>{if(r)n.push(r);n.push(b(o,i.fg,i.shadow,i.bg)),n.push(d);let u=T.right[s]??"";n.push(b(u,c.fg,c.shadow,c.bg)),n.push(x)}),n.join("").trimEnd()}async function w(r){let t=L("readline").createInterface({input:process.stdin,output:process.stdout});return new Promise((i)=>{t.question(r,(c)=>{t.close(),i(c.trim())})})}function A(r){if(r.startsWith("Error: "))r=r.slice(7);g(m.TEXT_DANGER_BOLD+"Error: "+m.TEXT_NORMAL+r)}function G(r){return r}
3
3
  export{T as Tf,R as Uf,E as Vf};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{mg as a,ng as b,og as c}from"./chunk-0csy9x1n.js";import"./chunk-wmaz57f6.js";import"./chunk-hg0etbkx.js";import"./chunk-za63b5mc.js";import"./chunk-j8q252w3.js";import"./chunk-nj4d554m.js";import"./chunk-1hmq2fpt.js";import"./chunk-y370dqf3.js";import"./chunk-snr44en9.js";import"./chunk-keveg5gx.js";import"./chunk-8eje5baf.js";import"./chunk-xqdrr7xg.js";import"./chunk-6b196wjz.js";import"./chunk-94pcpztx.js";import"./chunk-hw5qyht3.js";import"./chunk-z8gdmvgg.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import"./chunk-g6cyhxwg.js";import"./chunk-n96tvjgj.js";import"./chunk-pkc4ddw1.js";import"./chunk-xgr6jnd6.js";import"./chunk-wwgd4rzx.js";import"./chunk-qc3ce3vc.js";import"./chunk-6p94fpbn.js";import"./chunk-fg35hwa0.js";import"./chunk-79agp7v3.js";import"./chunk-kv72hxkp.js";import"./chunk-vkqzmzpw.js";import"./chunk-x9s90xd1.js";import"./chunk-e7v9trve.js";import"./chunk-zh3fny3z.js";import"./chunk-m4j7jyrd.js";import"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-wfd5h6ax.js";import"./chunk-a0rp7gh4.js";import"./chunk-ee23d2nz.js";import"./chunk-3k2b05fv.js";export{b as run,a as encodeDir,c as ClaudeImport};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  import P from"fs";import B from"fs";var x;function K(){try{return B.statSync("/.dockerenv"),!0}catch{return!1}}function M(){try{return B.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}function y(){if(x===void 0)x=K()||M();return x}var z,Q=()=>{try{return P.statSync("/run/.containerenv"),!0}catch{return!1}};function q(){if(z===void 0)z=Q()||y();return z}import J from"process";import V from"os";import A from"fs";var H=()=>{if(J.platform!=="linux")return!1;if(V.release().toLowerCase().includes("microsoft")){if(q())return!1;return!0}try{if(A.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft"))return!q()}catch{}if(A.existsSync("/proc/sys/fs/binfmt_misc/WSLInterop")||A.existsSync("/run/WSL"))return!q();return!1},L=J.env.__IS_WSL_TEST__?H:H();
3
- export{q as pq,L as qq};
3
+ export{q as Or,L as Pr};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Wg as D,gh as x}from"./chunk-caj1b9y7.js";import{Lh as E}from"./chunk-ygs5pzk7.js";import{lm as w}from"./chunk-s3mnrhbx.js";import{_s as z}from"./chunk-xj765svc.js";var H=z.create({service:"cli.bootstrap"});async function P(F,G){return w.provide({directory:F,init:()=>x.runPromise(D),fn:async()=>{try{return await G()}finally{await x.runPromise(E.Service.use((q)=>q.drainWriters())).catch((q)=>H.warn("checkpoint drain failed",{error:String(q)})),await w.dispose()}}})}
2
+ import{Wg as D,gh as x}from"./chunk-28cm7m3t.js";import{Lh as E}from"./chunk-w9nzsd3w.js";import{lm as w}from"./chunk-za63b5mc.js";import{xu as z}from"./chunk-x9s90xd1.js";var H=z.create({service:"cli.bootstrap"});async function P(F,G){return w.provide({directory:F,init:()=>x.runPromise(D),fn:async()=>{try{return await G()}finally{await x.runPromise(E.Service.use((q)=>q.drainWriters())).catch((q)=>H.warn("checkpoint drain failed",{error:String(q)})),await w.dispose()}}})}
3
3
  export{P as Ed};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{AO as T}from"./chunk-zw815d68.js";import{CO as G,FO as J}from"./chunk-7xm75w1e.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{ZP as T}from"./chunk-ee23d2nz.js";import{$P as G,cQ as J}from"./chunk-3k2b05fv.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{jq as U,lq as V}from"./chunk-g5rabwre.js";import{CO as R}from"./chunk-7xm75w1e.js";var E=R((M,Q)=>{var{defineProperty:H,getOwnPropertyDescriptor:W,getOwnPropertyNames:X}=Object,Y=Object.prototype.hasOwnProperty,Z=(z,q)=>{for(var B in q)H(z,B,{get:q[B],enumerable:!0})},$=(z,q,B,F)=>{if(q&&typeof q==="object"||typeof q==="function"){for(let v of X(q))if(!Y.call(z,v)&&v!==B)H(z,v,{get:()=>q[v],enumerable:!(F=W(q,v))||F.enumerable})}return z},A=(z)=>$(H({},"__esModule",{value:!0}),z),L={};Z(L,{refreshToken:()=>D});Q.exports=A(L);var K=U(),G=V();async function D(z){let q=z?.project,B=z?.team;if(!q&&!B){let v=(0,G.findProjectInfo)();q=v.projectId,B=v.teamId}else if(!q||!B){let v=(0,G.findProjectInfo)();q=q??v.projectId,B=B??v.teamId}if(!q)throw new K.VercelOidcTokenError("Failed to refresh OIDC token: No project specified. Try re-linking your project with `vc link`");let F=(0,G.loadToken)(q);if(!F||(0,G.isExpired)((0,G.getTokenPayload)(F.token),z?.expirationBufferMs)){let v=await(0,G.getVercelToken)({expirationBufferMs:z?.expirationBufferMs});if(F=await(0,G.getVercelOidcToken)(v,q,B),!F)throw new K.VercelOidcTokenError("Failed to refresh OIDC token");(0,G.saveToken)(F,q)}process.env.VERCEL_OIDC_TOKEN=F.token;return}});export default E();
2
+ import{Ir as U,Kr as V}from"./chunk-g6cyhxwg.js";import{$P as R}from"./chunk-3k2b05fv.js";var E=R((M,Q)=>{var{defineProperty:H,getOwnPropertyDescriptor:W,getOwnPropertyNames:X}=Object,Y=Object.prototype.hasOwnProperty,Z=(z,q)=>{for(var B in q)H(z,B,{get:q[B],enumerable:!0})},$=(z,q,B,F)=>{if(q&&typeof q==="object"||typeof q==="function"){for(let v of X(q))if(!Y.call(z,v)&&v!==B)H(z,v,{get:()=>q[v],enumerable:!(F=W(q,v))||F.enumerable})}return z},A=(z)=>$(H({},"__esModule",{value:!0}),z),L={};Z(L,{refreshToken:()=>D});Q.exports=A(L);var K=U(),G=V();async function D(z){let q=z?.project,B=z?.team;if(!q&&!B){let v=(0,G.findProjectInfo)();q=v.projectId,B=v.teamId}else if(!q||!B){let v=(0,G.findProjectInfo)();q=q??v.projectId,B=B??v.teamId}if(!q)throw new K.VercelOidcTokenError("Failed to refresh OIDC token: No project specified. Try re-linking your project with `vc link`");let F=(0,G.loadToken)(q);if(!F||(0,G.isExpired)((0,G.getTokenPayload)(F.token),z?.expirationBufferMs)){let v=await(0,G.getVercelToken)({expirationBufferMs:z?.expirationBufferMs});if(F=await(0,G.getVercelOidcToken)(v,q,B),!F)throw new K.VercelOidcTokenError("Failed to refresh OIDC token");(0,G.saveToken)(F,q)}process.env.VERCEL_OIDC_TOKEN=F.token;return}});export default E();
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{i as P,j as g,k as b,l as h,m as O}from"./chunk-rvkrgkeq.js";import"./chunk-p62gb4wj.js";import"./chunk-x4sp99g6.js";import{Rd as u}from"./chunk-yajd975f.js";import{Vf as s}from"./chunk-rbk8seme.js";import{gh as f}from"./chunk-caj1b9y7.js";import"./chunk-ygs5pzk7.js";import{ai as E}from"./chunk-vxyy2dp3.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-5hw6xa49.js";import"./chunk-326p5b10.js";import{$j as p,_j as S}from"./chunk-257me4z3.js";import"./chunk-nkkch4h7.js";import"./chunk-s3mnrhbx.js";import"./chunk-ezfy0b6q.js";import"./chunk-bn0h9dny.js";import"./chunk-hnvn2c25.js";import"./chunk-3nx7112w.js";import"./chunk-htz93dsd.js";import"./chunk-vcw00k0n.js";import"./chunk-we9cv8we.js";import"./chunk-2hc5z7b5.js";import"./chunk-9gazyynx.js";import"./chunk-4jtxtkj7.js";import"./chunk-ay8emwym.js";import"./chunk-2maqde7w.js";import"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import"./chunk-g5rabwre.js";import"./chunk-jbx3s7nw.js";import"./chunk-15hw2z9t.js";import"./chunk-48ge2ryx.js";import"./chunk-n9xns8by.js";import"./chunk-y9q0hb7b.js";import"./chunk-d9hbhkbq.js";import"./chunk-ad72gb5f.js";import"./chunk-d6ry9418.js";import"./chunk-0dt0bxz6.js";import"./chunk-10bjs581.js";import"./chunk-4cnwn1rh.js";import"./chunk-764fksh3.js";import"./chunk-xj765svc.js";import"./chunk-tqj69nh6.js";import"./chunk-ag8kz1e7.js";import"./chunk-5tray1fw.js";import"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import{Zy as I}from"./chunk-gagtmjmp.js";import{LC as D,pH as l,uB as d}from"./chunk-zs8kqdsf.js";import"./chunk-dxpj0cxh.js";import"./chunk-zw815d68.js";import"./chunk-7xm75w1e.js";var A=(o)=>l.promise(()=>E(o)),m=(o)=>l.sync(()=>s.println(o)),v=(o)=>s.Style.TEXT_DIM+o+s.Style.TEXT_NORMAL,L=(o)=>o?v(" (active)"):"",w=(o,e)=>`${o.email} ${v(o.url)}${L(e)}`,x=(o,e,t)=>`${e.name} (${o.email})${L(t)}`,C=(o,e,t)=>{let n=t?s.Style.TEXT_SUCCESS+"\u25CF"+s.Style.TEXT_NORMAL:" ",c=t?s.Style.TEXT_HIGHLIGHT_BOLD+e.name+s.Style.TEXT_NORMAL:e.name;return` ${n} ${c} ${v(o.email)} ${v(o.url)} ${v(e.id)}`},T=(o,e)=>d.isSome(o)&&o.value.id===e.accountID&&o.value.active_org_id===e.orgID,_=l.fn("login")(function*(o){let e=yield*p.Service;yield*P("Log in");let t=yield*e.login(o);yield*b.info("Go to: "+t.url),yield*b.info("Enter code: "+t.user),yield*A(t.url);let n=O();yield*n.start("Waiting for authorization...");let c=(r)=>l.gen(function*(){yield*l.sleep(r);let i=yield*e.poll(t);if(i._tag==="PollPending")return yield*c(r);if(i._tag==="PollSlow")return yield*c(D.sum(r,D.seconds(5)));return i}),a=yield*c(t.interval).pipe(l.timeout(t.expiry),l.catchTag("TimeoutError",()=>l.succeed(new S)));yield*I.valueTags(a,{PollSuccess:(r)=>l.gen(function*(){yield*n.stop("Logged in as "+r.email),yield*g("Done")}),PollExpired:()=>n.stop("Device code expired",1),PollDenied:()=>n.stop("Authorization denied",1),PollError:(r)=>n.stop("Error: "+String(r.cause),1),PollPending:()=>n.stop("Unexpected state",1),PollSlow:()=>n.stop("Unexpected state",1)})}),N=l.fn("logout")(function*(o){let e=yield*p.Service,t=yield*e.list();if(t.length===0)return yield*m("Not logged in");if(o){let i=t.find((y)=>y.email===o);if(!i)return yield*m("Account not found: "+o);yield*e.remove(i.id),yield*g("Logged out from "+o);return}let n=yield*e.active(),c=d.map(n,(i)=>i.id);yield*P("Log out");let a=t.map((i)=>{let y=d.isSome(c)&&c.value===i.id;return{value:i,label:w(i,y)}}),r=yield*h({message:"Select account to log out",options:a});if(d.isNone(r))return;yield*e.remove(r.value.id),yield*g("Logged out from "+r.value.email)}),$=l.fn("switch")(function*(){let o=yield*p.Service,e=yield*o.orgsByAccount();if(e.length===0)return yield*m("Not logged in");let t=yield*o.active(),n=e.flatMap((r)=>r.orgs.map((i)=>{let y=T(t,{accountID:r.account.id,orgID:i.id});return{value:{orgID:i.id,accountID:r.account.id,label:i.name},label:x(r.account,i,y)}}));if(n.length===0)return yield*m("No orgs found");yield*P("Switch org");let c=yield*h({message:"Select org",options:n});if(d.isNone(c))return;let a=c.value;yield*o.use(a.accountID,d.some(a.orgID)),yield*g("Switched to "+a.label)}),R=l.fn("orgs")(function*(){let o=yield*p.Service,e=yield*o.orgsByAccount();if(e.length===0)return yield*m("No accounts found");if(!e.some((n)=>n.orgs.length>0))return yield*m("No orgs found");let t=yield*o.active();for(let n of e)for(let c of n.orgs){let a=T(t,{accountID:n.account.id,orgID:c.id});yield*m(C(n.account,c,a))}}),M=l.fn("open")(function*(){let e=yield*(yield*p.Service).active();if(d.isNone(e))return yield*m("No active account");let t=e.value.url;yield*A(t),yield*g("Opened "+t)}),X=u({command:"login <url>",describe:!1,builder:(o)=>o.positional("url",{describe:"server URL",type:"string",demandOption:!0}),async handler(o){s.empty(),await f.runPromise(_(o.url))}}),B=u({command:"logout [email]",describe:!1,builder:(o)=>o.positional("email",{describe:"account email to log out from",type:"string"}),async handler(o){s.empty(),await f.runPromise(N(o.email))}}),U=u({command:"switch",describe:!1,async handler(){s.empty(),await f.runPromise($())}}),G=u({command:"orgs",describe:!1,async handler(){s.empty(),await f.runPromise(R())}}),H=u({command:"open",describe:!1,async handler(){s.empty(),await f.runPromise(M())}}),Y=u({command:"console",describe:!1,builder:(o)=>o.command({...X,describe:"log in to console"}).command({...B,describe:"log out from console"}).command({...U,describe:"switch active org"}).command({...G,describe:"list orgs"}).command({...H,describe:"open active console account"}).demandCommand(),async handler(){}});export{C as formatOrgLine,w as formatAccountLabel,U as SwitchCommand,G as OrgsCommand,H as OpenCommand,B as LogoutCommand,X as LoginCommand,Y as ConsoleCommand};
2
+ import{i as P,j as g,k as b,l as h,m as O}from"./chunk-1pg6pv0m.js";import"./chunk-x66ycpfs.js";import"./chunk-03xppy47.js";import{Rd as u}from"./chunk-yajd975f.js";import{Vf as s}from"./chunk-p9cnzxb8.js";import{gh as f}from"./chunk-28cm7m3t.js";import"./chunk-w9nzsd3w.js";import{ai as E}from"./chunk-zfcp509b.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-md8161zd.js";import"./chunk-yk97q51d.js";import{$j as p,_j as S}from"./chunk-wmaz57f6.js";import"./chunk-hg0etbkx.js";import"./chunk-za63b5mc.js";import"./chunk-j8q252w3.js";import"./chunk-nj4d554m.js";import"./chunk-1hmq2fpt.js";import"./chunk-y370dqf3.js";import"./chunk-snr44en9.js";import"./chunk-keveg5gx.js";import"./chunk-8eje5baf.js";import"./chunk-xqdrr7xg.js";import"./chunk-6b196wjz.js";import"./chunk-94pcpztx.js";import"./chunk-hw5qyht3.js";import"./chunk-z8gdmvgg.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import"./chunk-g6cyhxwg.js";import"./chunk-n96tvjgj.js";import"./chunk-pkc4ddw1.js";import"./chunk-xgr6jnd6.js";import"./chunk-a48t0g95.js";import"./chunk-yqk58hf6.js";import"./chunk-wwgd4rzx.js";import"./chunk-qc3ce3vc.js";import"./chunk-6p94fpbn.js";import"./chunk-fg35hwa0.js";import"./chunk-79agp7v3.js";import"./chunk-kv72hxkp.js";import"./chunk-vkqzmzpw.js";import"./chunk-x9s90xd1.js";import"./chunk-e7v9trve.js";import"./chunk-zh3fny3z.js";import"./chunk-m4j7jyrd.js";import"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import{wA as I}from"./chunk-wfd5h6ax.js";import{OI as l,TC as d,iE as D}from"./chunk-a0rp7gh4.js";import"./chunk-kfmz2p27.js";import"./chunk-ee23d2nz.js";import"./chunk-3k2b05fv.js";var A=(o)=>l.promise(()=>E(o)),m=(o)=>l.sync(()=>s.println(o)),v=(o)=>s.Style.TEXT_DIM+o+s.Style.TEXT_NORMAL,L=(o)=>o?v(" (active)"):"",w=(o,e)=>`${o.email} ${v(o.url)}${L(e)}`,x=(o,e,t)=>`${e.name} (${o.email})${L(t)}`,C=(o,e,t)=>{let n=t?s.Style.TEXT_SUCCESS+"\u25CF"+s.Style.TEXT_NORMAL:" ",c=t?s.Style.TEXT_HIGHLIGHT_BOLD+e.name+s.Style.TEXT_NORMAL:e.name;return` ${n} ${c} ${v(o.email)} ${v(o.url)} ${v(e.id)}`},T=(o,e)=>d.isSome(o)&&o.value.id===e.accountID&&o.value.active_org_id===e.orgID,_=l.fn("login")(function*(o){let e=yield*p.Service;yield*P("Log in");let t=yield*e.login(o);yield*b.info("Go to: "+t.url),yield*b.info("Enter code: "+t.user),yield*A(t.url);let n=O();yield*n.start("Waiting for authorization...");let c=(r)=>l.gen(function*(){yield*l.sleep(r);let i=yield*e.poll(t);if(i._tag==="PollPending")return yield*c(r);if(i._tag==="PollSlow")return yield*c(D.sum(r,D.seconds(5)));return i}),a=yield*c(t.interval).pipe(l.timeout(t.expiry),l.catchTag("TimeoutError",()=>l.succeed(new S)));yield*I.valueTags(a,{PollSuccess:(r)=>l.gen(function*(){yield*n.stop("Logged in as "+r.email),yield*g("Done")}),PollExpired:()=>n.stop("Device code expired",1),PollDenied:()=>n.stop("Authorization denied",1),PollError:(r)=>n.stop("Error: "+String(r.cause),1),PollPending:()=>n.stop("Unexpected state",1),PollSlow:()=>n.stop("Unexpected state",1)})}),N=l.fn("logout")(function*(o){let e=yield*p.Service,t=yield*e.list();if(t.length===0)return yield*m("Not logged in");if(o){let i=t.find((y)=>y.email===o);if(!i)return yield*m("Account not found: "+o);yield*e.remove(i.id),yield*g("Logged out from "+o);return}let n=yield*e.active(),c=d.map(n,(i)=>i.id);yield*P("Log out");let a=t.map((i)=>{let y=d.isSome(c)&&c.value===i.id;return{value:i,label:w(i,y)}}),r=yield*h({message:"Select account to log out",options:a});if(d.isNone(r))return;yield*e.remove(r.value.id),yield*g("Logged out from "+r.value.email)}),$=l.fn("switch")(function*(){let o=yield*p.Service,e=yield*o.orgsByAccount();if(e.length===0)return yield*m("Not logged in");let t=yield*o.active(),n=e.flatMap((r)=>r.orgs.map((i)=>{let y=T(t,{accountID:r.account.id,orgID:i.id});return{value:{orgID:i.id,accountID:r.account.id,label:i.name},label:x(r.account,i,y)}}));if(n.length===0)return yield*m("No orgs found");yield*P("Switch org");let c=yield*h({message:"Select org",options:n});if(d.isNone(c))return;let a=c.value;yield*o.use(a.accountID,d.some(a.orgID)),yield*g("Switched to "+a.label)}),R=l.fn("orgs")(function*(){let o=yield*p.Service,e=yield*o.orgsByAccount();if(e.length===0)return yield*m("No accounts found");if(!e.some((n)=>n.orgs.length>0))return yield*m("No orgs found");let t=yield*o.active();for(let n of e)for(let c of n.orgs){let a=T(t,{accountID:n.account.id,orgID:c.id});yield*m(C(n.account,c,a))}}),M=l.fn("open")(function*(){let e=yield*(yield*p.Service).active();if(d.isNone(e))return yield*m("No active account");let t=e.value.url;yield*A(t),yield*g("Opened "+t)}),X=u({command:"login <url>",describe:!1,builder:(o)=>o.positional("url",{describe:"server URL",type:"string",demandOption:!0}),async handler(o){s.empty(),await f.runPromise(_(o.url))}}),B=u({command:"logout [email]",describe:!1,builder:(o)=>o.positional("email",{describe:"account email to log out from",type:"string"}),async handler(o){s.empty(),await f.runPromise(N(o.email))}}),U=u({command:"switch",describe:!1,async handler(){s.empty(),await f.runPromise($())}}),G=u({command:"orgs",describe:!1,async handler(){s.empty(),await f.runPromise(R())}}),H=u({command:"open",describe:!1,async handler(){s.empty(),await f.runPromise(M())}}),Y=u({command:"console",describe:!1,builder:(o)=>o.command({...X,describe:"log in to console"}).command({...B,describe:"log out from console"}).command({...U,describe:"switch active org"}).command({...G,describe:"list orgs"}).command({...H,describe:"open active console account"}).demandCommand(),async handler(){}});export{C as formatOrgLine,w as formatAccountLabel,U as SwitchCommand,G as OrgsCommand,H as OpenCommand,B as LogoutCommand,X as LoginCommand,Y as ConsoleCommand};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{fl as e}from"./chunk-257me4z3.js";import{fm as r}from"./chunk-s3mnrhbx.js";import{ut as o}from"./chunk-5tray1fw.js";var s=o.object({id:e.zod,type:o.string(),name:o.string(),branch:o.string().nullable(),directory:o.string().nullable(),extra:o.unknown().nullable(),projectID:r.zod});
2
+ import{fl as e}from"./chunk-wmaz57f6.js";import{fm as r}from"./chunk-za63b5mc.js";import{Tu as o}from"./chunk-m4j7jyrd.js";var s=o.object({id:e.zod,type:o.string(),name:o.string(),branch:o.string().nullable(),directory:o.string().nullable(),extra:o.unknown().nullable(),projectID:r.zod});
3
3
  export{s as Kg};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Rd as b}from"./chunk-yajd975f.js";import{Vf as t}from"./chunk-p9cnzxb8.js";import{gh as u}from"./chunk-28cm7m3t.js";import"./chunk-w9nzsd3w.js";import"./chunk-zfcp509b.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-md8161zd.js";import"./chunk-yk97q51d.js";import{rl as y,yk as m}from"./chunk-wmaz57f6.js";import{Pl as v}from"./chunk-hg0etbkx.js";import{lm as a}from"./chunk-za63b5mc.js";import"./chunk-j8q252w3.js";import"./chunk-nj4d554m.js";import"./chunk-1hmq2fpt.js";import"./chunk-y370dqf3.js";import"./chunk-snr44en9.js";import"./chunk-keveg5gx.js";import"./chunk-8eje5baf.js";import"./chunk-xqdrr7xg.js";import"./chunk-6b196wjz.js";import"./chunk-94pcpztx.js";import"./chunk-hw5qyht3.js";import"./chunk-z8gdmvgg.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import"./chunk-g6cyhxwg.js";import"./chunk-n96tvjgj.js";import"./chunk-pkc4ddw1.js";import"./chunk-xgr6jnd6.js";import"./chunk-a48t0g95.js";import"./chunk-yqk58hf6.js";import"./chunk-wwgd4rzx.js";import"./chunk-qc3ce3vc.js";import"./chunk-6p94fpbn.js";import"./chunk-fg35hwa0.js";import"./chunk-79agp7v3.js";import"./chunk-kv72hxkp.js";import"./chunk-vkqzmzpw.js";import"./chunk-x9s90xd1.js";import"./chunk-e7v9trve.js";import"./chunk-zh3fny3z.js";import"./chunk-m4j7jyrd.js";import"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-wfd5h6ax.js";import{OI as s}from"./chunk-a0rp7gh4.js";import"./chunk-kfmz2p27.js";import"./chunk-ee23d2nz.js";import"./chunk-3k2b05fv.js";import{EOL as f}from"os";var M=b({command:"models [provider]",describe:"list all available models",builder:(r)=>{return r.positional("provider",{describe:"provider ID to filter models by",type:"string",array:!1}).option("verbose",{describe:"use more verbose model output (includes metadata like costs)",type:"boolean"}).option("refresh",{describe:"refresh the models cache from models.dev",type:"boolean"})},handler:async(r)=>{if(r.refresh)await v.refresh(!0),t.println(t.Style.TEXT_SUCCESS_BOLD+"Models cache refreshed"+t.Style.TEXT_NORMAL);await a.provide({directory:process.cwd(),async fn(){await u.runPromise(s.gen(function*(){let n=yield*(yield*y.Service).list(),l=(e,o)=>{let i=n[e],d=Object.entries(i.models).sort(([c],[p])=>c.localeCompare(p));for(let[c,p]of d)if(process.stdout.write(`${e}/${c}`),process.stdout.write(f),o)process.stdout.write(JSON.stringify(p,null,2)),process.stdout.write(f)};if(r.provider){let e=m.make(r.provider);if(!n[e]){yield*s.sync(()=>t.error(`Provider not found: ${r.provider}`));return}yield*s.sync(()=>l(e,r.verbose));return}let h=Object.keys(n).sort((e,o)=>{let i=e.startsWith("opencode"),d=o.startsWith("opencode");if(i&&!d)return-1;if(!i&&d)return 1;return e.localeCompare(o)});yield*s.sync(()=>{for(let e of h)l(m.make(e),r.verbose)})}))}})}});export{M as ModelsCommand};