@opencode/core 0.0.0-dev-19812 → 0.0.0-dev-19815

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{ripgrep-t41ab7wk.js → file-mutation-07nzwxsz.js} +9 -9
  8. package/dist/chunks/{ripgrep-135zn4ta.js → file-mutation-0eg4rpj5.js} +50 -50
  9. package/dist/chunks/{ripgrep-t550f9t1.js → file-mutation-0gdmqesm.js} +4 -4
  10. package/dist/chunks/{ripgrep-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{ripgrep-yf540f63.js → file-mutation-0pkscahp.js} +15 -15
  12. package/dist/chunks/{ripgrep-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{ripgrep-p7wr61jb.js → file-mutation-0q6eeezy.js} +5 -5
  14. package/dist/chunks/{ripgrep-71xfkcdx.js → file-mutation-0tg136y5.js} +9 -9
  15. package/dist/chunks/{ripgrep-bd4r2s1a.js → file-mutation-0x4jbnkh.js} +44 -44
  16. package/dist/chunks/{ripgrep-w8dfjvzm.js → file-mutation-1awtappa.js} +20 -20
  17. package/dist/chunks/{ripgrep-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{ripgrep-6hh8kjz6.js → file-mutation-1tve5nz8.js} +8 -8
  19. package/dist/chunks/{ripgrep-4ms8cvn9.js → file-mutation-1xebqrby.js} +43 -43
  20. package/dist/chunks/{ripgrep-dyagwqbw.js → file-mutation-1xv6ggcd.js} +37 -37
  21. package/dist/chunks/{ripgrep-wvq10dhv.js → file-mutation-1yaa2472.js} +8 -8
  22. package/dist/chunks/{ripgrep-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  23. package/dist/chunks/{ripgrep-pm0s3t7d.js → file-mutation-25835ps7.js} +19 -19
  24. package/dist/chunks/{ripgrep-gtfpvnfh.js → file-mutation-25r2jws7.js} +15 -15
  25. package/dist/chunks/file-mutation-2680q31g.js +65 -0
  26. package/dist/chunks/{ripgrep-q289wsms.js → file-mutation-272j0xxc.js} +7 -7
  27. package/dist/chunks/{ripgrep-1gterc69.js → file-mutation-27hdnw63.js} +13 -13
  28. package/dist/chunks/{ripgrep-z63w68vq.js → file-mutation-29x78va6.js} +6 -6
  29. package/dist/chunks/{ripgrep-pjds5a1t.js → file-mutation-2a234wtm.js} +26 -26
  30. package/dist/chunks/{ripgrep-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{ripgrep-qqy7xhhx.js → file-mutation-2r0aj5wh.js} +3 -3
  32. package/dist/chunks/{ripgrep-qx6ay3k3.js → file-mutation-2vw86sre.js} +28 -28
  33. package/dist/chunks/{ripgrep-ymyt7haz.js → file-mutation-349ahzma.js} +21 -21
  34. package/dist/chunks/{ripgrep-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{ripgrep-mh1qkymb.js → file-mutation-3hdyanjz.js} +4 -4
  36. package/dist/chunks/{ripgrep-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{ripgrep-cpd8602d.js → file-mutation-3hn2t390.js} +19 -19
  38. package/dist/chunks/{ripgrep-eq20ba7x.js → file-mutation-3rqkssp8.js} +6 -6
  39. package/dist/chunks/{ripgrep-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{ripgrep-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{ripgrep-yqwasm36.js → file-mutation-3wwmjj1e.js} +18 -18
  42. package/dist/chunks/{ripgrep-14p23t01.js → file-mutation-3yxkz7nw.js} +46 -46
  43. package/dist/chunks/{ripgrep-egqspz5t.js → file-mutation-3zbb0e4x.js} +11 -11
  44. package/dist/chunks/{ripgrep-8pk0vt9k.js → file-mutation-42ybwkjg.js} +15 -15
  45. package/dist/chunks/{ripgrep-knb7evpn.js → file-mutation-44ke2mar.js} +2 -2
  46. package/dist/chunks/{ripgrep-17602m8n.js → file-mutation-4dxew0jv.js} +6 -6
  47. package/dist/chunks/{ripgrep-prnfm6s2.js → file-mutation-4khym028.js} +4 -4
  48. package/dist/chunks/{ripgrep-3rsmh9bb.js → file-mutation-4rys938p.js} +23 -23
  49. package/dist/chunks/{ripgrep-hxpmbfxm.js → file-mutation-4vg93jqq.js} +13 -13
  50. package/dist/chunks/{ripgrep-caeeqckt.js → file-mutation-4ym5jtja.js} +30 -30
  51. package/dist/chunks/{ripgrep-0r7yqxbf.js → file-mutation-510m7gjw.js} +5 -5
  52. package/dist/chunks/{ripgrep-1ygqh575.js → file-mutation-56gdpj1q.js} +9 -9
  53. package/dist/chunks/{ripgrep-a0pddpcz.js → file-mutation-5aj0q20a.js} +29 -29
  54. package/dist/chunks/{ripgrep-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  55. package/dist/chunks/{ripgrep-kqcs6pzm.js → file-mutation-5ft7ers2.js} +11 -11
  56. package/dist/chunks/file-mutation-5fvgv7y0.js +26 -0
  57. package/dist/chunks/{ripgrep-ejzm5bey.js → file-mutation-5jwj12zg.js} +4 -4
  58. package/dist/chunks/{ripgrep-dg7130wh.js → file-mutation-5jyrccsa.js} +27 -27
  59. package/dist/chunks/{ripgrep-7nvstvty.js → file-mutation-5p7phca6.js} +42 -42
  60. package/dist/chunks/{ripgrep-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{ripgrep-sf6ccvgz.js → file-mutation-5zrd1yp0.js} +10 -10
  62. package/dist/chunks/{ripgrep-ey6276gs.js → file-mutation-618kh5az.js} +183 -182
  63. package/dist/chunks/{ripgrep-mfhfdr54.js → file-mutation-64kphnzf.js} +4 -4
  64. package/dist/chunks/{ripgrep-669tq793.js → file-mutation-669tq793.js} +1 -1
  65. package/dist/chunks/{ripgrep-6h73sxmp.js → file-mutation-6h73sxmp.js} +1 -1
  66. package/dist/chunks/file-mutation-6kdq0pjd.js +4 -0
  67. package/dist/chunks/{ripgrep-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{ripgrep-05czfhhv.js → file-mutation-6pcefmbq.js} +27 -27
  69. package/dist/chunks/{ripgrep-stx8bz6x.js → file-mutation-6vew141g.js} +5 -5
  70. package/dist/chunks/{ripgrep-r0x7c0b1.js → file-mutation-7a9f7nwj.js} +22 -22
  71. package/dist/chunks/{ripgrep-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{ripgrep-7dqw4kz8.js → file-mutation-7dqw4kz8.js} +1 -1
  73. package/dist/chunks/{ripgrep-3xc0bepy.js → file-mutation-7ea56vch.js} +9 -9
  74. package/dist/chunks/{ripgrep-8srhhjp8.js → file-mutation-7ehb06f5.js} +23 -23
  75. package/dist/chunks/{ripgrep-ngg3x1tr.js → file-mutation-7hf3hesr.js} +4 -4
  76. package/dist/chunks/{ripgrep-nmq6ymmq.js → file-mutation-7m15pt6c.js} +31 -31
  77. package/dist/chunks/{ripgrep-vmjkkbv8.js → file-mutation-7m9w9bvj.js} +10 -10
  78. package/dist/chunks/{ripgrep-8q7cq0y1.js → file-mutation-7w99qc9d.js} +3 -3
  79. package/dist/chunks/{ripgrep-ryr25ayn.js → file-mutation-806j49yq.js} +4 -4
  80. package/dist/chunks/{ripgrep-14nch4p9.js → file-mutation-83w0rrj2.js} +32 -32
  81. package/dist/chunks/{ripgrep-p4ajb0r8.js → file-mutation-89sbf2tr.js} +3 -3
  82. package/dist/chunks/{ripgrep-ahd542yp.js → file-mutation-8aaqm6qj.js} +8 -8
  83. package/dist/chunks/{ripgrep-s1ayrrqq.js → file-mutation-8ar1z498.js} +13 -13
  84. package/dist/chunks/{ripgrep-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{ripgrep-88v965ed.js → file-mutation-8d81dgab.js} +8 -8
  86. package/dist/chunks/{ripgrep-vcn0tswg.js → file-mutation-8gwfkhjz.js} +12 -12
  87. package/dist/chunks/{ripgrep-2f81mqye.js → file-mutation-8hbb8fdq.js} +4 -4
  88. package/dist/chunks/{ripgrep-9fxx88z5.js → file-mutation-8hpm3er8.js} +45 -45
  89. package/dist/chunks/{ripgrep-9z1feey3.js → file-mutation-8hvq2ep8.js} +15 -15
  90. package/dist/chunks/{ripgrep-90xbkf1m.js → file-mutation-8mhg0p4j.js} +3 -3
  91. package/dist/chunks/{ripgrep-8p4f9s12.js → file-mutation-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{ripgrep-9cx0nyab.js → file-mutation-8q83d4tx.js} +15 -15
  93. package/dist/chunks/{ripgrep-vbwt2byz.js → file-mutation-8ymss7tz.js} +5 -5
  94. package/dist/chunks/{ripgrep-kbtn0gvj.js → file-mutation-969z9wtq.js} +47 -47
  95. package/dist/chunks/{ripgrep-2hcfq88c.js → file-mutation-9d7xkn7g.js} +17 -17
  96. package/dist/chunks/{ripgrep-mhg7kg7t.js → file-mutation-9xw9w00h.js} +16 -16
  97. package/dist/chunks/{ripgrep-zwjrcp72.js → file-mutation-a0t9nbea.js} +3 -3
  98. package/dist/chunks/{ripgrep-a1bz86dw.js → file-mutation-a1bz86dw.js} +3 -3
  99. package/dist/chunks/{ripgrep-d5r70txb.js → file-mutation-a43a3g9h.js} +10 -10
  100. package/dist/chunks/{ripgrep-qbgzzech.js → file-mutation-a7h69g84.js} +72 -72
  101. package/dist/chunks/{ripgrep-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  102. package/dist/chunks/{ripgrep-57ez7d0k.js → file-mutation-aamtrqep.js} +9 -9
  103. package/dist/chunks/{ripgrep-hkfg6fzm.js → file-mutation-af04s6ss.js} +5 -5
  104. package/dist/chunks/{ripgrep-37s12vcn.js → file-mutation-ag9w8cw1.js} +5 -5
  105. package/dist/chunks/{ripgrep-cky7jn4a.js → file-mutation-akrwbyqx.js} +37 -37
  106. package/dist/chunks/{ripgrep-axvqvry5.js → file-mutation-an8v9wk2.js} +47 -47
  107. package/dist/chunks/{ripgrep-2m6ftvg3.js → file-mutation-b0kddjqc.js} +90 -90
  108. package/dist/chunks/{ripgrep-t7fksv2z.js → file-mutation-b5a5chs4.js} +11 -11
  109. package/dist/chunks/{ripgrep-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{ripgrep-0z8vjex2.js → file-mutation-bdqrk2vk.js} +7 -7
  111. package/dist/chunks/{ripgrep-tj1h49fw.js → file-mutation-beq4zmjh.js} +6 -6
  112. package/dist/chunks/{ripgrep-vwwhhmge.js → file-mutation-bew5cyq4.js} +32 -32
  113. package/dist/chunks/{ripgrep-hfmtk0wz.js → file-mutation-bzbtqdde.js} +1 -1
  114. package/dist/chunks/{ripgrep-dn383c3j.js → file-mutation-cbje66mk.js} +17 -17
  115. package/dist/chunks/{ripgrep-cfpkc3c9.js → file-mutation-cfpkc3c9.js} +2 -2
  116. package/dist/chunks/{ripgrep-pa8pe2x7.js → file-mutation-cmwkp3r5.js} +8 -8
  117. package/dist/chunks/{ripgrep-paz2y578.js → file-mutation-cpbpaj6d.js} +25 -25
  118. package/dist/chunks/file-mutation-ctefx7dc.js +18 -0
  119. package/dist/chunks/{ripgrep-kmh62sce.js → file-mutation-cvkwxbsz.js} +27 -27
  120. package/dist/chunks/{ripgrep-s3pw955p.js → file-mutation-cwe02ca0.js} +11 -11
  121. package/dist/chunks/{ripgrep-djszqvmq.js → file-mutation-d4he2qe1.js} +9 -9
  122. package/dist/chunks/{ripgrep-nkrzdj13.js → file-mutation-ddszz877.js} +5 -5
  123. package/dist/chunks/{ripgrep-818pfwc9.js → file-mutation-dhwr7h25.js} +11 -11
  124. package/dist/chunks/{ripgrep-c4k4dnr2.js → file-mutation-dm5eaebf.js} +40 -40
  125. package/dist/chunks/{ripgrep-5y91esw8.js → file-mutation-e1qag84x.js} +22 -22
  126. package/dist/chunks/file-mutation-e2h1d8z0.js +492 -0
  127. package/dist/chunks/{ripgrep-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{ripgrep-e3d6n7ca.js → file-mutation-e8qyrgb1.js} +15 -23
  129. package/dist/chunks/{ripgrep-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{ripgrep-k58mf6j0.js → file-mutation-emkv37r5.js} +17 -17
  131. package/dist/chunks/{ripgrep-erw5rpbs.js → file-mutation-erw5rpbs.js} +2 -2
  132. package/dist/chunks/{ripgrep-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{ripgrep-n0723yqh.js → file-mutation-ett7491z.js} +15 -15
  134. package/dist/chunks/{ripgrep-jh6yv6jp.js → file-mutation-eyrsk2wr.js} +19 -19
  135. package/dist/chunks/{ripgrep-2hb99qqb.js → file-mutation-f3fzf6ct.js} +30 -30
  136. package/dist/chunks/{ripgrep-n6mzjwwn.js → file-mutation-f4zk55g1.js} +10 -10
  137. package/dist/chunks/{ripgrep-f828m53h.js → file-mutation-f828m53h.js} +2 -2
  138. package/dist/chunks/{ripgrep-gmpw826m.js → file-mutation-fb10pz29.js} +23 -23
  139. package/dist/chunks/{ripgrep-n9yj8kwm.js → file-mutation-ff2d2r5m.js} +17 -17
  140. package/dist/chunks/{ripgrep-zdecw2c9.js → file-mutation-fjvq75r9.js} +30 -30
  141. package/dist/chunks/{ripgrep-19yyczty.js → file-mutation-fk7y4jkk.js} +11 -11
  142. package/dist/chunks/{ripgrep-r01j3116.js → file-mutation-fradymh3.js} +8 -8
  143. package/dist/chunks/{ripgrep-8cd4z6z0.js → file-mutation-ft2kdwr0.js} +40 -40
  144. package/dist/chunks/{ripgrep-bj0j6qyc.js → file-mutation-fvhrn3gk.js} +5 -5
  145. package/dist/chunks/{ripgrep-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{ripgrep-kjad9j46.js → file-mutation-fz059jzw.js} +3 -3
  147. package/dist/chunks/{ripgrep-cn9dh10h.js → file-mutation-fzw6vb94.js} +32 -32
  148. package/dist/chunks/{ripgrep-7qne91zt.js → file-mutation-g1q4s0jw.js} +23 -23
  149. package/dist/chunks/{ripgrep-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{ripgrep-fdbc3gda.js → file-mutation-gdaj5aat.js} +19 -19
  151. package/dist/chunks/{ripgrep-t45wd2f1.js → file-mutation-gdsttb99.js} +4 -4
  152. package/dist/chunks/{ripgrep-e1enepvt.js → file-mutation-ghfgp0c3.js} +28 -28
  153. package/dist/chunks/{ripgrep-y5hpfjhw.js → file-mutation-gpsxp3jx.js} +32 -32
  154. package/dist/chunks/{ripgrep-s64k6dbj.js → file-mutation-grdqhvxd.js} +25 -25
  155. package/dist/chunks/{ripgrep-gv6a8nnw.js → file-mutation-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{ripgrep-g9yyzkqa.js → file-mutation-h2g1afwd.js} +11 -11
  157. package/dist/chunks/{ripgrep-v60wn0qp.js → file-mutation-h2mtz7rf.js} +20 -20
  158. package/dist/chunks/{ripgrep-afed7ext.js → file-mutation-h53tpazp.js} +12 -12
  159. package/dist/chunks/{ripgrep-shh6fz4q.js → file-mutation-h6jr292a.js} +4 -4
  160. package/dist/chunks/{ripgrep-5mtzsd3b.js → file-mutation-h6r3nrb9.js} +4 -4
  161. package/dist/chunks/{ripgrep-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{ripgrep-t6msp11s.js → file-mutation-h7w9m21h.js} +6 -6
  163. package/dist/chunks/{ripgrep-3bqr18yv.js → file-mutation-hfbvy1sn.js} +16 -16
  164. package/dist/chunks/{ripgrep-yyf6wefc.js → file-mutation-hfdv8wax.js} +8 -8
  165. package/dist/chunks/{ripgrep-zvfnjsma.js → file-mutation-hk26yxvn.js} +12 -12
  166. package/dist/chunks/{ripgrep-zcyyg4pk.js → file-mutation-hm06wjfd.js} +96 -96
  167. package/dist/chunks/{ripgrep-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  168. package/dist/chunks/{ripgrep-pj7cm4a7.js → file-mutation-jb05x9cx.js} +60 -60
  169. package/dist/chunks/{ripgrep-hs2a3b3x.js → file-mutation-jh7y3ak4.js} +9 -9
  170. package/dist/chunks/{ripgrep-pg7x47cv.js → file-mutation-jp61ynmd.js} +20 -20
  171. package/dist/chunks/{ripgrep-ktznxcr1.js → file-mutation-jxt024yh.js} +22 -22
  172. package/dist/chunks/{ripgrep-hw4xfg24.js → file-mutation-jyzcxg5d.js} +17 -17
  173. package/dist/chunks/{ripgrep-0t9h8sys.js → file-mutation-k1grr621.js} +26 -26
  174. package/dist/chunks/{ripgrep-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
  175. package/dist/chunks/{ripgrep-kf7s4xja.js → file-mutation-kbgxh5wd.js} +11 -11
  176. package/dist/chunks/{ripgrep-xs8bgbnm.js → file-mutation-kdbxf4qp.js} +9 -9
  177. package/dist/chunks/{ripgrep-764fh7qq.js → file-mutation-khgmt31j.js} +18 -18
  178. package/dist/chunks/{ripgrep-pw9v3g6d.js → file-mutation-kjfdeayr.js} +8 -8
  179. package/dist/chunks/{ripgrep-zyvvry14.js → file-mutation-kkhsm4n5.js} +27 -27
  180. package/dist/chunks/{ripgrep-2k71kv7p.js → file-mutation-kkp8zx71.js} +4 -4
  181. package/dist/chunks/{ripgrep-rpg9c19m.js → file-mutation-kne8f3cn.js} +4 -4
  182. package/dist/chunks/{ripgrep-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{ripgrep-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{ripgrep-7amtwfv5.js → file-mutation-ma79mf5h.js} +26 -25
  185. package/dist/chunks/{ripgrep-hnstydcq.js → file-mutation-mfk1rbdv.js} +31 -31
  186. package/dist/chunks/{ripgrep-fw0n9c34.js → file-mutation-mgscsna9.js} +20 -20
  187. package/dist/chunks/{ripgrep-5bydv4zf.js → file-mutation-mn433rsw.js} +13 -13
  188. package/dist/chunks/{ripgrep-hc3z6ty8.js → file-mutation-mrhf43mr.js} +13 -13
  189. package/dist/chunks/{ripgrep-73tb2d7t.js → file-mutation-mvfsc1pv.js} +3 -3
  190. package/dist/chunks/{ripgrep-zcfzy7jy.js → file-mutation-mx4jkr8z.js} +9 -9
  191. package/dist/chunks/{ripgrep-d0k1g5nx.js → file-mutation-mx9vqzsb.js} +6 -6
  192. package/dist/chunks/{ripgrep-fkv3tvmb.js → file-mutation-mzrbxmyd.js} +11 -11
  193. package/dist/chunks/{ripgrep-2yxhe8rz.js → file-mutation-n0rcm67m.js} +22 -22
  194. package/dist/chunks/{ripgrep-0anfjktx.js → file-mutation-n22ydv4n.js} +11 -11
  195. package/dist/chunks/{ripgrep-47qmnyy5.js → file-mutation-nk6ab3nm.js} +16 -16
  196. package/dist/chunks/{ripgrep-5frpvc34.js → file-mutation-nng2ktcm.js} +2 -2
  197. package/dist/chunks/{ripgrep-ed4jhkrr.js → file-mutation-npnjm836.js} +11 -11
  198. package/dist/chunks/{ripgrep-mtjk0yh9.js → file-mutation-nxp2ndre.js} +2 -2
  199. package/dist/chunks/{ripgrep-p28j5sbe.js → file-mutation-p28j5sbe.js} +2 -2
  200. package/dist/chunks/{ripgrep-qmhk62hb.js → file-mutation-pdb8ga4w.js} +12 -12
  201. package/dist/chunks/{ripgrep-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{ripgrep-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  203. package/dist/chunks/{ripgrep-m2d0j7c0.js → file-mutation-pnv527nz.js} +9 -9
  204. package/dist/chunks/{ripgrep-aaj2p223.js → file-mutation-ptkbcdgn.js} +11 -11
  205. package/dist/chunks/{ripgrep-x7cxrgta.js → file-mutation-q26d77qc.js} +11 -11
  206. package/dist/chunks/{ripgrep-54pbzxnk.js → file-mutation-q58h1swb.js} +18 -18
  207. package/dist/chunks/{ripgrep-4nnddwb9.js → file-mutation-q5k1gk2r.js} +26 -26
  208. package/dist/chunks/{ripgrep-25bf7f5x.js → file-mutation-q643w91n.js} +5 -5
  209. package/dist/chunks/{ripgrep-tn3fb21q.js → file-mutation-q85fv5sm.js} +52 -52
  210. package/dist/chunks/{ripgrep-kt1f9n97.js → file-mutation-qjj0dw3c.js} +39 -39
  211. package/dist/chunks/{ripgrep-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  212. package/dist/chunks/{ripgrep-gb7ervf3.js → file-mutation-qz49fwgp.js} +6 -6
  213. package/dist/chunks/{ripgrep-x0p2edan.js → file-mutation-qz5dz7fn.js} +19 -19
  214. package/dist/chunks/{ripgrep-3cshwv8b.js → file-mutation-r1q2hccy.js} +19 -19
  215. package/dist/chunks/{ripgrep-dy30gtq0.js → file-mutation-r2h83j2n.js} +7 -7
  216. package/dist/chunks/{ripgrep-ggkags7h.js → file-mutation-r98d5qx5.js} +9 -9
  217. package/dist/chunks/{ripgrep-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{ripgrep-1zkdfxnx.js → file-mutation-rk9tjfwx.js} +14 -14
  219. package/dist/chunks/{ripgrep-wk5z6jzv.js → file-mutation-s1kvmffy.js} +9 -9
  220. package/dist/chunks/{ripgrep-yrznvahk.js → file-mutation-s4enseaf.js} +2 -2
  221. package/dist/chunks/{ripgrep-v4djrp1d.js → file-mutation-s8wea8bx.js} +16 -16
  222. package/dist/chunks/{ripgrep-9093ft31.js → file-mutation-sbydz4ep.js} +6 -6
  223. package/dist/chunks/{ripgrep-skqsy7ey.js → file-mutation-se8haf2r.js} +3 -3
  224. package/dist/chunks/{ripgrep-5vrw4q23.js → file-mutation-sm4ygxtf.js} +4 -4
  225. package/dist/chunks/{ripgrep-6n6txemt.js → file-mutation-szbjyn1k.js} +12 -12
  226. package/dist/chunks/{ripgrep-2mkxn96z.js → file-mutation-t9mj6jt2.js} +12 -12
  227. package/dist/chunks/{ripgrep-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{ripgrep-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
  229. package/dist/chunks/{ripgrep-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  230. package/dist/chunks/{ripgrep-z4swd48g.js → file-mutation-tf439zmr.js} +32 -32
  231. package/dist/chunks/{ripgrep-bf8atwev.js → file-mutation-tfthf431.js} +11 -11
  232. package/dist/chunks/{ripgrep-3bxd3j1q.js → file-mutation-tgkhkf8q.js} +8 -8
  233. package/dist/chunks/{ripgrep-3ntreqen.js → file-mutation-th6pfvs0.js} +31 -31
  234. package/dist/chunks/{ripgrep-gryp532t.js → file-mutation-tvs3qzmc.js} +30 -30
  235. package/dist/chunks/{ripgrep-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
  236. package/dist/chunks/{ripgrep-b0mp8gvf.js → file-mutation-tvzz1vvx.js} +35 -35
  237. package/dist/chunks/{ripgrep-7r38cm17.js → file-mutation-tz0rw111.js} +43 -43
  238. package/dist/chunks/{ripgrep-143me7bn.js → file-mutation-v3qe9rs0.js} +22 -22
  239. package/dist/chunks/{ripgrep-y2sxgdnx.js → file-mutation-v9spj19e.js} +23 -23
  240. package/dist/chunks/{ripgrep-xhd2r5mb.js → file-mutation-vackyeka.js} +10 -10
  241. package/dist/chunks/{ripgrep-j5a0rw3y.js → file-mutation-vb0h7fes.js} +33 -33
  242. package/dist/chunks/{ripgrep-pmr4s4kc.js → file-mutation-ve4pfa0n.js} +4 -4
  243. package/dist/chunks/{ripgrep-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  244. package/dist/chunks/{ripgrep-yyn6n238.js → file-mutation-vf8xkcyd.js} +13 -13
  245. package/dist/chunks/{ripgrep-6571xj0k.js → file-mutation-vfmrq4xs.js} +4 -4
  246. package/dist/chunks/{ripgrep-bajakh74.js → file-mutation-vkxpz7g2.js} +4 -4
  247. package/dist/chunks/{ripgrep-wreshrrc.js → file-mutation-vndk1130.js} +27 -27
  248. package/dist/chunks/{ripgrep-g190xswt.js → file-mutation-vsp1fds9.js} +21 -21
  249. package/dist/chunks/{ripgrep-b2kw7jbn.js → file-mutation-vvqa46qn.js} +32 -32
  250. package/dist/chunks/{ripgrep-dandedvx.js → file-mutation-vxfja19v.js} +3 -3
  251. package/dist/chunks/{ripgrep-wwajdw47.js → file-mutation-vynmvp9h.js} +9 -9
  252. package/dist/chunks/{ripgrep-rrvdcwb8.js → file-mutation-vyxtkag7.js} +36 -36
  253. package/dist/chunks/{ripgrep-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{ripgrep-6p659vat.js → file-mutation-w15v5k7j.js} +10 -10
  255. package/dist/chunks/file-mutation-w1v3sb82.js +252 -0
  256. package/dist/chunks/{ripgrep-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{ripgrep-pr3r74r8.js → file-mutation-w9jrmyp1.js} +24 -24
  258. package/dist/chunks/{ripgrep-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  259. package/dist/chunks/{ripgrep-1v1e6ee9.js → file-mutation-whtqb0a0.js} +33 -33
  260. package/dist/chunks/{ripgrep-jvbjhzb9.js → file-mutation-wqexvhqz.js} +1 -1
  261. package/dist/chunks/{ripgrep-fch79rh9.js → file-mutation-wy8b5sm2.js} +1 -1
  262. package/dist/chunks/{ripgrep-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{ripgrep-rp2wkk18.js → file-mutation-x2kz3kd9.js} +12 -12
  264. package/dist/chunks/{ripgrep-eatbj8ff.js → file-mutation-x2ncb56t.js} +24 -24
  265. package/dist/chunks/{ripgrep-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
  266. package/dist/chunks/{ripgrep-36nh78em.js → file-mutation-xnetyx8p.js} +11 -11
  267. package/dist/chunks/{ripgrep-55ep0f0m.js → file-mutation-xpjszw2w.js} +14 -14
  268. package/dist/chunks/{ripgrep-787j17s7.js → file-mutation-xw3aqcjm.js} +18 -18
  269. package/dist/chunks/{ripgrep-9gqm56s8.js → file-mutation-xyd70p3w.js} +17 -17
  270. package/dist/chunks/{ripgrep-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{ripgrep-y71avatq.js → file-mutation-y71avatq.js} +1 -1
  272. package/dist/chunks/{ripgrep-3262rvz8.js → file-mutation-y8gdy8xa.js} +11 -11
  273. package/dist/chunks/{ripgrep-d17v2seq.js → file-mutation-yd2f7xje.js} +22 -22
  274. package/dist/chunks/{ripgrep-vb972p95.js → file-mutation-ye41kewf.js} +17 -17
  275. package/dist/chunks/{ripgrep-p0xmwpxx.js → file-mutation-yjvamrjh.js} +15 -15
  276. package/dist/chunks/{ripgrep-19v4a8v1.js → file-mutation-ymnk3hjs.js} +26 -26
  277. package/dist/chunks/{ripgrep-f77kvyx9.js → file-mutation-ymw7bbdm.js} +9 -9
  278. package/dist/chunks/{ripgrep-yp2x3t23.js → file-mutation-yp2x3t23.js} +1 -1
  279. package/dist/chunks/{ripgrep-ycwh9915.js → file-mutation-yq432fpn.js} +27 -27
  280. package/dist/chunks/{ripgrep-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{ripgrep-9jbvj98d.js → file-mutation-yw8t9dwe.js} +8 -8
  282. package/dist/chunks/{ripgrep-1q4danzp.js → file-mutation-yxc72q6g.js} +17 -17
  283. package/dist/chunks/{ripgrep-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{ripgrep-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{ripgrep-zz1yydc9.js → file-mutation-zgr90j8v.js} +50 -50
  286. package/dist/chunks/{ripgrep-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{ripgrep-207ajt2h.js → file-mutation-zw4pk1bw.js} +5 -5
  288. package/dist/chunks/{ripgrep-y0mykrjf.js → file-mutation-zxfw9cda.js} +5 -5
  289. package/dist/chunks/{ripgrep-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{ripgrep-5bssef41.js → file-mutation-zzm21s8t.js} +10 -10
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +80 -80
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +125 -125
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +92 -92
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +224 -224
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +87 -87
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +88 -88
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +105 -105
  475. package/dist/mcp/instructions.js +125 -125
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +95 -95
  481. package/dist/model.js +99 -99
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +77 -77
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +110 -110
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +87 -87
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +91 -91
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +345 -345
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +89 -89
  562. package/dist/provider.js +98 -98
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +86 -86
  568. package/dist/reference.js +88 -88
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +81 -81
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +133 -133
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +223 -223
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +87 -87
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +219 -219
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +219 -219
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +107 -107
  632. package/dist/snapshot.js +90 -90
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +115 -115
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +102 -102
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +216 -216
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +107 -107
  649. package/dist/tool/plugin/websearch.js +113 -113
  650. package/dist/tool/plugin/write.js +115 -115
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +16 -16
  655. package/dist/types/tool.d.ts +3 -0
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +4 -4
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +7 -7
  676. package/dist/v1/config/plugin.js +1 -1
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +81 -81
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/ripgrep-0mesazry.js +0 -4
  698. package/dist/chunks/ripgrep-959fz07v.js +0 -26
  699. package/dist/chunks/ripgrep-bpc11pn8.js +0 -65
  700. package/dist/chunks/ripgrep-cgzmgrgv.js +0 -492
  701. package/dist/chunks/ripgrep-jyfacthb.js +0 -252
  702. package/dist/chunks/ripgrep-pf31ssb9.js +0 -18
  703. /package/dist/chunks/{ripgrep-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{ripgrep-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{ripgrep-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{ripgrep-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{ripgrep-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{ripgrep-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{ripgrep-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{ripgrep-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{ripgrep-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{ripgrep-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{ripgrep-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  714. /package/dist/chunks/{ripgrep-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{ripgrep-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{ripgrep-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{ripgrep-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{ripgrep-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{ripgrep-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{ripgrep-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{ripgrep-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  722. /package/dist/chunks/{ripgrep-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{ripgrep-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  724. /package/dist/chunks/{ripgrep-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{ripgrep-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{ripgrep-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  727. /package/dist/chunks/{ripgrep-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{ripgrep-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{ripgrep-922hggd3.js → file-mutation-922hggd3.js} +0 -0
  730. /package/dist/chunks/{ripgrep-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{ripgrep-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{ripgrep-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{ripgrep-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{ripgrep-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{ripgrep-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{ripgrep-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{ripgrep-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{ripgrep-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{ripgrep-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{ripgrep-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{ripgrep-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{ripgrep-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{ripgrep-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{ripgrep-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{ripgrep-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  746. /package/dist/chunks/{ripgrep-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{ripgrep-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{ripgrep-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{ripgrep-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{ripgrep-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{ripgrep-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{ripgrep-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{ripgrep-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{ripgrep-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{ripgrep-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{ripgrep-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{ripgrep-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{ripgrep-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  759. /package/dist/chunks/{ripgrep-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{ripgrep-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  761. /package/dist/chunks/{ripgrep-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{ripgrep-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  763. /package/dist/chunks/{ripgrep-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{ripgrep-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{ripgrep-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{ripgrep-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{ripgrep-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{ripgrep-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{ripgrep-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{ripgrep-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{ripgrep-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{ripgrep-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{ripgrep-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{ripgrep-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{ripgrep-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{ripgrep-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{ripgrep-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{ripgrep-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{ripgrep-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{ripgrep-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{ripgrep-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{ripgrep-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{ripgrep-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{ripgrep-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{ripgrep-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{ripgrep-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{ripgrep-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{ripgrep-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{ripgrep-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{ripgrep-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{ripgrep-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  792. /package/dist/chunks/{ripgrep-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{ripgrep-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{ripgrep-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{ripgrep-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{ripgrep-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{ripgrep-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID10,
3
- Service62
4
- } from "./ripgrep-ycwh9915.js";
2
+ ID9,
3
+ Service58
4
+ } from "./file-mutation-yq432fpn.js";
5
5
  import {
6
6
  Ref2,
7
- Service64
8
- } from "./ripgrep-j5a0rw3y.js";
7
+ Service74
8
+ } from "./file-mutation-vb0h7fes.js";
9
9
  import {
10
10
  latest2,
11
- Service42
12
- } from "./ripgrep-axvqvry5.js";
11
+ Service62
12
+ } from "./file-mutation-an8v9wk2.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./ripgrep-8q7cq0y1.js";
15
+ } from "./file-mutation-7w99qc9d.js";
16
16
  import {
17
- Service56
18
- } from "./ripgrep-hw4xfg24.js";
17
+ Service67
18
+ } from "./file-mutation-jyzcxg5d.js";
19
19
  import {
20
20
  evaluate2,
21
- Service59
22
- } from "./ripgrep-zz1yydc9.js";
21
+ Service55
22
+ } from "./file-mutation-zgr90j8v.js";
23
23
  import {
24
- Service20
25
- } from "./ripgrep-zcyyg4pk.js";
24
+ Service29
25
+ } from "./file-mutation-hm06wjfd.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./ripgrep-x1ezjp6w.js";
28
+ } from "./file-mutation-x1ezjp6w.js";
29
29
  import {
30
- make9
31
- } from "./ripgrep-kqcs6pzm.js";
30
+ make5
31
+ } from "./file-mutation-5ft7ers2.js";
32
32
  import {
33
33
  __export
34
- } from "./ripgrep-9rqn6x4v.js";
34
+ } from "./file-mutation-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input11,
40
- Output: () => Output7,
41
- Plugin: () => Plugin46,
39
+ Input: () => Input7,
40
+ Output: () => Output6,
41
+ Plugin: () => Plugin8,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name11
43
+ description: () => description4,
44
+ name: () => name7
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Schema } from "effect";
48
- var name11 = "subagent";
48
+ var name7 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input11 = Schema.Struct({
59
+ var Input7 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output7 = Schema.Struct({
75
+ var Output6 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description4 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin46 = {
89
+ var Plugin8 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service20;
93
- const jobs = yield* Service56;
94
- const agents = yield* Service62;
95
- const config = yield* Service42;
96
- const permission = yield* Service59;
97
- const models = yield* Service64;
98
- const subagents = yield* make9;
92
+ const sessions = yield* Service29;
93
+ const jobs = yield* Service67;
94
+ const agents = yield* Service58;
95
+ const config = yield* Service62;
96
+ const permission = yield* Service55;
97
+ const models = yield* Service74;
98
+ const subagents = yield* make5;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin46 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name11,
118
+ name: name7,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input11,
122
- output: Output7,
120
+ description: description4,
121
+ input: Input7,
122
+ output: Output6,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin46 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name11,
142
+ action: name7,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin46 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID10.make(input.agent),
171
+ agent: ID9.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,13 +218,13 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  const hook = (event) => Effect.gen(function* () {
221
- const tool = event.tools[name11];
221
+ const tool = event.tools[name7];
222
222
  if (!tool)
223
223
  return;
224
224
  const selected = yield* agents.resolve(event.agent);
225
225
  if (!selected)
226
226
  return;
227
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
227
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
228
228
  if (available.length === 0)
229
229
  return;
230
230
  tool.description = [
@@ -241,4 +241,4 @@ ${output.output}
241
241
  })
242
242
  };
243
243
 
244
- export { name11, Input11, Output7, description5, Plugin46, exports_subagent };
244
+ export { name7, Input7, Output6, description4, Plugin8, exports_subagent };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./file-mutation-922hggd3.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./ripgrep-afed7ext.js";
5
+ Service78,
6
+ node82
7
+ } from "./file-mutation-h53tpazp.js";
8
8
  import {
9
9
  parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./ripgrep-6h73sxmp.js";
13
+ } from "./file-mutation-6h73sxmp.js";
14
14
  import {
15
- Service81,
16
- node85
17
- } from "./ripgrep-5bssef41.js";
15
+ Service73,
16
+ node76
17
+ } from "./file-mutation-zzm21s8t.js";
18
18
  import {
19
19
  __export
20
- } from "./ripgrep-9rqn6x4v.js";
20
+ } from "./file-mutation-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service80,
33
+ Service: () => Service53,
34
34
  isError: () => isError2,
35
- node: () => node84,
35
+ node: () => node55,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service80 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service53 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service80, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service82;
106
+ const git = yield* Service78;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service81;
110
- return Service80.of({
109
+ const kv = yield* Service73;
110
+ return Service53.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node84 = makeGlobalNode({
171
- service: Service80,
170
+ var node55 = makeGlobalNode({
171
+ service: Service53,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node85]
173
+ deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node76]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service80, isError2, validateBranch2, node84, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service53, isError2, validateBranch2, node55, exports_repository_cache };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./ripgrep-2a5m3afh.js";
5
+ } from "./file-mutation-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./ripgrep-9rqn6x4v.js";
8
+ } from "./file-mutation-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service37
3
- } from "./ripgrep-8srhhjp8.js";
2
+ Service49
3
+ } from "./file-mutation-7ehb06f5.js";
4
4
  import {
5
- Service54
6
- } from "./ripgrep-d0k1g5nx.js";
5
+ Service45
6
+ } from "./file-mutation-mx9vqzsb.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./ripgrep-pf31ssb9.js";
9
+ } from "./file-mutation-ctefx7dc.js";
10
10
  import {
11
11
  __export
12
- } from "./ripgrep-9rqn6x4v.js";
12
+ } from "./file-mutation-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service54;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
22
+ const instances = yield* Service45;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./ripgrep-922hggd3.js";
4
+ } from "./file-mutation-922hggd3.js";
5
5
  import {
6
- Info16
7
- } from "./ripgrep-g190xswt.js";
6
+ Info20
7
+ } from "./file-mutation-vsp1fds9.js";
8
8
  import {
9
- Info15
10
- } from "./ripgrep-818pfwc9.js";
9
+ Info19
10
+ } from "./file-mutation-dhwr7h25.js";
11
11
  import {
12
- Info10
13
- } from "./ripgrep-37s12vcn.js";
12
+ Info22
13
+ } from "./file-mutation-ag9w8cw1.js";
14
14
  import {
15
- Info11
16
- } from "./ripgrep-ryr25ayn.js";
15
+ Info21
16
+ } from "./file-mutation-806j49yq.js";
17
17
  import {
18
- Info18
19
- } from "./ripgrep-0z8vjex2.js";
18
+ Info15
19
+ } from "./file-mutation-bdqrk2vk.js";
20
20
  import {
21
21
  Layout2
22
- } from "./ripgrep-21r38tys.js";
22
+ } from "./file-mutation-21r38tys.js";
23
23
  import {
24
- Info17
25
- } from "./ripgrep-gb7ervf3.js";
24
+ Info23
25
+ } from "./file-mutation-qz49fwgp.js";
26
26
  import {
27
- Info12
28
- } from "./ripgrep-hkfg6fzm.js";
27
+ Info16
28
+ } from "./file-mutation-af04s6ss.js";
29
29
  import {
30
30
  Spec2
31
- } from "./ripgrep-7dqw4kz8.js";
31
+ } from "./file-mutation-7dqw4kz8.js";
32
32
  import {
33
- Info14
34
- } from "./ripgrep-0r7yqxbf.js";
33
+ Info17
34
+ } from "./file-mutation-510m7gjw.js";
35
35
  import {
36
36
  Server2
37
- } from "./ripgrep-zeh9ct20.js";
37
+ } from "./file-mutation-zeh9ct20.js";
38
38
  import {
39
- Info13
40
- } from "./ripgrep-pmr4s4kc.js";
39
+ Info18
40
+ } from "./file-mutation-ve4pfa0n.js";
41
41
  import {
42
42
  __export
43
- } from "./ripgrep-9rqn6x4v.js";
43
+ } from "./file-mutation-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info9,
49
+ Info: () => Info14,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info9 = Schema.Struct({
62
+ var Info14 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info9 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info21)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info13).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info18).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,33 +113,33 @@ var Info9 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info15), plan: Schema.optional(Info15) }), [Schema.Record(Schema.String, Info15)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info19), plan: Schema.optional(Info19) }), [Schema.Record(Schema.String, Info19)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info15),
119
- build: Schema.optional(Info15),
120
- general: Schema.optional(Info15),
121
- explore: Schema.optional(Info15),
122
- title: Schema.optional(Info15),
123
- summary: Schema.optional(Info15),
124
- compaction: Schema.optional(Info15)
125
- }), [Schema.Record(Schema.String, Info15)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
118
+ plan: Schema.optional(Info19),
119
+ build: Schema.optional(Info19),
120
+ general: Schema.optional(Info19),
121
+ explore: Schema.optional(Info19),
122
+ title: Schema.optional(Info19),
123
+ summary: Schema.optional(Info19),
124
+ compaction: Schema.optional(Info19)
125
+ }), [Schema.Record(Schema.String, Info19)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info17)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info12, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info18).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info16, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info15).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info17).annotate({
133
+ lsp: Schema.optional(Info23).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info16),
140
+ permission: Schema.optional(Info20),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info10).annotate({
142
+ attachment: Schema.optional(Info22).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info9, exports_config2 };
194
+ export { WellKnown2, Info14, exports_config2 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./ripgrep-2a5m3afh.js";
3
+ } from "./file-mutation-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./ripgrep-922hggd3.js";
6
+ } from "./file-mutation-922hggd3.js";
7
7
  import {
8
- Service77
9
- } from "./ripgrep-k58mf6j0.js";
8
+ Service76
9
+ } from "./file-mutation-emkv37r5.js";
10
10
  import {
11
- Service72
12
- } from "./ripgrep-pr3r74r8.js";
11
+ Service68
12
+ } from "./file-mutation-w9jrmyp1.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service71
16
- } from "./ripgrep-764fh7qq.js";
15
+ Service24
16
+ } from "./file-mutation-khgmt31j.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry4,
21
+ Entry2,
22
22
  Match2
23
- } from "./ripgrep-b2kw7jbn.js";
23
+ } from "./file-mutation-vvqa46qn.js";
24
24
  import {
25
- Service59
26
- } from "./ripgrep-zz1yydc9.js";
25
+ Service55
26
+ } from "./file-mutation-zgr90j8v.js";
27
27
  import {
28
- Service47
29
- } from "./ripgrep-54pbzxnk.js";
28
+ Service21
29
+ } from "./file-mutation-q58h1swb.js";
30
30
  import {
31
31
  __export
32
- } from "./ripgrep-9rqn6x4v.js";
32
+ } from "./file-mutation-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input12,
39
- Output: () => Output8,
40
- Plugin: () => Plugin47,
41
- name: () => name12,
42
- toModelContent: () => toModelContent6
38
+ Input: () => Input9,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin11,
41
+ name: () => name9,
42
+ toModelContent: () => toModelContent4
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name12 = "grep";
48
- var Input12 = Schema.Struct({
47
+ var name9 = "grep";
48
+ var Input9 = 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 Input12 = 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 Output7 = Schema.Array(Match2);
69
+ var toModelContent4 = (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 Plugin47 = {
86
+ var Plugin11 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service72;
90
- const ripgrep = yield* Service71;
91
- const location = yield* Service77;
92
- const access = yield* Service47;
93
- const permission = yield* Service59;
89
+ const environment = yield* Service68;
90
+ const ripgrep = yield* Service24;
91
+ const location = yield* Service76;
92
+ const access = yield* Service21;
93
+ const permission = yield* Service55;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name12,
95
+ name: name9,
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: Input12,
99
- output: Output8,
98
+ input: Input9,
99
+ output: Output7,
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: name12,
105
+ action: name9,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin47 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry4.make({
139
+ entry: Entry2.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin47 = {
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: toModelContent4(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 Plugin47 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name12, Input12, Output8, toModelContent6, Plugin47, exports_grep };
157
+ export { name9, Input9, Output7, toModelContent4, Plugin11, exports_grep };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./ripgrep-fkv3tvmb.js";
3
+ } from "./file-mutation-mzrbxmyd.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin5,
11
+ Plugin: () => Plugin39,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint2 = "https://api.tavily.com/search";
18
+ var endpoint5 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin5 = define({
32
+ var Plugin39 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin5 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin5 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin5, exports_tavily };
80
+ export { endpoint5, Plugin39, exports_tavily };