@opencode/core 0.0.0-beta-19288 → 0.0.0-beta-19296

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 (781) 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/{location-p72z5xx6.js → websearch-021awceq.js} +2 -2
  9. package/dist/chunks/{location-pg1rtztb.js → websearch-04zx74aq.js} +53 -53
  10. package/dist/chunks/{location-5kw0n2ma.js → websearch-05xfxpq7.js} +8 -8
  11. package/dist/chunks/{location-k7d0894y.js → websearch-067w384p.js} +9 -9
  12. package/dist/chunks/{location-gxq3v17r.js → websearch-0755jzb2.js} +15 -15
  13. package/dist/chunks/{location-9tk4atd8.js → websearch-0erg3m1e.js} +17 -17
  14. package/dist/chunks/{location-xwwz9aqf.js → websearch-0gr7cw0d.js} +4 -4
  15. package/dist/chunks/{location-apys6pqf.js → websearch-0n9gyfew.js} +4 -4
  16. package/dist/chunks/{location-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{location-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{location-bw60cda1.js → websearch-0vc4g4y4.js} +35 -35
  19. package/dist/chunks/{location-t6dzybgg.js → websearch-11crq5fk.js} +18 -18
  20. package/dist/chunks/{location-g8d3gcyj.js → websearch-19vf66h0.js} +7 -7
  21. package/dist/chunks/{location-ac0cyhm9.js → websearch-1bj5saeq.js} +43 -43
  22. package/dist/chunks/{location-0bzsvv4f.js → websearch-1cc28rc9.js} +8 -8
  23. package/dist/chunks/{location-37hegrs4.js → websearch-1d8a1kez.js} +13 -13
  24. package/dist/chunks/{location-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{location-1dfhrqqs.js → websearch-1dfhrqqs.js} +2 -2
  26. package/dist/chunks/{location-6cd6tdvt.js → websearch-1fz7hf79.js} +6 -6
  27. package/dist/chunks/{location-6zyexpsp.js → websearch-1nx7yvga.js} +15 -15
  28. package/dist/chunks/{location-3xt2dn0n.js → websearch-1q463h1w.js} +13 -13
  29. package/dist/chunks/{location-k1e9d5er.js → websearch-1sfa2a0d.js} +13 -13
  30. package/dist/chunks/{location-d36y1n73.js → websearch-1wc53y1e.js} +12 -12
  31. package/dist/chunks/{location-wyam1r5m.js → websearch-1wxb385z.js} +1 -1
  32. package/dist/chunks/{location-1x11rq2a.js → websearch-1x11rq2a.js} +1 -1
  33. package/dist/chunks/{location-33w4ejhs.js → websearch-1ygqh575.js} +6 -6
  34. package/dist/chunks/{location-21r38tys.js → websearch-21r38tys.js} +1 -1
  35. package/dist/chunks/{location-2402vzrj.js → websearch-2402vzrj.js} +1 -1
  36. package/dist/chunks/{location-q3m96704.js → websearch-26xtjh69.js} +30 -30
  37. package/dist/chunks/{location-z63w68vq.js → websearch-29x78va6.js} +6 -6
  38. package/dist/chunks/{location-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
  39. package/dist/chunks/{location-gsx0ryk4.js → websearch-2bt6bea8.js} +9 -9
  40. package/dist/chunks/{location-qgn6gcr1.js → websearch-2k8khapm.js} +5 -5
  41. package/dist/chunks/{location-ph9kp892.js → websearch-2my2jec7.js} +5 -5
  42. package/dist/chunks/{location-5892jdtn.js → websearch-2n295dmf.js} +8 -8
  43. package/dist/chunks/{location-zkt8qzze.js → websearch-2nkb2xdd.js} +38 -38
  44. package/dist/chunks/{location-3280sxnm.js → websearch-2pfmtds4.js} +3 -3
  45. package/dist/chunks/{location-g190xswt.js → websearch-2pnhn36q.js} +21 -21
  46. package/dist/chunks/{location-gj6r9tb3.js → websearch-2qda5vxm.js} +8 -8
  47. package/dist/chunks/{location-dc76j9wz.js → websearch-2s50d4an.js} +8 -8
  48. package/dist/chunks/{location-v3xga481.js → websearch-2swp24h4.js} +9 -9
  49. package/dist/chunks/{location-07cpqq5c.js → websearch-2xd0aq0j.js} +30 -30
  50. package/dist/chunks/{location-9g2mmtg8.js → websearch-31y9be5w.js} +24 -24
  51. package/dist/chunks/{location-k74qewf5.js → websearch-33jfmvf3.js} +15 -15
  52. package/dist/chunks/{location-24xcqkxa.js → websearch-3are32kr.js} +10 -10
  53. package/dist/chunks/{location-s7pvzq3g.js → websearch-3cftakhg.js} +23 -23
  54. package/dist/chunks/{location-fzhxzx5q.js → websearch-3d2zznj1.js} +28 -28
  55. package/dist/chunks/websearch-3d6cm71h.js +22 -0
  56. package/dist/chunks/{location-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  57. package/dist/chunks/{location-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  58. package/dist/chunks/{location-grrcjh3r.js → websearch-3q76zk4e.js} +6 -6
  59. package/dist/chunks/{location-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  60. package/dist/chunks/{location-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  61. package/dist/chunks/{location-nty3ym86.js → websearch-3vhd93cw.js} +5 -5
  62. package/dist/chunks/{location-th0feps4.js → websearch-45emdgqj.js} +11 -11
  63. package/dist/chunks/{location-v4p0vwen.js → websearch-478vk9r5.js} +14 -14
  64. package/dist/chunks/{location-e46r4s3c.js → websearch-493f7437.js} +11 -11
  65. package/dist/chunks/{location-nmxf6tf3.js → websearch-49v45h60.js} +21 -21
  66. package/dist/chunks/{location-fmxbrafm.js → websearch-4mkcvr19.js} +5 -5
  67. package/dist/chunks/{location-7ny1t5fr.js → websearch-4x3w2b9w.js} +27 -27
  68. package/dist/chunks/{location-xhg80140.js → websearch-50crwb10.js} +23 -23
  69. package/dist/chunks/{location-r6yj4sg3.js → websearch-5cmjskm6.js} +11 -11
  70. package/dist/chunks/{location-mmx9f08p.js → websearch-5d35sq1p.js} +44 -44
  71. package/dist/chunks/{location-5daktx2q.js → websearch-5daktx2q.js} +1 -1
  72. package/dist/chunks/{location-a1z1dycg.js → websearch-5dxe2w0c.js} +24 -24
  73. package/dist/chunks/websearch-5fhb7dgn.js +462 -0
  74. package/dist/chunks/{location-t0x5rdq8.js → websearch-5kptn8c0.js} +9 -9
  75. package/dist/chunks/{location-m43qeqsy.js → websearch-5nsrms9d.js} +1 -1
  76. package/dist/chunks/{location-q221t5h0.js → websearch-5r8gm5p4.js} +9 -9
  77. package/dist/chunks/{location-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
  78. package/dist/chunks/{location-2erkhkk3.js → websearch-61j69c1n.js} +35 -35
  79. package/dist/chunks/{location-w1k39n5e.js → websearch-64kphnzf.js} +4 -4
  80. package/dist/chunks/{location-669tq793.js → websearch-669tq793.js} +1 -1
  81. package/dist/chunks/{location-6qr3rp4k.js → websearch-6ea2fwcg.js} +6 -6
  82. package/dist/chunks/{location-w54brc8f.js → websearch-6j3xmf2b.js} +12 -12
  83. package/dist/chunks/{location-dsd22mfz.js → websearch-6mmbv679.js} +3 -3
  84. package/dist/chunks/{location-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
  85. package/dist/chunks/{location-vxp3kcg3.js → websearch-6xw3seg4.js} +5 -5
  86. package/dist/chunks/{location-71q4at8m.js → websearch-71q4at8m.js} +1 -1
  87. package/dist/chunks/{location-vqkn863g.js → websearch-72gev72r.js} +26 -26
  88. package/dist/chunks/{location-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{location-bbwyhmbr.js → websearch-7ftp1p3n.js} +14 -14
  90. package/dist/chunks/{location-p44d8wdy.js → websearch-7gvwkz6m.js} +5 -5
  91. package/dist/chunks/{location-kqrx6mz9.js → websearch-7jpweqvj.js} +32 -32
  92. package/dist/chunks/{location-vt07bx5r.js → websearch-7ktgg3cs.js} +8 -8
  93. package/dist/chunks/{location-xywxz97c.js → websearch-7zjjknfr.js} +6 -6
  94. package/dist/chunks/{location-x7728wc6.js → websearch-8301y4zq.js} +27 -27
  95. package/dist/chunks/{location-nc3fjawf.js → websearch-83x6p9kd.js} +1 -1
  96. package/dist/chunks/{location-59m3ejf3.js → websearch-89sr0xjz.js} +13 -13
  97. package/dist/chunks/{location-nc09bz1g.js → websearch-8a3zjqsd.js} +32 -32
  98. package/dist/chunks/{location-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
  99. package/dist/chunks/{location-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
  100. package/dist/chunks/{location-v74jsawt.js → websearch-8t6t38nc.js} +32 -32
  101. package/dist/chunks/{location-nxts4mre.js → websearch-8xch1t93.js} +24 -24
  102. package/dist/chunks/{location-p8vbaxe4.js → websearch-8yxyf177.js} +27 -27
  103. package/dist/chunks/{location-kkedg04s.js → websearch-94sf61n7.js} +11 -11
  104. package/dist/chunks/{location-dtyxkw1z.js → websearch-98raenma.js} +26 -26
  105. package/dist/chunks/{location-ztj8pse5.js → websearch-9c1zk87q.js} +15 -15
  106. package/dist/chunks/{location-7x5129vx.js → websearch-9g8bh1ef.js} +12 -12
  107. package/dist/chunks/{location-gxbbas38.js → websearch-9j5rkn4p.js} +15 -15
  108. package/dist/chunks/{location-mgcrt4av.js → websearch-9jvy7ydv.js} +43 -43
  109. package/dist/chunks/{location-qgzeej5c.js → websearch-9np0bycx.js} +5 -5
  110. package/dist/chunks/{location-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
  111. package/dist/chunks/{location-aaet6srn.js → websearch-aaet6srn.js} +2 -2
  112. package/dist/chunks/{location-sx1n432n.js → websearch-an7cqtb7.js} +4 -4
  113. package/dist/chunks/{location-qa467n4w.js → websearch-awadhvm4.js} +3 -3
  114. package/dist/chunks/{location-0zzhyfap.js → websearch-b2zg7s1d.js} +11 -11
  115. package/dist/chunks/{location-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{location-6wfj5a9a.js → websearch-b7ns8anh.js} +6 -6
  117. package/dist/chunks/{location-0yq2vxwx.js → websearch-c29cwycq.js} +23 -23
  118. package/dist/chunks/{location-gwzbkwjt.js → websearch-c5ykpkef.js} +17 -17
  119. package/dist/chunks/{location-27xkhkzw.js → websearch-c6vv51zx.js} +24 -24
  120. package/dist/chunks/{location-r8a1vay2.js → websearch-c76p7jxk.js} +9 -9
  121. package/dist/chunks/{location-7ny3kv6n.js → websearch-c7ecgrk6.js} +8 -8
  122. package/dist/chunks/{location-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{location-q26tgv94.js → websearch-cmwkp3r5.js} +8 -8
  124. package/dist/chunks/{location-bha4atvq.js → websearch-cq37gk0t.js} +4 -4
  125. package/dist/chunks/{location-jp8bt662.js → websearch-czx16w8t.js} +23 -23
  126. package/dist/chunks/{location-0dh601sh.js → websearch-d4egmwvg.js} +9 -9
  127. package/dist/chunks/{location-at3ax2rg.js → websearch-d6nr5nr7.js} +30 -30
  128. package/dist/chunks/{location-g72gjvtz.js → websearch-d95h25nb.js} +8 -8
  129. package/dist/chunks/{location-6y8723ne.js → websearch-dbehg565.js} +29 -29
  130. package/dist/chunks/{location-jzx475sk.js → websearch-dbyn5c67.js} +60 -60
  131. package/dist/chunks/{location-depwzj9d.js → websearch-depwzj9d.js} +2 -2
  132. package/dist/chunks/{location-zb0kem16.js → websearch-dfvdhkr9.js} +20 -20
  133. package/dist/chunks/{location-nvpsz6mb.js → websearch-dhrxvkq0.js} +1 -1
  134. package/dist/chunks/{location-t0fxg8b9.js → websearch-dqmwfghx.js} +5 -5
  135. package/dist/chunks/{location-barpv3dv.js → websearch-dr2w76rp.js} +31 -31
  136. package/dist/chunks/{location-9jbrb7s7.js → websearch-dyn65gx1.js} +17 -17
  137. package/dist/chunks/{location-akj0j9h5.js → websearch-e5q5a43z.js} +2 -2
  138. package/dist/chunks/{location-8dr2m966.js → websearch-e90e9h05.js} +9 -9
  139. package/dist/chunks/{location-dj7v5w9k.js → websearch-ed6htbmz.js} +4 -4
  140. package/dist/chunks/{location-xvs1sa11.js → websearch-en74w496.js} +5 -5
  141. package/dist/chunks/{location-mhkvc446.js → websearch-eq1pz5kg.js} +3 -3
  142. package/dist/chunks/{location-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{location-5dgmpcyt.js → websearch-f0a6vjf3.js} +19 -19
  144. package/dist/chunks/{location-34njjamc.js → websearch-f1qy17ef.js} +10 -10
  145. package/dist/chunks/{location-7wpt1821.js → websearch-f6j0t076.js} +19 -19
  146. package/dist/chunks/{location-f828m53h.js → websearch-f828m53h.js} +2 -2
  147. package/dist/chunks/{location-02hgpx06.js → websearch-fgtgmky3.js} +7 -7
  148. package/dist/chunks/{location-41jkd1br.js → websearch-fm348ene.js} +24 -24
  149. package/dist/chunks/{location-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{location-t45krj2e.js → websearch-g0xxe7ep.js} +6 -6
  151. package/dist/chunks/{location-vjv4gnc9.js → websearch-g196mbqx.js} +26 -26
  152. package/dist/chunks/{location-t21qt4wp.js → websearch-g1pypaes.js} +8 -8
  153. package/dist/chunks/{location-x8pfpgt4.js → websearch-gbr9kgm4.js} +9 -9
  154. package/dist/chunks/{location-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  155. package/dist/chunks/websearch-gnzk2c3p.js +228 -0
  156. package/dist/chunks/{location-9k1y1b4w.js → websearch-gpamd96a.js} +6 -6
  157. package/dist/chunks/{location-nrg6p0d7.js → websearch-gqbb51sz.js} +20 -20
  158. package/dist/chunks/{location-astwgj0c.js → websearch-gqvas9p6.js} +11 -11
  159. package/dist/chunks/{location-9h3amn4q.js → websearch-gt0cxfk7.js} +1 -1
  160. package/dist/chunks/{location-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{location-rfnzy394.js → websearch-gx1zhcta.js} +1 -1
  162. package/dist/chunks/{location-h03wrkyp.js → websearch-h03wrkyp.js} +2 -2
  163. package/dist/chunks/{location-tz2p0jnc.js → websearch-h212frhe.js} +62 -62
  164. package/dist/chunks/{location-8t891vs4.js → websearch-h6tzq0g1.js} +11 -11
  165. package/dist/chunks/{location-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{location-x1aqk77e.js → websearch-h7nqhz63.js} +10 -10
  167. package/dist/chunks/{location-bbd53drz.js → websearch-ha64d30f.js} +177 -177
  168. package/dist/chunks/{location-atdh1fr1.js → websearch-hgsze466.js} +33 -33
  169. package/dist/chunks/{location-cy6spc12.js → websearch-hj64bk9y.js} +7 -7
  170. package/dist/chunks/{location-81c9b8hz.js → websearch-hjcw82wr.js} +4 -4
  171. package/dist/chunks/{location-afdssyjb.js → websearch-hn57h045.js} +4 -4
  172. package/dist/chunks/{location-22zgx542.js → websearch-hpm7wbtc.js} +4 -4
  173. package/dist/chunks/{location-xgcvvaqd.js → websearch-htmh7j47.js} +12 -12
  174. package/dist/chunks/{location-t97t2t7r.js → websearch-htw1ycyk.js} +11 -11
  175. package/dist/chunks/{location-3cxp5vcp.js → websearch-hyj2vz80.js} +4 -4
  176. package/dist/chunks/{location-e328z05c.js → websearch-j22b20c9.js} +14 -14
  177. package/dist/chunks/{location-dwvzh0g2.js → websearch-j5208yae.js} +6 -6
  178. package/dist/chunks/{location-j56e64zr.js → websearch-j56e64zr.js} +1 -1
  179. package/dist/chunks/{location-paphc93g.js → websearch-j935v87r.js} +2 -2
  180. package/dist/chunks/{location-9k0trt10.js → websearch-jgjn4qh1.js} +11 -11
  181. package/dist/chunks/{location-3rx2nwvc.js → websearch-jhetwysa.js} +3 -3
  182. package/dist/chunks/{location-bgeh6wn9.js → websearch-jskxt0f7.js} +17 -17
  183. package/dist/chunks/{location-jwye7syw.js → websearch-jx8g4evx.js} +9 -9
  184. package/dist/chunks/{location-7w1wksne.js → websearch-k2w7c5ek.js} +4 -4
  185. package/dist/chunks/{location-y6498y89.js → websearch-k5jec5xd.js} +20 -20
  186. package/dist/chunks/{location-2f04pwep.js → websearch-k6yq57aq.js} +3 -3
  187. package/dist/chunks/{location-eb6ejpsy.js → websearch-k8exn2cw.js} +23 -23
  188. package/dist/chunks/{location-kg06axw8.js → websearch-kg06axw8.js} +1 -1
  189. package/dist/chunks/{location-xpbp2ggf.js → websearch-kkyjec0m.js} +22 -22
  190. package/dist/chunks/{location-d2412gps.js → websearch-kq8jn941.js} +17 -17
  191. package/dist/chunks/{location-7zmb2mwr.js → websearch-kxwbgyam.js} +3 -3
  192. package/dist/chunks/{location-essgt512.js → websearch-m2f4f69a.js} +84 -84
  193. package/dist/chunks/{location-yg5x8fk4.js → websearch-m5q1xh1y.js} +16 -16
  194. package/dist/chunks/{location-p2fyd12k.js → websearch-m68hgq7s.js} +20 -20
  195. package/dist/chunks/{location-qfrw2mns.js → websearch-m71ma2ar.js} +19 -19
  196. package/dist/chunks/{location-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{location-jjmq01nn.js → websearch-mgj6a2ns.js} +36 -36
  198. package/dist/chunks/{location-h9kgsp7e.js → websearch-mjqsc3m4.js} +30 -30
  199. package/dist/chunks/{location-mkcjrzeh.js → websearch-mkcjrzeh.js} +1 -1
  200. package/dist/chunks/{location-qy2vc8de.js → websearch-mma61h02.js} +11 -11
  201. package/dist/chunks/{location-r5paa9gw.js → websearch-mrgdqvct.js} +13 -13
  202. package/dist/chunks/{location-95c54xjs.js → websearch-mss67jyv.js} +41 -41
  203. package/dist/chunks/{location-3v0ddjaj.js → websearch-n08x0d0z.js} +11 -11
  204. package/dist/chunks/{location-vma08mpn.js → websearch-n57936qs.js} +18 -18
  205. package/dist/chunks/{location-nhy5jxhy.js → websearch-nhy5jxhy.js} +1 -1
  206. package/dist/chunks/{location-66sq9ze3.js → websearch-nxjw51y5.js} +26 -26
  207. package/dist/chunks/{location-td52w80p.js → websearch-p08t8n2g.js} +20 -20
  208. package/dist/chunks/{location-5h99c1kf.js → websearch-p0vcawym.js} +6 -6
  209. package/dist/chunks/{location-0njzyrny.js → websearch-p4q4hee3.js} +28 -28
  210. package/dist/chunks/{location-yzcb4rs3.js → websearch-pcpkg30b.js} +12 -12
  211. package/dist/chunks/{location-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{location-pknna89w.js → websearch-pknna89w.js} +1 -1
  213. package/dist/chunks/{location-6h508dp1.js → websearch-pn3svwfm.js} +17 -17
  214. package/dist/chunks/{location-a1qbdnb3.js → websearch-q1hatp1z.js} +84 -84
  215. package/dist/chunks/{location-q636n16a.js → websearch-q7h5d3m6.js} +44 -44
  216. package/dist/chunks/{location-4m2pmvxz.js → websearch-qfzde7bh.js} +6 -6
  217. package/dist/chunks/{location-4n03wa3j.js → websearch-qs9hxpkb.js} +35 -35
  218. package/dist/chunks/{location-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  219. package/dist/chunks/{location-77vyn52g.js → websearch-qttzxqf3.js} +32 -32
  220. package/dist/chunks/{location-xtbntpkm.js → websearch-qvnm1bpb.js} +7 -7
  221. package/dist/chunks/{location-fw0f0qsw.js → websearch-qy32snha.js} +46 -46
  222. package/dist/chunks/{location-v75cpdd6.js → websearch-r3zq2d2f.js} +15 -15
  223. package/dist/chunks/{location-1hfsjvjf.js → websearch-r4tjn19r.js} +27 -27
  224. package/dist/chunks/{location-2ydbzgba.js → websearch-r76bmaj0.js} +4 -4
  225. package/dist/chunks/{location-ydpmm19b.js → websearch-rf53tn46.js} +17 -17
  226. package/dist/chunks/{location-eaj1djv9.js → websearch-rhjbct0v.js} +8 -8
  227. package/dist/chunks/{location-d6x20h48.js → websearch-rhpv4pef.js} +40 -40
  228. package/dist/chunks/{location-81swgkk7.js → websearch-rk0rec3h.js} +9 -9
  229. package/dist/chunks/{location-jefma2gq.js → websearch-rme5v0wm.js} +10 -10
  230. package/dist/chunks/{location-sm589ezq.js → websearch-rmvjz9y5.js} +39 -39
  231. package/dist/chunks/{location-yrznvahk.js → websearch-s4enseaf.js} +2 -2
  232. package/dist/chunks/{location-m3g1yjqx.js → websearch-sdet2h3j.js} +22 -22
  233. package/dist/chunks/{location-kkcepbrv.js → websearch-sgfkh1bp.js} +4 -4
  234. package/dist/chunks/{location-2dqf8fez.js → websearch-snxt8tdc.js} +4 -4
  235. package/dist/chunks/{location-w4arg62q.js → websearch-ss0awb04.js} +6 -6
  236. package/dist/chunks/{location-9zb490gy.js → websearch-svekdxsq.js} +10 -10
  237. package/dist/chunks/{location-61f9xf4r.js → websearch-sx0p1kt4.js} +5 -5
  238. package/dist/chunks/websearch-szyg4q7j.js +247 -0
  239. package/dist/chunks/{location-fvz0rdtn.js → websearch-t41sh3fy.js} +12 -12
  240. package/dist/chunks/{location-cek2cznd.js → websearch-t8mcaem5.js} +1 -1
  241. package/dist/chunks/{location-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{location-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{location-1kqd8z3g.js → websearch-tct0adjb.js} +4 -4
  244. package/dist/chunks/{location-tdstcens.js → websearch-tdstcens.js} +1 -1
  245. package/dist/chunks/{location-2n69zwpj.js → websearch-thph018j.js} +23 -23
  246. package/dist/chunks/{location-dt587sme.js → websearch-tpq6rqx4.js} +33 -33
  247. package/dist/chunks/{location-tvtrv512.js → websearch-tvtrv512.js} +1 -1
  248. package/dist/chunks/{location-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  249. package/dist/chunks/{location-rqay9ghw.js → websearch-vfwqcd3q.js} +24 -24
  250. package/dist/chunks/{location-f3wm46p4.js → websearch-vn6k26c2.js} +10 -10
  251. package/dist/chunks/{location-p7tj0pd3.js → websearch-vqdnz30e.js} +15 -15
  252. package/dist/chunks/{location-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{location-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{location-hapt17z5.js → websearch-w8cshh8g.js} +24 -24
  255. package/dist/chunks/{location-yjptyezs.js → websearch-wbkyxrgf.js} +5 -5
  256. package/dist/chunks/{location-wd87259q.js → websearch-wd87259q.js} +1 -1
  257. package/dist/chunks/{location-51e3a5p7.js → websearch-wg42tg3h.js} +6 -6
  258. package/dist/chunks/{location-t4a9fvmm.js → websearch-wshz9cdg.js} +26 -26
  259. package/dist/chunks/{location-6xkqp8dp.js → websearch-wxbxhdt4.js} +10 -10
  260. package/dist/chunks/{location-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{location-ap0kd4ae.js → websearch-x3y69024.js} +15 -15
  262. package/dist/chunks/{location-x43y2vfs.js → websearch-x43y2vfs.js} +2 -2
  263. package/dist/chunks/{location-av62z334.js → websearch-xgz9es2x.js} +35 -35
  264. package/dist/chunks/{location-n2qrf0kt.js → websearch-xh5pks4n.js} +51 -51
  265. package/dist/chunks/{location-2699pam8.js → websearch-xrn84mgy.js} +28 -28
  266. package/dist/chunks/{location-8pa9qqqg.js → websearch-xsg863kr.js} +19 -19
  267. package/dist/chunks/{location-hnbxh1ec.js → websearch-xycjtdwc.js} +2 -2
  268. package/dist/chunks/{location-4ctep4ed.js → websearch-y19x3nk6.js} +16 -16
  269. package/dist/chunks/{location-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{location-y71avatq.js → websearch-y71avatq.js} +1 -1
  271. package/dist/chunks/{location-7zfdt07m.js → websearch-yet3n8wb.js} +7 -7
  272. package/dist/chunks/{location-r8xr0va3.js → websearch-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{location-1xnwpsdb.js → websearch-ypmm91wz.js} +28 -28
  274. package/dist/chunks/{location-t2y4ag3j.js → websearch-yr3g59gf.js} +18 -18
  275. package/dist/chunks/{location-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{location-djxjwwc9.js → websearch-yvmq8qxx.js} +12 -12
  277. package/dist/chunks/{location-4ycpd48q.js → websearch-yzjzatkn.js} +11 -11
  278. package/dist/chunks/{location-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{location-9enfn6ca.js → websearch-z19yvwwa.js} +65 -65
  280. package/dist/chunks/{location-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{location-ejcg2d9c.js → websearch-zgt86zhe.js} +27 -27
  282. package/dist/chunks/{location-bjyyddbn.js → websearch-zqcqevqh.js} +11 -11
  283. package/dist/chunks/{location-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{location-39gsfx95.js → websearch-zvx2hyhz.js} +24 -24
  285. package/dist/chunks/{location-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{location-3rran09x.js → websearch-zxwpk2nb.js} +1 -1
  287. package/dist/chunks/{location-gxr1dr9e.js → websearch-zyr433b0.js} +11 -11
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +117 -117
  303. package/dist/config/plugin/mcp.js +124 -124
  304. package/dist/config/plugin/policy.js +112 -112
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +134 -134
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +72 -72
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +79 -79
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +84 -84
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +131 -131
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +74 -74
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +112 -112
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +84 -84
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +94 -94
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +80 -80
  522. package/dist/plugin/provider/opencode.js +76 -76
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -5
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +117 -117
  531. package/dist/plugin/provider/xai.js +77 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +72 -72
  535. package/dist/plugin/service.js +1 -1
  536. package/dist/plugin/skill.js +133 -133
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +340 -340
  539. package/dist/plugin/update.js +2 -2
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +82 -82
  542. package/dist/plugin/vcs/hg.js +82 -82
  543. package/dist/plugin/warming.js +112 -112
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +218 -218
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +7 -7
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +86 -86
  559. package/dist/reference/instructions.js +82 -82
  560. package/dist/reference.js +86 -86
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +91 -91
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +72 -72
  568. package/dist/session/compaction.js +129 -129
  569. package/dist/session/context.js +147 -147
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +122 -122
  575. package/dist/session/generate.js +148 -148
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +92 -92
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +113 -113
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +126 -126
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +100 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +85 -85
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +225 -225
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +86 -86
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +110 -110
  598. package/dist/session/runner/step.js +119 -119
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +167 -167
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +98 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +71 -71
  606. package/dist/session/store.js +83 -83
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +149 -149
  611. package/dist/session/to-session-error.js +107 -107
  612. package/dist/session/transfer.js +215 -215
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +133 -133
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +102 -102
  622. package/dist/skill.js +103 -103
  623. package/dist/snapshot.js +86 -86
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +119 -119
  628. package/dist/tool/plugin/edit.js +115 -115
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +120 -120
  631. package/dist/tool/plugin/grep.js +120 -120
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +117 -117
  634. package/dist/tool/plugin/question.js +98 -98
  635. package/dist/tool/plugin/read.js +119 -119
  636. package/dist/tool/plugin/shell.js +210 -210
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +214 -214
  639. package/dist/tool/plugin/webfetch.js +107 -107
  640. package/dist/tool/plugin/websearch.js +107 -107
  641. package/dist/tool/plugin/write.js +117 -117
  642. package/dist/tool/read-filesystem.js +96 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/types/plugin/provider/snowflake-cortex.d.ts +5 -4
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +79 -79
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/location-cbzcwh25.js +0 -22
  687. package/dist/chunks/location-d5hy5d1s.js +0 -71
  688. package/dist/chunks/location-nzwad44m.js +0 -462
  689. package/dist/chunks/location-w6mxp700.js +0 -247
  690. /package/dist/chunks/{location-0mesazry.js → websearch-0mesazry.js} +0 -0
  691. /package/dist/chunks/{location-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{location-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{location-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{location-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{location-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{location-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{location-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{location-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{location-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{location-3asan66x.js → websearch-3asan66x.js} +0 -0
  701. /package/dist/chunks/{location-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{location-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{location-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{location-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{location-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{location-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{location-53557ph1.js → websearch-53557ph1.js} +0 -0
  708. /package/dist/chunks/{location-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{location-6prwharc.js → websearch-6prwharc.js} +0 -0
  710. /package/dist/chunks/{location-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{location-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{location-822emrt2.js → websearch-822emrt2.js} +0 -0
  713. /package/dist/chunks/{location-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{location-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{location-922hggd3.js → websearch-922hggd3.js} +0 -0
  716. /package/dist/chunks/{location-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{location-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{location-a1tpkmh4.js → websearch-a1tpkmh4.js} +0 -0
  719. /package/dist/chunks/{location-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{location-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{location-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{location-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{location-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{location-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{location-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{location-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{location-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{location-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{location-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{location-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{location-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{location-df08tz66.js → websearch-df08tz66.js} +0 -0
  733. /package/dist/chunks/{location-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{location-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{location-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{location-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{location-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{location-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{location-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{location-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{location-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{location-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{location-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{location-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{location-g86h250q.js → websearch-g86h250q.js} +0 -0
  746. /package/dist/chunks/{location-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{location-gftt206x.js → websearch-gftt206x.js} +0 -0
  748. /package/dist/chunks/{location-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{location-hk9envan.js → websearch-hk9envan.js} +0 -0
  750. /package/dist/chunks/{location-hrnqkpcd.js → websearch-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{location-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{location-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{location-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{location-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{location-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{location-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{location-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{location-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{location-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{location-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{location-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{location-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{location-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{location-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{location-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{location-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{location-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{location-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{location-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{location-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{location-twg0f83k.js → websearch-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{location-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{location-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{location-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{location-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{location-x61499pn.js → websearch-x61499pn.js} +0 -0
  777. /package/dist/chunks/{location-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{location-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{location-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{location-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{location-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-xgcvvaqd.js";
2
+ Service78,
3
+ node83
4
+ } from "./websearch-htmh7j47.js";
5
5
  import {
6
6
  environment2
7
- } from "./location-qfrw2mns.js";
7
+ } from "./websearch-m71ma2ar.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./location-sk3qaz4a.js";
10
+ } from "./websearch-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./websearch-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options3,
19
+ NotFoundError: () => NotFoundError5,
20
+ Options: () => Options5,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service18,
22
+ Service: () => Service52,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured3,
25
- layer: () => layer10,
26
- node: () => node22
24
+ configured: () => configured5,
25
+ layer: () => layer20,
26
+ node: () => node55
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options5 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service18 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service52 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* () {
53
- const bus = yield* Service79;
52
+ var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* () {
53
+ const bus = yield* Service78;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError5({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service18.of({
242
+ return Service52.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer10 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service18,
261
- layer: options === undefined ? layer10 : makeLayer(options),
262
- deps: [node84, Global.node]
258
+ var layer20 = makeLayer();
259
+ var configured5 = (options) => makeGlobalNode({
260
+ service: Service52,
261
+ layer: options === undefined ? layer20 : makeLayer(options),
262
+ deps: [node83, Global.node]
263
263
  });
264
- var node22 = configured3();
264
+ var node55 = configured5();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError3, Service18, layer10, configured3, node22, exports_persistent_pty, Handoff2 };
304
+ export { Options5, UnavailableError3, NotFoundError5, Service52, layer20, configured5, node55, exports_persistent_pty, Handoff2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Ref4
3
- } from "./location-6h508dp1.js";
2
+ Ref2
3
+ } from "./websearch-pn3svwfm.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./websearch-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service62,
12
+ Service: () => Service70,
13
13
  canonical: () => canonical3,
14
- node: () => node67
14
+ node: () => node75
15
15
  });
16
16
  import { Context, Effect, Layer } from "effect";
17
17
  import { LayerNode } from "@opencode/util/effect/layer-node";
18
18
  import { Node } from "@opencode/util/effect/app-node";
19
19
  import { AbsolutePath } from "@opencode/schema/schema";
20
20
  import path from "path";
21
- class Service62 extends Context.Service()("@opencode/example/LocationServiceMap") {
21
+ class Service70 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
22
  static get(ref) {
23
- return Layer.unwrap(Effect.map(Service62, (locations) => locations.get(ref)));
23
+ return Layer.unwrap(Effect.map(Service70, (locations) => locations.get(ref)));
24
24
  }
25
25
  }
26
- var node67 = LayerNode.unbound(Service62, Node.tags.values.global);
26
+ var node75 = LayerNode.unbound(Service70, Node.tags.values.global);
27
27
  function canonical3(ref) {
28
- return Ref4.make({
28
+ return Ref2.make({
29
29
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
30
30
  workspaceID: ref.workspaceID
31
31
  });
32
32
  }
33
33
 
34
- export { Service62, node67, canonical3, exports_location_service_map };
34
+ export { Service70, node75, canonical3, exports_location_service_map };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./location-6h508dp1.js";
2
+ Service71,
3
+ node76
4
+ } from "./websearch-pn3svwfm.js";
5
5
  import {
6
6
  create3
7
- } from "./location-kg06axw8.js";
7
+ } from "./websearch-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./websearch-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service19,
17
- node: () => node23
16
+ Service: () => Service14,
17
+ node: () => node17
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service19 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service14 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service19, Effect.gen(function* () {
27
- const location = yield* Service76;
26
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
27
+ const location = yield* Service71;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service19.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service14.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node23 = makeLocationNode({
91
- service: Service19,
90
+ var node17 = makeLocationNode({
91
+ service: Service14,
92
92
  layer,
93
- deps: [node81, AppProcess.node]
93
+ deps: [node76, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service19, node23, exports_formatter2 };
96
+ export { Service14, node17, exports_formatter2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./location-3w5fmr99.js";
4
+ } from "./websearch-3w5fmr99.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./websearch-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./location-2a5m3afh.js";
3
+ } from "./websearch-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-922hggd3.js";
6
+ } from "./websearch-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./location-6h508dp1.js";
8
+ Service71
9
+ } from "./websearch-pn3svwfm.js";
10
10
  import {
11
- Service52
12
- } from "./location-39gsfx95.js";
11
+ Service65
12
+ } from "./websearch-zvx2hyhz.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service24
16
- } from "./location-e328z05c.js";
15
+ Service18
16
+ } from "./websearch-j22b20c9.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 "./location-nmxf6tf3.js";
23
+ } from "./websearch-49v45h60.js";
24
24
  import {
25
- Service71
26
- } from "./location-tz2p0jnc.js";
25
+ Service54
26
+ } from "./websearch-h212frhe.js";
27
27
  import {
28
- Service56
29
- } from "./location-d2412gps.js";
28
+ Service19
29
+ } from "./websearch-kq8jn941.js";
30
30
  import {
31
31
  __export
32
- } from "./location-9rqn6x4v.js";
32
+ } from "./websearch-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input9,
39
- Output: () => Output7,
40
- Plugin: () => Plugin9,
41
- name: () => name9,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input12,
39
+ Output: () => Output8,
40
+ Plugin: () => Plugin26,
41
+ name: () => name12,
42
+ toModelContent: () => toModelContent6
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name9 = "grep";
48
- var Input9 = Schema.Struct({
47
+ var name12 = "grep";
48
+ var Input12 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output7 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output8 = Schema.Array(Match2);
69
+ var toModelContent6 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin9 = {
86
+ var Plugin26 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service52;
90
- const ripgrep = yield* Service24;
91
- const location = yield* Service76;
92
- const access = yield* Service56;
93
- const permission = yield* Service71;
89
+ const environment = yield* Service65;
90
+ const ripgrep = yield* Service18;
91
+ const location = yield* Service71;
92
+ const access = yield* Service19;
93
+ const permission = yield* Service54;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name9,
95
+ name: name12,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input9,
99
- output: Output7,
98
+ input: Input12,
99
+ output: Output8,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name9,
105
+ action: name12,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin9 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent6(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin9 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name9, Input9, Output7, toModelContent5, Plugin9, exports_grep };
157
+ export { name12, Input12, Output8, toModelContent6, Plugin26, exports_grep };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-xgcvvaqd.js";
2
+ Service78,
3
+ node83
4
+ } from "./websearch-htmh7j47.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./location-6h508dp1.js";
6
+ Service71,
7
+ node76
8
+ } from "./websearch-pn3svwfm.js";
9
9
  import {
10
- Service52,
11
- node57
12
- } from "./location-39gsfx95.js";
10
+ Service65,
11
+ node68
12
+ } from "./websearch-zvx2hyhz.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./location-gd4qta3r.js";
15
+ } from "./websearch-gd4qta3r.js";
16
16
  import {
17
- Service47,
17
+ Service63,
18
18
  args2,
19
- node52
20
- } from "./location-qfrw2mns.js";
19
+ node66
20
+ } from "./websearch-m71ma2ar.js";
21
21
  import {
22
- Service75,
23
- node80
24
- } from "./location-dc76j9wz.js";
22
+ Service64,
23
+ node67
24
+ } from "./websearch-2s50d4an.js";
25
25
  import {
26
- Service43,
27
- node48
28
- } from "./location-5892jdtn.js";
26
+ Service59,
27
+ node62
28
+ } from "./websearch-2n295dmf.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./location-2f04pwep.js";
31
+ } from "./websearch-k6yq57aq.js";
32
32
  import {
33
33
  latest2,
34
- Service45,
35
- node50
36
- } from "./location-mmx9f08p.js";
34
+ Service60,
35
+ node63
36
+ } from "./websearch-5d35sq1p.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./location-d36y1n73.js";
40
+ } from "./websearch-1wc53y1e.js";
41
41
  import {
42
42
  __export
43
- } from "./location-9rqn6x4v.js";
43
+ } from "./websearch-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError8,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service42,
51
+ Service: () => Service58,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node47
54
+ node: () => node61
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service42 extends Context.Service()("@opencode/Shell") {
73
+ class Service58 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service42, Effect.gen(function* () {
90
- const bus = yield* Service79;
91
- const location = yield* Service76;
89
+ var layer = () => Layer.effect(Service58, Effect.gen(function* () {
90
+ const bus = yield* Service78;
91
+ const location = yield* Service71;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service47;
94
- const environment = yield* Service52;
95
- const hooks = yield* Service75;
96
- const environments = yield* Service43;
97
- const config = yield* Service45;
93
+ const shell = yield* Service63;
94
+ const environment = yield* Service65;
95
+ const hooks = yield* Service64;
96
+ const environments = yield* Service59;
97
+ const config = yield* Service60;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError5({ id });
118
+ return yield* new NotFoundError8({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError5({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError8({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service42.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service58.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node47 = makeLocationNode({
320
- service: Service42,
319
+ var node61 = makeLocationNode({
320
+ service: Service58,
321
321
  layer: layer(),
322
322
  deps: [
323
- node84,
324
- node81,
323
+ node83,
324
+ node76,
325
325
  Global.node,
326
- node52,
327
- node57,
328
- node80,
329
- node48,
330
- node50,
326
+ node66,
327
+ node68,
328
+ node67,
329
+ node62,
330
+ node63,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service42, cleanup2, node47, exports_shell4 };
335
+ export { NotFoundError8, RETENTION2, DIRECTORY2, Service58, cleanup2, node61, exports_shell4 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-xgcvvaqd.js";
2
+ Service78,
3
+ node83
4
+ } from "./websearch-htmh7j47.js";
5
5
  import {
6
- Service37,
7
- node41
8
- } from "./location-pg1rtztb.js";
6
+ Service30,
7
+ node34
8
+ } from "./websearch-04zx74aq.js";
9
9
  import {
10
- Service71,
11
- node76
12
- } from "./location-tz2p0jnc.js";
10
+ Service54,
11
+ node57
12
+ } from "./websearch-h212frhe.js";
13
13
  import {
14
- Service40,
15
- node44
16
- } from "./location-9g2mmtg8.js";
14
+ Service33,
15
+ node37
16
+ } from "./websearch-31y9be5w.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./websearch-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service32,
26
- layer: () => layer13,
25
+ Service: () => Service24,
26
+ layer: () => layer11,
27
27
  name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node36
29
+ node: () => node28
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service32 extends Context.Service()("@opencode/McpTool") {
38
+ class Service24 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service32, Effect.gen(function* () {
41
- const mcp = yield* Service37;
42
- const tools = yield* Service40;
43
- const bus = yield* Service79;
44
- const permission = yield* Service71;
40
+ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
41
+ const mcp = yield* Service30;
42
+ const tools = yield* Service33;
43
+ const bus = yield* Service78;
44
+ const permission = yield* Service54;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node36 = makeLocationNode({
118
- service: Service32,
119
- layer: layer13,
120
- deps: [node44, node41, node84, node76]
117
+ var node28 = makeLocationNode({
118
+ service: Service24,
119
+ layer: layer11,
120
+ deps: [node37, node34, node83, node57]
121
121
  });
122
122
 
123
- export { namespace2, name13, Service32, layer13, node36, exports_mcp3 };
123
+ export { namespace2, name13, Service24, layer11, node28, exports_mcp3 };