@opencode/core 0.0.0-dev-19389 → 0.0.0-dev-19391

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{tool-8xv0fcmg.js → git-00fexjy9.js} +45 -45
  9. package/dist/chunks/{tool-fsn1dw54.js → git-07q9q0s0.js} +5 -5
  10. package/dist/chunks/{tool-a605f6d0.js → git-0fgcnd78.js} +8 -8
  11. package/dist/chunks/{tool-2gm42vdj.js → git-0m9zqasy.js} +15 -15
  12. package/dist/chunks/{tool-0paq2nw3.js → git-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{tool-0q0f95c6.js → git-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{tool-q5qadqqc.js → git-0sgtxrs8.js} +4 -4
  15. package/dist/chunks/{tool-rmm45jmv.js → git-0t098hqn.js} +5 -5
  16. package/dist/chunks/{tool-r1q74f54.js → git-17rjwhd8.js} +24 -24
  17. package/dist/chunks/{tool-ve4pfa0n.js → git-1a6p2twq.js} +4 -4
  18. package/dist/chunks/{tool-ywhnyrnh.js → git-1ah30sey.js} +5 -5
  19. package/dist/chunks/{tool-1dazxqgg.js → git-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{tool-937nxygj.js → git-1k8wtqrp.js} +8 -8
  21. package/dist/chunks/{tool-7ebn0nc0.js → git-1tq060df.js} +4 -4
  22. package/dist/chunks/{tool-56gdpj1q.js → git-1ygqh575.js} +9 -9
  23. package/dist/chunks/{tool-tb8rp2yt.js → git-1zbe0hwx.js} +27 -27
  24. package/dist/chunks/{tool-21r38tys.js → git-21r38tys.js} +1 -1
  25. package/dist/chunks/{tool-2402vzrj.js → git-2402vzrj.js} +1 -1
  26. package/dist/chunks/{tool-29x78va6.js → git-29x78va6.js} +2 -2
  27. package/dist/chunks/{tool-2a5m3afh.js → git-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{tool-jfpzywp2.js → git-2d6j2h4j.js} +6 -6
  29. package/dist/chunks/{tool-d8nc1xcx.js → git-2evyaa68.js} +4 -4
  30. package/dist/chunks/{tool-7rzn7488.js → git-2f3d9t1j.js} +40 -40
  31. package/dist/chunks/{tool-31v57ene.js → git-2gnzn4g6.js} +27 -27
  32. package/dist/chunks/{tool-ag9w8cw1.js → git-2qp6y8xf.js} +5 -5
  33. package/dist/chunks/{tool-100kzw8g.js → git-2vrs9bvz.js} +41 -40
  34. package/dist/chunks/{tool-7f3sjtrh.js → git-31dz7cp4.js} +1 -1
  35. package/dist/chunks/{tool-83n1dzne.js → git-33yrb4zc.js} +25 -25
  36. package/dist/chunks/{tool-vmshp960.js → git-3cxhyqx9.js} +24 -24
  37. package/dist/chunks/{tool-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{tool-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{tool-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{tool-13tvcsgk.js → git-3stj0jvq.js} +11 -11
  41. package/dist/chunks/{tool-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{tool-2ft9rrby.js → git-43710w3q.js} +9 -9
  43. package/dist/chunks/{tool-t4an9tm5.js → git-4cp288bt.js} +90 -90
  44. package/dist/chunks/{tool-m8gmjx38.js → git-4rbykmww.js} +43 -43
  45. package/dist/chunks/{tool-p6rs3vpq.js → git-4x81xeqa.js} +11 -11
  46. package/dist/chunks/{tool-t64d9h47.js → git-4y21m883.js} +11 -11
  47. package/dist/chunks/{tool-qjqdk9x8.js → git-53nby2n7.js} +24 -24
  48. package/dist/chunks/{tool-s006vazc.js → git-56gnm113.js} +10 -10
  49. package/dist/chunks/{tool-1hgt76pw.js → git-57rb2d2p.js} +19 -19
  50. package/dist/chunks/{tool-m2krvp2x.js → git-5a1z0ner.js} +15 -14
  51. package/dist/chunks/{tool-55s895j0.js → git-5a7skn1d.js} +33 -33
  52. package/dist/chunks/{tool-ezs43bsy.js → git-5c7438wj.js} +17 -17
  53. package/dist/chunks/{tool-z03197zf.js → git-5cvbs26k.js} +43 -43
  54. package/dist/chunks/{tool-9ggagkar.js → git-5d0wqk5a.js} +60 -60
  55. package/dist/chunks/{tool-5daktx2q.js → git-5daktx2q.js} +1 -1
  56. package/dist/chunks/{tool-7k1k30bt.js → git-5fbvx1w6.js} +1 -1
  57. package/dist/chunks/{tool-99exew75.js → git-5gfn8sdf.js} +51 -51
  58. package/dist/chunks/{tool-q2027nw7.js → git-5jtdmvnp.js} +1 -1
  59. package/dist/chunks/{tool-32xz9ffh.js → git-5n9f6zmz.js} +11 -11
  60. package/dist/chunks/{tool-7xzdkz3y.js → git-5rcfzxhb.js} +33 -18
  61. package/dist/chunks/{tool-s0haq3v3.js → git-5skvzk75.js} +33 -33
  62. package/dist/chunks/{tool-5t3nmthw.js → git-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{tool-08xgehk5.js → git-60ng23p3.js} +4 -4
  64. package/dist/chunks/{tool-jxdevvez.js → git-6420c4zj.js} +167 -167
  65. package/dist/chunks/{tool-669tq793.js → git-669tq793.js} +1 -1
  66. package/dist/chunks/{tool-nnxzqqg8.js → git-68fh3z7z.js} +18 -18
  67. package/dist/chunks/{tool-n6pkm576.js → git-6c0cft2p.js} +24 -24
  68. package/dist/chunks/{tool-qzkdxd86.js → git-6gekrhsf.js} +6 -6
  69. package/dist/chunks/{tool-jwcaj6se.js → git-6ht6hv3f.js} +23 -23
  70. package/dist/chunks/{tool-qek8dtx8.js → git-6jqkynh6.js} +9 -9
  71. package/dist/chunks/{tool-egp6178n.js → git-6k7qnnge.js} +13 -13
  72. package/dist/chunks/{tool-6msgmcgs.js → git-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{tool-p514mdqe.js → git-6xy3x0mr.js} +29 -28
  74. package/dist/chunks/{tool-71q4at8m.js → git-71q4at8m.js} +1 -1
  75. package/dist/chunks/{tool-rda0t9vq.js → git-7547p87k.js} +5 -5
  76. package/dist/chunks/{tool-1famk9p6.js → git-79xankta.js} +17 -17
  77. package/dist/chunks/{tool-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{tool-f9qak17s.js → git-7by8wea0.js} +5 -5
  79. package/dist/chunks/{tool-xdepe7a5.js → git-7hsf2613.js} +10 -10
  80. package/dist/chunks/{tool-84cxy7xh.js → git-7r4pq86q.js} +30 -30
  81. package/dist/chunks/{tool-7sdps93t.js → git-7sdps93t.js} +2 -2
  82. package/dist/chunks/{tool-45zx1ce8.js → git-7t2bfs77.js} +26 -26
  83. package/dist/chunks/{tool-6fyrr4w1.js → git-7verde8t.js} +4 -4
  84. package/dist/chunks/{tool-ce8ketvm.js → git-7xvabjvw.js} +27 -27
  85. package/dist/chunks/{tool-7jsvadcm.js → git-7yd68jh1.js} +20 -20
  86. package/dist/chunks/{tool-2aqbs40b.js → git-7yfaff3y.js} +11 -11
  87. package/dist/chunks/{tool-jp8xd6mf.js → git-80e0yyk8.js} +10 -10
  88. package/dist/chunks/{tool-nfs7qh3b.js → git-81btcj5e.js} +17 -17
  89. package/dist/chunks/{tool-81swgkk7.js → git-81swgkk7.js} +2 -2
  90. package/dist/chunks/{tool-0hhrv268.js → git-8234338a.js} +18 -18
  91. package/dist/chunks/{tool-px9gxtsw.js → git-8bdgxx6d.js} +37 -37
  92. package/dist/chunks/{tool-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{tool-nkhmdx3g.js → git-8ey0tjev.js} +18 -18
  94. package/dist/chunks/{tool-apesnbt3.js → git-8fjt75y9.js} +20 -20
  95. package/dist/chunks/{tool-62gm3akr.js → git-8g26s1rr.js} +11 -11
  96. package/dist/chunks/{tool-wdn3ce2t.js → git-8n0zdm8f.js} +18 -18
  97. package/dist/chunks/{tool-dj2t23y0.js → git-8p4f9s12.js} +2 -2
  98. package/dist/chunks/{tool-yxz14c3m.js → git-967tbwmz.js} +51 -51
  99. package/dist/chunks/{tool-n6arc57m.js → git-971xr3xt.js} +7 -7
  100. package/dist/chunks/{tool-p6604nm9.js → git-99j83k2z.js} +10 -10
  101. package/dist/chunks/{tool-wk58jv74.js → git-9edcvf27.js} +10 -10
  102. package/dist/chunks/{tool-8ypn74s0.js → git-9gyd2w40.js} +1 -1
  103. package/dist/chunks/{tool-nqz62vb6.js → git-9kqp7g4a.js} +28 -28
  104. package/dist/chunks/{tool-y0wsg1r3.js → git-9p3a0bey.js} +7 -7
  105. package/dist/chunks/{tool-j51g8r26.js → git-9smnhnck.js} +90 -90
  106. package/dist/chunks/{tool-dbnvakxz.js → git-9v94xm60.js} +2 -2
  107. package/dist/chunks/{tool-5c4hm403.js → git-a1bz86dw.js} +3 -3
  108. package/dist/chunks/{tool-sxnp3vqk.js → git-a3vgeg8v.js} +22 -22
  109. package/dist/chunks/{tool-bnweey00.js → git-a4exdnt3.js} +4 -4
  110. package/dist/chunks/{tool-aaet6srn.js → git-aaet6srn.js} +2 -2
  111. package/dist/chunks/{tool-d38rwssd.js → git-aezjx6de.js} +4 -4
  112. package/dist/chunks/{tool-a46v4e4v.js → git-at5d07az.js} +4 -4
  113. package/dist/chunks/{tool-41e240wd.js → git-azt3fn9h.js} +11 -11
  114. package/dist/chunks/{tool-mfvn5m8d.js → git-b2x839n7.js} +8 -8
  115. package/dist/chunks/{tool-b6gygkdw.js → git-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{tool-bgmt3wra.js → git-b7zanwxg.js} +28 -28
  117. package/dist/chunks/{tool-6m8y77r5.js → git-bby00dsd.js} +8 -8
  118. package/dist/chunks/{tool-kap84dg0.js → git-bj18y5e0.js} +22 -22
  119. package/dist/chunks/{tool-9aqmr64f.js → git-bvqzzpnc.js} +5 -5
  120. package/dist/chunks/{tool-zcrspsvn.js → git-ca7w653e.js} +4 -4
  121. package/dist/chunks/{tool-rsv3dyxs.js → git-cb0b94q1.js} +11 -11
  122. package/dist/chunks/{tool-m0jqrx5p.js → git-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{tool-72cm32h1.js → git-chg3p55r.js} +6 -6
  124. package/dist/chunks/{tool-vyqwgby1.js → git-cm4cwf14.js} +6 -6
  125. package/dist/chunks/{tool-a1pcbmkx.js → git-cybh4q4m.js} +15 -15
  126. package/dist/chunks/{tool-vz6rz0af.js → git-cyj3cv9r.js} +22 -22
  127. package/dist/chunks/{tool-9s022y1z.js → git-cz8ja6bv.js} +34 -36
  128. package/dist/chunks/git-d7szvhg8.js +247 -0
  129. package/dist/chunks/{tool-7nb80w0z.js → git-dh4vxs71.js} +26 -26
  130. package/dist/chunks/{tool-t7yz8ad7.js → git-dn02v3xn.js} +23 -23
  131. package/dist/chunks/{tool-kk8fq19e.js → git-dn5grvbk.js} +26 -26
  132. package/dist/chunks/{tool-48gag0he.js → git-dng8y5a3.js} +18 -18
  133. package/dist/chunks/{tool-y71avatq.js → git-dpkg50ah.js} +4 -4
  134. package/dist/chunks/{tool-q8rarcde.js → git-dr9j5dyg.js} +27 -27
  135. package/dist/chunks/{tool-ws5qfxv9.js → git-drknmmyh.js} +9 -9
  136. package/dist/chunks/{tool-j7wq2tw5.js → git-dv250zvr.js} +3 -3
  137. package/dist/chunks/{tool-bkz2mr6p.js → git-e2wxm4gs.js} +71 -71
  138. package/dist/chunks/{tool-pqkb2z9p.js → git-e49xbsfe.js} +18 -18
  139. package/dist/chunks/{tool-0msc39tg.js → git-ep79ehza.js} +16 -16
  140. package/dist/chunks/{tool-9y5cg855.js → git-epqeryd2.js} +34 -34
  141. package/dist/chunks/{tool-jw7c8f1w.js → git-et1r2jf6.js} +13 -13
  142. package/dist/chunks/{tool-etq0c3wd.js → git-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{tool-zxhfgthz.js → git-ezys8rkd.js} +14 -14
  144. package/dist/chunks/{tool-3r6vp6xx.js → git-f1afprnz.js} +10 -10
  145. package/dist/chunks/{tool-yp2x3t23.js → git-f2n192rq.js} +4 -4
  146. package/dist/chunks/{tool-4rggjvr2.js → git-f4wfpfa2.js} +9 -9
  147. package/dist/chunks/{tool-hdnk95c8.js → git-f828m53h.js} +2 -2
  148. package/dist/chunks/{tool-7gvwkz6m.js → git-f90chkmn.js} +5 -5
  149. package/dist/chunks/{tool-z1pfg6df.js → git-f9bavhm2.js} +1 -1
  150. package/dist/chunks/{tool-1c2q116c.js → git-fbxzb085.js} +20 -20
  151. package/dist/chunks/{tool-2k8khapm.js → git-fcrkznn8.js} +5 -5
  152. package/dist/chunks/{tool-qyyanj0n.js → git-fkxhr6rb.js} +22 -22
  153. package/dist/chunks/{tool-3r7whzgv.js → git-fkzsndak.js} +7 -7
  154. package/dist/chunks/{tool-ra3gq1k7.js → git-fp7bntjd.js} +13 -9
  155. package/dist/chunks/{tool-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
  156. package/dist/chunks/{tool-9hv8phah.js → git-fxm9f60t.js} +16 -16
  157. package/dist/chunks/{tool-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{tool-j9tvrbwe.js → git-gk8mfka9.js} +21 -21
  159. package/dist/chunks/{tool-amegs12p.js → git-gnn1fpcv.js} +9 -9
  160. package/dist/chunks/{tool-622ah2gs.js → git-gve6vxyf.js} +27 -27
  161. package/dist/chunks/{tool-pe0c0z4r.js → git-gvphacjb.js} +18 -18
  162. package/dist/chunks/{tool-j9eppgdd.js → git-gyeht8yw.js} +15 -15
  163. package/dist/chunks/{tool-h03wrkyp.js → git-h03wrkyp.js} +2 -2
  164. package/dist/chunks/{tool-3a9e8ct5.js → git-h3ekzffn.js} +10 -10
  165. package/dist/chunks/{tool-m4bw18j8.js → git-h5dbjsx9.js} +32 -32
  166. package/dist/chunks/{tool-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{tool-vv3eqyfe.js → git-hb60fmtr.js} +8 -8
  168. package/dist/chunks/{tool-910hnegs.js → git-hc0zr8pa.js} +29 -29
  169. package/dist/chunks/{tool-fab8hzt3.js → git-hfdr1yjj.js} +4 -4
  170. package/dist/chunks/{tool-22m95qs7.js → git-hrndf12w.js} +4 -4
  171. package/dist/chunks/{tool-y4xwrefb.js → git-hsbe2v8d.js} +31 -31
  172. package/dist/chunks/{tool-j56e64zr.js → git-j56e64zr.js} +1 -1
  173. package/dist/chunks/{tool-cfxak8gp.js → git-jngqetej.js} +31 -31
  174. package/dist/chunks/{tool-cgfvzygb.js → git-jw59a53t.js} +22 -22
  175. package/dist/chunks/{tool-ca9nbgzj.js → git-jxxmrcps.js} +6 -6
  176. package/dist/chunks/{tool-zad871sr.js → git-jy16bfac.js} +1 -1
  177. package/dist/chunks/{tool-s6vet9p8.js → git-k0zzqzfm.js} +6 -6
  178. package/dist/chunks/{tool-xnrzgmbf.js → git-k304t88f.js} +41 -41
  179. package/dist/chunks/{tool-0996nyz8.js → git-k79tzb9n.js} +9 -9
  180. package/dist/chunks/{tool-kg06axw8.js → git-kg06axw8.js} +1 -1
  181. package/dist/chunks/{tool-2zk4ah9y.js → git-kkz4yv35.js} +9 -9
  182. package/dist/chunks/{tool-qaed280k.js → git-kp844bkx.js} +11 -11
  183. package/dist/chunks/{tool-3fe43pwb.js → git-m1qcsqkx.js} +25 -25
  184. package/dist/chunks/{tool-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{tool-xanzpgaf.js → git-mcq2hdeb.js} +20 -20
  186. package/dist/chunks/{tool-yc73ry1q.js → git-mexw47yp.js} +6 -6
  187. package/dist/chunks/{tool-xnap109e.js → git-mf8gs4da.js} +18 -18
  188. package/dist/chunks/{tool-mvfsc1pv.js → git-mhkvc446.js} +3 -3
  189. package/dist/chunks/{tool-mkcjrzeh.js → git-mkcjrzeh.js} +1 -1
  190. package/dist/chunks/{tool-t0jgeayb.js → git-mpnn67vs.js} +13 -13
  191. package/dist/chunks/{tool-h47mvjjj.js → git-mrem20pc.js} +31 -31
  192. package/dist/chunks/{tool-c3er4f98.js → git-msn3ckcs.js} +12 -12
  193. package/dist/chunks/{tool-y0qtjk0t.js → git-n776arpk.js} +8 -8
  194. package/dist/chunks/{tool-0xf6t1bc.js → git-n7t5qjpz.js} +19 -19
  195. package/dist/chunks/{tool-bv56xrks.js → git-nhvhf6q8.js} +2 -2
  196. package/dist/chunks/{tool-hjt4xg1x.js → git-nhy5jxhy.js} +4 -4
  197. package/dist/chunks/{tool-1jwdep4c.js → git-nmv7fedf.js} +9 -9
  198. package/dist/chunks/{tool-d8q39vv3.js → git-nn6nb4dq.js} +13 -13
  199. package/dist/chunks/{tool-jmm88pvs.js → git-nwd3ssra.js} +8 -8
  200. package/dist/chunks/{tool-efstz0ke.js → git-p0n6b7j7.js} +14 -14
  201. package/dist/chunks/{tool-gfqzzqy5.js → git-p1wf2k30.js} +9 -9
  202. package/dist/chunks/{tool-49hrpkdk.js → git-pck3w1ab.js} +4 -4
  203. package/dist/chunks/{tool-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{tool-pknna89w.js → git-pknna89w.js} +1 -1
  205. package/dist/chunks/{tool-6ppc03cv.js → git-prp4t9gw.js} +7 -7
  206. package/dist/chunks/{tool-cmwkp3r5.js → git-q26tgv94.js} +8 -8
  207. package/dist/chunks/{tool-39etbsth.js → git-q3hev8r4.js} +2 -2
  208. package/dist/chunks/git-q509s3k3.js +18 -0
  209. package/dist/chunks/{tool-br0bxb5z.js → git-q6mfqnjt.js} +3 -3
  210. package/dist/chunks/{tool-n17rpw7s.js → git-qc5bn8wy.js} +11 -11
  211. package/dist/chunks/{tool-8t1wrec1.js → git-qe26s0zb.js} +8 -8
  212. package/dist/chunks/{tool-c4ypf6wq.js → git-qkhbq9gn.js} +20 -20
  213. package/dist/chunks/{tool-g5zf0djh.js → git-qmr73083.js} +1 -1
  214. package/dist/chunks/{tool-dw8c19qb.js → git-qr27hz8v.js} +4 -4
  215. package/dist/chunks/{tool-01797ny4.js → git-qr42g2ex.js} +12 -12
  216. package/dist/chunks/{tool-qsdy395h.js → git-qsdy395h.js} +1 -1
  217. package/dist/chunks/{tool-vmq7ehpy.js → git-qte5z7bc.js} +5 -5
  218. package/dist/chunks/{tool-wpm2rk0p.js → git-r3q6pmcz.js} +6 -6
  219. package/dist/chunks/{tool-zncx7357.js → git-r66r7cmm.js} +15 -15
  220. package/dist/chunks/{tool-6y4tgg16.js → git-rernzhsx.js} +28 -28
  221. package/dist/chunks/{tool-6f5kdbjb.js → git-rf04hjb3.js} +21 -21
  222. package/dist/chunks/{tool-vce1m6g2.js → git-rjrt7vbj.js} +15 -15
  223. package/dist/chunks/{tool-wbyq7e0t.js → git-rpk3p4vp.js} +46 -46
  224. package/dist/chunks/{tool-s4enseaf.js → git-s4enseaf.js} +2 -2
  225. package/dist/chunks/{tool-h1dazz20.js → git-s6h26ryx.js} +17 -17
  226. package/dist/chunks/{tool-rhjbct0v.js → git-s8d7rejh.js} +4 -4
  227. package/dist/chunks/{tool-w3k36hrr.js → git-saq61fd1.js} +3 -3
  228. package/dist/chunks/{tool-sj71rkrx.js → git-sexm24t3.js} +11 -11
  229. package/dist/chunks/{tool-jpchzm8t.js → git-sfv52yq4.js} +16 -16
  230. package/dist/chunks/{tool-pjmc1jwj.js → git-sgy72gpz.js} +28 -28
  231. package/dist/chunks/{tool-f249p1w2.js → git-sgystvcz.js} +8 -8
  232. package/dist/chunks/{tool-ptq11xx0.js → git-ssybtts3.js} +6 -6
  233. package/dist/chunks/{tool-43cyd10z.js → git-stz96qh8.js} +32 -32
  234. package/dist/chunks/{tool-g0aj3r5p.js → git-stzp5pqk.js} +6 -6
  235. package/dist/chunks/{tool-2mnagb0e.js → git-sv9bpgvh.js} +5 -5
  236. package/dist/chunks/{tool-fjvydvzm.js → git-t4pzxwv6.js} +7 -7
  237. package/dist/chunks/{tool-e67ygrb5.js → git-t8g0rz63.js} +18 -18
  238. package/dist/chunks/{tool-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{tool-tcezcvh9.js → git-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{tool-f65fprkq.js → git-tcxw2wsh.js} +18 -18
  241. package/dist/chunks/{tool-tdstcens.js → git-tdstcens.js} +1 -1
  242. package/dist/chunks/{tool-gv6a8nnw.js → git-th5km1p3.js} +5 -5
  243. package/dist/chunks/{tool-vfpkabdf.js → git-tqckr4z0.js} +13 -13
  244. package/dist/chunks/{tool-tvtrv512.js → git-tvtrv512.js} +1 -1
  245. package/dist/chunks/{tool-d9sn21bc.js → git-v4b36nj3.js} +2 -2
  246. package/dist/chunks/{tool-pnv527nz.js → git-v6xr4mhk.js} +9 -9
  247. package/dist/chunks/{tool-dgv4w1ry.js → git-v87fc2n4.js} +33 -33
  248. package/dist/chunks/{tool-e8ge1rnk.js → git-v8ch97zc.js} +1 -1
  249. package/dist/chunks/{tool-veqvce7d.js → git-veqvce7d.js} +1 -1
  250. package/dist/chunks/{tool-vycpdhb1.js → git-vqskmh9d.js} +26 -26
  251. package/dist/chunks/{tool-vzcthcp8.js → git-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{tool-hwe7x4em.js → git-vzm76b3t.js} +6 -6
  253. package/dist/chunks/{tool-2a4f6v5q.js → git-w1ad28wa.js} +8 -8
  254. package/dist/chunks/{tool-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{tool-xz0aj5bv.js → git-wa88tsz1.js} +22 -22
  256. package/dist/chunks/{tool-wd87259q.js → git-wd87259q.js} +1 -1
  257. package/dist/chunks/{tool-859kcgs2.js → git-wfeyvemf.js} +11 -11
  258. package/dist/chunks/{tool-4jad23kz.js → git-wgvbtfqc.js} +25 -25
  259. package/dist/chunks/{tool-pc5wdgkb.js → git-wk2zc65r.js} +17 -17
  260. package/dist/chunks/{tool-50wkfpjr.js → git-wnpvrkxy.js} +16 -16
  261. package/dist/chunks/git-wqy8zhmg.js +22 -0
  262. package/dist/chunks/{tool-442pexa9.js → git-wttsyvcc.js} +30 -30
  263. package/dist/chunks/{tool-1kh06mg4.js → git-wvgmydwz.js} +5 -5
  264. package/dist/chunks/{tool-4kmb4xcf.js → git-wxqedpd9.js} +40 -40
  265. package/dist/chunks/{tool-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{tool-x43y2vfs.js → git-x43y2vfs.js} +2 -2
  267. package/dist/chunks/{tool-50kt3f8y.js → git-xaxrq1k6.js} +4 -4
  268. package/dist/chunks/{tool-hvcjdrj2.js → git-xcmxfd3t.js} +16 -16
  269. package/dist/chunks/{tool-4faz70f1.js → git-xsz6vv8y.js} +52 -52
  270. package/dist/chunks/{tool-g5hp0j3s.js → git-y116a4zg.js} +23 -23
  271. package/dist/chunks/{tool-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{tool-pwk28ted.js → git-y1p1x618.js} +13 -13
  273. package/dist/chunks/{tool-stbvjbpa.js → git-y5rc9adv.js} +297 -297
  274. package/dist/chunks/{tool-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{tool-4g6am8f5.js → git-yx8yz41b.js} +39 -39
  276. package/dist/chunks/{tool-qfv804ab.js → git-yzejvhvn.js} +6 -6
  277. package/dist/chunks/{tool-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{tool-00gnxv30.js → git-z7wfm2nz.js} +23 -23
  279. package/dist/chunks/{tool-knvy7wqf.js → git-z8kcrd6j.js} +18 -18
  280. package/dist/chunks/{tool-638f9gty.js → git-zbynka28.js} +28 -28
  281. package/dist/chunks/{tool-zeh9ct20.js → git-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{tool-s8j6jbjj.js → git-zepncfka.js} +4 -4
  283. package/dist/chunks/{tool-3p0n15sb.js → git-zf4p5794.js} +21 -21
  284. package/dist/chunks/{tool-fw7ks5z6.js → git-zj4wpktz.js} +16 -16
  285. package/dist/chunks/{tool-sq27dbnb.js → git-znt1ym30.js} +9 -9
  286. package/dist/chunks/{tool-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{tool-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +77 -77
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +79 -79
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +77 -77
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +72 -72
  408. package/dist/file-access.js +95 -95
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +9 -9
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +84 -84
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +7 -7
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +353 -353
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +84 -84
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-mutation.js +95 -95
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +80 -80
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +6 -6
  475. package/dist/models-dev.js +82 -82
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +104 -104
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +341 -341
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +218 -218
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +79 -79
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +90 -90
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +105 -105
  624. package/dist/snapshot.js +88 -88
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +119 -119
  629. package/dist/tool/plugin/edit.js +109 -109
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +109 -109
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +108 -108
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +107 -107
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +115 -115
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/types/model-resolver.d.ts +2 -0
  648. package/dist/types/model.d.ts +1 -0
  649. package/dist/types/provider.d.ts +1 -0
  650. package/dist/types/session/runner/model.d.ts +1 -0
  651. package/dist/types/v1/config/migrate.d.ts +2 -0
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +5 -5
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +85 -85
  679. package/dist/websearch.js +82 -82
  680. package/dist/wellknown/plugin.js +74 -74
  681. package/dist/wellknown.js +77 -77
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +78 -78
  685. package/dist/worktree/directory.js +4 -4
  686. package/dist/worktree/git.js +7 -7
  687. package/dist/worktree/refresh.js +342 -342
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +91 -91
  690. package/package.json +8 -8
  691. package/dist/chunks/tool-7s88n6wh.js +0 -247
  692. package/dist/chunks/tool-dr8w6t5k.js +0 -22
  693. package/dist/chunks/tool-n95b3jav.js +0 -18
  694. /package/dist/chunks/{tool-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{tool-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{tool-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{tool-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{tool-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{tool-2710q6r3.js → git-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{tool-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{tool-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{tool-359p4xyc.js → git-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{tool-3asan66x.js → git-3asan66x.js} +0 -0
  704. /package/dist/chunks/{tool-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{tool-3w5fmr99.js → git-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{tool-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{tool-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{tool-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{tool-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{tool-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{tool-53557ph1.js → git-53557ph1.js} +0 -0
  712. /package/dist/chunks/{tool-550bvhaj.js → git-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{tool-6kdq0pjd.js → git-6kdq0pjd.js} +0 -0
  714. /package/dist/chunks/{tool-6prwharc.js → git-6prwharc.js} +0 -0
  715. /package/dist/chunks/{tool-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{tool-7m9af43g.js → git-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{tool-822emrt2.js → git-822emrt2.js} +0 -0
  718. /package/dist/chunks/{tool-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{tool-8n3pysct.js → git-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{tool-922hggd3.js → git-922hggd3.js} +0 -0
  721. /package/dist/chunks/{tool-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{tool-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{tool-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{tool-af5trqkr.js → git-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{tool-afrmfg78.js → git-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{tool-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{tool-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{tool-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{tool-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{tool-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{tool-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{tool-d9fn303g.js → git-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{tool-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{tool-dajrwvna.js → git-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{tool-dap0rakb.js → git-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{tool-df08tz66.js → git-df08tz66.js} +0 -0
  737. /package/dist/chunks/{tool-dy18nga0.js → git-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{tool-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{tool-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{tool-ec1grn59.js → git-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{tool-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{tool-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{tool-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{tool-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{tool-faypxj3z.js → git-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{tool-fd410y7t.js → git-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{tool-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{tool-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{tool-g86h250q.js → git-g86h250q.js} +0 -0
  750. /package/dist/chunks/{tool-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{tool-gftt206x.js → git-gftt206x.js} +0 -0
  752. /package/dist/chunks/{tool-hjbc5kem.js → git-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{tool-hk9envan.js → git-hk9envan.js} +0 -0
  754. /package/dist/chunks/{tool-hrnqkpcd.js → git-hrnqkpcd.js} +0 -0
  755. /package/dist/chunks/{tool-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{tool-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{tool-j935v87r.js → git-j935v87r.js} +0 -0
  758. /package/dist/chunks/{tool-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{tool-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{tool-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{tool-mp448xyj.js → git-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{tool-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{tool-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{tool-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{tool-njntx4h6.js → git-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{tool-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{tool-q74kybfr.js → git-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{tool-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{tool-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{tool-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{tool-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{tool-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{tool-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{tool-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{tool-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{tool-twg0f83k.js → git-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{tool-w803qqfp.js → git-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{tool-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{tool-wtztk69x.js → git-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{tool-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{tool-x61499pn.js → git-x61499pn.js} +0 -0
  782. /package/dist/chunks/{tool-y44na4kk.js → git-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{tool-y8cydn3q.js → git-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{tool-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{tool-ym463w8f.js → git-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{tool-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
- import {
2
- Service80,
3
- node85
4
- } from "./tool-859kcgs2.js";
5
1
  import {
6
2
  Service79,
7
3
  node84
8
- } from "./tool-hvcjdrj2.js";
4
+ } from "./git-wfeyvemf.js";
5
+ import {
6
+ Service78,
7
+ node83
8
+ } from "./git-xcmxfd3t.js";
9
9
  import {
10
- Service44,
11
- node47
12
- } from "./tool-hwe7x4em.js";
10
+ Service34,
11
+ node37
12
+ } from "./git-vzm76b3t.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./tool-922hggd3.js";
16
+ } from "./git-922hggd3.js";
17
17
  import {
18
- Service77,
19
- node82
20
- } from "./tool-t7yz8ad7.js";
18
+ Service76,
19
+ node81
20
+ } from "./git-dn02v3xn.js";
21
21
  import {
22
22
  Ref4
23
- } from "./tool-zxhfgthz.js";
23
+ } from "./git-ezys8rkd.js";
24
24
  import {
25
- Service45,
26
- node48
27
- } from "./tool-p6604nm9.js";
25
+ Service37,
26
+ node40
27
+ } from "./git-99j83k2z.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./tool-gftt206x.js";
30
+ } from "./git-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./tool-ca9nbgzj.js";
32
+ NotFoundError9
33
+ } from "./git-jxxmrcps.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./tool-ec1grn59.js";
36
+ } from "./git-ec1grn59.js";
37
37
  import {
38
- Service41
39
- } from "./tool-zcrspsvn.js";
38
+ Service33
39
+ } from "./git-ca7w653e.js";
40
40
  import {
41
- Service58,
42
- node62
43
- } from "./tool-a1pcbmkx.js";
41
+ Service66,
42
+ node71
43
+ } from "./git-cybh4q4m.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service42,
48
- node45,
47
+ Service35,
48
+ node38,
49
49
  moveIDs2
50
- } from "./tool-kk8fq19e.js";
50
+ } from "./git-dn5grvbk.js";
51
51
  import {
52
- Service40,
53
- node44
54
- } from "./tool-z03197zf.js";
52
+ Service32,
53
+ node36
54
+ } from "./git-5cvbs26k.js";
55
55
  import {
56
- node41
57
- } from "./tool-kap84dg0.js";
56
+ node29
57
+ } from "./git-bj18y5e0.js";
58
58
  import {
59
59
  __export
60
- } from "./tool-9rqn6x4v.js";
60
+ } from "./git-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service28,
68
+ Service: () => Service24,
69
69
  SessionMove: () => exports_move,
70
- node: () => node32
70
+ node: () => node28
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service28 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service24 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service28, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service77;
92
- const locations = yield* Service45;
93
- const store = yield* Service58;
94
- const execution = yield* Service40;
95
- const instances = yield* Service44;
96
- const admission = yield* Service42;
97
- const database = yield* Service80;
98
- const bus = yield* Service79;
91
+ const projects = yield* Service76;
92
+ const locations = yield* Service37;
93
+ const store = yield* Service66;
94
+ const execution = yield* Service32;
95
+ const instances = yield* Service34;
96
+ const admission = yield* Service35;
97
+ const database = yield* Service79;
98
+ const bus = yield* Service78;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service41.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service33.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service28.of({
136
+ return Service24.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node32 = makeGlobalNode({
167
- service: Service28,
166
+ var node28 = makeGlobalNode({
167
+ service: Service24,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node82,
173
- node48,
174
- node62,
175
- node44,
176
- node47,
177
- node45,
178
- node85,
172
+ node81,
173
+ node40,
174
+ node71,
175
+ node36,
176
+ node37,
177
+ node38,
179
178
  node84,
180
- node41
179
+ node83,
180
+ node29
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node32, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service24, node28, exports_move };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./tool-dbnvakxz.js";
5
+ } from "./git-9v94xm60.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./tool-hvcjdrj2.js";
2
+ Service78,
3
+ node83
4
+ } from "./git-xcmxfd3t.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./tool-zxhfgthz.js";
6
+ Service75,
7
+ node80
8
+ } from "./git-ezys8rkd.js";
9
9
  import {
10
- Service74,
11
- node78
12
- } from "./tool-n6pkm576.js";
10
+ Service50,
11
+ node53
12
+ } from "./git-6c0cft2p.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./tool-gd4qta3r.js";
15
+ } from "./git-gd4qta3r.js";
16
16
  import {
17
- Service73,
17
+ Service54,
18
18
  args2,
19
- node77
20
- } from "./tool-0xf6t1bc.js";
19
+ node57
20
+ } from "./git-n7t5qjpz.js";
21
21
  import {
22
- Service72,
23
- node76
24
- } from "./tool-6m8y77r5.js";
22
+ Service68,
23
+ node73
24
+ } from "./git-bby00dsd.js";
25
25
  import {
26
- Service65,
27
- node69
28
- } from "./tool-8t1wrec1.js";
26
+ Service48,
27
+ node51
28
+ } from "./git-qe26s0zb.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./tool-j7wq2tw5.js";
31
+ } from "./git-dv250zvr.js";
32
32
  import {
33
33
  latest2,
34
- Service67,
35
- node71
36
- } from "./tool-7rzn7488.js";
34
+ Service69,
35
+ node74
36
+ } from "./git-2f3d9t1j.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./tool-01797ny4.js";
40
+ } from "./git-qr42g2ex.js";
41
41
  import {
42
42
  __export
43
- } from "./tool-9rqn6x4v.js";
43
+ } from "./git-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError9,
49
+ NotFoundError: () => NotFoundError4,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service64,
51
+ Service: () => Service47,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node68
54
+ node: () => node50
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service64 extends Context.Service()("@opencode/Shell") {
73
+ class Service47 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service64, Effect.gen(function* () {
90
- const bus = yield* Service79;
91
- const location = yield* Service76;
89
+ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
90
+ const bus = yield* Service78;
91
+ const location = yield* Service75;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service73;
94
- const environment = yield* Service74;
95
- const hooks = yield* Service72;
96
- const environments = yield* Service65;
97
- const config = yield* Service67;
93
+ const shell = yield* Service54;
94
+ const environment = yield* Service50;
95
+ const hooks = yield* Service68;
96
+ const environments = yield* Service48;
97
+ const config = yield* Service69;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError9({ id });
118
+ return yield* new NotFoundError4({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError9({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError4({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service64.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service47.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node68 = makeLocationNode({
320
- service: Service64,
319
+ var node50 = makeLocationNode({
320
+ service: Service47,
321
321
  layer: layer(),
322
322
  deps: [
323
- node84,
324
- node81,
323
+ node83,
324
+ node80,
325
325
  Global.node,
326
- node77,
327
- node78,
328
- node76,
329
- node69,
330
- node71,
326
+ node57,
327
+ node53,
328
+ node73,
329
+ node51,
330
+ node74,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError9, RETENTION2, DIRECTORY2, Service64, cleanup2, node68, exports_shell4 };
335
+ export { NotFoundError4, RETENTION2, DIRECTORY2, Service47, cleanup2, node50, exports_shell4 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./tool-jfpzywp2.js";
4
+ } from "./git-2d6j2h4j.js";
5
5
 
6
6
  // src/plugin/provider/anthropic.ts
7
7
  import { Effect } from "effect";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured6,
11
- layer: () => layer19,
12
- make: () => make19,
13
- node: () => node52,
10
+ configured: () => configured9,
11
+ layer: () => layer22,
12
+ make: () => make20,
13
+ node: () => node63,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make19()
19
+ defaultValue: () => make20()
20
20
  });
21
- function make19(input = {}) {
21
+ function make20(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make19(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer19 = (input) => Layer.succeed(Metadata2, make19(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
33
- var node52 = configured6();
31
+ var layer22 = (input) => Layer.succeed(Metadata2, make20(input));
32
+ var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
33
+ var node63 = configured9();
34
34
 
35
- export { Metadata2, make19, useragent2, layer19, configured6, node52, exports_app };
35
+ export { Metadata2, make20, useragent2, layer22, configured9, node63, exports_app };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./tool-5t3nmthw.js";
3
+ } from "./git-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./git-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service37,
11
+ Service: () => Service30,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer16,
13
+ layer: () => layer15,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node42
15
+ node: () => node34
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -24,6 +24,7 @@ import { Socket } from "effect/unstable/socket";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
25
25
  var ROTATE_AFTER_MS = 55 * 60 * 1000;
26
26
  var INBOUND_CAPACITY = 128;
27
+ var CONNECT_TIMEOUT = "10 seconds";
27
28
  var IDLE_TIMEOUT = "5 minutes";
28
29
  var events = Metric.counter("opencode_session_websocket_events_total", {
29
30
  description: "Session WebSocket lifecycle events",
@@ -31,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
31
32
  });
32
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
33
34
 
34
- class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service30 extends Context.Service()("@opencode/SessionModelTransport") {
35
36
  }
36
37
  var transportError = (message, input) => new AIError({
37
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -55,7 +56,7 @@ var observationFrame = (observation) => {
55
56
  return Effect.fail(observation.error);
56
57
  };
57
58
  var observationTerminal = (observation) => observation.type !== "frame";
58
- var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* () {
59
60
  const scope = yield* Scope.Scope;
60
61
  const states = new Map;
61
62
  const state = (sessionID) => {
@@ -102,7 +103,16 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
102
103
  });
103
104
  const open = Effect.fn("SessionModelTransport.open")(function* (owner, exchange, key) {
104
105
  return yield* Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
105
- const connection = yield* restore(connector.open(exchange.connect).pipe(Effect.withSpan("SessionModelTransport.connect")));
106
+ const connection = yield* restore(connector.open(exchange.connect).pipe(Effect.timeoutOrElse({
107
+ duration: CONNECT_TIMEOUT,
108
+ orElse: () => transportError("Timed out opening the Session WebSocket", {
109
+ url: exchange.connect.url,
110
+ operation: "request",
111
+ code: "connect-timeout",
112
+ phase: "connect",
113
+ delivery: "not-sent"
114
+ })
115
+ }), Effect.withSpan("SessionModelTransport.connect")));
106
116
  if (owner.closed) {
107
117
  yield* connection.close;
108
118
  return yield* transportError("Session WebSocket owner closed while connecting", {
@@ -193,12 +203,17 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
193
203
  });
194
204
  if (owner.channel)
195
205
  yield* metric("reuse");
196
- const channel = owner.channel ? owner.channel : yield* open(owner, exchange, key).pipe(Effect.catch((error) => error.reason._tag === "Transport" && error.reason.code === "owner-closed" ? Effect.fail(error) : Effect.logWarning("session websocket connect failed; using http", {
197
- sessionTransport: "websocket",
198
- phase: "connect",
199
- delivery: "not-sent",
200
- code: error.reason._tag === "Transport" ? error.reason.code : error.reason._tag
201
- }).pipe(Effect.andThen(metric("connect_failure")), Effect.andThen(metric("fallback")), Effect.as(undefined))));
206
+ const channel = owner.channel ? owner.channel : yield* open(owner, exchange, key).pipe(Effect.catch((error) => {
207
+ if (error.reason._tag === "Transport" && error.reason.code === "owner-closed")
208
+ return Effect.fail(error);
209
+ owner.httpFallback = true;
210
+ return Effect.logWarning("session websocket connect failed; using http", {
211
+ sessionTransport: "websocket",
212
+ phase: "connect",
213
+ delivery: "not-sent",
214
+ code: error.reason._tag === "Transport" ? error.reason.code : error.reason._tag
215
+ }).pipe(Effect.andThen(metric("connect_failure")), Effect.andThen(metric("fallback")), Effect.as(undefined));
216
+ }));
202
217
  if (!channel)
203
218
  return fallback(exchange);
204
219
  if (channel.pending) {
@@ -341,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
341
356
  }, { discard: true });
342
357
  });
343
358
  yield* Effect.addFinalizer(() => closeAll);
344
- return Service37.of({ bind, close, closeAll });
359
+ return Service30.of({ bind, close, closeAll });
345
360
  }));
346
- var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
347
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
348
363
  })));
349
- var node42 = makeGlobalNode({ service: Service37, layer: layer16, deps: [webSocketConstructor2] });
364
+ var node34 = makeGlobalNode({ service: Service30, layer: layer15, deps: [webSocketConstructor2] });
350
365
 
351
- export { Service37, makeLayer2, layer16, node42, exports_model_transport };
366
+ export { Service30, makeLayer2, layer15, node34, exports_model_transport };