@qitqode/qitqode-android-arm64 0.2.7 → 0.2.8

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-ga6wc979.js → chunk-03zpnwk2.js} +1 -1
  2. package/bundle/{chunk-qdvnscxm.js → chunk-0a4pmkc9.js} +1 -1
  3. package/bundle/chunk-0aqdzyar.js +2 -0
  4. package/bundle/{chunk-drnj1a14.js → chunk-0egrckx0.js} +1 -1
  5. package/bundle/{chunk-368jx5dp.js → chunk-0tcggtwv.js} +1 -1
  6. package/bundle/{chunk-0qpqd7nz.js → chunk-0tm6589k.js} +2 -2
  7. package/bundle/{chunk-0gsw04hw.js → chunk-0w19vmd7.js} +2 -2
  8. package/bundle/{chunk-j6xmgn63.js → chunk-0z1keh2w.js} +1 -1
  9. package/bundle/{chunk-aa2n02qk.js → chunk-1bxfzd6r.js} +2 -2
  10. package/bundle/{chunk-hrtze4c5.js → chunk-1har4t9a.js} +1 -1
  11. package/bundle/{chunk-33jcxsbe.js → chunk-1p9s5jj1.js} +1 -1
  12. package/bundle/{chunk-p40z6510.js → chunk-1v0khv7p.js} +1 -1
  13. package/bundle/{chunk-2c26kxp4.js → chunk-26cr51wa.js} +1 -1
  14. package/bundle/{chunk-eeq0krp7.js → chunk-27saej0r.js} +2 -2
  15. package/bundle/{chunk-ppy0jy6j.js → chunk-29gwtcey.js} +1 -1
  16. package/bundle/chunk-2a5gjgvp.js +2 -0
  17. package/bundle/{chunk-bn71wqqf.js → chunk-2caaqmec.js} +1 -1
  18. package/bundle/{chunk-hhk2sp5n.js → chunk-2kh0tg92.js} +1 -1
  19. package/bundle/{chunk-bd505nsd.js → chunk-2nheahmq.js} +1 -1
  20. package/bundle/chunk-2pkfphgb.js +2 -0
  21. package/bundle/{chunk-jxkrhrp0.js → chunk-2qm46qvn.js} +1 -1
  22. package/bundle/{chunk-ajp53ksp.js → chunk-2t5yh25f.js} +1 -1
  23. package/bundle/{chunk-4fy08jcj.js → chunk-2vaphpz0.js} +1 -1
  24. package/bundle/{chunk-5nhwqg7c.js → chunk-33ebjca6.js} +1 -1
  25. package/bundle/{chunk-yxttz5z5.js → chunk-35fj1sfm.js} +1 -1
  26. package/bundle/{chunk-makecdh6.js → chunk-37cbrnke.js} +5 -5
  27. package/bundle/{chunk-1vpx7szf.js → chunk-3bb4aqh9.js} +1 -1
  28. package/bundle/chunk-3cx4p07h.js +2 -0
  29. package/bundle/chunk-3f2cjzb4.js +2 -0
  30. package/bundle/chunk-3qvap1kv.js +2 -0
  31. package/bundle/{chunk-c8prg3jx.js → chunk-3va85mbe.js} +2 -2
  32. package/bundle/{chunk-wvb17w0z.js → chunk-3z2zn8rj.js} +1 -1
  33. package/bundle/{chunk-ghap1n1m.js → chunk-3zwma68w.js} +4 -4
  34. package/bundle/{chunk-abv0fskc.js → chunk-4064rbtp.js} +1 -1
  35. package/bundle/{chunk-84pjdenq.js → chunk-42hvspe7.js} +1 -1
  36. package/bundle/chunk-452tk6v3.js +2 -0
  37. package/bundle/{chunk-w3zhy5vq.js → chunk-48gap82w.js} +1 -1
  38. package/bundle/{chunk-q87fw8dk.js → chunk-4aajzxm9.js} +1 -1
  39. package/bundle/{chunk-4ftjx7ss.js → chunk-4gqb1hps.js} +1 -1
  40. package/bundle/{chunk-gww0skmn.js → chunk-4pmvxnkj.js} +1 -1
  41. package/bundle/chunk-50qgz5ka.js +2 -0
  42. package/bundle/{chunk-4zhrg3rv.js → chunk-52xvhxek.js} +1 -1
  43. package/bundle/{chunk-8hmt3avx.js → chunk-56wq8cqj.js} +1 -1
  44. package/bundle/{chunk-5r05d901.js → chunk-58f4y4b7.js} +2 -2
  45. package/bundle/{chunk-mbbxedsq.js → chunk-59csnjc3.js} +2 -2
  46. package/bundle/chunk-5b0xyq5z.js +2 -0
  47. package/bundle/{chunk-0ggvqmnm.js → chunk-5bv63rqj.js} +1 -1
  48. package/bundle/{chunk-vfb72vdy.js → chunk-5cw8235e.js} +1 -1
  49. package/bundle/{chunk-yd94wz5v.js → chunk-5f0nhthe.js} +1 -1
  50. package/bundle/chunk-5j4nxpdy.js +2 -0
  51. package/bundle/{chunk-r4kg0z96.js → chunk-5nmm1kvx.js} +1 -1
  52. package/bundle/chunk-5nxgk6hw.js +2 -0
  53. package/bundle/chunk-5qkvhr6y.js +2 -0
  54. package/bundle/{chunk-5zh91zk2.js → chunk-5r7c6vvx.js} +1 -1
  55. package/bundle/{chunk-c6cajbyj.js → chunk-5wx962mw.js} +1 -1
  56. package/bundle/{chunk-7sq5dyv1.js → chunk-5xkp27b1.js} +1 -1
  57. package/bundle/chunk-66qmmmdp.js +2 -0
  58. package/bundle/{chunk-vhzx5bxd.js → chunk-66wv82vf.js} +1 -1
  59. package/bundle/chunk-6dpdkzrk.js +2 -0
  60. package/bundle/chunk-6p6m5956.js +3 -0
  61. package/bundle/{chunk-n4qxj391.js → chunk-6ps30qax.js} +1 -1
  62. package/bundle/{chunk-gbxf6e5d.js → chunk-6qwk6z87.js} +3 -3
  63. package/bundle/{chunk-kmzpeq8k.js → chunk-6tqbnxar.js} +1 -1
  64. package/bundle/{chunk-gdew7bwm.js → chunk-6yhn9syz.js} +1 -1
  65. package/bundle/{chunk-2pex3ak9.js → chunk-72crs18f.js} +1 -1
  66. package/bundle/{chunk-mghnkwp8.js → chunk-7adsab4h.js} +1 -1
  67. package/bundle/{chunk-aqcpk2vg.js → chunk-7b60whxm.js} +1 -1
  68. package/bundle/chunk-7g59hc61.js +2 -0
  69. package/bundle/{chunk-52rdms56.js → chunk-7jy53zqy.js} +1 -1
  70. package/bundle/chunk-7p88j56s.js +2 -0
  71. package/bundle/{chunk-t4b2fm7z.js → chunk-7thhd7ds.js} +1 -1
  72. package/bundle/chunk-7trngc9g.js +2 -0
  73. package/bundle/{chunk-yjqww6ag.js → chunk-82xrfk5x.js} +2 -2
  74. package/bundle/{chunk-4fvbexr8.js → chunk-85wh85pk.js} +1 -1
  75. package/bundle/chunk-8cebbmtf.js +2 -0
  76. package/bundle/chunk-8csas2jc.js +2 -0
  77. package/bundle/chunk-8g4jdqq1.js +2 -0
  78. package/bundle/chunk-8j1xcdmd.js +2 -0
  79. package/bundle/{chunk-ntpn0w9m.js → chunk-8jmb5bd4.js} +2 -2
  80. package/bundle/{chunk-pf3nqf00.js → chunk-8ysp6vf8.js} +1 -1
  81. package/bundle/{chunk-3k7016c2.js → chunk-8yzghzjq.js} +1 -1
  82. package/bundle/{chunk-73xryfgn.js → chunk-9009v4d0.js} +2 -2
  83. package/bundle/chunk-90r2z49k.js +2 -0
  84. package/bundle/{chunk-amp6mvbp.js → chunk-92r1gw2j.js} +1 -1
  85. package/bundle/{chunk-ktp2b4t4.js → chunk-94mjwy22.js} +1 -1
  86. package/bundle/{chunk-f84hw65n.js → chunk-9cf2ktyh.js} +1 -1
  87. package/bundle/{chunk-16srrzjr.js → chunk-9cn8cmt0.js} +1 -1
  88. package/bundle/{chunk-x55h5qdc.js → chunk-a1z8rnq7.js} +3 -3
  89. package/bundle/{chunk-c3szabpf.js → chunk-a48mx917.js} +2 -2
  90. package/bundle/{chunk-prbxhnza.js → chunk-a8bjcvda.js} +1 -1
  91. package/bundle/chunk-aenrd7dk.js +2 -0
  92. package/bundle/{chunk-dw70wds9.js → chunk-afr8m0q1.js} +1 -1
  93. package/bundle/{chunk-7p6mxch0.js → chunk-ag8wxwwz.js} +1 -1
  94. package/bundle/{chunk-22qetqnp.js → chunk-ahmy80vb.js} +1 -1
  95. package/bundle/chunk-avn12jkt.js +2 -0
  96. package/bundle/{chunk-tc9xbn1t.js → chunk-ax64ngf2.js} +1 -1
  97. package/bundle/{chunk-4ngmjk8j.js → chunk-ayb3bdb7.js} +1 -1
  98. package/bundle/{chunk-0crgymtr.js → chunk-az3nss5m.js} +2 -2
  99. package/bundle/chunk-b7ncyat6.js +2 -0
  100. package/bundle/{chunk-dt1wwt7m.js → chunk-b7sr9rn3.js} +1 -1
  101. package/bundle/{chunk-9qzwmt76.js → chunk-bc2krtaf.js} +1 -1
  102. package/bundle/{chunk-0bgssfvq.js → chunk-bjv1h2dq.js} +1 -1
  103. package/bundle/{chunk-8jvfqh3b.js → chunk-bnaj2hh3.js} +1 -1
  104. package/bundle/{chunk-twvmjsxf.js → chunk-bpfq8fz4.js} +1 -1
  105. package/bundle/chunk-brk6bge4.js +3 -0
  106. package/bundle/{chunk-s06t769q.js → chunk-bwadggys.js} +1 -1
  107. package/bundle/chunk-c2a74stf.js +2 -0
  108. package/bundle/{chunk-76h0f86f.js → chunk-c3yjbent.js} +1 -1
  109. package/bundle/{chunk-spzd8rev.js → chunk-c76cjhn0.js} +1 -1
  110. package/bundle/{chunk-705xnxbc.js → chunk-ccf4pgkr.js} +1 -1
  111. package/bundle/chunk-ce5e7j62.js +2 -0
  112. package/bundle/{chunk-2bjfz4fb.js → chunk-cf9m9m9q.js} +1 -1
  113. package/bundle/{chunk-z7kswv9r.js → chunk-cfwz1hgr.js} +3 -3
  114. package/bundle/{chunk-dgva3y5v.js → chunk-cghz0855.js} +1 -1
  115. package/bundle/{chunk-a76w2jwm.js → chunk-cr5tknvb.js} +1 -1
  116. package/bundle/chunk-cw1gwjx9.js +2 -0
  117. package/bundle/chunk-czw30fjs.js +2 -0
  118. package/bundle/{chunk-x80d0zh7.js → chunk-d30k7dpf.js} +1 -1
  119. package/bundle/{chunk-x9fyt3vx.js → chunk-d839fr0w.js} +1 -1
  120. package/bundle/{chunk-n0g4983e.js → chunk-ddx2pcr4.js} +1 -1
  121. package/bundle/{chunk-4byvnx78.js → chunk-dgcannw0.js} +1 -1
  122. package/bundle/{chunk-4rpgwgx9.js → chunk-dhvx9p54.js} +1 -1
  123. package/bundle/chunk-dmkgjf1v.js +3 -0
  124. package/bundle/{chunk-z744mz4w.js → chunk-dt3bsmfe.js} +2 -2
  125. package/bundle/chunk-dwhsvpag.js +2 -0
  126. package/bundle/{chunk-4j76bf4j.js → chunk-dwkrqtbc.js} +1 -1
  127. package/bundle/chunk-e01jgnnm.js +2 -0
  128. package/bundle/chunk-e0hfpdje.js +2 -0
  129. package/bundle/{chunk-f2pv705d.js → chunk-e0vrxetq.js} +1 -1
  130. package/bundle/{chunk-59kk0mce.js → chunk-e2wfj86b.js} +1 -1
  131. package/bundle/chunk-e5jk67xh.js +2 -0
  132. package/bundle/{chunk-ae7b11np.js → chunk-eacpc64g.js} +2 -2
  133. package/bundle/{chunk-hqjc4wgg.js → chunk-eewe7tx1.js} +2 -2
  134. package/bundle/{chunk-etv6c77a.js → chunk-eg1m81ax.js} +1 -1
  135. package/bundle/chunk-eg4pq4hv.js +2 -0
  136. package/bundle/{chunk-9xxnwb33.js → chunk-ejhhrece.js} +3 -3
  137. package/bundle/{chunk-nfzpegqx.js → chunk-epmc4aht.js} +1 -1
  138. package/bundle/chunk-ew3yz97p.js +2 -0
  139. package/bundle/chunk-ezgfhy4e.js +2 -0
  140. package/bundle/{chunk-19pspc1p.js → chunk-f2v4g7t1.js} +1 -1
  141. package/bundle/chunk-f2yfyhh8.js +2 -0
  142. package/bundle/chunk-f30em1wx.js +2 -0
  143. package/bundle/{chunk-k3g28tbw.js → chunk-f81kk8ra.js} +1 -1
  144. package/bundle/{chunk-p847g35y.js → chunk-f8cae1ap.js} +1 -1
  145. package/bundle/{chunk-vp3yf46q.js → chunk-fa8pwdwv.js} +1 -1
  146. package/bundle/{chunk-dz3bec8g.js → chunk-fej5x648.js} +1 -1
  147. package/bundle/{chunk-14d301ze.js → chunk-fge37dke.js} +1 -1
  148. package/bundle/{chunk-0tqmm8b8.js → chunk-fh3d0wce.js} +1 -1
  149. package/bundle/{chunk-twd6r7nf.js → chunk-fjftb2sz.js} +1 -1
  150. package/bundle/{chunk-xhh70g8j.js → chunk-fs1vb39f.js} +2 -2
  151. package/bundle/{chunk-9g9katgy.js → chunk-ftvvm4r5.js} +2 -2
  152. package/bundle/{chunk-ptwex14s.js → chunk-fw1f47de.js} +1 -1
  153. package/bundle/{chunk-y2t5pmqw.js → chunk-g26redah.js} +1 -1
  154. package/bundle/{chunk-acd72413.js → chunk-g3n465ee.js} +1 -1
  155. package/bundle/{chunk-hfefq104.js → chunk-g4tyaj0m.js} +1 -1
  156. package/bundle/{chunk-a610qd3x.js → chunk-g6y2c5az.js} +1 -1
  157. package/bundle/{chunk-tezrgfc6.js → chunk-g7v6sp3c.js} +2 -2
  158. package/bundle/{chunk-4bewbvvr.js → chunk-g878zd6e.js} +1 -1
  159. package/bundle/{chunk-na1wr2qf.js → chunk-g9nwqwqp.js} +1 -1
  160. package/bundle/chunk-gbvm6dpv.js +2 -0
  161. package/bundle/{chunk-ns8xnkjb.js → chunk-gc5rhnht.js} +1 -1
  162. package/bundle/{chunk-q6p92zyn.js → chunk-gefx3n08.js} +1 -1
  163. package/bundle/{chunk-xcxqt8ag.js → chunk-ggncq8w8.js} +1 -1
  164. package/bundle/{chunk-gwrnxcdn.js → chunk-gsg6zn7e.js} +1 -1
  165. package/bundle/{chunk-4jpab7ag.js → chunk-gznt3dv8.js} +1 -1
  166. package/bundle/{chunk-defj5zs6.js → chunk-h1bvqstw.js} +1 -1
  167. package/bundle/{chunk-dd4qnh8s.js → chunk-h4hs2rhf.js} +1 -1
  168. package/bundle/chunk-h5w91zr4.js +2 -0
  169. package/bundle/{chunk-qp3hxqg5.js → chunk-h8mfbbjh.js} +1 -1
  170. package/bundle/{chunk-w43kmnm9.js → chunk-he9kpk9r.js} +357 -357
  171. package/bundle/chunk-hmpb3c21.js +2 -0
  172. package/bundle/{chunk-6gqs1k7m.js → chunk-hz02vrqs.js} +1 -1
  173. package/bundle/{chunk-3xdmxm5t.js → chunk-j10a984e.js} +1 -1
  174. package/bundle/chunk-j32rr7rt.js +2 -0
  175. package/bundle/chunk-j871xzr7.js +2 -0
  176. package/bundle/{chunk-kfj37631.js → chunk-jmmtcr2r.js} +1 -1
  177. package/bundle/{chunk-h7658zxy.js → chunk-jpn9zfj5.js} +1 -1
  178. package/bundle/{chunk-wgt1tqw9.js → chunk-jqj1ay7x.js} +1 -1
  179. package/bundle/{chunk-e4g4mvak.js → chunk-jr80q31w.js} +1 -1
  180. package/bundle/chunk-k3hgwszx.js +2 -0
  181. package/bundle/{chunk-k6zwfstj.js → chunk-kckr30tf.js} +1 -1
  182. package/bundle/{chunk-8rfqv5he.js → chunk-kgv68cpb.js} +1 -1
  183. package/bundle/{chunk-tkzctbxq.js → chunk-khpfseej.js} +2 -2
  184. package/bundle/{chunk-55way0em.js → chunk-kveztc6k.js} +1 -1
  185. package/bundle/{chunk-znmbfx70.js → chunk-kwfe4em6.js} +1 -1
  186. package/bundle/chunk-kx88qekb.js +2 -0
  187. package/bundle/{chunk-nbckdba0.js → chunk-m4r8sepw.js} +1 -1
  188. package/bundle/{chunk-6ychs4wx.js → chunk-m7tmgvh6.js} +1 -1
  189. package/bundle/{chunk-egkhynj5.js → chunk-makegrxs.js} +1 -1
  190. package/bundle/{chunk-438faz6b.js → chunk-mr17tppa.js} +1 -1
  191. package/bundle/{chunk-yzpc5kj2.js → chunk-mv7q6ach.js} +1 -1
  192. package/bundle/chunk-n61e0znt.js +2 -0
  193. package/bundle/{chunk-kry4vcrf.js → chunk-n6tqtk6h.js} +2 -2
  194. package/bundle/chunk-n6v36np0.js +2 -0
  195. package/bundle/chunk-ndd4cn3z.js +2 -0
  196. package/bundle/{chunk-d1tb1jd0.js → chunk-nfafk3ts.js} +1 -1
  197. package/bundle/{chunk-b6eypnbj.js → chunk-nga216dm.js} +1 -1
  198. package/bundle/{chunk-qbrj9wzd.js → chunk-njsmma3a.js} +1 -1
  199. package/bundle/{chunk-bk7f59fn.js → chunk-ntr0ezf2.js} +1 -1
  200. package/bundle/chunk-nwj6mcxz.js +2 -0
  201. package/bundle/{chunk-cth373se.js → chunk-p2fte9vz.js} +2 -2
  202. package/bundle/chunk-p5b5ekhh.js +2 -0
  203. package/bundle/chunk-pf23nw4z.js +2 -0
  204. package/bundle/{chunk-whw18cn9.js → chunk-phf37x1c.js} +1 -1
  205. package/bundle/{chunk-r73e8gsp.js → chunk-phpxxd48.js} +1 -1
  206. package/bundle/{chunk-1ay97v74.js → chunk-pqg1wjb5.js} +1 -1
  207. package/bundle/chunk-pw3cv89g.js +2 -0
  208. package/bundle/{chunk-77h8tytk.js → chunk-q3c8mfbq.js} +1 -1
  209. package/bundle/{chunk-0am156m5.js → chunk-qbnt4ynd.js} +1 -1
  210. package/bundle/chunk-qc89yj61.js +2 -0
  211. package/bundle/{chunk-mjrqhbp2.js → chunk-qgek59e6.js} +1 -1
  212. package/bundle/{chunk-npzx3yd5.js → chunk-qgfbsmsx.js} +1 -1
  213. package/bundle/{chunk-v9w88wpy.js → chunk-qgkb6n8k.js} +1 -1
  214. package/bundle/{chunk-2c41dncf.js → chunk-qk1jkc0n.js} +1 -1
  215. package/bundle/{chunk-wb1d3mqw.js → chunk-qk5vy2pr.js} +1 -1
  216. package/bundle/chunk-qn8tz704.js +2 -0
  217. package/bundle/{chunk-9a6p1gdn.js → chunk-qq9m8fxv.js} +7 -7
  218. package/bundle/{chunk-5b3v1x2c.js → chunk-qxdpgdfk.js} +2 -2
  219. package/bundle/chunk-qxre2gqn.js +2 -0
  220. package/bundle/chunk-rdk62809.js +2 -0
  221. package/bundle/chunk-rew6r516.js +2 -0
  222. package/bundle/chunk-rjhvdfn5.js +2 -0
  223. package/bundle/chunk-rmsqb6r4.js +10 -0
  224. package/bundle/{chunk-qph2c2v7.js → chunk-rva2ekrt.js} +1 -1
  225. package/bundle/{chunk-7z96r2px.js → chunk-rwnwjm82.js} +1 -1
  226. package/bundle/{chunk-tz3s8dvy.js → chunk-rye1yjnr.js} +1 -1
  227. package/bundle/{chunk-t9qyzzsz.js → chunk-ryrxgn6d.js} +1 -1
  228. package/bundle/{chunk-wjz42325.js → chunk-s2tc3qs0.js} +2 -2
  229. package/bundle/{chunk-djqxbnwc.js → chunk-s8z7v1me.js} +1 -1
  230. package/bundle/{chunk-msh249db.js → chunk-sa0rrreh.js} +2 -2
  231. package/bundle/{chunk-dbpkq7ba.js → chunk-sbjymf20.js} +2 -2
  232. package/bundle/{chunk-n5p7cn4w.js → chunk-scnbt714.js} +1 -1
  233. package/bundle/chunk-skgr9ypq.js +2 -0
  234. package/bundle/{chunk-rhrcgvb8.js → chunk-sm1g81cv.js} +1 -1
  235. package/bundle/chunk-sv40pwe2.js +2 -0
  236. package/bundle/{chunk-qprbef09.js → chunk-sy9w1t2y.js} +1 -1
  237. package/bundle/{chunk-bd84t3fb.js → chunk-sz0favtz.js} +1 -1
  238. package/bundle/{chunk-xb3sxa6f.js → chunk-t18ka1e7.js} +1 -1
  239. package/bundle/{chunk-va2qfh0x.js → chunk-t3w43rft.js} +1 -1
  240. package/bundle/{chunk-n9twhc5d.js → chunk-t6zz47zk.js} +1 -1
  241. package/bundle/{chunk-wd8hbven.js → chunk-t8fjgkp8.js} +1 -1
  242. package/bundle/{chunk-6r48fje7.js → chunk-tbx741en.js} +1 -1
  243. package/bundle/chunk-tfhpjmny.js +2 -0
  244. package/bundle/chunk-tnete6ye.js +2 -0
  245. package/bundle/{chunk-2y87m7pe.js → chunk-tpyq7ycb.js} +1 -1
  246. package/bundle/{chunk-nftbj8g9.js → chunk-trstb8ee.js} +1 -1
  247. package/bundle/chunk-tsmj98yf.js +5 -0
  248. package/bundle/{chunk-skxg3s8z.js → chunk-txkdt4ep.js} +1 -1
  249. package/bundle/chunk-v5h5wxw5.js +2 -0
  250. package/bundle/chunk-v6141yq1.js +2 -0
  251. package/bundle/{chunk-vjn54xj5.js → chunk-vbfej8ds.js} +2 -2
  252. package/bundle/{chunk-9aafddkw.js → chunk-vfd3azkp.js} +1 -1
  253. package/bundle/chunk-vjs69r6x.js +2 -0
  254. package/bundle/{chunk-ts2k13g0.js → chunk-vkjqy92f.js} +1 -1
  255. package/bundle/chunk-vmhar83s.js +2 -0
  256. package/bundle/{chunk-zp5sr5nx.js → chunk-vph4w4yy.js} +1 -1
  257. package/bundle/chunk-vqvnw12p.js +2 -0
  258. package/bundle/{chunk-0g0jpw0z.js → chunk-vr8nwzp0.js} +1 -1
  259. package/bundle/{chunk-nrk29616.js → chunk-vs3s49jw.js} +1 -1
  260. package/bundle/{chunk-v0c3k797.js → chunk-vsqvnxbz.js} +1 -1
  261. package/bundle/{chunk-rqedtjz9.js → chunk-w0nc0gcx.js} +1 -1
  262. package/bundle/{chunk-y5q9v80n.js → chunk-w0sng8a9.js} +1 -1
  263. package/bundle/chunk-w0sztk4y.js +2 -0
  264. package/bundle/chunk-w6bb320d.js +2 -0
  265. package/bundle/{chunk-t8sy5sgx.js → chunk-w7a33cwa.js} +2 -2
  266. package/bundle/{chunk-2cjfezfr.js → chunk-w9qh2479.js} +1 -1
  267. package/bundle/{chunk-42q8vj0w.js → chunk-waa1ggtj.js} +1 -1
  268. package/bundle/{chunk-v3nmnm57.js → chunk-wb05bp10.js} +2 -2
  269. package/bundle/{chunk-agqss9ga.js → chunk-wb47k8ah.js} +2 -2
  270. package/bundle/{chunk-rfzra502.js → chunk-wd8f9r4k.js} +1 -1
  271. package/bundle/chunk-wf41m019.js +2 -0
  272. package/bundle/{chunk-hwsqqkrv.js → chunk-wgkcyqn1.js} +2 -2
  273. package/bundle/{chunk-dy2k5rdx.js → chunk-wm9nh9nb.js} +2 -2
  274. package/bundle/{chunk-6nxebcf8.js → chunk-wn63q3xp.js} +1 -1
  275. package/bundle/{chunk-z6kcnpsj.js → chunk-wqk1v8t0.js} +2 -2
  276. package/bundle/chunk-wqw6yjrg.js +2 -0
  277. package/bundle/{chunk-q3pt4p9f.js → chunk-wr6rnxr5.js} +1 -1
  278. package/bundle/chunk-ws08rxge.js +2 -0
  279. package/bundle/{chunk-dw7yrk1g.js → chunk-wtt5wms9.js} +1 -1
  280. package/bundle/{chunk-93pmbdz7.js → chunk-wtxh5m6j.js} +6 -6
  281. package/bundle/chunk-wz3dvc3g.js +2 -0
  282. package/bundle/{chunk-vzrc2fmt.js → chunk-x00hwy3x.js} +1 -1
  283. package/bundle/chunk-x2pmqvdc.js +2 -0
  284. package/bundle/chunk-x4wfq39v.js +2 -0
  285. package/bundle/{chunk-q6mcnq9p.js → chunk-xs6v0r9m.js} +1 -1
  286. package/bundle/{chunk-3623jvcm.js → chunk-xy8arehp.js} +1 -1
  287. package/bundle/{chunk-mhxyv9c8.js → chunk-y3gy62q5.js} +1 -1
  288. package/bundle/chunk-yb6m08zj.js +2 -0
  289. package/bundle/{chunk-b79z8f94.js → chunk-ybcqkgs7.js} +1 -1
  290. package/bundle/{chunk-95am490c.js → chunk-ydgst3h8.js} +2 -2
  291. package/bundle/{chunk-twfvrafb.js → chunk-ykpj10nz.js} +1 -1
  292. package/bundle/{chunk-e0zb6sw6.js → chunk-ynf17943.js} +1 -1
  293. package/bundle/{chunk-yy7r3t3w.js → chunk-ytyzrqev.js} +1 -1
  294. package/bundle/{chunk-01e3v1xz.js → chunk-z0kbyr00.js} +2 -2
  295. package/bundle/{chunk-4vzjdmts.js → chunk-zfrftgcy.js} +1 -1
  296. package/bundle/chunk-zj1jc1xt.js +2 -0
  297. package/bundle/{chunk-9sv53kb4.js → chunk-zm0m0504.js} +1 -1
  298. package/bundle/{chunk-gdj7mqrd.js → chunk-zqdjk4rf.js} +1 -1
  299. package/bundle/{chunk-7x2q1w0f.js → chunk-zsg29gba.js} +1 -1
  300. package/bundle/{chunk-1c0yp2gv.js → chunk-zwhmg9dj.js} +1 -1
  301. package/bundle/index.js +3 -3
  302. package/bundle/parser.worker.js +2 -2
  303. package/bundle/worker.js +1 -1
  304. package/package.json +1 -1
  305. package/bundle/chunk-0dzpjk7x.js +0 -2
  306. package/bundle/chunk-12fwmmcp.js +0 -2
  307. package/bundle/chunk-1a95ysv3.js +0 -2
  308. package/bundle/chunk-1akh8pk2.js +0 -2
  309. package/bundle/chunk-2d2a92kj.js +0 -2
  310. package/bundle/chunk-2qrvkef8.js +0 -2
  311. package/bundle/chunk-2tppw8j9.js +0 -2
  312. package/bundle/chunk-3ft1dn9j.js +0 -2
  313. package/bundle/chunk-3rgct4bd.js +0 -11
  314. package/bundle/chunk-4656qm05.js +0 -2
  315. package/bundle/chunk-46knch5z.js +0 -2
  316. package/bundle/chunk-4sgy87h5.js +0 -2
  317. package/bundle/chunk-54hktc8h.js +0 -2
  318. package/bundle/chunk-59m55866.js +0 -2
  319. package/bundle/chunk-5js5nw7r.js +0 -2
  320. package/bundle/chunk-61jn7908.js +0 -2
  321. package/bundle/chunk-61txdqz1.js +0 -2
  322. package/bundle/chunk-668g9wkg.js +0 -2
  323. package/bundle/chunk-6frhjpmt.js +0 -2
  324. package/bundle/chunk-6k14c8x1.js +0 -5
  325. package/bundle/chunk-6r1jpj0h.js +0 -2
  326. package/bundle/chunk-73fn4dqd.js +0 -2
  327. package/bundle/chunk-78j2c2je.js +0 -2
  328. package/bundle/chunk-78jt24ht.js +0 -2
  329. package/bundle/chunk-7j2vpavd.js +0 -2
  330. package/bundle/chunk-7nkxgm72.js +0 -2
  331. package/bundle/chunk-859pkecc.js +0 -2
  332. package/bundle/chunk-8p249svd.js +0 -2
  333. package/bundle/chunk-8rqbx4jw.js +0 -2
  334. package/bundle/chunk-8s3krfsm.js +0 -2
  335. package/bundle/chunk-9wbe0dkx.js +0 -2
  336. package/bundle/chunk-aj5z8qd5.js +0 -2
  337. package/bundle/chunk-b0c2mvc0.js +0 -2
  338. package/bundle/chunk-bbwcsdy9.js +0 -2
  339. package/bundle/chunk-bbzjdbb9.js +0 -2
  340. package/bundle/chunk-bh4s1yct.js +0 -2
  341. package/bundle/chunk-crqcppwq.js +0 -2
  342. package/bundle/chunk-d09zpgj1.js +0 -2
  343. package/bundle/chunk-dexcptaz.js +0 -3
  344. package/bundle/chunk-dgqkak21.js +0 -2
  345. package/bundle/chunk-dhgvh7c3.js +0 -2
  346. package/bundle/chunk-dmd101ja.js +0 -2
  347. package/bundle/chunk-dwb39jdf.js +0 -2
  348. package/bundle/chunk-dx4zxex7.js +0 -2
  349. package/bundle/chunk-e2pqvscp.js +0 -2
  350. package/bundle/chunk-efe6kj3d.js +0 -2
  351. package/bundle/chunk-emac0dss.js +0 -2
  352. package/bundle/chunk-encfnt6w.js +0 -2
  353. package/bundle/chunk-fg2nyz2x.js +0 -2
  354. package/bundle/chunk-ge19ff9d.js +0 -2
  355. package/bundle/chunk-gt0q07xq.js +0 -2
  356. package/bundle/chunk-h4dnjfr2.js +0 -2
  357. package/bundle/chunk-h8fx619t.js +0 -2
  358. package/bundle/chunk-jnvb3s7f.js +0 -2
  359. package/bundle/chunk-jrq2xw6e.js +0 -2
  360. package/bundle/chunk-jwckmhjm.js +0 -2
  361. package/bundle/chunk-jz27ypm5.js +0 -2
  362. package/bundle/chunk-jzrs878d.js +0 -2
  363. package/bundle/chunk-jzx700tb.js +0 -2
  364. package/bundle/chunk-k1x8469r.js +0 -3
  365. package/bundle/chunk-m483jvn8.js +0 -2
  366. package/bundle/chunk-menbcmkq.js +0 -2
  367. package/bundle/chunk-np8h66t0.js +0 -2
  368. package/bundle/chunk-nwwmns3w.js +0 -2
  369. package/bundle/chunk-pe5dpzec.js +0 -2
  370. package/bundle/chunk-q8f6a074.js +0 -2
  371. package/bundle/chunk-qqaevt32.js +0 -2
  372. package/bundle/chunk-qzpvz708.js +0 -2
  373. package/bundle/chunk-reyjr2e0.js +0 -2
  374. package/bundle/chunk-t178njgb.js +0 -2
  375. package/bundle/chunk-tjpev5t6.js +0 -2
  376. package/bundle/chunk-tzq7wjgv.js +0 -3
  377. package/bundle/chunk-v1s16wwd.js +0 -2
  378. package/bundle/chunk-v6b29nx4.js +0 -2
  379. package/bundle/chunk-v6rgd1j5.js +0 -2
  380. package/bundle/chunk-v9dnetq8.js +0 -2
  381. package/bundle/chunk-vd5mpvcc.js +0 -2
  382. package/bundle/chunk-wwct4z7j.js +0 -2
  383. package/bundle/chunk-xr9wz961.js +0 -2
  384. package/bundle/chunk-zfegnt1e.js +0 -2
  385. package/bundle/chunk-zg7kesbp.js +0 -2
  386. package/bundle/chunk-zy06fe4r.js +0 -2
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Af as f,vf as a,wf as b,xf as c,yf as d,zf as e}from"./chunk-gdj7mqrd.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-f2pv705d.js";export{f as createOpenAICompatible,e as VERSION,d as OpenAICompatibleImageModel,c as OpenAICompatibleEmbeddingModel,b as OpenAICompatibleCompletionLanguageModel,a as OpenAICompatibleChatLanguageModel};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{dl as a}from"./chunk-9a6p1gdn.js";import"./chunk-jxkrhrp0.js";import"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import"./chunk-3rgct4bd.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-hqjc4wgg.js";import"./chunk-makecdh6.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-va2qfh0x.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-vjn54xj5.js";import"./chunk-0qpqd7nz.js";import"./chunk-gdew7bwm.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-kry4vcrf.js";import"./chunk-f2pv705d.js";export{a as Session};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{fg as a,gg as b}from"./chunk-n9twhc5d.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-f2pv705d.js";export{a as start,b as Heap};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{GP as a,HP as b,IP as c,JP as d,KP as e,LP as f,MP as g,NP as h,OP as i,PP as j}from"./chunk-wjz42325.js";import"./chunk-f2pv705d.js";export{c as TreeCursor,b as Tree,f as Query,j as Parser,d as Node,i as MIN_COMPATIBLE_VERSION,a as LookaheadIterator,g as Language,h as LANGUAGE_VERSION,e as CaptureQuantifier};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Of as a}from"./chunk-22qetqnp.js";import"./chunk-p8ak162p.js";import"./chunk-nfg7nt13.js";import"./chunk-v9w88wpy.js";import"./chunk-f2pv705d.js";export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{o as L}from"./chunk-ghap1n1m.js";import"./chunk-npzx3yd5.js";import{A as K}from"./chunk-16srrzjr.js";import{B as N}from"./chunk-gsez13bg.js";import{C as F,E as J}from"./chunk-c8k32724.js";import"./chunk-76h0f86f.js";import"./chunk-nfzpegqx.js";import"./chunk-gbkz04ke.js";import"./chunk-abv0fskc.js";import{$ as M}from"./chunk-gww0skmn.js";import"./chunk-x55h5qdc.js";import"./chunk-5zh91zk2.js";import"./chunk-rk0fnvp5.js";import"./chunk-8p0t8qah.js";import"./chunk-4zhrg3rv.js";import{be as B}from"./chunk-f4mnp6xd.js";import"./chunk-438faz6b.js";import"./chunk-qp3hxqg5.js";import"./chunk-djqxbnwc.js";import{eg as z}from"./chunk-s06t769q.js";import"./chunk-4ngmjk8j.js";import"./chunk-dd4qnh8s.js";import"./chunk-w43kmnm9.js";import"./chunk-nrk29616.js";import"./chunk-kre93a89.js";import"./chunk-060wbpz4.js";import"./chunk-zrhw1szj.js";import"./chunk-wd8hbven.js";import"./chunk-drnj1a14.js";import"./chunk-9a6p1gdn.js";import"./chunk-jxkrhrp0.js";import"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import"./chunk-3rgct4bd.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-hqjc4wgg.js";import"./chunk-makecdh6.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-va2qfh0x.js";import"./chunk-ae7b11np.js";import"./chunk-eeq0krp7.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-vjn54xj5.js";import"./chunk-ntpn0w9m.js";import"./chunk-0qpqd7nz.js";import"./chunk-gdew7bwm.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-wjz42325.js";import"./chunk-kry4vcrf.js";import"./chunk-f2pv705d.js";var x=B({command:"attach <url>",describe:"attach to a running qitqode server",builder:(j)=>j.positional("url",{type:"string",describe:"http://localhost:4096",demandOption:!0}).option("dir",{type:"string",description:"directory to run in"}).option("continue",{alias:["c"],describe:"continue the last session",type:"boolean"}).option("session",{alias:["s"],type:"string",describe:"session id to continue"}).option("fork",{type:"boolean",describe:"fork the session when continuing (use with --continue or --session)"}).option("password",{alias:["p"],type:"string",describe:"basic auth password (defaults to QITQODE_SERVER_PASSWORD)"}),handler:async(j)=>{let Q=J();try{F();let q=N(j);if(q){z.error(q),process.exitCode=1;return}let R=(()=>{if(!j.dir)return;try{return process.chdir(j.dir),process.cwd()}catch{return j.dir}})(),S=M({password:j.password}),V=await K.get();await L({url:j.url,config:V,args:{continue:j.continue,sessionID:j.session,fork:j.fork},directory:R,headers:S})}finally{Q?.()}}});export{x as AttachCommand};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Hr as a,Ir as b}from"./chunk-va2qfh0x.js";import"./chunk-f2pv705d.js";export{a as generateSecret,b as generateCodeChallengeFromVerifier};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Af as h}from"./chunk-gdj7mqrd.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-f2pv705d.js";var v=(q)=>{return h({baseURL:"https://gateway.ai.cloudflare.com/v1/compat",name:"Unified",...q||{}})},x=v();export{x as unified,v as createUnified};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var a="./highlights-x6tmsnaa.scm";export{a as default};
@@ -1,5 +0,0 @@
1
- // @bun
2
- import{Ul as no,Vl as Vt,Wl as oo,Xl as qt,Zl as Qt,_l as Dt}from"./chunk-5r05d901.js";import{$l as Nr,$m as fi,$n as Xi,Am as Wr,An as Ai,Bm as Pr,Bn as Ti,Cm as Ur,Cn as Oi,Dm as Zr,Dn as $i,Do as Zt,Em as Xr,En as Bi,Fm as Yr,Fn as Lo,Gm as vr,Gn as Go,Hm as x,Hn as Qi,Im as zr,In as Di,Jm as kr,Jn as Ii,Km as Vr,Kn as li,Lm as qr,Ln as Li,Mm as wr,Mn as di,Nm as Fr,Nn as Gi,Om as cr,On as Ji,Pm as jr,Pn as Ci,Qm as br,Qn as Hi,Rm as hr,Rn as Mi,Sm as ar,Sn as xi,Tm as ni,Tn as Ki,Um as oi,Un as Ri,Vm as ri,Vn as Ei,Wm as ii,Wn as Si,Xm as ti,Xn as Wi,Ym as ei,Yn as Pi,Zm as mi,Zn as Ui,_m as yi,_n as Zi,am as pr,an as gi,ao as Yi,bm as Sn,bn as j,bo as vi,cm as Wn,cn as D,co as zi,dm as sr,dn as fn,do as ki,em as Ar,en as yn,eo as Vi,fm as Tr,fn as vo,fo as qi,gn as ui,go as wi,hm as Or,hn as Y,ho as Fi,im as $r,in as _o,io as ci,jm as Br,jn as Pn,jo as ji,km as Qr,kn as No,ko as bi,lm as Dr,ln as po,lo as hi,mm as Ir,mn as so,mo as ai,nm as lr,nn as Ao,no as nt,om as Lr,on as To,oo as ot,pm as dr,pn as Oo,po as rt,qm as Gr,qn as $o,qo as it,rm as Jr,rn as _i,ro as tt,sm as Cr,sn as Bo,so as et,tm as Hr,tn as Qo,to as mt,um as Mr,un as Do,uo as yt,vm as xr,vn as Ni,vo as jo,wm as Kr,wn as Io,wo as ft,xm as Rr,xn as pi,xo as gt,ym as Er,yn as lo,yo as ut,zm as Sr,zn as si}from"./chunk-3rgct4bd.js";import{ip as hn,mp as an}from"./chunk-95am490c.js";import{np as vt}from"./chunk-kmzpeq8k.js";import{op as Mo}from"./chunk-0gsw04hw.js";import{$r as Kt,Vr as Yn,Wr as ro,Xr as sn,Yr as xt,Zr as Wt}from"./chunk-73xryfgn.js";import{as as Et}from"./chunk-yjqww6ag.js";import{bt as un}from"./chunk-ts2k13g0.js";import{At as eo}from"./chunk-0qpqd7nz.js";import{Et as Wo}from"./chunk-v3nmnm57.js";import{lu as nn,uu as V}from"./chunk-mbbxedsq.js";import{Au as wo,Bu as q,Fu as go,Ku as Bn,xu as Bt}from"./chunk-aa2n02qk.js";import{Lu as b}from"./chunk-k1x8469r.js";import{AA as An,IA as Hn,WA as Kn}from"./chunk-t8sy5sgx.js";import{EI as r,HL as $t,IK as Xo,LC as wn,MJ as dn,NF as Ot,ZC as Dn,bG as a,jF as So,qF as kn,rP as s,xF as _n}from"./chunk-tezrgfc6.js";import{UP as $n}from"./chunk-f2pv705d.js";var Fo={};$n(Fo,{run:()=>bt});var mn={time_created:j().notNull().$default(()=>Date.now()),time_updated:j().notNull().$onUpdate(()=>Date.now())};var C=yn("project",{id:D().$type().primaryKey(),worktree:D().notNull(),vcs:D(),name:D(),icon_url:D(),icon_color:D(),...mn,time_initialized:j(),sandboxes:D({mode:"json"}).notNull().$type(),commands:D({mode:"json"}).$type()});var gn=yn("session",{id:D().$type().primaryKey(),project_id:D().$type().notNull().references(()=>C.id,{onDelete:"cascade"}),workspace_id:D().$type(),parent_id:D().$type(),context_from:D().$type(),context_watermark:D().$type(),slug:D().notNull(),directory:D().notNull(),title:D().notNull(),version:D().notNull(),share_url:D(),summary_additions:j(),summary_deletions:j(),summary_files:j(),summary_diffs:D({mode:"json"}).$type(),revert:D({mode:"json"}).$type(),permission:D({mode:"json"}).$type(),...mn,time_compacting:j(),time_archived:j(),last_checkpoint_message_id:D().$type()},(n)=>[fn("session_project_idx").on(n.project_id),fn("session_workspace_idx").on(n.workspace_id),fn("session_parent_idx").on(n.parent_id),fn("session_context_from_idx").on(n.context_from)]),fo=yn("message",{id:D().$type().primaryKey(),session_id:D().$type().notNull().references(()=>gn.id,{onDelete:"cascade"}),agent_id:D().notNull().default("main"),...mn,data:D({mode:"json"}).notNull().$type()},(n)=>[fn("message_session_time_created_id_idx").on(n.session_id,n.time_created,n.id),fn("message_session_agent_idx").on(n.session_id,n.agent_id,n.id)]),zo=yn("part",{id:D().$type().primaryKey(),message_id:D().$type().notNull().references(()=>fo.id,{onDelete:"cascade"}),session_id:D().$type().notNull(),...mn,data:D({mode:"json"}).notNull().$type()},(n)=>[fn("part_message_id_id_idx").on(n.message_id,n.id),fn("part_session_idx").on(n.session_id)]),ko=yn("todo",{session_id:D().$type().notNull().references(()=>gn.id,{onDelete:"cascade"}),content:D().notNull(),status:D().notNull(),position:j().notNull(),...mn},(n)=>[vo({columns:[n.session_id,n.position]}),fn("todo_session_idx").on(n.session_id)]),Vo=yn("permission",{project_id:D().primaryKey().references(()=>C.id,{onDelete:"cascade"}),...mn,data:D({mode:"json"}).notNull().$type()});var qo=yn("session_share",{session_id:D().primaryKey().references(()=>gn.id,{onDelete:"cascade"}),id:D().notNull(),secret:D().notNull(),url:D().notNull(),...mn});import k from"path";var X=V.create({service:"json-migration"});async function bt(n,o){let i=k.join(Bn.Path.data,"storage");if(!await go.exists(i))return X.info("storage directory does not exist, skipping migration"),{projects:0,sessions:0,messages:0,parts:0,todos:0,permissions:0,shares:0,errors:[]};X.info("starting json to sqlite migration",{storageDir:i});let _=performance.now();n.run("PRAGMA journal_mode = WAL"),n.run("PRAGMA synchronous = OFF"),n.run("PRAGMA cache_size = 10000"),n.run("PRAGMA temp_store = MEMORY");let e={projects:0,sessions:0,messages:0,parts:0,todos:0,permissions:0,shares:0,errors:[]},T={sessions:0,todos:0,permissions:0,shares:0},p=e.errors,O=1000,H=Date.now();async function E(g){return wo.scan(g,{cwd:i,absolute:!0})}async function K(g,G,M){let I=M-G,A=Array(I);for(let P=0;P<I;P++)A[P]=go.readJson(g[G+P]);let J=await Promise.allSettled(A),Z=Array(I);for(let P=0;P<J.length;P++){let w=J[P];if(w.status==="fulfilled"){Z[P]=w.value;continue}p.push(`failed to read ${g[G+P]}: ${w.reason}`)}return Z}function R(g,G,M){if(g.length===0)return 0;try{return n.insert(G).values(g).onConflictDoNothing().run(),g.length}catch(I){return p.push(`failed to migrate ${M} batch: ${I}`),0}}X.info("scanning files...");let[S,B,l,d,u,N,m]=await Promise.all([E("project/*.json"),E("session/*/*.json"),E("message/*/*.json"),E("part/*/*.json"),E("todo/*.json"),E("permission/*.json"),E("session_share/*.json")]);X.info("file scan complete",{projects:S.length,sessions:B.length,messages:l.length,parts:d.length,todos:u.length,permissions:N.length,shares:m.length});let f=Math.max(1,S.length+B.length+l.length+d.length+u.length+N.length+m.length),t=o?.progress,y=0,Q=(g,G)=>{y=Math.min(f,y+G),t?.({current:y,total:f,label:g})};t?.({current:y,total:f,label:"starting"}),n.run("BEGIN TRANSACTION");let L=new Set,$=[];for(let g=0;g<S.length;g+=O){let G=Math.min(g+O,S.length),M=await K(S,g,G);$.length=0;for(let I=0;I<M.length;I++){let A=M[I];if(!A)continue;let J=k.basename(S[g+I],".json");L.add(J),$.push({id:J,worktree:A.worktree??"/",vcs:A.vcs,name:A.name??void 0,icon_url:A.icon?.url,icon_color:A.icon?.color,time_created:A.time?.created??H,time_updated:A.time?.updated??H,time_initialized:A.time?.initialized,sandboxes:A.sandboxes??[],commands:A.commands})}e.projects+=R($,C,"project"),Q("projects",G-g)}X.info("migrated projects",{count:e.projects,duration:Math.round(performance.now()-_)});let U=B.map((g)=>k.basename(k.dirname(g))),z=new Set,en=[];for(let g=0;g<B.length;g+=O){let G=Math.min(g+O,B.length),M=await K(B,g,G);en.length=0;for(let I=0;I<M.length;I++){let A=M[I];if(!A)continue;let J=k.basename(B[g+I],".json"),Z=U[g+I];if(!L.has(Z)){T.sessions++;continue}z.add(J),en.push({id:J,project_id:Z,parent_id:A.parentID??null,slug:A.slug??"",directory:A.directory??"",title:A.title??"",version:A.version??"",share_url:A.share?.url??null,summary_additions:A.summary?.additions??null,summary_deletions:A.summary?.deletions??null,summary_files:A.summary?.files??null,summary_diffs:A.summary?.diffs??null,revert:A.revert??null,permission:A.permission??null,time_created:A.time?.created??H,time_updated:A.time?.updated??H,time_compacting:A.time?.compacting??null,time_archived:A.time?.archived??null})}e.sessions+=R(en,gn,"session"),Q("sessions",G-g)}if(X.info("migrated sessions",{count:e.sessions}),T.sessions>0)X.warn("skipped orphaned sessions",{count:T.sessions});let Nn=[],W=[],Fn=new Map;for(let g of l){let G=k.basename(k.dirname(g));if(!z.has(G))continue;Nn.push(g),W.push(G)}for(let g=0;g<Nn.length;g+=O){let G=Math.min(g+O,Nn.length),M=await K(Nn,g,G),I=Array(M.length),A=0;for(let J=0;J<M.length;J++){let Z=M[J];if(!Z)continue;let P=Nn[g+J],w=k.basename(P,".json"),En=W[g+J];Fn.set(w,En);let In=Z;delete In.id,delete In.sessionID,I[A++]={id:w,session_id:En,time_created:Z.time?.created??H,time_updated:Z.time?.updated??H,data:In}}I.length=A,e.messages+=R(I,fo,"message"),Q("messages",G-g)}X.info("migrated messages",{count:e.messages});for(let g=0;g<d.length;g+=O){let G=Math.min(g+O,d.length),M=await K(d,g,G),I=Array(M.length),A=0;for(let J=0;J<M.length;J++){let Z=M[J];if(!Z)continue;let P=d[g+J],w=k.basename(P,".json"),En=k.basename(k.dirname(P)),In=Fn.get(En);if(!In){p.push(`part missing message session: ${P}`);continue}if(!z.has(In))continue;let bn=Z;delete bn.id,delete bn.messageID,delete bn.sessionID,I[A++]={id:w,message_id:En,session_id:In,time_created:Z.time?.created??H,time_updated:Z.time?.updated??H,data:bn}}I.length=A,e.parts+=R(I,zo,"part"),Q("parts",G-g)}X.info("migrated parts",{count:e.parts});let On=u.map((g)=>k.basename(g,".json"));for(let g=0;g<u.length;g+=O){let G=Math.min(g+O,u.length),M=await K(u,g,G),I=[];for(let A=0;A<M.length;A++){let J=M[A];if(!J)continue;let Z=On[g+A];if(!z.has(Z)){T.todos++;continue}if(!Array.isArray(J)){p.push(`todo not an array: ${u[g+A]}`);continue}for(let P=0;P<J.length;P++){let w=J[P];if(!w?.content||!w?.status)continue;I.push({session_id:Z,content:w.content,status:w.status,position:P,time_created:H,time_updated:H})}}e.todos+=R(I,ko,"todo"),Q("todos",G-g)}if(X.info("migrated todos",{count:e.todos}),T.todos>0)X.warn("skipped orphaned todos",{count:T.todos});let cn=N.map((g)=>k.basename(g,".json")),Rn=[];for(let g=0;g<N.length;g+=O){let G=Math.min(g+O,N.length),M=await K(N,g,G);Rn.length=0;for(let I=0;I<M.length;I++){let A=M[I];if(!A)continue;let J=cn[g+I];if(!L.has(J)){T.permissions++;continue}Rn.push({project_id:J,data:A})}e.permissions+=R(Rn,Vo,"permission"),Q("permissions",G-g)}if(X.info("migrated permissions",{count:e.permissions}),T.permissions>0)X.warn("skipped orphaned permissions",{count:T.permissions});let jn=m.map((g)=>k.basename(g,".json")),Gn=[];for(let g=0;g<m.length;g+=O){let G=Math.min(g+O,m.length),M=await K(m,g,G);Gn.length=0;for(let I=0;I<M.length;I++){let A=M[I];if(!A)continue;let J=jn[g+I];if(!z.has(J)){T.shares++;continue}if(!A?.id||!A?.secret||!A?.url){p.push(`session_share missing id/secret/url: ${m[g+I]}`);continue}Gn.push({session_id:J,id:A.id,secret:A.secret,url:A.url})}e.shares+=R(Gn,qo,"session_share"),Q("shares",G-g)}if(X.info("migrated session shares",{count:e.shares}),T.shares>0)X.warn("skipped orphaned session shares",{count:T.shares});if(n.run("COMMIT"),X.info("json migration complete",{projects:e.projects,sessions:e.sessions,messages:e.messages,parts:e.parts,todos:e.todos,permissions:e.permissions,shares:e.shares,errorCount:e.errors.length,duration:Math.round(performance.now()-_)}),e.errors.length>0)X.warn("migration errors",{errors:e.errors.slice(0,20)});return t?.({current:f,total:f,label:"complete"}),e}var Ln={};$n(Ln,{use:()=>Me,transaction:()=>Ke,textDecoder:()=>mi,sumDistinct:()=>ir,sum:()=>rr,sql:()=>x,relationsOrderToSQL:()=>tt,relationsFilterToSQL:()=>it,relationToSQL:()=>mt,relationExtrasToSQL:()=>et,processRelations:()=>Wi,placeholder:()=>kr,param:()=>vr,orderSelectedFields:()=>jr,orderByOperators:()=>Vi,or:()=>No,operators:()=>ki,notLike:()=>si,notInArray:()=>_i,notIlike:()=>Ti,notExists:()=>Ni,notBetween:()=>pi,not:()=>po,noopMapper:()=>Xr,noopEncoder:()=>Zr,noopDecoder:()=>Ur,ne:()=>_o,name:()=>Wr,min:()=>er,max:()=>tr,mapUpdateSet:()=>hr,mapResultRow:()=>cr,mapRelationalRow:()=>wi,mapColumnsInSQLToAlias:()=>xi,mapColumnsInAliasedSQLToAlias:()=>Mi,lte:()=>Oo,lt:()=>To,like:()=>lo,l2Distance:()=>mr,l1Distance:()=>yr,jaccardDistance:()=>_r,isWithEnum:()=>fi,isView:()=>wr,isTable:()=>dr,isSQLWrapper:()=>Kr,isNull:()=>Bo,isNotNull:()=>Qo,isDriverValueEncoder:()=>Pr,isConfig:()=>ei,is:()=>Sn,innerProduct:()=>fr,inArray:()=>$o,ilike:()=>Ai,haveSameKeys:()=>br,hasOwnEntityKind:()=>pr,hammingDistance:()=>ur,gte:()=>Ao,gt:()=>so,getViewSelectedFields:()=>oi,getViewName:()=>Fr,getTableUniqueName:()=>Jr,getTableName:()=>Gr,getTableLikeName:()=>ii,getTableColumns:()=>ni,getTableAsAliasSQL:()=>yt,getOriginalColumnFromAlias:()=>Ki,getOrderByOperators:()=>qi,getColumns:()=>ri,getColumnTable:()=>sr,getColumnNameAndConfig:()=>ti,getChannelPath:()=>zt,fillPlaceholders:()=>Vr,fieldSelectionToSQL:()=>rt,extractTablesFromSchema:()=>ai,extractExtendedColumnType:()=>Ar,exists:()=>Do,eq:()=>Y,entityKind:()=>Nr,effect:()=>xe,desc:()=>Go,defineRelationsPart:()=>ot,defineRelations:()=>nt,createRelationsHelper:()=>hi,countDistinct:()=>ao,count:()=>uo,cosineDistance:()=>gr,close:()=>He,buildRelationsParts:()=>Ui,buildRelations:()=>Pi,bindIfParam:()=>ui,between:()=>Io,avgDistinct:()=>or,avg:()=>nr,assertUnreachable:()=>yi,asc:()=>Lo,arrayOverlaps:()=>Bi,arrayContains:()=>Oi,arrayContained:()=>$i,applyMixins:()=>ar,and:()=>Pn,aliasedTableColumn:()=>Hi,aliasedTable:()=>Gi,aliasedRelation:()=>Ci,aliasedColumn:()=>Ji,WithSubquery:()=>Hr,ViewSelectionAliasProxyHandler:()=>Ii,ViewBaseConfig:()=>Mr,View:()=>qr,TransactionRollbackError:()=>Si,TableSchema:()=>Or,TableColumns:()=>$r,TableAliasProxyHandler:()=>li,Table:()=>Lr,Subquery:()=>Cr,StringChunk:()=>Rr,SQL:()=>Er,RelationsHelperStatic:()=>bi,RelationsBuilderTable:()=>Fi,RelationsBuilderJunctionColumn:()=>ji,RelationsBuilderColumn:()=>ci,RelationTableAliasProxyHandler:()=>di,Relation:()=>Zi,QueryPromise:()=>Qi,Placeholder:()=>zr,Path:()=>Po,Param:()=>Yr,OriginalName:()=>Qr,One:()=>Xi,NotFoundError:()=>Ce,NoopLogger:()=>ut,Name:()=>Sr,Many:()=>Yi,IsAlias:()=>Ir,FakePrimitiveParam:()=>xr,ExtraConfigColumns:()=>Br,ExtraConfigBuilder:()=>lr,DrizzleQueryError:()=>Ei,DrizzleError:()=>Ri,DefaultLogger:()=>gt,Count:()=>zi,ConsoleLogWriter:()=>ft,ColumnTableAliasProxyHandler:()=>Di,ColumnBuilder:()=>Tr,ColumnAliasProxyHandler:()=>Li,Column:()=>Wn,Client:()=>Mn,CONSTANTS:()=>gi,BaseName:()=>Dr,AggregatedField:()=>vi});import ht from"crypto";import co,{existsSync as at,readdirSync as ne}from"fs";import{join as oe}from"path";function bo(n){if(co.existsSync(`${n.migrationsFolder}/meta/_journal.json`))throw Error('We detected that you have old drizzle-kit migration folders. You must upgrade drizzle-kit and run "drizzle-kit up"');let o=n.migrationsFolder,i=[],_=ne(o).map((e)=>({path:oe(o,e,"migration.sql"),name:e})).filter((e)=>at(e.path));_.sort((e,T)=>e.name.localeCompare(T.name));for(let e of _){let T=e.path,p=e.name.slice(0,14),O=co.readFileSync(T).toString(),H=O.split("--> statement-breakpoint").map((K)=>{return K}),E=jo(p);i.push({sql:H,bps:!0,folderMillis:E,hash:ht.createHash("sha256").update(O).digest("hex"),name:e.name})}return i}function ho(n,o){if(Array.isArray(o)||"migrationsJournal"in o){let _=Array.isArray(o)?o:o.migrationsJournal,e=Array.isArray(o)?void 0:o.migrationsTable,T=_.map((p)=>({sql:p.sql.split("--> statement-breakpoint"),folderMillis:p.timestamp,hash:"",bps:!0,name:p.name}));return n.dialect.migrate(T,n.session,{migrationsTable:e})}let i=bo(o);return n.dialect.migrate(i,n.session,o)}function uo(n){return x`count(${n||x.raw("*")})`.mapWith(Number)}function ao(n){return x`count(distinct ${n})`.mapWith(Number)}function nr(n){return x`avg(${n})`.mapWith(String)}function or(n){return x`avg(distinct ${n})`.mapWith(String)}function rr(n){return x`sum(${n})`.mapWith(String)}function ir(n){return x`sum(distinct ${n})`.mapWith(String)}function tr(n){return x`max(${n})`.mapWith(Sn(n,Wn)?n:String)}function er(n){return x`min(${n})`.mapWith(Sn(n,Wn)?n:String)}function Jn(n){return JSON.stringify(n)}function mr(n,o){if(Array.isArray(o))return x`${n} <-> ${Jn(o)}`;return x`${n} <-> ${o}`}function yr(n,o){if(Array.isArray(o))return x`${n} <+> ${Jn(o)}`;return x`${n} <+> ${o}`}function fr(n,o){if(Array.isArray(o))return x`${n} <#> ${Jn(o)}`;return x`${n} <#> ${o}`}function gr(n,o){if(Array.isArray(o))return x`${n} <=> ${Jn(o)}`;return x`${n} <=> ${o}`}function ur(n,o){if(Array.isArray(o))return x`${n} <~> ${Jn(o)}`;return x`${n} <~> ${o}`}function _r(n,o){if(Array.isArray(o))return x`${n} <%> ${Jn(o)}`;return x`${n} <%> ${o}`}import to from"path";var vn={};$n(vn,{workspaceID:()=>Be,useEffect:()=>Ie,use:()=>De,make:()=>Qe,invalidate:()=>Le,has:()=>le,get:()=>Eo,directory:()=>io,context:()=>Ro,bind:()=>$e});import{EventEmitter as re}from"events";var Un=new re;var Jo=new Set;function _t(n){return Jo.add(n),()=>{Jo.delete(n)}}async function Co(n){await Promise.allSettled([...Jo].map((o)=>o(n)))}function Zn(n){return n()}var Ct={};$n(Ct,{setInitialized:()=>_e,list:()=>ge,layer:()=>Jt,get:()=>ue,fromRow:()=>pn,defaultLayer:()=>Ko,UpdateInput:()=>fe,Service:()=>Cn,Info:()=>dt,Event:()=>Gt});import*as c from"fs/promises";import*as It from"os";import*as Qn from"path";var ie=s.String.pipe(s.brand("ProjectID")),F=ie.pipe(hn((n)=>({global:n.make("global"),zod:b.string().pipe(b.custom())})));import*as ln from"fs/promises";import*as h from"path";import*as st from"crypto";async function Ho(n){let o=h.resolve(n);while(!0){let i=h.join(o,".git"),_=await ln.stat(i).catch(()=>null);if(_){if(_.isDirectory())return i;let p=(await ln.readFile(i,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(!p)return null;let O=h.isAbsolute(p[1])?p[1]:h.resolve(o,p[1]);return h.resolve(O,"../..")}let e=h.dirname(o);if(e===o)return null;o=e}}async function Nt(n){let o=await ln.readFile(n,"utf-8").catch(()=>null);if(o===null)return null;return o.trim()||null}async function pt(n){let o=await Nt(n);if(o)return o;let i=st.randomUUID();try{return await ln.writeFile(n,i,{flag:"wx"}),i}catch(_){if(_.code!=="EEXIST")throw _;let e=await Nt(n);if(e)return e;throw Error(`Project ID file was concurrently created but is empty: ${n}`)}}async function At(n){let o=await Ho(n);if(o){let _=h.join(o,"qitqode-project-id");return F.make(await pt(_))}let i=h.join(n,".qitqode-project-id");return F.make(await pt(i))}async function ee(n){let o=await Ho(n);if(!o)return;let i=Qn.join(n,".qitqode-project-id"),_=Qn.join(o,"qitqode-project-id"),e=(O)=>c.access(O).then(()=>!0).catch(()=>!1);if(await e(i)){if(!await e(_)){let O=await c.readFile(i,"utf-8");await c.writeFile(_,O)}await c.unlink(i).catch(()=>{})}let T=Qn.join(o,"info","exclude");if(await c.mkdir(Qn.dirname(T),{recursive:!0}),!(await c.readFile(T,"utf-8").catch(()=>"")).includes(".qitqode-project-id"))await c.appendFile(T,`
3
- .qitqode-project-id
4
- `)}var Tt=V.create({service:"project"}),me=262144,xo=s.Literal("git"),lt=s.Struct({url:s.optional(s.String),override:s.optional(s.String),color:s.optional(s.String)}),Lt=s.Struct({start:s.optional(s.String.annotate({description:"Startup script to run when creating a new workspace (worktree)"}))}),ye=s.Struct({created:s.Number,updated:s.Number,initialized:s.optional(s.Number)}),dt=s.Struct({id:F,worktree:s.String,vcs:s.optional(xo),name:s.optional(s.String),icon:s.optional(lt),commands:s.optional(Lt),time:ye,sandboxes:s.Array(s.String)}).annotate({identifier:"Project"}).pipe(hn((n)=>({zod:an(n)}))),Gt={Updated:Dt.define("project.updated",dt.zod)};function pn(n){let o=n.icon_url||n.icon_color?{url:n.icon_url??void 0,color:n.icon_color??void 0}:void 0;return{id:n.id,worktree:n.worktree,vcs:n.vcs?s.decodeUnknownSync(xo)(n.vcs):void 0,name:n.name??void 0,icon:o,time:{created:n.time_created,updated:n.time_updated,initialized:n.time_initialized??void 0},sandboxes:n.sandboxes,commands:n.commands??void 0}}var fe=b.object({projectID:F.zod,name:b.string().optional(),icon:an(lt).optional(),commands:an(Lt).optional()});class Cn extends Dn.Service()("@qitqode/Project"){}var Jt=a.effect(Cn,r.gen(function*(){let n=yield*q.Service,o=yield*$t.Path,i=yield*no.ChildProcessSpawner,_=r.fnUntraced(function*(t,y){return yield*Qt(i,t,y)},r.catch(()=>r.succeed({code:1,text:"",stderr:""}))),e=(t)=>r.sync(()=>Ln.use(t)),T=(t)=>r.sync(()=>Un.emit("event",{directory:"global",project:t.id,payload:{type:Gt.Updated.type,properties:t}})),p=s.decodeUnknownSync(s.optional(xo))(nn.QITQODE_FAKE_VCS),O=(t,y)=>{if(!y)return t;if(y=y.replace(/[\r\n]+$/,""),!y)return t;if(y=q.windowsPath(y),o.isAbsolute(y))return o.normalize(y);return o.resolve(t,y)},H=yield*Ot.Scope,E=r.fn("Project.fromDirectory")(function*(t){Tt.info("fromDirectory",{directory:t});let y=yield*r.gen(function*(){if(nn.QITQODE_DISABLE_GIT)return{id:F.global,worktree:t,sandbox:t,vcs:p};let z=(yield*n.up({targets:[".git"],start:t}).pipe(r.orDie))[0];if(!z)return{id:F.global,worktree:"/",sandbox:"/",vcs:p};let en=o.dirname(z),Nn=process.env.HOME??process.env.USERPROFILE??It.homedir();if(en===Nn||Qn.parse(en).root===en)return Tt.warn("ignoring .git at home or filesystem root, snapshots disabled",{dotgit:z}),{id:F.global,worktree:t,sandbox:t,vcs:p};let W=en,Fn=yield*r.sync(()=>Mo("git")),On;if(!Fn)return{id:On??F.global,worktree:W,sandbox:W,vcs:p};let cn=yield*_(["rev-parse","--git-common-dir"],{cwd:W});if(cn.code!==0)return{id:On??F.global,worktree:W,sandbox:W,vcs:p};let Rn=(()=>{let Gn=O(W,cn.text.trim());return Gn===W?W:o.dirname(Gn)})();if(On==null)yield*r.promise(()=>ee(W)),On=yield*r.promise(()=>At(W));let jn=yield*_(["rev-parse","--show-toplevel"],{cwd:W});if(jn.code!==0)return{id:On,worktree:W,sandbox:W,vcs:p};return W=O(W,jn.text.trim()),{id:On,sandbox:W,worktree:Rn,vcs:"git"}}),Q=yield*e((U)=>U.select().from(C).where(Y(C.id,y.id)).get()),L=Q?pn(Q):{id:y.id,worktree:y.worktree,vcs:y.vcs,sandboxes:[],time:{created:Date.now(),updated:Date.now()}};if(nn.QITQODE_EXPERIMENTAL_ICON_DISCOVERY)yield*K(L).pipe(r.ignore,r.forkIn(H));let $={...L,worktree:y.worktree,vcs:y.vcs,time:{...L.time,updated:Date.now()}};if(y.sandbox!==$.worktree&&!$.sandboxes.includes(y.sandbox))$.sandboxes.push(y.sandbox);if($.sandboxes=yield*r.forEach($.sandboxes,(U)=>n.exists(U).pipe(r.orDie,r.map((z)=>z?U:void 0)),{concurrency:16}).pipe(r.map((U)=>U.filter((z)=>z!==void 0))),yield*e((U)=>U.insert(C).values({id:$.id,worktree:$.worktree,vcs:$.vcs??null,name:$.name,icon_url:$.icon?.url,icon_color:$.icon?.color,time_created:$.time.created,time_updated:$.time.updated,time_initialized:$.time.initialized,sandboxes:$.sandboxes,commands:$.commands}).onConflictDoUpdate({target:C.id,set:{worktree:$.worktree,vcs:$.vcs??null,name:$.name,icon_url:$.icon?.url,icon_color:$.icon?.color,time_updated:$.time.updated,time_initialized:$.time.initialized,sandboxes:$.sandboxes,commands:$.commands}}).run()),y.id!==F.global)yield*e((U)=>U.update(gn).set({project_id:y.id}).where(Pn(Y(gn.project_id,F.global),Y(gn.directory,y.worktree))).run());return yield*T($),{project:$,sandbox:y.sandbox}}),K=r.fn("Project.discover")(function*(t){if(t.vcs!=="git")return;if(t.icon?.override)return;if(t.icon?.url)return;let Q=(yield*n.glob("**/favicon.{ico,png,svg,jpg,jpeg,webp}",{cwd:t.worktree,absolute:!0,include:"file"}).pipe(r.orDie)).sort((Nn,W)=>Nn.length-W.length)[0];if(!Q)return;let L=yield*n.stat(Q).pipe(r.orDie);if(Number(L.size)>me)return;let $=yield*n.readFile(Q).pipe(r.orDie),U=Buffer.from($).toString("base64"),en=`data:${q.mimeType(Q)};base64,${U}`;yield*B({projectID:t.id,icon:{url:en}})}),R=r.fn("Project.list")(function*(){return yield*e((t)=>t.select().from(C).all().map(pn))}),S=r.fn("Project.get")(function*(t){let y=yield*e((Q)=>Q.select().from(C).where(Y(C.id,t)).get());return y?pn(y):void 0}),B=r.fn("Project.update")(function*(t){let y=yield*e((L)=>L.update(C).set({name:t.name,icon_url:t.icon?.url,icon_color:t.icon?.color,commands:t.commands,time_updated:Date.now()}).where(Y(C.id,t.projectID)).returning().get());if(!y)throw Error(`Project not found: ${t.projectID}`);let Q=pn(y);return yield*T(Q),Q}),l=r.fn("Project.initGit")(function*(t){if(t.project.vcs==="git")return t.project;if(!(yield*r.sync(()=>Mo("git"))))throw Error("Git is not installed");let y=yield*_(["init","--quiet"],{cwd:t.directory});if(y.code!==0)throw Error(y.stderr.trim()||y.text.trim()||"Failed to initialize git repository");let{project:Q}=yield*E(t.directory);return Q}),d=r.fn("Project.setInitialized")(function*(t){yield*e((y)=>y.update(C).set({time_initialized:Date.now()}).where(Y(C.id,t)).run())}),u=r.fn("Project.sandboxes")(function*(t){let y=yield*e((L)=>L.select().from(C).where(Y(C.id,t)).get());if(!y)return[];let Q=pn(y);return yield*r.forEach(Q.sandboxes,(L)=>n.isDir(L).pipe(r.orDie,r.map(($)=>$?L:void 0)),{concurrency:16}).pipe(r.map((L)=>L.filter(($)=>$!==void 0)))}),N=r.fnUntraced(function*(t,y){let Q=yield*e((L)=>L.update(C).set({sandboxes:y,time_updated:Date.now()}).where(Y(C.id,t)).returning().get());if(!Q)throw Error(`Project not found: ${t}`);yield*T(pn(Q))}),m=r.fn("Project.addSandbox")(function*(t,y){let Q=yield*e(($)=>$.select().from(C).where(Y(C.id,t)).get());if(!Q)throw Error(`Project not found: ${t}`);let L=[...Q.sandboxes];if(!L.includes(y))L.push(y);yield*N(t,L)}),f=r.fn("Project.removeSandbox")(function*(t,y){let Q=yield*e(($)=>$.select().from(C).where(Y(C.id,t)).get());if(!Q)throw Error(`Project not found: ${t}`);let L=Q.sandboxes.filter(($)=>$!==y);yield*N(t,L)});return Cn.of({fromDirectory:E,discover:K,list:R,get:S,update:B,initGit:l,setInitialized:d,sandboxes:u,addSandbox:m,removeSandbox:f})})),Ko=Jt.pipe(a.provide(oo),a.provide(q.defaultLayer),a.provide(Bt.layer));function ge(){return Ln.use((n)=>n.select().from(C).all().map((o)=>pn(o)))}function ue(n){let o=Ln.use((i)=>i.select().from(C).where(Y(C.id,n)).get());if(!o)return;return pn(o)}function _e(n){Ln.use((o)=>o.update(C).set({time_initialized:Date.now()}).where(Y(C.id,n)).run())}import{parse as Ne}from"path";var rn=un.create("instance");xt(()=>rn.use());var tn=new Map,pe=Kt(Cn,Ko),se=new Set(["/etc","/proc","/sys","/dev","/boot","/root","/var","/private/etc","/private/var"]);function Ae(n){if(n===Ne(n).root)return"filesystem root is not a valid project directory";for(let o of se)if(n===o||q.contains(o,n))return"target is a protected system directory";return null}function Te(n){let o=Ae(n);if(o)throw Error("Access denied: "+o)}var Xn={all:void 0};function Ht(n){return Zn(async()=>{let o=n.project&&n.worktree?{directory:n.directory,worktree:n.worktree,project:n.project}:await pe.runPromise((i)=>i.fromDirectory(n.directory)).then(({project:i,sandbox:_})=>({directory:n.directory,worktree:_,project:i}));return await rn.provide(o,async()=>{await n.init?.()}),o})}function Mt(n,o){let i=o.catch((_)=>{if(tn.get(n)===i)tn.delete(n);throw _});return tn.set(n,i),i}var on={async provide(n){let o=q.resolve(n.directory);Te(o);let i=tn.get(o);if(!i)V.Default.info("creating instance",{directory:o}),i=Mt(o,Ht({directory:o,init:n.init}));let _=await i;return rn.provide(_,async()=>{return n.fn()})},get current(){return rn.use()},get directory(){return rn.use().directory},get worktree(){return rn.use().worktree},get project(){return rn.use().project},containsPath(n,o){let i=o??on;if(q.contains(i.directory,n))return!0;if(i.worktree==="/")return!1;return q.contains(i.worktree,n)},bind(n){let o=rn.use();return(...i)=>rn.provide(o,()=>n(...i))},restore(n,o){return rn.provide(n,o)},async reload(n){let o=q.resolve(n.directory);V.Default.info("reloading instance",{directory:o}),await Co(o),tn.delete(o);let i=Mt(o,Ht({...n,directory:o}));return Un.emit("event",{directory:o,project:n.project?.id,workspace:sn.workspaceID,payload:{type:"server.instance.disposed",properties:{directory:o}}}),await i},async dispose(){let{directory:n,project:o}=on;V.Default.info("disposing instance",{directory:n}),await Co(n),tn.delete(n),Un.emit("event",{directory:n,project:o.id,workspace:sn.workspaceID,payload:{type:"server.instance.disposed",properties:{directory:n}}})},async disposeAll(){if(Xn.all)return Xn.all;return Xn.all=Zn(async()=>{V.Default.info("disposing all instances");let n=[...tn.entries()];for(let[o,i]of n){if(tn.get(o)!==i)continue;let _=await i.catch((e)=>{V.Default.warn("instance dispose failed",{key:o,error:e});return});if(!_){if(tn.get(o)===i)tn.delete(o);continue}if(tn.get(o)!==i)continue;await rn.provide(_,async()=>{await on.dispose()})}}).finally(()=>{Xn.all=void 0}),Xn.all}};var Rt="~qitqode/InstanceState",$e=(n)=>{try{return on.bind(n)}catch(_){if(!(_ instanceof un.NotFound))throw _}let o=dn.getCurrent(),i=o?Dn.getReferenceUnsafe(o.context,Yn):void 0;if(!i)return n;return(..._)=>on.restore(i,()=>n(..._))},Ro=r.gen(function*(){return(yield*Yn)??on.current}),Be=r.gen(function*(){return(yield*ro)??sn.workspaceID}),io=r.map(Ro,(n)=>n.directory),Qe=(n)=>r.gen(function*(){let o=yield*Hn.make({capacity:Number.POSITIVE_INFINITY,lookup:()=>r.gen(function*(){return yield*n(yield*Ro)})}),i=_t((_)=>r.runPromise(Hn.invalidate(o,_).pipe(r.provide(Et))));return yield*r.addFinalizer(()=>r.sync(i)),{[Rt]:Rt,cache:o}}),Eo=(n)=>r.gen(function*(){return yield*Hn.get(n.cache,yield*io)}),De=(n,o)=>r.map(Eo(n),o),Ie=(n,o)=>r.flatMap(Eo(n),o),le=(n)=>r.gen(function*(){return yield*Hn.has(n.cache,yield*io)}),Le=(n)=>r.gen(function*(){return yield*Hn.invalidate(n.cache,yield*io)});var Pt={};$n(Pt,{make:()=>de});function St(n,o,i){if(n&&o!==void 0)return sn.restore(o,()=>on.restore(n,i));if(n)return on.restore(n,i);if(o!==void 0)return sn.restore(o,i);return i()}function de(){return r.gen(function*(){let n=yield*r.context(),i=(yield*Yn)??(()=>{try{return on.current}catch(p){if(!(p instanceof un.NotFound))throw p}})(),_=(yield*ro)??sn.workspaceID,e=(p)=>Wt(p,{instance:i,workspace:_}),T=(p)=>e(p).pipe(r.provide(n));return{promise:(p)=>St(i,_,()=>r.runPromise(T(p))),fork:(p)=>St(i,_,()=>r.runFork(T(p)))}})}var Ut={};$n(Ut,{make:()=>Ge,Cancelled:()=>zn});class zn extends s.TaggedErrorClass()("RunnerCancelled",{}){}var Ge=(n,o)=>{let i=An.makeUnsafe({_tag:"Idle"}),_=o?.onIdle??r.void,e=o?.onBusy??r.void,T=o?.onInterrupt,p=0,O=()=>An.getUnsafe(i),H=()=>{return p+=1,p},E=(m,f)=>kn.isFailure(f)&&So.hasInterruptsOnly(f.cause)?_n.fail(m,new zn).pipe(r.asVoid):_n.done(m,f).pipe(r.asVoid),K=()=>An.modify(i,(m)=>[m._tag==="Idle"?_:r.void,m]).pipe(r.flatten),R=(m,f,t)=>An.modify(i,(y)=>[r.gen(function*(){if(y._tag==="Running"&&y.run.id===m)yield*_;yield*E(f,t)}),y._tag==="Running"&&y.run.id===m?{_tag:"Idle"}:y]).pipe(r.flatten),S=(m,f)=>r.gen(function*(){let t=H(),y=yield*m.pipe(r.onExit((Q)=>R(t,f,Q)),r.forkIn(n));return{id:t,done:f,fiber:y}}),B=(m)=>An.modifyEffect(i,r.fnUntraced(function*(f){if(f._tag==="Shell"&&f.shell.id===m)return[_,{_tag:"Idle"}];if(f._tag==="ShellThenRun"&&f.shell.id===m){let t=yield*S(f.run.work,f.run.done);return[r.void,{_tag:"Running",run:t}]}return[r.void,f]})).pipe(r.flatten),l=(m)=>dn.interrupt(m.fiber),d=(m)=>An.modifyEffect(i,r.fnUntraced(function*(f){switch(f._tag){case"Running":case"ShellThenRun":if(o?.onReentryWarn)yield*o.onReentryWarn({label:o.label??"(unlabeled)",existingRunId:f.run.id});return[_n.await(f.run.done),f];case"Shell":{let t={id:H(),done:yield*_n.make(),work:m};return[_n.await(t.done),{_tag:"ShellThenRun",shell:f.shell,run:t}]}case"Idle":{let t=yield*_n.make(),y=yield*S(m,t);return[_n.await(t),{_tag:"Running",run:y}]}}})).pipe(r.flatten,r.catch((f)=>f instanceof zn?T??r.die(f):r.fail(f))),u=(m)=>An.modifyEffect(i,r.fnUntraced(function*(f){if(f._tag!=="Idle")return[r.sync(()=>{if(o?.busy)o.busy();throw Error("Runner is busy")}),f];yield*e;let t=H(),y=yield*m.pipe(r.ensuring(B(t)),r.forkChild),Q={id:t,fiber:y};return[r.gen(function*(){let L=yield*dn.await(y);if(kn.isSuccess(L))return L.value;if(So.hasInterruptsOnly(L.cause)&&T)return yield*T;return yield*r.failCause(L.cause)}),{_tag:"Shell",shell:Q}]})).pipe(r.flatten),N=An.modify(i,(m)=>{switch(m._tag){case"Idle":return[r.void,m];case"Running":return[r.gen(function*(){yield*dn.interrupt(m.run.fiber);let f=yield*dn.await(m.run.fiber);yield*E(m.run.done,f),yield*_n.await(m.run.done).pipe(r.exit,r.asVoid),yield*K()}),{_tag:"Idle"}];case"Shell":return[r.gen(function*(){yield*l(m.shell),yield*K()}),{_tag:"Idle"}];case"ShellThenRun":return[r.gen(function*(){yield*_n.fail(m.run.done,new zn).pipe(r.asVoid),yield*l(m.shell),yield*K()}),{_tag:"Idle"}]}}).pipe(r.flatten);return{get state(){return O()},get busy(){return O()._tag!=="Idle"},ensureRunning:d,startShell:u,cancel:N}};import{Database as Je}from"bun:sqlite";function Xt(n){let o=new Je(n,{create:!0});return Zt({client:o})}var Ce=eo.create("NotFoundError",b.object({message:b.string()})),Yt=V.create({service:"db"});function zt(){if(["latest","beta","prod"].includes(Wo)||nn.QITQODE_DISABLE_CHANNEL_DB)return to.join(Bn.Path.data,"qitqode.db");let n=Wo.replace(/[^a-zA-Z0-9._-]/g,"-");return to.join(Bn.Path.data,`qitqode-${n}.db`)}var Po=Zn(()=>{if(nn.QITQODE_DB){if(nn.QITQODE_DB===":memory:"||to.isAbsolute(nn.QITQODE_DB))return nn.QITQODE_DB;return to.join(Bn.Path.data,nn.QITQODE_DB)}return zt()}),Mn=vt(()=>{Yt.info("opening database",{path:Po});let n=Xt(Po);n.run("PRAGMA journal_mode = WAL"),n.run("PRAGMA synchronous = NORMAL"),n.run("PRAGMA busy_timeout = 5000"),n.run("PRAGMA cache_size = -64000"),n.run("PRAGMA foreign_keys = ON"),n.run("PRAGMA wal_checkpoint(PASSIVE)");let o=[{sql:"CREATE TABLE `project` (\n\t`id` text PRIMARY KEY,\n\t`worktree` text NOT NULL,\n\t`vcs` text,\n\t`name` text,\n\t`icon_url` text,\n\t`icon_color` text,\n\t`time_created` integer NOT NULL,\n\t`time_updated` integer NOT NULL,\n\t`time_initialized` integer,\n\t`sandboxes` text NOT NULL\n);\n--> statement-breakpoint\nCREATE TABLE `message` (\n\t`id` text PRIMARY KEY,\n\t`session_id` text NOT NULL,\n\t`time_created` integer NOT NULL,\n\t`time_updated` integer NOT NULL,\n\t`data` text NOT NULL,\n\tCONSTRAINT `fk_message_session_id_session_id_fk` FOREIGN KEY (`session_id`) REFERENCES `session`(`id`) ON DELETE CASCADE\n);\n--> statement-breakpoint\nCREATE TABLE `part` (\n\t`id` text PRIMARY KEY,\n\t`message_id` text NOT NULL,\n\t`session_id` text NOT NULL,\n\t`time_created` integer NOT NULL,\n\t`time_updated` integer NOT NULL,\n\t`data` text NOT NULL,\n\tCONSTRAINT `fk_part_message_id_message_id_fk` FOREIGN KEY (`message_id`) REFERENCES `message`(`id`) ON DELETE CASCADE\n);\n--> statement-breakpoint\nCREATE TABLE `permission` (\n\t`project_id` text PRIMARY KEY,\n\t`time_created` integer NOT NULL,\n\t`time_updated` integer NOT NULL,\n\t`data` text NOT NULL,\n\tCONSTRAINT `fk_permission_project_id_project_id_fk` FOREIGN KEY (`project_id`) REFERENCES `project`(`id`) ON DELETE CASCADE\n);\n--> statement-breakpoint\nCREATE TABLE `session` (\n\t`id` text PRIMARY KEY,\n\t`project_id` text NOT NULL,\n\t`parent_id` text,\n\t`slug` text NOT NULL,\n\t`directory` text NOT NULL,\n\t`title` text NOT NULL,\n\t`version` text NOT NULL,\n\t`share_url` text,\n\t`summary_additions` integer,\n\t`summary_deletions` integer,\n\t`summary_files` integer,\n\t`summary_diffs` text,\n\t`revert` text,\n\t`permission` text,\n\t`time_created` integer NOT NULL,\n\t`time_updated` integer NOT NULL,\n\t`time_compacting` integer,\n\t`time_archived` integer,\n\tCONSTRAINT `fk_session_project_id_project_id_fk` FOREIGN KEY (`project_id`) REFERENCES `project`(`id`) ON DELETE CASCADE\n);\n--> statement-breakpoint\nCREATE TABLE `todo` (\n\t`session_id` text NOT NULL,\n\t`content` text NOT NULL,\n\t`status` text NOT NULL,\n\t`priority` text NOT NULL,\n\t`position` integer NOT NULL,\n\t`time_created` integer NOT NULL,\n\t`time_updated` integer NOT NULL,\n\tCONSTRAINT `todo_pk` PRIMARY KEY(`session_id`, `position`),\n\tCONSTRAINT `fk_todo_session_id_session_id_fk` FOREIGN KEY (`session_id`) REFERENCES `session`(`id`) ON DELETE CASCADE\n);\n--> statement-breakpoint\nCREATE TABLE `session_share` (\n\t`session_id` text PRIMARY KEY,\n\t`id` text NOT NULL,\n\t`secret` text NOT NULL,\n\t`url` text NOT NULL,\n\t`time_created` integer NOT NULL,\n\t`time_updated` integer NOT NULL,\n\tCONSTRAINT `fk_session_share_session_id_session_id_fk` FOREIGN KEY (`session_id`) REFERENCES `session`(`id`) ON DELETE CASCADE\n);\n--> statement-breakpoint\nCREATE INDEX `message_session_idx` ON `message` (`session_id`);--> statement-breakpoint\nCREATE INDEX `part_message_idx` ON `part` (`message_id`);--> statement-breakpoint\nCREATE INDEX `part_session_idx` ON `part` (`session_id`);--> statement-breakpoint\nCREATE INDEX `session_project_idx` ON `session` (`project_id`);--> statement-breakpoint\nCREATE INDEX `session_parent_idx` ON `session` (`parent_id`);--> statement-breakpoint\nCREATE INDEX `todo_session_idx` ON `todo` (`session_id`);",timestamp:1769552633000,name:"20260127222353_familiar_lady_ursula"},{sql:"ALTER TABLE `project` ADD `commands` text;",timestamp:1770830228000,name:"20260211171708_add_project_commands"},{sql:"CREATE TABLE `control_account` (\n\t`email` text NOT NULL,\n\t`url` text NOT NULL,\n\t`access_token` text NOT NULL,\n\t`refresh_token` text NOT NULL,\n\t`token_expiry` integer,\n\t`active` integer NOT NULL,\n\t`time_created` integer NOT NULL,\n\t`time_updated` integer NOT NULL,\n\tCONSTRAINT `control_account_pk` PRIMARY KEY(`email`, `url`)\n);\n",timestamp:1770993676000,name:"20260213144116_wakeful_the_professor"},{sql:"CREATE TABLE `workspace` (\n\t`id` text PRIMARY KEY,\n\t`branch` text,\n\t`project_id` text NOT NULL,\n\t`config` text NOT NULL,\n\tCONSTRAINT `fk_workspace_project_id_project_id_fk` FOREIGN KEY (`project_id`) REFERENCES `project`(`id`) ON DELETE CASCADE\n);\n",timestamp:1772056728000,name:"20260225215848_workspace"},{sql:"ALTER TABLE `session` ADD `workspace_id` text;--> statement-breakpoint\nCREATE INDEX `session_workspace_idx` ON `session` (`workspace_id`);",timestamp:1772228279000,name:"20260227213759_add_session_workspace_id"},{sql:"CREATE TABLE `account` (\n\t`id` text PRIMARY KEY,\n\t`email` text NOT NULL,\n\t`url` text NOT NULL,\n\t`access_token` text NOT NULL,\n\t`refresh_token` text NOT NULL,\n\t`token_expiry` integer,\n\t`selected_org_id` text,\n\t`time_created` integer NOT NULL,\n\t`time_updated` integer NOT NULL\n);\n--> statement-breakpoint\nCREATE TABLE `account_state` (\n\t`id` integer PRIMARY KEY NOT NULL,\n\t`active_account_id` text,\n\tFOREIGN KEY (`active_account_id`) REFERENCES `account`(`id`) ON UPDATE no action ON DELETE set null\n);\n",timestamp:1772310750000,name:"20260228203230_blue_harpoon"},{sql:"ALTER TABLE `workspace` ADD `type` text NOT NULL;--> statement-breakpoint\nALTER TABLE `workspace` ADD `name` text;--> statement-breakpoint\nALTER TABLE `workspace` ADD `directory` text;--> statement-breakpoint\nALTER TABLE `workspace` ADD `extra` text;--> statement-breakpoint\nALTER TABLE `workspace` DROP COLUMN `config`;",timestamp:1772579546000,name:"20260303231226_add_workspace_fields"},{sql:"ALTER TABLE `account_state` ADD `active_org_id` text;--> statement-breakpoint\nUPDATE `account_state` SET `active_org_id` = (SELECT `selected_org_id` FROM `account` WHERE `account`.`id` = `account_state`.`active_account_id`);--> statement-breakpoint\nALTER TABLE `account` DROP COLUMN `selected_org_id`;\n",timestamp:1773097200000,name:"20260309230000_move_org_to_state"},{sql:"DROP INDEX IF EXISTS `message_session_idx`;--> statement-breakpoint\nDROP INDEX IF EXISTS `part_message_idx`;--> statement-breakpoint\nCREATE INDEX `message_session_time_created_id_idx` ON `message` (`session_id`,`time_created`,`id`);--> statement-breakpoint\nCREATE INDEX `part_message_id_id_idx` ON `part` (`message_id`,`id`);",timestamp:1773290071000,name:"20260312043431_session_message_cursor"},{sql:"CREATE TABLE `event_sequence` (\n\t`aggregate_id` text PRIMARY KEY,\n\t`seq` integer NOT NULL\n);\n--> statement-breakpoint\nCREATE TABLE `event` (\n\t`id` text PRIMARY KEY,\n\t`aggregate_id` text NOT NULL,\n\t`seq` integer NOT NULL,\n\t`type` text NOT NULL,\n\t`data` text NOT NULL,\n\tCONSTRAINT `fk_event_aggregate_id_event_sequence_aggregate_id_fk` FOREIGN KEY (`aggregate_id`) REFERENCES `event_sequence`(`aggregate_id`) ON DELETE CASCADE\n);\n",timestamp:1774309702000,name:"20260323234822_events"},{sql:"PRAGMA foreign_keys=OFF;--> statement-breakpoint\nCREATE TABLE `__new_workspace` (\n\t`id` text PRIMARY KEY,\n\t`type` text NOT NULL,\n\t`name` text DEFAULT '' NOT NULL,\n\t`branch` text,\n\t`directory` text,\n\t`extra` text,\n\t`project_id` text NOT NULL,\n\tCONSTRAINT `fk_workspace_project_id_project_id_fk` FOREIGN KEY (`project_id`) REFERENCES `project`(`id`) ON DELETE CASCADE\n);\n--> statement-breakpoint\nINSERT INTO `__new_workspace`(`id`, `type`, `branch`, `name`, `directory`, `extra`, `project_id`) SELECT `id`, `type`, `branch`, `name`, `directory`, `extra`, `project_id` FROM `workspace`;--> statement-breakpoint\nDROP TABLE `workspace`;--> statement-breakpoint\nALTER TABLE `__new_workspace` RENAME TO `workspace`;--> statement-breakpoint\nPRAGMA foreign_keys=ON;",timestamp:1775843113000,name:"20260410174513_workspace-name"},{sql:"CREATE TABLE `session_entry` (\n\t`id` text PRIMARY KEY,\n\t`session_id` text NOT NULL,\n\t`type` text NOT NULL,\n\t`time_created` integer NOT NULL,\n\t`time_updated` integer NOT NULL,\n\t`data` text NOT NULL,\n\tCONSTRAINT `fk_session_entry_session_id_session_id_fk` FOREIGN KEY (`session_id`) REFERENCES `session`(`id`) ON DELETE CASCADE\n);\n--> statement-breakpoint\nCREATE INDEX `session_entry_session_idx` ON `session_entry` (`session_id`);--> statement-breakpoint\nCREATE INDEX `session_entry_session_type_idx` ON `session_entry` (`session_id`,`type`);--> statement-breakpoint\nCREATE INDEX `session_entry_time_created_idx` ON `session_entry` (`time_created`);",timestamp:1776103196000,name:"20260413175956_chief_energizer"},{sql:"ALTER TABLE `session` ADD `context_from` text;--> statement-breakpoint\nALTER TABLE `session` ADD `context_watermark` text;--> statement-breakpoint\nCREATE INDEX `session_context_from_idx` ON `session` (`context_from`);\n",timestamp:1776873600000,name:"20260422160000_context_inheritance"},{sql:"CREATE TABLE `task_registry` (\n `id` text PRIMARY KEY,\n `parent_session_id` text NOT NULL REFERENCES `session`(`id`) ON DELETE CASCADE,\n `status` text NOT NULL,\n `agent` text NOT NULL,\n `description` text NOT NULL,\n `context_mode` text NOT NULL,\n `background` integer NOT NULL,\n `last_turn_time` integer NOT NULL,\n `turn_count` integer NOT NULL DEFAULT 0,\n `error` text,\n `time_completed` integer,\n `time_created` integer NOT NULL,\n `time_updated` integer NOT NULL\n);--> statement-breakpoint\nCREATE INDEX `task_registry_parent_idx` ON `task_registry` (`parent_session_id`);--> statement-breakpoint\nCREATE INDEX `task_registry_status_idx` ON `task_registry` (`status`);--> statement-breakpoint\nCREATE INDEX `task_registry_status_last_turn_idx` ON `task_registry` (`status`, `last_turn_time`);\n",timestamp:1776877200000,name:"20260422170000_task_registry"},{sql:"DROP INDEX IF EXISTS `session_entry_session_idx`;--> statement-breakpoint\nDROP INDEX IF EXISTS `session_entry_session_type_idx`;--> statement-breakpoint\nDROP INDEX IF EXISTS `session_entry_time_created_idx`;--> statement-breakpoint\nDROP TABLE IF EXISTS `session_entry`;\n",timestamp:1776956061000,name:"20260423145421_remove_session_entry"},{sql:"DROP INDEX IF EXISTS `task_registry_parent_idx`;--> statement-breakpoint\nDROP INDEX IF EXISTS `task_registry_status_idx`;--> statement-breakpoint\nDROP INDEX IF EXISTS `task_registry_status_last_turn_idx`;--> statement-breakpoint\nALTER TABLE `task_registry` RENAME TO `actor_registry`;--> statement-breakpoint\nCREATE INDEX `actor_registry_parent_idx` ON `actor_registry` (`parent_session_id`);--> statement-breakpoint\nCREATE INDEX `actor_registry_status_idx` ON `actor_registry` (`status`);--> statement-breakpoint\nCREATE INDEX `actor_registry_status_last_turn_idx` ON `actor_registry` (`status`, `last_turn_time`);\n",timestamp:1778803200000,name:"20260515000000_actor_rename"},{sql:"CREATE TABLE `memory_fts` (\n `path` text PRIMARY KEY NOT NULL,\n `scope` text NOT NULL,\n `scope_id` text DEFAULT '' NOT NULL,\n `type` text NOT NULL,\n `body` text NOT NULL,\n `fingerprint` text NOT NULL,\n `last_indexed_at` integer NOT NULL\n);\n--> statement-breakpoint\nCREATE INDEX `memory_fts_scope_idx` ON `memory_fts` (`scope`, `scope_id`);\n--> statement-breakpoint\nCREATE INDEX `memory_fts_type_idx` ON `memory_fts` (`type`);\n--> statement-breakpoint\nCREATE VIRTUAL TABLE `memory_fts_idx` USING fts5(\n body,\n content='memory_fts',\n content_rowid='rowid',\n tokenize='unicode61 remove_diacritics 1'\n);\n--> statement-breakpoint\nCREATE TRIGGER `memory_fts_ai` AFTER INSERT ON `memory_fts` BEGIN\n INSERT INTO `memory_fts_idx`(rowid, body) VALUES (NEW.rowid, NEW.body);\nEND;\n--> statement-breakpoint\nCREATE TRIGGER `memory_fts_ad` AFTER DELETE ON `memory_fts` BEGIN\n DELETE FROM `memory_fts_idx` WHERE rowid = OLD.rowid;\nEND;\n--> statement-breakpoint\nCREATE TRIGGER `memory_fts_au` AFTER UPDATE ON `memory_fts` BEGIN\n DELETE FROM `memory_fts_idx` WHERE rowid = OLD.rowid;\n INSERT INTO `memory_fts_idx`(rowid, body) VALUES (NEW.rowid, NEW.body);\nEND;\n",timestamp:1778806800000,name:"20260515010000_memory_fts"},{sql:"CREATE TABLE `task` (\n `id` text NOT NULL,\n `session_id` text NOT NULL REFERENCES `session`(`id`) ON DELETE CASCADE,\n `parent_task_id` text,\n `kind` text NOT NULL DEFAULT 'user',\n `status` text NOT NULL,\n `focus` integer NOT NULL DEFAULT 0,\n `summary` text NOT NULL,\n `created_at` integer NOT NULL,\n `last_event_at` integer NOT NULL,\n `ended_at` integer,\n `cleanup_after` integer,\n PRIMARY KEY (`session_id`, `id`)\n);--> statement-breakpoint\nCREATE INDEX `task_session_idx` ON `task` (`session_id`);--> statement-breakpoint\nCREATE INDEX `task_parent_idx` ON `task` (`session_id`, `parent_task_id`);--> statement-breakpoint\nCREATE INDEX `task_status_idx` ON `task` (`status`);--> statement-breakpoint\nCREATE INDEX `task_kind_idx` ON `task` (`kind`);--> statement-breakpoint\nCREATE UNIQUE INDEX `task_focus_per_session_idx` ON `task` (`session_id`) WHERE focus = 1;--> statement-breakpoint\nCREATE TABLE `task_event` (\n `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,\n `session_id` text NOT NULL REFERENCES `session`(`id`) ON DELETE CASCADE,\n `task_id` text NOT NULL,\n `at` integer NOT NULL,\n `kind` text NOT NULL,\n `summary` text,\n FOREIGN KEY (`session_id`, `task_id`) REFERENCES `task`(`session_id`, `id`) ON DELETE CASCADE\n);--> statement-breakpoint\nCREATE INDEX `task_event_task_idx` ON `task_event` (`session_id`, `task_id`, `at`);\n",timestamp:1778810400000,name:"20260515020000_user_task"},{sql:"ALTER TABLE `session` ADD `last_checkpoint_message_id` text;\n",timestamp:1779148800000,name:"20260519000000_last_checkpoint_message_id"},{sql:"ALTER TABLE `message` ADD `agent_id` text;--> statement-breakpoint\nCREATE INDEX `message_session_agent_idx` ON `message` (`session_id`,`agent_id`,`id`);\n",timestamp:1779321600000,name:"20260521000000_message_agent_id"},{sql:"DROP TABLE `actor_registry`;--> statement-breakpoint\nCREATE TABLE `actor_registry` (\n `session_id` text NOT NULL REFERENCES `session`(`id`) ON DELETE CASCADE,\n `actor_id` text NOT NULL,\n `mode` text NOT NULL,\n `parent_actor_id` text,\n `status` text NOT NULL,\n `agent` text NOT NULL,\n `description` text NOT NULL,\n `context_mode` text NOT NULL,\n `context_watermark` text,\n `background` integer NOT NULL,\n `tools` text,\n `last_turn_time` integer NOT NULL,\n `turn_count` integer NOT NULL DEFAULT 0,\n `error` text,\n `time_completed` integer,\n `time_created` integer NOT NULL,\n `time_updated` integer NOT NULL,\n PRIMARY KEY (`session_id`, `actor_id`)\n);--> statement-breakpoint\nCREATE INDEX `actor_registry_session_agent_idx` ON `actor_registry` (`session_id`, `agent`);--> statement-breakpoint\nCREATE INDEX `actor_registry_session_parent_idx` ON `actor_registry` (`session_id`, `parent_actor_id`);--> statement-breakpoint\nCREATE INDEX `actor_registry_status_idx` ON `actor_registry` (`status`);--> statement-breakpoint\nCREATE INDEX `actor_registry_status_last_turn_idx` ON `actor_registry` (`status`, `last_turn_time`);\n",timestamp:1779321660000,name:"20260521000100_actor_registry_v6"},{sql:"DROP TRIGGER IF EXISTS `memory_fts_ai`;--> statement-breakpoint\nDROP TRIGGER IF EXISTS `memory_fts_ad`;--> statement-breakpoint\nDROP TRIGGER IF EXISTS `memory_fts_au`;--> statement-breakpoint\nDROP TABLE IF EXISTS `memory_fts_idx`;--> statement-breakpoint\nDROP TABLE IF EXISTS `memory_fts`;--> statement-breakpoint\nCREATE TABLE `memory_fts` (\n `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,\n `path` text NOT NULL UNIQUE,\n `scope` text NOT NULL,\n `scope_id` text DEFAULT '' NOT NULL,\n `type` text NOT NULL,\n `body` text NOT NULL,\n `fingerprint` text NOT NULL,\n `last_indexed_at` integer NOT NULL\n);--> statement-breakpoint\nCREATE INDEX `memory_fts_scope_idx` ON `memory_fts` (`scope`, `scope_id`);--> statement-breakpoint\nCREATE INDEX `memory_fts_type_idx` ON `memory_fts` (`type`);--> statement-breakpoint\nCREATE VIRTUAL TABLE `memory_fts_idx` USING fts5(\n body,\n content='memory_fts',\n content_rowid='id',\n tokenize='unicode61 remove_diacritics 1'\n);--> statement-breakpoint\nCREATE TRIGGER `memory_fts_ai` AFTER INSERT ON `memory_fts` BEGIN\n INSERT INTO `memory_fts_idx`(rowid, body) VALUES (NEW.id, NEW.body);\nEND;--> statement-breakpoint\nCREATE TRIGGER `memory_fts_ad` AFTER DELETE ON `memory_fts` BEGIN\n DELETE FROM `memory_fts_idx` WHERE rowid = OLD.id;\nEND;--> statement-breakpoint\nCREATE TRIGGER `memory_fts_au` AFTER UPDATE ON `memory_fts` BEGIN\n DELETE FROM `memory_fts_idx` WHERE rowid = OLD.id;\n INSERT INTO `memory_fts_idx`(rowid, body) VALUES (NEW.id, NEW.body);\nEND;\n",timestamp:1779325200000,name:"20260521010000_memory_fts_v6"},{sql:"-- Fix v6.1 trigger pattern: external content FTS5 vtab requires the 'delete'\n-- magic command to remove OLD body's tokens, NOT a plain DELETE FROM the vtab.\n-- The previous DELETE FROM pattern was contentless-mode syntax misapplied to\n-- external-content mode, leaving stale tokens accumulating until vtab corrupts.\nDROP TRIGGER IF EXISTS `memory_fts_ai`;--> statement-breakpoint\nDROP TRIGGER IF EXISTS `memory_fts_ad`;--> statement-breakpoint\nDROP TRIGGER IF EXISTS `memory_fts_au`;--> statement-breakpoint\nCREATE TRIGGER `memory_fts_ai` AFTER INSERT ON `memory_fts` BEGIN\n INSERT INTO `memory_fts_idx`(rowid, body) VALUES (NEW.id, NEW.body);\nEND;--> statement-breakpoint\nCREATE TRIGGER `memory_fts_ad` AFTER DELETE ON `memory_fts` BEGIN\n INSERT INTO `memory_fts_idx`(`memory_fts_idx`, rowid, body) VALUES('delete', OLD.id, OLD.body);\nEND;--> statement-breakpoint\nCREATE TRIGGER `memory_fts_au` AFTER UPDATE ON `memory_fts` BEGIN\n INSERT INTO `memory_fts_idx`(`memory_fts_idx`, rowid, body) VALUES('delete', OLD.id, OLD.body);\n INSERT INTO `memory_fts_idx`(rowid, body) VALUES (NEW.id, NEW.body);\nEND;\n",timestamp:1779328800000,name:"20260521020000_memory_fts_triggers"},{sql:"UPDATE `message` SET `agent_id` = 'main' WHERE `agent_id` IS NULL;--> statement-breakpoint\nCREATE TABLE `message_new` (\n `id` text PRIMARY KEY NOT NULL,\n `session_id` text NOT NULL REFERENCES `session`(`id`) ON DELETE CASCADE,\n `agent_id` text NOT NULL DEFAULT 'main',\n `time_created` integer NOT NULL,\n `time_updated` integer NOT NULL,\n `data` text NOT NULL\n);--> statement-breakpoint\nINSERT INTO `message_new` SELECT `id`, `session_id`, COALESCE(`agent_id`, 'main'), `time_created`, `time_updated`, `data` FROM `message`;--> statement-breakpoint\nDROP TABLE `message`;--> statement-breakpoint\nALTER TABLE `message_new` RENAME TO `message`;--> statement-breakpoint\nCREATE INDEX `message_session_time_created_id_idx` ON `message` (`session_id`,`time_created`,`id`);--> statement-breakpoint\nCREATE INDEX `message_session_agent_idx` ON `message` (`session_id`,`agent_id`,`id`);\n",timestamp:1779753600000,name:"20260526000000_agent_id_main"},{sql:"ALTER TABLE `actor_registry` ADD COLUMN `last_outcome` text;--> statement-breakpoint\nALTER TABLE `actor_registry` ADD COLUMN `lifecycle` text NOT NULL DEFAULT 'ephemeral';--> statement-breakpoint\nALTER TABLE `actor_registry` RENAME COLUMN `error` TO `last_error`;--> statement-breakpoint\nUPDATE `actor_registry` SET `last_outcome` = 'success' WHERE `status` = 'completed';--> statement-breakpoint\nUPDATE `actor_registry` SET `last_outcome` = 'failure' WHERE `status` = 'failed';--> statement-breakpoint\nUPDATE `actor_registry` SET `last_outcome` = 'cancelled' WHERE `status` = 'cancelled';--> statement-breakpoint\nUPDATE `actor_registry` SET `status` = 'idle' WHERE `status` IN ('completed','failed','cancelled');--> statement-breakpoint\nUPDATE `actor_registry` SET `lifecycle` = CASE `mode` WHEN 'peer' THEN 'persistent' WHEN 'main' THEN 'persistent' ELSE 'ephemeral' END;\n",timestamp:1779840000000,name:"20260527000000_actor_lifecycle"},{sql:"CREATE TABLE `inbox` (\n `id` text PRIMARY KEY NOT NULL,\n `receiver_session_id` text NOT NULL REFERENCES `session`(`id`) ON DELETE CASCADE,\n `receiver_actor_id` text NOT NULL,\n `sender_session_id` text,\n `sender_actor_id` text,\n `type` text NOT NULL DEFAULT 'text',\n `content` text NOT NULL,\n `created_at` integer NOT NULL\n);--> statement-breakpoint\nCREATE INDEX `inbox_receiver_idx` ON `inbox` (`receiver_session_id`,`receiver_actor_id`,`id`);--> statement-breakpoint\nCREATE INDEX `inbox_created_idx` ON `inbox` (`created_at`);\n",timestamp:1779840060000,name:"20260527000100_inbox"},{sql:"-- todo: drop priority column\nALTER TABLE `todo` DROP COLUMN `priority`;\n--> statement-breakpoint\n\n-- task: drop focus-dependent index before dropping its column\nDROP INDEX `task_focus_per_session_idx`;\n--> statement-breakpoint\nDROP INDEX `task_kind_idx`;\n--> statement-breakpoint\nALTER TABLE `task` DROP COLUMN `focus`;\n--> statement-breakpoint\nALTER TABLE `task` DROP COLUMN `kind`;\n--> statement-breakpoint\n\n-- migrate status values: proposed/active -> open\nUPDATE `task` SET `status` = 'open' WHERE `status` IN ('proposed', 'active');\n",timestamp:1780012800000,name:"20260529000000_task_todo_redesign"},{sql:"ALTER TABLE `task` ADD COLUMN `owner` text;\n",timestamp:1780444800000,name:"20260603000000_task_in_progress_owner"},{sql:"CREATE TABLE `workflow_run` (\n `id` text PRIMARY KEY NOT NULL,\n `session_id` text NOT NULL REFERENCES `session`(`id`) ON DELETE CASCADE,\n `name` text NOT NULL,\n `status` text NOT NULL,\n `running` integer NOT NULL DEFAULT 0,\n `succeeded` integer NOT NULL DEFAULT 0,\n `failed` integer NOT NULL DEFAULT 0,\n `current_phase` text,\n `parent_actor_id` text,\n `args` text,\n `error` text,\n `time_created` integer NOT NULL,\n `time_updated` integer NOT NULL\n);--> statement-breakpoint\nCREATE INDEX `workflow_run_session_idx` ON `workflow_run` (`session_id`);--> statement-breakpoint\nCREATE INDEX `workflow_run_status_idx` ON `workflow_run` (`status`);\n",timestamp:1780444800000,name:"20260603000000_workflow_run"},{sql:"ALTER TABLE `workflow_run` ADD COLUMN `script_sha` text;\n",timestamp:1780531200000,name:"20260604000000_workflow_script_sha"},{sql:"CREATE TABLE `claude_import` (\n `source_uuid` text PRIMARY KEY NOT NULL,\n `session_id` text NOT NULL,\n `source_path` text NOT NULL,\n `source_mtime` integer NOT NULL,\n `time_imported` integer NOT NULL\n);\n",timestamp:1780876800000,name:"20260608000000_claude_import"},{sql:"ALTER TABLE `claude_import` ADD `message_ids` text;\n",timestamp:1780880400000,name:"20260608010000_claude_import_message_ids"},{sql:"CREATE TABLE `history_fts` (\n `part_id` text PRIMARY KEY NOT NULL,\n `session_id` text NOT NULL,\n `message_id` text NOT NULL,\n `project_id` text NOT NULL,\n `kind` text NOT NULL,\n `tool_name` text,\n `body` text NOT NULL,\n `time_created` integer NOT NULL\n);--> statement-breakpoint\nCREATE INDEX `history_fts_session_idx` ON `history_fts` (`session_id`, `time_created`);--> statement-breakpoint\nCREATE INDEX `history_fts_project_idx` ON `history_fts` (`project_id`, `time_created`);--> statement-breakpoint\nCREATE INDEX `history_fts_message_idx` ON `history_fts` (`message_id`);--> statement-breakpoint\nCREATE VIRTUAL TABLE `history_fts_idx` USING fts5(\n body,\n content='history_fts',\n content_rowid='rowid',\n tokenize='unicode61 remove_diacritics 1'\n);--> statement-breakpoint\nCREATE TRIGGER `history_fts_ai` AFTER INSERT ON `history_fts` BEGIN\n INSERT INTO `history_fts_idx`(rowid, body) VALUES (NEW.rowid, NEW.body);\nEND;--> statement-breakpoint\nCREATE TRIGGER `history_fts_ad` AFTER DELETE ON `history_fts` BEGIN\n INSERT INTO `history_fts_idx`(`history_fts_idx`, rowid, body) VALUES('delete', OLD.rowid, OLD.body);\nEND;--> statement-breakpoint\nCREATE TRIGGER `history_fts_au` AFTER UPDATE ON `history_fts` BEGIN\n INSERT INTO `history_fts_idx`(`history_fts_idx`, rowid, body) VALUES('delete', OLD.rowid, OLD.body);\n INSERT INTO `history_fts_idx`(rowid, body) VALUES (NEW.rowid, NEW.body);\nEND;\n",timestamp:1780963200000,name:"20260609000000_history_fts"},{sql:"ALTER TABLE `workflow_run` ADD COLUMN `agent_timeout_ms` integer;\n",timestamp:1781046000000,name:"20260609230000_workflow_agent_timeout"},{sql:"CREATE TABLE `external_import` (\n `source` text NOT NULL,\n `source_key` text NOT NULL,\n `session_id` text NOT NULL,\n `source_path` text NOT NULL,\n `source_mtime` integer NOT NULL,\n `time_imported` integer NOT NULL,\n `message_ids` text,\n PRIMARY KEY (`source`, `source_key`)\n);\n\nINSERT INTO `external_import` (`source`, `source_key`, `session_id`, `source_path`, `source_mtime`, `time_imported`, `message_ids`)\nSELECT 'cc', `source_uuid`, `session_id`, `source_path`, `source_mtime`, `time_imported`, `message_ids`\nFROM `claude_import`;\n\nDROP TABLE `claude_import`;\n",timestamp:1781222400000,name:"20260612000000_external_import"}];if(o.length>0){if(Yt.info("applying migrations",{count:o.length,mode:"bundled"}),nn.QITQODE_SKIP_MIGRATIONS)for(let i of o)i.sql="select 1;";ho(n,o)}return n});function He(){Mn().$client.close(),Mn.reset()}var Vn=un.create("database");function Me(n){try{return n(Vn.use().tx)}catch(o){if(o instanceof un.NotFound){let i=[],_=Vn.provide({effects:i,tx:Mn()},()=>n(Mn()));for(let e of i)e();return _}throw o}}function xe(n){let o=vn.bind(n);try{Vn.use().effects.push(o)}catch{o()}}function Ke(n,o){try{return n(Vn.use().tx)}catch(i){if(i instanceof un.NotFound){let _=[],e=vn.bind((p)=>Vn.provide({tx:p,effects:_},()=>n(p))),T=Mn().transaction(e,{behavior:o?.behavior});for(let p of _)p();return T}throw i}}var jt={};$n(jt,{layer:()=>ct,defaultLayer:()=>we,Service:()=>yo,NotFoundError:()=>Yo});import v from"path";var xn={};$n(xn,{layer:()=>wt,defaultLayer:()=>Se,Service:()=>mo,Git:()=>xn});var Re=["--no-optional-locks","-c","core.autocrlf=false","-c","core.fsmonitor=false","-c","core.longpaths=true","-c","core.symlinks=true","-c","core.quotepath=false"],qn=(n)=>n.text().trim(),Uo=(n)=>n.split("\x00").filter(Boolean),Ee=(n)=>({exitCode:1,text:()=>"",stdout:Buffer.alloc(0),stderr:Buffer.from(n instanceof Error?n.message:String(n))}),kt=(n)=>{if(n==="??")return"added";if(n.includes("U"))return"modified";if(n.includes("A")&&!n.includes("D"))return"added";if(n.includes("D")&&!n.includes("A"))return"deleted";return"modified"};class mo extends Dn.Service()("@qitqode/Git"){}var wt=a.effect(mo,r.gen(function*(){let n=yield*no.ChildProcessSpawner,o=r.fn("Git.run")(function*(u,N){let m=Vt.make("git",[...Re,...u],{cwd:N.cwd,env:N.env,extendEnv:!0,stdin:"ignore",stdout:"pipe",stderr:"pipe"}),f=yield*qt(n,m);return{exitCode:f.code,text:()=>f.text,stdout:Buffer.from(f.text),stderr:Buffer.from(f.stderr)}},r.scoped,r.catch((u)=>r.succeed(Ee(u)))),i=r.fn("Git.text")(function*(u,N){return(yield*o(u,N)).text()}),_=r.fn("Git.lines")(function*(u,N){return(yield*i(u,N)).split(/\r?\n/).map((m)=>m.trim()).filter(Boolean)}),e=r.fnUntraced(function*(u){return yield*_(["for-each-ref","--format=%(refname:short)","refs/heads"],{cwd:u})}),T=r.fnUntraced(function*(u,N){let m=yield*o(["config","init.defaultBranch"],{cwd:u}),f=qn(m);if(!f||!N.includes(f))return;return{name:f,ref:f}}),p=r.fnUntraced(function*(u){let N=yield*_(["remote"],{cwd:u});if(N.includes("origin"))return"origin";if(N.length===1)return N[0];if(N.includes("upstream"))return"upstream";return N[0]}),O=r.fn("Git.branch")(function*(u){let N=yield*o(["symbolic-ref","--quiet","--short","HEAD"],{cwd:u});if(N.exitCode!==0)return;return qn(N)||void 0}),H=r.fn("Git.prefix")(function*(u){let N=yield*o(["rev-parse","--show-prefix"],{cwd:u});if(N.exitCode!==0)return"";return qn(N)}),E=r.fn("Git.defaultBranch")(function*(u){let N=yield*p(u);if(N){let t=yield*o(["symbolic-ref",`refs/remotes/${N}/HEAD`],{cwd:u});if(t.exitCode===0){let y=qn(t).replace(/^refs\/remotes\//,""),Q=y.startsWith(`${N}/`)?y.slice(`${N}/`.length):"";if(Q)return{name:Q,ref:y}}}let m=yield*e(u),f=yield*T(u,m);if(f)return f;if(m.includes("main"))return{name:"main",ref:"main"};if(m.includes("master"))return{name:"master",ref:"master"}}),K=r.fn("Git.hasHead")(function*(u){return(yield*o(["rev-parse","--verify","HEAD"],{cwd:u})).exitCode===0}),R=r.fn("Git.mergeBase")(function*(u,N,m="HEAD"){let f=yield*o(["merge-base",N,m],{cwd:u});if(f.exitCode!==0)return;return qn(f)||void 0}),S=r.fn("Git.show")(function*(u,N,m,f=""){let t=f?`${f}${m}`:m,y=yield*o(["show",`${N}:${t}`],{cwd:u});if(y.exitCode!==0)return"";if(y.stdout.includes(0))return"";return y.text()}),B=r.fn("Git.status")(function*(u){return Uo(yield*i(["status","--porcelain=v1","--untracked-files=all","--no-renames","-z","--","."],{cwd:u})).flatMap((N)=>{let m=N.slice(3);if(!m)return[];let f=N.slice(0,2);return[{file:m,code:f,status:kt(f)}]})}),l=r.fn("Git.diff")(function*(u,N){let m=Uo(yield*i(["diff","--no-ext-diff","--no-renames","--name-status","-z",N,"--","."],{cwd:u}));return m.flatMap((f,t)=>{if(t%2!==0)return[];let y=m[t+1];if(!f||!y)return[];return[{file:y,code:f,status:kt(f)}]})}),d=r.fn("Git.stats")(function*(u,N){return Uo(yield*i(["diff","--no-ext-diff","--no-renames","--numstat","-z",N,"--","."],{cwd:u})).flatMap((m)=>{let f=m.indexOf("\t"),t=m.indexOf("\t",f+1);if(f===-1||t===-1)return[];let y=m.slice(t+1);if(!y)return[];let Q=m.slice(0,f),L=m.slice(f+1,t),$=Q==="-"?0:Number.parseInt(Q||"0",10),U=L==="-"?0:Number.parseInt(L||"0",10);return[{file:y,additions:Number.isFinite($)?$:0,deletions:Number.isFinite(U)?U:0}]})});return mo.of({run:o,branch:O,prefix:H,defaultBranch:E,hasHead:K,mergeBase:R,show:S,status:B,diff:l,stats:d})})),Se=wt.pipe(a.provide(oo));var Tn=V.create({service:"storage"}),Yo=eo.create("NotFoundError",b.object({message:b.string()})),We=s.Struct({path:s.optional(s.Struct({root:s.optional(s.String)}))}),Pe=s.Struct({id:s.String}),Ue=s.Struct({id:s.String}),Ze=s.Struct({additions:s.Number,deletions:s.Number}),Xe=s.Struct({id:s.String,projectID:s.String,summary:s.Struct({diffs:s.Array(Ze)})}),Ye=s.decodeUnknownOption(We),ve=s.decodeUnknownOption(Pe),ze=s.decodeUnknownOption(Ue),ke=s.decodeUnknownOption(Xe);class yo extends Dn.Service()("@qitqode/Storage"){}function Ve(n,o){return v.join(n,...o)+".json"}function Zo(n){if(!n||typeof n!=="object")return!1;if("code"in n&&n.code==="ENOENT")return!0;if("reason"in n&&n.reason&&typeof n.reason==="object"&&"_tag"in n.reason)return n.reason._tag==="NotFound";return!1}function qe(n){let o=Number.parseInt(n,10);return Number.isNaN(o)?0:o}var Ft=[r.fn("Storage.migration.1")(function*(n,o,i){let _=v.resolve(n,"../project");if(!(yield*o.isDir(_)))return;let e=yield*o.glob("*",{cwd:_,include:"all"});for(let T of e){let p=v.join(_,T);if(!(yield*o.isDir(p)))continue;Tn.info(`migrating project ${T}`);let O=T,H="/";if(O!=="global"){for(let R of yield*o.glob("storage/session/message/*/*.json",{cwd:p,absolute:!0})){let S=Ye(yield*o.readJson(R),{onExcessProperty:"preserve"}),B=wn.isSome(S)?S.value.path?.root:void 0;if(!B)continue;H=B;break}if(!H)continue;if(!(yield*o.isDir(H)))continue;let E=yield*i.run(["rev-list","--max-parents=0","--all"],{cwd:H}),[K]=E.text().split(`
5
- `).filter(Boolean).map((R)=>R.trim()).toSorted();if(!K)continue;O=K,yield*o.writeWithDirs(v.join(n,"project",O+".json"),JSON.stringify({id:K,vcs:"git",worktree:H,time:{created:Date.now(),initialized:Date.now()}},null,2)),Tn.info(`migrating sessions for project ${O}`);for(let R of yield*o.glob("storage/session/info/*.json",{cwd:p,absolute:!0})){let S=v.join(n,"session",O,v.basename(R));Tn.info("copying",{sessionFile:R,dest:S});let B=yield*o.readJson(R),l=ve(B,{onExcessProperty:"preserve"});if(yield*o.writeWithDirs(S,JSON.stringify(B,null,2)),wn.isNone(l))continue;Tn.info(`migrating messages for session ${l.value.id}`);for(let d of yield*o.glob(`storage/session/message/${l.value.id}/*.json`,{cwd:p,absolute:!0})){let u=v.join(n,"message",l.value.id,v.basename(d));Tn.info("copying",{msgFile:d,dest:u});let N=yield*o.readJson(d),m=ze(N,{onExcessProperty:"preserve"});if(yield*o.writeWithDirs(u,JSON.stringify(N,null,2)),wn.isNone(m))continue;Tn.info(`migrating parts for message ${m.value.id}`);for(let f of yield*o.glob(`storage/session/part/${l.value.id}/${m.value.id}/*.json`,{cwd:p,absolute:!0})){let t=v.join(n,"part",m.value.id,v.basename(f)),y=yield*o.readJson(f);Tn.info("copying",{partFile:f,dest:t}),yield*o.writeWithDirs(t,JSON.stringify(y,null,2))}}}}}}),r.fn("Storage.migration.2")(function*(n,o){for(let i of yield*o.glob("session/*/*.json",{cwd:n,absolute:!0})){let _=yield*o.readJson(i),e=ke(_,{onExcessProperty:"preserve"});if(wn.isNone(e))continue;let T=e.value.summary.diffs;yield*o.writeWithDirs(v.join(n,"session_diff",e.value.id+".json"),JSON.stringify(T,null,2)),yield*o.writeWithDirs(v.join(n,"session",e.value.projectID,e.value.id+".json"),JSON.stringify({..._,summary:{additions:T.reduce((p,O)=>p+O.additions,0),deletions:T.reduce((p,O)=>p+O.deletions,0)}},null,2))}})],ct=a.effect(yo,r.gen(function*(){let n=yield*q.Service,o=yield*xn.Service,i=yield*Xo.make({lookup:()=>Kn.make(),idleTimeToLive:0}),_=yield*r.cached(r.gen(function*(){let B=v.join(Bn.Path.data,"storage"),l=v.join(B,"migration"),d=yield*n.readFileString(l).pipe(r.map(qe),r.catchIf(Zo,()=>r.succeed(0)),r.orElseSucceed(()=>0));for(let u=d;u<Ft.length;u++){Tn.info("running migration",{index:u});let N=Ft[u],m=yield*r.exit(N(B,n,o));if(kn.isFailure(m)){Tn.error("failed to run migration",{index:u,cause:m.cause});break}yield*n.writeWithDirs(l,String(u+1))}return{dir:B}})),e=(B)=>r.fail(new Yo({message:`Resource not found: ${B}`})),T=(B,l)=>l.pipe(r.catchIf(Zo,()=>e(B))),p=r.fnUntraced(function*(B,l){yield*n.writeWithDirs(B,JSON.stringify(l,null,2))}),O=(B,l)=>r.scoped(r.gen(function*(){let d=Ve((yield*_).dir,B);return yield*l(d,yield*Xo.get(i,d))})),H=r.fn("Storage.remove")(function*(B){yield*O(B,(l,d)=>Kn.withWriteLock(d,n.remove(l).pipe(r.catchIf(Zo,()=>r.void))))}),E=(B)=>r.gen(function*(){return yield*O(B,(d,u)=>Kn.withReadLock(u,T(d,n.readJson(d))))}),K=(B,l)=>r.gen(function*(){return yield*O(B,(u,N)=>Kn.withWriteLock(N,r.gen(function*(){let m=yield*T(u,n.readJson(u));return l(m),yield*p(u,m),m})))}),R=(B,l)=>r.gen(function*(){yield*O(B,(d,u)=>Kn.withWriteLock(u,p(d,l)))}),S=r.fn("Storage.list")(function*(B){let l=(yield*_).dir,d=v.join(l,...B);return(yield*n.glob("**/*",{cwd:d,include:"file"}).pipe(r.catch(()=>r.succeed([])))).map((N)=>[...B,...N.slice(0,-5).split(v.sep)]).toSorted((N,m)=>N.join("/").localeCompare(m.join("/")))});return yo.of({remove:H,read:E,update:K,write:R,list:S})})),we=ct.pipe(a.provide(q.defaultLayer),a.provide(xn.defaultLayer));export{Un as rl,_t as sl,Zn as tl,mn as ul,C as vl,gn as wl,fo as xl,zo as yl,ko as zl,Vo as Al,qo as Bl,Fo as Cl,uo as Dl,Ln as El,xn as Fl,Yo as Gl,jt as Hl,F as Il,Ho as Jl,At as Kl,_e as Ll,Ct as Ml,Ae as Nl,on as Ol,vn as Pl,de as Ql,Pt as Rl,Ut as Sl};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var n="./highlights-hk7bwhj4.scm";export{n as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{WP as t}from"./chunk-f2pv705d.js";var e=await import("./chunk-zy06fe4r.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{$r as c,Zr as a,_r as b}from"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-f2pv705d.js";export{c as makeRuntime,a as attachWith,b as attach};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{uf as a}from"./chunk-xhh70g8j.js";import"./chunk-f2pv705d.js";export default a();
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Ud as q,Vd as K,Wd as D,Zd as L,_d as N}from"./chunk-hhk2sp5n.js";import"./chunk-4zhrg3rv.js";import{eg as B}from"./chunk-s06t769q.js";import{Ch as G}from"./chunk-w43kmnm9.js";import"./chunk-nrk29616.js";import"./chunk-kre93a89.js";import"./chunk-060wbpz4.js";import"./chunk-zrhw1szj.js";import"./chunk-wd8hbven.js";import"./chunk-drnj1a14.js";import"./chunk-9a6p1gdn.js";import{gl as C}from"./chunk-jxkrhrp0.js";import"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import"./chunk-3rgct4bd.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-hqjc4wgg.js";import"./chunk-makecdh6.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-va2qfh0x.js";import"./chunk-ae7b11np.js";import"./chunk-eeq0krp7.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-vjn54xj5.js";import"./chunk-0qpqd7nz.js";import"./chunk-gdew7bwm.js";import{Dt as J}from"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-wjz42325.js";import"./chunk-kry4vcrf.js";import"./chunk-f2pv705d.js";var X={command:"upgrade [target]",describe:"upgrade qitqode to the latest or a specific version",builder:(z)=>{return z.positional("target",{describe:"version to upgrade to, for ex '0.1.48' or 'v0.1.48'",type:"string"}).option("method",{alias:"m",describe:"installation method to use",type:"string",choices:["curl","npm","pnpm","bun","brew","choco","scoop"]})},handler:async(z)=>{B.empty(),B.println(B.logo(" ")),B.empty(),K("Upgrade");let O=await G.runPromise(C.Service.use((j)=>j.method())),E=z.method??O;if(E==="unknown"){if(q.error(`qitqode is installed to ${process.execPath} and may be managed by a package manager`),!await N({message:"Install anyways?",options:[{label:"Yes",value:!0},{label:"No",value:!1}],initialValue:!1})){D("Done");return}}q.info("Using method: "+E);let F=z.target?z.target.replace(/^v/,""):await G.runPromise(C.Service.use((j)=>j.latest()));if(J===F){q.warn(`qitqode upgrade skipped: ${F} is already installed`),D("Done");return}q.info(`From ${J} \u2192 ${F}`);let H=L();H.start("Upgrading...");let x=await G.runPromise(C.Service.use((j)=>j.upgrade(E,F))).catch((j)=>j);if(x){if(H.stop("Upgrade failed",1),x instanceof C.UpgradeFailedError)if(E==="choco"&&x.stderr.includes("not running from an elevated command shell"))q.error("Please run the terminal as Administrator and try again");else q.error(x.stderr);else if(x instanceof Error)q.error(x.message);D("Done");return}H.stop("Upgrade complete"),D("Done")}};export{X as UpgradeCommand};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var t="./highlights-r812a2qc.scm";export{t as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var L="./opentui-c5en9p2g.dll";export{L as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Ju as a,Ku as b}from"./chunk-aa2n02qk.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-f2pv705d.js";export{a as Path,b as Global};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{n as a,o as b}from"./chunk-ghap1n1m.js";import"./chunk-npzx3yd5.js";import"./chunk-16srrzjr.js";import"./chunk-c8k32724.js";import"./chunk-76h0f86f.js";import"./chunk-nfzpegqx.js";import"./chunk-gbkz04ke.js";import"./chunk-abv0fskc.js";import"./chunk-x55h5qdc.js";import"./chunk-5zh91zk2.js";import"./chunk-rk0fnvp5.js";import"./chunk-8p0t8qah.js";import"./chunk-4zhrg3rv.js";import"./chunk-438faz6b.js";import"./chunk-qp3hxqg5.js";import"./chunk-djqxbnwc.js";import"./chunk-s06t769q.js";import"./chunk-4ngmjk8j.js";import"./chunk-dd4qnh8s.js";import"./chunk-w43kmnm9.js";import"./chunk-nrk29616.js";import"./chunk-kre93a89.js";import"./chunk-060wbpz4.js";import"./chunk-zrhw1szj.js";import"./chunk-wd8hbven.js";import"./chunk-drnj1a14.js";import"./chunk-9a6p1gdn.js";import"./chunk-jxkrhrp0.js";import"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import"./chunk-3rgct4bd.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-hqjc4wgg.js";import"./chunk-makecdh6.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-va2qfh0x.js";import"./chunk-ae7b11np.js";import"./chunk-eeq0krp7.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-vjn54xj5.js";import"./chunk-ntpn0w9m.js";import"./chunk-0qpqd7nz.js";import"./chunk-gdew7bwm.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-wjz42325.js";import"./chunk-kry4vcrf.js";import"./chunk-f2pv705d.js";export{b as tui,a as rendererConfig};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{WP as t}from"./chunk-f2pv705d.js";var e=await import("./chunk-859pkecc.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{WP as t}from"./chunk-f2pv705d.js";var e=await import("./chunk-jzx700tb.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{op as a}from"./chunk-0gsw04hw.js";import"./chunk-vjn54xj5.js";import"./chunk-aa2n02qk.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-f2pv705d.js";export{a as which};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";function n(){return(e)=>JSON.parse(JSON.stringify(e.Type()))}export{n as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Ee as a}from"./chunk-7sq5dyv1.js";import"./chunk-9xxnwb33.js";import"./chunk-qdvnscxm.js";import"./chunk-yxttz5z5.js";import"./chunk-f2pv705d.js";export{a as fromProcess};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Ae as d,Be as e,Ce as f,De as g,xe as a,ye as b,ze as c}from"./chunk-tz3s8dvy.js";import"./chunk-9xxnwb33.js";import"./chunk-qdvnscxm.js";import"./chunk-yxttz5z5.js";import"./chunk-f2pv705d.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};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{pp as a,qp as b,rp as c,sp as d,tp as e,up as f,vp as g,wp as h,xp as i}from"./chunk-hqjc4wgg.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-f2pv705d.js";export{i as gateway,h as createGatewayProvider,h as createGateway,g as GatewayResponseError,d as GatewayRateLimitError,e as GatewayModelNotFoundError,c as GatewayInvalidRequestError,f as GatewayInternalServerError,a as GatewayError,b as GatewayAuthenticationError};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{WP as t}from"./chunk-f2pv705d.js";var e=await import("./chunk-jzrs878d.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{ie as a}from"./chunk-tc9xbn1t.js";import"./chunk-9xxnwb33.js";import"./chunk-qdvnscxm.js";import"./chunk-yxttz5z5.js";import"./chunk-f2pv705d.js";export{a as fromIni};
@@ -1,3 +0,0 @@
1
- // @bun
2
- import{lg as E}from"./chunk-q6p92zyn.js";import"./chunk-yd94wz5v.js";import"./chunk-4ngmjk8j.js";import"./chunk-dd4qnh8s.js";import"./chunk-tzq7wjgv.js";import"./chunk-nfg7nt13.js";import"./chunk-v9w88wpy.js";import"./chunk-q87fw8dk.js";import"./chunk-w43kmnm9.js";import"./chunk-nrk29616.js";import"./chunk-kre93a89.js";import"./chunk-060wbpz4.js";import"./chunk-zrhw1szj.js";import"./chunk-wd8hbven.js";import"./chunk-drnj1a14.js";import"./chunk-9a6p1gdn.js";import"./chunk-jxkrhrp0.js";import"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import"./chunk-3rgct4bd.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-hqjc4wgg.js";import"./chunk-makecdh6.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-va2qfh0x.js";import"./chunk-ae7b11np.js";import"./chunk-eeq0krp7.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-vjn54xj5.js";import"./chunk-0qpqd7nz.js";import"./chunk-gdew7bwm.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-wjz42325.js";import"./chunk-kry4vcrf.js";import{WP as z}from"./chunk-f2pv705d.js";var J={command:"generate",handler:async()=>{let A=await E.openapi();for(let q of Object.values(A.paths))for(let y of["get","post","put","delete","patch"]){let k=q[y];if(!k?.operationId)continue;k["x-codeSamples"]=[{lang:"js",source:['import { createQitQodeClient } from "@qitqode/sdk"',"","const client = createQitQodeClient()",`await client.${k.operationId}({`," ...","})"].join(`
3
- `)}]}let F=JSON.stringify(A,null,2),B=await import("./chunk-z7kswv9r.js"),C=await import("./chunk-c6cajbyj.js"),D=await import("./chunk-4fy08jcj.js"),G=await(B.format??B.default?.format)(F,{parser:"json",plugins:[C.default??C,D.default??D],printWidth:120});await new Promise((q,y)=>{process.stdout.write(G,(k)=>{if(k)y(k);else q()})})}};export{J as GenerateCommand};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Lg as o}from"./chunk-v9w88wpy.js";import{WP as n}from"./chunk-f2pv705d.js";async function a(){try{let{toJsonSchema:t}=await import("./chunk-368jx5dp.js");return t}catch{throw new o("@valibot/to-json-schema")}}export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var t="./injections-73j83es3.scm";export{t as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{fe as a,ge as b}from"./chunk-4rpgwgx9.js";import"./chunk-9xxnwb33.js";import"./chunk-qdvnscxm.js";import"./chunk-yxttz5z5.js";import"./chunk-f2pv705d.js";export{a as fromWebToken,b as fromTokenFile};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{be as b}from"./chunk-f4mnp6xd.js";import{eg as t}from"./chunk-s06t769q.js";import{Ch as u}from"./chunk-w43kmnm9.js";import"./chunk-nrk29616.js";import"./chunk-kre93a89.js";import"./chunk-060wbpz4.js";import"./chunk-zrhw1szj.js";import"./chunk-wd8hbven.js";import"./chunk-drnj1a14.js";import{$j as m,Uk as y}from"./chunk-9a6p1gdn.js";import{ql as v}from"./chunk-jxkrhrp0.js";import{Ol as a}from"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import"./chunk-3rgct4bd.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-hqjc4wgg.js";import"./chunk-makecdh6.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-va2qfh0x.js";import"./chunk-ae7b11np.js";import"./chunk-eeq0krp7.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-vjn54xj5.js";import"./chunk-0qpqd7nz.js";import"./chunk-gdew7bwm.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import{EI as s}from"./chunk-tezrgfc6.js";import"./chunk-wjz42325.js";import"./chunk-kry4vcrf.js";import"./chunk-f2pv705d.js";import{EOL as f}from"os";var M=b({command:"models [provider]",describe:"list all available models",builder:(r)=>{return r.positional("provider",{describe:"provider ID to filter models by",type:"string",array:!1}).option("verbose",{describe:"use more verbose model output (includes metadata like costs)",type:"boolean"}).option("refresh",{describe:"refresh the models cache from models.dev",type:"boolean"})},handler:async(r)=>{if(r.refresh)await v.refresh(!0),t.println(t.Style.TEXT_SUCCESS_BOLD+"Models cache refreshed"+t.Style.TEXT_NORMAL);await a.provide({directory:process.cwd(),async fn(){await u.runPromise(s.gen(function*(){let n=yield*(yield*y.Service).list(),l=(e,o)=>{let i=n[e],d=Object.entries(i.models).sort(([c],[p])=>c.localeCompare(p));for(let[c,p]of d)if(process.stdout.write(`${e}/${c}`),process.stdout.write(f),o)process.stdout.write(JSON.stringify(p,null,2)),process.stdout.write(f)};if(r.provider){let e=m.make(r.provider);if(!n[e]){yield*s.sync(()=>t.error(`Provider not found: ${r.provider}`));return}yield*s.sync(()=>l(e,r.verbose));return}let h=Object.keys(n).sort((e,o)=>{let i=e.startsWith("opencode"),d=o.startsWith("opencode");if(i&&!d)return-1;if(!i&&d)return 1;return e.localeCompare(o)});yield*s.sync(()=>{for(let e of h)l(m.make(e),r.verbose)})}))}})}});export{M as ModelsCommand};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Cl as s,Dl as t,El as u,Gl as v,Hl as w}from"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import{Fn as q,Gn as r,Hm as a,hn as b,in as c,jn as d,kn as e,ln as f,mn as g,nn as h,on as i,pn as j,qn as k,sn as l,tn as m,un as n,wn as o,yn as p}from"./chunk-3rgct4bd.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-vjn54xj5.js";import"./chunk-0qpqd7nz.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-f2pv705d.js";export{a as sql,e as or,f as not,c as ne,j as lte,i as lt,p as like,l as isNull,m as isNotNull,k as inArray,h as gte,g as gt,n as exists,b as eq,r as desc,t as count,o as between,q as asc,d as and,w as Storage,v as NotFoundError,s as JsonMigration,u as Database};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Bh as a,Ch as b}from"./chunk-w43kmnm9.js";import"./chunk-nrk29616.js";import"./chunk-kre93a89.js";import"./chunk-060wbpz4.js";import"./chunk-zrhw1szj.js";import"./chunk-wd8hbven.js";import"./chunk-drnj1a14.js";import"./chunk-9a6p1gdn.js";import"./chunk-jxkrhrp0.js";import"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import"./chunk-3rgct4bd.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-hqjc4wgg.js";import"./chunk-makecdh6.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-va2qfh0x.js";import"./chunk-ae7b11np.js";import"./chunk-eeq0krp7.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-vjn54xj5.js";import"./chunk-0qpqd7nz.js";import"./chunk-gdew7bwm.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-wjz42325.js";import"./chunk-kry4vcrf.js";import"./chunk-f2pv705d.js";export{b as AppRuntime,a as AppLayer};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{le as a}from"./chunk-acd72413.js";import"./chunk-3xdmxm5t.js";import"./chunk-9xxnwb33.js";import"./chunk-qdvnscxm.js";import"./chunk-yxttz5z5.js";import"./chunk-f2pv705d.js";export{a as fromHttp};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Br as a}from"./chunk-0crgymtr.js";import"./chunk-f2pv705d.js";export default a();
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Lg as t}from"./chunk-v9w88wpy.js";import{WP as n}from"./chunk-f2pv705d.js";async function a(){try{let{JSONSchema:e}=await import("./chunk-yzpc5kj2.js");return(r)=>e.make(r)}catch{throw new t("effect")}}export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{WP as t}from"./chunk-f2pv705d.js";var e=await import("./chunk-2qrvkef8.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var k="./opentui-drfwd3v7.dll";export{k as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";function o(){return(e,n)=>e.toJsonSchema(n)}export{o as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Gd as a,Hd as b}from"./chunk-5zh91zk2.js";import"./chunk-kmzpeq8k.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-f2pv705d.js";export{a as read,b as copy};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var _="./libopentui-smaejjb8.so";export{_ as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var L="./libopentui-430t0qv0.dylib";export{L as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var h="./tree-sitter-typescript-zxjzwt75.wasm";export{h as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Dg as i,Eg as j,Fg as k,Gg as l,Hg as m,Ig as n}from"./chunk-dd4qnh8s.js";import"./chunk-nrk29616.js";import{Ip as a,Jp as b,Kp as c,Lp as d,Mp as e,Np as f,Rp as g,Sp as h}from"./chunk-makecdh6.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-gdew7bwm.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-f2pv705d.js";export{f as resolveDevicePoll,h as refreshAccessToken,g as probeToken,l as loginDevice,n as loginBrowser,m as login,b as isReplitEnv,j as isNearExpiry,c as getConfig,i as getCallbackUri,k as fetchQreditsBalance,a as checkoutApiKey,d as ForgewiseError,e as DeviceFlowUnsupportedError};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Cr as a,Dr as b,Er as c}from"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-f2pv705d.js";export{a as openApp,c as default,b as apps};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var _="./libopentui-0r5w9btr.so";export{_ as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var e="./libopentui-xtk56e94.so";export{e as default};
@@ -1,3 +0,0 @@
1
- // @bun
2
- import{hv as o}from"./chunk-c3szabpf.js";var e=o;
3
- export{e as Lu};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{ce as a,de as b,ee as c}from"./chunk-twfvrafb.js";import"./chunk-9xxnwb33.js";import"./chunk-qdvnscxm.js";import"./chunk-yxttz5z5.js";import"./chunk-f2pv705d.js";export{b as validateSsoProfile,a as isSsoProfile,c as fromSSO};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Lg as t}from"./chunk-v9w88wpy.js";import{WP as o}from"./chunk-f2pv705d.js";async function e(){try{let{toJSONSchema:r}=await import("./chunk-4fvbexr8.js");return r}catch{throw new t("sury")}}export{e as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{WP as t}from"./chunk-f2pv705d.js";var e=await import("./chunk-ge19ff9d.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var t="./tree-sitter-3jzf13jk.wasm";export{t as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var A="./tree-sitter-zig-e78zbjpm.wasm";export{A as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Sf as a}from"./chunk-amp6mvbp.js";import"./chunk-qp3hxqg5.js";import"./chunk-f2pv705d.js";export default a();
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{WP as t}from"./chunk-f2pv705d.js";var e=await import("./chunk-jnvb3s7f.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Ng as a}from"./chunk-q87fw8dk.js";import{Ch as c,ch as t}from"./chunk-w43kmnm9.js";import"./chunk-nrk29616.js";import"./chunk-kre93a89.js";import"./chunk-060wbpz4.js";import"./chunk-zrhw1szj.js";import"./chunk-wd8hbven.js";import"./chunk-drnj1a14.js";import"./chunk-9a6p1gdn.js";import"./chunk-jxkrhrp0.js";import"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import"./chunk-3rgct4bd.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-hqjc4wgg.js";import"./chunk-makecdh6.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-va2qfh0x.js";import"./chunk-ae7b11np.js";import"./chunk-eeq0krp7.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-vjn54xj5.js";import"./chunk-0qpqd7nz.js";import"./chunk-gdew7bwm.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import{Lu as i}from"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-wjz42325.js";import"./chunk-kry4vcrf.js";import"./chunk-f2pv705d.js";var n=i.object({name:a.shape.name,branch:a.shape.branch.unwrap(),directory:a.shape.directory.unwrap()}),d={name:"Worktree",description:"Create a git worktree",async configure(e){let r=await c.runPromise(t.Service.use((o)=>o.makeWorktreeInfo()));return{...e,name:r.name,branch:r.branch,directory:r.directory}},async create(e){let r=n.parse(e);await c.runPromise(t.Service.use((o)=>o.createFromInfo({name:r.name,directory:r.directory,branch:r.branch})))},async remove(e){let r=n.parse(e);await c.runPromise(t.Service.use((o)=>o.remove({directory:r.directory})))},target(e){return{type:"local",directory:n.parse(e).directory}}};export{d as WorktreeAdaptor};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{WP as t}from"./chunk-f2pv705d.js";var e=await import("./chunk-h8fx619t.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var G="./tree-sitter-bash-hq5s6fxb.wasm";export{G as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var E="./tree-sitter-markdown_inline-j5349f42.wasm";export{E as default};
@@ -1,3 +0,0 @@
1
- // @bun
2
- import{WP as o}from"./chunk-f2pv705d.js";var i=(t)=>`standard-openapi: ${t}`,s=new Map,r=async(t)=>{let e=s.get(t);if(e)return e;let a;switch(t){case"valibot":a=(await import("./chunk-hfefq104.js")).default();break;case"zod":a=(await import("./chunk-0dzpjk7x.js")).default();break;default:a=(await import("./chunk-5js5nw7r.js")).default()}return s.set(t,a),a},d=async(t,e={})=>{let a=await r(t["~standard"].vendor),{components:n={},options:c}=e;return{schema:await a(t,{components:n,options:c}),components:Object.keys(n).length>0?n:void 0}};
3
- export{i as Jg,d as Kg};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var F="./tree-sitter-markdown-411r6y9b.wasm";export{F as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var l="./tree-sitter-javascript-nd0q4pe9.wasm";export{l as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{RP as a}from"./chunk-kry4vcrf.js";import"./chunk-f2pv705d.js";export default a();
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{mu as a,nu as b,ou as c,pu as d,qu as e,ru as f,su as g,tu as h}from"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-f2pv705d.js";export{g as redactValue,e as init,f as flush,d as file,b as enabled,h as create,a as Level,c as Default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Lg as r}from"./chunk-v9w88wpy.js";import{WP as o}from"./chunk-f2pv705d.js";var c=new r("zod v4");async function m(){return async(n,e)=>{let t;if("_zod"in n)try{t=(await import("./chunk-dw70wds9.js")).toJSONSchema}catch{throw c}else try{t=(await import("./chunk-6nxebcf8.js")).zodToJsonSchema}catch{throw new r("zod-to-json-schema")}return t(n,e)}}export{m as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{xg as a,yg as b,zg as c}from"./chunk-yd94wz5v.js";import"./chunk-9a6p1gdn.js";import"./chunk-jxkrhrp0.js";import"./chunk-6k14c8x1.js";import"./chunk-5r05d901.js";import"./chunk-3rgct4bd.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-kmzpeq8k.js";import"./chunk-0gsw04hw.js";import"./chunk-hqjc4wgg.js";import"./chunk-makecdh6.js";import"./chunk-dy2k5rdx.js";import"./chunk-n5p7cn4w.js";import"./chunk-cqtkxwd8.js";import"./chunk-mhxyv9c8.js";import"./chunk-0crgymtr.js";import"./chunk-cth373se.js";import"./chunk-xcxqt8ag.js";import"./chunk-va2qfh0x.js";import"./chunk-73xryfgn.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-vjn54xj5.js";import"./chunk-0qpqd7nz.js";import"./chunk-gdew7bwm.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-kry4vcrf.js";import"./chunk-f2pv705d.js";export{b as run,a as encodeDir,c as ClaudeImport};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var t=Object.fromEntries([]);export{t as modules};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var r="./highlights-eq9cgrbb.scm";export{r as default};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{A as g,u as a,v as b,w as c,x as d,y as e,z as f}from"./chunk-16srrzjr.js";import"./chunk-5b3v1x2c.js";import"./chunk-gbxf6e5d.js";import"./chunk-msh249db.js";import"./chunk-95am490c.js";import"./chunk-yjqww6ag.js";import"./chunk-z6kcnpsj.js";import"./chunk-ts2k13g0.js";import"./chunk-01e3v1xz.js";import"./chunk-dbpkq7ba.js";import"./chunk-z744mz4w.js";import"./chunk-0qpqd7nz.js";import"./chunk-v3nmnm57.js";import"./chunk-hwsqqkrv.js";import"./chunk-mbbxedsq.js";import"./chunk-aa2n02qk.js";import"./chunk-k1x8469r.js";import"./chunk-c3szabpf.js";import"./chunk-c8prg3jx.js";import"./chunk-t8sy5sgx.js";import"./chunk-tezrgfc6.js";import"./chunk-f2pv705d.js";export{e as waitForDependencies,c as layer,f as get,d as defaultLayer,g as TuiConfig,b as Service,a as Info};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-f2pv705d.js";var R="./libopentui-c8ye7mqw.dylib";export{R as default};