@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,27 +1,27 @@
1
1
  import {
2
- Service79
3
- } from "./tool-hvcjdrj2.js";
2
+ Service78
3
+ } from "./git-xcmxfd3t.js";
4
4
  import {
5
- Service69,
5
+ Service71,
6
6
  Event18
7
- } from "./tool-e67ygrb5.js";
7
+ } from "./git-t8g0rz63.js";
8
8
  import {
9
9
  __export
10
- } from "./tool-9rqn6x4v.js";
10
+ } from "./git-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin31,
15
+ Plugin: () => Plugin15,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin31 = define({
20
+ var Plugin15 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service79;
24
- const wellknown = yield* Service69;
23
+ const bus = yield* Service78;
24
+ const wellknown = yield* Service71;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -45,4 +45,4 @@ var Plugin31 = define({
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin31, exports_plugin };
48
+ export { Plugin15, exports_plugin };
@@ -1,64 +1,64 @@
1
- import {
2
- Service80,
3
- node85
4
- } from "./tool-859kcgs2.js";
5
1
  import {
6
2
  Service79,
7
3
  node84
8
- } from "./tool-hvcjdrj2.js";
4
+ } from "./git-wfeyvemf.js";
5
+ import {
6
+ Service78,
7
+ node83
8
+ } from "./git-xcmxfd3t.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./tool-5t3nmthw.js";
11
+ } from "./git-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./tool-ec1grn59.js";
14
+ } from "./git-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./tool-22m95qs7.js";
20
+ } from "./git-hrndf12w.js";
21
21
  import {
22
22
  load2
23
- } from "./tool-y0qtjk0t.js";
23
+ } from "./git-n776arpk.js";
24
24
  import {
25
25
  create3
26
- } from "./tool-kg06axw8.js";
26
+ } from "./git-kg06axw8.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./tool-8ypn74s0.js";
29
+ } from "./git-9gyd2w40.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./tool-9s022y1z.js";
34
+ } from "./git-cz8ja6bv.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./tool-q5qadqqc.js";
37
+ } from "./git-0sgtxrs8.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./tool-6ppc03cv.js";
41
+ } from "./git-prp4t9gw.js";
42
42
  import {
43
43
  estimate2
44
- } from "./tool-h6vf3j39.js";
44
+ } from "./git-h6vf3j39.js";
45
45
  import {
46
46
  record2,
47
47
  add2
48
- } from "./tool-tdstcens.js";
48
+ } from "./git-tdstcens.js";
49
49
  import {
50
50
  __export
51
- } from "./tool-9rqn6x4v.js";
51
+ } from "./git-9rqn6x4v.js";
52
52
 
53
53
  // src/session/compaction.ts
54
54
  var exports_compaction2 = {};
