@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,58 +1,57 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node52
5
- } from "./tool-32xz9ffh.js";
4
+ node63
5
+ } from "./git-5n9f6zmz.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./tool-22m95qs7.js";
9
+ } from "./git-hrndf12w.js";
10
10
  import {
11
- Service72,
12
- node76
13
- } from "./tool-6m8y77r5.js";
11
+ Service68,
12
+ node73
13
+ } from "./git-bby00dsd.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./tool-4faz70f1.js";
16
+ } from "./git-xsz6vv8y.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./tool-p6rs3vpq.js";
19
+ } from "./git-4x81xeqa.js";
20
20
  import {
21
- Error4
22
- } from "./tool-qjqdk9x8.js";
21
+ Error3
22
+ } from "./git-53nby2n7.js";
23
23
  import {
24
- Service37,
25
- node42
26
- } from "./tool-7xzdkz3y.js";
24
+ Service30,
25
+ node34
26
+ } from "./git-5rcfzxhb.js";
27
27
  import {
28
- make15
29
- } from "./tool-hjt4xg1x.js";
28
+ make14
29
+ } from "./git-nhy5jxhy.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./tool-8ypn74s0.js";
32
+ } from "./git-9gyd2w40.js";
33
33
  import {
34
34
  __export
35
- } from "./tool-9rqn6x4v.js";
35
+ } from "./git-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service36,
40
+ Service: () => Service29,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer15,
45
- node: () => node40,
44
+ layer: () => layer14,
45
+ node: () => node33,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
49
- import { Cause, Config, Context, Effect, Layer, Result, Stream } from "effect";
49
+ import { Cause, Context, Effect, Layer, Result, Stream } from "effect";
50
50
  import { HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  var IMAGE_BYTES_TRIGGER = 25 * 1024 * 1024;
53
53
  var IMAGE_BYTES_TARGET = 15 * 1024 * 1024;
54
54
  var IMAGE_REMOVED = "[This image was removed to reduce the request size and is no longer visible. Do not make claims about its contents from memory. If needed, retrieve it again with an available tool or ask the user to attach it again.]";
55
- var responsesWebSocketFlag = (providerID) => `OPENCODE_EXPERIMENTAL_${providerID.replace(/[^a-zA-Z0-9]+/g, "_").toUpperCase()}_RESPONSES_WEBSOCKET`;
56
55
  var declineDefect = (cause) => {
57
56
  const decline = cause.reasons.flatMap((reason) => Cause.isDieReason(reason) && (reason.defect instanceof DeclinedError2 || reason.defect instanceof CancelledError2) ? [reason.defect] : [])[0];
58
57
  return decline ? Result.succeed(decline) : Result.fail(cause);
@@ -62,7 +61,7 @@ var baseTranscript2 = (input) => {
62
61
  return {
63
62
  providerMetadataKey,
64
63
  system: [
65
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
64
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
66
65
  input.initial
67
66
  ].filter((part) => part.length > 0).map(SystemPart.make),
68
67
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -189,11 +188,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
189
188
  return HttpClientResponse.fromWeb(sent, after.response);
190
189
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
191
190
 
192
- class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
191
+ class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
193
192
  }
194
- var layer15 = Layer.effect(Service36, Effect.gen(function* () {
195
- const hooks = yield* Service72;
196
- const transport = yield* Service37;
193
+ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
194
+ const hooks = yield* Service68;
195
+ const transport = yield* Service30;
197
196
  const app = yield* Metadata2;
198
197
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
199
198
  const session = input.scope.session;
@@ -201,7 +200,7 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
201
200
  const model = resolved.model;
202
201
  const tools = input.scope.tools ?? {
203
202
  definitions: [],
204
- execute: () => new Error4({ message: "Tools are not available for this request" })
203
+ execute: () => new Error3({ message: "Tools are not available for this request" })
205
204
  };
206
205
  const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
207
206
  const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
@@ -241,7 +240,6 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
241
240
  if (selected && !compatible2(selected, provenance2({ model: request.model, ref: resolved.ref })) && request.messages.some((message) => message.content.some((part) => part.type === "compaction")))
242
241
  return yield* Effect.die(new Error("Provider context is incompatible with the route selected by model request hooks"));
243
242
  const hasHttpHooks = (yield* hooks.has("session", "http.request", resolved.ref.providerID)) || (yield* hooks.has("session", "http.response", resolved.ref.providerID));
244
- const webSocket = resolved.capabilities.responsesWebsockets === true ? yield* Config.boolean(responsesWebSocketFlag(resolved.ref.providerID)).pipe(Config.withDefault(false), Effect.orDie) : false;
245
243
  const http = hasHttpHooks ? httpMiddleware(hooks, {
246
244
  sessionID: session.id,
247
245
  agent: input.scope.agentID,
@@ -250,7 +248,7 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
250
248
  }) : undefined;
251
249
  const options = {
252
250
  ...http ? { http } : {},
253
- ...input.webSocket === "session" && webSocket && !hasHttpHooks ? { webSocket: transport.bind(session.id) } : {}
251
+ ...input.webSocket === "session" && !hasHttpHooks && resolved.capabilities.responsesWebsockets === true && resolved.websocket ? { webSocket: transport.bind(session.id) } : {}
254
252
  };
255
253
  const executeTool = (input) => tools.execute({ ...input, definitions: hooked }).pipe(Effect.catchCauseFilter(declineDefect, (decline) => Effect.fail(decline)));
256
254
  const retry = (event) => hooks.trigger("session", "retry", event).pipe(Effect.asVoid);
@@ -261,12 +259,12 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
261
259
  executeTool
262
260
  };
263
261
  });
264
- return Service36.of({ prepare });
262
+ return Service29.of({ prepare });
265
263
  }));
