@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,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./tool-ym463w8f.js";
3
+ } from "./git-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,47 +1,47 @@
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
6
  latest2,
7
- Service67
8
- } from "./tool-7rzn7488.js";
7
+ Service69
8
+ } from "./git-2f3d9t1j.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./tool-j7wq2tw5.js";
11
+ } from "./git-dv250zvr.js";
12
12
  import {
13
- Service46
14
- } from "./tool-h1dazz20.js";
13
+ Service55
14
+ } from "./git-s6h26ryx.js";
15
15
  import {
16
16
  evaluate2,
17
- Service56
18
- } from "./tool-4faz70f1.js";
17
+ Service64
18
+ } from "./git-xsz6vv8y.js";
19
19
  import {
20
- Service27
21
- } from "./tool-j51g8r26.js";
20
+ Service18
21
+ } from "./git-9smnhnck.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./tool-x1ezjp6w.js";
24
+ } from "./git-x1ezjp6w.js";
25
25
  import {
26
26
  make10
27
- } from "./tool-a605f6d0.js";
27
+ } from "./git-0fgcnd78.js";
28
28
  import {
29
29
  __export
30
- } from "./tool-9rqn6x4v.js";
30
+ } from "./git-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input5,
36
- Output: () => Output5,
37
- Plugin: () => Plugin5,
35
+ Input: () => Input4,
36
+ Output: () => Output2,
37
+ Plugin: () => Plugin18,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description2,
40
- name: () => name5
39
+ description: () => description3,
40
+ name: () => name4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name5 = "subagent";
44
+ var name4 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input5 = Schema.Struct({
55
+ var Input4 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input5 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output5 = Schema.Struct({
66
+ var Output2 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description2 = [
71
+ var description3 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description2 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin5 = {
80
+ var Plugin18 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service27;
84
- const jobs = yield* Service46;
85
- const agents = yield* Service59;
86
- const config = yield* Service67;
87
- const permission = yield* Service56;
83
+ const sessions = yield* Service18;
84
+ const jobs = yield* Service55;
85
+ const agents = yield* Service67;
86
+ const config = yield* Service69;
87
+ const permission = yield* Service64;
88
88
  const subagents = yield* make10;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name5,
90
+ name: name4,
91
91
  options: { codemode: false },
92
- description: description2,
93
- input: Input5,
94
- output: Output5,
92
+ description: description3,
93
+ input: Input4,
94
+ output: Output2,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin5 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name5,
114
+ action: name4,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin5 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID10.make(input.agent),
137
+ agent: ID12.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name5];
187
+ const tool = event.tools[name4];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name5, Input5, Output5, description2, Plugin5, exports_subagent };
207
+ export { name4, Input4, Output2, description3, Plugin18, exports_subagent };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./tool-fxgpk5d8.js";
3
+ } from "./git-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./tool-g4wezp1m.js";
6
+ } from "./git-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./tool-x61499pn.js";
9
+ } from "./git-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./tool-af5trqkr.js";
12
+ } from "./git-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./tool-afrmfg78.js";
15
+ } from "./git-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./tool-x0ckcb58.js";
18
+ } from "./git-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./tool-ym463w8f.js";
3
+ } from "./git-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,23 +1,23 @@
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
10
  reconcile2,
11
11
  create3
12
- } from "./tool-kg06axw8.js";
12
+ } from "./git-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./tool-tazgh4e4.js";
17
+ } from "./git-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./tool-9rqn6x4v.js";
20
+ } from "./git-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info3,
29
+ Info: () => Info10,
30
30
  Mode: () => Mode2,