55
55
  __export(exports_compaction2, {
56
- Service: () => Service11,
56
+ Service: () => Service10,
57
57
  SessionCompaction: () => exports_compaction2,
58
58
  buildPrompt: () => buildPrompt2,
59
59
  estimateTokens: () => estimateTokens2,
60
- layer: () => layer7,
61
- node: () => node14,
60
+ layer: () => layer6,
61
+ node: () => node13,
62
62
  retainUsers: () => retainUsers2,
63
63
  serializeToolContent: () => serializeToolContent2,
64
64
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service11 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -296,10 +296,10 @@ var buildPrompt2 = (update, legacy = false) => {
296
296
  };
297
297
  var hasSummarySection = (summary) => summary.split(`
298
298
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
299
- var layer7 = Layer.effect(Service11, Effect.gen(function* () {
300
- const bus = yield* Service79;
299
+ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
300
+ const bus = yield* Service78;
301
301
  const llm = yield* LLMClient.Service;
302
- const db = (yield* Service80).db;
302
+ const db = (yield* Service79).db;
303
303
  const state = create3({
304
304
  name: "session-compaction",
305
305
  initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS }),
@@ -585,7 +585,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
585
585
  }
586
586
  }));
587
587
  });
588
- return Service11.of({
588
+ return Service10.of({
589
589
  transform: state.transform,
590
590
  reload: state.reload,
591
591
  enabled: () => state.get().auto,
@@ -594,10 +594,10 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
594
594
  compactManual
595
595
  });
596
596
  }));
597
- var node14 = makeLocationNode({
598
- service: Service11,
599
- layer: layer7,
600
- deps: [node84, node85, llmClient2]
597
+ var node13 = makeLocationNode({
598
+ service: Service10,
599
+ layer: layer6,
600
+ deps: [node83, node84, llmClient2]
601
601
  });
602
602
 
603
- export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction2 };
603
+ export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node13, exports_compaction2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./tool-gftt206x.js";
3
+ } from "./git-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./git-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,32 +1,32 @@
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
6
  create3
7
- } from "./tool-kg06axw8.js";
7
+ } from "./git-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./tool-4faz70f1.js";
10
+ } from "./git-xsz6vv8y.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-9rqn6x4v.js";
13
+ } from "./git-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event13,
21
- ID: () => ID7,
22
- Info: () => Info12,
20
+ Event: () => Event14,
21
+ ID: () => ID9,
22
+ Info: () => Info13,
23
23
  Name: () => Name2,
24
- Service: () => Service55,
24
+ Service: () => Service63,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node59,
29
+ node: () => node68,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event13 } from "@opencode/schema/skill";
37
+ import { Event as Event14 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info12 = Skill.Info;
43
- var ID7 = Skill.ID;
42
+ var Info13 = Skill.Info;
43
+ var ID9 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service55 extends Context.Service()("@opencode/Skill") {
74
+ class Service63 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service55, Effect.gen(function* () {
77
- const bus = yield* Service79;
76
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
77
+ const bus = yield* Service78;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID7.make(id)),
83
+ get: (id) => editor.skills.get(ID9.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID7.make(id));
88
+ const current = editor.skills.get(ID9.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID7.make(id);
92
+ current.id = ID9.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID7.make(id));
95
+ editor.skills.delete(ID9.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service55.of({
100
+ return Service63.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node59 = makeLocationNode({
112
- service: Service55,
111
+ var node68 = makeLocationNode({
112
+ service: Service63,
113
113
  layer,
114
- deps: [node84]
114
+ deps: [node83]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info12, ID7, Name2, available2, toModelOutput3, prepare3, Service55, node59, exports_skill5, Event13 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info13, ID9, Name2, available2, toModelOutput3, prepare3, Service63, node68, exports_skill5, Event14 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./tool-550bvhaj.js";
3
+ } from "./git-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./tool-j5zkgpj8.js";
6
+ } from "./git-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./tool-3asan66x.js";
9
+ } from "./git-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./tool-rmm45jmv.js";
12
+ } from "./git-0t098hqn.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,10 +1,10 @@
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
6
  __export
7
- } from "./tool-9rqn6x4v.js";
7
+ } from "./git-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event12,
15
+ Event: () => Event13,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID6,
20
- Info: () => Info11,
19
+ ID: () => ID8,
20
+ Info: () => Info12,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError6,
23
+ NotFoundError: () => NotFoundError7,
24
24
  Reply: () => Reply2,
25
- Service: () => Service53,
25
+ Service: () => Service62,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer22,
29
- node: () => node57,
28
+ layer: () => layer23,
29
+ node: () => node67,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event12 } from "@opencode/schema/form";
36
+ import { Event as Event13 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID6 = Form.ID;
39
- var Info11 = Form.Info;
38
+ var ID8 = Form.ID;
39
+ var Info12 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID6
47
+ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID8
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID6
56
+ id: ID8
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID6
64
+ id: ID8
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID6,
72
+ id: ID8,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service53 extends Context.Service()("@opencode/Form") {
82
+ class Service62 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer22 = Layer.effect(Service53, Effect.gen(function* () {
85
- const bus = yield* Service79;
84
+ var layer23 = Layer.effect(Service62, Effect.gen(function* () {
85
+ const bus = yield* Service78;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID6.create();
92
+ const id = input.id ?? ID8.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service53.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service62.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node57 = makeLocationNode({ service: Service53, layer: layer22, deps: [node84] });
158
+ var node67 = makeLocationNode({ service: Service62, layer: layer23, deps: [node83] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID6, Info11, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service53, layer22, node57, validateAnswer2, validateFields2, exports_form, Event12 };
310
+ export { ID8, Info12, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service62, layer23, node67, validateAnswer2, validateFields2, exports_form, Event13 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID10
3
- } from "./tool-r1q74f54.js";
2
+ ID12
3
+ } from "./git-17rjwhd8.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./tool-922hggd3.js";
6
+ } from "./git-922hggd3.js";
7
7
  import {
8
- Info23
9
- } from "./tool-jmm88pvs.js";
8
+ Info21
9
+ } from "./git-nwd3ssra.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./tool-dw8c19qb.js";
12
+ } from "./git-qr27hz8v.js";
13
13
  import {
14
14
  latest2,
15
- Service67
16
- } from "./tool-7rzn7488.js";
15
+ Service69
16
+ } from "./git-2f3d9t1j.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./tool-5daktx2q.js";
19
+ } from "./git-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./tool-9rqn6x4v.js";
22
+ } from "./git-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin22
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin28
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info23);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info21);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin22 = define({
47
+ var Plugin28 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service67;
50
+ const config = yield* Service69;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin22 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID10.make(configuredDefault));
79
+ editor.default(ID12.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID10.make(id);
85
+ const agentID = ID12.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin22, exports_agent };
164
+ export { Plugin28, exports_agent2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID14,
2
+ ID15,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./tool-jfpzywp2.js";
6
+ } from "./git-2d6j2h4j.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./git-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service54,
16
+ Service: () => Service52,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node58
18
+ node: () => node55
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
128
128
  }
129
129
 
130
130
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
131
- providerID: ID14,
131
+ providerID: ID15,
132
132
  cause: Schema.Defect()
133
133
  }) {
134
134
  }
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service54 extends Context.Service()("@opencode/AISDK") {
139
+ class Service52 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service54, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service52, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service54, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service54.of({
179
+ const service = Service52.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
809
809
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
810
810
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
811
811
  }
812
- var node58 = makeLocationNode({ service: Service54, layer: locationLayer2, deps: [] });
812
+ var node55 = makeLocationNode({ service: Service52, layer: locationLayer2, deps: [] });
813
813
 
814
- export { InitError2, Service54, locationLayer2, node58, exports_aisdk };
814
+ export { InitError2, Service52, locationLayer2, node55, exports_aisdk };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID14
3
- } from "./tool-jfpzywp2.js";
2
+ ID15
3
+ } from "./git-2d6j2h4j.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./git-9rqn6x4v.js";
7
7
 
8
8
  // src/model.ts
9
9
  var exports_model2 = {};
@@ -12,8 +12,8 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID12,
16
- Info: () => Info26,
15
+ ID: () => ID14,
16
+ Info: () => Info28,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
19
  Ref: () => Ref3,
@@ -22,7 +22,7 @@ __export(exports_model2, {
22
22
  parse: () => parse5
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID12 = Model.ID;
25
+ var ID14 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
@@ -30,7 +30,7 @@ var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
32
  var Ref3 = Model.Ref;
33
- var Info26 = Model.Info;
33
+ var Info28 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -41,9 +41,9 @@ function compatibility2(input) {
41
41
  function parse5(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID14.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info26, compatibility2, parse5, exports_model2 };
49
+ export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info28, compatibility2, parse5, exports_model2 };