@qitqode/qitqode-android-arm64 0.1.33 → 0.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. package/bundle/{chunk-x4sp99g6.js → chunk-03xppy47.js} +1 -1
  2. package/bundle/chunk-0442cmw2.js +2 -0
  3. package/bundle/{chunk-2vn41ecx.js → chunk-04hvaaje.js} +1 -1
  4. package/bundle/{chunk-6phh70sp.js → chunk-06k6egt2.js} +1 -1
  5. package/bundle/{chunk-x5trw1f5.js → chunk-085pvqr4.js} +1 -1
  6. package/bundle/{chunk-8n20thvd.js → chunk-08f4khsw.js} +2 -2
  7. package/bundle/{chunk-mk1bfzg5.js → chunk-08m0hkdz.js} +1 -1
  8. package/bundle/{chunk-kfxv5rfg.js → chunk-09pkckr1.js} +1 -1
  9. package/bundle/{chunk-6kp07m7p.js → chunk-0c6ep9mc.js} +1 -1
  10. package/bundle/{chunk-0v0vqbn5.js → chunk-0h8wdch6.js} +1 -1
  11. package/bundle/{chunk-t56r99hp.js → chunk-0msqaywp.js} +1 -1
  12. package/bundle/chunk-0x5jn813.js +2 -0
  13. package/bundle/{chunk-yphsjp71.js → chunk-11g2rpv8.js} +1 -1
  14. package/bundle/{chunk-vhe0tth1.js → chunk-11v7vz3y.js} +1 -1
  15. package/bundle/{chunk-1sgahe1s.js → chunk-1byd3wma.js} +1 -1
  16. package/bundle/{chunk-x3y2xzhn.js → chunk-1dtzxt2w.js} +1 -1
  17. package/bundle/{chunk-31qrzrwy.js → chunk-1gf116rg.js} +1 -1
  18. package/bundle/{chunk-05mce0j3.js → chunk-1me21qdc.js} +1 -1
  19. package/bundle/{chunk-rvkrgkeq.js → chunk-1pg6pv0m.js} +1 -1
  20. package/bundle/{chunk-0bbs01f0.js → chunk-1yt5rsew.js} +1 -1
  21. package/bundle/chunk-28t9akfn.js +2 -0
  22. package/bundle/{chunk-52bam8g7.js → chunk-2h1fcqvf.js} +1 -1
  23. package/bundle/{chunk-vykgpaqt.js → chunk-2kens6wh.js} +1 -1
  24. package/bundle/chunk-2scyp9ns.js +2 -0
  25. package/bundle/{chunk-hbbsbyyq.js → chunk-2swch6mx.js} +1 -1
  26. package/bundle/chunk-2tw58kwb.js +2 -0
  27. package/bundle/chunk-2vxx0tax.js +2 -0
  28. package/bundle/chunk-2ybt3p5z.js +2 -0
  29. package/bundle/chunk-2zpkw3ge.js +2 -0
  30. package/bundle/{chunk-zzv0yayn.js → chunk-31g86yn6.js} +1 -1
  31. package/bundle/{chunk-xthkjax9.js → chunk-34p46th6.js} +1 -1
  32. package/bundle/chunk-397be2x0.js +2 -0
  33. package/bundle/chunk-3c78nkgn.js +2 -0
  34. package/bundle/{chunk-g453xy7p.js → chunk-3d91q2qd.js} +1 -1
  35. package/bundle/{chunk-7xm75w1e.js → chunk-3k2b05fv.js} +1 -1
  36. package/bundle/{chunk-tvdmnee6.js → chunk-3mzcr3fw.js} +1 -1
  37. package/bundle/{chunk-enpzvmtc.js → chunk-41v0x1jk.js} +1 -1
  38. package/bundle/chunk-43yv7tz1.js +2 -0
  39. package/bundle/chunk-496ajawz.js +2 -0
  40. package/bundle/{chunk-78ymd20x.js → chunk-499gp5g5.js} +1 -1
  41. package/bundle/{chunk-ea5ph627.js → chunk-4hzm14xt.js} +1 -1
  42. package/bundle/{chunk-rzhdkkpz.js → chunk-4ttf9rjd.js} +1 -1
  43. package/bundle/{chunk-vywnd5sf.js → chunk-4wxxyrxn.js} +1 -1
  44. package/bundle/chunk-4xw14sed.js +2 -0
  45. package/bundle/chunk-536naqqv.js +2 -0
  46. package/bundle/{chunk-0h6rn479.js → chunk-54wh8b12.js} +1 -1
  47. package/bundle/chunk-57nvmhjq.js +2 -0
  48. package/bundle/{chunk-60v5jvgt.js → chunk-5a7fs1hg.js} +1 -1
  49. package/bundle/{chunk-tc18nbmn.js → chunk-5e4fxy99.js} +44 -44
  50. package/bundle/chunk-5he3d7cy.js +2 -0
  51. package/bundle/{chunk-r1zf109g.js → chunk-5qr286w8.js} +1 -1
  52. package/bundle/{chunk-srt5peec.js → chunk-606vpgc4.js} +1 -1
  53. package/bundle/{chunk-gwp17r03.js → chunk-67d5d8mr.js} +1 -1
  54. package/bundle/{chunk-gxq9vh1z.js → chunk-6a1skxcj.js} +1 -1
  55. package/bundle/{chunk-ftnadrks.js → chunk-6a77w77q.js} +1 -1
  56. package/bundle/{chunk-yek0sk2q.js → chunk-6a7c7wnf.js} +1 -1
  57. package/bundle/chunk-6cj7cn5x.js +2 -0
  58. package/bundle/{chunk-fgg9txzb.js → chunk-6gb65bv1.js} +1 -1
  59. package/bundle/{chunk-rh9vnpgr.js → chunk-6ged58yw.js} +1 -1
  60. package/bundle/chunk-6hybp2mt.js +2 -0
  61. package/bundle/{chunk-d6ry9418.js → chunk-6p94fpbn.js} +2 -2
  62. package/bundle/{chunk-xcmgkc57.js → chunk-6styp5dn.js} +1 -1
  63. package/bundle/chunk-6y423jax.js +3 -0
  64. package/bundle/{chunk-ejrhvy38.js → chunk-6ynxf3q7.js} +1 -1
  65. package/bundle/{chunk-cfgvm15x.js → chunk-71zw0qhf.js} +1 -1
  66. package/bundle/chunk-72ghkgcn.js +2 -0
  67. package/bundle/{chunk-bh53dz71.js → chunk-7311jry1.js} +1 -1
  68. package/bundle/{chunk-d07p6fpk.js → chunk-73myw3bj.js} +2 -2
  69. package/bundle/chunk-741teh8k.js +2 -0
  70. package/bundle/{chunk-10bjs581.js → chunk-79agp7v3.js} +2 -2
  71. package/bundle/chunk-7b3wx6kn.js +2 -0
  72. package/bundle/{chunk-40efytmk.js → chunk-7eexey82.js} +1 -1
  73. package/bundle/{chunk-33e9y2aw.js → chunk-7mxt5b0h.js} +1 -1
  74. package/bundle/{chunk-yjf3kyej.js → chunk-7vd91wsd.js} +1 -1
  75. package/bundle/{chunk-nv3eyyaj.js → chunk-81trveht.js} +1 -1
  76. package/bundle/{chunk-dnwefyhv.js → chunk-8762ty72.js} +1 -1
  77. package/bundle/{chunk-qc8rsn4v.js → chunk-891yevv2.js} +1 -1
  78. package/bundle/{chunk-ctpy42xe.js → chunk-8c1ypgw5.js} +1 -1
  79. package/bundle/{chunk-8qswepp2.js → chunk-8ktgy41r.js} +1 -1
  80. package/bundle/{chunk-w18xs2h5.js → chunk-8q73cjyj.js} +1 -1
  81. package/bundle/chunk-8rt63jbm.js +2 -0
  82. package/bundle/{chunk-481k3dag.js → chunk-8vg4fmg2.js} +20 -20
  83. package/bundle/chunk-8y623qdx.js +2 -0
  84. package/bundle/chunk-921vn745.js +2 -0
  85. package/bundle/chunk-945ebhte.js +2 -0
  86. package/bundle/{chunk-4jtxtkj7.js → chunk-94pcpztx.js} +2 -2
  87. package/bundle/chunk-9548cc0c.js +2 -0
  88. package/bundle/{chunk-ff8nb7b3.js → chunk-9ayxg9mq.js} +1 -1
  89. package/bundle/{chunk-a7amey9s.js → chunk-9fxkh84w.js} +1 -1
  90. package/bundle/{chunk-8hytwgwf.js → chunk-9qdr9t8c.js} +1 -1
  91. package/bundle/{chunk-gt31468k.js → chunk-9x25d115.js} +1 -1
  92. package/bundle/{chunk-s08qccxa.js → chunk-9yrypq1r.js} +1 -1
  93. package/bundle/{chunk-zs8kqdsf.js → chunk-a0rp7gh4.js} +2 -2
  94. package/bundle/chunk-a1hzeejj.js +5 -0
  95. package/bundle/{chunk-tq0239xp.js → chunk-a3a1trap.js} +1 -1
  96. package/bundle/{chunk-n9xns8by.js → chunk-a48t0g95.js} +2 -2
  97. package/bundle/{chunk-d8dsdcb3.js → chunk-a949at1c.js} +1 -1
  98. package/bundle/{chunk-n1600mnf.js → chunk-aa8hymcv.js} +1 -1
  99. package/bundle/chunk-akk84fnc.js +2 -0
  100. package/bundle/chunk-aw7j7brm.js +2 -0
  101. package/bundle/{chunk-e1w70zdn.js → chunk-axdzm75h.js} +2 -2
  102. package/bundle/{chunk-js1n8tgv.js → chunk-azhw650z.js} +1 -1
  103. package/bundle/{chunk-t8m74g39.js → chunk-b4knxpqh.js} +1 -1
  104. package/bundle/{chunk-a1kazz9r.js → chunk-b6cybdj3.js} +1 -1
  105. package/bundle/{chunk-jef04wyf.js → chunk-ba3h1pzs.js} +1 -1
  106. package/bundle/{chunk-71xz70r9.js → chunk-bbzztav6.js} +1 -1
  107. package/bundle/{chunk-dactgryw.js → chunk-bj00xk8k.js} +1 -1
  108. package/bundle/{chunk-cxnfy6qk.js → chunk-bk4phk66.js} +1 -1
  109. package/bundle/{chunk-e01wnqvc.js → chunk-bnss5dkk.js} +1 -1
  110. package/bundle/{chunk-fvzwbjh8.js → chunk-bv29k2pf.js} +1 -1
  111. package/bundle/{chunk-v1xjc3s8.js → chunk-by855es0.js} +1 -1
  112. package/bundle/{chunk-zy9w1vkc.js → chunk-c5fa8cb1.js} +1 -1
  113. package/bundle/{chunk-x9rbv6p6.js → chunk-c5pb87yf.js} +1 -1
  114. package/bundle/{chunk-ck2gfaba.js → chunk-c6vfwjg4.js} +1 -1
  115. package/bundle/{chunk-2et3wkjy.js → chunk-ca4r31we.js} +1 -1
  116. package/bundle/chunk-ckbwdrm3.js +2 -0
  117. package/bundle/{chunk-a3aqmm3x.js → chunk-cqj21rfj.js} +1 -1
  118. package/bundle/{chunk-3632wgg1.js → chunk-cs38g1bx.js} +1 -1
  119. package/bundle/{chunk-53bqcctj.js → chunk-cz3h5n1v.js} +1 -1
  120. package/bundle/{chunk-rg0mrprz.js → chunk-d00c1k9w.js} +1 -1
  121. package/bundle/{chunk-p18axz0m.js → chunk-dcndy4sr.js} +1 -1
  122. package/bundle/{chunk-e7ny0b3x.js → chunk-dctj3c22.js} +1 -1
  123. package/bundle/{chunk-vvxmwyrw.js → chunk-df2aswz3.js} +1 -1
  124. package/bundle/{chunk-skqbaadf.js → chunk-dffhkd30.js} +1 -1
  125. package/bundle/chunk-dhc6e1t7.js +2 -0
  126. package/bundle/{chunk-pe29yy6s.js → chunk-dhqaqeq6.js} +1 -1
  127. package/bundle/chunk-dk6rbqvp.js +2 -0
  128. package/bundle/{chunk-te47zdxd.js → chunk-dk975etf.js} +2 -2
  129. package/bundle/chunk-dwajajaq.js +2 -0
  130. package/bundle/{chunk-dryzt12j.js → chunk-dxcrggvq.js} +1 -1
  131. package/bundle/chunk-dyt3n3fe.js +2 -0
  132. package/bundle/{chunk-fn9h4ync.js → chunk-dyv2hqvc.js} +1 -1
  133. package/bundle/{chunk-93p131d5.js → chunk-e6xnynaz.js} +1 -1
  134. package/bundle/{chunk-wefez1gt.js → chunk-e74efvj2.js} +6 -6
  135. package/bundle/chunk-e7ah0e61.js +2 -0
  136. package/bundle/{chunk-tqj69nh6.js → chunk-e7v9trve.js} +2 -2
  137. package/bundle/chunk-e8ws454m.js +2 -0
  138. package/bundle/{chunk-chpr8ekb.js → chunk-ebcdxmdd.js} +1 -1
  139. package/bundle/{chunk-zw815d68.js → chunk-ee23d2nz.js} +2 -2
  140. package/bundle/chunk-efndtzby.js +2 -0
  141. package/bundle/{chunk-gb00fh4z.js → chunk-egn55fa2.js} +3 -3
  142. package/bundle/chunk-eq2pepce.js +2 -0
  143. package/bundle/{chunk-rryytkmg.js → chunk-er38zew1.js} +2 -2
  144. package/bundle/{chunk-mpkvpn2y.js → chunk-eva3nqqb.js} +2 -2
  145. package/bundle/{chunk-s2x0rqj4.js → chunk-exmw8jfa.js} +1 -1
  146. package/bundle/{chunk-famryv52.js → chunk-f3bnn9rf.js} +2 -2
  147. package/bundle/chunk-f693s9vn.js +2 -0
  148. package/bundle/{chunk-0dt0bxz6.js → chunk-fg35hwa0.js} +2 -2
  149. package/bundle/{chunk-ktzq4ha1.js → chunk-fmq0m4k5.js} +1 -1
  150. package/bundle/chunk-ftepqwyq.js +2 -0
  151. package/bundle/chunk-g18ax6yp.js +2 -0
  152. package/bundle/{chunk-jh0bw59r.js → chunk-g4gjz7sq.js} +1 -1
  153. package/bundle/{chunk-g5rabwre.js → chunk-g6cyhxwg.js} +2 -2
  154. package/bundle/chunk-gadyp6mb.js +2 -0
  155. package/bundle/{chunk-q6pn67ps.js → chunk-gckgaqqr.js} +1 -1
  156. package/bundle/{chunk-fgzk49cr.js → chunk-ge8315te.js} +1 -1
  157. package/bundle/{chunk-a1wdeapb.js → chunk-ggydr1ze.js} +1 -1
  158. package/bundle/chunk-gk28ffhg.js +2 -0
  159. package/bundle/{chunk-c11d28qn.js → chunk-gmzrvxnv.js} +2 -2
  160. package/bundle/chunk-gpfc4z4v.js +2 -0
  161. package/bundle/chunk-gqvg02zp.js +2 -0
  162. package/bundle/chunk-gsyt2sv7.js +2 -0
  163. package/bundle/{chunk-3c6p8tm3.js → chunk-gws1rn1v.js} +1 -1
  164. package/bundle/{chunk-hnzegjgv.js → chunk-gy0wm7e1.js} +1 -1
  165. package/bundle/{chunk-pp2eqkse.js → chunk-h3k1dk9m.js} +1 -1
  166. package/bundle/chunk-h8c3dcqt.js +2 -0
  167. package/bundle/chunk-hfq11w4h.js +2 -0
  168. package/bundle/{chunk-01my2y0c.js → chunk-hj3ddt53.js} +1 -1
  169. package/bundle/{chunk-rzt0ge3t.js → chunk-hv6eccx1.js} +4 -4
  170. package/bundle/{chunk-ay8emwym.js → chunk-hw5qyht3.js} +1 -1
  171. package/bundle/chunk-hwf58w1k.js +2 -0
  172. package/bundle/{chunk-kq6b222y.js → chunk-jgjnz82k.js} +1 -1
  173. package/bundle/{chunk-wfb608qf.js → chunk-jkh6eg7d.js} +3 -3
  174. package/bundle/{chunk-5gmjtmc4.js → chunk-jyczz3yh.js} +2 -2
  175. package/bundle/{chunk-np50azpb.js → chunk-k8k8z6b7.js} +2 -2
  176. package/bundle/{chunk-6hpgb8h4.js → chunk-ke7n9t5p.js} +3 -3
  177. package/bundle/{chunk-vcw00k0n.js → chunk-keveg5gx.js} +2 -2
  178. package/bundle/{chunk-dxpj0cxh.js → chunk-kfmz2p27.js} +2 -2
  179. package/bundle/{chunk-xm7wascx.js → chunk-kjyw00jp.js} +1 -1
  180. package/bundle/chunk-kk3ve911.js +2 -0
  181. package/bundle/{chunk-gsar6xda.js → chunk-kmcsz8yv.js} +1 -1
  182. package/bundle/{chunk-4cnwn1rh.js → chunk-kv72hxkp.js} +2 -2
  183. package/bundle/{chunk-kj20f048.js → chunk-kwx9ewe0.js} +1 -1
  184. package/bundle/chunk-m4j7jyrd.js +3 -0
  185. package/bundle/{chunk-5hw6xa49.js → chunk-md8161zd.js} +1 -1
  186. package/bundle/{chunk-xzrb857v.js → chunk-mex0fe9s.js} +1 -1
  187. package/bundle/{chunk-ctaze2hn.js → chunk-mf3sm0pk.js} +1 -1
  188. package/bundle/chunk-mkng9ykt.js +2 -0
  189. package/bundle/{chunk-mzs2pjyc.js → chunk-mpygdb5a.js} +2 -2
  190. package/bundle/{chunk-81qwdg5s.js → chunk-mq6jn47r.js} +1 -1
  191. package/bundle/{chunk-yp8wyzzm.js → chunk-mr8j7rc6.js} +1 -1
  192. package/bundle/{chunk-48nm6v8b.js → chunk-mxvypy3s.js} +1 -1
  193. package/bundle/chunk-n5ypgxrn.js +28 -0
  194. package/bundle/{chunk-h4j5xzc8.js → chunk-n6gtdx5h.js} +1 -1
  195. package/bundle/{chunk-h2afsbm1.js → chunk-n6msxne8.js} +1 -1
  196. package/bundle/{chunk-jbx3s7nw.js → chunk-n96tvjgj.js} +2 -2
  197. package/bundle/{chunk-ftas05da.js → chunk-n9xw9kqc.js} +1 -1
  198. package/bundle/{chunk-v7w4nfn7.js → chunk-nc4wbc89.js} +1 -1
  199. package/bundle/{chunk-9f1z9xce.js → chunk-ngccf7ga.js} +1 -1
  200. package/bundle/{chunk-2bn2b29j.js → chunk-ngk67rt3.js} +1 -1
  201. package/bundle/{chunk-0t4324w5.js → chunk-nj2bbtmx.js} +1 -1
  202. package/bundle/chunk-nj4d554m.js +11 -0
  203. package/bundle/{chunk-dynv30gm.js → chunk-nj61v4n7.js} +1 -1
  204. package/bundle/{chunk-12vef2pr.js → chunk-nkk4fyqf.js} +1 -1
  205. package/bundle/{chunk-gbpvs0fx.js → chunk-nmehsm3w.js} +1 -1
  206. package/bundle/chunk-nr1g57b2.js +2 -0
  207. package/bundle/chunk-p0ahbpxv.js +2 -0
  208. package/bundle/{chunk-73e409hd.js → chunk-p3qkexpk.js} +1 -1
  209. package/bundle/chunk-p7y8z5rd.js +2 -0
  210. package/bundle/{chunk-yhbcbjfk.js → chunk-p825vsjy.js} +1 -1
  211. package/bundle/{chunk-rbk8seme.js → chunk-p9cnzxb8.js} +1 -1
  212. package/bundle/{chunk-15hw2z9t.js → chunk-pkc4ddw1.js} +1 -1
  213. package/bundle/{chunk-1gx18dm5.js → chunk-prh3c44x.js} +1 -1
  214. package/bundle/chunk-pt26gerr.js +2 -0
  215. package/bundle/{chunk-zscer8rc.js → chunk-pxmhe36r.js} +1 -1
  216. package/bundle/{chunk-g7ccdh7r.js → chunk-q8hd01j7.js} +1 -1
  217. package/bundle/{chunk-e10py6yr.js → chunk-qa2j0qmy.js} +1 -1
  218. package/bundle/{chunk-g10d6x57.js → chunk-qddt2gcs.js} +1 -1
  219. package/bundle/{chunk-y3b4k38p.js → chunk-qg2vk5fw.js} +1 -1
  220. package/bundle/{chunk-7z5jh4ra.js → chunk-qkjdr337.js} +1 -1
  221. package/bundle/chunk-qkk1as5n.js +2 -0
  222. package/bundle/{chunk-5q4harvc.js → chunk-qrtc3etn.js} +2 -2
  223. package/bundle/chunk-qsm9xw87.js +2 -0
  224. package/bundle/chunk-qw980y8h.js +2 -0
  225. package/bundle/{chunk-7avcnwv8.js → chunk-qzj6027k.js} +1 -1
  226. package/bundle/{chunk-70ck4v3t.js → chunk-r0k21apr.js} +1 -1
  227. package/bundle/chunk-r2w3gr8d.js +2 -0
  228. package/bundle/chunk-r5bqcpkz.js +2 -0
  229. package/bundle/chunk-r67c858b.js +2 -0
  230. package/bundle/chunk-r9fvfkee.js +2 -0
  231. package/bundle/chunk-rcn0dhbj.js +2 -0
  232. package/bundle/{chunk-69nzndk7.js → chunk-rkwrjphh.js} +1 -1
  233. package/bundle/{chunk-0mx2psfc.js → chunk-rmve21dh.js} +1 -1
  234. package/bundle/chunk-rq47pn3r.js +2 -0
  235. package/bundle/{chunk-b8gjz6bk.js → chunk-rq4w0by4.js} +1 -1
  236. package/bundle/{chunk-jrqb0jwy.js → chunk-rsszcqxd.js} +1 -1
  237. package/bundle/{chunk-xvwvd4kq.js → chunk-rv1stdvb.js} +1 -1
  238. package/bundle/chunk-rvt1tdy8.js +2 -0
  239. package/bundle/{chunk-3bxg5bta.js → chunk-ry7q8xn6.js} +1 -1
  240. package/bundle/{chunk-rjd8gbs5.js → chunk-ryfqwsft.js} +1 -1
  241. package/bundle/chunk-s27xvrft.js +2 -0
  242. package/bundle/{chunk-p9qfbr02.js → chunk-s4qtphwx.js} +1 -1
  243. package/bundle/{chunk-4fgzp2zd.js → chunk-s5nde2kd.js} +1 -1
  244. package/bundle/{chunk-qrsveve6.js → chunk-s8hq6trz.js} +1 -1
  245. package/bundle/chunk-scy39p6q.js +2 -0
  246. package/bundle/{chunk-71sjjjr8.js → chunk-seghf5fc.js} +1 -1
  247. package/bundle/{chunk-2zq4k837.js → chunk-sfes6pp1.js} +1 -1
  248. package/bundle/{chunk-qn6gdhns.js → chunk-sjw56r2n.js} +2 -2
  249. package/bundle/{chunk-htz93dsd.js → chunk-snr44en9.js} +2 -2
  250. package/bundle/{chunk-pfyhg0m7.js → chunk-srpe3v8e.js} +1 -1
  251. package/bundle/{chunk-cphrgyp6.js → chunk-ssk8tkwd.js} +1 -1
  252. package/bundle/{chunk-ccmbckek.js → chunk-st5jaszz.js} +1 -1
  253. package/bundle/{chunk-mrt1z4m8.js → chunk-t2vm08v6.js} +1 -1
  254. package/bundle/{chunk-vrc0h1q7.js → chunk-t3eymzg1.js} +1 -1
  255. package/bundle/{chunk-yv0xrnn9.js → chunk-t5qamf96.js} +1 -1
  256. package/bundle/{chunk-xn70ep9n.js → chunk-tbgczapt.js} +1 -1
  257. package/bundle/chunk-tns5x4w0.js +3 -0
  258. package/bundle/chunk-ttevj0pj.js +2 -0
  259. package/bundle/{chunk-rvfvk2ty.js → chunk-txbwmwxj.js} +1 -1
  260. package/bundle/chunk-v7c54cyj.js +2 -0
  261. package/bundle/chunk-vgefaens.js +2 -0
  262. package/bundle/{chunk-24jg9d61.js → chunk-vsr8mnj6.js} +1 -1
  263. package/bundle/{chunk-6d5rrre9.js → chunk-vszbqv24.js} +1 -1
  264. package/bundle/chunk-vv59b4re.js +2 -0
  265. package/bundle/chunk-vwqy7n3g.js +2 -0
  266. package/bundle/{chunk-n6wt9m2k.js → chunk-vysa9hp4.js} +1 -1
  267. package/bundle/{chunk-a1g7jr3r.js → chunk-w1n4rf6n.js} +1 -1
  268. package/bundle/{chunk-gagtmjmp.js → chunk-wfd5h6ax.js} +2 -2
  269. package/bundle/{chunk-ht5w06x7.js → chunk-wgk7ynt3.js} +2 -2
  270. package/bundle/chunk-wn076jwj.js +2 -0
  271. package/bundle/{chunk-35xk4g91.js → chunk-wvf5q2hz.js} +1 -1
  272. package/bundle/chunk-x0m1qye9.js +2 -0
  273. package/bundle/{chunk-p62gb4wj.js → chunk-x66ycpfs.js} +1 -1
  274. package/bundle/{chunk-48ge2ryx.js → chunk-xgr6jnd6.js} +1 -1
  275. package/bundle/{chunk-2hc5z7b5.js → chunk-xqdrr7xg.js} +1 -1
  276. package/bundle/{chunk-bnap670d.js → chunk-xvntsbb1.js} +1 -1
  277. package/bundle/{chunk-ss2ms1r3.js → chunk-y437vyza.js} +1 -1
  278. package/bundle/chunk-y70aachh.js +2 -0
  279. package/bundle/{chunk-db405hjg.js → chunk-y9zstzed.js} +1 -1
  280. package/bundle/{chunk-pp6vhqrr.js → chunk-yjk6zv2z.js} +1 -1
  281. package/bundle/{chunk-326p5b10.js → chunk-yk97q51d.js} +1 -1
  282. package/bundle/{chunk-kf167jw7.js → chunk-ynwkr3yh.js} +1 -1
  283. package/bundle/{chunk-9bzhxenb.js → chunk-yprmd5b7.js} +2 -2
  284. package/bundle/{chunk-y9q0hb7b.js → chunk-yqk58hf6.js} +2 -2
  285. package/bundle/chunk-ysgxt83y.js +2 -0
  286. package/bundle/{chunk-tt30dybd.js → chunk-yz6898wy.js} +1 -1
  287. package/bundle/{chunk-x562b0xk.js → chunk-z1ay3qd0.js} +1 -1
  288. package/bundle/{chunk-9emq67vc.js → chunk-z7430qxg.js} +1 -1
  289. package/bundle/{chunk-2maqde7w.js → chunk-z8gdmvgg.js} +2 -2
  290. package/bundle/{chunk-3bssxmtg.js → chunk-zddknkw7.js} +1 -1
  291. package/bundle/chunk-ze9e6nt3.js +3 -0
  292. package/bundle/{chunk-vxyy2dp3.js → chunk-zfcp509b.js} +1 -1
  293. package/bundle/{chunk-x7k5yeey.js → chunk-zfn0z4sh.js} +1 -1
  294. package/bundle/{chunk-ag8kz1e7.js → chunk-zh3fny3z.js} +2 -2
  295. package/bundle/{chunk-9k6hz80e.js → chunk-znzan00b.js} +1 -1
  296. package/bundle/chunk-zrp55k47.js +2 -0
  297. package/bundle/chunk-zwdnh860.js +2 -0
  298. package/bundle/{chunk-1vb79bw1.js → chunk-zwnhf4z1.js} +1 -1
  299. package/bundle/index.js +3 -3
  300. package/bundle/parser.worker.js +2 -2
  301. package/bundle/worker.js +1 -1
  302. package/package.json +1 -1
  303. package/bundle/chunk-0e1vkdze.js +0 -2
  304. package/bundle/chunk-0p27fvfr.js +0 -2
  305. package/bundle/chunk-0qs1vx97.js +0 -2
  306. package/bundle/chunk-18bj8z8m.js +0 -28
  307. package/bundle/chunk-19g6dhva.js +0 -2
  308. package/bundle/chunk-1ap7sh2c.js +0 -2
  309. package/bundle/chunk-1rhhhm88.js +0 -2
  310. package/bundle/chunk-1wbjh23g.js +0 -2
  311. package/bundle/chunk-3dadmgxa.js +0 -2
  312. package/bundle/chunk-42p59wm4.js +0 -2
  313. package/bundle/chunk-43xt69m8.js +0 -2
  314. package/bundle/chunk-4512pvca.js +0 -2
  315. package/bundle/chunk-456bmaww.js +0 -2
  316. package/bundle/chunk-48pajrnt.js +0 -2
  317. package/bundle/chunk-4fy9c54h.js +0 -2
  318. package/bundle/chunk-4m5yesw8.js +0 -2
  319. package/bundle/chunk-59y8q9m5.js +0 -2
  320. package/bundle/chunk-5tray1fw.js +0 -3
  321. package/bundle/chunk-5v6b8mr6.js +0 -2
  322. package/bundle/chunk-64ezpbwt.js +0 -2
  323. package/bundle/chunk-6r7z94e6.js +0 -3
  324. package/bundle/chunk-711dc303.js +0 -5
  325. package/bundle/chunk-7mke41x0.js +0 -2
  326. package/bundle/chunk-7ry9cvby.js +0 -2
  327. package/bundle/chunk-7wczs9mx.js +0 -2
  328. package/bundle/chunk-8v96pmqn.js +0 -2
  329. package/bundle/chunk-8y2scz6z.js +0 -2
  330. package/bundle/chunk-8zx7vnx6.js +0 -2
  331. package/bundle/chunk-94a76f8w.js +0 -2
  332. package/bundle/chunk-9ng7jjp7.js +0 -2
  333. package/bundle/chunk-9tpgnjy8.js +0 -2
  334. package/bundle/chunk-a7ym9f0v.js +0 -2
  335. package/bundle/chunk-a8f2xvy3.js +0 -2
  336. package/bundle/chunk-a99cvwta.js +0 -2
  337. package/bundle/chunk-aecc391x.js +0 -2
  338. package/bundle/chunk-avys5mnz.js +0 -2
  339. package/bundle/chunk-axvjd10y.js +0 -2
  340. package/bundle/chunk-b4pphqab.js +0 -2
  341. package/bundle/chunk-b6087ak4.js +0 -2
  342. package/bundle/chunk-bdd97g5y.js +0 -2
  343. package/bundle/chunk-bn0h9dny.js +0 -10
  344. package/bundle/chunk-bnmz683j.js +0 -2
  345. package/bundle/chunk-brkqxbjy.js +0 -2
  346. package/bundle/chunk-c26qxt5g.js +0 -2
  347. package/bundle/chunk-c6zscb38.js +0 -2
  348. package/bundle/chunk-cjww2jmv.js +0 -3
  349. package/bundle/chunk-d2ttw3wf.js +0 -2
  350. package/bundle/chunk-dafmkrhn.js +0 -2
  351. package/bundle/chunk-dgprdym0.js +0 -2
  352. package/bundle/chunk-dsamees2.js +0 -2
  353. package/bundle/chunk-dxje3azs.js +0 -2
  354. package/bundle/chunk-dyqpxx3b.js +0 -2
  355. package/bundle/chunk-etvs6a6y.js +0 -2
  356. package/bundle/chunk-ftn49yn1.js +0 -2
  357. package/bundle/chunk-gwzw92jt.js +0 -2
  358. package/bundle/chunk-hdrbyarv.js +0 -3
  359. package/bundle/chunk-hkqnqw3x.js +0 -2
  360. package/bundle/chunk-hp7tssgv.js +0 -2
  361. package/bundle/chunk-ht0hbdmx.js +0 -2
  362. package/bundle/chunk-m1s19p9n.js +0 -2
  363. package/bundle/chunk-ngm6pqyt.js +0 -2
  364. package/bundle/chunk-ngtavamt.js +0 -2
  365. package/bundle/chunk-nkhc32s3.js +0 -2
  366. package/bundle/chunk-npse2xrd.js +0 -2
  367. package/bundle/chunk-p3pemdns.js +0 -2
  368. package/bundle/chunk-p6e4vqy7.js +0 -2
  369. package/bundle/chunk-pqkjhn8h.js +0 -2
  370. package/bundle/chunk-qd8w2gkd.js +0 -2
  371. package/bundle/chunk-rbbw7bs0.js +0 -2
  372. package/bundle/chunk-rf12t4n5.js +0 -2
  373. package/bundle/chunk-rpgne7xh.js +0 -2
  374. package/bundle/chunk-rvgj1vky.js +0 -2
  375. package/bundle/chunk-ss2jvqrg.js +0 -2
  376. package/bundle/chunk-tt9smgmg.js +0 -2
  377. package/bundle/chunk-tvwwq4b3.js +0 -2
  378. package/bundle/chunk-v2n26eg4.js +0 -2
  379. package/bundle/chunk-v7ezt8k3.js +0 -2
  380. package/bundle/chunk-vqg5q96v.js +0 -2
  381. package/bundle/chunk-x24y7qyd.js +0 -2
  382. package/bundle/chunk-y2d0w09y.js +0 -2
  383. package/bundle/chunk-yb79f79m.js +0 -2
  384. package/bundle/chunk-yjnyzpmt.js +0 -2
  385. package/bundle/chunk-yqbcnsa1.js +0 -2
  386. package/bundle/chunk-z3mra3nm.js +0 -2
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{cQ as t}from"./chunk-3k2b05fv.js";var e=await import("./chunk-rq47pn3r.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Oq as z,Rq as B}from"./chunk-te47zdxd.js";import{Gs as D}from"./chunk-hdrbyarv.js";import{Yy as r}from"./chunk-gagtmjmp.js";import{OE as R,pH as W,zC as x}from"./chunk-zs8kqdsf.js";var w=x.Reference("~qitqode/InstanceRef",{defaultValue:()=>{return}}),C=x.Reference("~qitqode/WorkspaceRef",{defaultValue:()=>{return}});var V=D.create("instance"),y={async provide(p){return V.provide({workspaceID:p.workspaceID},()=>p.fn())},restore(p,o){return V.provide({workspaceID:p},o)},get workspaceID(){try{return V.use().workspaceID}catch{return}}};var j;function U(p){j=p}function P(){if(!j)throw new D.NotFound("instance");return j()}function H(p,o){if(!o.instance&&!o.workspace)return p;if(!o.instance)return p.pipe(W.provideService(C,o.workspace));if(!o.workspace)return p.pipe(W.provideService(w,o.instance));return p.pipe(W.provideService(w,o.instance),W.provideService(C,o.workspace))}function d(p){try{return H(p,{instance:P(),workspace:y.workspaceID})}catch(o){if(!(o instanceof D.NotFound))throw o}return p}function F(p,o){let G,I=()=>G??=r.make(R.provideMerge(o,z),{memoMap:B});return{runSync:(k)=>I().runSync(d(p.use(k))),runPromiseExit:(k,q)=>I().runPromiseExit(d(p.use(k)),q),runPromise:(k,q)=>I().runPromise(d(p.use(k)),q),runFork:(k)=>I().runFork(d(p.use(k))),runCallback:(k)=>I().runCallback(d(p.use(k)))}}
3
- export{w as Fq,C as Gq,y as Hq,U as Iq,H as Jq,d as Kq,F as Lq};
2
+ import{ls as z,os as B}from"./chunk-dk975etf.js";import{du as D}from"./chunk-tns5x4w0.js";import{vA as r}from"./chunk-wfd5h6ax.js";import{OI as W,YD as x,lG as R}from"./chunk-a0rp7gh4.js";var w=x.Reference("~qitqode/InstanceRef",{defaultValue:()=>{return}}),C=x.Reference("~qitqode/WorkspaceRef",{defaultValue:()=>{return}});var V=D.create("instance"),y={async provide(p){return V.provide({workspaceID:p.workspaceID},()=>p.fn())},restore(p,o){return V.provide({workspaceID:p},o)},get workspaceID(){try{return V.use().workspaceID}catch{return}}};var j;function U(p){j=p}function P(){if(!j)throw new D.NotFound("instance");return j()}function H(p,o){if(!o.instance&&!o.workspace)return p;if(!o.instance)return p.pipe(W.provideService(C,o.workspace));if(!o.workspace)return p.pipe(W.provideService(w,o.instance));return p.pipe(W.provideService(w,o.instance),W.provideService(C,o.workspace))}function d(p){try{return H(p,{instance:P(),workspace:y.workspaceID})}catch(o){if(!(o instanceof D.NotFound))throw o}return p}function F(p,o){let G,I=()=>G??=r.make(R.provideMerge(o,z),{memoMap:B});return{runSync:(k)=>I().runSync(d(p.use(k))),runPromiseExit:(k,q)=>I().runPromiseExit(d(p.use(k)),q),runPromise:(k,q)=>I().runPromise(d(p.use(k)),q),runFork:(k)=>I().runFork(d(p.use(k))),runCallback:(k)=>I().runCallback(d(p.use(k)))}}
3
+ export{w as cs,C as ds,y as es,U as fs,H as gs,d as hs,F as is};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{In as w,Jn as A,Mn as U,Nn as O,Rn as R,Tn as s,Un as F}from"./chunk-9bzhxenb.js";import{ho as G,lo as L}from"./chunk-vcw00k0n.js";import{nt as M,st as k}from"./chunk-tqj69nh6.js";import{RM as y}from"./chunk-zs8kqdsf.js";import{DO as Y}from"./chunk-7xm75w1e.js";var _={};Y(_,{schema:()=>x,jsonc:()=>v,ConfigParse:()=>_});function v($,r){let E=[],J=w($,E,{allowTrailingComma:!0});if(E.length){let C=$.split(`
2
+ import{fp as w,gp as A,jp as U,kp as O,op as R,qp as s,rp as F}from"./chunk-yprmd5b7.js";import{Gp as G,Kp as L}from"./chunk-keveg5gx.js";import{Mu as M,Ru as k}from"./chunk-e7v9trve.js";import{oO as y}from"./chunk-a0rp7gh4.js";import{aQ as Y}from"./chunk-3k2b05fv.js";var _={};Y(_,{schema:()=>x,jsonc:()=>v,ConfigParse:()=>_});function v($,r){let E=[],J=w($,E,{allowTrailingComma:!0});if(E.length){let C=$.split(`
3
3
  `),T=E.map((I)=>{let Z=$.substring(0,I.offset).split(`
4
4
  `),H=Z.length,j=Z[Z.length-1].length+1,B=C[H-1],Q=`${A(I.error)} at line ${H}, column ${j}`;if(!B)return Q;return`${Q}
5
5
  Line ${H}: ${B}
@@ -11,4 +11,4 @@ ${$}
11
11
  ${T}
12
12
  --- End ---`})}return J}function x($,r,E){let J=$.safeParse(r);if(J.success)return J.data;throw new O({path:E,issues:J.error.issues})}var m={};Y(m,{substitute:()=>c,ConfigVariable:()=>m});import W from"path";import f from"os";function S($){return $.type==="path"?$.path:$.source}function d($){return $.type==="path"?W.dirname($.path):$.dir}async function c($){let r=$.missing??"error",E=$.text.replace(/\{env:([^}]+)\}/g,(H,j)=>{return process.env[j]||""}),J=Array.from(E.matchAll(/\{file:[^}]+\}/g));if(!J.length)return E;let C=d($),T=S($),I="",Z=0;for(let H of J){let j=H[0],B=H.index;I+=E.slice(Z,B);let Q=E.lastIndexOf(`
13
13
  `,B-1)+1;if(E.slice(Q,B).trimStart().startsWith("//")){I+=j,Z=B+j.length;continue}let K=j.replace(/^\{file:/,"").replace(/\}$/,"");if(K.startsWith("~/"))K=W.join(f.homedir(),K.slice(2));let b=W.isAbsolute(K)?K:W.resolve(C,K),o=(await k.readText(b).catch((X)=>{if(r==="empty")return"";let q=`bad file reference: "${j}"`;if(X.code==="ENOENT")throw new O({path:T,message:q+` ${b} does not exist`},{cause:X});throw new O({path:T,message:q},{cause:X})})).trim();I+=JSON.stringify(o).slice(1,-1),Z=B+j.length}return I+=E.slice(Z),I}var V={};Y(V,{resolvePluginSpec:()=>h,pluginSpecifier:()=>N,pluginOptions:()=>g,load:()=>a,deduplicatePluginOrigins:()=>u,Spec:()=>n,Options:()=>P,ConfigPlugin:()=>V});import{pathToFileURL as D}from"url";import z from"path";var P=y.Record(y.String,y.Unknown).pipe(G(($)=>({zod:L($)}))),n=y.Union([y.String,y.mutable(y.Tuple([y.String,P]))]).pipe(G(($)=>({zod:L($)})));async function a($){let r=[];for(let E of await M.scan("{plugin,plugins}/*.{ts,js}",{cwd:$,absolute:!0,dot:!0,symlink:!0}))r.push(D(E).href);return r}function N($){return Array.isArray($)?$[0]:$}function g($){return Array.isArray($)?$[1]:void 0}async function h($,r){let E=N($);if(!s(E))return $;let J=z.dirname(r),C=(()=>{if(E.startsWith("file://"))return E;if(z.isAbsolute(E)||/^[A-Za-z]:[\\/]/.test(E))return D(E).href;return D(z.resolve(J,E)).href})(),T=await F(C).catch(()=>C);if(Array.isArray($))return[T,$[1]];return T}function u($){let r=new Set,E=[];for(let J of $.toReversed()){let C=N(J.spec),T=C.startsWith("file://")?C:R(C).pkg;if(r.has(T))continue;r.add(T),E.push(J)}return E.toReversed()}
14
- export{_ as En,m as Fn,V as Gn};
14
+ export{_ as bp,m as cp,V as dp};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{h as x}from"./chunk-ctpy42xe.js";import{j as N}from"./chunk-rvkrgkeq.js";import{H as S}from"./chunk-yphsjp71.js";import{I as k,J as A}from"./chunk-t9mz17gb.js";import{Rd as P}from"./chunk-yajd975f.js";import{Vf as j}from"./chunk-rbk8seme.js";import{Cg as K,Dg as F,Fg as R,sg as Y,tg as _,ug as O,vg as b,zg as v}from"./chunk-pfyhg0m7.js";import{gh as $}from"./chunk-tc18nbmn.js";import{Xj as D}from"./chunk-wefez1gt.js";import{qo as G,vo as W}from"./chunk-famryv52.js";import{pH as H}from"./chunk-zs8kqdsf.js";var X="forgewise",p=(J,z=process.env)=>J.trim()||z.QLEX_API_KEY?.trim()||"",U=(J)=>H.gen(function*(){let z=J.trim();if(!z)yield*H.sync(()=>{j.println(j.Style.TEXT_DANGER+"Error: API key cannot be empty."+j.Style.TEXT_NORMAL)}),process.exit(1);yield*(yield*D.Service).set(X,{type:"api",key:z,metadata:{method:"api-key"}}),yield*N(j.Style.TEXT_SUCCESS+"Signed in with API key."+j.Style.TEXT_NORMAL)}).pipe(H.withSpan("forgewise.login.apikey"));async function u(){let J=!O();try{return await K({tryOpen:J,onCode:(z)=>{if(process.stdout.write(`
2
+ import{h as x}from"./chunk-8c1ypgw5.js";import{j as N}from"./chunk-1pg6pv0m.js";import{H as S}from"./chunk-11g2rpv8.js";import{I as k,J as A}from"./chunk-t9mz17gb.js";import{Rd as P}from"./chunk-yajd975f.js";import{Vf as j}from"./chunk-p9cnzxb8.js";import{Cg as K,Dg as F,Fg as R,sg as Y,tg as _,ug as O,vg as b,zg as v}from"./chunk-srpe3v8e.js";import{gh as $}from"./chunk-5e4fxy99.js";import{Xj as D}from"./chunk-e74efvj2.js";import{Pp as G,Up as W}from"./chunk-f3bnn9rf.js";import{OI as H}from"./chunk-a0rp7gh4.js";var X="forgewise",p=(J,z=process.env)=>J.trim()||z.QLEX_API_KEY?.trim()||"",U=(J)=>H.gen(function*(){let z=J.trim();if(!z)yield*H.sync(()=>{j.println(j.Style.TEXT_DANGER+"Error: API key cannot be empty."+j.Style.TEXT_NORMAL)}),process.exit(1);yield*(yield*D.Service).set(X,{type:"api",key:z,metadata:{method:"api-key"}}),yield*N(j.Style.TEXT_SUCCESS+"Signed in with API key."+j.Style.TEXT_NORMAL)}).pipe(H.withSpan("forgewise.login.apikey"));async function u(){let J=!O();try{return await K({tryOpen:J,onCode:(z)=>{if(process.stdout.write(`
3
3
  `),process.stdout.write(" To sign in, open: "+z.verificationUri+`
4
4
  `),process.stdout.write(" and enter code: "+z.userCode+`
5
5
  `),z.verificationUriComplete)process.stdout.write(`
@@ -1,8 +1,8 @@
1
1
  // @bun
2
- import{No as qO,Oo as EO,Qo as HO}from"./chunk-ay8emwym.js";import{Ur as u}from"./chunk-0t4324w5.js";import{Ns as X$,Qs as J$,Rs as R,_s as FO}from"./chunk-hdrbyarv.js";import{tt as Y1}from"./chunk-ag8kz1e7.js";import{pH as c}from"./chunk-zs8kqdsf.js";import{BO as J1,DO as D1,FO as RO}from"./chunk-7xm75w1e.js";function x$({onRequest:O,onSseError:$,onSseEvent:Z,responseTransformer:J,responseValidator:Y,sseDefaultRetryDelay:D,sseMaxRetryAttempts:W,sseMaxRetryDelay:G,sseSleepFn:V,url:K,...z}){let L,M=V??((U)=>new Promise((j)=>setTimeout(j,U)));return{stream:async function*(){let U=D??3000,j=0,B=z.signal??new AbortController().signal;while(!0){if(B.aborted)break;j++;let l=z.headers instanceof Headers?z.headers:new Headers(z.headers);if(L!==void 0)l.set("Last-Event-ID",L);try{let E={redirect:"follow",...z,body:z.serializedBody,headers:l,signal:B},A=new Request(K,E);if(O)A=await O(K,E);let Q=await(z.fetch??globalThis.fetch)(A);if(!Q.ok)throw Error(`SSE failed: ${Q.status} ${Q.statusText}`);if(!Q.body)throw Error("No body in SSE response");let w=Q.body.pipeThrough(new TextDecoderStream).getReader(),T="",T$=()=>{try{w.cancel()}catch{}};B.addEventListener("abort",T$);try{while(!0){let{done:CO,value:vO}=await w.read();if(CO)break;T+=vO,T=T.replace(/\r\n?/g,`
2
+ import{kq as qO,lq as EO,nq as HO}from"./chunk-hw5qyht3.js";import{rt as u}from"./chunk-nj2bbtmx.js";import{ku as X$,nu as J$,ou as R,xu as FO}from"./chunk-tns5x4w0.js";import{Su as Y1}from"./chunk-zh3fny3z.js";import{OI as c}from"./chunk-a0rp7gh4.js";import{_P as J1,aQ as D1,cQ as RO}from"./chunk-3k2b05fv.js";function x$({onRequest:O,onSseError:$,onSseEvent:Z,responseTransformer:J,responseValidator:Y,sseDefaultRetryDelay:D,sseMaxRetryAttempts:W,sseMaxRetryDelay:G,sseSleepFn:V,url:K,...z}){let L,M=V??((U)=>new Promise((j)=>setTimeout(j,U)));return{stream:async function*(){let U=D??3000,j=0,B=z.signal??new AbortController().signal;while(!0){if(B.aborted)break;j++;let l=z.headers instanceof Headers?z.headers:new Headers(z.headers);if(L!==void 0)l.set("Last-Event-ID",L);try{let E={redirect:"follow",...z,body:z.serializedBody,headers:l,signal:B},A=new Request(K,E);if(O)A=await O(K,E);let Q=await(z.fetch??globalThis.fetch)(A);if(!Q.ok)throw Error(`SSE failed: ${Q.status} ${Q.statusText}`);if(!Q.body)throw Error("No body in SSE response");let w=Q.body.pipeThrough(new TextDecoderStream).getReader(),T="",T$=()=>{try{w.cancel()}catch{}};B.addEventListener("abort",T$);try{while(!0){let{done:CO,value:vO}=await w.read();if(CO)break;T+=vO,T=T.replace(/\r\n?/g,`
3
3
  `);let _$=T.split(`
4
4
 
5
5
  `);T=_$.pop()??"";for(let yO of _$){let cO=yO.split(`
6
6
  `),n=[],N$;for(let F of cO)if(F.startsWith("data:"))n.push(F.replace(/^data:\s*/,""));else if(F.startsWith("event:"))N$=F.replace(/^event:\s*/,"");else if(F.startsWith("id:"))L=F.replace(/^id:\s*/,"");else if(F.startsWith("retry:")){let R$=Number.parseInt(F.replace(/^retry:\s*/,""),10);if(!Number.isNaN(R$))U=R$}let h,B$=!1;if(n.length){let F=n.join(`
7
7
  `);try{h=JSON.parse(F),B$=!0}catch{h=F}}if(B$){if(Y)await Y(h);if(J)h=await J(h)}if(Z?.({data:h,event:N$,id:L,retry:U}),n.length)yield h}}}finally{B.removeEventListener("abort",T$),w.releaseLock()}break}catch(E){if($?.(E),W!==void 0&&j>=W)break;let A=Math.min(U*2**(j-1),G??30000);await M(A)}}}()}}var uO=(O)=>{switch(O){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},dO=(O)=>{switch(O){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},mO=(O)=>{switch(O){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},p=({allowReserved:O,explode:$,name:Z,style:J,value:Y})=>{if(!$){let G=(O?Y:Y.map((V)=>encodeURIComponent(V))).join(dO(J));switch(J){case"label":return`.${G}`;case"matrix":return`;${Z}=${G}`;case"simple":return G;default:return`${Z}=${G}`}}let D=uO(J),W=Y.map((G)=>{if(J==="label"||J==="simple")return O?G:encodeURIComponent(G);return f({allowReserved:O,name:Z,value:G})}).join(D);return J==="label"||J==="matrix"?D+W:W},f=({allowReserved:O,name:$,value:Z})=>{if(Z===void 0||Z===null)return"";if(typeof Z==="object")throw Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${$}=${O?Z:encodeURIComponent(Z)}`},i=({allowReserved:O,explode:$,name:Z,style:J,value:Y,valueOnly:D})=>{if(Y instanceof Date)return D?Y.toISOString():`${Z}=${Y.toISOString()}`;if(J!=="deepObject"&&!$){let V=[];Object.entries(Y).forEach(([z,L])=>{V=[...V,z,O?L:encodeURIComponent(L)]});let K=V.join(",");switch(J){case"form":return`${Z}=${K}`;case"label":return`.${K}`;case"matrix":return`;${Z}=${K}`;default:return K}}let W=mO(J),G=Object.entries(Y).map(([V,K])=>f({allowReserved:O,name:J==="deepObject"?`${Z}[${V}]`:V,value:K})).join(W);return J==="label"||J==="matrix"?W+G:G};var lO=/\{[^{}]+\}/g,nO=({path:O,url:$})=>{let Z=$,J=$.match(lO);if(J)for(let Y of J){let D=!1,W=Y.substring(1,Y.length-1),G="simple";if(W.endsWith("*"))D=!0,W=W.substring(0,W.length-1);if(W.startsWith("."))W=W.substring(1),G="label";else if(W.startsWith(";"))W=W.substring(1),G="matrix";let V=O[W];if(V===void 0||V===null)continue;if(Array.isArray(V)){Z=Z.replace(Y,p({explode:D,name:W,style:G,value:V}));continue}if(typeof V==="object"){Z=Z.replace(Y,i({explode:D,name:W,style:G,value:V,valueOnly:!0}));continue}if(G==="matrix"){Z=Z.replace(Y,`;${f({name:W,value:V})}`);continue}let K=encodeURIComponent(G==="label"?`.${V}`:V);Z=Z.replace(Y,K)}return Z},w$=({baseUrl:O,path:$,query:Z,querySerializer:J,url:Y})=>{let D=Y.startsWith("/")?Y:`/${Y}`,W=(O??"")+D;if($)W=nO({path:$,url:W});let G=Z?J(Z):"";if(G.startsWith("?"))G=G.substring(1);if(G)W+=`?${G}`;return W};function e(O){let $=O.body!==void 0;if($&&O.bodySerializer){if("serializedBody"in O)return O.serializedBody!==void 0&&O.serializedBody!==""?O.serializedBody:null;return O.body!==""?O.body:null}if($)return O.body;return}var F$=async(O,$)=>{let Z=typeof $==="function"?await $(O):$;if(!Z)return;if(O.scheme==="bearer")return`Bearer ${Z}`;if(O.scheme==="basic")return`Basic ${btoa(Z)}`;return Z};var $$={bodySerializer:(O)=>JSON.stringify(O,($,Z)=>typeof Z==="bigint"?Z.toString():Z)};var q$=({parameters:O={},...$}={})=>{return(J)=>{let Y=[];if(J&&typeof J==="object")for(let D in J){let W=J[D];if(W===void 0||W===null)continue;let G=O[D]||$;if(Array.isArray(W)){let V=p({allowReserved:G.allowReserved,explode:!0,name:D,style:"form",value:W,...G.array});if(V)Y.push(V)}else if(typeof W==="object"){let V=i({allowReserved:G.allowReserved,explode:!0,name:D,style:"deepObject",value:W,...G.object});if(V)Y.push(V)}else{let V=f({allowReserved:G.allowReserved,name:D,value:W});if(V)Y.push(V)}}return Y.join("&")}},E$=(O)=>{if(!O)return"stream";let $=O.split(";")[0]?.trim();if(!$)return;if($.startsWith("application/json")||$.endsWith("+json"))return"json";if($==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some((Z)=>$.startsWith(Z)))return"blob";if($.startsWith("text/"))return"text";return},pO=(O,$)=>{if(!$)return!1;if(O.headers.has($)||O.query?.[$]||O.headers.get("Cookie")?.includes(`${$}=`))return!0;return!1};async function H$(O){for(let $ of O.security??[]){if(pO(O,$.name))continue;let Z=await F$($,O.auth);if(!Z)continue;let J=$.name??"Authorization";switch($.in){case"query":if(!O.query)O.query={};O.query[J]=Z;break;case"cookie":O.headers.append("Cookie",`${J}=${Z}`);break;case"header":default:O.headers.set(J,Z);break}}}var O$=(O)=>w$({baseUrl:O.baseUrl,path:O.path,query:O.query,querySerializer:typeof O.querySerializer==="function"?O.querySerializer:q$(O.querySerializer),url:O.url}),Z$=(O,$)=>{let Z={...O,...$};if(Z.baseUrl?.endsWith("/"))Z.baseUrl=Z.baseUrl.substring(0,Z.baseUrl.length-1);return Z.headers=s(O.headers,$.headers),Z},iO=(O)=>{let $=[];return O.forEach((Z,J)=>{$.push([J,Z])}),$},s=(...O)=>{let $=new Headers;for(let Z of O){if(!Z)continue;let J=Z instanceof Headers?iO(Z):Object.entries(Z);for(let[Y,D]of J)if(D===null)$.delete(Y);else if(Array.isArray(D))for(let W of D)$.append(Y,W);else if(D!==void 0)$.set(Y,typeof D==="object"?JSON.stringify(D):D)}return $};class r{fns=[];clear(){this.fns=[]}eject(O){let $=this.getInterceptorIndex(O);if(this.fns[$])this.fns[$]=null}exists(O){let $=this.getInterceptorIndex(O);return Boolean(this.fns[$])}getInterceptorIndex(O){if(typeof O==="number")return this.fns[O]?O:-1;return this.fns.indexOf(O)}update(O,$){let Z=this.getInterceptorIndex(O);if(this.fns[Z])return this.fns[Z]=$,O;return!1}use(O){return this.fns.push(O),this.fns.length-1}}var A$=()=>({error:new r,request:new r,response:new r}),rO=q$({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),sO={"Content-Type":"application/json"},b=(O={})=>({...$$,headers:sO,parseAs:"auto",querySerializer:rO,...O});var C=(O={})=>{let $=Z$(b(),O),Z=()=>({...$}),J=(z)=>{return $=Z$($,z),Z()},Y=A$(),D=async(z)=>{let L={...$,...z,fetch:z.fetch??$.fetch??globalThis.fetch,headers:s($.headers,z.headers),serializedBody:void 0};if(L.security)await H$(L);if(L.requestValidator)await L.requestValidator(L);if(L.body!==void 0&&L.bodySerializer)L.serializedBody=L.bodySerializer(L.body);if(L.body===void 0||L.serializedBody==="")L.headers.delete("Content-Type");let M=L,_=O$(M);return{opts:M,url:_}},W=async(z)=>{let L=z.throwOnError??$.throwOnError,M=z.responseStyle??$.responseStyle,_,S;try{let{opts:U,url:j}=await D(z),B={redirect:"follow",...U,body:e(U)};_=new Request(j,B);for(let Q of Y.request.fns)if(Q)_=await Q(_,U);let l=U.fetch;S=await l(_);for(let Q of Y.response.fns)if(Q)S=await Q(S,_,U);let E={request:_,response:S};if(S.ok){let Q=(U.parseAs==="auto"?E$(S.headers.get("Content-Type")):U.parseAs)??"json";if(S.status===204||S.headers.get("Content-Length")==="0"){let T;switch(Q){case"arrayBuffer":case"blob":case"text":T=await S[Q]();break;case"formData":T=new FormData;break;case"stream":T=S.body;break;case"json":default:T={};break}return U.responseStyle==="data"?T:{data:T,...E}}let w;switch(Q){case"arrayBuffer":case"blob":case"formData":case"text":w=await S[Q]();break;case"json":{let T=await S.text();w=T?JSON.parse(T):{};break}case"stream":return U.responseStyle==="data"?S.body:{data:S.body,...E}}if(Q==="json"){if(U.responseValidator)await U.responseValidator(w);if(U.responseTransformer)w=await U.responseTransformer(w)}return U.responseStyle==="data"?w:{data:w,...E}}let A=await S.text(),o;try{o=JSON.parse(A)}catch{}throw o??A}catch(U){let j=U;for(let B of Y.error.fns)if(B)j=await B(j,S,_,z);if(j=j||{},L)throw j;return M==="data"?void 0:{error:j,request:_,response:S}}},G=(z)=>(L)=>W({...L,method:z}),V=(z)=>async(L)=>{let{opts:M,url:_}=await D(L);return x$({...M,body:M.body,method:z,onRequest:async(S,U)=>{let j=new Request(S,U);for(let B of Y.request.fns)if(B)j=await B(j,M);return j},serializedBody:e(M),url:_})};return{buildUrl:(z)=>O$({...$,...z}),connect:G("CONNECT"),delete:G("DELETE"),get:G("GET"),getConfig:Z,head:G("HEAD"),interceptors:Y,options:G("OPTIONS"),patch:G("PATCH"),post:G("POST"),put:G("PUT"),request:W,setConfig:J,sse:{connect:V("CONNECT"),delete:V("DELETE"),get:V("GET"),head:V("HEAD"),options:V("OPTIONS"),patch:V("PATCH"),post:V("POST"),put:V("PUT"),trace:V("TRACE")},trace:G("TRACE")}};var tO={$body_:"body",$headers_:"headers",$path_:"path",$query_:"query"},aO=Object.entries(tO),h$=(O,$)=>{if(!$)$=new Map;for(let Z of O)if("in"in Z){if(Z.key)$.set(Z.key,{in:Z.in,map:Z.map})}else if("key"in Z)$.set(Z.key,{map:Z.map});else if(Z.args)h$(Z.args,$);return $},oO=(O)=>{for(let[$,Z]of Object.entries(O))if(Z&&typeof Z==="object"&&!Array.isArray(Z)&&!Object.keys(Z).length)delete O[$]},X=(O,$)=>{let Z={body:Object.create(null),headers:Object.create(null),path:Object.create(null),query:Object.create(null)},J=h$($),Y;for(let[D,W]of O.entries()){if($[D])Y=$[D];if(!Y)continue;if("in"in Y)if(Y.key){let G=J.get(Y.key),V=G.map||Y.key;if(G.in)Z[G.in][V]=W}else Z.body=W;else for(let[G,V]of Object.entries(W??{})){let K=J.get(G);if(K)if(K.in){let z=K.map||G;Z[K.in][z]=V}else Z[K.map]=V;else{let z=aO.find(([L])=>G.startsWith(L));if(z){let[L,M]=z;Z[M][G.slice(L.length)]=V}else if("allowExtra"in Y&&Y.allowExtra){for(let[L,M]of Object.entries(Y.allowExtra))if(M){Z[L][G]=V;break}}}}}return oO(Z),Z};var k$=C(b({baseUrl:"http://localhost:4096"}));class I{client;constructor(O){this.client=O?.client??k$}}class P${defaultKey="default";instances=new Map;get(O){let $=this.instances.get(O??this.defaultKey);if(!$)throw Error('No SDK client found. Create one with "new QitQodeClient()" to fix this error.');return $}set(O,$){this.instances.set($??this.defaultKey,O)}}class g$ extends I{get(O){return(O?.client??this.client).get({url:"/global/config",...O})}update(O,$){let Z=X([O],[{args:[{key:"config",map:"body"}]}]);return($?.client??this.client).patch({url:"/global/config",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class f$ extends I{scan(O){return(O?.client??this.client).get({url:"/global/import/scan",...O})}run(O,$){let Z=X([O],[{args:[{in:"body",key:"sources"},{in:"body",key:"force"}]}]);return($?.client??this.client).post({url:"/global/import/run",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class b$ extends I{health(O){return(O?.client??this.client).get({url:"/global/health",...O})}event(O){return(O?.client??this.client).sse.get({url:"/global/event",...O})}dispose(O){return(O?.client??this.client).post({url:"/global/dispose",...O})}upgrade(O,$){let Z=X([O],[{args:[{in:"body",key:"target"}]}]);return($?.client??this.client).post({url:"/global/upgrade",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}_config;get config(){return this._config??=new g$({client:this.client})}_import;get import(){return this._import??=new f$({client:this.client})}}class C$ extends I{remove(O,$){let Z=X([O],[{args:[{in:"path",key:"providerID"}]}]);return($?.client??this.client).delete({url:"/auth/{providerID}",...$,...Z})}set(O,$){let Z=X([O],[{args:[{in:"path",key:"providerID"},{key:"auth",map:"body"}]}]);return($?.client??this.client).put({url:"/auth/{providerID}",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class v$ extends I{log(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"service"},{in:"body",key:"level"},{in:"body",key:"message"},{in:"body",key:"extra"}]}]);return($?.client??this.client).post({url:"/log",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}agents(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/agent",...$,...Z})}skills(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/skill",...$,...Z})}}class y$ extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/experimental/workspace/adaptor",...$,...Z})}}class c$ extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/experimental/workspace",...$,...Z})}create(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"id"},{in:"body",key:"type"},{in:"body",key:"branch"},{in:"body",key:"extra"}]}]);return($?.client??this.client).post({url:"/experimental/workspace",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}status(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/experimental/workspace/status",...$,...Z})}remove(O,$){let Z=X([O],[{args:[{in:"path",key:"id"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).delete({url:"/experimental/workspace/{id}",...$,...Z})}sessionRestore(O,$){let Z=X([O],[{args:[{in:"path",key:"id"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"sessionID"}]}]);return($?.client??this.client).post({url:"/experimental/workspace/{id}/session-restore",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}_adaptor;get adaptor(){return this._adaptor??=new y$({client:this.client})}}class u$ extends I{get(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/experimental/console",...$,...Z})}listOrgs(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/experimental/console/orgs",...$,...Z})}switchOrg(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"accountID"},{in:"body",key:"orgID"}]}]);return($?.client??this.client).post({url:"/experimental/console/switch",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class d$ extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"roots"},{in:"query",key:"start"},{in:"query",key:"cursor"},{in:"query",key:"search"},{in:"query",key:"limit"},{in:"query",key:"archived"}]}]);return($?.client??this.client).get({url:"/experimental/session",...$,...Z})}}class m$ extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/experimental/resource",...$,...Z})}}class l$ extends I{_workspace;get workspace(){return this._workspace??=new c$({client:this.client})}_console;get console(){return this._console??=new u$({client:this.client})}_session;get session(){return this._session??=new d$({client:this.client})}_resource;get resource(){return this._resource??=new m$({client:this.client})}}class n$ extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/project",...$,...Z})}current(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/project/current",...$,...Z})}initGit(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/project/git/init",...$,...Z})}update(O,$){let Z=X([O],[{args:[{in:"path",key:"projectID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"name"},{in:"body",key:"icon"},{in:"body",key:"commands"}]}]);return($?.client??this.client).patch({url:"/project/{projectID}",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class p$ extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/pty",...$,...Z})}create(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"command"},{in:"body",key:"args"},{in:"body",key:"cwd"},{in:"body",key:"title"},{in:"body",key:"env"}]}]);return($?.client??this.client).post({url:"/pty",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}remove(O,$){let Z=X([O],[{args:[{in:"path",key:"ptyID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).delete({url:"/pty/{ptyID}",...$,...Z})}get(O,$){let Z=X([O],[{args:[{in:"path",key:"ptyID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/pty/{ptyID}",...$,...Z})}update(O,$){let Z=X([O],[{args:[{in:"path",key:"ptyID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"title"},{in:"body",key:"size"}]}]);return($?.client??this.client).put({url:"/pty/{ptyID}",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}connectToken(O,$){let Z=X([O],[{args:[{in:"path",key:"ptyID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/pty/{ptyID}/connect-token",...$,...Z})}connect(O,$){let Z=X([O],[{args:[{in:"path",key:"ptyID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/pty/{ptyID}/connect",...$,...Z})}}class i$ extends I{get(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/config",...$,...Z})}update(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"config",map:"body"}]}]);return($?.client??this.client).patch({url:"/config",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}providers(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/config/providers",...$,...Z})}}class r$ extends I{ids(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/experimental/tool/ids",...$,...Z})}list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"provider"},{in:"query",key:"model"}]}]);return($?.client??this.client).get({url:"/experimental/tool",...$,...Z})}}class s$ extends I{remove(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"worktreeRemoveInput",map:"body"}]}]);return($?.client??this.client).delete({url:"/experimental/worktree",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/experimental/worktree",...$,...Z})}create(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"worktreeCreateInput",map:"body"}]}]);return($?.client??this.client).post({url:"/experimental/worktree",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}reset(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"worktreeResetInput",map:"body"}]}]);return($?.client??this.client).post({url:"/experimental/worktree/reset",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class t$ extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"roots"},{in:"query",key:"start"},{in:"query",key:"search"},{in:"query",key:"limit"}]}]);return($?.client??this.client).get({url:"/session",...$,...Z})}create(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"parentID"},{in:"body",key:"contextFrom"},{in:"body",key:"contextWatermark"},{in:"body",key:"title"},{in:"body",key:"permission"},{in:"body",key:"workspaceID"}]}]);return($?.client??this.client).post({url:"/session",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}status(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/session/status",...$,...Z})}delete(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).delete({url:"/session/{sessionID}",...$,...Z})}get(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/session/{sessionID}",...$,...Z})}update(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"title"},{in:"body",key:"permission"},{in:"body",key:"time"}]}]);return($?.client??this.client).patch({url:"/session/{sessionID}",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}children(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/session/{sessionID}/children",...$,...Z})}init(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"modelID"},{in:"body",key:"providerID"},{in:"body",key:"messageID"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/init",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}fork(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/fork",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}abort(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/abort",...$,...Z})}actors(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/session/{sessionID}/actors",...$,...Z})}todo(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/session/{sessionID}/todo",...$,...Z})}task(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/session/{sessionID}/task",...$,...Z})}unshare(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).delete({url:"/session/{sessionID}/share",...$,...Z})}share(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/share",...$,...Z})}diff(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"messageID"}]}]);return($?.client??this.client).get({url:"/session/{sessionID}/diff",...$,...Z})}summarize(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"providerID"},{in:"body",key:"modelID"},{in:"body",key:"auto"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/summarize",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}revert(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"},{in:"body",key:"partID"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/revert",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}unrevert(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/unrevert",...$,...Z})}messages(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"limit"},{in:"query",key:"before"},{in:"query",key:"agent_id"}]}]);return($?.client??this.client).get({url:"/session/{sessionID}/message",...$,...Z})}prompt(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"},{in:"body",key:"model"},{in:"body",key:"modelRef"},{in:"body",key:"agent"},{in:"body",key:"agentID"},{in:"body",key:"task_id"},{in:"body",key:"source"},{in:"body",key:"provenance"},{in:"body",key:"noReply"},{in:"body",key:"tools"},{in:"body",key:"format"},{in:"body",key:"system"},{in:"body",key:"variant"},{in:"body",key:"parts"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/message",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}deleteMessage(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"path",key:"messageID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).delete({url:"/session/{sessionID}/message/{messageID}",...$,...Z})}message(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"path",key:"messageID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/session/{sessionID}/message/{messageID}",...$,...Z})}promptAsync(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"},{in:"body",key:"model"},{in:"body",key:"modelRef"},{in:"body",key:"agent"},{in:"body",key:"agentID"},{in:"body",key:"task_id"},{in:"body",key:"source"},{in:"body",key:"provenance"},{in:"body",key:"noReply"},{in:"body",key:"tools"},{in:"body",key:"format"},{in:"body",key:"system"},{in:"body",key:"variant"},{in:"body",key:"parts"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/prompt_async",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}command(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"},{in:"body",key:"agent"},{in:"body",key:"model"},{in:"body",key:"arguments"},{in:"body",key:"command"},{in:"body",key:"variant"},{in:"body",key:"parts"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/command",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}predict(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/predict",...$,...Z})}shell(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"},{in:"body",key:"agent"},{in:"body",key:"model"},{in:"body",key:"modelRef"},{in:"body",key:"command"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/shell",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class a$ extends I{delete(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"path",key:"messageID"},{in:"path",key:"partID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).delete({url:"/session/{sessionID}/message/{messageID}/part/{partID}",...$,...Z})}update(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"path",key:"messageID"},{in:"path",key:"partID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"part",map:"body"}]}]);return($?.client??this.client).patch({url:"/session/{sessionID}/message/{messageID}/part/{partID}",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class o$ extends I{respond(O,$){let Z=X([O],[{args:[{in:"path",key:"sessionID"},{in:"path",key:"permissionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"response"}]}]);return($?.client??this.client).post({url:"/session/{sessionID}/permissions/{permissionID}",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}reply(O,$){let Z=X([O],[{args:[{in:"path",key:"requestID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"reply"},{in:"body",key:"message"}]}]);return($?.client??this.client).post({url:"/permission/{requestID}/reply",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/permission",...$,...Z})}}class e$ extends I{balance(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/qredits/balance",...$,...Z})}}class $O extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"sessionID"}]}]);return($?.client??this.client).get({url:"/workflows",...$,...Z})}resume(O,$){let Z=X([O],[{args:[{in:"path",key:"runID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/workflows/{runID}/resume",...$,...Z})}}class OO extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/question",...$,...Z})}neverAsk(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/question/never-ask",...$,...Z})}setNeverAsk(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"enabled"}]}]);return($?.client??this.client).post({url:"/question/never-ask",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}reply(O,$){let Z=X([O],[{args:[{in:"path",key:"requestID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"answers"}]}]);return($?.client??this.client).post({url:"/question/{requestID}/reply",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}reject(O,$){let Z=X([O],[{args:[{in:"path",key:"requestID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/question/{requestID}/reject",...$,...Z})}}class ZO extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/bash-interactive",...$,...Z})}reply(O,$){let Z=X([O],[{args:[{in:"path",key:"id"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"output"},{in:"body",key:"exitCode"}]}]);return($?.client??this.client).post({url:"/bash-interactive/{id}/reply",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class XO extends I{_interactive;get interactive(){return this._interactive??=new ZO({client:this.client})}}class JO extends I{authorize(O,$){let Z=X([O],[{args:[{in:"path",key:"providerID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"method"},{in:"body",key:"inputs"}]}]);return($?.client??this.client).post({url:"/provider/{providerID}/oauth/authorize",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}callback(O,$){let Z=X([O],[{args:[{in:"path",key:"providerID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"method"},{in:"body",key:"code"}]}]);return($?.client??this.client).post({url:"/provider/{providerID}/oauth/callback",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class YO extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/provider",...$,...Z})}auth(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/provider/auth",...$,...Z})}_oauth;get oauth(){return this._oauth??=new JO({client:this.client})}}class WO extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"body",map:"body"}]}]);return($?.client??this.client).post({url:"/sync/history",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class GO extends I{start(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/sync/start",...$,...Z})}replay(O,$){let Z=X([O],[{args:[{in:"query",key:"query_directory",map:"directory"},{in:"query",key:"workspace"},{in:"body",key:"body_directory",map:"directory"},{in:"body",key:"events"}]}]);return($?.client??this.client).post({url:"/sync/replay",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}_history;get history(){return this._history??=new WO({client:this.client})}}class VO extends I{text(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"pattern"}]}]);return($?.client??this.client).get({url:"/find",...$,...Z})}files(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"query"},{in:"query",key:"dirs"},{in:"query",key:"type"},{in:"query",key:"limit"}]}]);return($?.client??this.client).get({url:"/find/file",...$,...Z})}symbols(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"query"}]}]);return($?.client??this.client).get({url:"/find/symbol",...$,...Z})}}class DO extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"path"}]}]);return($?.client??this.client).get({url:"/file",...$,...Z})}read(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"path"}]}]);return($?.client??this.client).get({url:"/file/content",...$,...Z})}status(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/file/status",...$,...Z})}}class zO extends I{subscribe(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).sse.get({url:"/event",...$,...Z})}}class LO extends I{remove(O,$){let Z=X([O],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).delete({url:"/mcp/{name}/auth",...$,...Z})}start(O,$){let Z=X([O],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/mcp/{name}/auth",...$,...Z})}callback(O,$){let Z=X([O],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"code"}]}]);return($?.client??this.client).post({url:"/mcp/{name}/auth/callback",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}authenticate(O,$){let Z=X([O],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/mcp/{name}/auth/authenticate",...$,...Z})}}class IO extends I{status(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/mcp",...$,...Z})}add(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"name"},{in:"body",key:"config"}]}]);return($?.client??this.client).post({url:"/mcp",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}connect(O,$){let Z=X([O],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/mcp/{name}/connect",...$,...Z})}disconnect(O,$){let Z=X([O],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/mcp/{name}/disconnect",...$,...Z})}_auth;get auth(){return this._auth??=new LO({client:this.client})}}class KO extends I{next(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/tui/control/next",...$,...Z})}response(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"body",map:"body"}]}]);return($?.client??this.client).post({url:"/tui/control/response",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}}class UO extends I{appendPrompt(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"text"}]}]);return($?.client??this.client).post({url:"/tui/append-prompt",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}openHelp(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/tui/open-help",...$,...Z})}openSessions(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/tui/open-sessions",...$,...Z})}openThemes(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/tui/open-themes",...$,...Z})}openModels(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/tui/open-models",...$,...Z})}submitPrompt(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/tui/submit-prompt",...$,...Z})}clearPrompt(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/tui/clear-prompt",...$,...Z})}executeCommand(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"command"}]}]);return($?.client??this.client).post({url:"/tui/execute-command",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}showToast(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"title"},{in:"body",key:"message"},{in:"body",key:"variant"},{in:"body",key:"duration"}]}]);return($?.client??this.client).post({url:"/tui/show-toast",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}publish(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"body",map:"body"}]}]);return($?.client??this.client).post({url:"/tui/publish",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}selectSession(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"sessionID"}]}]);return($?.client??this.client).post({url:"/tui/select-session",...$,...Z,headers:{"Content-Type":"application/json",...$?.headers,...Z.headers}})}_control;get control(){return this._control??=new KO({client:this.client})}}class SO extends I{dispose(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).post({url:"/instance/dispose",...$,...Z})}}class jO extends I{get(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/path",...$,...Z})}}class MO extends I{get(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/vcs",...$,...Z})}diff(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"mode"}]}]);return($?.client??this.client).get({url:"/vcs/diff",...$,...Z})}}class QO extends I{list(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/command",...$,...Z})}}class TO extends I{status(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/lsp",...$,...Z})}}class _O extends I{status(O,$){let Z=X([O],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return($?.client??this.client).get({url:"/formatter",...$,...Z})}}class t extends I{static __registry=new P$;constructor(O){super(O);t.__registry.set(this,O?.key)}_global;get global(){return this._global??=new b$({client:this.client})}_auth;get auth(){return this._auth??=new C$({client:this.client})}_app;get app(){return this._app??=new v$({client:this.client})}_experimental;get experimental(){return this._experimental??=new l$({client:this.client})}_project;get project(){return this._project??=new n$({client:this.client})}_pty;get pty(){return this._pty??=new p$({client:this.client})}_config;get config(){return this._config??=new i$({client:this.client})}_tool;get tool(){return this._tool??=new r$({client:this.client})}_worktree;get worktree(){return this._worktree??=new s$({client:this.client})}_session;get session(){return this._session??=new t$({client:this.client})}_part;get part(){return this._part??=new a$({client:this.client})}_permission;get permission(){return this._permission??=new o$({client:this.client})}_qredits;get qredits(){return this._qredits??=new e$({client:this.client})}_workflow;get workflow(){return this._workflow??=new $O({client:this.client})}_question;get question(){return this._question??=new OO({client:this.client})}_bash;get bash(){return this._bash??=new XO({client:this.client})}_provider;get provider(){return this._provider??=new YO({client:this.client})}_sync;get sync(){return this._sync??=new GO({client:this.client})}_find;get find(){return this._find??=new VO({client:this.client})}_file;get file(){return this._file??=new DO({client:this.client})}_event;get event(){return this._event??=new zO({client:this.client})}_mcp;get mcp(){return this._mcp??=new IO({client:this.client})}_tui;get tui(){return this._tui??=new UO({client:this.client})}_instance;get instance(){return this._instance??=new SO({client:this.client})}_path;get path(){return this._path??=new jO({client:this.client})}_vcs;get vcs(){return this._vcs??=new MO({client:this.client})}_command;get command(){return this._command??=new QO({client:this.client})}_lsp;get lsp(){return this._lsp??=new TO({client:this.client})}_formatter;get formatter(){return this._formatter??=new _O({client:this.client})}}function NO(O){if(!O?.fetch)O={...O,fetch:(Z)=>{return Z.timeout=!1,fetch(Z)}};if(O?.directory)O.headers={...O.headers,"x-qitqode-directory":encodeURIComponent(O.directory)};return O}function eO(O,$,Z){if(!O)return;if(!$)return O;if(O===$)return $;if(Z&&O===Z($))return $;return O}function $1(O,$){if(O.method!=="GET"&&O.method!=="HEAD")return O;let Z=new URL(O.url),J=!1;for(let[D,W]of[["x-qitqode-directory","directory"],["x-qitqode-workspace","workspace"]]){let G=eO(O.headers.get(D),W==="directory"?$.directory:$.workspace,W==="directory"?encodeURIComponent:void 0);if(!G)continue;if(!Z.searchParams.has(W))Z.searchParams.set(W,G);J=!0}if(!J)return O;let Y=new Request(Z,O);return Y.headers.delete("x-qitqode-directory"),Y.headers.delete("x-qitqode-workspace"),Y}function O1(O){if(O=NO(O),O?.experimental_workspaceID)O.headers={...O.headers,"x-qitqode-workspace":O.experimental_workspaceID};let $=C(O);return $.interceptors.request.use((Z)=>$1(Z,{directory:O?.directory,workspace:O?.experimental_workspaceID})),$.interceptors.response.use((Z)=>{if(Z.headers.get("content-type")==="text/html")throw Error("Request is not supported by this version of QitQode Server (Server responded with text/html)");return Z}),new t({client:$})}var W1=J1(Y1(),1);import xO from"path";var V1="QITQODE_KEY was rejected by the server (401/403). Check that the key is correct and has not expired.",Y$=`[qitqode] ${V1}`;function BO(O){if(O?.type!=="api"||typeof O.key!=="string")return;let Z=O.metadata?.method==="api-key"?"api-key":"sso";return{key:O.key,method:Z}}async function v(){if(process.env.QITQODE_KEY)return{key:process.env.QITQODE_KEY,method:"api-key"};let O=xO.join(J$.Path.data,"auth.json");try{let{readFile:$}=await import("fs/promises"),Z=await X$.withLock("auth-file",async()=>{let J=await $(O,"utf8"),Y=JSON.parse(J);return BO(Y?.forgewise)});if(Z)return Z}catch{}if(process.env.QITQODE_AUTH_CONTENT)try{let $=JSON.parse(process.env.QITQODE_AUTH_CONTENT);return BO($?.forgewise)}catch{}return}async function a(){if(process.env.QITQODE_KEY)return;let O=xO.join(J$.Path.data,"auth.json"),{readFile:$,writeFile:Z,chmod:J,rename:Y}=await import("fs/promises");await X$.withLock("auth-file",async()=>{let D=await $(O,"utf8"),W=JSON.parse(D);if(!("forgewise"in W))return;delete W.forgewise;let G=O+".tmp";await Z(G,JSON.stringify(W,null,2),"utf8"),await J(G,384),await Y(G,O)})}function y(O){return O.method==="api-key"?{"x-api-key":O.key}:{authorization:`Bearer ${O.key}`}}var Q$={};D1(Q$,{toolDescriptionEffect:()=>T1,resolveWorkflowSummaries:()=>j1,resolveWorkflowSpec:()=>M1,resolveToolManifest:()=>fO,resolveToolDescription:()=>bO,resolveTierRatings:()=>F1,resolveSubmitBatch:()=>b1,resolveRetrieveBatch:()=>C1,resolvePrompt:()=>kO,resolveListTiers:()=>w1,resolveGetHistory:()=>H1,resolveGenerateInlineComments:()=>P1,resolveGenerateDocumentation:()=>k1,resolveForgewiseConfig:()=>x1,resolveFetchQreditsBalance:()=>A1,resolveCompressTrajectorySafe:()=>q1,resolveChatCompletion:()=>f1,resolveChatBoolean:()=>g1,resolveBraveSearch:()=>E1,resolveBashArity:()=>Q1,resolveAnalyzeCodeForIssues:()=>h1,resolveAgentPrompt:()=>U1,remoteStats:()=>x,isBackendBillingError:()=>z1,clearRemoteCache:()=>K1,beginIdempotentAttempt:()=>hO,BackendRemote:()=>Q$,BackendRateLimitError:()=>m,BackendInsufficientBalanceError:()=>d,BackendAuthRejectedError:()=>H,BackendAccountNotLinkedError:()=>U$});import{createHash as AO,randomUUID as wO}from"crypto";var N=FO.create({service:"backend.remote"}),I$=30000,K$=5000,P=new Map,x={failures:0,authRejections:0,missingPrompts:0,missingToolDescriptions:0},W$=new Set,G$=new Set;class H extends Error{name="BackendAuthRejectedError";constructor(O){super(u.copy().invalidCredentials(O))}}class d extends Error{name="BackendInsufficientBalanceError";status=402;code;constructor(O,$){super(u.copy().insufficientBalance(O));this.code=$}}class m extends Error{name="BackendRateLimitError";status=429;retryAfterMs;constructor(O,$){let Z=O!==void 0?` Retry in about ${Math.max(1,Math.round(O/1000))}s.`:"";super(u.copy().rateLimit+Z+($?` (${$})`:""));this.retryAfterMs=O}}class U$ extends Error{name="BackendAccountNotLinkedError";status=409;constructor(O){super(u.copy().accountNotLinked(O))}}function z1(O){return O instanceof d||O instanceof m}var L1=600000,k=new Map;function I1(O,$){try{return AO("sha256").update(`${O}\x00${JSON.stringify($)}`).digest("hex").slice(0,16)}catch{return"unscoped"}}function hO(O,$,Z){let J=Date.now(),Y;try{Y=AO("sha256").update(`${O}\x00${$}\x00${JSON.stringify(Z)??""}`).digest("hex")}catch{return{key:`${$}-${wO()}`,settle:()=>{}}}let D=()=>k.delete(Y),W=k.get(Y);if(W&&W.expires>J)return{key:W.key,settle:D};if(k.size>256){for(let[V,K]of k)if(K.expires<=J)k.delete(V)}let G=`${$}-${Y.slice(0,16)}-${wO()}`;return k.set(Y,{key:G,expires:J+L1}),{key:G,settle:D}}function K1(){P.clear(),z$.clear(),V$.clear(),W$.clear(),G$.clear(),k.clear()}async function g(O,$){let Z=R.QITQODE_BACKEND_URL,J=Date.now(),Y=`${Z}::${O}`,D=P.get(Y);if(D&&D.expires>J)return D.value;try{let W=await v(),G=W?y(W):void 0,K=await $(HO({baseUrl:Z,headers:G,fetch:(z,L)=>fetch(z,{...L,signal:L?.signal??AbortSignal.timeout(K$)})}));return P.set(Y,{value:K,expires:J+I$}),K}catch(W){if(W instanceof EO){if(x.authRejections++,await a().catch(()=>{}),N.warn("backend rejected the credential; prompting re-auth",{cacheKey:O,baseUrl:Z,status:W.status}),process.env.QITQODE_KEY)N.error(Y$),console.error(Y$);throw new H(`HTTP ${W.status}`)}throw x.failures++,N.warn("backend request failed; surfacing error",{cacheKey:O,baseUrl:Z,error:W instanceof Error?W.message:String(W)}),W}}async function kO(O){if(O.indexOf("/")<=0)return;return g(`prompt:${O}`,($)=>$.prompt(O).then((Z)=>Z??void 0))}async function U1(O){let $=`agent/${O}`,Z=await kO($);if(Z===void 0||Z===""){if(!W$.has(O))W$.add(O),x.missingPrompts++,N.warn("backend served no content for agent prompt; running with an empty prompt",{prompt:$,baseUrl:R.QITQODE_BACKEND_URL,missingPrompts:x.missingPrompts})}return Z}var V$=new Map;function D$(O){let $=V$.get(O);if(!$)$={unsupported:!1},V$.set(O,$);return $}async function S1(){let O=D$(R.QITQODE_BACKEND_URL);if(O.inFlight)return O.inFlight;let $=g("workflow.catalog",(Z)=>Z.workflowSpecs().then((J)=>J??void 0)).then((Z)=>{let J=new Map;for(let Y of Z??[])if(Y&&typeof Y.name==="string"&&typeof Y.script==="string")J.set(Y.name,Y);return J});O.inFlight=$;try{return await $}finally{if(O.inFlight===$)O.inFlight=void 0}}async function PO(O,$){let Z=R.QITQODE_BACKEND_URL;if(!D$(Z).unsupported)try{return O(await S1())}catch(J){if(!gO(J))throw J;D$(Z).unsupported=!0,N.warn("backend has no workflowSpecs route; falling back to per-name workflow lookups",{baseUrl:Z})}return $()}async function j1(){return PO((O)=>[...O.values()].map(({script:$,...Z})=>Z),()=>g("workflow.list",(O)=>O.workflowSummaries()))}async function M1(O){return PO(($)=>$.get(O),()=>g(`workflow.get:${O}`,($)=>$.workflowSpec(O).then((Z)=>Z??void 0)))}async function Q1(){return g("permission.arity",(O)=>O.bashArity())}var z$=new Map;function L$(O){let $=z$.get(O);if(!$)$={unsupported:!1},z$.set(O,$);return $}function gO(O){return O instanceof qO&&(O.status===404||O.status===501)}async function fO(){let O=L$(R.QITQODE_BACKEND_URL);if(O.inFlight)return O.inFlight;let $=g("tool.manifest",(Z)=>Z.toolManifest().then((J)=>J??void 0)).then((Z)=>{let J=new Map;for(let Y of Z??[])if(Y&&typeof Y.id==="string"&&typeof Y.description==="string")J.set(Y.id,Y.description);return J});O.inFlight=$;try{return await $}finally{if(O.inFlight===$)O.inFlight=void 0}}async function bO(O){let $=R.QITQODE_BACKEND_URL,Z;if(!L$($).unsupported)try{Z=(await fO()).get(O)}catch(J){if(!gO(J))throw J;L$($).unsupported=!0,N.warn("backend has no toolManifest route; falling back to one request per tool description",{baseUrl:$})}if(Z===void 0||Z==="")Z=await g(`tool.description:${O}`,(J)=>J.toolDescription(O).then((Y)=>Y??void 0));if(Z===void 0||Z===""){if(!G$.has(O))G$.add(O),x.missingToolDescriptions++,N.warn("backend served no content for tool description; running with an empty description",{tool:O,baseUrl:R.QITQODE_BACKEND_URL,missingToolDescriptions:x.missingToolDescriptions})}return Z}function T1(O){return c.promise(()=>bO(O)).pipe(c.catchDefect(($)=>$ instanceof H?c.succeed(void 0):c.die($)))}function _1(O){if(!O)return{};try{let $=JSON.parse(O);if($&&typeof $==="object")return{code:typeof $.error==="string"?$.error:void 0,detail:typeof $.message==="string"?$.message:void 0}}catch{}return{detail:O.slice(0,300)}}function N1(O){let $=O.headers?.get?.("retry-after-ms");if($){let J=Number.parseFloat($);if(!Number.isNaN(J))return J}let Z=O.headers?.get?.("retry-after");if(Z){let J=Number.parseFloat(Z);if(!Number.isNaN(J))return Math.ceil(J*1000);let Y=Date.parse(Z)-Date.now();if(!Number.isNaN(Y)&&Y>0)return Math.ceil(Y)}return}async function S$(O,$){let Z=await O.text().catch(()=>""),{code:J,detail:Y}=_1(Z);if(O.status===402)return new d(Y,J);if(O.status===409)return new U$(Y);if(O.status===429)return new m(N1(O),Y);let D=Y?`: ${Y}`:J?`: ${J}`:"";return Error(`${$} failed: ${O.status}${D}`)}function B1(O){if(O===null||typeof O!=="object")return O;if(O.data!==void 0)return O.data;let $={};for(let[Z,J]of Object.entries(O)){if(Z==="success"||Z==="data"||Z==="error"||Z==="message")continue;$[Z]=J}return Object.keys($).length>0?$:void 0}function j$(O,$){let{error:Z,message:J}=O;if(Z==="insufficient_balance")return new d(J,Z);if(Z==="rate_limited"||Z==="too_many_requests")return new m(void 0,J);return Error(`${$} returned failure: ${Z??"unknown error"}${J?` \u2014 ${J}`:""}`)}async function q(O,$,Z,J={}){let Y=R.QITQODE_BACKEND_URL,D=`${Y}::post:${O}`;if(!J.noCache){let W=Date.now(),G=P.get(D);if(G&&G.expires>W)return G.value}try{let W=await v(),G=W?y(W):{},V=J.billable?hO(I1(Y,G),$,Z):void 0,K=V?{"x-idempotency-key":V.key}:{},z=await fetch(`${Y}/${$}`,{method:"POST",headers:{"Content-Type":"application/json",...G,...K},body:JSON.stringify(Z),signal:J.signal});if(z.status===401||z.status===403){V?.settle();let U=await z.text().catch(()=>"");if(U.includes("ERR_GATEWAY_REQUIRED"))throw Error(`Backend routing error: ${U}`);throw x.authRejections++,await a().catch(()=>{}),N.warn("backend rejected the credential; prompting re-auth",{fnName:$,baseUrl:Y,status:z.status}),new H(`HTTP ${z.status}`)}if(!z.ok){let U=await S$(z,`Backend POST /${$}`);if(z.status<500)V?.settle();throw U}let L=await z.json(),M=L!==null&&typeof L==="object"&&typeof L.error==="string";if((!J.acceptTopLevel||typeof L?.success==="boolean"||M)&&!L.success)throw V?.settle(),j$(L,`Backend POST /${$}`);V?.settle();let S=J.acceptTopLevel?B1(L):L.data;if(!J.noCache)P.set(D,{value:S,expires:Date.now()+I$});return S}catch(W){if(W instanceof H)throw W;throw x.failures++,N.warn("backend POST request failed; surfacing error",{fnName:$,baseUrl:Y,error:W instanceof Error?W.message:String(W)}),W}}async function M$(O,$,Z={}){let J=R.QITQODE_BACKEND_URL;try{let Y=await v(),D=Y?y(Y):{},W=new URLSearchParams(Object.entries($).map(([z,L])=>[z,String(L)])).toString(),G=W?`${J}/${O}?${W}`:`${J}/${O}`,V=await fetch(G,{method:"GET",headers:{...D},signal:Z.signal});if(V.status===401||V.status===403){let z=await V.text().catch(()=>"");if(z.includes("ERR_GATEWAY_REQUIRED"))throw Error(`Backend routing error: ${z}`);throw x.authRejections++,await a().catch(()=>{}),N.warn("backend rejected the credential; prompting re-auth",{fnName:O,baseUrl:J,status:V.status}),new H(`HTTP ${V.status}`)}if(!V.ok)throw await S$(V,`Backend GET /${O}`);let K=await V.json();if(!K.success)throw j$(K,`Backend GET /${O}`);return K.data}catch(Y){if(Y instanceof H)throw Y;throw x.failures++,N.warn("backend GET request failed; surfacing error",{fnName:O,baseUrl:J,error:Y instanceof Error?Y.message:String(Y)}),Y}}async function R1(O,$,Z){let J=R.QITQODE_BACKEND_URL,Y=`${J}::public:${O}`,D=Date.now(),W=P.get(Y);if(W&&W.expires>D)return W.value;try{let G=await fetch(`${J}/${$}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Z),signal:AbortSignal.timeout(K$)});if(!G.ok)throw await S$(G,`Backend public POST /${$}`);let V=await G.json();if(!V.success)throw j$(V,`Backend public POST /${$}`);let K=V.data;return P.set(Y,{value:K,expires:D+I$}),K}catch(G){throw x.failures++,N.warn("backend public request failed; surfacing error",{fnName:$,baseUrl:J,error:G instanceof Error?G.message:String(G)}),G}}async function x1(){try{return await R1("forgewise.config","forgewiseConfig",{})}catch(O){let $=await v().catch(()=>null);if(!$)throw O;let Z=R.QITQODE_BACKEND_URL,J=await fetch(`${Z}/forgewiseConfig`,{method:"POST",headers:{"Content-Type":"application/json",...y($)},body:JSON.stringify({}),signal:AbortSignal.timeout(K$)}).catch(()=>null);if(!J?.ok)throw O;let Y=await J.json().catch(()=>null);if(!Y?.success)throw O;return Y.data}}async function w1(){return M$("listTiers",{}).then((O)=>{if(!Array.isArray(O))return[];return O.flatMap(($)=>{if(typeof $==="string")return[{id:$}];if(!$||typeof $!=="object"||Array.isArray($))return[];let Z=$;return typeof Z.id==="string"?[{id:Z.id,...typeof Z.label==="string"?{label:Z.label}:{},...typeof Z.providerID==="string"?{providerID:Z.providerID}:{},...typeof Z.modelID==="string"?{modelID:Z.modelID}:{}}]:[]})}).catch((O)=>{return N.warn("listTiers fetch failed; using hardcoded tier fallback",{error:O instanceof Error?O.message:String(O)}),[]})}async function F1(){return M$("TIER_RATINGS",{}).catch((O)=>{N.warn("TIER_RATINGS fetch failed; no tier ratings will be shown",{error:O instanceof Error?O.message:String(O)});return})}async function q1(O){return q("compaction.trajectory","compressTrajectorySafe",O,{noCache:!0,billable:!0,signal:AbortSignal.timeout(120000)})}async function E1(O,$){let Z=$?.timeoutMs??30000,J={query:O};if($?.numResults)J.options={count:$.numResults};return q("brave.search","braveSearch",J,{noCache:!0,signal:AbortSignal.timeout(Z)})}async function H1(O){return q("qredits.history","getHistory",O,{noCache:!0})}async function A1(O){return q("forgewise.qredits.balance","fetchQreditsBalance",O,{noCache:!0,acceptTopLevel:!0})}async function h1(O){return q(`code.analyze:${O.filePath}`,"analyzeCodeForIssues",O,{noCache:!0,billable:!0,signal:AbortSignal.timeout(60000)})}async function k1(O){return q(`code.docs:${O.filePath}:${O.functionName??""}`,"generateDocumentation",O,{noCache:!0,billable:!0,signal:AbortSignal.timeout(60000)})}async function P1(O){return q(`code.comments:${O.filePath}`,"generateInlineComments",O,{noCache:!0,billable:!0,signal:AbortSignal.timeout(60000)})}async function g1(O,$,Z){return q("chat.boolean","chatBoolean",{sample:O,test:$},{noCache:!0,billable:!0,signal:AbortSignal.timeout(Z?.timeoutMs??30000)})}async function f1(O,$){let Z={message:O},J={};if($?.provider!==void 0)J.provider=$.provider;if($?.temperature!==void 0)J.temperature=$.temperature;if($?.maxTokens!==void 0)J.maxTokens=$.maxTokens;if(Object.keys(J).length>0)Z.options=J;return q("chat.completion","chatCompletion",Z,{noCache:!0,billable:!0,signal:AbortSignal.timeout($?.timeoutMs??30000)})}async function b1(O){return q("batch.submit","submitBatch",O,{noCache:!0,billable:!0,signal:AbortSignal.timeout(60000)})}async function C1(O){return M$("retrieveBatch",{batchId:O.batchId},{signal:AbortSignal.timeout(30000)})}
8
- export{NO as mo,O1 as no,V1 as oo,Y$ as po,v as qo,a as ro,H as so,d as to,m as uo,U$ as vo,x1 as wo,w1 as xo,F1 as yo,H1 as zo,A1 as Ao,Q$ as Bo};
8
+ export{NO as Lp,O1 as Mp,V1 as Np,Y$ as Op,v as Pp,a as Qp,H as Rp,d as Sp,m as Tp,U$ as Up,x1 as Vp,w1 as Wp,F1 as Xp,H1 as Yp,A1 as Zp,Q$ as _p};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{le as a,me as b,ne as c,oe as d,pe as e,qe as f,re as g}from"./chunk-dcndy4sr.js";import"./chunk-wgk7ynt3.js";import"./chunk-41v0x1jk.js";import"./chunk-a3a1trap.js";import"./chunk-3k2b05fv.js";export{g as fromEnv,c as ENV_SESSION,b as ENV_SECRET,a as ENV_KEY,d as ENV_EXPIRATION,e as ENV_CREDENTIAL_SCOPE,f as ENV_ACCOUNT_ID};