@opencode-ai/core 0.0.0-dev-19214 → 0.0.0-dev-19216

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{shell-v0z4favv.js → file-mutation-01mh49p0.js} +7 -7
  9. package/dist/chunks/{shell-nxrz604p.js → file-mutation-06qbn9zd.js} +9 -9
  10. package/dist/chunks/{shell-p58t2f8x.js → file-mutation-09n63jss.js} +22 -22
  11. package/dist/chunks/{shell-871gwe26.js → file-mutation-0amw245z.js} +23 -23
  12. package/dist/chunks/{shell-5n18k7nt.js → file-mutation-0dy783fj.js} +6 -6
  13. package/dist/chunks/{shell-0e0xafbb.js → file-mutation-0e0xafbb.js} +2 -2
  14. package/dist/chunks/{shell-15wrc8zw.js → file-mutation-0ek2w54z.js} +11 -11
  15. package/dist/chunks/{shell-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{shell-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{shell-1rx77as6.js → file-mutation-0s535w00.js} +23 -23
  18. package/dist/chunks/{shell-0s9ayhjt.js → file-mutation-0s9ayhjt.js} +1 -1
  19. package/dist/chunks/{shell-esp3dmb3.js → file-mutation-0tqc2v94.js} +3 -3
  20. package/dist/chunks/{shell-3yfy8pbr.js → file-mutation-0wvfwpx6.js} +20 -20
  21. package/dist/chunks/{shell-s440spbv.js → file-mutation-143qxyja.js} +22 -22
  22. package/dist/chunks/{shell-yp2x3t23.js → file-mutation-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{shell-1ct4r87x.js → file-mutation-1ct4r87x.js} +1 -1
  24. package/dist/chunks/{shell-t2h14k12.js → file-mutation-1dbh8d2n.js} +11 -11
  25. package/dist/chunks/{shell-5fc6d9pe.js → file-mutation-1fgze8hp.js} +20 -20
  26. package/dist/chunks/{shell-w0nm8ced.js → file-mutation-1kvgva6x.js} +24 -24
  27. package/dist/chunks/file-mutation-1x11rq2a.js +18 -0
  28. package/dist/chunks/{shell-mt97rwwj.js → file-mutation-20m0wqts.js} +12 -12
  29. package/dist/chunks/{shell-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  30. package/dist/chunks/{shell-2402vzrj.js → file-mutation-2402vzrj.js} +1 -1
  31. package/dist/chunks/{shell-29x78va6.js → file-mutation-29x78va6.js} +2 -2
  32. package/dist/chunks/{shell-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{shell-yqgcr8m8.js → file-mutation-2bm7eph3.js} +23 -23
  34. package/dist/chunks/{shell-8mtzvntg.js → file-mutation-2e3b49a5.js} +24 -24
  35. package/dist/chunks/{shell-zvpejf85.js → file-mutation-2ed8104q.js} +46 -46
  36. package/dist/chunks/{shell-2ht70gj7.js → file-mutation-2ht70gj7.js} +1 -1
  37. package/dist/chunks/{shell-zmghpns8.js → file-mutation-2phvqca6.js} +16 -16
  38. package/dist/chunks/{shell-ebbc4kwn.js → file-mutation-2sj3c2ad.js} +30 -30
  39. package/dist/chunks/{shell-00aww1yf.js → file-mutation-2z0b56st.js} +2 -2
  40. package/dist/chunks/{shell-y68fmg6q.js → file-mutation-34m8n255.js} +6 -6
  41. package/dist/chunks/{shell-6v3jf47k.js → file-mutation-35e7m4yx.js} +20 -20
  42. package/dist/chunks/{shell-n5vm294d.js → file-mutation-3and2xxf.js} +30 -30
  43. package/dist/chunks/{shell-s8nmbtd4.js → file-mutation-3ap2p86d.js} +9 -9
  44. package/dist/chunks/{shell-gdvy8fx6.js → file-mutation-3fc6dm20.js} +4 -4
  45. package/dist/chunks/{shell-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{shell-w7q1nt0x.js → file-mutation-3jpejpk8.js} +23 -23
  47. package/dist/chunks/{shell-2vt5h35m.js → file-mutation-3jxqjar4.js} +24 -24
  48. package/dist/chunks/{shell-75zmbk21.js → file-mutation-3pt7nqe6.js} +47 -47
  49. package/dist/chunks/{shell-3qzbfqsy.js → file-mutation-3qzbfqsy.js} +2 -2
  50. package/dist/chunks/{shell-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{shell-v623p3vn.js → file-mutation-3sy3bhxh.js} +8 -8
  52. package/dist/chunks/{shell-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{shell-711hfp6y.js → file-mutation-3x6030n9.js} +2 -2
  54. package/dist/chunks/{shell-0m561qeb.js → file-mutation-40jtjs1k.js} +11 -11
  55. package/dist/chunks/{shell-454k5vzh.js → file-mutation-454k5vzh.js} +1 -1
  56. package/dist/chunks/{shell-dsfx0j74.js → file-mutation-45a3e49b.js} +6 -6
  57. package/dist/chunks/{shell-ez6kpqxh.js → file-mutation-47cx0r01.js} +31 -31
  58. package/dist/chunks/{shell-ex76qa1h.js → file-mutation-4b1sg654.js} +17 -17
  59. package/dist/chunks/{shell-qhchxjqx.js → file-mutation-4k7zmpk3.js} +8 -8
  60. package/dist/chunks/{shell-4r2nyarf.js → file-mutation-4r2nyarf.js} +1 -1
  61. package/dist/chunks/{shell-ny0wre0x.js → file-mutation-4xymgjke.js} +20 -20
  62. package/dist/chunks/{shell-56gdpj1q.js → file-mutation-56gdpj1q.js} +2 -2
  63. package/dist/chunks/{shell-07st23v6.js → file-mutation-58hcpyay.js} +32 -32
  64. package/dist/chunks/{shell-w7q2j5hm.js → file-mutation-5bch6tfs.js} +10 -10
  65. package/dist/chunks/{shell-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  66. package/dist/chunks/{shell-c71cneyv.js → file-mutation-5e624tvg.js} +7 -7
  67. package/dist/chunks/{shell-5fmxt4p5.js → file-mutation-5fmxt4p5.js} +1 -1
  68. package/dist/chunks/{shell-5jvc5tg2.js → file-mutation-5jvc5tg2.js} +1 -1
  69. package/dist/chunks/{shell-v8hftjms.js → file-mutation-5mqca3xa.js} +25 -25
  70. package/dist/chunks/{shell-0tm8rvrz.js → file-mutation-5n978qtj.js} +6 -6
  71. package/dist/chunks/{shell-f0vxf23b.js → file-mutation-62z4m846.js} +24 -24
  72. package/dist/chunks/{shell-m4bpwynw.js → file-mutation-64z8z5x5.js} +6 -6
  73. package/dist/chunks/{shell-42nrxqjf.js → file-mutation-6e593aan.js} +36 -36
  74. package/dist/chunks/{shell-mtcjf44p.js → file-mutation-6e958v7x.js} +4 -4
  75. package/dist/chunks/{shell-03f98ybe.js → file-mutation-6qvt79ej.js} +27 -27
  76. package/dist/chunks/{shell-jzyxh6de.js → file-mutation-6t42cqx7.js} +32 -32
  77. package/dist/chunks/{shell-j3m9zsv2.js → file-mutation-6tnfgw9a.js} +25 -25
  78. package/dist/chunks/{shell-72nftnjy.js → file-mutation-72nftnjy.js} +2 -2
  79. package/dist/chunks/{shell-e83y27r5.js → file-mutation-76smfv87.js} +7 -7
  80. package/dist/chunks/{shell-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{shell-9kksqv7m.js → file-mutation-7cnkxtbd.js} +9 -9
  82. package/dist/chunks/{shell-b3t4emvz.js → file-mutation-7ctffjx1.js} +7 -7
  83. package/dist/chunks/{shell-qgn6gcr1.js → file-mutation-7dqw4kz8.js} +5 -5
  84. package/dist/chunks/{shell-ane3y94c.js → file-mutation-7m9tkefv.js} +11 -11
  85. package/dist/chunks/{shell-rzyn4jtv.js → file-mutation-7ng7exzm.js} +1 -1
  86. package/dist/chunks/{shell-74jy76yg.js → file-mutation-7nxyxket.js} +1 -1
  87. package/dist/chunks/{shell-2qrq5jg3.js → file-mutation-7ry09vv5.js} +3 -3
  88. package/dist/chunks/{shell-pjedbq3k.js → file-mutation-7w3s9kd0.js} +4 -4
  89. package/dist/chunks/file-mutation-7zk4hah4.js +4 -0
  90. package/dist/chunks/{shell-gd943ppd.js → file-mutation-85490285.js} +29 -29
  91. package/dist/chunks/{shell-nd9cq3a7.js → file-mutation-897hzw7d.js} +9 -9
  92. package/dist/chunks/{shell-n3m3nbex.js → file-mutation-8ht03v18.js} +4 -4
  93. package/dist/chunks/{shell-4bnef52n.js → file-mutation-8yqh4j7k.js} +28 -28
  94. package/dist/chunks/{shell-waq1hr54.js → file-mutation-8za182nc.js} +15 -15
  95. package/dist/chunks/{shell-pxednv00.js → file-mutation-986p65m9.js} +5 -5
  96. package/dist/chunks/{shell-3gzfz3hk.js → file-mutation-998c6hc6.js} +33 -33
  97. package/dist/chunks/{shell-rzejcw32.js → file-mutation-99vgbsyy.js} +5 -5
  98. package/dist/chunks/{shell-8k5e3xq5.js → file-mutation-9b3te7cd.js} +56 -56
  99. package/dist/chunks/{shell-5ctdmadx.js → file-mutation-9pk3p303.js} +8 -8
  100. package/dist/chunks/{shell-xwmwycrq.js → file-mutation-a1qwmqqw.js} +13 -13
  101. package/dist/chunks/{shell-806j49yq.js → file-mutation-a2ew8a62.js} +4 -4
  102. package/dist/chunks/{shell-4qjtp74j.js → file-mutation-a4rgs0hc.js} +8 -8
  103. package/dist/chunks/{shell-2gdv49he.js → file-mutation-a9e4exys.js} +43 -43
  104. package/dist/chunks/{shell-qr58g126.js → file-mutation-aa8vhsgg.js} +7 -7
  105. package/dist/chunks/{shell-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  106. package/dist/chunks/{shell-vxzwg83z.js → file-mutation-ab39g6be.js} +15 -15
  107. package/dist/chunks/{shell-ryhm87t0.js → file-mutation-ada40aw5.js} +44 -44
  108. package/dist/chunks/{shell-vkh6dqf1.js → file-mutation-aeg24s2a.js} +3 -3
  109. package/dist/chunks/{shell-ddcwh8jf.js → file-mutation-asb5ddgn.js} +3 -3
  110. package/dist/chunks/{shell-768fctrn.js → file-mutation-ayghbyc9.js} +13 -13
  111. package/dist/chunks/{shell-xmwqh1zw.js → file-mutation-b2cva8t7.js} +31 -31
  112. package/dist/chunks/{shell-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{shell-cgqryxpd.js → file-mutation-b92pv2tj.js} +5 -5
  114. package/dist/chunks/{shell-swx5t4h5.js → file-mutation-b9j3swwv.js} +13 -13
  115. package/dist/chunks/{shell-b9wsbatv.js → file-mutation-b9wsbatv.js} +1 -1
  116. package/dist/chunks/{shell-xnf7zpzd.js → file-mutation-babn4frh.js} +11 -11
  117. package/dist/chunks/{shell-46e97tr7.js → file-mutation-bfr8x9hg.js} +10 -10
  118. package/dist/chunks/{shell-ng39vjdn.js → file-mutation-bgt6msk1.js} +2 -2
  119. package/dist/chunks/{shell-3jj6bjb6.js → file-mutation-bxnxw8jj.js} +5 -5
  120. package/dist/chunks/{shell-6kgc56n8.js → file-mutation-c0gy5km3.js} +6 -6
  121. package/dist/chunks/{shell-3kbcwn9y.js → file-mutation-c0yyaxk6.js} +17 -17
  122. package/dist/chunks/{shell-dy3b9v5q.js → file-mutation-c8k27x3s.js} +6 -6
  123. package/dist/chunks/{shell-af7y0kpf.js → file-mutation-cfbbrnxq.js} +11 -11
  124. package/dist/chunks/{shell-1tq060df.js → file-mutation-cpy6gm2a.js} +4 -4
  125. package/dist/chunks/{shell-wkjngxy5.js → file-mutation-cq35m6me.js} +3 -3
  126. package/dist/chunks/{shell-b9mymrzg.js → file-mutation-cr8sbmwr.js} +43 -43
  127. package/dist/chunks/{shell-yj7asw96.js → file-mutation-d4pvcjkk.js} +18 -18
  128. package/dist/chunks/{shell-0jskpge6.js → file-mutation-d6k3vpm5.js} +4 -4
  129. package/dist/chunks/{shell-n8z0sp8q.js → file-mutation-dcgj9q88.js} +22 -22
  130. package/dist/chunks/{shell-n87qk14a.js → file-mutation-dds56zbh.js} +29 -29
  131. package/dist/chunks/{shell-bf0ztrs3.js → file-mutation-dfe8djrf.js} +4 -4
  132. package/dist/chunks/{shell-a26qnsqg.js → file-mutation-dk2pae67.js} +16 -16
  133. package/dist/chunks/{shell-r8cfqb6n.js → file-mutation-dxyd6n6d.js} +172 -172
  134. package/dist/chunks/{shell-jvc265pg.js → file-mutation-dyqxbeha.js} +11 -11
  135. package/dist/chunks/{shell-pdy88f7k.js → file-mutation-e4gkhccc.js} +4 -4
  136. package/dist/chunks/{shell-q57b8tdc.js → file-mutation-e6yvemtv.js} +64 -64
  137. package/dist/chunks/{shell-yw1br2hz.js → file-mutation-e94r4fk5.js} +83 -83
  138. package/dist/chunks/{shell-hn4sjpb5.js → file-mutation-enamxrz2.js} +2 -2
  139. package/dist/chunks/{shell-6ff6vtqe.js → file-mutation-etamtscj.js} +2 -2
  140. package/dist/chunks/{shell-famd3pv6.js → file-mutation-ev7pq6rs.js} +5 -5
  141. package/dist/chunks/{shell-e9ez9tj0.js → file-mutation-evj8e4hg.js} +28 -28
  142. package/dist/chunks/{shell-z3zp40bp.js → file-mutation-evj94p3t.js} +13 -13
  143. package/dist/chunks/{shell-hycyp8g1.js → file-mutation-f40w3zwy.js} +46 -46
  144. package/dist/chunks/{shell-45t9anda.js → file-mutation-f9x6rp1j.js} +1 -1
  145. package/dist/chunks/{shell-gtdavqjy.js → file-mutation-fdcmbayr.js} +17 -17
  146. package/dist/chunks/{shell-vprv6wac.js → file-mutation-fhbjhm8t.js} +49 -49
  147. package/dist/chunks/{shell-7cpqsz3a.js → file-mutation-fj5hcd03.js} +27 -27
  148. package/dist/chunks/{shell-2b10552f.js → file-mutation-fke00733.js} +2 -2
  149. package/dist/chunks/{shell-jq9g1dav.js → file-mutation-fmzy9ynz.js} +7 -7
  150. package/dist/chunks/{shell-yzbh0z81.js → file-mutation-fvpasvjq.js} +4 -4
  151. package/dist/chunks/{shell-swa286b8.js → file-mutation-fw416nha.js} +21 -21
  152. package/dist/chunks/{shell-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{shell-fxypknc8.js → file-mutation-fxypknc8.js} +1 -1
  154. package/dist/chunks/{shell-pbhkjpds.js → file-mutation-fz1pdqz4.js} +5 -5
  155. package/dist/chunks/{shell-hrvm11jt.js → file-mutation-g2dy4bvs.js} +3 -3
  156. package/dist/chunks/{shell-d72308c8.js → file-mutation-g2gt0w0k.js} +2 -2
  157. package/dist/chunks/{shell-d8bdgt1m.js → file-mutation-g8a6h08d.js} +13 -13
  158. package/dist/chunks/{shell-st0xy9pc.js → file-mutation-gd0bwbeh.js} +84 -84
  159. package/dist/chunks/{shell-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{shell-9660t85j.js → file-mutation-ger17fbp.js} +43 -43
  161. package/dist/chunks/{shell-2pb5ppxq.js → file-mutation-gkvt71jh.js} +9 -9
  162. package/dist/chunks/{shell-x629tvq7.js → file-mutation-gz5et4ap.js} +20 -20
  163. package/dist/chunks/{shell-c9tsen2f.js → file-mutation-h139r1mg.js} +300 -300
  164. package/dist/chunks/{shell-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{shell-3bjb2hjh.js → file-mutation-hayn59kd.js} +27 -27
  166. package/dist/chunks/{shell-heyhwy2w.js → file-mutation-heyhwy2w.js} +1 -1
  167. package/dist/chunks/{shell-7haxhjsc.js → file-mutation-hgeb4s25.js} +1 -1
  168. package/dist/chunks/{shell-y2cqme3r.js → file-mutation-hhpzk61m.js} +5 -5
  169. package/dist/chunks/{shell-wz16cg5z.js → file-mutation-hjpabd42.js} +18 -18
  170. package/dist/chunks/{shell-e82z9tr0.js → file-mutation-hjt4xg1x.js} +7 -7
  171. package/dist/chunks/{shell-hn57h045.js → file-mutation-hn57h045.js} +1 -1
  172. package/dist/chunks/{shell-bcezcar3.js → file-mutation-hnyf01b0.js} +5 -5
  173. package/dist/chunks/{shell-nag7dxjf.js → file-mutation-hpbtcqba.js} +9 -9
  174. package/dist/chunks/{shell-zmdaybe6.js → file-mutation-htqkwcnv.js} +10 -10
  175. package/dist/chunks/{shell-f1keh2an.js → file-mutation-hzzs2yvs.js} +34 -34
  176. package/dist/chunks/{shell-t2cat712.js → file-mutation-j8swj2w1.js} +17 -17
  177. package/dist/chunks/{shell-7k21e5kk.js → file-mutation-jykcc5qa.js} +8 -8
  178. package/dist/chunks/{shell-az9b9mm6.js → file-mutation-k0g96r8n.js} +4 -4
  179. package/dist/chunks/{shell-8fsmte50.js → file-mutation-k0zpnkm5.js} +4 -4
  180. package/dist/chunks/{shell-4rqy6gt6.js → file-mutation-k1h3pd12.js} +10 -10
  181. package/dist/chunks/{shell-wc7kexz2.js → file-mutation-k3b33mde.js} +9 -9
  182. package/dist/chunks/{shell-crpvf69r.js → file-mutation-k3xp7ghz.js} +22 -22
  183. package/dist/chunks/{shell-k4bwy1x5.js → file-mutation-k4bwy1x5.js} +1 -1
  184. package/dist/chunks/{shell-wmwak4mn.js → file-mutation-kbsyt50d.js} +33 -33
  185. package/dist/chunks/{shell-s375ke01.js → file-mutation-kdrneqjw.js} +29 -29
  186. package/dist/chunks/{shell-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
  187. package/dist/chunks/{shell-rh6rd7ag.js → file-mutation-kkxc5154.js} +4 -4
  188. package/dist/chunks/{shell-apamhaje.js → file-mutation-kry5p3r0.js} +35 -35
  189. package/dist/chunks/{shell-smfx8wrd.js → file-mutation-ks0jjys9.js} +14 -14
  190. package/dist/chunks/{shell-kvsjn1dr.js → file-mutation-kvsjn1dr.js} +2 -2
  191. package/dist/chunks/{shell-ex0wtrk2.js → file-mutation-kx9ynrf0.js} +12 -12
  192. package/dist/chunks/{shell-5nzbd5n0.js → file-mutation-kxnt8qcg.js} +5 -5
  193. package/dist/chunks/{shell-nwrk5bab.js → file-mutation-m5a4zvg4.js} +39 -39
  194. package/dist/chunks/{shell-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{shell-76wr4mq2.js → file-mutation-mfv0zw27.js} +9 -9
  196. package/dist/chunks/{shell-kfqx8kb7.js → file-mutation-mkajv2tb.js} +6 -6
  197. package/dist/chunks/{shell-a9c7wcwq.js → file-mutation-mpsa3nes.js} +12 -12
  198. package/dist/chunks/{shell-ff1h9ct4.js → file-mutation-mq3bjh81.js} +18 -18
  199. package/dist/chunks/{shell-73tb2d7t.js → file-mutation-mvfsc1pv.js} +3 -3
  200. package/dist/chunks/{shell-9yf2qrwc.js → file-mutation-n0gbmnre.js} +11 -11
  201. package/dist/chunks/{shell-9199mjkg.js → file-mutation-n27y30w6.js} +42 -42
  202. package/dist/chunks/{shell-jzqf3jx6.js → file-mutation-n8dztyn3.js} +13 -13
  203. package/dist/chunks/{shell-e6cve5mm.js → file-mutation-npsbfqmn.js} +29 -29
  204. package/dist/chunks/{shell-wd340t2h.js → file-mutation-nt2vsa9g.js} +22 -22
  205. package/dist/chunks/{shell-cqn5ay5r.js → file-mutation-nvm3xv8h.js} +26 -26
  206. package/dist/chunks/{shell-tcxv96y6.js → file-mutation-nxepqw4e.js} +14 -14
  207. package/dist/chunks/{shell-mtvcp45q.js → file-mutation-ny5fc873.js} +15 -15
  208. package/dist/chunks/{shell-447tz61m.js → file-mutation-p33zfxh6.js} +25 -25
  209. package/dist/chunks/{shell-pjjtcy2p.js → file-mutation-pjvn5h54.js} +12 -12
  210. package/dist/chunks/{shell-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{shell-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  212. package/dist/chunks/{shell-xy6tr93g.js → file-mutation-ptg06ky0.js} +12 -12
  213. package/dist/chunks/{shell-j80pgsaj.js → file-mutation-ptrtafvx.js} +11 -11
  214. package/dist/chunks/{shell-av8xxqjs.js → file-mutation-q36vtzqe.js} +5 -5
  215. package/dist/chunks/{shell-xg3vtz5h.js → file-mutation-q68wbhj3.js} +4 -4
  216. package/dist/chunks/{shell-vqe9fq18.js → file-mutation-qbyj8qxd.js} +1 -1
  217. package/dist/chunks/{shell-k3djfchk.js → file-mutation-qfv34cas.js} +20 -20
  218. package/dist/chunks/{shell-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  219. package/dist/chunks/{shell-3gm33j7d.js → file-mutation-qswnket4.js} +18 -18
  220. package/dist/chunks/{shell-9qm9egsn.js → file-mutation-qvbcabdc.js} +2 -2
  221. package/dist/chunks/{shell-htbxhgrz.js → file-mutation-qxezqvzm.js} +17 -17
  222. package/dist/chunks/{shell-nzfzr9h0.js → file-mutation-r062cge9.js} +43 -43
  223. package/dist/chunks/{shell-r8dhm0tv.js → file-mutation-r8dhm0tv.js} +1 -1
  224. package/dist/chunks/{shell-759pz1a2.js → file-mutation-rae26gbb.js} +4 -4
  225. package/dist/chunks/{shell-00m11tas.js → file-mutation-renmeb8y.js} +9 -9
  226. package/dist/chunks/{shell-anhky6p6.js → file-mutation-rhqk4sk8.js} +14 -14
  227. package/dist/chunks/{shell-s85evsrx.js → file-mutation-rwh0xq6p.js} +15 -15
  228. package/dist/chunks/{shell-8fvescvn.js → file-mutation-rx7yndt1.js} +11 -11
  229. package/dist/chunks/{shell-j34gsgr1.js → file-mutation-s38wv68t.js} +18 -18
  230. package/dist/chunks/{shell-0bmd60eh.js → file-mutation-s3vrd4d2.js} +24 -24
  231. package/dist/chunks/{shell-sba4qhjf.js → file-mutation-sba4qhjf.js} +1 -1
  232. package/dist/chunks/{shell-7w2wm759.js → file-mutation-sbnvhk9g.js} +4 -4
  233. package/dist/chunks/{shell-46ypjb8x.js → file-mutation-sc1wqa8e.js} +30 -30
  234. package/dist/chunks/{shell-cmwx9h7j.js → file-mutation-shfaz11f.js} +4 -4
  235. package/dist/chunks/{shell-yw9364ag.js → file-mutation-sxhwk0c0.js} +4 -4
  236. package/dist/chunks/{shell-be80r41v.js → file-mutation-ta5yt3rh.js} +34 -34
  237. package/dist/chunks/{shell-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{shell-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{shell-vnwmzs4a.js → file-mutation-tdpndm1c.js} +5 -5
  240. package/dist/chunks/{shell-4t5xtn3n.js → file-mutation-tgnthhz6.js} +22 -22
  241. package/dist/chunks/{shell-4039hvv9.js → file-mutation-thb62adn.js} +10 -10
  242. package/dist/chunks/{shell-tjykrgmx.js → file-mutation-tjykrgmx.js} +1 -1
  243. package/dist/chunks/{shell-g3k4d7kp.js → file-mutation-v3gnfvgj.js} +11 -11
  244. package/dist/chunks/{shell-5fkgmv3x.js → file-mutation-v7r3cw40.js} +18 -18
  245. package/dist/chunks/{shell-9t99dw5q.js → file-mutation-v8gy3pjr.js} +1 -1
  246. package/dist/chunks/{shell-kyb951k0.js → file-mutation-vdve1s0m.js} +3 -3
  247. package/dist/chunks/{shell-t98tbty9.js → file-mutation-vfhg49f4.js} +9 -9
  248. package/dist/chunks/{shell-2qzq6ga3.js → file-mutation-vhh9ar68.js} +11 -11
  249. package/dist/chunks/{shell-wxx0ch5c.js → file-mutation-vj79ke67.js} +27 -27
  250. package/dist/chunks/{shell-mwm6j4mv.js → file-mutation-vnj10zg0.js} +14 -14
  251. package/dist/chunks/{shell-pprv0vrv.js → file-mutation-vwq77r6c.js} +30 -30
  252. package/dist/chunks/{shell-jqrqy21d.js → file-mutation-w19ppvv8.js} +11 -11
  253. package/dist/chunks/{shell-kvxwx3nk.js → file-mutation-w25meggd.js} +18 -18
  254. package/dist/chunks/{shell-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{shell-h1byzm8g.js → file-mutation-w5gv9txn.js} +7 -7
  256. package/dist/chunks/{shell-4g0b7sjj.js → file-mutation-w7a45d2w.js} +23 -23
  257. package/dist/chunks/{shell-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  258. package/dist/chunks/{shell-z0hzsv9t.js → file-mutation-wy24wt1k.js} +11 -11
  259. package/dist/chunks/{shell-xk1h8syj.js → file-mutation-wzn1pg97.js} +3 -3
  260. package/dist/chunks/{shell-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{shell-wkzk3h6w.js → file-mutation-x7n6jb1w.js} +18 -18
  262. package/dist/chunks/{shell-8433ak71.js → file-mutation-xscz55ef.js} +11 -11
  263. package/dist/chunks/{shell-jv6tbxxe.js → file-mutation-xspyb9m3.js} +8 -8
  264. package/dist/chunks/{shell-e0y4b763.js → file-mutation-y1a5n2r0.js} +16 -16
  265. package/dist/chunks/{shell-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{shell-1vbd6b48.js → file-mutation-y4xjyrf3.js} +22 -22
  267. package/dist/chunks/{shell-gvphy7jk.js → file-mutation-y5h9vgb0.js} +6 -6
  268. package/dist/chunks/{shell-sa3v8zc4.js → file-mutation-y61qnw8a.js} +12 -12
  269. package/dist/chunks/{shell-y71avatq.js → file-mutation-y71avatq.js} +1 -1
  270. package/dist/chunks/{shell-dsf572e0.js → file-mutation-y724s5yt.js} +4 -4
  271. package/dist/chunks/{shell-vk2ezsxw.js → file-mutation-y8g99sqg.js} +27 -27
  272. package/dist/chunks/{shell-4rp8h9vr.js → file-mutation-ye0hwk1t.js} +9 -9
  273. package/dist/chunks/{shell-yfbd16n1.js → file-mutation-yfbd16n1.js} +2 -2
  274. package/dist/chunks/{shell-ajtjthsy.js → file-mutation-yg7sb877.js} +2 -2
  275. package/dist/chunks/{shell-44tjj06n.js → file-mutation-ypexc4gq.js} +39 -39
  276. package/dist/chunks/file-mutation-ywgxakqv.js +247 -0
  277. package/dist/chunks/{shell-z1k01bn4.js → file-mutation-z1k01bn4.js} +2 -2
  278. package/dist/chunks/{shell-rpqdjjqf.js → file-mutation-z3s9j4q6.js} +18 -18
  279. package/dist/chunks/{shell-hjp2pbpf.js → file-mutation-z48dvxa8.js} +1 -1
  280. package/dist/chunks/{shell-q9b8xy67.js → file-mutation-z5wp74ca.js} +13 -13
  281. package/dist/chunks/{shell-95z3gcrg.js → file-mutation-zjx20249.js} +4 -4
  282. package/dist/chunks/{shell-7769r81k.js → file-mutation-zjy9mrjh.js} +17 -17
  283. package/dist/chunks/{shell-5chzen2f.js → file-mutation-zr1rg8va.js} +20 -20
  284. package/dist/chunks/{shell-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +3 -3
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +79 -79
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +115 -115
  293. package/dist/config/plugin/command.js +206 -206
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +115 -115
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +115 -115
  300. package/dist/config/plugin/mcp.js +124 -124
  301. package/dist/config/plugin/policy.js +114 -114
  302. package/dist/config/plugin/provider.js +113 -113
  303. package/dist/config/plugin/reference.js +117 -117
  304. package/dist/config/plugin/shell.js +118 -118
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +135 -135
  307. package/dist/config/plugin/snapshot.js +115 -115
  308. package/dist/config/plugin/source.js +117 -117
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +115 -115
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +117 -117
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +81 -81
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +77 -77
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +355 -355
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +4 -4
  414. package/dist/filesystem/location-watcher.js +215 -215
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +1 -1
  418. package/dist/filesystem/watcher.js +11 -11
  419. package/dist/filesystem.js +98 -98
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +91 -91
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +7 -7
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +3 -3
  448. package/dist/instance.js +348 -348
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +86 -86
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +128 -128
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +83 -83
  460. package/dist/location-services.js +347 -347
  461. package/dist/location.js +84 -84
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +105 -105
  464. package/dist/mcp/instructions.js +121 -121
  465. package/dist/mcp/oauth.js +3 -3
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +7 -7
  469. package/dist/model-resolver.js +86 -86
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +76 -76
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +101 -101
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +86 -86
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +94 -94
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +212 -212
  485. package/dist/plugin/instance.js +3 -3
  486. package/dist/plugin/internal.js +321 -321
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +7 -7
  490. package/dist/plugin/optimize.js +4 -4
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +118 -118
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +114 -114
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +80 -80
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +76 -76
  510. package/dist/plugin/provider/lmstudio.js +117 -117
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +79 -79
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +117 -117
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +80 -80
  517. package/dist/plugin/provider/opencode.js +76 -76
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +117 -117
  526. package/dist/plugin/provider/xai.js +77 -77
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +155 -155
  529. package/dist/plugin/sdk.js +74 -74
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +130 -130
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +340 -340
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +2 -2
  536. package/dist/plugin/vcs/git.js +80 -80
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +112 -112
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +2 -2
  543. package/dist/plugin/websearch/parallel.js +4 -4
  544. package/dist/plugin/websearch/tavily.js +2 -2
  545. package/dist/plugin.js +223 -223
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +83 -83
  549. package/dist/provider.js +5 -5
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +92 -92
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +84 -84
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +93 -93
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +128 -128
  564. package/dist/session/context.js +146 -146
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +5 -5
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +214 -214
  569. package/dist/session/execution.js +119 -119
  570. package/dist/session/generate.js +145 -145
  571. package/dist/session/history.js +12 -12
  572. package/dist/session/inbox.js +84 -84
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +125 -125
  582. package/dist/session/projector.js +82 -82
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +1 -1
  587. package/dist/session/runner/llm.js +224 -224
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +84 -84
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +120 -120
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +168 -168
  596. package/dist/session/shell.js +131 -131
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +73 -73
  600. package/dist/session/store.js +80 -80
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +204 -204
  603. package/dist/session/system-prompt.js +5 -5
  604. package/dist/session/title.js +150 -150
  605. package/dist/session/to-session-error.js +106 -106
  606. package/dist/session/transfer.js +217 -217
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +212 -212
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +11 -11
  613. package/dist/shell.js +131 -131
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +102 -102
  617. package/dist/snapshot.js +86 -86
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +120 -120
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +115 -115
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +211 -211
  631. package/dist/tool/plugin/skill.js +105 -105
  632. package/dist/tool/plugin/subagent.js +213 -213
  633. package/dist/tool/plugin/webfetch.js +104 -104
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +108 -108
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +11 -11
  640. package/dist/util/error-summary.js +1 -1
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +7 -7
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +3 -3
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +2 -2
  653. package/dist/v1/config/formatter.js +3 -3
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +3 -3
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +3 -3
  659. package/dist/v1/config/plugin.js +3 -3
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +80 -80
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +79 -79
  670. package/dist/workspace/driver.js +5 -5
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +78 -78
  673. package/dist/worktree/directory.js +4 -4
  674. package/dist/worktree/git.js +7 -7
  675. package/dist/worktree/refresh.js +339 -339
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +89 -89
  678. package/package.json +7 -7
  679. package/dist/chunks/shell-bax423tc.js +0 -247
  680. package/dist/chunks/shell-mf5kcrna.js +0 -4
  681. package/dist/chunks/shell-q509s3k3.js +0 -18
  682. /package/dist/chunks/{shell-0fabt78z.js → file-mutation-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{shell-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{shell-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{shell-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{shell-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{shell-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{shell-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{shell-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{shell-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{shell-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{shell-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  693. /package/dist/chunks/{shell-3t738kvx.js → file-mutation-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{shell-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{shell-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{shell-41nvscxy.js → file-mutation-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{shell-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{shell-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{shell-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{shell-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  701. /package/dist/chunks/{shell-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{shell-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  703. /package/dist/chunks/{shell-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{shell-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{shell-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  706. /package/dist/chunks/{shell-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{shell-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{shell-982e01ww.js → file-mutation-982e01ww.js} +0 -0
  709. /package/dist/chunks/{shell-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{shell-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{shell-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{shell-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{shell-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{shell-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{shell-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{shell-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{shell-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{shell-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{shell-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{shell-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{shell-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{shell-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{shell-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{shell-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  725. /package/dist/chunks/{shell-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{shell-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{shell-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{shell-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{shell-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{shell-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{shell-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{shell-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{shell-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{shell-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{shell-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{shell-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  737. /package/dist/chunks/{shell-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{shell-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  739. /package/dist/chunks/{shell-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{shell-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{shell-j935v87r.js → file-mutation-j935v87r.js} +0 -0
  742. /package/dist/chunks/{shell-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{shell-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{shell-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{shell-mntxs535.js → file-mutation-mntxs535.js} +0 -0
  746. /package/dist/chunks/{shell-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{shell-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{shell-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{shell-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{shell-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{shell-p8qxwesx.js → file-mutation-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{shell-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{shell-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{shell-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{shell-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{shell-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{shell-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{shell-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{shell-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{shell-se0s1eqw.js → file-mutation-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{shell-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{shell-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{shell-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{shell-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{shell-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{shell-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{shell-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{shell-x1b8g1yb.js → file-mutation-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{shell-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  770. /package/dist/chunks/{shell-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{shell-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{shell-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{shell-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{shell-zbjnn3ac.js → file-mutation-zbjnn3ac.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./shell-p8qxwesx.js";
3
+ } from "./file-mutation-p8qxwesx.js";
4
4
  import {
5
- Service72
6
- } from "./shell-7769r81k.js";
5
+ Service67
6
+ } from "./file-mutation-zjy9mrjh.js";
7
7
  import {
8
- Service62
9
- } from "./shell-ryhm87t0.js";
8
+ Service56
9
+ } from "./file-mutation-ada40aw5.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./shell-wxx0ch5c.js";
13
+ } from "./file-mutation-vj79ke67.js";
14
14
  import {
15
15
  observe2
16
- } from "./shell-qsdy395h.js";
16
+ } from "./file-mutation-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./shell-9rqn6x4v.js";
19
+ } from "./file-mutation-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin28
25
+ Plugin: () => Plugin7
26
26
  });
27
27
  import { define } from "@opencode-ai/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode-ai/util/global";
31
- var Plugin28 = define({
31
+ var Plugin7 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service62;
35
- const location = yield* Service72;
34
+ const config = yield* Service56;
35
+ const location = yield* Service67;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin28, exports_reference };
75
+ export { Plugin7, exports_reference };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./shell-p8qxwesx.js";
3
+ } from "./file-mutation-p8qxwesx.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node79
7
- } from "./shell-46e97tr7.js";
6
+ node74
7
+ } from "./file-mutation-bfr8x9hg.js";
8
8
  import {
9
- ID18
10
- } from "./shell-nag7dxjf.js";
9
+ ID12
10
+ } from "./file-mutation-hpbtcqba.js";
11
11
  import {
12
12
  Slug2
13
- } from "./shell-gebd4c9n.js";
14
- import {
15
- Service80,
16
- node85
17
- } from "./shell-jqrqy21d.js";
13
+ } from "./file-mutation-gebd4c9n.js";
18
14
  import {
19
15
  Service79,
20
16
  node84
21
- } from "./shell-zmghpns8.js";
17
+ } from "./file-mutation-w19ppvv8.js";
18
+ import {
19
+ Service78,
20
+ node83
21
+ } from "./file-mutation-2phvqca6.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./shell-9qm9egsn.js";
24
+ } from "./file-mutation-qvbcabdc.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./shell-ajtjthsy.js";
27
+ } from "./file-mutation-yg7sb877.js";
28
28
  import {
29
- Service72,
30
- node77
31
- } from "./shell-7769r81k.js";
29
+ Service67,
30
+ node72
31
+ } from "./file-mutation-zjy9mrjh.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical3
35
- } from "./shell-y2cqme3r.js";
34
+ canonical2
35
+ } from "./file-mutation-hhpzk61m.js";
36
36
  import {
37
- make20
38
- } from "./shell-2qzq6ga3.js";
37
+ make12
38
+ } from "./file-mutation-vhh9ar68.js";
39
39
  import {
40
40
  create3
41
- } from "./shell-kg06axw8.js";
41
+ } from "./file-mutation-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./shell-9rqn6x4v.js";
44
+ } from "./file-mutation-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event12,
53
- Info: () => Info11,
52
+ Event: () => Event6,
53
+ Info: () => Info4,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service56,
60
+ Service: () => Service19,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node60
66
+ node: () => node23
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info11 = Worktree.Info;
85
+ var Info4 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
89
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
89
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID12, directory: Schema.optional(AbsolutePath2) }) {
90
90
  }
91
91
 
92
92
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event12 = Worktree.Event;
103
+ var Event6 = Worktree.Event;
104
104
 
105
- class Service56 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service19 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service56, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
- const database = yield* Service80;
109
+ const database = yield* Service79;
110
110
  const db = database.db;
111
- const bus = yield* Service79;
111
+ const bus = yield* Service78;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service72;
113
+ const location = yield* Service67;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make20;
117
+ const gitStrategy = yield* make12;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event12.Updated, { projectID });
138
+ yield* bus.publish(Event6.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical3(fs, sourceDirectory);
164
+ const resolved = yield* canonical2(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,8 +193,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical3(fs, created.directory) };
197
- if (result.directory !== (yield* canonical3(fs, worktreeDirectory)))
196
+ const result = { directory: yield* canonical2(fs, created.directory) };
197
+ if (result.directory !== (yield* canonical2(fs, worktreeDirectory)))
198
198
  return yield* new InvalidDirectoryError2({ directory: result.directory });
199
199
  yield* changed(yield* ops.create({
200
200
  directory: result.directory,
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
220
220
  });
221
221
  const remove = Effect.fn("Worktree.remove")(function* (input) {
222
222
  yield* local;
223
- const worktreeDirectory = yield* canonical3(fs, input.directory);
223
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
224
224
  const stored = yield* ops.find(worktreeDirectory);
225
225
  if (!stored?.strategy)
226
226
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
241
241
  for (const strategy of strategies) {
242
242
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
243
243
  for (const entry of entries) {
244
- const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
244
+ const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
245
245
  if (!directory || discovered.has(directory))
246
246
  continue;
247
247
  discovered.set(directory, {
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
259
259
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
260
260
  return changes;
261
261
  });
262
- return Service56.of({
262
+ return Service19.of({
263
263
  transform: state.transform,
264
264
  reload: state.reload,
265
265
  list: Effect.fn("Worktree.list")(function* () {
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
271
271
  refresh
272
272
  });
273
273
  }));
274
- var node60 = makeLocationNode({
275
- service: Service56,
274
+ var node23 = makeLocationNode({
275
+ service: Service19,
276
276
  layer,
277
- deps: [FSUtil.node, node79, node84, node85, AppProcess.node, node77, Global.node]
277
+ deps: [FSUtil.node, node74, node83, node84, AppProcess.node, node72, Global.node]
278
278
  });
279
279
  function operationError(strategy, operation, error) {
280
280
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
284
284
  });
285
285
  }
286
286
 
287
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info11, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event12, Service56, node60, exports_worktree2, OperationError2 };
287
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service19, node23, exports_worktree2, OperationError2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packageName2
3
- } from "./shell-m4bpwynw.js";
3
+ } from "./file-mutation-64z8z5x5.js";
4
4
 
5
5
  // src/plugin/provider/cerebras.ts
6
6
  import { Effect } from "effect";
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID7
3
- } from "./shell-03f98ybe.js";
2
+ ID18
3
+ } from "./file-mutation-6qvt79ej.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./shell-p8qxwesx.js";
6
+ } from "./file-mutation-p8qxwesx.js";
7
7
  import {
8
- Info23
9
- } from "./shell-xnf7zpzd.js";
8
+ Info20
9
+ } from "./file-mutation-babn4frh.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./shell-cmwx9h7j.js";
12
+ } from "./file-mutation-shfaz11f.js";
13
13
  import {
14
14
  latest2,
15
- Service62
16
- } from "./shell-ryhm87t0.js";
15
+ Service56
16
+ } from "./file-mutation-ada40aw5.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./shell-5daktx2q.js";
19
+ } from "./file-mutation-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./shell-9rqn6x4v.js";
22
+ } from "./file-mutation-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin29
28
+ Plugin: () => Plugin15
29
29
  });
30
30
  import { define } from "@opencode-ai/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode-ai/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info23);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info20);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin29 = define({
47
+ var Plugin15 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service62;
50
+ const config = yield* Service56;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin29 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID7.make(configuredDefault));
79
+ editor.default(ID18.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID7.make(id);
85
+ const agentID = ID18.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -160,4 +160,4 @@ function decode(file, content) {
160
160
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
161
161
  }
162
162
 
163
- export { Plugin29, exports_agent };
163
+ export { Plugin15, exports_agent };
@@ -1,63 +1,63 @@
1
- import {
2
- Service80,
3
- node85
4
- } from "./shell-jqrqy21d.js";
5
1
  import {
6
2
  Service79,
7
3
  node84
8
- } from "./shell-zmghpns8.js";
4
+ } from "./file-mutation-w19ppvv8.js";
5
+ import {
6
+ Service78,
7
+ node83
8
+ } from "./file-mutation-2phvqca6.js";
9
9
  import {
10
10
  Service41,
11
- node45
12
- } from "./shell-8fsmte50.js";
11
+ node44
12
+ } from "./file-mutation-k0zpnkm5.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./shell-p8qxwesx.js";
16
+ } from "./file-mutation-p8qxwesx.js";
17
17
  import {
18
- Service73,
19
- node78
20
- } from "./shell-b9mymrzg.js";
18
+ Service68,
19
+ node73
20
+ } from "./file-mutation-cr8sbmwr.js";
21
21
  import {
22
- Ref4
23
- } from "./shell-7769r81k.js";
22
+ Ref2
23
+ } from "./file-mutation-zjy9mrjh.js";
24
24
  import {
25
- Service48,
26
- node52
27
- } from "./shell-xy6tr93g.js";
25
+ Service50,
26
+ node53
27
+ } from "./file-mutation-ptg06ky0.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./shell-982e01ww.js";
30
+ } from "./file-mutation-982e01ww.js";
31
31
  import {
32
- NotFoundError4
33
- } from "./shell-dsfx0j74.js";
32
+ NotFoundError6
33
+ } from "./file-mutation-45a3e49b.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./shell-mntxs535.js";
36
+ } from "./file-mutation-mntxs535.js";
37
37
  import {
38
38
  Service38
39
- } from "./shell-hn57h045.js";
39
+ } from "./file-mutation-hn57h045.js";
40
40
  import {
41
41
  Service46,
42
- node50
43
- } from "./shell-z0hzsv9t.js";
42
+ node49
43
+ } from "./file-mutation-wy24wt1k.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
47
  Service39,
48
- node43,
48
+ node42,
49
49
  moveIDs2
50
- } from "./shell-0bmd60eh.js";
50
+ } from "./file-mutation-s3vrd4d2.js";
51
51
  import {
52
52
  Service37,
53
- node42
54
- } from "./shell-xmwqh1zw.js";
53
+ node41
54
+ } from "./file-mutation-b2cva8t7.js";
55
55
  import {
56
56
  node26
57
- } from "./shell-5chzen2f.js";
57
+ } from "./file-mutation-zr1rg8va.js";
58
58
  import {
59
59
  __export
60
- } from "./shell-9rqn6x4v.js";
60
+ } from "./file-mutation-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service14,
68
+ Service: () => Service21,
69
69
  SessionMove: () => exports_move,
70
- node: () => node18
70
+ node: () => node25
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode-ai/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service14 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service21 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service14, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service73;
92
- const locations = yield* Service48;
91
+ const projects = yield* Service68;
92
+ const locations = yield* Service50;
93
93
  const store = yield* Service46;
94
94
  const execution = yield* Service37;
95
95
  const instances = yield* Service41;
96
96
  const admission = yield* Service39;
97
- const database = yield* Service80;
98
- const bus = yield* Service79;
97
+ const database = yield* Service79;
98
+ const bus = yield* Service78;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError4({ sessionID });
102
+ return yield* new NotFoundError6({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref4.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref2.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
133
133
  return true;
134
134
  return yield* Service38.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service14.of({
136
+ return Service21.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node18 = makeGlobalNode({
167
- service: Service14,
166
+ var node25 = makeGlobalNode({
167
+ service: Service21,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node78,
173
- node52,
174
- node50,
172
+ node73,
173
+ node53,
174
+ node49,
175
+ node41,
176
+ node44,
175
177
  node42,
176
- node45,
177
- node43,
178
- node85,
179
178
  node84,
179
+ node83,
180
180
  node26
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service14, node18, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node25, exports_move };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./shell-2a5m3afh.js";
3
+ } from "./file-mutation-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./shell-p8qxwesx.js";
6
+ } from "./file-mutation-p8qxwesx.js";
7
7
  import {
8
- Service72
9
- } from "./shell-7769r81k.js";
8
+ Service67
9
+ } from "./file-mutation-zjy9mrjh.js";
10
10
  import {
11
- Service68
12
- } from "./shell-f0vxf23b.js";
11
+ Service64
12
+ } from "./file-mutation-62z4m846.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service67
16
- } from "./shell-kvxwx3nk.js";
15
+ Service18
16
+ } from "./file-mutation-w25meggd.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./shell-871gwe26.js";
23
+ } from "./file-mutation-0amw245z.js";
24
24
  import {
25
25
  externalDirectoryPermission2,
26
- Service51
27
- } from "./shell-a26qnsqg.js";
26
+ Service66
27
+ } from "./file-mutation-dk2pae67.js";
28
28
  import {
29
29
  Service45
30
- } from "./shell-9660t85j.js";
30
+ } from "./file-mutation-ger17fbp.js";
31
31
  import {
32
32
  __export
33
- } from "./shell-9rqn6x4v.js";
33
+ } from "./file-mutation-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/grep.ts
36
36
  var exports_grep = {};
37
37
  __export(exports_grep, {
38
38
  GrepTool: () => exports_grep,
39
- Input: () => Input11,
39
+ Input: () => Input12,
40
40
  Output: () => Output8,
41
- Plugin: () => Plugin12,
42
- name: () => name11,
41
+ Plugin: () => Plugin30,
42
+ name: () => name12,
43
43
  toModelContent: () => toModelContent6
44
44
  });
45
45
  import { ToolFailure } from "@opencode-ai/ai";
46
46
  import { Effect, Schema } from "effect";
47
47
  import path from "path";
48
- var name11 = "grep";
49
- var Input11 = Schema.Struct({
48
+ var name12 = "grep";
49
+ var Input12 = Schema.Struct({
50
50
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
51
51
  description: "Regular expression or literal text to match in file contents."
52
52
  }),
@@ -84,19 +84,19 @@ var toModelContent6 = (matches, truncated = false) => {
84
84
  return lines.join(`
85
85
  `);
86
86
  };
87
- var Plugin12 = {
87
+ var Plugin30 = {
88
88
  id: "opencode.tool.grep",
89
89
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
90
- const environment = yield* Service68;
91
- const ripgrep = yield* Service67;
92
- const location = yield* Service72;
93
- const mutation = yield* Service51;
90
+ const environment = yield* Service64;
91
+ const ripgrep = yield* Service18;
92
+ const location = yield* Service67;
93
+ const mutation = yield* Service66;
94
94
  const permission = yield* Service45;
95
95
  yield* ctx.tool.transform((editor) => editor.add({
96
- name: name11,
96
+ name: name12,
97
97
  options: { codemode: false },
98
98
  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.",
99
- input: Input11,
99
+ input: Input12,
100
100
  output: Output8,
101
101
  execute: (input, context) => Effect.gen(function* () {
102
102
  const source = { type: "tool", messageID: context.messageID, id: context.id };
@@ -109,7 +109,7 @@ var Plugin12 = {
109
109
  source
110
110
  });
111
111
  yield* permission.assert({
112
- action: name11,
112
+ action: name12,
113
113
  resources: [input.pattern],
114
114
  save: ["*"],
115
115
  metadata: {
@@ -161,4 +161,4 @@ var Plugin12 = {
161
161
  })
162
162
  };
163
163
 
164
- export { name11, Input11, Output8, toModelContent6, Plugin12, exports_grep };
164
+ export { name12, Input12, Output8, toModelContent6, Plugin30, exports_grep };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./shell-15wrc8zw.js";
3
+ } from "./file-mutation-0ek2w54z.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};