31
- Service: () => Service20,
31
+ Service: () => Service59,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node24
33
+ node: () => node64
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info10, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service20 extends Context.Service()("@opencode/Vcs") {
48
+ class Service59 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service20, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
53
- const bus = yield* Service79;
52
+ const location = yield* Service75;
53
+ const bus = yield* Service78;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info10));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service20.of({
118
+ return Service59.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node24 = makeLocationNode({
165
- service: Service20,
164
+ var node64 = makeLocationNode({
165
+ service: Service59,
166
166
  layer,
167
- deps: [FSUtil.node, node81, node84]
167
+ deps: [FSUtil.node, node80, node83]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service20, node24, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info10, Mode2, DiffError2, Service59, node64, exports_vcs };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service47,
3
- node50
4
- } from "./tool-q8rarcde.js";
2
+ Service42,
3
+ node45
4
+ } from "./git-dr9j5dyg.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  diffByKey2
10
- } from "./tool-rhjbct0v.js";
10
+ } from "./git-s8d7rejh.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-9rqn6x4v.js";
13
+ } from "./git-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions3 = {};
17
- __export(exports_instructions3, {
18
- ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service32,
20
- node: () => node36
16
+ var exports_instructions5 = {};
17
+ __export(exports_instructions5, {
18
+ ReferenceInstructions: () => exports_instructions5,
19
+ Service: () => Service27,
20
+ node: () => node31
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service32 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service32, Effect.gen(function* () {
63
- const references = yield* Service47;
64
- return Service32.of({
62
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
63
+ const references = yield* Service42;
64
+ return Service27.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make20({
71
+ return make21({
72
72
  key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node36 = makeLocationNode({ service: Service32, layer, deps: [node50] });
84
+ var node31 = makeLocationNode({ service: Service27, layer, deps: [node45] });
85
85
 
86
- export { Service32, node36, exports_instructions3 };
86
+ export { Service27, node31, exports_instructions5 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service79,
4
- node84
5
- } from "./tool-hvcjdrj2.js";
3
+ Service78,
4
+ node83
5
+ } from "./git-xcmxfd3t.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make21,
11
11
  diffByKey2
12
- } from "./tool-rhjbct0v.js";
12
+ } from "./git-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./tool-922hggd3.js";
15
+ } from "./git-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./tool-kg06axw8.js";
18
+ } from "./git-kg06axw8.js";
19
19
  import {
20
20
  __export
21
- } from "./tool-9rqn6x4v.js";
21
+ } from "./git-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event16,
26
+ Event: () => Event7,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options6,
30
- Service: () => Service61,
31
- configured: () => configured7,
32
- layer: () => layer23,
33
- node: () => node65
29
+ Options: () => Options5,
30
+ Service: () => Service44,
31
+ configured: () => configured5,
32
+ layer: () => layer19,
33
+ node: () => node47
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event16 = {
45
+ var Event7 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options6 = Schema.Struct({
48
+ var Options5 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service61 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service44 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer23 = (options) => Layer.effect(Service61, Effect.gen(function* () {
56
- const bus = yield* Service79;
55
+ var layer19 = (options) => Layer.effect(Service44, Effect.gen(function* () {
56
+ const bus = yield* Service78;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer23 = (options) => Layer.effect(Service61, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event16.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make20({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer23 = (options) => Layer.effect(Service61, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service61.of({
93
+ return Service44.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer23 = (options) => Layer.effect(Service61, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured7(options) {
107
+ function configured5(options) {
108
108
  return makeLocationNode({
109
- service: Service61,
110
- layer: layer23(options),
111
- deps: [node84]
109
+ service: Service44,
110
+ layer: layer19(options),
111
+ deps: [node83]
112
112
  });
113
113
  }
114
- var node65 = configured7();
114
+ var node47 = configured5();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event16, Options6, Service61, layer23, configured7, node65, exports_instruction_discovery };
145
+ export { File2, Event7, Options5, Service44, layer19, configured5, node47, exports_instruction_discovery };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./tool-922hggd3.js";
3
+ } from "./git-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./git-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission2 = {};
7
7
  __export(exports_permission2, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission2,
10
- Info: () => Info25,
10
+ Info: () => Info27,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule3
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule3)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info25 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info27 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule3, Info25, exports_permission2 };
41
+ export { Action2, Object2, Rule3, Info27, exports_permission2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./tool-922hggd3.js";
4
+ } from "./git-922hggd3.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
- Service18,
11
- node21
12
- } from "./tool-442pexa9.js";
10
+ Service13,
11
+ node16
12
+ } from "./git-wttsyvcc.js";
13
13
  import {
14
14
  __export
15
- } from "./tool-9rqn6x4v.js";
15
+ } from "./git-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event3,
24
+ Event: () => Event2,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
29
29
  ListInput: () => ListInput2,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service17,
32
+ Service: () => Service12,
33
33
  Submatch: () => Submatch2,
34
- node: () => node20
34
+ node: () => node15
35
35
  });
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
37
37
  import path from "path";
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event3 = FileSystem.Event;
75
+ var Event2 = FileSystem.Event;
76
76
 
77
- class Service17 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service12 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service12, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service76;
82
- const search = yield* Service18;
81
+ const location = yield* Service75;
82
+ const search = yield* Service13;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service17.of({
93
+ return Service12.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node20 = makeLocationNode({
126
- service: Service17,
125
+ var node15 = makeLocationNode({
126
+ service: Service12,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node81, node21]
128
+ deps: [FSUtil.node, node80, node16]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service17, node20, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service12, node15, exports_filesystem, Entry2, Match2, Submatch2 };