@qitqode/qitqode-android-arm64 0.1.26 → 0.1.28

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 (418) hide show
  1. package/bundle/{chunk-3bb7y9pq.js → chunk-04h4afhf.js} +2 -2
  2. package/bundle/{chunk-x3z8q0ep.js → chunk-04tw0r4s.js} +1 -1
  3. package/bundle/chunk-066eeq5q.js +2 -0
  4. package/bundle/chunk-07ws99b1.js +2 -0
  5. package/bundle/chunk-09c4ngag.js +2 -0
  6. package/bundle/{chunk-se195e52.js → chunk-09kba1hg.js} +2 -2
  7. package/bundle/{chunk-pfn1db1m.js → chunk-0a0vat1h.js} +2 -2
  8. package/bundle/chunk-0jgst767.js +2 -0
  9. package/bundle/chunk-0nj8axbw.js +7610 -0
  10. package/bundle/chunk-0psrr9vp.js +2 -0
  11. package/bundle/{chunk-z2q3mg73.js → chunk-12bssxd4.js} +2 -2
  12. package/bundle/{chunk-6vb26adv.js → chunk-13hz1kvh.js} +1 -1
  13. package/bundle/{chunk-hz1hd1bd.js → chunk-1bhvt33f.js} +1 -1
  14. package/bundle/{chunk-49tqzsy0.js → chunk-1dwcga8g.js} +2 -2
  15. package/bundle/chunk-1etdhr36.js +11 -0
  16. package/bundle/{chunk-9qtf8khv.js → chunk-1fbeendk.js} +1 -1
  17. package/bundle/chunk-1j73cnvz.js +2 -0
  18. package/bundle/{chunk-tyy4gx61.js → chunk-1m2e2w1q.js} +1 -1
  19. package/bundle/{chunk-eqaym8gm.js → chunk-1qshjfzm.js} +1 -1
  20. package/bundle/{chunk-d31yrcrn.js → chunk-1rp1cvmc.js} +2 -2
  21. package/bundle/{chunk-vx837ete.js → chunk-1sgby720.js} +1 -1
  22. package/bundle/{chunk-atbm0pnt.js → chunk-1t6bvbgy.js} +2 -2
  23. package/bundle/{chunk-wefjbwv6.js → chunk-1t9jne14.js} +1 -1
  24. package/bundle/chunk-1yddn03z.js +2 -0
  25. package/bundle/{chunk-n07rsssz.js → chunk-24xc0dvv.js} +1 -1
  26. package/bundle/{chunk-qngs31yf.js → chunk-26nfphsg.js} +1 -1
  27. package/bundle/{chunk-kkdgzeva.js → chunk-27yxgy03.js} +2 -2
  28. package/bundle/{chunk-f416n3mp.js → chunk-288hw03f.js} +2 -2
  29. package/bundle/{chunk-qan3kwbv.js → chunk-2abdrqrx.js} +1 -1
  30. package/bundle/{chunk-b79k456s.js → chunk-2ahqhh4z.js} +1 -1
  31. package/bundle/{chunk-fx7w497c.js → chunk-2bn4b42t.js} +1 -1
  32. package/bundle/{chunk-4k70wrhf.js → chunk-2dzk5txw.js} +1 -1
  33. package/bundle/{chunk-56qm8xpt.js → chunk-2jmxt3fb.js} +1 -1
  34. package/bundle/{chunk-r1yqmd4y.js → chunk-2km50rd3.js} +1 -1
  35. package/bundle/{chunk-j87bvp1b.js → chunk-2q96x1t5.js} +1 -1
  36. package/bundle/{chunk-77e1wh0j.js → chunk-2rs39vj2.js} +2 -2
  37. package/bundle/{chunk-qb5qemtp.js → chunk-2tnarng3.js} +1 -1
  38. package/bundle/{chunk-cr06m77n.js → chunk-2vepzgek.js} +2 -2
  39. package/bundle/{chunk-k7h6tfzj.js → chunk-371r2111.js} +1 -1
  40. package/bundle/{chunk-5jtd006j.js → chunk-37n34pzd.js} +2 -2
  41. package/bundle/chunk-37s5hwtc.js +2 -0
  42. package/bundle/chunk-38g8yzw0.js +2 -0
  43. package/bundle/chunk-3bkd0ar3.js +2 -0
  44. package/bundle/{chunk-6nkcfncg.js → chunk-3bmzjznz.js} +1 -1
  45. package/bundle/{chunk-2jn2hd12.js → chunk-3dvd1bb6.js} +2 -2
  46. package/bundle/chunk-3fx5jda0.js +2 -0
  47. package/bundle/{chunk-cn10hn58.js → chunk-3j9hedmx.js} +1 -1
  48. package/bundle/{chunk-7n2kpqh5.js → chunk-3nwve06r.js} +1 -1
  49. package/bundle/{chunk-ptf09vmp.js → chunk-3nyqh1d6.js} +1 -1
  50. package/bundle/chunk-457y2816.js +2 -0
  51. package/bundle/{chunk-6s2f5sv4.js → chunk-48fvrggx.js} +1 -1
  52. package/bundle/chunk-4amgp4yd.js +3 -0
  53. package/bundle/{chunk-f3c9667r.js → chunk-4qqkqrn9.js} +2 -2
  54. package/bundle/chunk-4sk0rmw3.js +28 -0
  55. package/bundle/chunk-4sz3jbc5.js +2 -0
  56. package/bundle/{chunk-1n4w8dya.js → chunk-4tbwha3m.js} +2 -2
  57. package/bundle/{chunk-hb4d06q0.js → chunk-4yawrap2.js} +2 -2
  58. package/bundle/{chunk-dv5zf5gz.js → chunk-5a5t01ka.js} +1 -1
  59. package/bundle/{chunk-880msfsd.js → chunk-5fgx6fa4.js} +1 -1
  60. package/bundle/{chunk-t1vtdgd6.js → chunk-5fz8tph5.js} +1 -1
  61. package/bundle/{chunk-ppvmy940.js → chunk-5g8108nf.js} +2 -2
  62. package/bundle/{chunk-e57d1he9.js → chunk-5qam3c8r.js} +1 -1
  63. package/bundle/{chunk-1qbm1k9y.js → chunk-5syxjhg3.js} +3 -3
  64. package/bundle/chunk-612f97vv.js +616 -0
  65. package/bundle/{chunk-fffj9447.js → chunk-61c62e5s.js} +2 -2
  66. package/bundle/{chunk-kp84yba1.js → chunk-61zpnwv6.js} +1 -1
  67. package/bundle/chunk-6d9wsjxm.js +2 -0
  68. package/bundle/{chunk-f6y7a5w3.js → chunk-6fp8a9ek.js} +2 -2
  69. package/bundle/{chunk-st74db4c.js → chunk-6hv59ere.js} +1 -1
  70. package/bundle/{chunk-56pwz1kk.js → chunk-6nbzdb0r.js} +1 -1
  71. package/bundle/{chunk-8ahpk8td.js → chunk-6p7yg5sr.js} +1 -1
  72. package/bundle/chunk-6q87abbr.js +2 -0
  73. package/bundle/{chunk-kfk1zqc1.js → chunk-6qy1ghrx.js} +1 -1
  74. package/bundle/chunk-730a2d1k.js +2 -0
  75. package/bundle/chunk-7bd0x9vf.js +2 -0
  76. package/bundle/chunk-7czkntef.js +2 -0
  77. package/bundle/chunk-7ex57nyh.js +2 -0
  78. package/bundle/chunk-7gpczxbh.js +2 -0
  79. package/bundle/chunk-7j0bgeh2.js +2 -0
  80. package/bundle/{chunk-w3pzv615.js → chunk-7jbz3dgt.js} +1 -1
  81. package/bundle/{chunk-0ndvy0nh.js → chunk-7ppd2phw.js} +2 -2
  82. package/bundle/chunk-7py443fe.js +2 -0
  83. package/bundle/{chunk-ykxde207.js → chunk-7yrhe3xq.js} +2 -2
  84. package/bundle/chunk-8815p61h.js +2 -0
  85. package/bundle/{chunk-3s0d17xe.js → chunk-89q1y7tc.js} +1 -1
  86. package/bundle/{chunk-9wm41z2f.js → chunk-89v6dgpp.js} +2 -2
  87. package/bundle/{chunk-njzpswgt.js → chunk-8tc8x27z.js} +7 -7
  88. package/bundle/chunk-90q5sae0.js +2 -0
  89. package/bundle/chunk-92d9469t.js +2 -0
  90. package/bundle/chunk-9grvepmd.js +2 -0
  91. package/bundle/chunk-9hrh15p2.js +2 -0
  92. package/bundle/{chunk-t7tstr83.js → chunk-9j1qqdr2.js} +1 -1
  93. package/bundle/{chunk-58gp7wbg.js → chunk-a1p2f16h.js} +2 -2
  94. package/bundle/{chunk-fk8cctjy.js → chunk-a1pw9r6f.js} +2 -2
  95. package/bundle/chunk-a2qz9m10.js +2 -0
  96. package/bundle/chunk-a7cxf56j.js +2 -0
  97. package/bundle/{chunk-0w5npkgr.js → chunk-ab6cabxh.js} +1 -1
  98. package/bundle/{chunk-sdsggxm4.js → chunk-anjg3mwn.js} +2 -2
  99. package/bundle/chunk-av6ezvxm.js +2 -0
  100. package/bundle/{chunk-s2za1y84.js → chunk-aztre27e.js} +1 -1
  101. package/bundle/{chunk-xdv9xt0y.js → chunk-b0syck9r.js} +2 -2
  102. package/bundle/{chunk-s1h0k1yj.js → chunk-b3dqcbsc.js} +1 -1
  103. package/bundle/{chunk-ewvgbg68.js → chunk-b8tw709r.js} +1 -1
  104. package/bundle/{chunk-7fmy4cvn.js → chunk-b9za12y1.js} +1 -1
  105. package/bundle/{chunk-hybq019j.js → chunk-be216spx.js} +2 -2
  106. package/bundle/chunk-beksar7w.js +2 -0
  107. package/bundle/chunk-bg66rqrx.js +2 -0
  108. package/bundle/chunk-bkbngcvc.js +2 -0
  109. package/bundle/{chunk-32zrch7h.js → chunk-bss414qz.js} +1 -1
  110. package/bundle/{chunk-vthm5q05.js → chunk-btneef3z.js} +1 -1
  111. package/bundle/{chunk-5mec6cde.js → chunk-btz9jvec.js} +1 -1
  112. package/bundle/{chunk-6nk3wx6f.js → chunk-bvkq0a5q.js} +1 -1
  113. package/bundle/{chunk-kn318ev4.js → chunk-c01z3cvg.js} +2 -2
  114. package/bundle/{chunk-z559gc3n.js → chunk-c5e6sk9c.js} +1 -1
  115. package/bundle/{chunk-453wpzg6.js → chunk-c8k32724.js} +1 -1
  116. package/bundle/{chunk-2q76qax6.js → chunk-cafzcmrg.js} +2 -2
  117. package/bundle/{chunk-g6dgc5af.js → chunk-cdhmc0t0.js} +1 -1
  118. package/bundle/{chunk-xc3fadkh.js → chunk-chmrvbbj.js} +1 -1
  119. package/bundle/{chunk-s86fj82v.js → chunk-cmbxrgyx.js} +2 -2
  120. package/bundle/{chunk-14ag9ea0.js → chunk-ct48575c.js} +1 -1
  121. package/bundle/{chunk-5ymj2q6j.js → chunk-cvdxgsq1.js} +2 -2
  122. package/bundle/{chunk-g8wvr7a1.js → chunk-cwqd48xt.js} +2 -2
  123. package/bundle/chunk-cy9s1ma5.js +2 -0
  124. package/bundle/chunk-cydewa1c.js +2 -0
  125. package/bundle/{chunk-fxb6vjcb.js → chunk-d5bxan80.js} +2 -2
  126. package/bundle/{chunk-p0k4sv89.js → chunk-d6r4xwtg.js} +4 -4
  127. package/bundle/chunk-d7qscj5p.js +2 -0
  128. package/bundle/{chunk-cyjzqa5p.js → chunk-dafbntks.js} +204 -202
  129. package/bundle/{chunk-dazye86e.js → chunk-df6a167w.js} +2 -2
  130. package/bundle/{chunk-rf625fxx.js → chunk-dfnv7vkn.js} +1 -1
  131. package/bundle/{chunk-06x1p3t4.js → chunk-dhjp0zx2.js} +1 -1
  132. package/bundle/chunk-dpkynwgm.js +3 -0
  133. package/bundle/{chunk-xak2r993.js → chunk-dq9kpj4a.js} +2 -2
  134. package/bundle/{chunk-7tbvr236.js → chunk-drs1gv2b.js} +1 -1
  135. package/bundle/{chunk-xqxpjbqk.js → chunk-ds69qc8b.js} +1 -1
  136. package/bundle/chunk-dvk2wwjj.js +2 -0
  137. package/bundle/{chunk-vpqd0t8a.js → chunk-e0152ayv.js} +2 -2
  138. package/bundle/chunk-e0jy9qxd.js +2 -0
  139. package/bundle/{chunk-t6xm49ea.js → chunk-eb9mytjq.js} +1 -1
  140. package/bundle/{chunk-fk3praj7.js → chunk-ebcv65e3.js} +1 -1
  141. package/bundle/{chunk-08y06vgt.js → chunk-ebrt1me3.js} +2 -2
  142. package/bundle/{chunk-hjratj6g.js → chunk-ecn8gbtz.js} +1 -1
  143. package/bundle/chunk-emtebxvs.js +3 -0
  144. package/bundle/chunk-erg0ske8.js +2 -0
  145. package/bundle/{chunk-txty44v2.js → chunk-f2tdfry8.js} +2 -2
  146. package/bundle/{chunk-afhg3w2j.js → chunk-f45tp3e3.js} +1 -1
  147. package/bundle/chunk-f72pppr7.js +2 -0
  148. package/bundle/{chunk-pnj8s20t.js → chunk-fff3151r.js} +1 -1
  149. package/bundle/{chunk-0mekr486.js → chunk-fkgv2hqd.js} +1 -1
  150. package/bundle/{chunk-zvsafnkp.js → chunk-fnbpap62.js} +2 -2
  151. package/bundle/{chunk-4nck07pc.js → chunk-fzna6jdj.js} +2 -2
  152. package/bundle/{chunk-wg5dv21f.js → chunk-g16zb3y1.js} +2 -2
  153. package/bundle/{chunk-5yaahmjb.js → chunk-g1dwbvkg.js} +1 -1
  154. package/bundle/{chunk-1xkwm21b.js → chunk-g3dhsmbt.js} +3 -3
  155. package/bundle/{chunk-c0k8j498.js → chunk-g7rjtehn.js} +1 -1
  156. package/bundle/{chunk-e58pdw5k.js → chunk-gf0pdgjs.js} +2 -2
  157. package/bundle/{chunk-0m2tj2h9.js → chunk-ggqst87g.js} +1 -1
  158. package/bundle/{chunk-9zrwbxx0.js → chunk-gj7y56y6.js} +2 -2
  159. package/bundle/chunk-gk34kh8p.js +2 -0
  160. package/bundle/{chunk-1yx4jesj.js → chunk-gm85xefs.js} +1 -1
  161. package/bundle/chunk-gn50xqbd.js +2 -0
  162. package/bundle/{chunk-wmrq9qqf.js → chunk-gsez13bg.js} +1 -1
  163. package/bundle/{chunk-s54c8fpf.js → chunk-h0rpmne5.js} +1 -1
  164. package/bundle/chunk-h602h2gx.js +2 -0
  165. package/bundle/chunk-h7s2w1e2.js +2 -0
  166. package/bundle/{chunk-91khd3fq.js → chunk-h9pvnp5c.js} +1 -1
  167. package/bundle/{chunk-07net7s8.js → chunk-hj5y7fvk.js} +1 -1
  168. package/bundle/{chunk-qmhcbdkg.js → chunk-hk698g9e.js} +2 -2
  169. package/bundle/chunk-hmv2cdnz.js +2 -0
  170. package/bundle/chunk-hnb8v476.js +2 -0
  171. package/bundle/chunk-ht81ensf.js +2 -0
  172. package/bundle/chunk-hxgs0d4t.js +2 -0
  173. package/bundle/chunk-j59ktwny.js +2 -0
  174. package/bundle/{chunk-3zn71txs.js → chunk-j5kb0y1m.js} +1 -1
  175. package/bundle/{chunk-qpv4438m.js → chunk-j6emx6jn.js} +2 -2
  176. package/bundle/{chunk-x36jhtex.js → chunk-j8efst22.js} +1 -1
  177. package/bundle/{chunk-z4ae6jmb.js → chunk-j9pcnkkq.js} +3 -3
  178. package/bundle/{chunk-y2ch07yv.js → chunk-jje0srjq.js} +2 -2
  179. package/bundle/{chunk-nxjbbq5h.js → chunk-jm1ptn8n.js} +1 -1
  180. package/bundle/chunk-jmz2mq3t.js +2 -0
  181. package/bundle/chunk-jr907144.js +2 -0
  182. package/bundle/{chunk-eq33vmze.js → chunk-jx27xrk1.js} +2 -2
  183. package/bundle/{chunk-m7txgh5w.js → chunk-k2tamnfv.js} +1 -1
  184. package/bundle/chunk-k309zez0.js +3 -0
  185. package/bundle/chunk-k3epfxmq.js +2 -0
  186. package/bundle/chunk-k3fn3yed.js +2 -0
  187. package/bundle/chunk-k5q52wdq.js +2 -0
  188. package/bundle/chunk-k7g3h9tn.js +3 -0
  189. package/bundle/{chunk-wg42cxrw.js → chunk-k7gq9bra.js} +1 -1
  190. package/bundle/{chunk-vyjsng14.js → chunk-kb6w3wbd.js} +1 -1
  191. package/bundle/{chunk-qm9ezq93.js → chunk-kdcnder5.js} +1 -1
  192. package/bundle/{chunk-28vnspd4.js → chunk-kfsb2stm.js} +1 -1
  193. package/bundle/chunk-kfsn9c7m.js +2 -0
  194. package/bundle/{chunk-kvz0vzsn.js → chunk-knpt9n8f.js} +1 -1
  195. package/bundle/chunk-kpw6nghv.js +2 -0
  196. package/bundle/{chunk-cbmw8fy2.js → chunk-kqn9h2gk.js} +1 -1
  197. package/bundle/chunk-krhkrca9.js +2 -0
  198. package/bundle/{chunk-kbyk7hyn.js → chunk-m02zt1a3.js} +2 -2
  199. package/bundle/{chunk-yqtfvgrp.js → chunk-m1h5a4vg.js} +1 -1
  200. package/bundle/chunk-m5ghbt5y.js +2 -0
  201. package/bundle/{chunk-7ryv0f5h.js → chunk-m612agnk.js} +1 -1
  202. package/bundle/{chunk-05amr7y9.js → chunk-m67tcnk4.js} +1 -1
  203. package/bundle/{chunk-2sy1wx99.js → chunk-m8yv4sd2.js} +1 -1
  204. package/bundle/{chunk-613kegcn.js → chunk-mgk9sh16.js} +1 -1
  205. package/bundle/{chunk-7e1aw8rw.js → chunk-mk6cddvd.js} +1 -1
  206. package/bundle/chunk-mn41f9qv.js +2 -0
  207. package/bundle/chunk-mqjf9sbm.js +2 -0
  208. package/bundle/{chunk-n10atvac.js → chunk-msegx0t7.js} +1 -1
  209. package/bundle/{chunk-8bzwgcjb.js → chunk-mskwkcgj.js} +1 -1
  210. package/bundle/chunk-my7mn79h.js +9 -0
  211. package/bundle/{chunk-7rxsj310.js → chunk-n0mygdfp.js} +2 -2
  212. package/bundle/chunk-n5gwrrbb.js +2 -0
  213. package/bundle/{chunk-1xpx1t40.js → chunk-n8h6x2en.js} +2 -2
  214. package/bundle/chunk-nfjhem1c.js +2 -0
  215. package/bundle/{chunk-j0ftbmex.js → chunk-ngchsw2g.js} +2 -2
  216. package/bundle/{chunk-3rgct4bd.js → chunk-nj4d554m.js} +1 -1
  217. package/bundle/{chunk-w4hbw37v.js → chunk-nt4e3em9.js} +1 -1
  218. package/bundle/chunk-nxyyn2ra.js +2 -0
  219. package/bundle/{chunk-md7vpe1e.js → chunk-nzehfpxp.js} +1 -1
  220. package/bundle/chunk-p5tceb4k.js +2 -0
  221. package/bundle/{chunk-3w64fpwn.js → chunk-p68rwmhc.js} +2 -2
  222. package/bundle/chunk-pdzpfkt0.js +3 -0
  223. package/bundle/{chunk-nszqy06d.js → chunk-pekm54ce.js} +1 -1
  224. package/bundle/{chunk-tedrfa7d.js → chunk-phxrg7aw.js} +2 -2
  225. package/bundle/{chunk-81engf0t.js → chunk-ppfjf7qx.js} +1 -1
  226. package/bundle/{chunk-41ftye7w.js → chunk-pxtqqmkc.js} +1 -1
  227. package/bundle/{chunk-s5krbdvd.js → chunk-q1v2pytx.js} +1 -1
  228. package/bundle/{chunk-w01gjnty.js → chunk-q6ztpfcs.js} +2 -2
  229. package/bundle/{chunk-z2m09m4w.js → chunk-qc1w4b12.js} +1 -1
  230. package/bundle/{chunk-yvj021eg.js → chunk-qhc90p4a.js} +2 -2
  231. package/bundle/chunk-qjgm3e2p.js +2 -0
  232. package/bundle/{chunk-qkwhgfjt.js → chunk-qjjch1zt.js} +2 -2
  233. package/bundle/{chunk-f3rrd2p6.js → chunk-qjn86fc0.js} +1 -1
  234. package/bundle/{chunk-qq71akpw.js → chunk-qrey2gwb.js} +2 -2
  235. package/bundle/{chunk-pjbbdm96.js → chunk-qv2s39dv.js} +2 -2
  236. package/bundle/{chunk-2yb59jwr.js → chunk-qvxvc2c2.js} +1 -1
  237. package/bundle/{chunk-ygwe0vf1.js → chunk-rmr38x2f.js} +2 -2
  238. package/bundle/chunk-s07j8hfy.js +2 -0
  239. package/bundle/chunk-s1cnzvb2.js +2 -0
  240. package/bundle/{chunk-01gwb793.js → chunk-s3yna2wm.js} +1 -1
  241. package/bundle/{chunk-0vqrakhw.js → chunk-s6bar2f9.js} +1 -1
  242. package/bundle/chunk-sbyey0qb.js +2 -0
  243. package/bundle/{chunk-ze00x1xb.js → chunk-scnz207s.js} +2 -2
  244. package/bundle/{chunk-xdwej3ae.js → chunk-scsf8r98.js} +1 -1
  245. package/bundle/{chunk-xcs2jbz9.js → chunk-sermjas1.js} +1 -1
  246. package/bundle/chunk-sj5v361q.js +2 -0
  247. package/bundle/{chunk-6wdwwpsc.js → chunk-smt14yjb.js} +2 -2
  248. package/bundle/{chunk-ynfbz3sz.js → chunk-snm5q21k.js} +2 -2
  249. package/bundle/{chunk-4920vf6a.js → chunk-srh4xvsj.js} +1 -1
  250. package/bundle/{chunk-g7vahvkz.js → chunk-szr0f7k2.js} +1 -1
  251. package/bundle/{chunk-vw673y0t.js → chunk-t12xrrfr.js} +2 -2
  252. package/bundle/{chunk-fvy5w4dh.js → chunk-t22jbw8x.js} +1 -1
  253. package/bundle/{chunk-hkmb3zer.js → chunk-t2tgz0rc.js} +2 -2
  254. package/bundle/{chunk-6fpfr8tk.js → chunk-tj78jsp9.js} +1 -1
  255. package/bundle/chunk-tpndnprb.js +2 -0
  256. package/bundle/{chunk-jdkxeqw5.js → chunk-tr8sf0dk.js} +1 -1
  257. package/bundle/{chunk-hyckncza.js → chunk-v2zp22r3.js} +2 -2
  258. package/bundle/{chunk-0cehm5fn.js → chunk-v4xcysh0.js} +1 -1
  259. package/bundle/{chunk-7qxn24qa.js → chunk-v965rsr8.js} +2 -2
  260. package/bundle/{chunk-0304b7xg.js → chunk-va316nee.js} +1 -1
  261. package/bundle/{chunk-6h2faxs9.js → chunk-vg2fmyje.js} +2 -2
  262. package/bundle/{chunk-yt1yk4j1.js → chunk-vj62pc0h.js} +1 -1
  263. package/bundle/{chunk-hk8j5ht8.js → chunk-vn7nkrqb.js} +2 -2
  264. package/bundle/chunk-vwxfgea7.js +2 -0
  265. package/bundle/chunk-w0kgcz1t.js +2 -0
  266. package/bundle/{chunk-zjvzc0my.js → chunk-w87a3mzm.js} +1 -1
  267. package/bundle/chunk-w9vh7rhg.js +2 -0
  268. package/bundle/{chunk-9p83me3p.js → chunk-whxjkz9a.js} +2 -2
  269. package/bundle/chunk-wksczmes.js +2 -0
  270. package/bundle/{chunk-2kdn66xt.js → chunk-wnqwb6fd.js} +1 -1
  271. package/bundle/chunk-wrfvqp2w.js +2 -0
  272. package/bundle/chunk-wsxta33r.js +2 -0
  273. package/bundle/{chunk-rvrjw0fy.js → chunk-wsy0m70r.js} +1 -1
  274. package/bundle/{chunk-w2gpgapp.js → chunk-wy46mbwt.js} +1 -1
  275. package/bundle/{chunk-cqhpbfcn.js → chunk-wz0zcddf.js} +3 -3
  276. package/bundle/{chunk-q2exgz82.js → chunk-x067eetw.js} +1 -1
  277. package/bundle/{chunk-d2n09yvh.js → chunk-x1rx6fm7.js} +2 -2
  278. package/bundle/{chunk-j7zs1yg2.js → chunk-x7ers083.js} +1 -1
  279. package/bundle/{chunk-admgf65a.js → chunk-x9s04nze.js} +1 -1
  280. package/bundle/{chunk-fkat2pw6.js → chunk-xc5044tm.js} +1 -1
  281. package/bundle/chunk-xck0sq3k.js +2 -0
  282. package/bundle/chunk-xjyhtm8r.js +2 -0
  283. package/bundle/{chunk-rs0nx844.js → chunk-xpc2zgj7.js} +2 -2
  284. package/bundle/{chunk-54pk7nna.js → chunk-xrxyrr00.js} +1 -1
  285. package/bundle/{chunk-zna6neq5.js → chunk-xs3xtz6x.js} +1 -1
  286. package/bundle/{chunk-kpnfndkg.js → chunk-xvfpzmrf.js} +1 -1
  287. package/bundle/{chunk-crap29f6.js → chunk-xxbqhg9n.js} +1 -1
  288. package/bundle/{chunk-gaxbbxk6.js → chunk-y062spw2.js} +1 -1
  289. package/bundle/{chunk-bse8p94q.js → chunk-y2v09y71.js} +1 -1
  290. package/bundle/{chunk-jzcz92pq.js → chunk-y88xh6w3.js} +2 -2
  291. package/bundle/{chunk-g4qwkcdv.js → chunk-yajd975f.js} +1 -1
  292. package/bundle/chunk-yc1jk3rm.js +2 -0
  293. package/bundle/{chunk-5dm3p5r6.js → chunk-ydp0q1hk.js} +1 -1
  294. package/bundle/{chunk-gxa2r4zc.js → chunk-yfkvjphe.js} +1 -1
  295. package/bundle/chunk-ygc5qegv.js +2 -0
  296. package/bundle/{chunk-kbg3k1az.js → chunk-yhk7d1j0.js} +1 -1
  297. package/bundle/chunk-yjqmzm51.js +2 -0
  298. package/bundle/{chunk-49ypxzfx.js → chunk-yjtdgcq5.js} +1 -1
  299. package/bundle/{chunk-mg239rc3.js → chunk-yp0a8q29.js} +3 -3
  300. package/bundle/{chunk-p31yg62z.js → chunk-yq3m8190.js} +2 -2
  301. package/bundle/{chunk-rze20q68.js → chunk-yt3f3j35.js} +1 -1
  302. package/bundle/{chunk-tfggzzqw.js → chunk-ywkvq7zb.js} +1 -1
  303. package/bundle/{chunk-z3hj5bfd.js → chunk-z37aqajx.js} +2 -2
  304. package/bundle/chunk-z4z8hk7e.js +2 -0
  305. package/bundle/{chunk-vy9xre57.js → chunk-z6dnv8g5.js} +1 -1
  306. package/bundle/chunk-z7y9pdj7.js +2 -0
  307. package/bundle/chunk-z8g819cz.js +2 -0
  308. package/bundle/{chunk-h56jxxvj.js → chunk-z8v2tsz2.js} +1 -1
  309. package/bundle/{chunk-vztxv9dj.js → chunk-zb0me4kk.js} +1 -1
  310. package/bundle/{chunk-7ez3ye6e.js → chunk-zcm2jdr5.js} +1 -1
  311. package/bundle/chunk-zqv7fx25.js +2 -0
  312. package/bundle/chunk-zt1nbwmm.js +2 -0
  313. package/bundle/{chunk-fd9zrmhr.js → chunk-ztc3gm8y.js} +2 -2
  314. package/bundle/chunk-zw0yh3dv.js +2 -0
  315. package/bundle/{chunk-x3931we7.js → chunk-zyhdxggp.js} +2 -2
  316. package/bundle/index.js +3 -3
  317. package/bundle/parser.worker.js +2 -2
  318. package/bundle/qffi.node +0 -0
  319. package/bundle/worker.js +1 -1
  320. package/package.json +1 -1
  321. package/bundle/chunk-09ecxdmd.js +0 -2
  322. package/bundle/chunk-0jaj2g7x.js +0 -2
  323. package/bundle/chunk-0nr2925m.js +0 -2
  324. package/bundle/chunk-0wbq1y92.js +0 -2
  325. package/bundle/chunk-12pxszgn.js +0 -2
  326. package/bundle/chunk-1337582e.js +0 -2
  327. package/bundle/chunk-182jf8fz.js +0 -2
  328. package/bundle/chunk-1ht3zcsh.js +0 -2
  329. package/bundle/chunk-25zkavr0.js +0 -2
  330. package/bundle/chunk-2cm91ktc.js +0 -3
  331. package/bundle/chunk-2jfd82jk.js +0 -2
  332. package/bundle/chunk-2k7bbzj2.js +0 -2
  333. package/bundle/chunk-30081kwd.js +0 -2
  334. package/bundle/chunk-3kdhvq0p.js +0 -3
  335. package/bundle/chunk-3vag59se.js +0 -2
  336. package/bundle/chunk-3x5v6sjw.js +0 -2
  337. package/bundle/chunk-43ep9d7a.js +0 -2
  338. package/bundle/chunk-48j09m6e.js +0 -3
  339. package/bundle/chunk-4qqja22v.js +0 -2
  340. package/bundle/chunk-5gazgxt5.js +0 -2
  341. package/bundle/chunk-63znhwx0.js +0 -2
  342. package/bundle/chunk-6hmyy7n6.js +0 -2
  343. package/bundle/chunk-7dyddrpk.js +0 -2
  344. package/bundle/chunk-7penjsgq.js +0 -2
  345. package/bundle/chunk-7t5gzkj6.js +0 -2
  346. package/bundle/chunk-89vgt8vq.js +0 -2
  347. package/bundle/chunk-8e8n82f9.js +0 -2
  348. package/bundle/chunk-97exhw9j.js +0 -2
  349. package/bundle/chunk-9cvkaht5.js +0 -2
  350. package/bundle/chunk-akdvstd9.js +0 -2
  351. package/bundle/chunk-ave2e4sa.js +0 -2
  352. package/bundle/chunk-axnwehc7.js +0 -2
  353. package/bundle/chunk-bmzyxspj.js +0 -2
  354. package/bundle/chunk-bvaqpfv8.js +0 -2
  355. package/bundle/chunk-cxb05cdg.js +0 -2
  356. package/bundle/chunk-cxe92z5c.js +0 -2
  357. package/bundle/chunk-d5wp85kw.js +0 -2
  358. package/bundle/chunk-dm5xnb4t.js +0 -2
  359. package/bundle/chunk-dpeqsvan.js +0 -2
  360. package/bundle/chunk-drxtmg5c.js +0 -2
  361. package/bundle/chunk-e9pfdjcy.js +0 -2
  362. package/bundle/chunk-ejn5hfzd.js +0 -2
  363. package/bundle/chunk-ek1fawsj.js +0 -3
  364. package/bundle/chunk-ernd18jb.js +0 -2
  365. package/bundle/chunk-ff9b4cg8.js +0 -2
  366. package/bundle/chunk-fpff6a4q.js +0 -2
  367. package/bundle/chunk-gq361kdt.js +0 -2
  368. package/bundle/chunk-hbagpppv.js +0 -2
  369. package/bundle/chunk-hf473xav.js +0 -2
  370. package/bundle/chunk-hr88054m.js +0 -2
  371. package/bundle/chunk-j3czd7v2.js +0 -28
  372. package/bundle/chunk-j9m2d6t5.js +0 -2
  373. package/bundle/chunk-jd9edy2s.js +0 -2
  374. package/bundle/chunk-jwtdbx31.js +0 -2
  375. package/bundle/chunk-kbjwdv1x.js +0 -8223
  376. package/bundle/chunk-krkxrej2.js +0 -2
  377. package/bundle/chunk-m26mcy8p.js +0 -2
  378. package/bundle/chunk-m62wgqp1.js +0 -2
  379. package/bundle/chunk-m84cn9c6.js +0 -2
  380. package/bundle/chunk-mvc7pvtq.js +0 -2
  381. package/bundle/chunk-nfp9xtca.js +0 -3
  382. package/bundle/chunk-ngz5xw45.js +0 -3
  383. package/bundle/chunk-p5t9mq8r.js +0 -2
  384. package/bundle/chunk-pfbykat1.js +0 -2
  385. package/bundle/chunk-qd0nvn4z.js +0 -2
  386. package/bundle/chunk-qh99kv2j.js +0 -2
  387. package/bundle/chunk-qyrafh4m.js +0 -2
  388. package/bundle/chunk-rc37cw86.js +0 -2
  389. package/bundle/chunk-rmpty636.js +0 -2
  390. package/bundle/chunk-rz54qjew.js +0 -2
  391. package/bundle/chunk-s3wjwxme.js +0 -2
  392. package/bundle/chunk-s4ncnbgd.js +0 -2
  393. package/bundle/chunk-snz3w30x.js +0 -2
  394. package/bundle/chunk-srw748gr.js +0 -2
  395. package/bundle/chunk-tn167yyz.js +0 -2
  396. package/bundle/chunk-v1xwe58d.js +0 -2
  397. package/bundle/chunk-vh05n2x3.js +0 -2
  398. package/bundle/chunk-vrfegg5f.js +0 -2
  399. package/bundle/chunk-w12tky28.js +0 -2
  400. package/bundle/chunk-w9ct698t.js +0 -2
  401. package/bundle/chunk-wms4skr9.js +0 -11
  402. package/bundle/chunk-wr5hdsst.js +0 -9
  403. package/bundle/chunk-wxnqgh8t.js +0 -2
  404. package/bundle/chunk-wzmte7sy.js +0 -3
  405. package/bundle/chunk-x0h1jdxt.js +0 -2
  406. package/bundle/chunk-x6hsmnhz.js +0 -2
  407. package/bundle/chunk-xg9e0enb.js +0 -2
  408. package/bundle/chunk-xtxxb25n.js +0 -2
  409. package/bundle/chunk-y3s7sh1e.js +0 -2
  410. package/bundle/chunk-ydvheqw9.js +0 -2
  411. package/bundle/chunk-yxnq0d7k.js +0 -2
  412. package/bundle/chunk-z2raegj9.js +0 -2
  413. package/bundle/chunk-z3pyhmg6.js +0 -2
  414. package/bundle/chunk-z7pg6sw1.js +0 -2
  415. package/bundle/chunk-z84376c6.js +0 -2
  416. package/bundle/chunk-zn8th65r.js +0 -2
  417. package/bundle/chunk-ztv1brgn.js +0 -2
  418. package/bundle/chunk-zyxvd9fj.js +0 -2
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-54pk7nna.js";import"./chunk-s2za1y84.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.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-xrxyrr00.js";import"./chunk-aztre27e.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.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};
@@ -11,4 +11,4 @@ ${z}`,j++}else gw(W,G,H)?J=W.slice(W.charCodeAt(G+6)===A?G+7:G+6,Z)||void 0:F(W,
11
11
  `,G),U=-1;if(Z!==-1&&H!==-1?U=Z<H?Z:H:Z!==-1?Z===W.length-1?U=-1:U=Z:H!==-1&&(U=H),U===-1)break;F(W,G,U),G=U+1,W.charCodeAt(G-1)===WG&&W.charCodeAt(G)===Iw&&G++}return W.slice(G)}function F(W,G,Z){if(G===Z){pw();return}let H=W.charCodeAt(G);if(fw(W,G,H)){let R=W.charCodeAt(G+5)===A?G+6:G+5,y=W.slice(R,Z);M=j===0?y:`${M}
12
12
  ${y}`,j++;return}if(gw(W,G,H)){J=W.slice(W.charCodeAt(G+6)===A?G+7:G+6,Z)||void 0;return}if(H===105&&W.charCodeAt(G+1)===100&&W.charCodeAt(G+2)===58){let R=W.slice(W.charCodeAt(G+3)===A?G+4:G+3,Z);O=R.includes("\x00")?void 0:R;return}if(H===58){if(D){let R=W.slice(G,Z);D(R.slice(W.charCodeAt(G+1)===A?2:1))}return}let U=W.slice(G,Z),z=U.indexOf(":");if(z===-1){S(U,"",U);return}let kw=U.slice(0,z),hw=U.charCodeAt(z+1)===A?2:1,lw=U.slice(z+hw);S(kw,lw,U)}function S(W,G,Z){switch(W){case"event":J=G||void 0;break;case"data":M=j===0?G:`${M}
13
13
  ${G}`,j++;break;case"id":O=G.includes("\x00")?void 0:G;break;case"retry":/^\d+$/.test(G)?Y(parseInt(G,10)):X(new B(`Invalid \`retry\` value: "${G}"`,{type:"invalid-retry",value:G,line:Z}));break;default:X(new B(`Unknown field "${W.length>20?`${W.slice(0,20)}\u2026`:W}"`,{type:"unknown-field",field:W,value:G,line:Z}));break}}function pw(){j>0&&Q({id:O,event:J,data:M}),O=void 0,M="",j=0,J=void 0}function xw(W={}){if(W.consume&&K.length>0){let G=K.join("");F(G,0,G.length)}V=!0,O=void 0,M="",j=0,J=void 0,K.length=0,N=0,T=!1}return{feed:vw,reset:xw}}function fw(w,Q,X){return X===100&&w.charCodeAt(Q+1)===97&&w.charCodeAt(Q+2)===116&&w.charCodeAt(Q+3)===97&&w.charCodeAt(Q+4)===58}function gw(w,Q,X){return X===101&&w.charCodeAt(Q+1)===118&&w.charCodeAt(Q+2)===101&&w.charCodeAt(Q+3)===110&&w.charCodeAt(Q+4)===116&&w.charCodeAt(Q+5)===58}class XG extends TransformStream{constructor({onError:w,onRetry:Q,onComment:X,maxBufferSize:Y}={}){let D;super({start(q){D=mw({onEvent:(K)=>{q.enqueue(K)},onError(K){typeof w=="function"&&w(K),(w==="terminate"||K.type==="max-buffer-size-exceeded")&&q.error(K)},onRetry:Q,onComment:X,maxBufferSize:Y})},transform(q){D.feed(q)}})}}
