@opencode/core 0.0.0-dev-21062 → 0.0.0-dev-21069

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 (471) hide show
  1. package/dist/agent.js +72 -72
  2. package/dist/aisdk-native.js +75 -75
  3. package/dist/aisdk.js +80 -80
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +61 -61
  6. package/dist/chunks/{git-rbpvdgf0.js → git-00bpreyp.js} +7 -7
  7. package/dist/chunks/{git-27sw9x7x.js → git-02614zk1.js} +17 -17
  8. package/dist/chunks/{git-3hk2ztfw.js → git-0ff5h7g9.js} +8 -8
  9. package/dist/chunks/{git-3md19t04.js → git-0qx6w01s.js} +14 -14
  10. package/dist/chunks/{git-ge8zn40h.js → git-0th69q4z.js} +5 -5
  11. package/dist/chunks/{git-qnjzkknc.js → git-0tz5f1ee.js} +7 -7
  12. package/dist/chunks/{git-2gbz9bkd.js → git-0yvmkw8f.js} +1 -1
  13. package/dist/chunks/{git-jt1egq2b.js → git-0zd41eb9.js} +9 -9
  14. package/dist/chunks/{git-0wgmrba7.js → git-1468afn5.js} +13 -13
  15. package/dist/chunks/{git-x61k1gv7.js → git-1jcrrg6s.js} +7 -7
  16. package/dist/chunks/{git-g6yfr6ja.js → git-1pxz8ven.js} +3 -3
  17. package/dist/chunks/{git-fxaymqdw.js → git-1w2wqhfv.js} +3 -3
  18. package/dist/chunks/{git-4p6eznaa.js → git-2119y00b.js} +18 -18
  19. package/dist/chunks/{git-6mp3ggm1.js → git-23wekjqs.js} +22 -22
  20. package/dist/chunks/{git-zvm05j0q.js → git-266m7yvg.js} +14 -14
  21. package/dist/chunks/{git-1hnmhrtt.js → git-2ayr3kwx.js} +10 -10
  22. package/dist/chunks/{git-3jq4fafe.js → git-2j3rh8vt.js} +13 -13
  23. package/dist/chunks/{git-v3qh3xqk.js → git-2jfq4a2k.js} +2 -2
  24. package/dist/chunks/{git-g97vj1p3.js → git-2q9xg5p3.js} +12 -12
  25. package/dist/chunks/{git-5te1apv5.js → git-2qsqy3dj.js} +29 -29
  26. package/dist/chunks/{git-cwa6csj7.js → git-2sejkfem.js} +7 -7
  27. package/dist/chunks/{git-jw0xc3ac.js → git-2tbsc6xa.js} +148 -148
  28. package/dist/chunks/{git-asvx1cy5.js → git-2yvprtqn.js} +44 -44
  29. package/dist/chunks/{git-kckqmhre.js → git-30aagwgp.js} +6 -6
  30. package/dist/chunks/{git-j9tkb0kk.js → git-3cpe3kw7.js} +81 -81
  31. package/dist/chunks/{git-geje6z9c.js → git-3gt9q2bb.js} +3 -3
  32. package/dist/chunks/{git-bcys5w9d.js → git-3hyqebky.js} +18 -18
  33. package/dist/chunks/{git-39381q6g.js → git-3vzj2kxg.js} +24 -24
  34. package/dist/chunks/{git-dnn66tcs.js → git-3w33sg6k.js} +27 -27
  35. package/dist/chunks/{git-vpm8vpz0.js → git-48kw51zw.js} +3 -3
  36. package/dist/chunks/{git-w6zk8pbt.js → git-4jk0qxj4.js} +5 -5
  37. package/dist/chunks/{git-n0freqwz.js → git-4k8e88tr.js} +2 -2
  38. package/dist/chunks/{git-8159bw5m.js → git-4kdqwsjh.js} +24 -24
  39. package/dist/chunks/{git-3es4phk5.js → git-4t5kpmng.js} +38 -38
  40. package/dist/chunks/{git-jq5qpyxf.js → git-4xhx7w4s.js} +17 -17
  41. package/dist/chunks/{git-xq7d7py0.js → git-4yjw5cbc.js} +18 -18
  42. package/dist/chunks/{git-3rx778rd.js → git-5f47q2sq.js} +9 -9
  43. package/dist/chunks/{git-r81t6b6n.js → git-5jyrmfvy.js} +9 -9
  44. package/dist/chunks/{git-28t5xsh3.js → git-5mv525pg.js} +20 -20
  45. package/dist/chunks/{git-h1n9eedh.js → git-5nvx1j92.js} +13 -13
  46. package/dist/chunks/{git-e80seqcp.js → git-5rzwp8tz.js} +2 -2
  47. package/dist/chunks/{git-4gw7zdme.js → git-5ycn1s57.js} +12 -12
  48. package/dist/chunks/{git-9tv8kj20.js → git-67w5jb7s.js} +17 -17
  49. package/dist/chunks/{git-mnns84tq.js → git-69crj1q0.js} +25 -25
  50. package/dist/chunks/{git-fe2th2wh.js → git-6f5t57mb.js} +4 -4
  51. package/dist/chunks/{git-s84ry3mb.js → git-6fw3c6yn.js} +23 -23
  52. package/dist/chunks/{git-gwcrv1gc.js → git-6jkg52sa.js} +44 -44
  53. package/dist/chunks/{git-8sze2n9a.js → git-6pc27hjz.js} +1 -1
  54. package/dist/chunks/{git-5mnnp3cw.js → git-6q4rff1r.js} +53 -53
  55. package/dist/chunks/{git-gyxaygr4.js → git-6tcpm8dw.js} +45 -45
  56. package/dist/chunks/{git-7kp85qqg.js → git-6v7mnssa.js} +19 -19
  57. package/dist/chunks/{git-c7rx12mq.js → git-73g798cj.js} +18 -18
  58. package/dist/chunks/{git-jnrq1n4d.js → git-7bjh6j87.js} +35 -35
  59. package/dist/chunks/{git-h1wet0ag.js → git-7c88d4gx.js} +8 -8
  60. package/dist/chunks/{git-k1am5yw9.js → git-7jwfj2aw.js} +10 -10
  61. package/dist/chunks/{git-4yt2kt0b.js → git-7tfmmy5j.js} +14 -14
  62. package/dist/chunks/{git-5y1ssq42.js → git-7venh9gk.js} +20 -20
  63. package/dist/chunks/{git-59gkzr6d.js → git-7xeqc4s4.js} +39 -39
  64. package/dist/chunks/{git-xybefm6f.js → git-7zt5x37y.js} +1 -1
  65. package/dist/chunks/{git-y8jmcg8k.js → git-831gmjmg.js} +4 -4
  66. package/dist/chunks/{git-jyc9d1z3.js → git-8a1xt0qe.js} +15 -15
  67. package/dist/chunks/{git-gjcxsqdv.js → git-8cptq6xk.js} +11 -11
  68. package/dist/chunks/{git-8myf2bph.js → git-8h31457k.js} +27 -27
  69. package/dist/chunks/{git-xt6nrjvw.js → git-8j6brnn0.js} +15 -15
  70. package/dist/chunks/{git-m9pkn1rm.js → git-8rta2mgv.js} +12 -12
  71. package/dist/chunks/{git-0y6maag9.js → git-8v7vnxqj.js} +30 -30
  72. package/dist/chunks/{git-fe40c1g9.js → git-8xjp7fxv.js} +181 -181
  73. package/dist/chunks/{git-52fpbh6z.js → git-9c3np669.js} +7 -7
  74. package/dist/chunks/{git-qpm7s57z.js → git-9nggydkc.js} +10 -10
  75. package/dist/chunks/{git-m7xf8rkm.js → git-9psrfwvx.js} +16 -16
  76. package/dist/chunks/{git-9bb8qht6.js → git-9q8t3w4w.js} +9 -9
  77. package/dist/chunks/{git-f81tjggh.js → git-9sh4wc5j.js} +4 -4
  78. package/dist/chunks/{git-0y0ec6ym.js → git-9tw20s6t.js} +48 -48
  79. package/dist/chunks/{git-vhnmz40v.js → git-a0vxgrxv.js} +9 -9
  80. package/dist/chunks/{git-4w5f3qm5.js → git-a2qe2ev9.js} +7 -7
  81. package/dist/chunks/{git-pmexrvbd.js → git-acbjzsa7.js} +9 -9
  82. package/dist/chunks/{git-ttqw03tt.js → git-aeg33gny.js} +9 -9
  83. package/dist/chunks/{git-at7t4gwn.js → git-afqskp6j.js} +7 -7
  84. package/dist/chunks/{git-y1gc13fs.js → git-ayrdz2nr.js} +13 -13
  85. package/dist/chunks/{git-6ees7pqa.js → git-b40n6ccn.js} +4 -4
  86. package/dist/chunks/{git-4a2776we.js → git-b5r4mbce.js} +8 -8
  87. package/dist/chunks/{git-f78dsz6n.js → git-bdpzzc2x.js} +8 -8
  88. package/dist/chunks/{git-myzt0ztr.js → git-bh4vy26f.js} +12 -12
  89. package/dist/chunks/{git-9hke9rzz.js → git-bnn5vwpb.js} +1 -1
  90. package/dist/chunks/{git-mshkz34v.js → git-bsps9kxp.js} +4 -4
  91. package/dist/chunks/{git-5e3m6ttb.js → git-c2jraa9j.js} +20 -20
  92. package/dist/chunks/{git-ssaywjka.js → git-ca80dkkt.js} +14 -14
  93. package/dist/chunks/{git-rybfjp7a.js → git-cmbb65yx.js} +17 -17
  94. package/dist/chunks/{git-dv1qgsyq.js → git-cmwkp3r5.js} +7 -7
  95. package/dist/chunks/{git-raz7n7tw.js → git-cnh20cya.js} +22 -22
  96. package/dist/chunks/{git-yrw4mpv0.js → git-ctwn6ggk.js} +10 -10
  97. package/dist/chunks/{git-gd01rr9s.js → git-cv9a3evq.js} +18 -18
  98. package/dist/chunks/{git-3y377wv9.js → git-db2wf4at.js} +3 -3
  99. package/dist/chunks/{git-7bznv11x.js → git-dfxpctz5.js} +21 -21
  100. package/dist/chunks/{git-chgyesm2.js → git-dkjqkvp1.js} +4 -4
  101. package/dist/chunks/{git-1a515dmz.js → git-dpxxdp3p.js} +6 -6
  102. package/dist/chunks/{git-hjwvg3qx.js → git-dq5d42ev.js} +37 -37
  103. package/dist/chunks/{git-xfkkasph.js → git-drwq78ky.js} +3 -3
  104. package/dist/chunks/{git-55s65rp4.js → git-dtkbkpn6.js} +15 -15
  105. package/dist/chunks/{git-b6an89mh.js → git-dywg3qh4.js} +19 -19
  106. package/dist/chunks/{git-nx34zgwq.js → git-e5s7b6hf.js} +16 -16
  107. package/dist/chunks/{git-3xn4xn8n.js → git-e6ztw48d.js} +7 -7
  108. package/dist/chunks/{git-hqbqqsx7.js → git-eaf53vd4.js} +8 -8
  109. package/dist/chunks/{git-s8d7rejh.js → git-eaj1djv9.js} +5 -5
  110. package/dist/chunks/{git-rr1z7ahj.js → git-edc28t1d.js} +32 -32
  111. package/dist/chunks/{git-6n0ste9k.js → git-eh27m2d1.js} +17 -17
  112. package/dist/chunks/{git-6vmt1kdw.js → git-ekmdazyf.js} +20 -20
  113. package/dist/chunks/{git-xyq213da.js → git-ex86cwx9.js} +9 -9
  114. package/dist/chunks/{git-2cahkbfy.js → git-eyh1wkb1.js} +38 -38
  115. package/dist/chunks/{git-1acjjqhc.js → git-f2n192rq.js} +3 -3
  116. package/dist/chunks/{git-00b36z4k.js → git-f337py0x.js} +42 -42
  117. package/dist/chunks/{git-y54hr7f3.js → git-f58gpcny.js} +7 -7
  118. package/dist/chunks/{git-133h4rxs.js → git-fag8vj58.js} +13 -13
  119. package/dist/chunks/{git-wtk2ksb2.js → git-fbzjpc5s.js} +19 -19
  120. package/dist/chunks/{git-wjk3jbnn.js → git-fdgewsy2.js} +49 -49
  121. package/dist/chunks/{git-e9v5qsfh.js → git-fntcccxw.js} +15 -15
  122. package/dist/chunks/{git-4434d9q2.js → git-fpecnkgp.js} +7 -7
  123. package/dist/chunks/{git-1zz9rj5d.js → git-fvkc5bdm.js} +4 -4
  124. package/dist/chunks/{git-5jebk2rh.js → git-fza1zbnh.js} +18 -18
  125. package/dist/chunks/{git-fn9hs14h.js → git-g182skvz.js} +3 -3
  126. package/dist/chunks/{git-2052heee.js → git-g1hadtra.js} +10 -10
  127. package/dist/chunks/{git-y0p3px76.js → git-g6g1f1f4.js} +30 -30
  128. package/dist/chunks/{git-a8037f1v.js → git-gaamej5p.js} +8 -8
  129. package/dist/chunks/{git-5jhv0vnb.js → git-gh1jkbka.js} +312 -312
  130. package/dist/chunks/{git-w6gd0mvv.js → git-gnh85nqw.js} +15 -15
  131. package/dist/chunks/{git-dmecs3pv.js → git-gqcfbtm3.js} +24 -24
  132. package/dist/chunks/git-gw4ygm76.js +26 -0
  133. package/dist/chunks/{git-d2czbp48.js → git-gw7cjrad.js} +3 -3
  134. package/dist/chunks/{git-zt0d3ekd.js → git-gykybrp3.js} +2 -2
  135. package/dist/chunks/{git-w91axksf.js → git-h1vtm10r.js} +12 -12
  136. package/dist/chunks/{git-02fz4yjj.js → git-ha3rtydb.js} +1 -1
  137. package/dist/chunks/{git-pvkdhk7d.js → git-hbb48s8v.js} +28 -28
  138. package/dist/chunks/{git-npw39rc8.js → git-hcv80w8f.js} +6 -6
  139. package/dist/chunks/{git-mqzqahne.js → git-hfkyxwzf.js} +11 -11
  140. package/dist/chunks/{git-510fpdjj.js → git-hmt9zk07.js} +33 -33
  141. package/dist/chunks/{git-q39cs03p.js → git-hrfjxse0.js} +2 -2
  142. package/dist/chunks/{git-d69z9xpr.js → git-j2fvhsza.js} +10 -10
  143. package/dist/chunks/{git-gpqws9nq.js → git-j4qww8c3.js} +3 -3
  144. package/dist/chunks/{git-yf4jcbx9.js → git-j5w2yx54.js} +5 -5
  145. package/dist/chunks/{git-n2srvep7.js → git-jewzahs7.js} +3 -3
  146. package/dist/chunks/{git-kprygma0.js → git-jhyzf99q.js} +25 -25
  147. package/dist/chunks/{git-fww2ha2b.js → git-jmecpmqm.js} +8 -8
  148. package/dist/chunks/{git-x2hbrvsn.js → git-jmksq526.js} +1 -1
  149. package/dist/chunks/{git-7wvrqce5.js → git-jrqabhyb.js} +13 -13
  150. package/dist/chunks/{git-7th6dh9e.js → git-jv7bf4eg.js} +8 -8
  151. package/dist/chunks/{git-xj1aydcy.js → git-k1n0z3hy.js} +3 -3
  152. package/dist/chunks/{git-19720hhg.js → git-k4ahcazb.js} +13 -13
  153. package/dist/chunks/{git-wwx8h3qn.js → git-kad49353.js} +7 -7
  154. package/dist/chunks/{git-7xe39psp.js → git-kdvnmn04.js} +1 -1
  155. package/dist/chunks/{git-cmqxwqzx.js → git-kpnmq009.js} +4 -4
  156. package/dist/chunks/{git-4327w5ky.js → git-krwp2252.js} +9 -9
  157. package/dist/chunks/{git-chhj7fee.js → git-kzp420br.js} +29 -29
  158. package/dist/chunks/{git-66mwys5v.js → git-m5pxmjnr.js} +16 -16
  159. package/dist/chunks/{git-z44656xp.js → git-mc8yk1sj.js} +32 -32
  160. package/dist/chunks/{git-j85zdcpy.js → git-mh6hy0t6.js} +14 -14
  161. package/dist/chunks/{git-2zs3ps38.js → git-mkgxfw47.js} +16 -16
  162. package/dist/chunks/{git-63d46qpn.js → git-mydantps.js} +8 -8
  163. package/dist/chunks/{git-161hqbep.js → git-mza4dkfk.js} +8 -8
  164. package/dist/chunks/{git-ds58hxpb.js → git-n5acq6xm.js} +31 -31
  165. package/dist/chunks/{git-00kba7x3.js → git-n5fp27ar.js} +19 -19
  166. package/dist/chunks/{git-0qymy61s.js → git-na5v7rrw.js} +33 -33
  167. package/dist/chunks/{git-svvm20fx.js → git-nb5p96ve.js} +5 -5
  168. package/dist/chunks/{git-ct2atp7x.js → git-np1yhkch.js} +25 -25
  169. package/dist/chunks/{git-08mr04zk.js → git-nq13secw.js} +1 -1
  170. package/dist/chunks/{git-ssf4yhs8.js → git-ns8t88d0.js} +7 -7
  171. package/dist/chunks/{git-vkjty8zp.js → git-p8q506w0.js} +5 -5
  172. package/dist/chunks/{git-96k8c7ca.js → git-perpg7kn.js} +27 -27
  173. package/dist/chunks/{git-mafhwm8q.js → git-pqbxjc4k.js} +8 -8
  174. package/dist/chunks/{git-y32r5m3m.js → git-qfqkgstd.js} +4 -4
  175. package/dist/chunks/{git-azh057g0.js → git-qkjhzd8c.js} +18 -18
  176. package/dist/chunks/{git-58w8wmj1.js → git-qmc0kwyt.js} +19 -19
  177. package/dist/chunks/{git-ytcapqcx.js → git-qnaf4t8h.js} +20 -20
  178. package/dist/chunks/{git-4q8aq0yj.js → git-qtpe9amp.js} +4 -4
  179. package/dist/chunks/{git-r186t613.js → git-qvpm0d7c.js} +19 -19
  180. package/dist/chunks/{git-e67s7wnb.js → git-r2fg6vv7.js} +6 -6
  181. package/dist/chunks/{git-nd4tfyg0.js → git-r70na3yp.js} +7 -7
  182. package/dist/chunks/{git-a16f6bk4.js → git-rj2hqavp.js} +1 -1
  183. package/dist/chunks/{git-ve85v3xb.js → git-rk7s9xkn.js} +3 -3
  184. package/dist/chunks/{git-ts0sm5wa.js → git-rmpjc43h.js} +3 -3
  185. package/dist/chunks/{git-2d0p9y9z.js → git-rqa1jxse.js} +1 -1
  186. package/dist/chunks/{git-352j6603.js → git-rwywfv65.js} +8 -8
  187. package/dist/chunks/{git-cm5f7pma.js → git-rxyg1hmn.js} +9 -9
  188. package/dist/chunks/{git-djyswthr.js → git-s132tc7h.js} +32 -32
  189. package/dist/chunks/{git-y56ehv6b.js → git-s1kvmffy.js} +8 -8
  190. package/dist/chunks/{git-kdazpp6j.js → git-s2rmhwt5.js} +28 -28
  191. package/dist/chunks/{git-5v8fgs5z.js → git-sam7rjxf.js} +16 -16
  192. package/dist/chunks/{git-gayeec0v.js → git-sgth7ws6.js} +10 -10
  193. package/dist/chunks/{git-qa3qhgw8.js → git-sxz6gkc3.js} +6 -6
  194. package/dist/chunks/{git-9rqfv6yv.js → git-t8jxbrbs.js} +5 -5
  195. package/dist/chunks/{git-747advjj.js → git-tf1zb054.js} +18 -18
  196. package/dist/chunks/{git-etnbc6at.js → git-tq31zwhn.js} +15 -15
  197. package/dist/chunks/{git-sz15zhhw.js → git-txm3e8qz.js} +3 -3
  198. package/dist/chunks/{git-ttqh24zm.js → git-tz4n1mmd.js} +3 -3
  199. package/dist/chunks/{git-fh3h2rrs.js → git-tzqb1zj9.js} +3 -3
  200. package/dist/chunks/{git-ev8bzsg1.js → git-v2rmwhj0.js} +6 -6
  201. package/dist/chunks/{git-7vdkza44.js → git-ve3sm23d.js} +9 -9
  202. package/dist/chunks/{git-qh6v5qqy.js → git-vhc6xrgv.js} +30 -30
  203. package/dist/chunks/{git-8e2wevyg.js → git-vrt7w025.js} +27 -27
  204. package/dist/chunks/{git-64wjsvpw.js → git-vvgkgf2d.js} +7 -7
  205. package/dist/chunks/{git-2z976w7f.js → git-w0ctrm3b.js} +4 -4
  206. package/dist/chunks/{git-hkffa77z.js → git-wg81ww38.js} +1 -1
  207. package/dist/chunks/{git-eq1gkzp1.js → git-wq8r3h7a.js} +7 -7
  208. package/dist/chunks/{git-kftjr2e3.js → git-wqz4eby1.js} +12 -12
  209. package/dist/chunks/{git-y3m021e8.js → git-wyhe0yhr.js} +30 -30
  210. package/dist/chunks/{git-1e8qp1yh.js → git-wyywahvm.js} +24 -24
  211. package/dist/chunks/{git-c872t358.js → git-x10x1rpr.js} +6 -6
  212. package/dist/chunks/{git-2qm80vd6.js → git-x3s9gwad.js} +10 -10
  213. package/dist/chunks/{git-ga0xp5gq.js → git-xknh7n4g.js} +86 -86
  214. package/dist/chunks/{git-c4nsn6b8.js → git-xrtj00bp.js} +311 -311
  215. package/dist/chunks/{git-dpkg50ah.js → git-y71avatq.js} +3 -3
  216. package/dist/chunks/{git-z6c3x22d.js → git-ygdna4kr.js} +3 -3
  217. package/dist/chunks/{git-bv2ny28d.js → git-yhjwftg3.js} +15 -15
  218. package/dist/chunks/{git-8jwr2qnf.js → git-ym80zgz3.js} +16 -16
  219. package/dist/chunks/{git-1ffvrpkg.js → git-ywt8jp22.js} +4 -4
  220. package/dist/chunks/{git-a09dvcfs.js → git-z0crbjfj.js} +9 -9
  221. package/dist/chunks/{git-fyn09b5n.js → git-z1sbw1b4.js} +52 -52
  222. package/dist/chunks/{git-2tj3byjt.js → git-z64re3f0.js} +30 -30
  223. package/dist/chunks/{git-4kvk04s5.js → git-zdkdeprt.js} +5 -5
  224. package/dist/chunks/{git-at87fsc1.js → git-zfvpt5cz.js} +29 -29
  225. package/dist/chunks/{git-ct331857.js → git-zgcpvakh.js} +9 -9
  226. package/dist/chunks/{git-aj2sbhs3.js → git-zk35yz24.js} +4 -4
  227. package/dist/chunks/{git-scgrse2b.js → git-zyk1yjk8.js} +3 -3
  228. package/dist/codemode/instructions.js +4 -4
  229. package/dist/command.js +76 -76
  230. package/dist/config/discovery.js +68 -68
  231. package/dist/config/normalize.js +83 -83
  232. package/dist/config/plugin/agent.js +95 -95
  233. package/dist/config/plugin/command.js +169 -169
  234. package/dist/config/plugin/compaction.js +121 -121
  235. package/dist/config/plugin/compatibility.js +108 -108
  236. package/dist/config/plugin/formatter.js +94 -94
  237. package/dist/config/plugin/image.js +93 -93
  238. package/dist/config/plugin/instruction.js +94 -94
  239. package/dist/config/plugin/location-watcher.js +93 -93
  240. package/dist/config/plugin/mcp.js +101 -101
  241. package/dist/config/plugin/policy.js +94 -94
  242. package/dist/config/plugin/provider.js +93 -93
  243. package/dist/config/plugin/reference.js +95 -95
  244. package/dist/config/plugin/shell.js +93 -93
  245. package/dist/config/plugin/skill-file.js +83 -83
  246. package/dist/config/plugin/skill.js +111 -111
  247. package/dist/config/plugin/snapshot.js +93 -93
  248. package/dist/config/plugin/source.js +96 -96
  249. package/dist/config/plugin/tool-output.js +94 -94
  250. package/dist/config/plugin/websearch.js +92 -92
  251. package/dist/config/plugin/worktree.js +94 -94
  252. package/dist/config.js +95 -95
  253. package/dist/credential.js +75 -75
  254. package/dist/database/database.js +59 -59
  255. package/dist/database/drizzle/effect-sqlite/driver.js +11 -11
  256. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  257. package/dist/database/drizzle/effect-sqlite/session.js +8 -8
  258. package/dist/database/drizzle/index.js +12 -12
  259. package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
  260. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  261. package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
  262. package/dist/database/drizzle.js +12 -12
  263. package/dist/database/migration.gen.js +42 -42
  264. package/dist/database/migration.js +44 -44
  265. package/dist/database/v1-migration.bun.js +9 -9
  266. package/dist/effect/app-node-builder.js +228 -228
  267. package/dist/effect/keyed-mutex.js +3 -3
  268. package/dist/environment/environment.js +75 -75
  269. package/dist/environment/index.js +75 -75
  270. package/dist/environment/unavailable.js +3 -3
  271. package/dist/event-logger.js +10 -10
  272. package/dist/file-access.js +86 -86
  273. package/dist/file-mutation.js +76 -76
  274. package/dist/filesystem/location-watcher-policy.js +5 -5
  275. package/dist/filesystem/location-watcher.js +180 -180
  276. package/dist/filesystem/search.js +83 -83
  277. package/dist/filesystem/watcher.js +9 -9
  278. package/dist/filesystem.js +86 -86
  279. package/dist/form.js +76 -76
  280. package/dist/formatter/builtins.js +3 -3
  281. package/dist/formatter.js +73 -73
  282. package/dist/generate.js +85 -85
  283. package/dist/git.js +8 -8
  284. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  285. package/dist/github-copilot/copilot-provider.js +3 -3
  286. package/dist/github-copilot/models.js +77 -77
  287. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  288. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  289. package/dist/image/photon.js +1 -1
  290. package/dist/image.js +5 -5
  291. package/dist/instance/service.js +5 -5
  292. package/dist/instance.js +311 -311
  293. package/dist/instruction-discovery.js +75 -75
  294. package/dist/instructions/builtins.js +73 -73
  295. package/dist/instructions/index.js +3 -3
  296. package/dist/integration/connection.js +3 -3
  297. package/dist/integration.js +79 -79
  298. package/dist/job.js +69 -69
  299. package/dist/kv.js +64 -64
  300. package/dist/location-activity.js +51 -51
  301. package/dist/location-lifecycle.js +89 -89
  302. package/dist/location-service-map.js +68 -68
  303. package/dist/location-services.js +309 -309
  304. package/dist/location.js +75 -75
  305. package/dist/managed-policy.js +7 -7
  306. package/dist/mcp/client.js +18 -18
  307. package/dist/mcp/index.js +91 -91
  308. package/dist/mcp/instructions.js +104 -104
  309. package/dist/mcp/oauth.js +14 -14
  310. package/dist/mcp/stdio.js +72 -72
  311. package/dist/modal/models.js +77 -77
  312. package/dist/model-resolver.js +84 -84
  313. package/dist/model.js +84 -84
  314. package/dist/models-dev.js +92 -92
  315. package/dist/permission/saved.js +68 -68
  316. package/dist/permission.js +95 -95
  317. package/dist/persistent-pty/index.js +75 -75
  318. package/dist/persistent-pty.js +63 -63
  319. package/dist/plugin/agent.js +67 -67
  320. package/dist/plugin/command.js +84 -84
  321. package/dist/plugin/hooks.js +5 -5
  322. package/dist/plugin/host.js +173 -173
  323. package/dist/plugin/identity.js +3 -3
  324. package/dist/plugin/instance.js +5 -5
  325. package/dist/plugin/internal.js +285 -285
  326. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  327. package/dist/plugin/models-dev.js +81 -81
  328. package/dist/plugin/module.js +92 -92
  329. package/dist/plugin/optimize.js +2 -2
  330. package/dist/plugin/plan.js +84 -84
  331. package/dist/plugin/provider/amazon-bedrock.js +76 -76
  332. package/dist/plugin/provider/azure.js +94 -94
  333. package/dist/plugin/provider/chatgpt.js +92 -92
  334. package/dist/plugin/provider/cloudflare-ai-gateway.js +91 -91
  335. package/dist/plugin/provider/cloudflare-workers-ai.js +91 -91
  336. package/dist/plugin/provider/configured.js +90 -90
  337. package/dist/plugin/provider/digitalocean.js +78 -78
  338. package/dist/plugin/provider/github-copilot.js +80 -80
  339. package/dist/plugin/provider/gitlab.js +78 -78
  340. package/dist/plugin/provider/google-vertex.js +91 -91
  341. package/dist/plugin/provider/llmgateway.js +68 -68
  342. package/dist/plugin/provider/lmstudio.js +101 -101
  343. package/dist/plugin/provider/local.js +98 -98
  344. package/dist/plugin/provider/modal.js +78 -78
  345. package/dist/plugin/provider/ollama.js +101 -101
  346. package/dist/plugin/provider/openai.js +92 -92
  347. package/dist/plugin/provider/opencode.js +83 -83
  348. package/dist/plugin/provider/openrouter.js +77 -77
  349. package/dist/plugin/provider/poe.js +68 -68
  350. package/dist/plugin/provider/sap-ai-core.js +76 -76
  351. package/dist/plugin/provider/snowflake-cortex.js +92 -92
  352. package/dist/plugin/provider/vercel.js +76 -76
  353. package/dist/plugin/provider/vllm.js +101 -101
  354. package/dist/plugin/provider/xai.js +77 -77
  355. package/dist/plugin/provider.js +138 -138
  356. package/dist/plugin/sdk.js +68 -68
  357. package/dist/plugin/service.js +3 -3
  358. package/dist/plugin/skill.js +109 -109
  359. package/dist/plugin/supervisor.js +300 -300
  360. package/dist/plugin/tool-input-repair.js +3 -3
  361. package/dist/plugin/update.js +6 -6
  362. package/dist/plugin/vcs/git.js +72 -72
  363. package/dist/plugin/vcs/hg.js +72 -72
  364. package/dist/plugin/verbosity.js +79 -79
  365. package/dist/plugin/warming.js +92 -92
  366. package/dist/plugin/websearch/exa.js +6 -6
  367. package/dist/plugin/websearch/firecrawl.js +7 -7
  368. package/dist/plugin/websearch/index.js +8 -8
  369. package/dist/plugin/websearch/mcp.js +3 -3
  370. package/dist/plugin/websearch/parallel.js +7 -7
  371. package/dist/plugin/websearch/tavily.js +4 -4
  372. package/dist/plugin/websearch/tinyfish.js +7 -7
  373. package/dist/plugin.js +185 -185
  374. package/dist/project/schema.js +7 -7
  375. package/dist/project.js +76 -76
  376. package/dist/provider.js +87 -87
  377. package/dist/pty.js +82 -82
  378. package/dist/reference/instructions.js +76 -76
  379. package/dist/reference.js +74 -74
  380. package/dist/repository-cache.js +69 -69
  381. package/dist/ripgrep.js +78 -78
  382. package/dist/rpc.js +72 -72
  383. package/dist/session/command.js +65 -65
  384. package/dist/session/compaction.js +106 -106
  385. package/dist/session/context.js +124 -124
  386. package/dist/session/diff.js +72 -72
  387. package/dist/session/environment.js +5 -5
  388. package/dist/session/error.js +4 -4
  389. package/dist/session/execution/restart.js +110 -110
  390. package/dist/session/execution.js +109 -109
  391. package/dist/session/generate.js +123 -123
  392. package/dist/session/history.js +6 -6
  393. package/dist/session/inbox.js +71 -71
  394. package/dist/session/info.js +2 -2
  395. package/dist/session/instruction-entry.js +67 -67
  396. package/dist/session/instruction-state.js +2 -2
  397. package/dist/session/instructions.js +76 -76
  398. package/dist/session/model-request.js +96 -96
  399. package/dist/session/model-transport.js +7 -7
  400. package/dist/session/move.js +109 -109
  401. package/dist/session/projector.js +69 -69
  402. package/dist/session/prompt.js +86 -86
  403. package/dist/session/provider-context.js +3 -3
  404. package/dist/session/revert.js +73 -73
  405. package/dist/session/run-coordinator.js +3 -3
  406. package/dist/session/runner/index.js +3 -3
  407. package/dist/session/runner/llm.js +182 -182
  408. package/dist/session/runner/model.js +84 -84
  409. package/dist/session/runner/publish-llm-event.js +94 -94
  410. package/dist/session/runner/retry.js +3 -3
  411. package/dist/session/runner/step.js +100 -100
  412. package/dist/session/runner/to-llm-message.js +2 -2
  413. package/dist/session/schema.js +5 -5
  414. package/dist/session/session.js +135 -135
  415. package/dist/session/shell.js +105 -105
  416. package/dist/session/skill.js +85 -85
  417. package/dist/session/stats.js +8 -8
  418. package/dist/session/store.js +71 -71
  419. package/dist/session/subagent-job.js +164 -164
  420. package/dist/session/system-prompt.js +3 -3
  421. package/dist/session/title.js +121 -121
  422. package/dist/session/to-session-error.js +93 -93
  423. package/dist/session/transfer.js +107 -107
  424. package/dist/session.js +176 -176
  425. package/dist/shell/parse.js +2 -2
  426. package/dist/shell/select.js +11 -11
  427. package/dist/shell.js +108 -108
  428. package/dist/skill/discovery.js +5 -5
  429. package/dist/skill/instructions.js +89 -89
  430. package/dist/skill.js +92 -92
  431. package/dist/snapshot.js +79 -79
  432. package/dist/tool/mcp.js +101 -101
  433. package/dist/tool/plugin/edit.js +97 -97
  434. package/dist/tool/plugin/glob.js +100 -100
  435. package/dist/tool/plugin/grep.js +100 -100
  436. package/dist/tool/plugin/mcp-resource.js +95 -95
  437. package/dist/tool/plugin/opencode.js +89 -89
  438. package/dist/tool/plugin/patch.js +99 -99
  439. package/dist/tool/plugin/question.js +85 -85
  440. package/dist/tool/plugin/read.js +101 -101
  441. package/dist/tool/plugin/shell.js +168 -168
  442. package/dist/tool/plugin/skill.js +93 -93
  443. package/dist/tool/plugin/subagent.js +173 -173
  444. package/dist/tool/plugin/webfetch.js +90 -90
  445. package/dist/tool/plugin/websearch.js +94 -94
  446. package/dist/tool/plugin/write.js +97 -97
  447. package/dist/tool/read-filesystem.js +76 -76
  448. package/dist/tool-output.js +5 -5
  449. package/dist/tool.js +9 -9
  450. package/dist/v1/config/agent.js +4 -4
  451. package/dist/v1/config/command.js +5 -5
  452. package/dist/v1/config/mcp.js +3 -3
  453. package/dist/v1/config/migrate.js +77 -77
  454. package/dist/v1/config/permission.js +3 -3
  455. package/dist/v1/config/provider.js +3 -3
  456. package/dist/variant.js +77 -77
  457. package/dist/vcs.js +75 -75
  458. package/dist/websearch.js +74 -74
  459. package/dist/wellknown/plugin.js +64 -64
  460. package/dist/wellknown.js +71 -71
  461. package/dist/workspace/driver.js +5 -5
  462. package/dist/workspace.js +69 -69
  463. package/dist/worktree/git.js +7 -7
  464. package/dist/worktree/strategies.js +74 -74
  465. package/dist/worktree.js +80 -80
  466. package/package.json +8 -8
  467. package/dist/chunks/git-28w77qnw.js +0 -26
  468. /package/dist/chunks/{git-0nde5ztd.js → git-762r0j46.js} +0 -0
  469. /package/dist/chunks/{git-jx6k168v.js → git-f8kkz21q.js} +0 -0
  470. /package/dist/chunks/{git-89embc53.js → git-r5y2frqw.js} +0 -0
  471. /package/dist/chunks/{git-7vtrn64f.js → git-tyxhgj5h.js} +0 -0