266
- var node40 = makeLocationNode({
267
- service: Service36,
268
- layer: layer15,
269
- deps: [node76, node42, node52]
264
+ var node33 = makeLocationNode({
265
+ service: Service29,
266
+ layer: layer14,
267
+ deps: [node73, node34, node63]
270
268
  });
271
269
 
272
- export { baseTranscript2, unsupportedParts2, boundImages2, Service36, layer15, node40, exports_model_request };
270
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service29, layer14, node33, exports_model_request };
@@ -0,0 +1,247 @@
1
+ import {
2
+ node72
3
+ } from "./git-17rjwhd8.js";
4
+ import {
5
+ node55
6
+ } from "./git-7yfaff3y.js";
7
+ import {
8
+ node67
9
+ } from "./git-7xvabjvw.js";
10
+ import {
11
+ node66
12
+ } from "./git-gve6vxyf.js";
13
+ import {
14
+ node65
15
+ } from "./git-6xy3x0mr.js";
16
+ import {
17
+ node54
18
+ } from "./git-mcq2hdeb.js";
19
+ import {
20
+ node80,
21
+ boundNode2
22
+ } from "./git-ezys8rkd.js";
23
+ import {
24
+ configured10,
25
+ node74
26
+ } from "./git-2f3d9t1j.js";
27
+ import {
28
+ node53
29
+ } from "./git-6c0cft2p.js";
30
+ import {
31
+ node48
32
+ } from "./git-y1p1x618.js";
33
+ import {
34
+ node79
35
+ } from "./git-8n0zdm8f.js";
36
+ import {
37
+ node16
38
+ } from "./git-wttsyvcc.js";
39
+ import {
40
+ node15
41
+ } from "./git-zf4p5794.js";
42
+ import {
43
+ node41
44
+ } from "./git-2vrs9bvz.js";
45
+ import {
46
+ node21
47
+ } from "./git-a3vgeg8v.js";
48
+ import {
49
+ node85
50
+ } from "./git-drknmmyh.js";
51
+ import {
52
+ node32
53
+ } from "./git-967tbwmz.js";
54
+ import {
55
+ Service34,
56
+ node37
57
+ } from "./git-vzm76b3t.js";
58
+ import {
59
+ node30
60
+ } from "./git-e49xbsfe.js";
61
+ import {
62
+ node73
63
+ } from "./git-bby00dsd.js";
64
+ import {
65
+ node69
66
+ } from "./git-xsz6vv8y.js";
67
+ import {
68
+ node39
69
+ } from "./git-5a1z0ner.js";
70
+ import {
71
+ configured5,
72
+ node47
73
+ } from "./git-zbynka28.js";
74
+ import {
75
+ node26
76
+ } from "./git-zj4wpktz.js";
77
+ import {
78
+ node43
79
+ } from "./git-53nby2n7.js";
80
+ import {
81
+ node27
82
+ } from "./git-sgy72gpz.js";
83
+ import {
84
+ node45
85
+ } from "./git-dr9j5dyg.js";
86
+ import {
87
+ node31
88
+ } from "./git-z8kcrd6j.js";
89
+ import {
90
+ node68
91
+ } from "./git-7t2bfs77.js";
92
+ import {
93
+ node24
94
+ } from "./git-fbxzb085.js";
95
+ import {
96
+ node23
97
+ } from "./git-4cp288bt.js";
98
+ import {
99
+ node35
100
+ } from "./git-5skvzk75.js";
101
+ import {
102
+ node57
103
+ } from "./git-n7t5qjpz.js";
104
+ import {
105
+ node52
106
+ } from "./git-qr42g2ex.js";
107
+ import {
108
+ node50
109
+ } from "./git-5gfn8sdf.js";
110
+ import {
111
+ node42
112
+ } from "./git-tcxw2wsh.js";
113
+ import {
114
+ node64
115
+ } from "./git-z7wfm2nz.js";
116
+ import {
117
+ node60
118
+ } from "./git-9kqp7g4a.js";
119
+ import {
120
+ node59
121
+ } from "./git-00fexjy9.js";
122
+ import {
123
+ node20
124
+ } from "./git-dng8y5a3.js";
125
+ import {
126
+ node7
127
+ } from "./git-h5dbjsx9.js";
128
+ import {
129
+ node19
130
+ } from "./git-msn3ckcs.js";
131
+ import {
132
+ node4,
133
+ bound2
134
+ } from "./git-q26tgv94.js";
135
+ import {
136
+ node13
137
+ } from "./git-7r4pq86q.js";
138
+ import {
139
+ node11
140
+ } from "./git-jw59a53t.js";
141
+ import {
142
+ node8
143
+ } from "./git-rjrt7vbj.js";
144
+ import {
145
+ node3
146
+ } from "./git-wxqedpd9.js";
147
+ import {
148
+ node2
149
+ } from "./git-8fjt75y9.js";
150
+ import {
151
+ node44
152
+ } from "./git-rernzhsx.js";
153
+ import {
154
+ node10
155
+ } from "./git-stz96qh8.js";
156
+ import {
157
+ node9
158
+ } from "./git-e2wxm4gs.js";
159
+ import {
160
+ __export
161
+ } from "./git-9rqn6x4v.js";
162
+
163
+ // src/instance.ts
164
+ var exports_instance = {};
165
+ __export(exports_instance, {
166
+ Instance: () => exports_instance,
167
+ Service: () => Service34,
168
+ graph: () => graph2,
169
+ layer: () => layer2,
170
+ node: () => node37
171
+ });
172
+ import { Effect, Layer } from "effect";
173
+ import { LayerNode } from "@opencode/util/effect/layer-node";
174
+ import { Node } from "@opencode/util/effect/app-node";
175
+ var nodes = [
176
+ node80,
177
+ node53,
178
+ node74,
179
+ node72,
180
+ node54,
181
+ node45,
182
+ node42,
183
+ node60,
184
+ node66,
185
+ node65,
186
+ node41,
187
+ node55,
188
+ node20,
189
+ node73,
190
+ node4,
191
+ node3,
192
+ node2,
193
+ node59,
194
+ node16,
195
+ node15,
196
+ node57,
197
+ node44,
198
+ node50,
199
+ node68,
200
+ node26,
201
+ node47,
202
+ node19,
203
+ node48,
204
+ node79,
205
+ node32,
206
+ node69,
207
+ node43,
208
+ node52,
209
+ node85,
210
+ node24,
211
+ node31,
212
+ node30,
213
+ node67,
214
+ node21,
215
+ node8,
216
+ node27,
217
+ node11,
218
+ node39,
219
+ node13,
220
+ node10,
221
+ node23,
222
+ node35,
223
+ node9,
224
+ node64,
225
+ node7
226
+ ];
227
+ var graph2 = LayerNode.group(nodes);
228
+ var vanillaReplacements = [
229
+ node74.replace(configured10({ project: false, global: false })),
230
+ node47.replace(configured5({ project: false, global: false }))
231
+ ];
232
+ function layer2(ref, options = {}) {
233
+ const startedAt = performance.now();
234
+ const replacements = [
235
+ ...options.discovery === false ? vanillaReplacements : [],
236
+ ...options.replacements ?? [],
237
+ node80.replace(boundNode2(ref, { discovery: options.discovery })),
238
+ node4.replace(bound2(options.plugins ?? []))
239
+ ];
240
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
241
+ directory: ref.directory,
242
+ workspaceID: ref.workspaceID,
243
+ durationMs: Math.round(performance.now() - startedAt)
244
+ })));
245
+ }
246
+
247
+ export { graph2, layer2, exports_instance };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID10,
3
- Service59
4
- } from "./tool-r1q74f54.js";
2
+ ID12,
3
+ Service67
4
+ } from "./git-17rjwhd8.js";
5
5
  import {
6
- Service76
7
- } from "./tool-zxhfgthz.js";
6
+ Service75
7
+ } from "./git-ezys8rkd.js";
8
8
  import {
9
- Service67
10
- } from "./tool-7rzn7488.js";
9
+ Service69
10
+ } from "./git-2f3d9t1j.js";
11
11
  import {
12
- Service73,
12
+ Service54,
13
13
  args2
14
- } from "./tool-0xf6t1bc.js";
14
+ } from "./git-n7t5qjpz.js";
15
15
  import {
16
- Service27
17
- } from "./tool-j51g8r26.js";
16
+ Service18
17
+ } from "./git-9smnhnck.js";
18
18
  import {
19
19
  make10
20
- } from "./tool-a605f6d0.js";
20
+ } from "./git-0fgcnd78.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./tool-5daktx2q.js";
23
+ } from "./git-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./tool-9rqn6x4v.js";
26
+ } from "./git-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin30
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin41
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin30 = define({
44
+ var Plugin41 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service67;
47
+ const config = yield* Service69;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,11 +54,11 @@ var Plugin30 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service76;
57
+ const location = yield* Service75;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service73;
60
- const sessions = yield* Service27;
61
- const agents = yield* Service59;
59
+ const shell = yield* Service54;
60
+ const sessions = yield* Service18;
61
+ const agents = yield* Service67;
62
62
  const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
@@ -80,7 +80,7 @@ var Plugin30 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID12.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin30, exports_command };
207
+ export { Plugin41, exports_command2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-922hggd3.js";
4
- import {
5
- Service80,
6
- node85
7
- } from "./tool-859kcgs2.js";
3
+ } from "./git-922hggd3.js";
8
4
  import {
9
5
  Service79,
10
6
  node84
11
- } from "./tool-hvcjdrj2.js";
7
+ } from "./git-wfeyvemf.js";
12
8
  import {
13
9
  Service78,
14
10
  node83
15
- } from "./tool-wk58jv74.js";
11
+ } from "./git-xcmxfd3t.js";
12
+ import {
13
+ Service77,
14
+ node82
15
+ } from "./git-9edcvf27.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
@@ -20,17 +20,17 @@ import {
20
20
  UpdateInput4,
21
21
  Event20,
22
22
  Vcs3
23
- } from "./tool-81swgkk7.js";
23
+ } from "./git-81swgkk7.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./tool-dj2t23y0.js";
27
+ } from "./git-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./tool-m0jqrx5p.js";
30
+ } from "./git-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./tool-9rqn6x4v.js";
33
+ } from "./git-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
@@ -40,10 +40,10 @@ __export(exports_project, {
40
40
  Info: () => Info32,
41
41
  NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service76,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node82,
46
+ node: () => node81,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service77 extends Context.Service()("@opencode/Project") {
74
+ class Service76 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,12 +94,12 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service77, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service78;
99
+ const git = yield* Service77;
100
100
  const proc = yield* AppProcess.Service;
101
- const bus = yield* Service79;
102
- const db = (yield* Service80).db;
101
+ const bus = yield* Service78;
102
+ const db = (yield* Service79).db;
103
103
  const announcing = new Set;
104
104
  const persist = Effect.fnUntraced(function* (project) {
105
105
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
271
271
  vcs: undefined
272
272
  });
273
273
  });
274
- return Service77.of({ list, update, resolve });
274
+ return Service76.of({ list, update, resolve });
275
275
  }));
276
- var node82 = makeGlobalNode({
277
- service: Service77,
276
+ var node81 = makeGlobalNode({
277
+ service: Service76,
278
278
  layer,
279
- deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
279
+ deps: [node83, node84, FSUtil.node, node82, AppProcess.node]
280
280
  });
281
281
 
282
- export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
282
+ export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service76, node81, exports_project };