@opencode/core 0.0.0-dev-20402 → 0.0.0-dev-20409

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-retention-na8089pj.js → shell-09vtkvs2.js} +8 -8
  8. package/dist/chunks/{file-retention-26wtd377.js → shell-0h1hke09.js} +19 -19
  9. package/dist/chunks/{file-retention-0ydfd3tt.js → shell-0mfvdt8p.js} +11 -11
  10. package/dist/chunks/{file-retention-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{file-retention-ae141jqd.js → shell-0w0ygeyh.js} +15 -15
  12. package/dist/chunks/{file-retention-hphkqdz5.js → shell-11040j7v.js} +20 -20
  13. package/dist/chunks/{file-retention-ztwp6n71.js → shell-1310s4tm.js} +5 -5
  14. package/dist/chunks/{file-retention-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{file-retention-tnnwyf4v.js → shell-1w0b4a26.js} +13 -13
  16. package/dist/chunks/{file-retention-21r38tys.js → shell-21r38tys.js} +1 -1
  17. package/dist/chunks/{file-retention-kbq17jxs.js → shell-242bp3ky.js} +14 -14
  18. package/dist/chunks/{file-retention-x2gkbbe6.js → shell-296c8m1w.js} +5 -5
  19. package/dist/chunks/{file-retention-z63w68vq.js → shell-29x78va6.js} +6 -6
  20. package/dist/chunks/shell-29yjt9fr.js +507 -0
  21. package/dist/chunks/{file-retention-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  22. package/dist/chunks/{file-retention-w3bcvcpc.js → shell-2ccbzhav.js} +10 -10
  23. package/dist/chunks/{file-retention-s16mhmbj.js → shell-2cfbypp4.js} +4 -4
  24. package/dist/chunks/{file-retention-p0b4ytnr.js → shell-2d57kztd.js} +6 -6
  25. package/dist/chunks/{file-retention-x2t18wqz.js → shell-2etfsxvf.js} +8 -8
  26. package/dist/chunks/{file-retention-57ez7d0k.js → shell-2fgn2we9.js} +9 -9
  27. package/dist/chunks/{file-retention-en6tpsg7.js → shell-2j558fvx.js} +7 -7
  28. package/dist/chunks/{file-retention-7dqw4kz8.js → shell-2k8khapm.js} +5 -5
  29. package/dist/chunks/{file-retention-pgk2xcsw.js → shell-2ypncbw6.js} +55 -55
  30. package/dist/chunks/{file-retention-5ar0959a.js → shell-2zbxyrg1.js} +11 -11
  31. package/dist/chunks/{file-retention-a7bcxdzj.js → shell-3b9qt4hj.js} +9 -9
  32. package/dist/chunks/{file-retention-f36tabf2.js → shell-3czaqwkp.js} +6 -6
  33. package/dist/chunks/{file-retention-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{file-retention-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{file-retention-pb1eahw5.js → shell-3k0nn0ne.js} +11 -11
  36. package/dist/chunks/{file-retention-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{file-retention-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{file-retention-2f0bjgcj.js → shell-3w0fmcng.js} +5 -5
  39. package/dist/chunks/{file-retention-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{file-retention-rd456c9t.js → shell-4238gvvk.js} +24 -24
  41. package/dist/chunks/{file-retention-hyd4csjw.js → shell-43y38rzh.js} +11 -11
  42. package/dist/chunks/{file-retention-p8g5gece.js → shell-461tr88a.js} +8 -8
  43. package/dist/chunks/{file-retention-gp2fw5da.js → shell-46w5102t.js} +10 -10
  44. package/dist/chunks/{file-retention-6r9q50nc.js → shell-48m56tyw.js} +13 -13
  45. package/dist/chunks/{file-retention-30846h32.js → shell-4e8vs6eh.js} +8 -8
  46. package/dist/chunks/{file-retention-gqbx8pvk.js → shell-4j10ng35.js} +11 -11
  47. package/dist/chunks/{file-retention-54ma36ye.js → shell-54ma36ye.js} +1 -1
  48. package/dist/chunks/{file-retention-4wct8n2q.js → shell-55pt171s.js} +7 -7
  49. package/dist/chunks/{file-retention-56gdpj1q.js → shell-56gdpj1q.js} +2 -2
  50. package/dist/chunks/{file-retention-frt7t1he.js → shell-5785y2ep.js} +22 -22
  51. package/dist/chunks/{file-retention-23vhgpjn.js → shell-57spbz54.js} +46 -46
  52. package/dist/chunks/{file-retention-yebp4zhw.js → shell-59wg76sz.js} +3 -3
  53. package/dist/chunks/{file-retention-5daktx2q.js → shell-5daktx2q.js} +1 -1
  54. package/dist/chunks/{file-retention-rjkh2wef.js → shell-5h3x3awa.js} +3 -3
  55. package/dist/chunks/{file-retention-b34228va.js → shell-5mfsnars.js} +21 -21
  56. package/dist/chunks/{file-retention-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{file-retention-dhfqkfjw.js → shell-5w2qze6g.js} +25 -25
  58. package/dist/chunks/{file-retention-5xpznt2d.js → shell-5xpznt2d.js} +4 -4
  59. package/dist/chunks/shell-619r8v3y.js +18 -0
  60. package/dist/chunks/{file-retention-669tq793.js → shell-669tq793.js} +1 -1
  61. package/dist/chunks/{file-retention-7w99qc9d.js → shell-6bsje7ws.js} +3 -3
  62. package/dist/chunks/{file-retention-n3sb98w8.js → shell-6hbwvpvg.js} +25 -25
  63. package/dist/chunks/{file-retention-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{file-retention-7qkbk131.js → shell-6pwzktg7.js} +11 -11
  65. package/dist/chunks/{file-retention-4ygabsyh.js → shell-6rpwy5mc.js} +33 -33
  66. package/dist/chunks/{file-retention-v1c9ckpm.js → shell-6wsfawph.js} +12 -12
  67. package/dist/chunks/{file-retention-rjreqr61.js → shell-6z7hmy4t.js} +19 -19
  68. package/dist/chunks/{file-retention-3aw7vgta.js → shell-6zck5j37.js} +19 -19
  69. package/dist/chunks/{file-retention-0mc7b5yt.js → shell-77bqxzzx.js} +32 -32
  70. package/dist/chunks/{file-retention-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{file-retention-53ms7kcc.js → shell-7jq0yyyf.js} +25 -25
  72. package/dist/chunks/{file-retention-qvb3nf84.js → shell-7rwqf82v.js} +8 -8
  73. package/dist/chunks/{file-retention-9965yrjj.js → shell-7s9404gx.js} +26 -26
  74. package/dist/chunks/{file-retention-rfkk6xr1.js → shell-7v930722.js} +21 -21
  75. package/dist/chunks/{file-retention-xj3m6db3.js → shell-7vvv5wyx.js} +11 -11
  76. package/dist/chunks/{file-retention-exx9ekpx.js → shell-7wyjaxt5.js} +11 -11
  77. package/dist/chunks/{file-retention-8fm7fx0h.js → shell-80yzywcg.js} +1 -1
  78. package/dist/chunks/{file-retention-84txncab.js → shell-84txncab.js} +1 -1
  79. package/dist/chunks/{file-retention-0y9112s8.js → shell-8558arf1.js} +17 -17
  80. package/dist/chunks/{file-retention-w1ym612x.js → shell-8805xwn4.js} +1 -1
  81. package/dist/chunks/{file-retention-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{file-retention-pvx6jnbt.js → shell-8dwbst7y.js} +13 -13
  83. package/dist/chunks/{file-retention-qj12mzv5.js → shell-90nab8ev.js} +12 -12
  84. package/dist/chunks/{file-retention-94ek1h2f.js → shell-94ek1h2f.js} +2 -2
  85. package/dist/chunks/{file-retention-6x3ncgzs.js → shell-9qeb1hh1.js} +48 -48
  86. package/dist/chunks/{file-retention-6hh8tjw2.js → shell-a46v4e4v.js} +4 -4
  87. package/dist/chunks/{file-retention-914z0d4t.js → shell-a68erk2e.js} +7 -7
  88. package/dist/chunks/{file-retention-0by5znvt.js → shell-a9fh1xd3.js} +3 -3
  89. package/dist/chunks/{file-retention-aaet6srn.js → shell-aaet6srn.js} +2 -2
  90. package/dist/chunks/{file-retention-c651xxjb.js → shell-afjydgk3.js} +4 -4
  91. package/dist/chunks/{file-retention-08cyycf1.js → shell-ahg1zghw.js} +6 -6
  92. package/dist/chunks/{file-retention-z5s5xvpn.js → shell-ap9eas8m.js} +16 -16
  93. package/dist/chunks/{file-retention-tzhaj3et.js → shell-aqmh106j.js} +6 -6
  94. package/dist/chunks/{file-retention-af04s6ss.js → shell-avm8jn6n.js} +5 -5
  95. package/dist/chunks/{file-retention-h4z1mxff.js → shell-axs6pdy0.js} +5 -5
  96. package/dist/chunks/{file-retention-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  97. package/dist/chunks/{file-retention-cgsggtpg.js → shell-b9x5zb31.js} +80 -80
  98. package/dist/chunks/{file-retention-rsper1ey.js → shell-bbg4461y.js} +37 -37
  99. package/dist/chunks/{file-retention-y042j87z.js → shell-bbt4s1em.js} +26 -26
  100. package/dist/chunks/{file-retention-dfe8djrf.js → shell-bct739vz.js} +4 -4
  101. package/dist/chunks/{file-retention-2q4jbtx6.js → shell-bcx2a56x.js} +18 -18
  102. package/dist/chunks/{file-retention-2qr48v8r.js → shell-bkwfsa8d.js} +6 -6
  103. package/dist/chunks/{file-retention-jqryekp8.js → shell-bms65qjn.js} +15 -15
  104. package/dist/chunks/{file-retention-hkw967g2.js → shell-bpnn7hyv.js} +11 -11
  105. package/dist/chunks/{file-retention-73880a7e.js → shell-br5b6q5k.js} +9 -9
  106. package/dist/chunks/{file-retention-h0ddtxn3.js → shell-bweaxm80.js} +67 -67
  107. package/dist/chunks/{file-retention-07ehc897.js → shell-bybgwcct.js} +23 -23
  108. package/dist/chunks/{file-retention-h67bwh8a.js → shell-c13z7sy5.js} +33 -33
  109. package/dist/chunks/{file-retention-ba15hegp.js → shell-chrxq3ex.js} +7 -7
  110. package/dist/chunks/{file-retention-ckecvw8r.js → shell-ckecvw8r.js} +2 -2
  111. package/dist/chunks/{file-retention-k9xjptez.js → shell-cpbwv1ps.js} +22 -22
  112. package/dist/chunks/{file-retention-5sm82are.js → shell-cr81t2vd.js} +6 -6
  113. package/dist/chunks/shell-d1z9x6fa.js +252 -0
  114. package/dist/chunks/{file-retention-bah76z4e.js → shell-dcfyjk12.js} +21 -21
  115. package/dist/chunks/{file-retention-hwhbafy2.js → shell-dezcy0y7.js} +15 -15
  116. package/dist/chunks/{file-retention-mt193r2g.js → shell-dgt8mkj3.js} +29 -29
  117. package/dist/chunks/{file-retention-gztggq6p.js → shell-dhdpfhyp.js} +8 -8
  118. package/dist/chunks/{file-retention-nxy4r4q2.js → shell-dm6v0cnj.js} +45 -45
  119. package/dist/chunks/{file-retention-dmqcgk4z.js → shell-dmqcgk4z.js} +2 -2
  120. package/dist/chunks/{file-retention-m2d0j7c0.js → shell-dnszgtsj.js} +9 -9
  121. package/dist/chunks/{file-retention-dnxkq42g.js → shell-dnxkq42g.js} +1 -1
  122. package/dist/chunks/{file-retention-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
  123. package/dist/chunks/{file-retention-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{file-retention-5178wfd8.js → shell-em9qgwr1.js} +31 -31
  125. package/dist/chunks/{file-retention-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{file-retention-1h6fgt3y.js → shell-f6z1vvb1.js} +6 -6
  127. package/dist/chunks/{file-retention-tjhbrvq4.js → shell-f7jve23h.js} +13 -13
  128. package/dist/chunks/{file-retention-rsrs7t03.js → shell-faan1wk1.js} +4 -4
  129. package/dist/chunks/{file-retention-ftjf86m5.js → shell-fd636bra.js} +9 -9
  130. package/dist/chunks/{file-retention-9zmzhm3z.js → shell-fe5bw3z3.js} +5 -5
  131. package/dist/chunks/{file-retention-8ryk0bb9.js → shell-fepbnb8j.js} +5 -5
  132. package/dist/chunks/{file-retention-nng2ktcm.js → shell-ff0svapt.js} +2 -2
  133. package/dist/chunks/{file-retention-v2yybn63.js → shell-ffybh0wk.js} +3 -3
  134. package/dist/chunks/{file-retention-5xychhr1.js → shell-fh0zj1e1.js} +31 -31
  135. package/dist/chunks/{file-retention-jjctv81n.js → shell-fn2vqynn.js} +18 -18
  136. package/dist/chunks/{file-retention-3m0ax14b.js → shell-fpkrmtmw.js} +21 -21
  137. package/dist/chunks/{file-retention-d4he2qe1.js → shell-g6q9qykm.js} +9 -9
  138. package/dist/chunks/{file-retention-q4qpptcn.js → shell-gahyzsq3.js} +20 -20
  139. package/dist/chunks/{file-retention-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{file-retention-y3yyngt1.js → shell-gna9hx4h.js} +15 -15
  141. package/dist/chunks/{file-retention-f5gy8qwh.js → shell-gs4tkc79.js} +8 -8
  142. package/dist/chunks/{file-retention-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  143. package/dist/chunks/{file-retention-8wshxwa8.js → shell-gyae47ky.js} +24 -24
  144. package/dist/chunks/{file-retention-kjwwdp92.js → shell-gyz7ndzc.js} +36 -36
  145. package/dist/chunks/{file-retention-b0a6mgz0.js → shell-h3j6n5en.js} +2 -2
  146. package/dist/chunks/{file-retention-70e78xk1.js → shell-h5r4kkc1.js} +2 -2
  147. package/dist/chunks/{file-retention-h6b02349.js → shell-h6b02349.js} +2 -2
  148. package/dist/chunks/{file-retention-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{file-retention-1s8bbjk0.js → shell-h6wkafze.js} +21 -21
  150. package/dist/chunks/{file-retention-3a9d28fc.js → shell-h7k6fa17.js} +18 -18
  151. package/dist/chunks/{file-retention-4j4tgtq5.js → shell-h9wp8z5w.js} +4 -4
  152. package/dist/chunks/{file-retention-pyhnah5r.js → shell-hfkmhm74.js} +22 -22
  153. package/dist/chunks/{file-retention-t5nr2mq2.js → shell-hn5cnzw3.js} +11 -11
  154. package/dist/chunks/{file-retention-znjk7567.js → shell-hrxnr7fv.js} +13 -13
  155. package/dist/chunks/{file-retention-mm5kxf07.js → shell-hz84tk5e.js} +8 -8
  156. package/dist/chunks/{file-retention-1v17rnrm.js → shell-hztfeys8.js} +34 -34
  157. package/dist/chunks/{file-retention-j56e64zr.js → shell-j56e64zr.js} +1 -1
  158. package/dist/chunks/{file-retention-car3yqh5.js → shell-j81vay8t.js} +4 -4
  159. package/dist/chunks/{file-retention-dk1ph2hs.js → shell-je2nd8qy.js} +9 -9
  160. package/dist/chunks/{file-retention-hyt73fgk.js → shell-jen49w49.js} +19 -19
  161. package/dist/chunks/{file-retention-0jy993ce.js → shell-jhtb5f97.js} +35 -35
  162. package/dist/chunks/{file-retention-azw3908z.js → shell-jqhg1hxk.js} +14 -14
  163. package/dist/chunks/{file-retention-tckasdr8.js → shell-jt8t0ecz.js} +22 -22
  164. package/dist/chunks/{file-retention-bjc78pkx.js → shell-k01n324r.js} +3 -3
  165. package/dist/chunks/{file-retention-5hd43tkx.js → shell-k0v2pnh2.js} +30 -30
  166. package/dist/chunks/{file-retention-k3c624dm.js → shell-k3c624dm.js} +3 -3
  167. package/dist/chunks/{file-retention-hznfsya8.js → shell-k8csyqq2.js} +18 -18
  168. package/dist/chunks/{file-retention-g9jwfn6x.js → shell-k93zhc7s.js} +11 -11
  169. package/dist/chunks/{file-retention-b6c8hgaq.js → shell-kbww7b3v.js} +7 -7
  170. package/dist/chunks/{file-retention-m12j2t06.js → shell-kc9hs6v2.js} +14 -14
  171. package/dist/chunks/{file-retention-g2jqna9d.js → shell-kkg080jf.js} +28 -28
  172. package/dist/chunks/{file-retention-er0xdfmw.js → shell-kmhtm0eh.js} +43 -43
  173. package/dist/chunks/{file-retention-y5rf7nzv.js → shell-knevfgda.js} +4 -4
  174. package/dist/chunks/{file-retention-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{file-retention-m58kmhef.js → shell-m58kmhef.js} +2 -2
  176. package/dist/chunks/{file-retention-16b29q1p.js → shell-m90ew7f1.js} +6 -6
  177. package/dist/chunks/{file-retention-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{file-retention-92nsqna1.js → shell-mej20m9j.js} +1 -1
  179. package/dist/chunks/{file-retention-382s30hz.js → shell-mgpyxjx6.js} +11 -11
  180. package/dist/chunks/{file-retention-ptg1zr2n.js → shell-mssx8eq3.js} +10 -10
  181. package/dist/chunks/{file-retention-r5x6zcsm.js → shell-mvfsc1pv.js} +3 -3
  182. package/dist/chunks/{file-retention-4pk7p1z9.js → shell-n3v0wvct.js} +17 -17
  183. package/dist/chunks/{file-retention-tc5he9wg.js → shell-n56h5hy7.js} +43 -43
  184. package/dist/chunks/{file-retention-32ymn5e1.js → shell-n9gk7fk1.js} +9 -9
  185. package/dist/chunks/{file-retention-a8ymkhm3.js → shell-nfmhh18x.js} +12 -12
  186. package/dist/chunks/{file-retention-ndc9tmhz.js → shell-nrscgsz0.js} +26 -26
  187. package/dist/chunks/{file-retention-a2w2trrv.js → shell-nxdbpavb.js} +29 -29
  188. package/dist/chunks/{file-retention-z8bdrrqs.js → shell-nxhmsv4t.js} +144 -144
  189. package/dist/chunks/{file-retention-nxm207yx.js → shell-nxm207yx.js} +1 -1
  190. package/dist/chunks/{file-retention-xf1sebn0.js → shell-p08d8mdw.js} +11 -11
  191. package/dist/chunks/{file-retention-vyr41dye.js → shell-p18fzj7h.js} +24 -24
  192. package/dist/chunks/{file-retention-qn4ba14w.js → shell-p1nm93x7.js} +5 -5
  193. package/dist/chunks/{file-retention-phstrbs2.js → shell-p42hj8p8.js} +8 -8
  194. package/dist/chunks/{file-retention-hv3sa1e0.js → shell-pcwxzhdm.js} +11 -11
  195. package/dist/chunks/{file-retention-epdvd4ev.js → shell-ph6a0m52.js} +2 -2
  196. package/dist/chunks/{file-retention-e75wa3q3.js → shell-pj97z4ma.js} +14 -14
  197. package/dist/chunks/{file-retention-76tq4jpv.js → shell-pjbr20qj.js} +47 -47
  198. package/dist/chunks/{file-retention-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{file-retention-ycgx5mwh.js → shell-pk5ddt9p.js} +14 -14
  200. package/dist/chunks/{file-retention-pknna89w.js → shell-pknna89w.js} +1 -1
  201. package/dist/chunks/{file-retention-wycphyd6.js → shell-ppkbx4yt.js} +27 -27
  202. package/dist/chunks/{file-retention-4q7jz6f3.js → shell-ppsqsh87.js} +41 -41
  203. package/dist/chunks/{file-retention-d0xdxexk.js → shell-pqyb1j4v.js} +32 -32
  204. package/dist/chunks/{file-retention-kp34pf0p.js → shell-psa9hm71.js} +9 -9
  205. package/dist/chunks/{file-retention-efkdte57.js → shell-pstb62p2.js} +14 -14
  206. package/dist/chunks/{file-retention-8sze2n9a.js → shell-py3kkmfq.js} +6 -6
  207. package/dist/chunks/{file-retention-68dcddmz.js → shell-q3ersh05.js} +4 -4
  208. package/dist/chunks/{file-retention-cw1stz9h.js → shell-q47e89a1.js} +17 -17
  209. package/dist/chunks/{file-retention-4xykdr3j.js → shell-q5z6qrs5.js} +8 -8
  210. package/dist/chunks/{file-retention-8g4srgx8.js → shell-qfkr4h51.js} +32 -32
  211. package/dist/chunks/{file-retention-9cvt8pvp.js → shell-qpe8tk8s.js} +21 -21
  212. package/dist/chunks/{file-retention-bscb95cy.js → shell-qq8x5mwt.js} +6 -6
  213. package/dist/chunks/{file-retention-7q81yew2.js → shell-qrtps7c6.js} +12 -12
  214. package/dist/chunks/{file-retention-qsdy395h.js → shell-qsdy395h.js} +1 -1
  215. package/dist/chunks/{file-retention-jdcs44sz.js → shell-qstbhtjy.js} +15 -15
  216. package/dist/chunks/{file-retention-f1mm0mp4.js → shell-qwe53qqr.js} +16 -16
  217. package/dist/chunks/{file-retention-pfvbrrxt.js → shell-qzwd4pkf.js} +13 -13
  218. package/dist/chunks/{file-retention-96kfm23h.js → shell-r19vg6ms.js} +11 -11
  219. package/dist/chunks/{file-retention-cx4jqw99.js → shell-r6127srf.js} +3 -3
  220. package/dist/chunks/{file-retention-1acjjqhc.js → shell-r8xr0va3.js} +4 -4
  221. package/dist/chunks/{file-retention-fpn03fpt.js → shell-rb29dj05.js} +15 -15
  222. package/dist/chunks/{file-retention-0kt9y2yg.js → shell-rba86r9a.js} +3 -3
  223. package/dist/chunks/{file-retention-901fz9t0.js → shell-rd8v1r6j.js} +21 -21
  224. package/dist/chunks/{file-retention-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{file-retention-zav06jzw.js → shell-rpg9c19m.js} +4 -4
  226. package/dist/chunks/{file-retention-fnge4047.js → shell-rs8qp985.js} +4 -4
  227. package/dist/chunks/{file-retention-ccy2pgf3.js → shell-s24brvt1.js} +11 -11
  228. package/dist/chunks/{file-retention-yrznvahk.js → shell-s4enseaf.js} +2 -2
  229. package/dist/chunks/{file-retention-1tnfewyb.js → shell-s532705d.js} +11 -11
  230. package/dist/chunks/{file-retention-s8d7rejh.js → shell-s8d7rejh.js} +1 -1
  231. package/dist/chunks/{file-retention-1tp0pegs.js → shell-sbm56x9k.js} +9 -9
  232. package/dist/chunks/{file-retention-h896pcm5.js → shell-sd5f6jdk.js} +6 -6
  233. package/dist/chunks/{file-retention-gxjs0nkc.js → shell-smcy5e0a.js} +28 -28
  234. package/dist/chunks/{file-retention-phjaars8.js → shell-sz0fczdy.js} +6 -6
  235. package/dist/chunks/{file-retention-4agzmtjj.js → shell-t58mb03q.js} +24 -24
  236. package/dist/chunks/{file-retention-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{file-retention-kkp8zx71.js → shell-tbmac1c7.js} +4 -4
  238. package/dist/chunks/{file-retention-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{file-retention-tdstcens.js → shell-tdstcens.js} +1 -1
  240. package/dist/chunks/{file-retention-07v38qck.js → shell-tec192gq.js} +16 -16
  241. package/dist/chunks/{file-retention-555wn5z1.js → shell-thev1fqr.js} +16 -16
  242. package/dist/chunks/{file-retention-8csa8wgg.js → shell-tmcd77ag.js} +35 -35
  243. package/dist/chunks/{file-retention-8142ayq4.js → shell-tmk4yz8x.js} +25 -25
  244. package/dist/chunks/{file-retention-wgm89zzg.js → shell-tpxv5eqt.js} +3 -3
  245. package/dist/chunks/{file-retention-nvymb3gw.js → shell-tsadq9bd.js} +17 -17
  246. package/dist/chunks/{file-retention-kkcecp2w.js → shell-ttwj0m8z.js} +30 -30
  247. package/dist/chunks/{file-retention-tvtrv512.js → shell-tvtrv512.js} +1 -1
  248. package/dist/chunks/{file-retention-psm6mvq2.js → shell-tw3zdh9f.js} +21 -21
  249. package/dist/chunks/{file-retention-j6c2djjz.js → shell-tyhjxzyj.js} +3 -3
  250. package/dist/chunks/{file-retention-x757zt7n.js → shell-v12jv0w3.js} +21 -21
  251. package/dist/chunks/{file-retention-t3kdfj5b.js → shell-v5vpra1m.js} +9 -9
  252. package/dist/chunks/{file-retention-d5grx31m.js → shell-vaeza82m.js} +12 -12
  253. package/dist/chunks/{file-retention-enghkq7s.js → shell-vc39bt20.js} +30 -30
  254. package/dist/chunks/{file-retention-veqvce7d.js → shell-veqvce7d.js} +1 -1
  255. package/dist/chunks/{file-retention-6es9zfpy.js → shell-vpxczwj3.js} +34 -34
  256. package/dist/chunks/{file-retention-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{file-retention-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{file-retention-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{file-retention-3v25ja2b.js → shell-w6yjv3f5.js} +15 -15
  260. package/dist/chunks/{file-retention-p4h43hm5.js → shell-watjqnhq.js} +9 -9
  261. package/dist/chunks/{file-retention-wd3x2cqz.js → shell-wd3x2cqz.js} +2 -2
  262. package/dist/chunks/{file-retention-wd87259q.js → shell-wd87259q.js} +1 -1
  263. package/dist/chunks/{file-retention-yktqjfap.js → shell-wg0dbssz.js} +10 -10
  264. package/dist/chunks/{file-retention-pkkyf0r9.js → shell-wg0k9rvv.js} +8 -8
  265. package/dist/chunks/{file-retention-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{file-retention-magykp64.js → shell-xdk9p2qn.js} +21 -21
  267. package/dist/chunks/{file-retention-xfkkasph.js → shell-xfkkasph.js} +1 -1
  268. package/dist/chunks/{file-retention-cst1g9ty.js → shell-xfn62cer.js} +89 -89
  269. package/dist/chunks/{file-retention-zj4ah9h6.js → shell-xkx2jhzt.js} +17 -17
  270. package/dist/chunks/{file-retention-0tpv2kjk.js → shell-xp0mhm80.js} +5 -5
  271. package/dist/chunks/{file-retention-f3v49yrq.js → shell-xzjm34t0.js} +11 -11
  272. package/dist/chunks/{file-retention-0t1hj50p.js → shell-y07tpj3e.js} +45 -45
  273. package/dist/chunks/{file-retention-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{file-retention-6psg71na.js → shell-y7eazgyz.js} +1 -1
  275. package/dist/chunks/{file-retention-3wa3ckeq.js → shell-yb93st4g.js} +7 -7
  276. package/dist/chunks/{file-retention-z1h4hzgz.js → shell-ygcwaq5r.js} +44 -44
  277. package/dist/chunks/{file-retention-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{file-retention-tqqs58hf.js → shell-yvpke61a.js} +11 -11
  279. package/dist/chunks/{file-retention-kd88yaz5.js → shell-yxvshskh.js} +29 -29
  280. package/dist/chunks/{file-retention-z07pqspn.js → shell-z07pqspn.js} +3 -3
  281. package/dist/chunks/{file-retention-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/shell-z76f73v3.js +26 -0
  283. package/dist/chunks/{file-retention-wvje6e6q.js → shell-zbjyzcd7.js} +11 -11
  284. package/dist/chunks/{file-retention-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{file-retention-bw7f9m3t.js → shell-zm3q7mex.js} +25 -25
  286. package/dist/chunks/{file-retention-hd8vw2pw.js → shell-znsx74x0.js} +1 -1
  287. package/dist/chunks/{file-retention-3t81ps34.js → shell-zp34c0n6.js} +41 -41
  288. package/dist/chunks/{file-retention-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-retention-1vp4gevy.js → shell-zsasz6gv.js} +20 -20
  290. package/dist/chunks/{file-retention-4kc82and.js → shell-zv4zpfd9.js} +13 -13
  291. package/dist/chunks/{file-retention-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{file-retention-n7hfvk42.js → shell-zyrx8stx.js} +1 -1
  293. package/dist/chunks/{file-retention-61wct4zt.js → shell-zz330w20.js} +16 -16
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +5 -5
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +77 -77
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +120 -120
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +77 -77
  328. package/dist/database/database.js +70 -70
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +79 -79
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +222 -222
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +102 -102
  433. package/dist/form.js +82 -82
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +83 -83
  463. package/dist/instructions/builtins.js +85 -85
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +81 -81
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +83 -83
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +107 -107
  478. package/dist/mcp/instructions.js +129 -129
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +78 -78
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +100 -100
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +124 -124
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +120 -120
  529. package/dist/plugin/provider/openai.js +95 -95
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +6 -6
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +230 -230
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +86 -86
  566. package/dist/provider.js +93 -93
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +97 -97
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +133 -133
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +225 -225
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +90 -90
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +77 -77
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +230 -230
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +2 -2
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +151 -151
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +221 -221
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +128 -128
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +122 -122
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +118 -118
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +119 -119
  650. package/dist/tool/plugin/shell.js +218 -218
  651. package/dist/tool/plugin/skill.js +109 -109
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +82 -82
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +3 -3
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +78 -78
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/file-retention-jqh9b0xq.js +0 -18
  702. package/dist/chunks/file-retention-js7f2ndc.js +0 -507
  703. package/dist/chunks/file-retention-n4ksp8v5.js +0 -26
  704. package/dist/chunks/file-retention-pwvtcxk6.js +0 -252
  705. /package/dist/chunks/{file-retention-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{file-retention-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{file-retention-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{file-retention-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{file-retention-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{file-retention-24dcb14g.js → shell-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{file-retention-2710q6r3.js → shell-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{file-retention-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{file-retention-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{file-retention-34c7v6d4.js → shell-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{file-retention-359p4xyc.js → shell-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{file-retention-3asan66x.js → shell-3asan66x.js} +0 -0
  717. /package/dist/chunks/{file-retention-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{file-retention-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{file-retention-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{file-retention-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{file-retention-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{file-retention-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{file-retention-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{file-retention-53557ph1.js → shell-53557ph1.js} +0 -0
  725. /package/dist/chunks/{file-retention-550bvhaj.js → shell-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{file-retention-6prwharc.js → shell-6prwharc.js} +0 -0
  727. /package/dist/chunks/{file-retention-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{file-retention-7m9af43g.js → shell-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{file-retention-822emrt2.js → shell-822emrt2.js} +0 -0
  730. /package/dist/chunks/{file-retention-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{file-retention-8n3pysct.js → shell-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{file-retention-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{file-retention-922hggd3.js → shell-922hggd3.js} +0 -0
  734. /package/dist/chunks/{file-retention-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{file-retention-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{file-retention-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{file-retention-af5trqkr.js → shell-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{file-retention-afrmfg78.js → shell-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{file-retention-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{file-retention-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{file-retention-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{file-retention-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{file-retention-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{file-retention-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{file-retention-d9fn303g.js → shell-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{file-retention-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{file-retention-dajrwvna.js → shell-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{file-retention-dap0rakb.js → shell-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{file-retention-df08tz66.js → shell-df08tz66.js} +0 -0
  750. /package/dist/chunks/{file-retention-dy18nga0.js → shell-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{file-retention-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{file-retention-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{file-retention-ec1grn59.js → shell-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{file-retention-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{file-retention-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{file-retention-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{file-retention-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{file-retention-faypxj3z.js → shell-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{file-retention-fd410y7t.js → shell-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{file-retention-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{file-retention-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{file-retention-g86h250q.js → shell-g86h250q.js} +0 -0
  763. /package/dist/chunks/{file-retention-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{file-retention-gftt206x.js → shell-gftt206x.js} +0 -0
  765. /package/dist/chunks/{file-retention-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{file-retention-hk9envan.js → shell-hk9envan.js} +0 -0
  767. /package/dist/chunks/{file-retention-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{file-retention-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{file-retention-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{file-retention-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{file-retention-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{file-retention-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{file-retention-mp448xyj.js → shell-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{file-retention-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{file-retention-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{file-retention-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{file-retention-njntx4h6.js → shell-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{file-retention-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{file-retention-q74kybfr.js → shell-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{file-retention-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{file-retention-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{file-retention-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{file-retention-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{file-retention-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{file-retention-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{file-retention-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{file-retention-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{file-retention-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{file-retention-w803qqfp.js → shell-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{file-retention-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{file-retention-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{file-retention-wtztk69x.js → shell-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{file-retention-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{file-retention-x61499pn.js → shell-x61499pn.js} +0 -0
  795. /package/dist/chunks/{file-retention-y44na4kk.js → shell-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{file-retention-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{file-retention-y8f7s663.js → shell-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{file-retention-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{file-retention-ym463w8f.js → shell-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{file-retention-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service84
3
- } from "./file-retention-a7bcxdzj.js";
2
+ Service42
3
+ } from "./shell-3b9qt4hj.js";
4
4
  import {
5
- Service50
6
- } from "./file-retention-h896pcm5.js";
5
+ Service55
6
+ } from "./shell-sd5f6jdk.js";
7
7
  import {
8
8
  detect2
9
- } from "./file-retention-3smtnn6g.js";
9
+ } from "./shell-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./file-retention-jqh9b0xq.js";
12
+ } from "./shell-619r8v3y.js";
13
13
  import {
14
- Service67
15
- } from "./file-retention-30846h32.js";
14
+ Service73
15
+ } from "./shell-4e8vs6eh.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./file-retention-32ymn5e1.js";
19
+ } from "./shell-n9gk7fk1.js";
20
20
  import {
21
21
  prepare3,
22
- Service58
23
- } from "./file-retention-gxjs0nkc.js";
22
+ Service38
23
+ } from "./shell-smcy5e0a.js";
24
24
  import {
25
25
  __export
26
- } from "./file-retention-9rqn6x4v.js";
26
+ } from "./shell-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service50;
42
+ const instances = yield* Service55;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service67;
45
+ const hooks = yield* Service73;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service58;
64
+ const skillService = yield* Service38;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service84;
129
+ const image = yield* Service42;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
5
  node85
6
- } from "./file-retention-9zmzhm3z.js";
6
+ } from "./shell-fe5bw3z3.js";
7
7
  import {
8
8
  Service79,
9
9
  node83
10
- } from "./file-retention-0tpv2kjk.js";
10
+ } from "./shell-xp0mhm80.js";
11
11
  import {
12
12
  create3
13
- } from "./file-retention-rdw6cm16.js";
13
+ } from "./shell-rdw6cm16.js";
14
14
  import {
15
- make16
16
- } from "./file-retention-1h6fgt3y.js";
15
+ make17
16
+ } from "./shell-f6z1vvb1.js";
17
17
  import {
18
18
  __export
19
- } from "./file-retention-9rqn6x4v.js";
19
+ } from "./shell-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service45,
24
+ Service: () => Service48,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node48
26
+ node: () => node52
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service45 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service48 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service45, Effect.gen(function* () {
36
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
37
37
  const location = yield* Service79;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make16;
39
+ const git = yield* make17;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service45.of({ ...state, directory: location.directory });
58
+ return Service48.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node48 = makeLocationNode({
61
- service: Service45,
60
+ var node52 = makeLocationNode({
61
+ service: Service48,
62
62
  layer,
63
63
  deps: [node83, Global.node, node85, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service45, node48, exports_strategies };
66
+ export { Service48, node52, exports_strategies };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ID14,
3
- Service76,
4
- node80
5
- } from "./file-retention-9cvt8pvp.js";
3
+ Service77,
4
+ node81
5
+ } from "./shell-qpe8tk8s.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service75,
16
- node79
17
- } from "./file-retention-3aw7vgta.js";
15
+ Service76,
16
+ node80
17
+ } from "./shell-6zck5j37.js";
18
18
  import {
19
- Service73,
20
- node77
21
- } from "./file-retention-kp34pf0p.js";
19
+ Service57,
20
+ node60
21
+ } from "./shell-psa9hm71.js";
22
22
  import {
23
- ID12,
23
+ ID11,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service74,
27
- node78
28
- } from "./file-retention-y042j87z.js";
26
+ Service72,
27
+ node76
28
+ } from "./shell-bbt4s1em.js";
29
29
  import {
30
30
  __export
31
- } from "./file-retention-9rqn6x4v.js";
31
+ } from "./shell-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError2,
38
38
  ModelInitializationError: () => ModelInitializationError2,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service72,
40
+ Service: () => Service56,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError2,
44
44
  VariantUnavailableError: () => VariantUnavailableError2,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer24,
48
- node: () => node76,
47
+ layer: () => layer22,
48
+ node: () => node59,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -56,7 +56,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
58
  providerID: ID13,
59
- modelID: ID12,
59
+ modelID: ID11,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -66,7 +66,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
66
66
 
67
67
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
68
  providerID: ID13,
69
- modelID: ID12,
69
+ modelID: ID11,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -77,7 +77,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
79
  providerID: ID13,
80
- modelID: ID12,
80
+ modelID: ID11,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -88,7 +88,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
88
88
 
89
89
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
90
  providerID: ID13,
91
- modelID: ID12,
91
+ modelID: ID11,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -100,7 +100,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
100
100
 
101
101
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
102
  providerID: ID13,
103
- modelID: ID12,
103
+ modelID: ID11,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -110,7 +110,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
110
110
 
111
111
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
112
  providerID: ID13,
113
- modelID: ID12,
113
+ modelID: ID11,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service72 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service56 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer24 = Layer.effect(Service72, Effect.gen(function* () {
262
- const providers = yield* Service75;
263
- const models = yield* Service74;
264
- const integrations = yield* Service76;
261
+ var layer22 = Layer.effect(Service56, Effect.gen(function* () {
262
+ const providers = yield* Service76;
263
+ const models = yield* Service72;
264
+ const integrations = yield* Service77;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service73;
266
+ const aisdk = yield* Service57;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
269
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service72.of({
296
+ return Service56.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node76 = makeLocationNode({
314
- service: Service72,
315
- layer: layer24,
316
- deps: [node79, node78, node80, Npm.node, node77]
313
+ var node59 = makeLocationNode({
314
+ service: Service56,
315
+ layer: layer22,
316
+ deps: [node80, node76, node81, Npm.node, node60]
317
317
  });
318
318
 
319
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service72, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node76, exports_model_resolver };
319
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service56, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node59, exports_model_resolver };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
5
  Service79,
6
6
  node83
7
- } from "./file-retention-0tpv2kjk.js";
7
+ } from "./shell-xp0mhm80.js";
8
8
  import {
9
- Service68,
10
- node71
11
- } from "./file-retention-jjctv81n.js";
9
+ Service21,
10
+ node24
11
+ } from "./shell-fn2vqynn.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./file-retention-tcezcvh9.js";
15
+ } from "./shell-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./shell-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options3,
25
- Service: () => Service19,
26
- configured: () => configured3,
24
+ Options: () => Options2,
25
+ Service: () => Service13,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer9,
29
- node: () => node21,
28
+ layer: () => layer8,
29
+ node: () => node15,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options3 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service19 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service13 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service13, Effect.gen(function* () {
62
62
  const location = yield* Service79;
63
- const ripgrep = yield* Service68;
63
+ const ripgrep = yield* Service21;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service19.of({
108
+ return Service13.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service13, Effect.gen(function* () {
116
116
  const location = yield* Service79;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service19.of({
129
+ return Service13.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service19.of({
134
+ return Service13.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service79;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -182,9 +182,9 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured3(options) {
186
- return makeLocationNode({ service: Service19, layer: layer9(options), deps: [node83, node71] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service13, layer: layer8(options), deps: [node83, node24] });
187
187
  }
188
- var node21 = configured3();
188
+ var node15 = configured2();
189
189
 
190
- export { Options3, Service19, ripgrepLayer2, fffLayer2, layer9, configured3, node21, exports_search };
190
+ export { Options2, Service13, ripgrepLayer2, fffLayer2, layer8, configured2, node15, exports_search };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./file-retention-emrn6kk6.js";
3
+ } from "./shell-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./file-retention-b6c8hgaq.js";
6
+ } from "./shell-kbww7b3v.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./file-retention-8fm7fx0h.js";
9
+ } from "./shell-80yzywcg.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
5
  Service81,
6
6
  node85
7
- } from "./file-retention-9zmzhm3z.js";
7
+ } from "./shell-fe5bw3z3.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./file-retention-84txncab.js";
13
+ } from "./shell-84txncab.js";
14
14
  import {
15
- Service57,
16
- node60
17
- } from "./file-retention-tnnwyf4v.js";
15
+ Service75,
16
+ node79
17
+ } from "./shell-1w0b4a26.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./shell-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: () => Service56,
33
+ Service: () => Service46,
34
34
  isError: () => isError2,
35
- node: () => node59,
35
+ node: () => node50,
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 Service56 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service46 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(Service56, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service81;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service57;
110
- return Service56.of({
109
+ const kv = yield* Service75;
110
+ return Service46.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(Service56, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node59 = makeGlobalNode({
171
- service: Service56,
170
+ var node50 = makeGlobalNode({
171
+ service: Service46,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node60]
173
+ deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node79]
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, Service56, isError2, validateBranch2, node59, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service46, isError2, validateBranch2, node50, exports_repository_cache };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service79
3
- } from "./file-retention-0tpv2kjk.js";
3
+ } from "./shell-xp0mhm80.js";
4
4
  import {
5
- Service70
6
- } from "./file-retention-x757zt7n.js";
5
+ Service68
6
+ } from "./shell-v12jv0w3.js";
7
7
  import {
8
- Service69,
8
+ Service15,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./file-retention-pfvbrrxt.js";
11
+ } from "./shell-qzwd4pkf.js";
12
12
  import {
13
- Service13
14
- } from "./file-retention-wvje6e6q.js";
13
+ Service50
14
+ } from "./shell-zbjyzcd7.js";
15
15
  import {
16
- Service63
17
- } from "./file-retention-nxy4r4q2.js";
16
+ Service60
17
+ } from "./shell-dm6v0cnj.js";
18
18
  import {
19
- Service17,
19
+ Service49,
20
20
  resolvePath2
21
- } from "./file-retention-y3yyngt1.js";
21
+ } from "./shell-gna9hx4h.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./file-retention-6prwharc.js";
24
+ } from "./shell-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./file-retention-9rqn6x4v.js";
27
+ } from "./shell-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input11,
34
- Output: () => Output7,
35
- Plugin: () => Plugin14,
36
- name: () => name11
33
+ Input: () => Input6,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin24,
36
+ name: () => name6
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name11 = "edit";
43
- var Input11 = Schema.Struct({
42
+ var name6 = "edit";
43
+ var Input6 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input11 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output7 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin14 = {
106
+ var Plugin24 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service17;
110
- const fileMutation = yield* Service69;
111
- const environment = yield* Service70;
112
- const formatter = yield* Service13;
109
+ const access = yield* Service49;
110
+ const fileMutation = yield* Service15;
111
+ const environment = yield* Service68;
112
+ const formatter = yield* Service50;
113
113
  const location = yield* Service79;
114
- const permission = yield* Service63;
114
+ const permission = yield* Service60;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name11,
116
+ name: name6,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input11,
120
- output: Output7,
119
+ input: Input6,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin14 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name11, Input11, Output7, Plugin14, exports_edit };
197
+ export { name6, Input6, Output3, Plugin24, exports_edit };