14
- export{$ as Tq,YG as Uq,ZG as Vq,Hw as Wq,$G as Xq,KG as Yq,qG as Zq,HG as _q,UG as $q,DG as ar,jG as br,JG as cr,OG as dr,NG as er,zG as fr,AG as gr,mw as hr,XG as ir};
14
+ export{$ as qr,YG as rr,ZG as sr,Hw as tr,$G as ur,KG as vr,qG as wr,HG as xr,UG as yr,DG as zr,jG as Ar,JG as Br,OG as Cr,NG as Dr,zG as Er,AG as Fr,mw as Gr,XG as Hr};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-s2za1y84.js";var D=Object.defineProperty,x=(J,Q,W)=>(Q in J)?D(J,Q,{enumerable:!0,configurable:!0,writable:!0,value:W}):J[Q]=W,B=(J,Q,W)=>x(J,typeof Q!=="symbol"?Q+"":Q,W),I="CF_TEMP_TOKEN",L=[{name:"openai",regex:/^https:\/\/api\.openai\.com\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.openai\.com\//,"")},{name:"deepseek",regex:/^https:\/\/api\.deepseek\.com\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.deepseek\.com\//,"")},{name:"anthropic",regex:/^https:\/\/api\.anthropic\.com\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.anthropic\.com\//,""),headerKey:"x-api-key"},{name:"google-ai-studio",regex:/^https:\/\/generativelanguage\.googleapis\.com\//,headerKey:"x-goog-api-key",transformEndpoint:(J)=>J.replace(/^https:\/\/generativelanguage\.googleapis\.com\//,"")},{name:"google-vertex-ai",regex:/aiplatform\.googleapis\.com/,transformEndpoint:(J)=>J.replace(/https:\/\/(.*)[-]?aiplatform\.googleapis\.com\//,"")},{name:"grok",regex:/^https:\/\/api\.x\.ai\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.x\.ai\//,"")},{name:"mistral",regex:/^https:\/\/api\.mistral\.ai\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.mistral\.ai\//,"")},{name:"perplexity-ai",regex:/^https:\/\/api\.perplexity\.ai\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.perplexity\.ai\//,"")},{name:"replicate",regex:/^https:\/\/api\.replicate\.com\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.replicate\.com\//,"")},{name:"groq",regex:/^https:\/\/api\.groq\.com\/openai\/v1\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.groq\.com\/openai\/v1\//,"")},{name:"google-vertex-ai",regex:/^https:\/\/(?:[a-z0-9]+-)*aiplatform\.googleapis\.com\//,transformEndpoint:(J)=>J.replace(/^https:\/\/(?:[a-z0-9]+-)*aiplatform\.googleapis\.com\//,""),headerKey:"authorization"},{name:"azure-openai",regex:/^https:\/\/(?<resource>[^.]+)\.openai\.azure\.com\/openai\/deployments\/(?<deployment>[^/]+)\/(?<rest>.*)$/,transformEndpoint:(J)=>{let Q=J.match(/^https:\/\/(?<resource>[^.]+)\.openai\.azure\.com\/openai\/deployments\/(?<deployment>[^/]+)\/(?<rest>.*)$/);if(!Q||!Q.groups)return J;let{resource:W,deployment:X,rest:Z}=Q.groups;if(!W||!X||!Z)throw Error("Failed to parse Azure OpenAI endpoint URL.");return`${W}/${X}/${Z}`},headerKey:"api-key"},{name:"openrouter",regex:/^https:\/\/openrouter\.ai\/api\//,transformEndpoint:(J)=>J.replace(/^https:\/\/openrouter\.ai\/api\//,"")},{name:"compat",regex:/^https:\/\/gateway\.ai\.cloudflare\.com\/v1\/compat\//,transformEndpoint:(J)=>J.replace(/^https:\/\/gateway\.ai\.cloudflare\.com\/v1\/compat\//,"")}],z=class extends Error{},P=class extends Error{},T=class extends Error{};async function U(J){return await new Response(J).json()}var H=class{constructor(J,Q){B(this,"specificationVersion","v3"),B(this,"defaultObjectGenerationMode","json"),B(this,"supportedUrls",{}),B(this,"models"),B(this,"config"),this.models=J,this.config=Q}get modelId(){if(!this.models[0])throw Error("models cannot be empty array");return this.models[0].modelId}get provider(){if(!this.models[0])throw Error("models cannot be empty array");return this.models[0].provider}async processModelRequest(J,Q){let W=[];for(let S of this.models){if(!S.config||!Object.keys(S.config).includes("fetch"))throw Error(`Sorry, but provider "${S.provider}" is currently not supported, please open a issue in the github repo!`);S.config.fetch=(V,$)=>{throw W.push({modelProvider:S.provider,request:$,url:V}),new z("Stopping provider execution...")};try{await S[Q](J)}catch(V){if(!(V instanceof z))throw V}}let X=await Promise.all(W.map(async(S)=>{let V=null;for(let R of L)if(R.regex.test(S.url))V=R;if(!V)throw Error(`Sorry, but provider "${S.modelProvider}" is currently not supported, please open a issue in the github repo!`);if(!S.request.body)throw Error("Ai Gateway provider received an unexpected empty body");let $=V.headerKey??"authorization";if(("get"in S.request.headers?S.request.headers.get($):S.request.headers[$])?.indexOf(I)!==-1)if("delete"in S.request.headers)S.request.headers.delete($);else delete S.request.headers[$];return{endpoint:V.transformEndpoint(S.url),headers:S.request.headers,provider:V.name,query:await U(S.request.body)}})),Z=N(this.config.options??{}),Y;if("binding"in this.config){let S=X.map((V)=>({...V,headers:{...V.headers??{},...Object.fromEntries(Z.entries())}}));Y=await this.config.binding.run(S,{signal:J.abortSignal})}else Z.set("Content-Type","application/json"),Z.set("cf-aig-authorization",`Bearer ${this.config.apiKey}`),Y=await fetch(`https://gateway.ai.cloudflare.com/v1/${this.config.accountId}/${this.config.gateway}`,{body:JSON.stringify(X),headers:Z,method:"POST",signal:J.abortSignal});if(Y.status===400){let V=await Y.clone().json();if(V.success===!1&&V.error&&V.error.length>0&&V.error[0]?.code===2001)throw new P("This AI gateway does not exist")}else if(Y.status===401){let V=await Y.clone().json();if(V.success===!1&&V.error&&V.error.length>0&&V.error[0]?.code===2009)throw new T("Your AI Gateway has authentication active, but you didn't provide a valid apiKey")}let K=Number.parseInt(Y.headers.get("cf-aig-step")??"0",10);if(!this.models[K])throw Error("Unexpected AI Gateway Error");return this.models[K].config={...this.models[K].config,fetch:(S,V)=>Y},this.models[K][Q](J)}async doStream(J){return this.processModelRequest(J,"doStream")}async doGenerate(J){return this.processModelRequest(J,"doGenerate")}};function f(J){let Q=(X)=>{return new H(Array.isArray(X)?X:[X],J)},W=(X)=>Q(X);return W.chat=Q,W}function N(J){let Q=new Headers;if(J.skipCache===!0)Q.set("cf-skip-cache","true");if(J.cacheTtl)Q.set("cf-cache-ttl",J.cacheTtl.toString());if(J.metadata)Q.set("cf-aig-metadata",JSON.stringify(J.metadata));if(J.cacheKey)Q.set("cf-aig-cache-key",J.cacheKey);if(J.collectLog!==void 0)Q.set("cf-aig-collect-log",J.collectLog===!0?"true":"false");if(J.eventId!==void 0)Q.set("cf-aig-event-id",J.eventId);if(J.requestTimeoutMs!==void 0)Q.set("cf-aig-request-timeout",J.requestTimeoutMs.toString());if(J.retries!==void 0){if(J.retries.maxAttempts!==void 0)Q.set("cf-aig-max-attempts",J.retries.maxAttempts.toString());if(J.retries.retryDelayMs!==void 0)Q.set("cf-aig-retry-delay",J.retries.retryDelayMs.toString());if(J.retries.backoff!==void 0)Q.set("cf-aig-backoff",J.retries.backoff)}return Q}export{N as parseAiGatewayOptions,f as createAiGateway,T as AiGatewayUnauthorizedError,z as AiGatewayInternalFetchError,P as AiGatewayDoesNotExist,H as AiGatewayChatLanguageModel};
2
+ import"./chunk-aztre27e.js";var D=Object.defineProperty,x=(J,Q,W)=>(Q in J)?D(J,Q,{enumerable:!0,configurable:!0,writable:!0,value:W}):J[Q]=W,B=(J,Q,W)=>x(J,typeof Q!=="symbol"?Q+"":Q,W),I="CF_TEMP_TOKEN",L=[{name:"openai",regex:/^https:\/\/api\.openai\.com\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.openai\.com\//,"")},{name:"deepseek",regex:/^https:\/\/api\.deepseek\.com\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.deepseek\.com\//,"")},{name:"anthropic",regex:/^https:\/\/api\.anthropic\.com\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.anthropic\.com\//,""),headerKey:"x-api-key"},{name:"google-ai-studio",regex:/^https:\/\/generativelanguage\.googleapis\.com\//,headerKey:"x-goog-api-key",transformEndpoint:(J)=>J.replace(/^https:\/\/generativelanguage\.googleapis\.com\//,"")},{name:"google-vertex-ai",regex:/aiplatform\.googleapis\.com/,transformEndpoint:(J)=>J.replace(/https:\/\/(.*)[-]?aiplatform\.googleapis\.com\//,"")},{name:"grok",regex:/^https:\/\/api\.x\.ai\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.x\.ai\//,"")},{name:"mistral",regex:/^https:\/\/api\.mistral\.ai\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.mistral\.ai\//,"")},{name:"perplexity-ai",regex:/^https:\/\/api\.perplexity\.ai\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.perplexity\.ai\//,"")},{name:"replicate",regex:/^https:\/\/api\.replicate\.com\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.replicate\.com\//,"")},{name:"groq",regex:/^https:\/\/api\.groq\.com\/openai\/v1\//,transformEndpoint:(J)=>J.replace(/^https:\/\/api\.groq\.com\/openai\/v1\//,"")},{name:"google-vertex-ai",regex:/^https:\/\/(?:[a-z0-9]+-)*aiplatform\.googleapis\.com\//,transformEndpoint:(J)=>J.replace(/^https:\/\/(?:[a-z0-9]+-)*aiplatform\.googleapis\.com\//,""),headerKey:"authorization"},{name:"azure-openai",regex:/^https:\/\/(?<resource>[^.]+)\.openai\.azure\.com\/openai\/deployments\/(?<deployment>[^/]+)\/(?<rest>.*)$/,transformEndpoint:(J)=>{let Q=J.match(/^https:\/\/(?<resource>[^.]+)\.openai\.azure\.com\/openai\/deployments\/(?<deployment>[^/]+)\/(?<rest>.*)$/);if(!Q||!Q.groups)return J;let{resource:W,deployment:X,rest:Z}=Q.groups;if(!W||!X||!Z)throw Error("Failed to parse Azure OpenAI endpoint URL.");return`${W}/${X}/${Z}`},headerKey:"api-key"},{name:"openrouter",regex:/^https:\/\/openrouter\.ai\/api\//,transformEndpoint:(J)=>J.replace(/^https:\/\/openrouter\.ai\/api\//,"")},{name:"compat",regex:/^https:\/\/gateway\.ai\.cloudflare\.com\/v1\/compat\//,transformEndpoint:(J)=>J.replace(/^https:\/\/gateway\.ai\.cloudflare\.com\/v1\/compat\//,"")}],z=class extends Error{},P=class extends Error{},T=class extends Error{};async function U(J){return await new Response(J).json()}var H=class{constructor(J,Q){B(this,"specificationVersion","v3"),B(this,"defaultObjectGenerationMode","json"),B(this,"supportedUrls",{}),B(this,"models"),B(this,"config"),this.models=J,this.config=Q}get modelId(){if(!this.models[0])throw Error("models cannot be empty array");return this.models[0].modelId}get provider(){if(!this.models[0])throw Error("models cannot be empty array");return this.models[0].provider}async processModelRequest(J,Q){let W=[];for(let S of this.models){if(!S.config||!Object.keys(S.config).includes("fetch"))throw Error(`Sorry, but provider "${S.provider}" is currently not supported, please open a issue in the github repo!`);S.config.fetch=(V,$)=>{throw W.push({modelProvider:S.provider,request:$,url:V}),new z("Stopping provider execution...")};try{await S[Q](J)}catch(V){if(!(V instanceof z))throw V}}let X=await Promise.all(W.map(async(S)=>{let V=null;for(let R of L)if(R.regex.test(S.url))V=R;if(!V)throw Error(`Sorry, but provider "${S.modelProvider}" is currently not supported, please open a issue in the github repo!`);if(!S.request.body)throw Error("Ai Gateway provider received an unexpected empty body");let $=V.headerKey??"authorization";if(("get"in S.request.headers?S.request.headers.get($):S.request.headers[$])?.indexOf(I)!==-1)if("delete"in S.request.headers)S.request.headers.delete($);else delete S.request.headers[$];return{endpoint:V.transformEndpoint(S.url),headers:S.request.headers,provider:V.name,query:await U(S.request.body)}})),Z=N(this.config.options??{}),Y;if("binding"in this.config){let S=X.map((V)=>({...V,headers:{...V.headers??{},...Object.fromEntries(Z.entries())}}));Y=await this.config.binding.run(S,{signal:J.abortSignal})}else Z.set("Content-Type","application/json"),Z.set("cf-aig-authorization",`Bearer ${this.config.apiKey}`),Y=await fetch(`https://gateway.ai.cloudflare.com/v1/${this.config.accountId}/${this.config.gateway}`,{body:JSON.stringify(X),headers:Z,method:"POST",signal:J.abortSignal});if(Y.status===400){let V=await Y.clone().json();if(V.success===!1&&V.error&&V.error.length>0&&V.error[0]?.code===2001)throw new P("This AI gateway does not exist")}else if(Y.status===401){let V=await Y.clone().json();if(V.success===!1&&V.error&&V.error.length>0&&V.error[0]?.code===2009)throw new T("Your AI Gateway has authentication active, but you didn't provide a valid apiKey")}let K=Number.parseInt(Y.headers.get("cf-aig-step")??"0",10);if(!this.models[K])throw Error("Unexpected AI Gateway Error");return this.models[K].config={...this.models[K].config,fetch:(S,V)=>Y},this.models[K][Q](J)}async doStream(J){return this.processModelRequest(J,"doStream")}async doGenerate(J){return this.processModelRequest(J,"doGenerate")}};function f(J){let Q=(X)=>{return new H(Array.isArray(X)?X:[X],J)},W=(X)=>Q(X);return W.chat=Q,W}function N(J){let Q=new Headers;if(J.skipCache===!0)Q.set("cf-skip-cache","true");if(J.cacheTtl)Q.set("cf-cache-ttl",J.cacheTtl.toString());if(J.metadata)Q.set("cf-aig-metadata",JSON.stringify(J.metadata));if(J.cacheKey)Q.set("cf-aig-cache-key",J.cacheKey);if(J.collectLog!==void 0)Q.set("cf-aig-collect-log",J.collectLog===!0?"true":"false");if(J.eventId!==void 0)Q.set("cf-aig-event-id",J.eventId);if(J.requestTimeoutMs!==void 0)Q.set("cf-aig-request-timeout",J.requestTimeoutMs.toString());if(J.retries!==void 0){if(J.retries.maxAttempts!==void 0)Q.set("cf-aig-max-attempts",J.retries.maxAttempts.toString());if(J.retries.retryDelayMs!==void 0)Q.set("cf-aig-retry-delay",J.retries.retryDelayMs.toString());if(J.retries.backoff!==void 0)Q.set("cf-aig-backoff",J.retries.backoff)}return Q}export{N as parseAiGatewayOptions,f as createAiGateway,T as AiGatewayUnauthorizedError,z as AiGatewayInternalFetchError,P as AiGatewayDoesNotExist,H as AiGatewayChatLanguageModel};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Ed as n,Hd as p,Id as e,Jd as i,Md as m,Nd as c}from"./chunk-y2ch07yv.js";import{qI as o,vC as s}from"./chunk-ynfbz3sz.js";var u=(t)=>o.sync(()=>e(t)),g=(t)=>o.sync(()=>i(t)),y={info:(t)=>o.sync(()=>p.info(t))},x=(t)=>o.tryPromise(()=>c(t)).pipe(o.map((r)=>{if(n(r))return s.none();return s.some(r)})),V=()=>{let t=m();return{start:(r)=>o.sync(()=>t.start(r)),stop:(r,a)=>o.sync(()=>t.stop(r,a))}};
3
- export{u as h,g as i,y as j,x as k,V as l};
2
+ import{Fd as n,Id as p,Jd as e,Kd as i,Nd as m,Od as c}from"./chunk-jje0srjq.js";import{PI as o,UC as s}from"./chunk-snm5q21k.js";var u=(t)=>o.sync(()=>e(t)),g=(t)=>o.sync(()=>i(t)),y={info:(t)=>o.sync(()=>p.info(t))},x=(t)=>o.tryPromise(()=>c(t)).pipe(o.map((r)=>{if(n(r))return s.none();return s.some(r)})),V=()=>{let t=m();return{start:(r)=>o.sync(()=>t.start(r)),stop:(r,a)=>o.sync(()=>t.stop(r,a))}};
3
+ export{u as i,g as j,y as k,x as l,V as m};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  import x from"crypto";function B(q=43){let w=x.randomBytes(q);return z(w)}function C(q){let w=x.createHash("sha256").update(q).digest();return z(w)}function z(q){return q.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}
3
- export{B as sr,C as tr};
3
+ export{B as Rr,C as Sr};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  import{dlopen as H,ptr as V}from"bun:ffi";var W=-10,M=1,g=()=>H("kernel32.dll",{GetStdHandle:{args:["i32"],returns:"ptr"},GetConsoleMode:{args:["ptr","ptr"],returns:"i32"},SetConsoleMode:{args:["ptr","u32"],returns:"i32"},FlushConsoleInputBuffer:{args:["ptr"],returns:"i32"}}),j;function X(){if(process.platform!=="win32")return!1;try{return j??=g(),!0}catch{return!1}}function B(){if(process.platform!=="win32")return;if(!process.stdin.isTTY)return;if(!X())return;let q=j.symbols.GetStdHandle(W),z=new Uint32Array(1);if(j.symbols.GetConsoleMode(q,V(z))===0)return;let x=z[0];if((x&M)===0)return;j.symbols.SetConsoleMode(q,x&~M)}function C(){if(process.platform!=="win32")return;if(!process.stdin.isTTY)return;if(!X())return;let q=j.symbols.GetStdHandle(W);j.symbols.FlushConsoleInputBuffer(q)}var F;function O(){if(process.platform!=="win32")return;if(!process.stdin.isTTY)return;if(!X())return;if(F)return F;let q=process.stdin,z=q.setRawMode,x=j.symbols.GetStdHandle(W),G=new Uint32Array(1);if(j.symbols.GetConsoleMode(x,V(G))===0)return;let y=G[0],Q=()=>{if(j.symbols.GetConsoleMode(x,V(G))===0)return;let K=G[0];if((K&M)===0)return;j.symbols.SetConsoleMode(x,K&~M)},Y=()=>{Q(),setImmediate(Q)},J;if(typeof z==="function")J=(K)=>{let v=z.call(q,K);return Y(),v},q.setRawMode=J;Y();let Z=setInterval(Q,100);Z.unref();let $=!1;return F=()=>{if($)return;if($=!0,clearInterval(Z),J&&q.setRawMode===J)q.setRawMode=z;j.symbols.SetConsoleMode(x,y),F=void 0},F}
3
- export{B,C,O as D};
3
+ export{B as C,C as D,O as E};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{DP as q,GP as b}from"./chunk-s2za1y84.js";var z=q((f)=>{Object.defineProperty(f,"__esModule",{value:!0});f.execAsync=void 0;var v=b("child_process"),w=b("util");f.execAsync=w.promisify(v.exec)});
3
- export{z as AP};
2
+ import{aQ as q,dQ as b}from"./chunk-aztre27e.js";var z=q((f)=>{Object.defineProperty(f,"__esModule",{value:!0});f.execAsync=void 0;var v=b("child_process"),w=b("util");f.execAsync=w.promisify(v.exec)});
3
+ export{z as ZP};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{se as Qb}from"./chunk-zvsafnkp.js";import{we as Xb}from"./chunk-5jtd006j.js";import{xe as Wb}from"./chunk-hyckncza.js";import{Ae as Lb,ye as Jb,ze as Kb}from"./chunk-z4ae6jmb.js";import{Be as Db}from"./chunk-xak2r993.js";import{tf as bb,uf as jb,vf as kb,wf as wb,xf as Bb}from"./chunk-5ymj2q6j.js";import"./chunk-s2za1y84.js";var K=Lb(),V=Kb(),D=jb(),J=kb(),H=wb(),M=Db(),G=Jb(),P=bb(),E=Qb(),Z=Bb(),m=Wb(),Yb=Xb(),Zb=async(b,j,k)=>{return{operation:D.getSmithyContext(j).operation,region:await D.normalizeProvider(b.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};function Hb(b){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:b.region},propertiesExtractor:(j,k)=>({signingProperties:{config:j,context:k}})}}function Gb(b){return{schemeId:"smithy.api#noAuth"}}var zb=(b)=>{let j=[];switch(b.operation){case"GetRoleCredentials":{j.push(Gb());break}default:j.push(Hb(b))}return j},Fb=(b)=>{let j=E.resolveAwsSdkSigV4Config(b);return Object.assign(j,{authSchemePreference:D.normalizeProvider(b.authSchemePreference??[])})},Ib=(b)=>{return Object.assign(b,{useDualstackEndpoint:b.useDualstackEndpoint??!1,useFipsEndpoint:b.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"})},Nb={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Ub="3.997.14",Vb={version:Ub},z="ref",W=-1,N=!0,S="isSet",a="PartitionResult",U="booleanEquals",A="getAttr",h={[z]:"Endpoint"},v={[z]:a},Y={},p=[{[z]:"Region"}],u={conditions:[[S,[h]],[S,p],["aws.partition",p,a],[U,[{[z]:"UseFIPS"},N]],[U,[{[z]:"UseDualStack"},N]],[U,[{fn:A,argv:[v,"supportsDualStack"]},N]],[U,[{fn:A,argv:[v,"supportsFIPS"]},N]],["stringEquals",[{fn:A,argv:[v,"name"]},"aws-us-gov"]]],results:[[W],[W,"Invalid Configuration: FIPS and custom endpoint are not supported"],[W,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[h,Y],["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",Y],[W,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://portal.sso.{Region}.amazonaws.com",Y],["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",Y],[W,"FIPS is enabled but this partition does not support FIPS"],["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",Y],[W,"DualStack is enabled but this partition does not support DualStack"],["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",Y],[W,"Invalid Configuration: Missing Region"]]},Mb=2,B=1e8,qb=new Int32Array([-1,1,-1,0,13,3,1,4,B+12,2,5,B+12,3,8,6,4,7,B+11,5,B+9,B+10,4,11,9,6,10,B+8,7,B+6,B+7,5,12,B+5,6,B+4,B+5,3,B+1,14,4,B+2,B+3]),Tb=H.BinaryDecisionDiagram.from(qb,Mb,u.conditions,u.results),yb=new H.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Ob=(b,j={})=>{return yb.get(b,()=>H.decideEndpoint(Tb,{endpointParams:b,logger:j.logger}))};H.customEndpointFunctions.aws=K.awsEndpointFunctions;class X extends D.ServiceException{constructor(b){super(b);Object.setPrototypeOf(this,X.prototype)}}class l extends X{name="InvalidRequestException";$fault="client";constructor(b){super({name:"InvalidRequestException",$fault:"client",...b});Object.setPrototypeOf(this,l.prototype)}}class x extends X{name="ResourceNotFoundException";$fault="client";constructor(b){super({name:"ResourceNotFoundException",$fault:"client",...b});Object.setPrototypeOf(this,x.prototype)}}class C extends X{name="TooManyRequestsException";$fault="client";constructor(b){super({name:"TooManyRequestsException",$fault:"client",...b});Object.setPrototypeOf(this,C.prototype)}}class $ extends X{name="UnauthorizedException";$fault="client";constructor(b){super({name:"UnauthorizedException",$fault:"client",...b});Object.setPrototypeOf(this,$.prototype)}}var Rb="AccessTokenType",Ab="GetRoleCredentials",vb="GetRoleCredentialsRequest",Pb="GetRoleCredentialsResponse",Eb="InvalidRequestException",lb="RoleCredentials",xb="ResourceNotFoundException",Cb="SecretAccessKeyType",$b="SessionTokenType",_b="TooManyRequestsException",db="UnauthorizedException",mb="accountId",Sb="accessKeyId",hb="accessToken",pb="account_id",q="client",T="error",ub="expiration",sb="http",y="httpError",ab="httpHeader",s="httpQuery",O="message",rb="roleCredentials",gb="roleName",fb="role_name",r="smithy.ts.sdk.synthetic.com.amazonaws.sso",cb="secretAccessKey",tb="sessionToken",eb="x-amz-sso_bearer_token",L="com.amazonaws.sso",g=P.TypeRegistry.for(r),ib=[-3,r,"SSOServiceException",0,[],[]];g.registerError(ib,X);var F=P.TypeRegistry.for(L),nb=[-3,L,Eb,{[T]:q,[y]:400},[O],[0]];F.registerError(nb,l);var ob=[-3,L,xb,{[T]:q,[y]:404},[O],[0]];F.registerError(ob,x);var bj=[-3,L,_b,{[T]:q,[y]:429},[O],[0]];F.registerError(bj,C);var jj=[-3,L,db,{[T]:q,[y]:401},[O],[0]];F.registerError(jj,$);var kj=[g,F],wj=[0,L,Rb,8,0],Bj=[0,L,Cb,8,0],Dj=[0,L,$b,8,0],Jj=[3,L,vb,0,[gb,mb,hb],[[0,{[s]:fb}],[0,{[s]:pb}],[()=>wj,{[ab]:eb}]],3],Kj=[3,L,Pb,0,[rb],[[()=>Lj,0]]],Lj=[3,L,lb,0,[Sb,cb,tb,ub],[0,[()=>Bj,0],[()=>Dj,0],1]],Qj=[9,L,Ab,{[sb]:["GET","/federation/credentials",200]},()=>Jj,()=>Kj],Wj=(b)=>{return{apiVersion:"2019-06-10",base64Decoder:b?.base64Decoder??Z.fromBase64,base64Encoder:b?.base64Encoder??Z.toBase64,disableHostPrefix:b?.disableHostPrefix??!1,endpointProvider:b?.endpointProvider??Ob,extensions:b?.extensions??[],httpAuthSchemeProvider:b?.httpAuthSchemeProvider??zb,httpAuthSchemes:b?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(j)=>j.getIdentityProvider("aws.auth#sigv4"),signer:new E.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(j)=>j.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new V.NoAuthSigner}],logger:b?.logger??new D.NoOpLogger,protocol:b?.protocol??Yb.AwsRestJsonProtocol,protocolSettings:b?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",errorTypeRegistries:kj,version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:b?.serviceId??"SSO",urlParser:b?.urlParser??M.parseUrl,utf8Decoder:b?.utf8Decoder??Z.fromUtf8,utf8Encoder:b?.utf8Encoder??Z.toUtf8}},Xj=(b)=>{D.emitWarningIfUnsupportedVersion(process.version);let j=J.resolveDefaultsModeConfig(b),k=()=>j().then(D.loadConfigsForDefaultMode),Q=Wj(b);K.emitWarningIfUnsupportedVersion(process.version);let w={profile:b?.profile,logger:Q.logger};return{...Q,...b,runtime:"node",defaultsMode:j,authSchemePreference:b?.authSchemePreference??J.loadConfig(E.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,w),bodyLengthChecker:b?.bodyLengthChecker??Z.calculateBodyLength,defaultUserAgentProvider:b?.defaultUserAgentProvider??K.createDefaultUserAgentProvider({serviceId:Q.serviceId,clientVersion:Vb.version}),maxAttempts:b?.maxAttempts??J.loadConfig(G.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,b),region:b?.region??J.loadConfig(J.NODE_REGION_CONFIG_OPTIONS,{...J.NODE_REGION_CONFIG_FILE_OPTIONS,...w}),requestHandler:m.NodeHttpHandler.create(b?.requestHandler??k),retryMode:b?.retryMode??J.loadConfig({...G.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await k()).retryMode||G.DEFAULT_RETRY_MODE},b),sha256:b?.sha256??Z.Hash.bind(null,"sha256"),streamCollector:b?.streamCollector??m.streamCollector,useDualstackEndpoint:b?.useDualstackEndpoint??J.loadConfig(J.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,w),useFipsEndpoint:b?.useFipsEndpoint??J.loadConfig(J.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,w),userAgentAppId:b?.userAgentAppId??J.loadConfig(K.NODE_APP_ID_CONFIG_OPTIONS,w)}},Yj=(b)=>{let{httpAuthSchemes:j,httpAuthSchemeProvider:k,credentials:Q}=b;return{setHttpAuthScheme(w){let I=j.findIndex((R)=>R.schemeId===w.schemeId);if(I===-1)j.push(w);else j.splice(I,1,w)},httpAuthSchemes(){return j},setHttpAuthSchemeProvider(w){k=w},httpAuthSchemeProvider(){return k},setCredentials(w){Q=w},credentials(){return Q}}},Zj=(b)=>{return{httpAuthSchemes:b.httpAuthSchemes(),httpAuthSchemeProvider:b.httpAuthSchemeProvider(),credentials:b.credentials()}},Hj=(b,j)=>{let k=Object.assign(K.getAwsRegionExtensionConfiguration(b),D.getDefaultExtensionConfiguration(b),M.getHttpHandlerExtensionConfiguration(b),Yj(b));return j.forEach((Q)=>Q.configure(k)),Object.assign(b,K.resolveAwsRegionExtensionConfiguration(k),D.resolveDefaultRuntimeConfig(k),M.resolveHttpHandlerRuntimeConfig(k),Zj(k))};class _ extends D.Client{config;constructor(...[b]){let j=Xj(b||{});super(j);this.initConfig=j;let k=Ib(j),Q=K.resolveUserAgentConfig(k),w=G.resolveRetryConfig(Q),I=J.resolveRegionConfig(w),R=K.resolveHostHeaderConfig(I),e=H.resolveEndpointConfig(R),i=Fb(e),n=Hj(i,b?.extensions||[]);this.config=n,this.middlewareStack.use(P.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(K.getUserAgentPlugin(this.config)),this.middlewareStack.use(G.getRetryPlugin(this.config)),this.middlewareStack.use(M.getContentLengthPlugin(this.config)),this.middlewareStack.use(K.getHostHeaderPlugin(this.config)),this.middlewareStack.use(K.getLoggerPlugin(this.config)),this.middlewareStack.use(K.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(V.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Zb,identityProviderConfigProvider:async(o)=>new V.DefaultIdentityProviderConfig({"aws.auth#sigv4":o.credentials})})),this.middlewareStack.use(V.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class d extends D.Command.classBuilder().ep(Nb).m(function(b,j,k,Q){return[H.getEndpointPlugin(k,b.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").sc(Qj).build(){}var Gj={GetRoleCredentialsCommand:d};class f extends _{}D.createAggregatedClient(Gj,f);var{Command:zj,Client:Fj}=D;var c=d;var t=_;export{t as SSOClient,c as GetRoleCredentialsCommand};
2
+ import{te as Qb}from"./chunk-fnbpap62.js";import{xe as Xb}from"./chunk-37n34pzd.js";import{ye as Wb}from"./chunk-v2zp22r3.js";import{Ae as Kb,Be as Lb,ze as Jb}from"./chunk-j9pcnkkq.js";import{Ce as Db}from"./chunk-dq9kpj4a.js";import{uf as bb,vf as jb,wf as kb,xf as wb,yf as Bb}from"./chunk-cvdxgsq1.js";import"./chunk-aztre27e.js";var K=Lb(),V=Kb(),D=jb(),J=kb(),H=wb(),M=Db(),G=Jb(),P=bb(),E=Qb(),Z=Bb(),m=Wb(),Yb=Xb(),Zb=async(b,j,k)=>{return{operation:D.getSmithyContext(j).operation,region:await D.normalizeProvider(b.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};function Hb(b){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:b.region},propertiesExtractor:(j,k)=>({signingProperties:{config:j,context:k}})}}function Gb(b){return{schemeId:"smithy.api#noAuth"}}var zb=(b)=>{let j=[];switch(b.operation){case"GetRoleCredentials":{j.push(Gb());break}default:j.push(Hb(b))}return j},Fb=(b)=>{let j=E.resolveAwsSdkSigV4Config(b);return Object.assign(j,{authSchemePreference:D.normalizeProvider(b.authSchemePreference??[])})},Ib=(b)=>{return Object.assign(b,{useDualstackEndpoint:b.useDualstackEndpoint??!1,useFipsEndpoint:b.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"})},Nb={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Ub="3.997.14",Vb={version:Ub},z="ref",W=-1,N=!0,S="isSet",a="PartitionResult",U="booleanEquals",A="getAttr",h={[z]:"Endpoint"},v={[z]:a},Y={},p=[{[z]:"Region"}],u={conditions:[[S,[h]],[S,p],["aws.partition",p,a],[U,[{[z]:"UseFIPS"},N]],[U,[{[z]:"UseDualStack"},N]],[U,[{fn:A,argv:[v,"supportsDualStack"]},N]],[U,[{fn:A,argv:[v,"supportsFIPS"]},N]],["stringEquals",[{fn:A,argv:[v,"name"]},"aws-us-gov"]]],results:[[W],[W,"Invalid Configuration: FIPS and custom endpoint are not supported"],[W,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[h,Y],["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",Y],[W,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://portal.sso.{Region}.amazonaws.com",Y],["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",Y],[W,"FIPS is enabled but this partition does not support FIPS"],["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",Y],[W,"DualStack is enabled but this partition does not support DualStack"],["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",Y],[W,"Invalid Configuration: Missing Region"]]},Mb=2,B=1e8,qb=new Int32Array([-1,1,-1,0,13,3,1,4,B+12,2,5,B+12,3,8,6,4,7,B+11,5,B+9,B+10,4,11,9,6,10,B+8,7,B+6,B+7,5,12,B+5,6,B+4,B+5,3,B+1,14,4,B+2,B+3]),Tb=H.BinaryDecisionDiagram.from(qb,Mb,u.conditions,u.results),yb=new H.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Ob=(b,j={})=>{return yb.get(b,()=>H.decideEndpoint(Tb,{endpointParams:b,logger:j.logger}))};H.customEndpointFunctions.aws=K.awsEndpointFunctions;class X extends D.ServiceException{constructor(b){super(b);Object.setPrototypeOf(this,X.prototype)}}class l extends X{name="InvalidRequestException";$fault="client";constructor(b){super({name:"InvalidRequestException",$fault:"client",...b});Object.setPrototypeOf(this,l.prototype)}}class x extends X{name="ResourceNotFoundException";$fault="client";constructor(b){super({name:"ResourceNotFoundException",$fault:"client",...b});Object.setPrototypeOf(this,x.prototype)}}class C extends X{name="TooManyRequestsException";$fault="client";constructor(b){super({name:"TooManyRequestsException",$fault:"client",...b});Object.setPrototypeOf(this,C.prototype)}}class $ extends X{name="UnauthorizedException";$fault="client";constructor(b){super({name:"UnauthorizedException",$fault:"client",...b});Object.setPrototypeOf(this,$.prototype)}}var Rb="AccessTokenType",Ab="GetRoleCredentials",vb="GetRoleCredentialsRequest",Pb="GetRoleCredentialsResponse",Eb="InvalidRequestException",lb="RoleCredentials",xb="ResourceNotFoundException",Cb="SecretAccessKeyType",$b="SessionTokenType",_b="TooManyRequestsException",db="UnauthorizedException",mb="accountId",Sb="accessKeyId",hb="accessToken",pb="account_id",q="client",T="error",ub="expiration",sb="http",y="httpError",ab="httpHeader",s="httpQuery",O="message",rb="roleCredentials",gb="roleName",fb="role_name",r="smithy.ts.sdk.synthetic.com.amazonaws.sso",cb="secretAccessKey",tb="sessionToken",eb="x-amz-sso_bearer_token",L="com.amazonaws.sso",g=P.TypeRegistry.for(r),ib=[-3,r,"SSOServiceException",0,[],[]];g.registerError(ib,X);var F=P.TypeRegistry.for(L),nb=[-3,L,Eb,{[T]:q,[y]:400},[O],[0]];F.registerError(nb,l);var ob=[-3,L,xb,{[T]:q,[y]:404},[O],[0]];F.registerError(ob,x);var bj=[-3,L,_b,{[T]:q,[y]:429},[O],[0]];F.registerError(bj,C);var jj=[-3,L,db,{[T]:q,[y]:401},[O],[0]];F.registerError(jj,$);var kj=[g,F],wj=[0,L,Rb,8,0],Bj=[0,L,Cb,8,0],Dj=[0,L,$b,8,0],Jj=[3,L,vb,0,[gb,mb,hb],[[0,{[s]:fb}],[0,{[s]:pb}],[()=>wj,{[ab]:eb}]],3],Kj=[3,L,Pb,0,[rb],[[()=>Lj,0]]],Lj=[3,L,lb,0,[Sb,cb,tb,ub],[0,[()=>Bj,0],[()=>Dj,0],1]],Qj=[9,L,Ab,{[sb]:["GET","/federation/credentials",200]},()=>Jj,()=>Kj],Wj=(b)=>{return{apiVersion:"2019-06-10",base64Decoder:b?.base64Decoder??Z.fromBase64,base64Encoder:b?.base64Encoder??Z.toBase64,disableHostPrefix:b?.disableHostPrefix??!1,endpointProvider:b?.endpointProvider??Ob,extensions:b?.extensions??[],httpAuthSchemeProvider:b?.httpAuthSchemeProvider??zb,httpAuthSchemes:b?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(j)=>j.getIdentityProvider("aws.auth#sigv4"),signer:new E.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(j)=>j.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new V.NoAuthSigner}],logger:b?.logger??new D.NoOpLogger,protocol:b?.protocol??Yb.AwsRestJsonProtocol,protocolSettings:b?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",errorTypeRegistries:kj,version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:b?.serviceId??"SSO",urlParser:b?.urlParser??M.parseUrl,utf8Decoder:b?.utf8Decoder??Z.fromUtf8,utf8Encoder:b?.utf8Encoder??Z.toUtf8}},Xj=(b)=>{D.emitWarningIfUnsupportedVersion(process.version);let j=J.resolveDefaultsModeConfig(b),k=()=>j().then(D.loadConfigsForDefaultMode),Q=Wj(b);K.emitWarningIfUnsupportedVersion(process.version);let w={profile:b?.profile,logger:Q.logger};return{...Q,...b,runtime:"node",defaultsMode:j,authSchemePreference:b?.authSchemePreference??J.loadConfig(E.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,w),bodyLengthChecker:b?.bodyLengthChecker??Z.calculateBodyLength,defaultUserAgentProvider:b?.defaultUserAgentProvider??K.createDefaultUserAgentProvider({serviceId:Q.serviceId,clientVersion:Vb.version}),maxAttempts:b?.maxAttempts??J.loadConfig(G.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,b),region:b?.region??J.loadConfig(J.NODE_REGION_CONFIG_OPTIONS,{...J.NODE_REGION_CONFIG_FILE_OPTIONS,...w}),requestHandler:m.NodeHttpHandler.create(b?.requestHandler??k),retryMode:b?.retryMode??J.loadConfig({...G.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await k()).retryMode||G.DEFAULT_RETRY_MODE},b),sha256:b?.sha256??Z.Hash.bind(null,"sha256"),streamCollector:b?.streamCollector??m.streamCollector,useDualstackEndpoint:b?.useDualstackEndpoint??J.loadConfig(J.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,w),useFipsEndpoint:b?.useFipsEndpoint??J.loadConfig(J.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,w),userAgentAppId:b?.userAgentAppId??J.loadConfig(K.NODE_APP_ID_CONFIG_OPTIONS,w)}},Yj=(b)=>{let{httpAuthSchemes:j,httpAuthSchemeProvider:k,credentials:Q}=b;return{setHttpAuthScheme(w){let I=j.findIndex((R)=>R.schemeId===w.schemeId);if(I===-1)j.push(w);else j.splice(I,1,w)},httpAuthSchemes(){return j},setHttpAuthSchemeProvider(w){k=w},httpAuthSchemeProvider(){return k},setCredentials(w){Q=w},credentials(){return Q}}},Zj=(b)=>{return{httpAuthSchemes:b.httpAuthSchemes(),httpAuthSchemeProvider:b.httpAuthSchemeProvider(),credentials:b.credentials()}},Hj=(b,j)=>{let k=Object.assign(K.getAwsRegionExtensionConfiguration(b),D.getDefaultExtensionConfiguration(b),M.getHttpHandlerExtensionConfiguration(b),Yj(b));return j.forEach((Q)=>Q.configure(k)),Object.assign(b,K.resolveAwsRegionExtensionConfiguration(k),D.resolveDefaultRuntimeConfig(k),M.resolveHttpHandlerRuntimeConfig(k),Zj(k))};class _ extends D.Client{config;constructor(...[b]){let j=Xj(b||{});super(j);this.initConfig=j;let k=Ib(j),Q=K.resolveUserAgentConfig(k),w=G.resolveRetryConfig(Q),I=J.resolveRegionConfig(w),R=K.resolveHostHeaderConfig(I),e=H.resolveEndpointConfig(R),i=Fb(e),n=Hj(i,b?.extensions||[]);this.config=n,this.middlewareStack.use(P.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(K.getUserAgentPlugin(this.config)),this.middlewareStack.use(G.getRetryPlugin(this.config)),this.middlewareStack.use(M.getContentLengthPlugin(this.config)),this.middlewareStack.use(K.getHostHeaderPlugin(this.config)),this.middlewareStack.use(K.getLoggerPlugin(this.config)),this.middlewareStack.use(K.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(V.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Zb,identityProviderConfigProvider:async(o)=>new V.DefaultIdentityProviderConfig({"aws.auth#sigv4":o.credentials})})),this.middlewareStack.use(V.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class d extends D.Command.classBuilder().ep(Nb).m(function(b,j,k,Q){return[H.getEndpointPlugin(k,b.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").sc(Qj).build(){}var Gj={GetRoleCredentialsCommand:d};class f extends _{}D.createAggregatedClient(Gj,f);var{Command:zj,Client:Fj}=D;var c=d;var t=_;export{t as SSOClient,c as GetRoleCredentialsCommand};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{se as Ij}from"./chunk-zvsafnkp.js";import{we as hj}from"./chunk-5jtd006j.js";import{xe as Oj}from"./chunk-hyckncza.js";import{Ae as $j,ye as _j,ze as vj}from"./chunk-z4ae6jmb.js";import{Be as mj}from"./chunk-xak2r993.js";import{tf as Rj,uf as Pj,vf as Tj,wf as Aj,xf as Dj}from"./chunk-5ymj2q6j.js";import"./chunk-s2za1y84.js";var Z=$j(),T=vj(),X=Pj(),Y=Tj(),w=Aj(),A=mj(),G=_j(),a=Rj(),S=Ij(),U=Dj(),r=Oj(),uj=hj(),lj=async(j,B,K)=>{return{operation:X.getSmithyContext(B).operation,region:await X.normalizeProvider(j.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};function dj(j){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:j.region},propertiesExtractor:(B,K)=>({signingProperties:{config:B,context:K}})}}function Cj(j){return{schemeId:"smithy.api#noAuth"}}var Ej=(j)=>{let B=[];switch(j.operation){case"CreateToken":{B.push(Cj());break}default:B.push(dj(j))}return B},xj=(j)=>{let B=S.resolveAwsSdkSigV4Config(j);return Object.assign(B,{authSchemePreference:X.normalizeProvider(j.authSchemePreference??[])})},aj=(j)=>{return Object.assign(j,{useDualstackEndpoint:j.useDualstackEndpoint??!1,useFipsEndpoint:j.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"})},Sj={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},fj="3.997.14",gj={version:fj},k="ref",q=-1,R=!0,p="isSet",o="PartitionResult",P="booleanEquals",E="getAttr",c={[k]:"Endpoint"},x={[k]:o},z={},t=[{[k]:"Region"}],i={conditions:[[p,[c]],[p,t],["aws.partition",t,o],[P,[{[k]:"UseFIPS"},R]],[P,[{[k]:"UseDualStack"},R]],[P,[{fn:E,argv:[x,"supportsDualStack"]},R]],[P,[{fn:E,argv:[x,"supportsFIPS"]},R]],["stringEquals",[{fn:E,argv:[x,"name"]},"aws-us-gov"]]],results:[[q],[q,"Invalid Configuration: FIPS and custom endpoint are not supported"],[q,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[c,z],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",z],[q,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",z],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",z],[q,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",z],[q,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",z],[q,"Invalid Configuration: Missing Region"]]},sj=2,W=1e8,rj=new Int32Array([-1,1,-1,0,13,3,1,4,W+12,2,5,W+12,3,8,6,4,7,W+11,5,W+9,W+10,4,11,9,6,10,W+8,7,W+6,W+7,5,12,W+5,6,W+4,W+5,3,W+1,14,4,W+2,W+3]),pj=w.BinaryDecisionDiagram.from(rj,sj,i.conditions,i.results),cj=new w.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),tj=(j,B={})=>{return cj.get(j,()=>w.decideEndpoint(pj,{endpointParams:j,logger:B.logger}))};w.customEndpointFunctions.aws=Z.awsEndpointFunctions;class Q extends X.ServiceException{constructor(j){super(j);Object.setPrototypeOf(this,Q.prototype)}}class D extends Q{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(j){super({name:"AccessDeniedException",$fault:"client",...j});Object.setPrototypeOf(this,D.prototype),this.error=j.error,this.reason=j.reason,this.error_description=j.error_description}}class m extends Q{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(j){super({name:"AuthorizationPendingException",$fault:"client",...j});Object.setPrototypeOf(this,m.prototype),this.error=j.error,this.error_description=j.error_description}}class _ extends Q{name="ExpiredTokenException";$fault="client";error;error_description;constructor(j){super({name:"ExpiredTokenException",$fault:"client",...j});Object.setPrototypeOf(this,_.prototype),this.error=j.error,this.error_description=j.error_description}}class v extends Q{name="InternalServerException";$fault="server";error;error_description;constructor(j){super({name:"InternalServerException",$fault:"server",...j});Object.setPrototypeOf(this,v.prototype),this.error=j.error,this.error_description=j.error_description}}class $ extends Q{name="InvalidClientException";$fault="client";error;error_description;constructor(j){super({name:"InvalidClientException",$fault:"client",...j});Object.setPrototypeOf(this,$.prototype),this.error=j.error,this.error_description=j.error_description}}class I extends Q{name="InvalidGrantException";$fault="client";error;error_description;constructor(j){super({name:"InvalidGrantException",$fault:"client",...j});Object.setPrototypeOf(this,I.prototype),this.error=j.error,this.error_description=j.error_description}}class O extends Q{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(j){super({name:"InvalidRequestException",$fault:"client",...j});Object.setPrototypeOf(this,O.prototype),this.error=j.error,this.reason=j.reason,this.error_description=j.error_description}}class h extends Q{name="InvalidScopeException";$fault="client";error;error_description;constructor(j){super({name:"InvalidScopeException",$fault:"client",...j});Object.setPrototypeOf(this,h.prototype),this.error=j.error,this.error_description=j.error_description}}class u extends Q{name="SlowDownException";$fault="client";error;error_description;constructor(j){super({name:"SlowDownException",$fault:"client",...j});Object.setPrototypeOf(this,u.prototype),this.error=j.error,this.error_description=j.error_description}}class l extends Q{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(j){super({name:"UnauthorizedClientException",$fault:"client",...j});Object.setPrototypeOf(this,l.prototype),this.error=j.error,this.error_description=j.error_description}}class d extends Q{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(j){super({name:"UnsupportedGrantTypeException",$fault:"client",...j});Object.setPrototypeOf(this,d.prototype),this.error=j.error,this.error_description=j.error_description}}var ij="AccessDeniedException",oj="AuthorizationPendingException",ej="AccessToken",nj="ClientSecret",jB="CreateToken",BB="CreateTokenRequest",FB="CreateTokenResponse",JB="CodeVerifier",KB="ExpiredTokenException",LB="InvalidClientException",QB="InvalidGrantException",WB="InvalidRequestException",XB="InternalServerException",YB="InvalidScopeException",ZB="IdToken",NB="RefreshToken",MB="SlowDownException",bB="UnauthorizedClientException",VB="UnsupportedGrantTypeException",HB="accessToken",H="client",qB="clientId",zB="clientSecret",UB="codeVerifier",wB="code",GB="deviceCode",F="error",kB="expiresIn",b="error_description",yB="grantType",RB="http",V="httpError",PB="idToken",e="reason",n="refreshToken",TB="redirectUri",jj="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",AB="scope",DB="server",mB="tokenType",J="com.amazonaws.ssooidc",Bj=a.TypeRegistry.for(jj),Fj=[-3,jj,"SSOOIDCServiceException",0,[],[]];Bj.registerError(Fj,Q);var N=a.TypeRegistry.for(J),Jj=[-3,J,ij,{[F]:H,[V]:400},[F,e,b],[0,0,0]];N.registerError(Jj,D);var Kj=[-3,J,oj,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Kj,m);var Lj=[-3,J,KB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Lj,_);var Qj=[-3,J,XB,{[F]:DB,[V]:500},[F,b],[0,0]];N.registerError(Qj,v);var Wj=[-3,J,LB,{[F]:H,[V]:401},[F,b],[0,0]];N.registerError(Wj,$);var Xj=[-3,J,QB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Xj,I);var Yj=[-3,J,WB,{[F]:H,[V]:400},[F,e,b],[0,0,0]];N.registerError(Yj,O);var Zj=[-3,J,YB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Zj,h);var Nj=[-3,J,MB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Nj,u);var Mj=[-3,J,bB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Mj,l);var bj=[-3,J,VB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(bj,d);var Vj=[Bj,N],_B=[0,J,ej,8,0],vB=[0,J,nj,8,0],$B=[0,J,JB,8,0],IB=[0,J,ZB,8,0],Hj=[0,J,NB,8,0],qj=[3,J,BB,0,[qB,zB,yB,GB,wB,n,AB,TB,UB],[0,[()=>vB,0],0,0,0,[()=>Hj,0],64,0,[()=>$B,0]],3],zj=[3,J,FB,0,[HB,mB,kB,n,PB],[[()=>_B,0],0,1,[()=>Hj,0],[()=>IB,0]]],Uj=[9,J,jB,{[RB]:["POST","/token",200]},()=>qj,()=>zj],OB=(j)=>{return{apiVersion:"2019-06-10",base64Decoder:j?.base64Decoder??U.fromBase64,base64Encoder:j?.base64Encoder??U.toBase64,disableHostPrefix:j?.disableHostPrefix??!1,endpointProvider:j?.endpointProvider??tj,extensions:j?.extensions??[],httpAuthSchemeProvider:j?.httpAuthSchemeProvider??Ej,httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(B)=>B.getIdentityProvider("aws.auth#sigv4"),signer:new S.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(B)=>B.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new T.NoAuthSigner}],logger:j?.logger??new X.NoOpLogger,protocol:j?.protocol??uj.AwsRestJsonProtocol,protocolSettings:j?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:Vj,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:j?.serviceId??"SSO OIDC",urlParser:j?.urlParser??A.parseUrl,utf8Decoder:j?.utf8Decoder??U.fromUtf8,utf8Encoder:j?.utf8Encoder??U.toUtf8}},hB=(j)=>{X.emitWarningIfUnsupportedVersion(process.version);let B=Y.resolveDefaultsModeConfig(j),K=()=>B().then(X.loadConfigsForDefaultMode),M=OB(j);Z.emitWarningIfUnsupportedVersion(process.version);let L={profile:j?.profile,logger:M.logger};return{...M,...j,runtime:"node",defaultsMode:B,authSchemePreference:j?.authSchemePreference??Y.loadConfig(S.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,L),bodyLengthChecker:j?.bodyLengthChecker??U.calculateBodyLength,defaultUserAgentProvider:j?.defaultUserAgentProvider??Z.createDefaultUserAgentProvider({serviceId:M.serviceId,clientVersion:gj.version}),maxAttempts:j?.maxAttempts??Y.loadConfig(G.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,j),region:j?.region??Y.loadConfig(Y.NODE_REGION_CONFIG_OPTIONS,{...Y.NODE_REGION_CONFIG_FILE_OPTIONS,...L}),requestHandler:r.NodeHttpHandler.create(j?.requestHandler??K),retryMode:j?.retryMode??Y.loadConfig({...G.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await K()).retryMode||G.DEFAULT_RETRY_MODE},j),sha256:j?.sha256??U.Hash.bind(null,"sha256"),streamCollector:j?.streamCollector??r.streamCollector,useDualstackEndpoint:j?.useDualstackEndpoint??Y.loadConfig(Y.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,L),useFipsEndpoint:j?.useFipsEndpoint??Y.loadConfig(Y.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,L),userAgentAppId:j?.userAgentAppId??Y.loadConfig(Z.NODE_APP_ID_CONFIG_OPTIONS,L)}},uB=(j)=>{let{httpAuthSchemes:B,httpAuthSchemeProvider:K,credentials:M}=j;return{setHttpAuthScheme(L){let y=B.findIndex((C)=>C.schemeId===L.schemeId);if(y===-1)B.push(L);else B.splice(y,1,L)},httpAuthSchemes(){return B},setHttpAuthSchemeProvider(L){K=L},httpAuthSchemeProvider(){return K},setCredentials(L){M=L},credentials(){return M}}},lB=(j)=>{return{httpAuthSchemes:j.httpAuthSchemes(),httpAuthSchemeProvider:j.httpAuthSchemeProvider(),credentials:j.credentials()}},dB=(j,B)=>{let K=Object.assign(Z.getAwsRegionExtensionConfiguration(j),X.getDefaultExtensionConfiguration(j),A.getHttpHandlerExtensionConfiguration(j),uB(j));return B.forEach((M)=>M.configure(K)),Object.assign(j,Z.resolveAwsRegionExtensionConfiguration(K),X.resolveDefaultRuntimeConfig(K),A.resolveHttpHandlerRuntimeConfig(K),lB(K))};class f extends X.Client{config;constructor(...[j]){let B=hB(j||{});super(B);this.initConfig=B;let K=aj(B),M=Z.resolveUserAgentConfig(K),L=G.resolveRetryConfig(M),y=Y.resolveRegionConfig(L),C=Z.resolveHostHeaderConfig(y),wj=w.resolveEndpointConfig(C),Gj=xj(wj),kj=dB(Gj,j?.extensions||[]);this.config=kj,this.middlewareStack.use(a.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(Z.getUserAgentPlugin(this.config)),this.middlewareStack.use(G.getRetryPlugin(this.config)),this.middlewareStack.use(A.getContentLengthPlugin(this.config)),this.middlewareStack.use(Z.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Z.getLoggerPlugin(this.config)),this.middlewareStack.use(Z.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(T.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:lj,identityProviderConfigProvider:async(yj)=>new T.DefaultIdentityProviderConfig({"aws.auth#sigv4":yj.credentials})})),this.middlewareStack.use(T.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class g extends X.Command.classBuilder().ep(Sj).m(function(j,B,K,M){return[w.getEndpointPlugin(K,j.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(Uj).build(){}var CB={CreateTokenCommand:g};class s extends f{}X.createAggregatedClient(CB,s);var EB={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},xB={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};var{Command:aB,Client:SB}=X,fB=D,gB=Jj,sB=EB,rB=m,pB=Kj,cB=Uj,tB=g,iB=qj,oB=zj,eB=_,nB=Lj,jF=v,BF=Qj,FF=$,JF=Wj,KF=I,LF=Xj,QF=O,WF=Yj,XF=xB,YF=h,ZF=Zj,NF=s,MF=f,bF=Q,VF=Fj,HF=u,qF=Nj,zF=l,UF=Mj,wF=d,GF=bj,kF=Vj;export{kF as errorTypeRegistries,SB as __Client,GF as UnsupportedGrantTypeException$,wF as UnsupportedGrantTypeException,UF as UnauthorizedClientException$,zF as UnauthorizedClientException,qF as SlowDownException$,HF as SlowDownException,VF as SSOOIDCServiceException$,bF as SSOOIDCServiceException,MF as SSOOIDCClient,NF as SSOOIDC,ZF as InvalidScopeException$,YF as InvalidScopeException,XF as InvalidRequestExceptionReason,WF as InvalidRequestException$,QF as InvalidRequestException,LF as InvalidGrantException$,KF as InvalidGrantException,JF as InvalidClientException$,FF as InvalidClientException,BF as InternalServerException$,jF as InternalServerException,nB as ExpiredTokenException$,eB as ExpiredTokenException,oB as CreateTokenResponse$,iB as CreateTokenRequest$,tB as CreateTokenCommand,cB as CreateToken$,pB as AuthorizationPendingException$,rB as AuthorizationPendingException,sB as AccessDeniedExceptionReason,gB as AccessDeniedException$,fB as AccessDeniedException,aB as $Command};export default {get errorTypeRegistries(){return kF},get __Client(){return SB},get UnsupportedGrantTypeException$(){return GF},get UnsupportedGrantTypeException(){return wF},get UnauthorizedClientException$(){return UF},get UnauthorizedClientException(){return zF},get SlowDownException$(){return qF},get SlowDownException(){return HF},get SSOOIDCServiceException$(){return VF},get SSOOIDCServiceException(){return bF},get SSOOIDCClient(){return MF},get SSOOIDC(){return NF},get InvalidScopeException$(){return ZF},get InvalidScopeException(){return YF},get InvalidRequestExceptionReason(){return XF},get InvalidRequestException$(){return WF},get InvalidRequestException(){return QF},get InvalidGrantException$(){return LF},get InvalidGrantException(){return KF},get InvalidClientException$(){return JF},get InvalidClientException(){return FF},get InternalServerException$(){return BF},get InternalServerException(){return jF},get ExpiredTokenException$(){return nB},get ExpiredTokenException(){return eB},get CreateTokenResponse$(){return oB},get CreateTokenRequest$(){return iB},get CreateTokenCommand(){return tB},get CreateToken$(){return cB},get AuthorizationPendingException$(){return pB},get AuthorizationPendingException(){return rB},get AccessDeniedExceptionReason(){return sB},get AccessDeniedException$(){return gB},get AccessDeniedException(){return fB},get $Command(){return aB}};
2
+ import{te as Ij}from"./chunk-fnbpap62.js";import{xe as hj}from"./chunk-37n34pzd.js";import{ye as Oj}from"./chunk-v2zp22r3.js";import{Ae as vj,Be as $j,ze as _j}from"./chunk-j9pcnkkq.js";import{Ce as mj}from"./chunk-dq9kpj4a.js";import{uf as Rj,vf as Pj,wf as Tj,xf as Aj,yf as Dj}from"./chunk-cvdxgsq1.js";import"./chunk-aztre27e.js";var Z=$j(),T=vj(),X=Pj(),Y=Tj(),w=Aj(),A=mj(),G=_j(),a=Rj(),S=Ij(),U=Dj(),r=Oj(),uj=hj(),lj=async(j,B,K)=>{return{operation:X.getSmithyContext(B).operation,region:await X.normalizeProvider(j.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};function dj(j){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:j.region},propertiesExtractor:(B,K)=>({signingProperties:{config:B,context:K}})}}function Cj(j){return{schemeId:"smithy.api#noAuth"}}var Ej=(j)=>{let B=[];switch(j.operation){case"CreateToken":{B.push(Cj());break}default:B.push(dj(j))}return B},xj=(j)=>{let B=S.resolveAwsSdkSigV4Config(j);return Object.assign(B,{authSchemePreference:X.normalizeProvider(j.authSchemePreference??[])})},aj=(j)=>{return Object.assign(j,{useDualstackEndpoint:j.useDualstackEndpoint??!1,useFipsEndpoint:j.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"})},Sj={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},fj="3.997.14",gj={version:fj},k="ref",q=-1,R=!0,p="isSet",o="PartitionResult",P="booleanEquals",E="getAttr",c={[k]:"Endpoint"},x={[k]:o},z={},t=[{[k]:"Region"}],i={conditions:[[p,[c]],[p,t],["aws.partition",t,o],[P,[{[k]:"UseFIPS"},R]],[P,[{[k]:"UseDualStack"},R]],[P,[{fn:E,argv:[x,"supportsDualStack"]},R]],[P,[{fn:E,argv:[x,"supportsFIPS"]},R]],["stringEquals",[{fn:E,argv:[x,"name"]},"aws-us-gov"]]],results:[[q],[q,"Invalid Configuration: FIPS and custom endpoint are not supported"],[q,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[c,z],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",z],[q,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",z],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",z],[q,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",z],[q,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",z],[q,"Invalid Configuration: Missing Region"]]},sj=2,W=1e8,rj=new Int32Array([-1,1,-1,0,13,3,1,4,W+12,2,5,W+12,3,8,6,4,7,W+11,5,W+9,W+10,4,11,9,6,10,W+8,7,W+6,W+7,5,12,W+5,6,W+4,W+5,3,W+1,14,4,W+2,W+3]),pj=w.BinaryDecisionDiagram.from(rj,sj,i.conditions,i.results),cj=new w.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),tj=(j,B={})=>{return cj.get(j,()=>w.decideEndpoint(pj,{endpointParams:j,logger:B.logger}))};w.customEndpointFunctions.aws=Z.awsEndpointFunctions;class Q extends X.ServiceException{constructor(j){super(j);Object.setPrototypeOf(this,Q.prototype)}}class D extends Q{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(j){super({name:"AccessDeniedException",$fault:"client",...j});Object.setPrototypeOf(this,D.prototype),this.error=j.error,this.reason=j.reason,this.error_description=j.error_description}}class m extends Q{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(j){super({name:"AuthorizationPendingException",$fault:"client",...j});Object.setPrototypeOf(this,m.prototype),this.error=j.error,this.error_description=j.error_description}}class _ extends Q{name="ExpiredTokenException";$fault="client";error;error_description;constructor(j){super({name:"ExpiredTokenException",$fault:"client",...j});Object.setPrototypeOf(this,_.prototype),this.error=j.error,this.error_description=j.error_description}}class v extends Q{name="InternalServerException";$fault="server";error;error_description;constructor(j){super({name:"InternalServerException",$fault:"server",...j});Object.setPrototypeOf(this,v.prototype),this.error=j.error,this.error_description=j.error_description}}class $ extends Q{name="InvalidClientException";$fault="client";error;error_description;constructor(j){super({name:"InvalidClientException",$fault:"client",...j});Object.setPrototypeOf(this,$.prototype),this.error=j.error,this.error_description=j.error_description}}class I extends Q{name="InvalidGrantException";$fault="client";error;error_description;constructor(j){super({name:"InvalidGrantException",$fault:"client",...j});Object.setPrototypeOf(this,I.prototype),this.error=j.error,this.error_description=j.error_description}}class O extends Q{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(j){super({name:"InvalidRequestException",$fault:"client",...j});Object.setPrototypeOf(this,O.prototype),this.error=j.error,this.reason=j.reason,this.error_description=j.error_description}}class h extends Q{name="InvalidScopeException";$fault="client";error;error_description;constructor(j){super({name:"InvalidScopeException",$fault:"client",...j});Object.setPrototypeOf(this,h.prototype),this.error=j.error,this.error_description=j.error_description}}class u extends Q{name="SlowDownException";$fault="client";error;error_description;constructor(j){super({name:"SlowDownException",$fault:"client",...j});Object.setPrototypeOf(this,u.prototype),this.error=j.error,this.error_description=j.error_description}}class l extends Q{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(j){super({name:"UnauthorizedClientException",$fault:"client",...j});Object.setPrototypeOf(this,l.prototype),this.error=j.error,this.error_description=j.error_description}}class d extends Q{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(j){super({name:"UnsupportedGrantTypeException",$fault:"client",...j});Object.setPrototypeOf(this,d.prototype),this.error=j.error,this.error_description=j.error_description}}var ij="AccessDeniedException",oj="AuthorizationPendingException",ej="AccessToken",nj="ClientSecret",jB="CreateToken",BB="CreateTokenRequest",FB="CreateTokenResponse",JB="CodeVerifier",KB="ExpiredTokenException",LB="InvalidClientException",QB="InvalidGrantException",WB="InvalidRequestException",XB="InternalServerException",YB="InvalidScopeException",ZB="IdToken",NB="RefreshToken",MB="SlowDownException",bB="UnauthorizedClientException",VB="UnsupportedGrantTypeException",HB="accessToken",H="client",qB="clientId",zB="clientSecret",UB="codeVerifier",wB="code",GB="deviceCode",F="error",kB="expiresIn",b="error_description",yB="grantType",RB="http",V="httpError",PB="idToken",e="reason",n="refreshToken",TB="redirectUri",jj="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",AB="scope",DB="server",mB="tokenType",J="com.amazonaws.ssooidc",Bj=a.TypeRegistry.for(jj),Fj=[-3,jj,"SSOOIDCServiceException",0,[],[]];Bj.registerError(Fj,Q);var N=a.TypeRegistry.for(J),Jj=[-3,J,ij,{[F]:H,[V]:400},[F,e,b],[0,0,0]];N.registerError(Jj,D);var Kj=[-3,J,oj,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Kj,m);var Lj=[-3,J,KB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Lj,_);var Qj=[-3,J,XB,{[F]:DB,[V]:500},[F,b],[0,0]];N.registerError(Qj,v);var Wj=[-3,J,LB,{[F]:H,[V]:401},[F,b],[0,0]];N.registerError(Wj,$);var Xj=[-3,J,QB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Xj,I);var Yj=[-3,J,WB,{[F]:H,[V]:400},[F,e,b],[0,0,0]];N.registerError(Yj,O);var Zj=[-3,J,YB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Zj,h);var Nj=[-3,J,MB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Nj,u);var Mj=[-3,J,bB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Mj,l);var bj=[-3,J,VB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(bj,d);var Vj=[Bj,N],_B=[0,J,ej,8,0],vB=[0,J,nj,8,0],$B=[0,J,JB,8,0],IB=[0,J,ZB,8,0],Hj=[0,J,NB,8,0],qj=[3,J,BB,0,[qB,zB,yB,GB,wB,n,AB,TB,UB],[0,[()=>vB,0],0,0,0,[()=>Hj,0],64,0,[()=>$B,0]],3],zj=[3,J,FB,0,[HB,mB,kB,n,PB],[[()=>_B,0],0,1,[()=>Hj,0],[()=>IB,0]]],Uj=[9,J,jB,{[RB]:["POST","/token",200]},()=>qj,()=>zj],OB=(j)=>{return{apiVersion:"2019-06-10",base64Decoder:j?.base64Decoder??U.fromBase64,base64Encoder:j?.base64Encoder??U.toBase64,disableHostPrefix:j?.disableHostPrefix??!1,endpointProvider:j?.endpointProvider??tj,extensions:j?.extensions??[],httpAuthSchemeProvider:j?.httpAuthSchemeProvider??Ej,httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(B)=>B.getIdentityProvider("aws.auth#sigv4"),signer:new S.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(B)=>B.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new T.NoAuthSigner}],logger:j?.logger??new X.NoOpLogger,protocol:j?.protocol??uj.AwsRestJsonProtocol,protocolSettings:j?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:Vj,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:j?.serviceId??"SSO OIDC",urlParser:j?.urlParser??A.parseUrl,utf8Decoder:j?.utf8Decoder??U.fromUtf8,utf8Encoder:j?.utf8Encoder??U.toUtf8}},hB=(j)=>{X.emitWarningIfUnsupportedVersion(process.version);let B=Y.resolveDefaultsModeConfig(j),K=()=>B().then(X.loadConfigsForDefaultMode),M=OB(j);Z.emitWarningIfUnsupportedVersion(process.version);let L={profile:j?.profile,logger:M.logger};return{...M,...j,runtime:"node",defaultsMode:B,authSchemePreference:j?.authSchemePreference??Y.loadConfig(S.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,L),bodyLengthChecker:j?.bodyLengthChecker??U.calculateBodyLength,defaultUserAgentProvider:j?.defaultUserAgentProvider??Z.createDefaultUserAgentProvider({serviceId:M.serviceId,clientVersion:gj.version}),maxAttempts:j?.maxAttempts??Y.loadConfig(G.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,j),region:j?.region??Y.loadConfig(Y.NODE_REGION_CONFIG_OPTIONS,{...Y.NODE_REGION_CONFIG_FILE_OPTIONS,...L}),requestHandler:r.NodeHttpHandler.create(j?.requestHandler??K),retryMode:j?.retryMode??Y.loadConfig({...G.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await K()).retryMode||G.DEFAULT_RETRY_MODE},j),sha256:j?.sha256??U.Hash.bind(null,"sha256"),streamCollector:j?.streamCollector??r.streamCollector,useDualstackEndpoint:j?.useDualstackEndpoint??Y.loadConfig(Y.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,L),useFipsEndpoint:j?.useFipsEndpoint??Y.loadConfig(Y.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,L),userAgentAppId:j?.userAgentAppId??Y.loadConfig(Z.NODE_APP_ID_CONFIG_OPTIONS,L)}},uB=(j)=>{let{httpAuthSchemes:B,httpAuthSchemeProvider:K,credentials:M}=j;return{setHttpAuthScheme(L){let y=B.findIndex((C)=>C.schemeId===L.schemeId);if(y===-1)B.push(L);else B.splice(y,1,L)},httpAuthSchemes(){return B},setHttpAuthSchemeProvider(L){K=L},httpAuthSchemeProvider(){return K},setCredentials(L){M=L},credentials(){return M}}},lB=(j)=>{return{httpAuthSchemes:j.httpAuthSchemes(),httpAuthSchemeProvider:j.httpAuthSchemeProvider(),credentials:j.credentials()}},dB=(j,B)=>{let K=Object.assign(Z.getAwsRegionExtensionConfiguration(j),X.getDefaultExtensionConfiguration(j),A.getHttpHandlerExtensionConfiguration(j),uB(j));return B.forEach((M)=>M.configure(K)),Object.assign(j,Z.resolveAwsRegionExtensionConfiguration(K),X.resolveDefaultRuntimeConfig(K),A.resolveHttpHandlerRuntimeConfig(K),lB(K))};class f extends X.Client{config;constructor(...[j]){let B=hB(j||{});super(B);this.initConfig=B;let K=aj(B),M=Z.resolveUserAgentConfig(K),L=G.resolveRetryConfig(M),y=Y.resolveRegionConfig(L),C=Z.resolveHostHeaderConfig(y),wj=w.resolveEndpointConfig(C),Gj=xj(wj),kj=dB(Gj,j?.extensions||[]);this.config=kj,this.middlewareStack.use(a.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(Z.getUserAgentPlugin(this.config)),this.middlewareStack.use(G.getRetryPlugin(this.config)),this.middlewareStack.use(A.getContentLengthPlugin(this.config)),this.middlewareStack.use(Z.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Z.getLoggerPlugin(this.config)),this.middlewareStack.use(Z.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(T.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:lj,identityProviderConfigProvider:async(yj)=>new T.DefaultIdentityProviderConfig({"aws.auth#sigv4":yj.credentials})})),this.middlewareStack.use(T.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class g extends X.Command.classBuilder().ep(Sj).m(function(j,B,K,M){return[w.getEndpointPlugin(K,j.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(Uj).build(){}var CB={CreateTokenCommand:g};class s extends f{}X.createAggregatedClient(CB,s);var EB={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},xB={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};var{Command:aB,Client:SB}=X,fB=D,gB=Jj,sB=EB,rB=m,pB=Kj,cB=Uj,tB=g,iB=qj,oB=zj,eB=_,nB=Lj,jF=v,BF=Qj,FF=$,JF=Wj,KF=I,LF=Xj,QF=O,WF=Yj,XF=xB,YF=h,ZF=Zj,NF=s,MF=f,bF=Q,VF=Fj,HF=u,qF=Nj,zF=l,UF=Mj,wF=d,GF=bj,kF=Vj;export{kF as errorTypeRegistries,SB as __Client,GF as UnsupportedGrantTypeException$,wF as UnsupportedGrantTypeException,UF as UnauthorizedClientException$,zF as UnauthorizedClientException,qF as SlowDownException$,HF as SlowDownException,VF as SSOOIDCServiceException$,bF as SSOOIDCServiceException,MF as SSOOIDCClient,NF as SSOOIDC,ZF as InvalidScopeException$,YF as InvalidScopeException,XF as InvalidRequestExceptionReason,WF as InvalidRequestException$,QF as InvalidRequestException,LF as InvalidGrantException$,KF as InvalidGrantException,JF as InvalidClientException$,FF as InvalidClientException,BF as InternalServerException$,jF as InternalServerException,nB as ExpiredTokenException$,eB as ExpiredTokenException,oB as CreateTokenResponse$,iB as CreateTokenRequest$,tB as CreateTokenCommand,cB as CreateToken$,pB as AuthorizationPendingException$,rB as AuthorizationPendingException,sB as AccessDeniedExceptionReason,gB as AccessDeniedException$,fB as AccessDeniedException,aB as $Command};export default {get errorTypeRegistries(){return kF},get __Client(){return SB},get UnsupportedGrantTypeException$(){return GF},get UnsupportedGrantTypeException(){return wF},get UnauthorizedClientException$(){return UF},get UnauthorizedClientException(){return zF},get SlowDownException$(){return qF},get SlowDownException(){return HF},get SSOOIDCServiceException$(){return VF},get SSOOIDCServiceException(){return bF},get SSOOIDCClient(){return MF},get SSOOIDC(){return NF},get InvalidScopeException$(){return ZF},get InvalidScopeException(){return YF},get InvalidRequestExceptionReason(){return XF},get InvalidRequestException$(){return WF},get InvalidRequestException(){return QF},get InvalidGrantException$(){return LF},get InvalidGrantException(){return KF},get InvalidClientException$(){return JF},get InvalidClientException(){return FF},get InternalServerException$(){return BF},get InternalServerException(){return jF},get ExpiredTokenException$(){return nB},get ExpiredTokenException(){return eB},get CreateTokenResponse$(){return oB},get CreateTokenRequest$(){return iB},get CreateTokenCommand(){return tB},get CreateToken$(){return cB},get AuthorizationPendingException$(){return pB},get AuthorizationPendingException(){return rB},get AccessDeniedExceptionReason(){return sB},get AccessDeniedException$(){return gB},get AccessDeniedException(){return fB},get $Command(){return aB}};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{gp as a0}from"./chunk-58gp7wbg.js";import{Qr as f0,Sr as l0}from"./chunk-d2n09yvh.js";import{Qs as o0}from"./chunk-qpv4438m.js";import{Ts as T0}from"./chunk-z2q3mg73.js";import{$s as P0,Nt as C0,Pt as s,Rt as H0,St as r}from"./chunk-08y06vgt.js";import{au as a,ju as n0,pu as f,tu as S}from"./chunk-9p83me3p.js";import{vu as p}from"./chunk-48j09m6e.js";import{Zz as u0}from"./chunk-tedrfa7d.js";import{AD as R0,PF as g,SN as w,ZO as s0,_A as p0,dI as N0,iG as C,qI as J,vC as L}from"./chunk-ynfbz3sz.js";import{CP as X0,EP as i0,GP as _2}from"./chunk-s2za1y84.js";function h0(Z,Q){let z,$=()=>z??=u0.make(g.provideMerge(Q,f0.layer),{memoMap:l0});return{runSync:(X)=>$().runSync(Z.use(X)),runPromiseExit:(X,Y)=>$().runPromiseExit(Z.use(X),Y),runPromise:(X,Y)=>$().runPromise(Z.use(X),Y),runFork:(X)=>$().runFork(Z.use(X)),runCallback:(X)=>$().runCallback(Z.use(X))}}var Y0={};i0(Y0,{which:()=>w2,sanitize:()=>t0,outdated:()=>K2,layer:()=>e0,install:()=>N2,defaultLayer:()=>Z2,add:()=>F2,Service:()=>z0,Npm:()=>Y0,InstallFailedError:()=>V0});var r0=X0(o0(),1),b0=X0(a0(),1);import k from"path";import I0 from"path";import A2 from"os";import{randomUUID as D2}from"crypto";var B0;((Q0)=>{class Z extends w.TaggedErrorClass()("LockTimeoutError",{key:w.String}){}Q0.LockTimeoutError=Z;class Q extends w.TaggedErrorClass()("LockCompromisedError",{detail:w.String}){}Q0.LockCompromisedError=Q;class z extends w.TaggedErrorClass()("ReleaseError",{detail:w.String,cause:w.optional(w.Defect)}){get message(){return this.detail}}class $ extends w.TaggedErrorClass()("NotAcquired",{}){}let X=60000,Y=300000,U=100,G=2000,W=Math.max(100,Math.floor(X/3)),I=C.exponential(U,1.7).pipe(C.either(C.spaced(G)),C.jittered,C.while((j)=>j.elapsed<Y)),H=w.fromJsonString(w.Struct({token:w.String,pid:w.Number,hostname:w.String,createdAt:w.String})),q=w.decodeUnknownSync(H),R=w.encodeSync(H);class N extends R0.Service()("EffectFlock"){}Q0.Service=N;function A(){return performance.timeOrigin+performance.now()}let O=(j)=>L.getOrElse(j.mtime,()=>new Date(0)).getTime(),K=(j)=>j.reason._tag==="NotFound"||j.reason._tag==="Unknown";Q0.layer=g.effect(N,J.gen(function*(){let j=yield*s.Service,_=yield*f.Service,V=I0.join(j.state,"locks"),B=A2.hostname(),M=new Set,m=(D)=>_.stat(D).pipe(J.catchIf(K,()=>J.void),J.orDie),l=(D)=>_.remove(D,{recursive:!0}).pipe(J.ignore),d=(D)=>_.makeDirectory(D,{mode:448}).pipe(J.as(!0),J.catchIf((T)=>T.reason._tag==="AlreadyExists",()=>J.succeed(!1)),J.orDie),M0=(D,T,E,P)=>_.writeFileString(D,T,{flag:"wx"}).pipe(J.catch(()=>J.gen(function*(){return yield*l(E),yield*new Q({detail:P})}))),w0=J.fnUntraced(function*(D){let T=yield*m(D);if(T&&A()-O(T)>X)yield*l(D);return!1}),Z0=J.fnUntraced(function*(D){if(M.has(D))return;yield*_.makeDirectory(D,{recursive:!0}).pipe(J.orDie),M.add(D)}),F=J.fnUntraced(function*(D,T,E){let P=A(),h=yield*m(T);if(h)return P-O(h)>X;let $0=yield*m(E);if($0)return P-O($0)>X;let q0=yield*m(D);if(!q0)return!1;return P-O(q0)>X}),b=(D,T)=>J.gen(function*(){let E=D2(),P=I0.join(D,"meta.json"),h=I0.join(D,"heartbeat");if(!(yield*d(D))){if(!(yield*F(D,h,P)))return yield*new $;let O0=D+".breaker";if(!(yield*_.makeDirectory(O0,{mode:448}).pipe(J.as(!0),J.catchIf((V2)=>V2.reason._tag==="AlreadyExists",()=>w0(O0)),J.catchIf(K,()=>J.succeed(!1)),J.orDie)))return yield*new $;if(!(yield*J.gen(function*(){if(!(yield*F(D,h,P)))return!1;return yield*l(D),yield*d(D)}).pipe(J.ensuring(l(O0)))))return yield*new $}yield*M0(h,"",D,"heartbeat already existed");let q0=R({token:E,pid:process.pid,hostname:B,createdAt:new Date().toISOString()});return yield*M0(P,q0,D,"meta.json already existed"),{token:E,metaPath:P,heartbeatPath:h,lockDir:D}}).pipe(J.withSpan("EffectFlock.tryAcquire",{attributes:{key:T}})),U0=(D,T)=>b(D,T).pipe(J.retry({while:(E)=>E._tag==="NotAcquired",schedule:I}),J.catchTag("NotAcquired",()=>J.fail(new Z({key:T})))),i=(D)=>J.gen(function*(){let T=yield*_.readFileString(D.metaPath).pipe(J.catch((P)=>{if(K(P))return J.die(new z({detail:"metadata missing"}));return J.die(P)}));if((yield*J.try({try:()=>q(T),catch:(P)=>new z({detail:"metadata invalid",cause:P})}).pipe(J.orDie)).token!==D.token)return yield*J.die(new z({detail:"token mismatch"}));yield*l(D.lockDir)}),k0=J.fn("EffectFlock.acquire")(function*(D,T){let E=T??V;yield*Z0(E);let P=I0.join(E,C0.fast(D)+".lock"),h=yield*J.acquireRelease(U0(P,D),($0)=>i($0));yield*_.utimes(h.heartbeatPath,new Date,new Date).pipe(J.ignore,J.repeat(C.spaced(W)),J.forkScoped)}),B2=p0.dual((D)=>J.isEffect(D[0]),(D,T,E)=>J.scoped(J.gen(function*(){return yield*k0(T,E),yield*D})));return N.of({acquire:k0,withLock:B2})})),Q0.defaultLayer=Q0.layer.pipe(g.provide(f.defaultLayer),g.provide(s.layer))})(B0||={});class V0 extends w.TaggedErrorClass()("NpmInstallFailedError",{add:w.Array(w.String).pipe(w.optional),dir:w.String,cause:w.optional(w.Defect)}){}class z0 extends R0.Service()("@qitqode/Npm"){}var c0=process.platform==="win32"?new Set(["<",">",":",'"',"|","?","*"]):void 0;function t0(Z){if(!c0)return Z;return Array.from(Z,(Q)=>c0.has(Q)||Q.charCodeAt(0)<32?"_":Q).join("")}var d0=(Z,Q)=>{let z;try{let $=typeof Bun<"u"?import.meta.resolve(Z,Q):import.meta.resolve(Q);z=L.some($)}catch{z=L.none()}return{directory:Q,entrypoint:z}},e0=g.effect(z0,J.gen(function*(){let Z=yield*f.Service,Q=yield*s.Service,z=yield*s0.FileSystem,$=yield*B0.Service,X=(H)=>k.join(Q.cache,"packages",t0(H)),Y=(H)=>J.gen(function*(){yield*$.acquire(`npm-install:${H.dir}`);let{Arborist:q}=yield*J.promise(()=>import("./chunk-mg239rc3.js").then((m)=>X0(m.default,1))),R=new q({path:H.dir,binLinks:!0,progress:!1,savePrefix:"",ignoreScripts:!0});return yield*J.tryPromise({try:()=>R.reify({add:H?.add||[],save:!0,saveType:"prod"}),catch:(N)=>new V0({cause:N,add:H?.add,dir:H.dir})})}).pipe(J.withSpan("Npm.reify",{attributes:H})),U=J.fn("Npm.outdated")(function*(H,q){let R=yield*J.tryPromise({try:()=>fetch(`https://registry.npmjs.org/${H}`),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return}));if(!R||!R.ok)return!1;let A=(yield*J.tryPromise({try:()=>R.json(),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return})))?.["dist-tags"]?.latest;if(!A)return!1;if(/[\s^~*xX<>|=]/.test(q))return!b0.default.satisfies(A,q);return b0.default.lt(q,A)}),G=J.fn("Npm.add")(function*(H){let q=X(H),R=(()=>{try{return r0.default(H).name??H}catch{return H}})();if(yield*Z.existsSafe(q))return d0(R,k.join(q,"node_modules",R));let A=(yield*Y({dir:q,add:[H]})).edgesOut.values().next().value?.to;if(!A)return yield*new V0({add:[H],dir:q});return d0(A.name,A.path)},J.scoped),W=J.fn("Npm.install")(function*(H,q){if(!(yield*Z.access(H,{writable:!0}).pipe(J.as(!0),J.orElseSucceed(()=>!1))))return;let N=q?.add.map((A)=>[A.name,A.version].filter(Boolean).join("@"))??[];if(yield*J.gen(function*(){if(!(yield*Z.existsSafe(k.join(H,"node_modules"))))return yield*Y({add:N,dir:H}),!0;return!1}).pipe(J.withSpan("Npm.checkNodeModules")))return;yield*J.gen(function*(){let A=yield*Z.readJson(k.join(H,"package.json")).pipe(J.orElseSucceed(()=>({}))),O=yield*Z.readJson(k.join(H,"package-lock.json")).pipe(J.orElseSucceed(()=>({}))),K=A,y=O,v=new Set([...Object.keys(K?.dependencies||{}),...Object.keys(K?.devDependencies||{}),...Object.keys(K?.peerDependencies||{}),...Object.keys(K?.optionalDependencies||{}),...(q?.add||[]).map((V)=>V.name)]),j=y?.packages?.[""]||{},_=new Set([...Object.keys(j?.dependencies||{}),...Object.keys(j?.devDependencies||{}),...Object.keys(j?.peerDependencies||{}),...Object.keys(j?.optionalDependencies||{})]);for(let V of v)if(!_.has(V)){yield*Y({dir:H,add:N});return}}).pipe(J.withSpan("Npm.checkDirty"));return},J.scoped),I=J.fn("Npm.which")(function*(H){let q=X(H),R=k.join(q,"node_modules",".bin"),N=J.fnUntraced(function*(){let A=yield*z.readDirectory(R).pipe(J.catch(()=>J.succeed([])));if(A.length===0)return L.none();if(A.length===1)return L.some(A[0]);let O=yield*Z.readJson(k.join(q,"node_modules",H,"package.json")).pipe(J.option);if(L.isSome(O)){let K=O.value;if(K?.bin){let y=H.startsWith("@")?H.split("/")[1]:H,v=K.bin;if(typeof v==="string")return L.some(y);let j=Object.keys(v);if(j.length===1)return L.some(j[0]);return v[y]?L.some(y):L.some(j[0])}}return L.some(A[0])});return yield*J.gen(function*(){let A=yield*N();if(L.isSome(A))return L.some(k.join(R,A.value));yield*z.remove(k.join(q,"package-lock.json")).pipe(J.orElseSucceed(()=>{})),yield*G(H);let O=yield*N();if(L.isNone(O))return L.none();return L.some(k.join(R,O.value))}).pipe(J.scoped,J.orElseSucceed(()=>L.none()))});return z0.of({add:G,install:W,outdated:U,which:I})})),Z2=e0.pipe(g.provide(B0.layer),g.provide(f.layer),g.provide(s.layer),g.provide(n0.layer)),{runPromise:A0}=h0(z0,Z2);async function N2(...Z){return A0((Q)=>Q.install(...Z))}async function F2(...Z){let Q=await A0((z)=>z.add(...Z));return{directory:Q.directory,entrypoint:L.getOrUndefined(Q.entrypoint)}}async function K2(...Z){return A0((Q)=>Q.outdated(...Z))}async function w2(...Z){let Q=await A0((z)=>z.which(...Z));return L.getOrUndefined(Q)}var Q2=X0(o0(),1),D0=X0(a0(),1);import u from"path";import{fileURLToPath as _0,pathToFileURL as n}from"url";var O2=["opencode-openai-codex-auth","opencode-copilot-auth"];function _Z(Z){return O2.some((Q)=>Z.includes(Q))}function z2(Z){try{return Q2.default(Z)}catch{}}function NZ(Z){let Q=z2(Z);if(Q?.type==="alias"&&!Q.name){let z=Q.subSpec;if(z?.name){let $=!z.rawSpec||z.rawSpec==="*"?"latest":z.rawSpec;return{pkg:z.name,version:$}}}if(!Q?.name)return{pkg:Z,version:""};if(Q.raw===Q.name)return{pkg:Q.name,version:"latest"};return{pkg:Q.name,version:Q.rawSpec}}var b2=["index.ts","index.tsx","index.js","index.mjs","index.cjs"];function X2(Z){if(J2(Z))return"file";return"npm"}function L2(Z,Q){if(Z.startsWith("file://"))return _0(Z);if(u.isAbsolute(Z))return Z;return u.resolve(Q,Z)}function Y2(Z){return u.isAbsolute(Z)||/^[A-Za-z]:[\\/]/.test(Z)}function T2(Z){if(typeof Z==="string")return Z;if(!a(Z))return;for(let Q of["import","default"]){let z=Z[Q];if(typeof z==="string")return z}return}function y2(Z){let Q=Z.json.main;if(typeof Q!=="string")return;let z=Q.trim();if(!z)return;return z}function H2(Z,Q,z,$){let X=L2(Q,$.dir),Y=S.resolve($.dir),U=S.resolve(X);if(!S.contains(Y,U))throw Error(`Plugin ${Z} resolved ${z} entry outside plugin directory`);return U}function $2(Z,Q,z,$){return n(H2(Z,Q,z,$)).href}function P2(Z,Q,z){let $=z.json.exports;if(a($)){let Y=T2($[`./${Q}`]);if(Y)return $2(Z,Y,Q,z)}if(Q!=="server")return;let X=y2(z);if(!X)return;return $2(Z,X,Q,z)}function S2(Z){if(Z.startsWith("file://"))return _0(Z);if(u.isAbsolute(Z))return Z}async function L0(Z){for(let Q of b2){let z=u.join(Z,Q);if(await S.exists(z))return z}}async function m2(Z){let Q=S2(Z);if(!Q)return;if(!(await S.statAsync(Q))?.isDirectory())return;return Q}async function E2(Z,Q,z,$){let X=X2(Z),Y=$??(X==="npm"?await o(Q):await o(Q).catch(()=>{return}));if(!Y)return Q;let U=P2(Z,z,Y);if(U)return U;let G=await m2(Q);if(z==="tui"){if(X==="file"&&G){let W=await L0(G);if(W)return n(W).href}if(X==="npm")return;if(G)return;return Q}if(G&&a(Y.json.exports)){if(X==="file"){let W=await L0(G);if(W)return n(W).href}return}return Q}function J2(Z){return Z.startsWith("file://")||Z.startsWith(".")||Y2(Z)}async function v2(Z){let Q=Z.startsWith("file://")?_0(Z):Z,z=u.isAbsolute(Q)||/^[A-Za-z]:[\\/]/.test(Q)?Q:u.resolve(Q);if(!(await S.statAsync(z))?.isDirectory()){if(Z.startsWith("file://"))return Z;return n(z).href}if(await S.exists(u.join(z,"package.json")))return n(z).href;let X=await L0(z);if(X)return n(X).href;throw Error(`Plugin directory ${z} is missing package.json or index file`)}async function FZ(Z,Q,z){if(!D0.default.valid(Q)||D0.default.major(Q)===0)return;let $=z??await o(Z).catch(()=>{return});if(!$)return;let X=$.json.engines;if(!a(X))return;let Y=X.qitqode??X.opencode;if(typeof Y!=="string")return;if(!D0.default.satisfies(Q,Y))throw Error(`Plugin requires qitqode ${Y} but running ${Q}`)}async function KZ(Z){if(J2(Z))return v2(Z);let Q=z2(Z),z=Q?.name&&Q.raw===Q.name?`${Q.name}@latest`:Z;return(await Y0.add(z)).directory}async function o(Z){let Q=Z.startsWith("file://")?_0(Z):Z,$=(await S.statAsync(Q))?.isDirectory()?Q:u.dirname(Q),X=u.join($,"package.json"),Y=await S.readJson(X);return{dir:$,pkg:X,json:Y}}async function wZ(Z,Q,z){let $=X2(Z),X=$==="npm"?await o(Q):await o(Q).catch(()=>{return}),Y=await E2(Z,Q,z,X);return{spec:Z,source:$,target:Q,pkg:X,entry:Y}}function OZ(Z,Q){let z=Q.json["oc-themes"];if(z===void 0)return[];if(!Array.isArray(z))throw TypeError(`Plugin ${Z} has invalid oc-themes field`);let $=z.map((X)=>{if(typeof X!=="string")throw TypeError(`Plugin ${Z} has invalid oc-themes entry`);let Y=X.trim();if(!Y)throw TypeError(`Plugin ${Z} has empty oc-themes entry`);if(Y.startsWith("file://")||Y2(Y))throw TypeError(`Plugin ${Z} oc-themes entry must be relative: ${X}`);return H2(Z,Y,"oc-themes",Q)});return Array.from(new Set($))}function bZ(Z,Q){if(Z===void 0)return;if(typeof Z!=="string")throw TypeError(`Plugin ${Q} has invalid id type ${typeof Z}`);let z=Z.trim();if(!z)throw TypeError(`Plugin ${Q} has an empty id`);return z}function LZ(Z,Q,z,$="strict"){let X=Z.default;if(!a(X)){if($==="detect")return;throw TypeError(`Plugin ${Q} must default export an object with ${z}()`)}if($==="detect"&&!("id"in X)&&!("server"in X)&&!("tui"in X))return;let Y="server"in X?X.server:void 0,U="tui"in X?X.tui:void 0;if(Y!==void 0&&typeof Y!=="function")throw TypeError(`Plugin ${Q} has invalid server export`);if(U!==void 0&&typeof U!=="function")throw TypeError(`Plugin ${Q} has invalid tui export`);if(Y!==void 0&&U!==void 0)throw TypeError(`Plugin ${Q} must default export either server() or tui(), not both`);if(z==="server"&&Y===void 0)throw TypeError(`Plugin ${Q} must default export an object with server()`);if(z==="tui"&&U===void 0)throw TypeError(`Plugin ${Q} must default export an object with tui()`);return X}async function TZ(Z,Q,z,$,X){if(Z==="file"){if($)return $;throw TypeError(`Path plugin ${Q} must export id`)}if($)return $;let Y=X??await o(z);if(typeof Y.json.name!=="string"||!Y.json.name.trim())throw TypeError(`Plugin package ${Y.pkg} is missing name`);return Y.json.name.trim()}var S0={};i0(S0,{readFile:()=>l2,files:()=>g2,fileInDirectory:()=>f2,directories:()=>k2,claudeCommandDirectories:()=>u2,ConfigPaths:()=>S0});import y0 from"path";var W2=T0.create("ConfigJsonError",p.object({path:p.string(),message:p.string().optional()})),mZ=T0.create("ConfigInvalidError",p.object({path:p.string(),issues:p.custom().optional(),message:p.string().optional()}));var g2=N0("ConfigPaths.projectFiles")(function*(Z,Q,z){return(yield*(yield*f.Service).up({targets:[`${Z}.jsonc`,`${Z}.json`],start:Q,stop:z})).toReversed()}),k2=N0("ConfigPaths.directories")(function*(Z,Q){let z=yield*f.Service;return P0([H0.Path.config,...!r.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".qitqode"],start:Z,stop:Q}):[],...yield*z.up({targets:[".qitqode"],start:H0.Path.home,stop:H0.Path.home}),...r.QITQODE_CONFIG_DIR?[r.QITQODE_CONFIG_DIR]:[]])}),u2=N0("ConfigPaths.claudeCommandDirectories")(function*(Z,Q){if(r.QITQODE_DISABLE_CLAUDE_CODE_COMMANDS)return[];let z=yield*f.Service;return P0([y0.join(H0.Path.home,".claude"),...!r.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".claude"],start:Z,stop:Q}):[]])});function f2(Z,Q){return[y0.join(Z,`${Q}.json`),y0.join(Z,`${Q}.jsonc`)]}async function l2(Z){return S.readText(Z).catch((Q)=>{if(Q.code==="ENOENT")return;throw new W2({path:Z},{cause:Q})})}function W0(Z,Q=!1){let z=Z.length,$=0,X="",Y=0,U=16,G=0,W=0,I=0,H=0,q=0;function R(j,_){let V=0,B=0;while(V<j||!_){let M=Z.charCodeAt($);if(M>=48&&M<=57)B=B*16+M-48;else if(M>=65&&M<=70)B=B*16+M-65+10;else if(M>=97&&M<=102)B=B*16+M-97+10;else break;$++,V++}if(V<j)B=-1;return B}function N(j){$=j,X="",Y=0,U=16,q=0}function A(){let j=$;if(Z.charCodeAt($)===48)$++;else{$++;while($<Z.length&&t(Z.charCodeAt($)))$++}if($<Z.length&&Z.charCodeAt($)===46)if($++,$<Z.length&&t(Z.charCodeAt($))){$++;while($<Z.length&&t(Z.charCodeAt($)))$++}else return q=3,Z.substring(j,$);let _=$;if($<Z.length&&(Z.charCodeAt($)===69||Z.charCodeAt($)===101)){if($++,$<Z.length&&Z.charCodeAt($)===43||Z.charCodeAt($)===45)$++;if($<Z.length&&t(Z.charCodeAt($))){$++;while($<Z.length&&t(Z.charCodeAt($)))$++;_=$}else q=3}return Z.substring(j,_)}function O(){let j="",_=$;while(!0){if($>=z){j+=Z.substring(_,$),q=2;break}let V=Z.charCodeAt($);if(V===34){j+=Z.substring(_,$),$++;break}if(V===92){if(j+=Z.substring(_,$),$++,$>=z){q=2;break}switch(Z.charCodeAt($++)){case 34:j+='"';break;case 92:j+="\\";break;case 47:j+="/";break;case 98:j+="\b";break;case 102:j+="\f";break;case 110:j+=`
2
+ import{Fp as a0}from"./chunk-a1p2f16h.js";import{ns as f0,ps as l0}from"./chunk-x1rx6fm7.js";import{nt as o0}from"./chunk-j6emx6jn.js";import{qt as T0}from"./chunk-12bssxd4.js";import{ku as C0,mu as s,ou as H0,pu as r,yt as P0}from"./chunk-ebrt1me3.js";import{Iu as n0,Ou as f,Su as S,zu as a}from"./chunk-whxjkz9a.js";import{Uu as p}from"./chunk-k309zez0.js";import{wA as u0}from"./chunk-phxrg7aw.js";import{CI as N0,HG as C,PI as J,UC as L,ZD as R0,mG as g,pO as w,wP as s0,xB as p0}from"./chunk-snm5q21k.js";import{$P as X0,bQ as i0,dQ as _2}from"./chunk-aztre27e.js";function h0(Z,Q){let z,$=()=>z??=u0.make(g.provideMerge(Q,f0.layer),{memoMap:l0});return{runSync:(X)=>$().runSync(Z.use(X)),runPromiseExit:(X,Y)=>$().runPromiseExit(Z.use(X),Y),runPromise:(X,Y)=>$().runPromise(Z.use(X),Y),runFork:(X)=>$().runFork(Z.use(X)),runCallback:(X)=>$().runCallback(Z.use(X))}}var Y0={};i0(Y0,{which:()=>w2,sanitize:()=>t0,outdated:()=>K2,layer:()=>e0,install:()=>N2,defaultLayer:()=>Z2,add:()=>F2,Service:()=>z0,Npm:()=>Y0,InstallFailedError:()=>V0});var r0=X0(o0(),1),b0=X0(a0(),1);import k from"path";import I0 from"path";import A2 from"os";import{randomUUID as D2}from"crypto";var B0;((Q0)=>{class Z extends w.TaggedErrorClass()("LockTimeoutError",{key:w.String}){}Q0.LockTimeoutError=Z;class Q extends w.TaggedErrorClass()("LockCompromisedError",{detail:w.String}){}Q0.LockCompromisedError=Q;class z extends w.TaggedErrorClass()("ReleaseError",{detail:w.String,cause:w.optional(w.Defect)}){get message(){return this.detail}}class $ extends w.TaggedErrorClass()("NotAcquired",{}){}let X=60000,Y=300000,U=100,G=2000,W=Math.max(100,Math.floor(X/3)),I=C.exponential(U,1.7).pipe(C.either(C.spaced(G)),C.jittered,C.while((j)=>j.elapsed<Y)),H=w.fromJsonString(w.Struct({token:w.String,pid:w.Number,hostname:w.String,createdAt:w.String})),q=w.decodeUnknownSync(H),R=w.encodeSync(H);class N extends R0.Service()("EffectFlock"){}Q0.Service=N;function A(){return performance.timeOrigin+performance.now()}let O=(j)=>L.getOrElse(j.mtime,()=>new Date(0)).getTime(),K=(j)=>j.reason._tag==="NotFound"||j.reason._tag==="Unknown";Q0.layer=g.effect(N,J.gen(function*(){let j=yield*s.Service,_=yield*f.Service,V=I0.join(j.state,"locks"),B=A2.hostname(),M=new Set,m=(D)=>_.stat(D).pipe(J.catchIf(K,()=>J.void),J.orDie),l=(D)=>_.remove(D,{recursive:!0}).pipe(J.ignore),d=(D)=>_.makeDirectory(D,{mode:448}).pipe(J.as(!0),J.catchIf((T)=>T.reason._tag==="AlreadyExists",()=>J.succeed(!1)),J.orDie),M0=(D,T,E,P)=>_.writeFileString(D,T,{flag:"wx"}).pipe(J.catch(()=>J.gen(function*(){return yield*l(E),yield*new Q({detail:P})}))),w0=J.fnUntraced(function*(D){let T=yield*m(D);if(T&&A()-O(T)>X)yield*l(D);return!1}),Z0=J.fnUntraced(function*(D){if(M.has(D))return;yield*_.makeDirectory(D,{recursive:!0}).pipe(J.orDie),M.add(D)}),F=J.fnUntraced(function*(D,T,E){let P=A(),h=yield*m(T);if(h)return P-O(h)>X;let $0=yield*m(E);if($0)return P-O($0)>X;let q0=yield*m(D);if(!q0)return!1;return P-O(q0)>X}),b=(D,T)=>J.gen(function*(){let E=D2(),P=I0.join(D,"meta.json"),h=I0.join(D,"heartbeat");if(!(yield*d(D))){if(!(yield*F(D,h,P)))return yield*new $;let O0=D+".breaker";if(!(yield*_.makeDirectory(O0,{mode:448}).pipe(J.as(!0),J.catchIf((V2)=>V2.reason._tag==="AlreadyExists",()=>w0(O0)),J.catchIf(K,()=>J.succeed(!1)),J.orDie)))return yield*new $;if(!(yield*J.gen(function*(){if(!(yield*F(D,h,P)))return!1;return yield*l(D),yield*d(D)}).pipe(J.ensuring(l(O0)))))return yield*new $}yield*M0(h,"",D,"heartbeat already existed");let q0=R({token:E,pid:process.pid,hostname:B,createdAt:new Date().toISOString()});return yield*M0(P,q0,D,"meta.json already existed"),{token:E,metaPath:P,heartbeatPath:h,lockDir:D}}).pipe(J.withSpan("EffectFlock.tryAcquire",{attributes:{key:T}})),U0=(D,T)=>b(D,T).pipe(J.retry({while:(E)=>E._tag==="NotAcquired",schedule:I}),J.catchTag("NotAcquired",()=>J.fail(new Z({key:T})))),i=(D)=>J.gen(function*(){let T=yield*_.readFileString(D.metaPath).pipe(J.catch((P)=>{if(K(P))return J.die(new z({detail:"metadata missing"}));return J.die(P)}));if((yield*J.try({try:()=>q(T),catch:(P)=>new z({detail:"metadata invalid",cause:P})}).pipe(J.orDie)).token!==D.token)return yield*J.die(new z({detail:"token mismatch"}));yield*l(D.lockDir)}),k0=J.fn("EffectFlock.acquire")(function*(D,T){let E=T??V;yield*Z0(E);let P=I0.join(E,C0.fast(D)+".lock"),h=yield*J.acquireRelease(U0(P,D),($0)=>i($0));yield*_.utimes(h.heartbeatPath,new Date,new Date).pipe(J.ignore,J.repeat(C.spaced(W)),J.forkScoped)}),B2=p0.dual((D)=>J.isEffect(D[0]),(D,T,E)=>J.scoped(J.gen(function*(){return yield*k0(T,E),yield*D})));return N.of({acquire:k0,withLock:B2})})),Q0.defaultLayer=Q0.layer.pipe(g.provide(f.defaultLayer),g.provide(s.layer))})(B0||={});class V0 extends w.TaggedErrorClass()("NpmInstallFailedError",{add:w.Array(w.String).pipe(w.optional),dir:w.String,cause:w.optional(w.Defect)}){}class z0 extends R0.Service()("@qitqode/Npm"){}var c0=process.platform==="win32"?new Set(["<",">",":",'"',"|","?","*"]):void 0;function t0(Z){if(!c0)return Z;return Array.from(Z,(Q)=>c0.has(Q)||Q.charCodeAt(0)<32?"_":Q).join("")}var d0=(Z,Q)=>{let z;try{let $=typeof Bun<"u"?import.meta.resolve(Z,Q):import.meta.resolve(Q);z=L.some($)}catch{z=L.none()}return{directory:Q,entrypoint:z}},e0=g.effect(z0,J.gen(function*(){let Z=yield*f.Service,Q=yield*s.Service,z=yield*s0.FileSystem,$=yield*B0.Service,X=(H)=>k.join(Q.cache,"packages",t0(H)),Y=(H)=>J.gen(function*(){yield*$.acquire(`npm-install:${H.dir}`);let{Arborist:q}=yield*J.promise(()=>import("./chunk-yp0a8q29.js").then((m)=>X0(m.default,1))),R=new q({path:H.dir,binLinks:!0,progress:!1,savePrefix:"",ignoreScripts:!0});return yield*J.tryPromise({try:()=>R.reify({add:H?.add||[],save:!0,saveType:"prod"}),catch:(N)=>new V0({cause:N,add:H?.add,dir:H.dir})})}).pipe(J.withSpan("Npm.reify",{attributes:H})),U=J.fn("Npm.outdated")(function*(H,q){let R=yield*J.tryPromise({try:()=>fetch(`https://registry.npmjs.org/${H}`),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return}));if(!R||!R.ok)return!1;let A=(yield*J.tryPromise({try:()=>R.json(),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return})))?.["dist-tags"]?.latest;if(!A)return!1;if(/[\s^~*xX<>|=]/.test(q))return!b0.default.satisfies(A,q);return b0.default.lt(q,A)}),G=J.fn("Npm.add")(function*(H){let q=X(H),R=(()=>{try{return r0.default(H).name??H}catch{return H}})();if(yield*Z.existsSafe(q))return d0(R,k.join(q,"node_modules",R));let A=(yield*Y({dir:q,add:[H]})).edgesOut.values().next().value?.to;if(!A)return yield*new V0({add:[H],dir:q});return d0(A.name,A.path)},J.scoped),W=J.fn("Npm.install")(function*(H,q){if(!(yield*Z.access(H,{writable:!0}).pipe(J.as(!0),J.orElseSucceed(()=>!1))))return;let N=q?.add.map((A)=>[A.name,A.version].filter(Boolean).join("@"))??[];if(yield*J.gen(function*(){if(!(yield*Z.existsSafe(k.join(H,"node_modules"))))return yield*Y({add:N,dir:H}),!0;return!1}).pipe(J.withSpan("Npm.checkNodeModules")))return;yield*J.gen(function*(){let A=yield*Z.readJson(k.join(H,"package.json")).pipe(J.orElseSucceed(()=>({}))),O=yield*Z.readJson(k.join(H,"package-lock.json")).pipe(J.orElseSucceed(()=>({}))),K=A,y=O,v=new Set([...Object.keys(K?.dependencies||{}),...Object.keys(K?.devDependencies||{}),...Object.keys(K?.peerDependencies||{}),...Object.keys(K?.optionalDependencies||{}),...(q?.add||[]).map((V)=>V.name)]),j=y?.packages?.[""]||{},_=new Set([...Object.keys(j?.dependencies||{}),...Object.keys(j?.devDependencies||{}),...Object.keys(j?.peerDependencies||{}),...Object.keys(j?.optionalDependencies||{})]);for(let V of v)if(!_.has(V)){yield*Y({dir:H,add:N});return}}).pipe(J.withSpan("Npm.checkDirty"));return},J.scoped),I=J.fn("Npm.which")(function*(H){let q=X(H),R=k.join(q,"node_modules",".bin"),N=J.fnUntraced(function*(){let A=yield*z.readDirectory(R).pipe(J.catch(()=>J.succeed([])));if(A.length===0)return L.none();if(A.length===1)return L.some(A[0]);let O=yield*Z.readJson(k.join(q,"node_modules",H,"package.json")).pipe(J.option);if(L.isSome(O)){let K=O.value;if(K?.bin){let y=H.startsWith("@")?H.split("/")[1]:H,v=K.bin;if(typeof v==="string")return L.some(y);let j=Object.keys(v);if(j.length===1)return L.some(j[0]);return v[y]?L.some(y):L.some(j[0])}}return L.some(A[0])});return yield*J.gen(function*(){let A=yield*N();if(L.isSome(A))return L.some(k.join(R,A.value));yield*z.remove(k.join(q,"package-lock.json")).pipe(J.orElseSucceed(()=>{})),yield*G(H);let O=yield*N();if(L.isNone(O))return L.none();return L.some(k.join(R,O.value))}).pipe(J.scoped,J.orElseSucceed(()=>L.none()))});return z0.of({add:G,install:W,outdated:U,which:I})})),Z2=e0.pipe(g.provide(B0.layer),g.provide(f.layer),g.provide(s.layer),g.provide(n0.layer)),{runPromise:A0}=h0(z0,Z2);async function N2(...Z){return A0((Q)=>Q.install(...Z))}async function F2(...Z){let Q=await A0((z)=>z.add(...Z));return{directory:Q.directory,entrypoint:L.getOrUndefined(Q.entrypoint)}}async function K2(...Z){return A0((Q)=>Q.outdated(...Z))}async function w2(...Z){let Q=await A0((z)=>z.which(...Z));return L.getOrUndefined(Q)}var Q2=X0(o0(),1),D0=X0(a0(),1);import u from"path";import{fileURLToPath as _0,pathToFileURL as n}from"url";var O2=["opencode-openai-codex-auth","opencode-copilot-auth"];function _Z(Z){return O2.some((Q)=>Z.includes(Q))}function z2(Z){try{return Q2.default(Z)}catch{}}function NZ(Z){let Q=z2(Z);if(Q?.type==="alias"&&!Q.name){let z=Q.subSpec;if(z?.name){let $=!z.rawSpec||z.rawSpec==="*"?"latest":z.rawSpec;return{pkg:z.name,version:$}}}if(!Q?.name)return{pkg:Z,version:""};if(Q.raw===Q.name)return{pkg:Q.name,version:"latest"};return{pkg:Q.name,version:Q.rawSpec}}var b2=["index.ts","index.tsx","index.js","index.mjs","index.cjs"];function X2(Z){if(J2(Z))return"file";return"npm"}function L2(Z,Q){if(Z.startsWith("file://"))return _0(Z);if(u.isAbsolute(Z))return Z;return u.resolve(Q,Z)}function Y2(Z){return u.isAbsolute(Z)||/^[A-Za-z]:[\\/]/.test(Z)}function T2(Z){if(typeof Z==="string")return Z;if(!a(Z))return;for(let Q of["import","default"]){let z=Z[Q];if(typeof z==="string")return z}return}function y2(Z){let Q=Z.json.main;if(typeof Q!=="string")return;let z=Q.trim();if(!z)return;return z}function H2(Z,Q,z,$){let X=L2(Q,$.dir),Y=S.resolve($.dir),U=S.resolve(X);if(!S.contains(Y,U))throw Error(`Plugin ${Z} resolved ${z} entry outside plugin directory`);return U}function $2(Z,Q,z,$){return n(H2(Z,Q,z,$)).href}function P2(Z,Q,z){let $=z.json.exports;if(a($)){let Y=T2($[`./${Q}`]);if(Y)return $2(Z,Y,Q,z)}if(Q!=="server")return;let X=y2(z);if(!X)return;return $2(Z,X,Q,z)}function S2(Z){if(Z.startsWith("file://"))return _0(Z);if(u.isAbsolute(Z))return Z}async function L0(Z){for(let Q of b2){let z=u.join(Z,Q);if(await S.exists(z))return z}}async function m2(Z){let Q=S2(Z);if(!Q)return;if(!(await S.statAsync(Q))?.isDirectory())return;return Q}async function E2(Z,Q,z,$){let X=X2(Z),Y=$??(X==="npm"?await o(Q):await o(Q).catch(()=>{return}));if(!Y)return Q;let U=P2(Z,z,Y);if(U)return U;let G=await m2(Q);if(z==="tui"){if(X==="file"&&G){let W=await L0(G);if(W)return n(W).href}if(X==="npm")return;if(G)return;return Q}if(G&&a(Y.json.exports)){if(X==="file"){let W=await L0(G);if(W)return n(W).href}return}return Q}function J2(Z){return Z.startsWith("file://")||Z.startsWith(".")||Y2(Z)}async function v2(Z){let Q=Z.startsWith("file://")?_0(Z):Z,z=u.isAbsolute(Q)||/^[A-Za-z]:[\\/]/.test(Q)?Q:u.resolve(Q);if(!(await S.statAsync(z))?.isDirectory()){if(Z.startsWith("file://"))return Z;return n(z).href}if(await S.exists(u.join(z,"package.json")))return n(z).href;let X=await L0(z);if(X)return n(X).href;throw Error(`Plugin directory ${z} is missing package.json or index file`)}async function FZ(Z,Q,z){if(!D0.default.valid(Q)||D0.default.major(Q)===0)return;let $=z??await o(Z).catch(()=>{return});if(!$)return;let X=$.json.engines;if(!a(X))return;let Y=X.qitqode??X.opencode;if(typeof Y!=="string")return;if(!D0.default.satisfies(Q,Y))throw Error(`Plugin requires qitqode ${Y} but running ${Q}`)}async function KZ(Z){if(J2(Z))return v2(Z);let Q=z2(Z),z=Q?.name&&Q.raw===Q.name?`${Q.name}@latest`:Z;return(await Y0.add(z)).directory}async function o(Z){let Q=Z.startsWith("file://")?_0(Z):Z,$=(await S.statAsync(Q))?.isDirectory()?Q:u.dirname(Q),X=u.join($,"package.json"),Y=await S.readJson(X);return{dir:$,pkg:X,json:Y}}async function wZ(Z,Q,z){let $=X2(Z),X=$==="npm"?await o(Q):await o(Q).catch(()=>{return}),Y=await E2(Z,Q,z,X);return{spec:Z,source:$,target:Q,pkg:X,entry:Y}}function OZ(Z,Q){let z=Q.json["oc-themes"];if(z===void 0)return[];if(!Array.isArray(z))throw TypeError(`Plugin ${Z} has invalid oc-themes field`);let $=z.map((X)=>{if(typeof X!=="string")throw TypeError(`Plugin ${Z} has invalid oc-themes entry`);let Y=X.trim();if(!Y)throw TypeError(`Plugin ${Z} has empty oc-themes entry`);if(Y.startsWith("file://")||Y2(Y))throw TypeError(`Plugin ${Z} oc-themes entry must be relative: ${X}`);return H2(Z,Y,"oc-themes",Q)});return Array.from(new Set($))}function bZ(Z,Q){if(Z===void 0)return;if(typeof Z!=="string")throw TypeError(`Plugin ${Q} has invalid id type ${typeof Z}`);let z=Z.trim();if(!z)throw TypeError(`Plugin ${Q} has an empty id`);return z}function LZ(Z,Q,z,$="strict"){let X=Z.default;if(!a(X)){if($==="detect")return;throw TypeError(`Plugin ${Q} must default export an object with ${z}()`)}if($==="detect"&&!("id"in X)&&!("server"in X)&&!("tui"in X))return;let Y="server"in X?X.server:void 0,U="tui"in X?X.tui:void 0;if(Y!==void 0&&typeof Y!=="function")throw TypeError(`Plugin ${Q} has invalid server export`);if(U!==void 0&&typeof U!=="function")throw TypeError(`Plugin ${Q} has invalid tui export`);if(Y!==void 0&&U!==void 0)throw TypeError(`Plugin ${Q} must default export either server() or tui(), not both`);if(z==="server"&&Y===void 0)throw TypeError(`Plugin ${Q} must default export an object with server()`);if(z==="tui"&&U===void 0)throw TypeError(`Plugin ${Q} must default export an object with tui()`);return X}async function TZ(Z,Q,z,$,X){if(Z==="file"){if($)return $;throw TypeError(`Path plugin ${Q} must export id`)}if($)return $;let Y=X??await o(z);if(typeof Y.json.name!=="string"||!Y.json.name.trim())throw TypeError(`Plugin package ${Y.pkg} is missing name`);return Y.json.name.trim()}var S0={};i0(S0,{readFile:()=>l2,files:()=>g2,fileInDirectory:()=>f2,directories:()=>k2,claudeCommandDirectories:()=>u2,ConfigPaths:()=>S0});import y0 from"path";var W2=T0.create("ConfigJsonError",p.object({path:p.string(),message:p.string().optional()})),mZ=T0.create("ConfigInvalidError",p.object({path:p.string(),issues:p.custom().optional(),message:p.string().optional()}));var g2=N0("ConfigPaths.projectFiles")(function*(Z,Q,z){return(yield*(yield*f.Service).up({targets:[`${Z}.jsonc`,`${Z}.json`],start:Q,stop:z})).toReversed()}),k2=N0("ConfigPaths.directories")(function*(Z,Q){let z=yield*f.Service;return P0([H0.Path.config,...!r.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".qitqode"],start:Z,stop:Q}):[],...yield*z.up({targets:[".qitqode"],start:H0.Path.home,stop:H0.Path.home}),...r.QITQODE_CONFIG_DIR?[r.QITQODE_CONFIG_DIR]:[]])}),u2=N0("ConfigPaths.claudeCommandDirectories")(function*(Z,Q){if(r.QITQODE_DISABLE_CLAUDE_CODE_COMMANDS)return[];let z=yield*f.Service;return P0([y0.join(H0.Path.home,".claude"),...!r.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".claude"],start:Z,stop:Q}):[]])});function f2(Z,Q){return[y0.join(Z,`${Q}.json`),y0.join(Z,`${Q}.jsonc`)]}async function l2(Z){return S.readText(Z).catch((Q)=>{if(Q.code==="ENOENT")return;throw new W2({path:Z},{cause:Q})})}function W0(Z,Q=!1){let z=Z.length,$=0,X="",Y=0,U=16,G=0,W=0,I=0,H=0,q=0;function R(j,_){let V=0,B=0;while(V<j||!_){let M=Z.charCodeAt($);if(M>=48&&M<=57)B=B*16+M-48;else if(M>=65&&M<=70)B=B*16+M-65+10;else if(M>=97&&M<=102)B=B*16+M-97+10;else break;$++,V++}if(V<j)B=-1;return B}function N(j){$=j,X="",Y=0,U=16,q=0}function A(){let j=$;if(Z.charCodeAt($)===48)$++;else{$++;while($<Z.length&&t(Z.charCodeAt($)))$++}if($<Z.length&&Z.charCodeAt($)===46)if($++,$<Z.length&&t(Z.charCodeAt($))){$++;while($<Z.length&&t(Z.charCodeAt($)))$++}else return q=3,Z.substring(j,$);let _=$;if($<Z.length&&(Z.charCodeAt($)===69||Z.charCodeAt($)===101)){if($++,$<Z.length&&Z.charCodeAt($)===43||Z.charCodeAt($)===45)$++;if($<Z.length&&t(Z.charCodeAt($))){$++;while($<Z.length&&t(Z.charCodeAt($)))$++;_=$}else q=3}return Z.substring(j,_)}function O(){let j="",_=$;while(!0){if($>=z){j+=Z.substring(_,$),q=2;break}let V=Z.charCodeAt($);if(V===34){j+=Z.substring(_,$),$++;break}if(V===92){if(j+=Z.substring(_,$),$++,$>=z){q=2;break}switch(Z.charCodeAt($++)){case 34:j+='"';break;case 92:j+="\\";break;case 47:j+="/";break;case 98:j+="\b";break;case 102:j+="\f";break;case 110:j+=`
3
3
  `;break;case 114:j+="\r";break;case 116:j+="\t";break;case 117:let M=R(4,!0);if(M>=0)j+=String.fromCharCode(M);else q=4;break;default:q=5}_=$;continue}if(V>=0&&V<=31)if(J0(V)){j+=Z.substring(_,$),q=2;break}else q=6;$++}return j}function K(){if(X="",q=0,Y=$,W=G,H=I,$>=z)return Y=z,U=17;let j=Z.charCodeAt($);if(m0(j)){do $++,X+=String.fromCharCode(j),j=Z.charCodeAt($);while(m0(j));return U=15}if(J0(j)){if($++,X+=String.fromCharCode(j),j===13&&Z.charCodeAt($)===10)$++,X+=`
4
4
  `;return G++,I=$,U=14}switch(j){case 123:return $++,U=1;case 125:return $++,U=2;case 91:return $++,U=3;case 93:return $++,U=4;case 58:return $++,U=6;case 44:return $++,U=5;case 34:return $++,X=O(),U=10;case 47:let _=$-1;if(Z.charCodeAt($+1)===47){$+=2;while($<z){if(J0(Z.charCodeAt($)))break;$++}return X=Z.substring(_,$),U=12}if(Z.charCodeAt($+1)===42){$+=2;let V=z-1,B=!1;while($<V){let M=Z.charCodeAt($);if(M===42&&Z.charCodeAt($+1)===47){$+=2,B=!0;break}if($++,J0(M)){if(M===13&&Z.charCodeAt($)===10)$++;G++,I=$}}if(!B)$++,q=1;return X=Z.substring(_,$),U=13}return X+=String.fromCharCode(j),$++,U=16;case 45:if(X+=String.fromCharCode(j),$++,$===z||!t(Z.charCodeAt($)))return U=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return X+=A(),U=11;default:while($<z&&y(j))$++,j=Z.charCodeAt($);if(Y!==$){switch(X=Z.substring(Y,$),X){case"true":return U=8;case"false":return U=9;case"null":return U=7}return U=16}return X+=String.fromCharCode(j),$++,U=16}}function y(j){if(m0(j)||J0(j))return!1;switch(j){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function v(){let j;do j=K();while(j>=12&&j<=15);return j}return{setPosition:N,getPosition:()=>$,scan:Q?v:K,getToken:()=>U,getTokenValue:()=>X,getTokenOffset:()=>Y,getTokenLength:()=>$-Y,getTokenStartLine:()=>W,getTokenStartCharacter:()=>Y-H,getTokenError:()=>q}}function m0(Z){return Z===32||Z===9}function J0(Z){return Z===10||Z===13}function t(Z){return Z>=48&&Z<=57}var G2;(function(Z){Z[Z.lineFeed=10]="lineFeed",Z[Z.carriageReturn=13]="carriageReturn",Z[Z.space=32]="space",Z[Z._0=48]="_0",Z[Z._1=49]="_1",Z[Z._2=50]="_2",Z[Z._3=51]="_3",Z[Z._4=52]="_4",Z[Z._5=53]="_5",Z[Z._6=54]="_6",Z[Z._7=55]="_7",Z[Z._8=56]="_8",Z[Z._9=57]="_9",Z[Z.a=97]="a",Z[Z.b=98]="b",Z[Z.c=99]="c",Z[Z.d=100]="d",Z[Z.e=101]="e",Z[Z.f=102]="f",Z[Z.g=103]="g",Z[Z.h=104]="h",Z[Z.i=105]="i",Z[Z.j=106]="j",Z[Z.k=107]="k",Z[Z.l=108]="l",Z[Z.m=109]="m",Z[Z.n=110]="n",Z[Z.o=111]="o",Z[Z.p=112]="p",Z[Z.q=113]="q",Z[Z.r=114]="r",Z[Z.s=115]="s",Z[Z.t=116]="t",Z[Z.u=117]="u",Z[Z.v=118]="v",Z[Z.w=119]="w",Z[Z.x=120]="x",Z[Z.y=121]="y",Z[Z.z=122]="z",Z[Z.A=65]="A",Z[Z.B=66]="B",Z[Z.C=67]="C",Z[Z.D=68]="D",Z[Z.E=69]="E",Z[Z.F=70]="F",Z[Z.G=71]="G",Z[Z.H=72]="H",Z[Z.I=73]="I",Z[Z.J=74]="J",Z[Z.K=75]="K",Z[Z.L=76]="L",Z[Z.M=77]="M",Z[Z.N=78]="N",Z[Z.O=79]="O",Z[Z.P=80]="P",Z[Z.Q=81]="Q",Z[Z.R=82]="R",Z[Z.S=83]="S",Z[Z.T=84]="T",Z[Z.U=85]="U",Z[Z.V=86]="V",Z[Z.W=87]="W",Z[Z.X=88]="X",Z[Z.Y=89]="Y",Z[Z.Z=90]="Z",Z[Z.asterisk=42]="asterisk",Z[Z.backslash=92]="backslash",Z[Z.closeBrace=125]="closeBrace",Z[Z.closeBracket=93]="closeBracket",Z[Z.colon=58]="colon",Z[Z.comma=44]="comma",Z[Z.dot=46]="dot",Z[Z.doubleQuote=34]="doubleQuote",Z[Z.minus=45]="minus",Z[Z.openBrace=123]="openBrace",Z[Z.openBracket=91]="openBracket",Z[Z.plus=43]="plus",Z[Z.slash=47]="slash",Z[Z.formFeed=12]="formFeed",Z[Z.tab=9]="tab"})(G2||(G2={}));var x=Array(20).fill(0).map((Z,Q)=>{return" ".repeat(Q)});var E0={" ":{"\n":Array(200).fill(0).map((Z,Q)=>{return`
5
5
  `+" ".repeat(Q)}),"\r":Array(200).fill(0).map((Z,Q)=>{return"\r"+" ".repeat(Q)}),"\r\n":Array(200).fill(0).map((Z,Q)=>{return`\r
@@ -14,4 +14,4 @@ import{gp as a0}from"./chunk-58gp7wbg.js";import{Qr as f0,Sr as l0}from"./chunk-
14
14
  `}return Z&&Z.eol||`
15
15
  `}function G0(Z,Q){return`\r
16
16
  `.indexOf(Z.charAt(Q))!==-1}var j0;(function(Z){Z.DEFAULT={allowTrailingComma:!1}})(j0||(j0={}));function M2(Z,Q=[],z=j0.DEFAULT){let $=null,X=[],Y=[];function U(W){if(Array.isArray(X))X.push(W);else if($!==null)X[$]=W}return g0(Z,{onObjectBegin:()=>{let W={};U(W),Y.push(X),X=W,$=null},onObjectProperty:(W)=>{$=W},onObjectEnd:()=>{X=Y.pop()},onArrayBegin:()=>{let W=[];U(W),Y.push(X),X=W,$=null},onArrayEnd:()=>{X=Y.pop()},onLiteralValue:U,onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z),X[0]}function x0(Z,Q=[],z=j0.DEFAULT){let $={type:"array",offset:-1,length:-1,children:[],parent:void 0};function X(W){if($.type==="property")$.length=W-$.offset,$=$.parent}function Y(W){return $.children.push(W),W}g0(Z,{onObjectBegin:(W)=>{$=Y({type:"object",offset:W,length:-1,parent:$,children:[]})},onObjectProperty:(W,I,H)=>{$=Y({type:"property",offset:I,length:-1,parent:$,children:[]}),$.children.push({type:"string",value:W,offset:I,length:H,parent:$})},onObjectEnd:(W,I)=>{X(W+I),$.length=W+I-$.offset,$=$.parent,X(W+I)},onArrayBegin:(W,I)=>{$=Y({type:"array",offset:W,length:-1,parent:$,children:[]})},onArrayEnd:(W,I)=>{$.length=W+I-$.offset,$=$.parent,X(W+I)},onLiteralValue:(W,I,H)=>{Y({type:d2(W),offset:I,length:H,parent:$,value:W}),X(I+H)},onSeparator:(W,I,H)=>{if($.type==="property"){if(W===":")$.colonOffset=I;else if(W===",")X(I)}},onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z);let G=$.children[0];if(G)delete G.parent;return G}function F0(Z,Q){if(!Z)return;let z=Z;for(let $ of Q)if(typeof $==="string"){if(z.type!=="object"||!Array.isArray(z.children))return;let X=!1;for(let Y of z.children)if(Array.isArray(Y.children)&&Y.children[0].value===$&&Y.children.length===2){z=Y.children[1],X=!0;break}if(!X)return}else{let X=$;if(z.type!=="array"||X<0||!Array.isArray(z.children)||X>=z.children.length)return;z=z.children[X]}return z}function g0(Z,Q,z=j0.DEFAULT){let $=W0(Z,!1),X=[],Y=0;function U(F){return F?()=>Y===0&&F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function G(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function W(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice()):()=>!0}function I(F){return F?()=>{if(Y>0)Y++;else if(F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice())===!1)Y=1}:()=>!0}function H(F){return F?()=>{if(Y>0)Y--;if(Y===0)F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter())}:()=>!0}let q=I(Q.onObjectBegin),R=W(Q.onObjectProperty),N=H(Q.onObjectEnd),A=I(Q.onArrayBegin),O=H(Q.onArrayEnd),K=W(Q.onLiteralValue),y=G(Q.onSeparator),v=U(Q.onComment),j=G(Q.onError),_=z&&z.disallowComments,V=z&&z.allowTrailingComma;function B(){while(!0){let F=$.scan();switch($.getTokenError()){case 4:M(14);break;case 5:M(15);break;case 3:M(13);break;case 1:if(!_)M(11);break;case 2:M(12);break;case 6:M(16);break}switch(F){case 12:case 13:if(_)M(10);else v();break;case 16:M(1);break;case 15:case 14:break;default:return F}}}function M(F,b=[],U0=[]){if(j(F),b.length+U0.length>0){let i=$.getToken();while(i!==17){if(b.indexOf(i)!==-1){B();break}else if(U0.indexOf(i)!==-1)break;i=B()}}}function m(F){let b=$.getTokenValue();if(F)K(b);else R(b),X.push(b);return B(),!0}function l(){switch($.getToken()){case 11:let F=$.getTokenValue(),b=Number(F);if(isNaN(b))M(2),b=0;K(b);break;case 7:K(null);break;case 8:K(!0);break;case 9:K(!1);break;default:return!1}return B(),!0}function d(){if($.getToken()!==10)return M(3,[],[2,5]),!1;if(m(!1),$.getToken()===6){if(y(":"),B(),!Z0())M(4,[],[2,5])}else M(5,[],[2,5]);return X.pop(),!0}function M0(){q(),B();let F=!1;while($.getToken()!==2&&$.getToken()!==17){if($.getToken()===5){if(!F)M(4,[],[]);if(y(","),B(),$.getToken()===2&&V)break}else if(F)M(6,[],[]);if(!d())M(4,[],[2,5]);F=!0}if(N(),$.getToken()!==2)M(7,[2],[]);else B();return!0}function w0(){A(),B();let F=!0,b=!1;while($.getToken()!==4&&$.getToken()!==17){if($.getToken()===5){if(!b)M(4,[],[]);if(y(","),B(),$.getToken()===4&&V)break}else if(b)M(6,[],[]);if(F)X.push(0),F=!1;else X[X.length-1]++;if(!Z0())M(4,[],[4,5]);b=!0}if(O(),!F)X.pop();if($.getToken()!==4)M(8,[4],[]);else B();return!0}function Z0(){switch($.getToken()){case 3:return w0();case 1:return M0();case 10:return m(!0);default:return l()}}if(B(),$.getToken()===17){if(z.allowEmptyContent)return!0;return M(4,[],[]),!1}if(!Z0())return M(4,[],[]),!1;if($.getToken()!==17)M(9,[],[]);return!0}function d2(Z){switch(typeof Z){case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"object":{if(!Z)return"null";else if(Array.isArray(Z))return"array";return"object"}default:return"null"}}function U2(Z,Q,z,$){let X=Q.slice(),U=x0(Z,[]),G=void 0,W=void 0;while(X.length>0)if(W=X.pop(),G=F0(U,X),G===void 0&&z!==void 0)if(typeof W==="string")z={[W]:z};else z=[z];else break;if(!G){if(z===void 0)throw Error("Can not delete in empty document");return c(Z,{offset:U?U.offset:0,length:U?U.length:0,content:JSON.stringify(z)},$)}else if(G.type==="object"&&typeof W==="string"&&Array.isArray(G.children)){let I=F0(G,[W]);if(I!==void 0)if(z===void 0){if(!I.parent)throw Error("Malformed AST");let H=G.children.indexOf(I.parent),q,R=I.parent.offset+I.parent.length;if(H>0){let N=G.children[H-1];q=N.offset+N.length}else if(q=G.offset+1,G.children.length>1)R=G.children[1].offset;return c(Z,{offset:q,length:R-q,content:""},$)}else return c(Z,{offset:I.offset,length:I.length,content:JSON.stringify(z)},$);else{if(z===void 0)return[];let H=`${JSON.stringify(W)}: ${JSON.stringify(z)}`,q=$.getInsertionIndex?$.getInsertionIndex(G.children.map((N)=>N.children[0].value)):G.children.length,R;if(q>0){let N=G.children[q-1];R={offset:N.offset+N.length,length:0,content:","+H}}else if(G.children.length===0)R={offset:G.offset+1,length:0,content:H};else R={offset:G.offset+1,length:0,content:H+","};return c(Z,R,$)}}else if(G.type==="array"&&typeof W==="number"&&Array.isArray(G.children)){let I=W;if(I===-1){let H=`${JSON.stringify(z)}`,q;if(G.children.length===0)q={offset:G.offset+1,length:0,content:H};else{let R=G.children[G.children.length-1];q={offset:R.offset+R.length,length:0,content:","+H}}return c(Z,q,$)}else if(z===void 0&&G.children.length>=0){let H=W,q=G.children[H],R;if(G.children.length===1)R={offset:G.offset+1,length:G.length-2,content:""};else if(G.children.length-1===H){let N=G.children[H-1],A=N.offset+N.length,O=G.offset+G.length;R={offset:A,length:O-2-A,content:""}}else R={offset:q.offset,length:G.children[H+1].offset-q.offset,content:""};return c(Z,R,$)}else if(z!==void 0){let H,q=`${JSON.stringify(z)}`;if(!$.isArrayInsertion&&G.children.length>W){let R=G.children[W];H={offset:R.offset,length:R.length,content:q}}else if(G.children.length===0||W===0)H={offset:G.offset+1,length:0,content:G.children.length===0?q:q+","};else{let R=W>G.children.length?G.children.length:W,N=G.children[R-1];H={offset:N.offset+N.length,length:0,content:","+q}}return c(Z,H,$)}else throw Error(`Can not ${z===void 0?"remove":$.isArrayInsertion?"insert":"modify"} Array index ${I} as length is not sufficient`)}else throw Error(`Can not add ${typeof W!=="number"?"index":"property"} to parent of type ${G.type}`)}function c(Z,Q,z){if(!z.formattingOptions)return[Q];let $=K0(Z,Q),X=Q.offset,Y=Q.offset+Q.content.length;if(Q.length===0||Q.content.length===0){while(X>0&&!G0($,X-1))X--;while(Y<$.length&&!G0($,Y))Y++}let U=v0($,{offset:X,length:Y-X},{...z.formattingOptions,keepLines:!1});for(let W=U.length-1;W>=0;W--){let I=U[W];$=K0($,I),X=Math.min(X,I.offset),Y=Math.max(Y,I.offset+I.length),Y+=I.content.length-I.length}let G=Z.length-($.length-Y)-X;return[{offset:X,length:G,content:$.substring(X,Y)}]}function K0(Z,Q){return Z.substring(0,Q.offset)+Q.content+Z.substring(Q.offset+Q.length)}var q2;(function(Z){Z[Z.None=0]="None",Z[Z.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=2]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=4]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=6]="InvalidCharacter"})(q2||(q2={}));var I2;(function(Z){Z[Z.OpenBraceToken=1]="OpenBraceToken",Z[Z.CloseBraceToken=2]="CloseBraceToken",Z[Z.OpenBracketToken=3]="OpenBracketToken",Z[Z.CloseBracketToken=4]="CloseBracketToken",Z[Z.CommaToken=5]="CommaToken",Z[Z.ColonToken=6]="ColonToken",Z[Z.NullKeyword=7]="NullKeyword",Z[Z.TrueKeyword=8]="TrueKeyword",Z[Z.FalseKeyword=9]="FalseKeyword",Z[Z.StringLiteral=10]="StringLiteral",Z[Z.NumericLiteral=11]="NumericLiteral",Z[Z.LineCommentTrivia=12]="LineCommentTrivia",Z[Z.BlockCommentTrivia=13]="BlockCommentTrivia",Z[Z.LineBreakTrivia=14]="LineBreakTrivia",Z[Z.Trivia=15]="Trivia",Z[Z.Unknown=16]="Unknown",Z[Z.EOF=17]="EOF"})(I2||(I2={}));var rZ=M2;var R2;(function(Z){Z[Z.InvalidSymbol=1]="InvalidSymbol",Z[Z.InvalidNumberFormat=2]="InvalidNumberFormat",Z[Z.PropertyNameExpected=3]="PropertyNameExpected",Z[Z.ValueExpected=4]="ValueExpected",Z[Z.ColonExpected=5]="ColonExpected",Z[Z.CommaExpected=6]="CommaExpected",Z[Z.CloseBraceExpected=7]="CloseBraceExpected",Z[Z.CloseBracketExpected=8]="CloseBracketExpected",Z[Z.EndOfFileExpected=9]="EndOfFileExpected",Z[Z.InvalidCommentToken=10]="InvalidCommentToken",Z[Z.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=12]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=14]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=16]="InvalidCharacter"})(R2||(R2={}));function tZ(Z){switch(Z){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}function eZ(Z,Q,z,$){return U2(Z,Q,z,$)}function Z$(Z,Q){let z=Q.slice(0).sort((X,Y)=>{let U=X.offset-Y.offset;if(U===0)return X.length-Y.length;return U}),$=Z.length;for(let X=z.length-1;X>=0;X--){let Y=z[X];if(Y.offset+Y.length<=$)Z=K0(Z,Y);else throw Error("Overlapping edit");$=Y.offset}return Z}
17
- export{B0 as Ho,rZ as Io,tZ as Jo,eZ as Ko,Z$ as Lo,W2 as Mo,mZ as No,h0 as Oo,Y0 as Po,_Z as Qo,NZ as Ro,X2 as So,J2 as To,v2 as Uo,FZ as Vo,KZ as Wo,o as Xo,wZ as Yo,OZ as Zo,bZ as _o,LZ as $o,TZ as ap,g2 as bp,k2 as cp,f2 as dp,l2 as ep,S0 as fp};
17
+ export{B0 as ep,rZ as fp,tZ as gp,eZ as hp,Z$ as ip,W2 as jp,mZ as kp,h0 as lp,Y0 as mp,_Z as np,NZ as op,X2 as pp,J2 as qp,v2 as rp,FZ as sp,KZ as tp,o as up,wZ as vp,OZ as wp,bZ as xp,LZ as yp,TZ as zp,g2 as Ap,k2 as Bp,f2 as Cp,l2 as Dp,S0 as Ep};