@@ -5,28 +5,28 @@ import {
5
5
  RelativePath2
6
6
  } from "./git-z5v4ffb3.js";
7
7
  import {
8
- Service78
9
- } from "./git-5v8fgs5z.js";
8
+ Service80
9
+ } from "./git-sam7rjxf.js";
10
10
  import {
11
- Service63
12
- } from "./git-00kba7x3.js";
11
+ Service51
12
+ } from "./git-n5fp27ar.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service19
16
- } from "./git-bv2ny28d.js";
15
+ Service50
16
+ } from "./git-yhjwftg3.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./git-rr1z7ahj.js";
23
+ } from "./git-edc28t1d.js";
24
24
  import {
25
- Service69
26
- } from "./git-5mnnp3cw.js";
25
+ Service76
26
+ } from "./git-6q4rff1r.js";
27
27
  import {
28
- Service22
29
- } from "./git-nx34zgwq.js";
28
+ Service71
29
+ } from "./git-e5s7b6hf.js";
30
30
  import {
31
31
  __export
32
32
  } from "./git-9rqn6x4v.js";
@@ -35,17 +35,17 @@ import {
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input10,
39
- Output: () => Output8,
40
- Plugin: () => Plugin12,
41
- name: () => name10,
42
- toModelContent: () => toModelContent6
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
+ Plugin: () => Plugin2,
41
+ name: () => name2,
42
+ toModelContent: () => toModelContent2
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name10 = "grep";
48
- var Input10 = Schema.Struct({
47
+ var name2 = "grep";
48
+ var Input2 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output8 = Schema.Array(Match2);
69
- var toModelContent6 = (matches, truncated = false) => {
68
+ var Output2 = Schema.Array(Match2);
69
+ var toModelContent2 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin12 = {
86
+ var Plugin2 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service63;
90
- const ripgrep = yield* Service19;
91
- const location = yield* Service78;
92
- const access = yield* Service22;
93
- const permission = yield* Service69;
89
+ const environment = yield* Service51;
90
+ const ripgrep = yield* Service50;
91
+ const location = yield* Service80;
92
+ const access = yield* Service71;
93
+ const permission = yield* Service76;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name10,
95
+ name: name2,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input10,
99
- output: Output8,
98
+ input: Input2,
99
+ output: Output2,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name10,
105
+ action: name2,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin12 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent6(result.matches.map((match) => ({
147
+ content: toModelContent2(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin12 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name10, Input10, Output8, toModelContent6, Plugin12, exports_grep };
157
+ export { name2, Input2, Output2, toModelContent2, Plugin2, exports_grep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./git-dpkg50ah.js";
3
+ } from "./git-y71avatq.js";
4
4
  import {
5
5
  __export
6
6
  } from "./git-9rqn6x4v.js";
@@ -9,22 +9,22 @@ import {
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service5,
13
- node: () => node7
12
+ Service: () => Service12,
13
+ node: () => node14
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service5 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service12 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service5, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service5.of({
27
+ return Service12.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
52
+ var node14 = makeGlobalNode({ service: Service12, layer, deps: [Npm.node] });
53
53
 
54
- export { Service5, node7, exports_update };
54
+ export { Service12, node14, exports_update };
@@ -3,18 +3,18 @@ import {
3
3
  } from "./git-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./git-63d46qpn.js";
6
+ } from "./git-mydantps.js";
7
7
  import {
8
8
  Slug2
9
9
  } from "./git-gebd4c9n.js";
10
10
  import {
11
11
  Service85,
12
12
  node89
13
- } from "./git-zt0d3ekd.js";
13
+ } from "./git-gykybrp3.js";
14
14
  import {
15
15
  Service84,
16
16
  node88
17
- } from "./git-n0freqwz.js";
17
+ } from "./git-4k8e88tr.js";
18
18
  import {
19
19
  ProjectTable2
20
20
  } from "./git-rj3eygr5.js";
@@ -22,23 +22,23 @@ import {
22
22
  WorktreeTable2
23
23
  } from "./git-sa8ekw3f.js";
24
24
  import {
25
- ID14,
26
- NotFoundError10
27
- } from "./git-00b36z4k.js";
25
+ ID16,
26
+ NotFoundError11
27
+ } from "./git-f337py0x.js";
28
28
  import {
29
- Ref3
30
- } from "./git-5v8fgs5z.js";
29
+ Ref4
30
+ } from "./git-sam7rjxf.js";
31
31
  import {
32
32
  Service74,
33
33
  node78
34
- } from "./git-fh3h2rrs.js";
34
+ } from "./git-tzqb1zj9.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
38
  } from "./git-0vbcp93d.js";
39
39
  import {
40
- Service21
41
- } from "./git-c7rx12mq.js";
40
+ Service46
41
+ } from "./git-73g798cj.js";
42
42
  import {
43
43
  __export
44
44
  } from "./git-9rqn6x4v.js";
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event5,
53
- Info: () => Info4,
52
+ Event: () => Event6,
53
+ Info: () => Info8,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service20,
59
+ Service: () => Service45,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node23
64
+ node: () => node48
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput3 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info4 = Worktree.Info;
78
+ var Info8 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry3 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID14, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,11 +90,11 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event5 = Worktree.Event;
93
+ var Event6 = Worktree.Event;
94
94
 
95
- class Service20 extends Context.Service()("@opencode/Worktree") {
95
+ class Service45 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service20, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service85;
100
100
  const db = database.db;
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError10({ projectID });
107
+ return yield* new NotFoundError11({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
113
113
  if (current?.directory === directory)
114
114
  return current.get();
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
- const context = yield* locations.contextEffect(Ref3.make({ directory }));
116
+ const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service21).get();
118
+ return Context.get(context, Service46).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event5.Updated, { projectID });
122
+ yield* bus.publish(Event6.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service20.of({
249
+ return Service45.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,8 +256,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node23 = Node.makeGlobalNode({
260
- service: Service20,
259
+ var node48 = Node.makeGlobalNode({
260
+ service: Service45,
261
261
  layer,
262
262
  deps: [FSUtil.node, node88, node89, AppProcess.node, node78]
263
263
  });
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service20, node23, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service45, node48, exports_worktree2, OperationError2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./git-00b36z4k.js";
2
+ Service81,
3
+ node85
4
+ } from "./git-f337py0x.js";
5
5
  import {
6
6
  __export
7
7
  } from "./git-9rqn6x4v.js";
@@ -9,25 +9,25 @@ import {
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info23,
12
+ Info: () => Info26,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref3,
15
- Service: () => Service78,
14
+ Ref: () => Ref4,
15
+ Service: () => Service80,
16
16
  boundNode: () => boundNode2,
17
- node: () => node82,
17
+ node: () => node84,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info23, Ref as Ref3, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service78 extends Context.Service()("@opencode/Location") {
24
+ class Service80 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node82 = LayerNode.unbound(Service78, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
28
- const project = yield* Service79;
26
+ var node84 = LayerNode.unbound(Service80, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
+ const project = yield* Service81;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service78.of({
30
+ return Service80.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service78,
38
+ service: Service80,
39
39
  layer: layer(ref),
40
- deps: [node83]
40
+ deps: [node85]
41
41
  });
42
42
 
43
- export { Info23, Ref3, response2, Service78, node82, boundNode2, exports_location };
43
+ export { Info26, Ref4, response2, Service80, node84, boundNode2, exports_location };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service82
3
- } from "./git-8159bw5m.js";
2
+ Service75
3
+ } from "./git-4kdqwsjh.js";
4
4
  import {
5
- Service69
6
- } from "./git-5mnnp3cw.js";
5
+ Service76
6
+ } from "./git-6q4rff1r.js";
7
7
  import {
8
8
  __export
9
9
  } from "./git-9rqn6x4v.js";
@@ -12,7 +12,7 @@ import {
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service82;
57
- const permission = yield* Service69;
56
+ const forms = yield* Service75;
57
+ const permission = yield* Service76;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -3,13 +3,13 @@ import {
3
3
  } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command5 = {};
7
- __export(exports_command5, {
8
- ConfigCommandV1: () => exports_command5,
9
- Info: () => Info14
6
+ var exports_command4 = {};
7
+ __export(exports_command4, {
8
+ ConfigCommandV1: () => exports_command4,
9
+ Info: () => Info13
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info14 = Schema.Struct({
12
+ var Info13 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info14 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info14, exports_command5 };
21
+ export { Info13, exports_command4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./git-c4nsn6b8.js";
2
+ ID9
3
+ } from "./git-xrtj00bp.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
35
35
  })))).filter(Boolean).toSorted();
36
36
  yield* ctx.integration.transform((editor) => {
37
37
  editor.method.update({
38
- integrationID: ID12.amazonBedrock,
38
+ integrationID: ID9.amazonBedrock,
39
39
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
40
40
  });
41
41
  editor.method.update({
42
- integrationID: ID12.amazonBedrock,
42
+ integrationID: ID9.amazonBedrock,
43
43
  method: { type: "key", label: "Bedrock API key" }
44
44
  });
45
45
  editor.method.update({
46
- integrationID: ID12.amazonBedrock,
46
+ integrationID: ID9.amazonBedrock,
47
47
  method: {
48
48
  id: "aws-profile",
49
49
  type: "external",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./git-n0freqwz.js";
4
+ } from "./git-4k8e88tr.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
@@ -9,11 +9,11 @@ import {
9
9
  } from "./git-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./git-00b36z4k.js";
12
+ } from "./git-f337py0x.js";
13
13
  import {
14
- Service78,
15
- node82
16
- } from "./git-5v8fgs5z.js";
14
+ Service80,
15
+ node84
16
+ } from "./git-sam7rjxf.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info5,
32
+ Info: () => Info3,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service29,
35
+ Service: () => Service19,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node32
37
+ node: () => node22
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service29 extends Context.Service()("@opencode/Vcs") {
57
+ class Service19 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service29, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service78;
61
+ const location = yield* Service80;
62
62
  const bus = yield* Service84;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  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 }));
131
131
  }
132
- return Service29.of({
132
+ return Service19.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node32 = makeLocationNode({
191
- service: Service29,
190
+ var node22 = makeLocationNode({
191
+ service: Service19,
192
192
  layer,
193
- deps: [FSUtil.node, node82, node88]
193
+ deps: [FSUtil.node, node84, node88]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service29, node32, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service19, node22, exports_vcs };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./git-5v8fgs5z.js";
2
+ Service80,
3
+ node84
4
+ } from "./git-sam7rjxf.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  make21,
8
8
  combine2
9
- } from "./git-s8d7rejh.js";
9
+ } from "./git-eaj1djv9.js";
10
10
  import {
11
11
  __export
12
12
  } from "./git-9rqn6x4v.js";
@@ -15,21 +15,21 @@ import {
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service38,
19
- node: () => node41
18
+ Service: () => Service24,
19
+ node: () => node27
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service38 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service24 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service38, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service78;
29
- return Service38.of({
28
+ const location = yield* Service80;
29
+ return Service24.of({
30
30
  load: () => Effect.succeed(combine2([
31
31
  make21({
32
- key: Key3.make("core/date"),
32
+ key: Key4.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
35
35
  render: {
@@ -38,7 +38,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
38
38
  }
39
39
  }),
40
40
  make21({
41
- key: Key3.make("core/environment"),
41
+ key: Key4.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
44
44
  "<env>",
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node41 = makeLocationNode({ service: Service38, layer, deps: [Global.node, node82] });
63
+ var node27 = makeLocationNode({ service: Service24, layer, deps: [Global.node, node84] });
64
64
 
65
- export { Service38, node41, exports_builtins };
65
+ export { Service24, node27, exports_builtins };