@opencode/core 0.0.0-dev-20845 → 0.0.0-dev-20846

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{websearch-rexg04m1.js → tool-04yjvv9z.js} +3 -3
  8. package/dist/chunks/{websearch-jvf3yq6v.js → tool-06x8he3q.js} +4 -4
  9. package/dist/chunks/{websearch-vswsbfgz.js → tool-077nw9md.js} +22 -22
  10. package/dist/chunks/{websearch-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{websearch-gwva2jq6.js → tool-0pksd81t.js} +5 -5
  12. package/dist/chunks/{websearch-tk7qgmyp.js → tool-0s3jeq9v.js} +10 -10
  13. package/dist/chunks/{websearch-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{websearch-h9nmvtcp.js → tool-10h6aaxa.js} +11 -11
  15. package/dist/chunks/{websearch-wavhfayw.js → tool-161awap4.js} +24 -24
  16. package/dist/chunks/{websearch-w1z493z1.js → tool-1dp4rae7.js} +37 -37
  17. package/dist/chunks/{websearch-9kjtg0w1.js → tool-1km6676t.js} +8 -8
  18. package/dist/chunks/{websearch-1kh7kten.js → tool-1qbv9jt9.js} +20 -20
  19. package/dist/chunks/{websearch-8tzfdcdp.js → tool-1ts7qr1k.js} +8 -8
  20. package/dist/chunks/{websearch-1t3mepgx.js → tool-206ttqvc.js} +13 -13
  21. package/dist/chunks/{websearch-engj6hqw.js → tool-232z2e7w.js} +5 -5
  22. package/dist/chunks/{websearch-nf90gmgp.js → tool-28wtzp1x.js} +11 -11
  23. package/dist/chunks/{websearch-0g226ptp.js → tool-2b2b10pr.js} +11 -11
  24. package/dist/chunks/{websearch-qrm3t9gm.js → tool-2c13444x.js} +15 -15
  25. package/dist/chunks/{websearch-2d0p9y9z.js → tool-2cybgqhz.js} +2 -2
  26. package/dist/chunks/{websearch-y656zp5d.js → tool-2nmszwhj.js} +44 -44
  27. package/dist/chunks/{websearch-2vvh33eb.js → tool-2vvh33eb.js} +2 -2
  28. package/dist/chunks/{websearch-6bre43z2.js → tool-35eesyyp.js} +11 -11
  29. package/dist/chunks/{websearch-1p1wg8d2.js → tool-36py4jdg.js} +16 -16
  30. package/dist/chunks/{websearch-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{websearch-xxnmbcpy.js → tool-3gwb8r2s.js} +46 -46
  32. package/dist/chunks/{websearch-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{websearch-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{websearch-nsb8zy01.js → tool-3q7cazx3.js} +8 -8
  35. package/dist/chunks/{websearch-vhr0yf14.js → tool-3qfxs27s.js} +6 -6
  36. package/dist/chunks/{websearch-5dkn69vz.js → tool-3sj8yt8v.js} +4 -4
  37. package/dist/chunks/{websearch-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{websearch-hh3s84jy.js → tool-3ssmb346.js} +11 -11
  39. package/dist/chunks/{websearch-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{websearch-091j2xph.js → tool-3wb086fk.js} +28 -28
  41. package/dist/chunks/{websearch-rwyzk1vj.js → tool-3wmf6f3c.js} +6 -6
  42. package/dist/chunks/{websearch-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{websearch-2bv54bp0.js → tool-48243nkh.js} +10 -10
  44. package/dist/chunks/{websearch-dhewa6g3.js → tool-4mr2x1vr.js} +28 -28
  45. package/dist/chunks/{websearch-wgrk21zd.js → tool-4p1ce748.js} +5 -5
  46. package/dist/chunks/{websearch-wbp5y788.js → tool-4qbazw45.js} +7 -7
  47. package/dist/chunks/{websearch-f56185ew.js → tool-4r6h9rfp.js} +3 -3
  48. package/dist/chunks/{websearch-2ccvkpx1.js → tool-4ts7tf6z.js} +2 -2
  49. package/dist/chunks/{websearch-tk14y25j.js → tool-4xpgt2w9.js} +5 -5
  50. package/dist/chunks/{websearch-nm9exbtv.js → tool-4yqysksd.js} +32 -32
  51. package/dist/chunks/{websearch-hppc3qez.js → tool-51zp19xj.js} +42 -42
  52. package/dist/chunks/{websearch-8pknc86s.js → tool-52tqfb7t.js} +9 -9
  53. package/dist/chunks/{websearch-c1v03wcp.js → tool-52zf3ryw.js} +4 -4
  54. package/dist/chunks/{websearch-54ma36ye.js → tool-54ma36ye.js} +1 -1
  55. package/dist/chunks/{websearch-ggx376j6.js → tool-5hywj11r.js} +24 -24
  56. package/dist/chunks/{websearch-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{websearch-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{websearch-e80seqcp.js → tool-5rzwp8tz.js} +3 -3
  59. package/dist/chunks/{websearch-jhdf29st.js → tool-5w9yjztw.js} +1 -1
  60. package/dist/chunks/{websearch-vtt0yr3x.js → tool-607px8n0.js} +7 -7
  61. package/dist/chunks/{websearch-02ay902v.js → tool-6cf5m0q5.js} +9 -9
  62. package/dist/chunks/{websearch-97m84bsj.js → tool-6gga028k.js} +23 -23
  63. package/dist/chunks/{websearch-y18g3psc.js → tool-6qcxfmt4.js} +16 -16
  64. package/dist/chunks/{websearch-hwf1xm3p.js → tool-6rzkm1az.js} +27 -27
  65. package/dist/chunks/{websearch-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{websearch-4x3n9ey5.js → tool-6xx70fkw.js} +22 -22
  67. package/dist/chunks/{websearch-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{websearch-m329mjby.js → tool-7gra0nqm.js} +5 -5
  69. package/dist/chunks/{websearch-bjmt3h04.js → tool-7gx041tx.js} +8 -8
  70. package/dist/chunks/{websearch-b2ad3jms.js → tool-7j6nyg8b.js} +14 -14
  71. package/dist/chunks/{websearch-rfm1wj6s.js → tool-7t6rstye.js} +14 -14
  72. package/dist/chunks/{websearch-vv1q3c5v.js → tool-7wm7ck3f.js} +69 -69
  73. package/dist/chunks/{websearch-84txncab.js → tool-84txncab.js} +1 -1
  74. package/dist/chunks/{websearch-zztrcv6s.js → tool-873mxp7r.js} +6 -6
  75. package/dist/chunks/{websearch-hy079qxn.js → tool-8ae1krg5.js} +1 -1
  76. package/dist/chunks/{websearch-p6e4p3jj.js → tool-8ffyemb8.js} +4 -4
  77. package/dist/chunks/{websearch-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  78. package/dist/chunks/{websearch-91qna3x0.js → tool-91qna3x0.js} +3 -3
  79. package/dist/chunks/{websearch-5fec3t3w.js → tool-97aeaand.js} +9 -9
  80. package/dist/chunks/{websearch-yecz5pv7.js → tool-9hy1hzvm.js} +19 -19
  81. package/dist/chunks/{websearch-d4b9t5sr.js → tool-9s3sw3w2.js} +5 -5
  82. package/dist/chunks/{websearch-eca5te9y.js → tool-9yr0fr5m.js} +13 -13
  83. package/dist/chunks/{websearch-hmzbt2r1.js → tool-a0jk4dgc.js} +24 -24
  84. package/dist/chunks/{websearch-4myehych.js → tool-a3hwe848.js} +4 -4
  85. package/dist/chunks/{websearch-0fbhksc1.js → tool-a5br798j.js} +31 -31
  86. package/dist/chunks/{websearch-5346vetp.js → tool-a7xz2w96.js} +21 -21
  87. package/dist/chunks/{websearch-ne5cj8vn.js → tool-a8105mew.js} +20 -20
  88. package/dist/chunks/{websearch-p9r3dmyw.js → tool-a9d4ws5f.js} +26 -26
  89. package/dist/chunks/{websearch-3btaar3f.js → tool-aamadd9d.js} +32 -32
  90. package/dist/chunks/{websearch-ee1a8rbf.js → tool-aavma884.js} +20 -20
  91. package/dist/chunks/{websearch-ff3eaey1.js → tool-ac91s02x.js} +29 -29
  92. package/dist/chunks/{websearch-dbnj43ps.js → tool-afc2jrhf.js} +18 -18
  93. package/dist/chunks/{websearch-b9mw2aqp.js → tool-aswecc38.js} +10 -10
  94. package/dist/chunks/{websearch-y3jke7st.js → tool-azwc917b.js} +1 -1
  95. package/dist/chunks/{websearch-addxnjmp.js → tool-azwe5p1w.js} +4 -4
  96. package/dist/chunks/{websearch-qne3fa44.js → tool-b674v2dg.js} +5 -5
  97. package/dist/chunks/{websearch-cv6wkry4.js → tool-bseb4y7x.js} +11 -11
  98. package/dist/chunks/{websearch-xfahfhyk.js → tool-bxnsh2h7.js} +50 -50
  99. package/dist/chunks/{websearch-es1vcfrp.js → tool-c1fqxshp.js} +3 -3
  100. package/dist/chunks/{websearch-sjrcjray.js → tool-c4spg60a.js} +20 -20
  101. package/dist/chunks/{websearch-vpm8vpz0.js → tool-c8zwaxmp.js} +3 -3
  102. package/dist/chunks/{websearch-kh07k3gv.js → tool-cdzskg65.js} +23 -23
  103. package/dist/chunks/{websearch-7yvkazhd.js → tool-ce61gq8c.js} +8 -8
  104. package/dist/chunks/{websearch-7dh0d45w.js → tool-cr8sv6bh.js} +3 -3
  105. package/dist/chunks/{websearch-bdmfkcq7.js → tool-ct0x63sa.js} +17 -17
  106. package/dist/chunks/{websearch-2nnxwdxf.js → tool-cx6hsbt0.js} +17 -17
  107. package/dist/chunks/{websearch-sc2ayhna.js → tool-cy9nd497.js} +12 -12
  108. package/dist/chunks/{websearch-qa3qhgw8.js → tool-d216944b.js} +7 -7
  109. package/dist/chunks/{websearch-3gr7mfrt.js → tool-d8c7d30z.js} +20 -20
  110. package/dist/chunks/{websearch-e0ewwv29.js → tool-denpq03g.js} +18 -18
  111. package/dist/chunks/{websearch-jz4m0x6v.js → tool-ds8rcr17.js} +27 -27
  112. package/dist/chunks/{websearch-eye2dsms.js → tool-dwn2mnsx.js} +9 -9
  113. package/dist/chunks/{websearch-0ccf4gq7.js → tool-dy6n44gf.js} +34 -34
  114. package/dist/chunks/{websearch-g0nh73ae.js → tool-dynjzw90.js} +45 -45
  115. package/dist/chunks/{websearch-6wg7wrda.js → tool-e25ft575.js} +8 -8
  116. package/dist/chunks/{websearch-er035epz.js → tool-e6d7shk6.js} +14 -14
  117. package/dist/chunks/{websearch-whaakjyp.js → tool-e9hyd38m.js} +23 -23
  118. package/dist/chunks/{websearch-k19c7zh8.js → tool-ebg5fsc2.js} +326 -326
  119. package/dist/chunks/{websearch-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  120. package/dist/chunks/{websearch-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  121. package/dist/chunks/{websearch-zsmwbbvy.js → tool-ehbsya0k.js} +23 -23
  122. package/dist/chunks/{websearch-xsth9hr2.js → tool-eknygh2r.js} +11 -11
  123. package/dist/chunks/{websearch-ghp5sgdj.js → tool-ers3vfep.js} +4 -4
  124. package/dist/chunks/{websearch-gpt9y09p.js → tool-evvst45t.js} +9 -9
  125. package/dist/chunks/{websearch-m4wxmrpq.js → tool-f2hmbx6s.js} +17 -17
  126. package/dist/chunks/{websearch-tsz26xtv.js → tool-f55gme48.js} +24 -24
  127. package/dist/chunks/{websearch-0y7gjjxa.js → tool-f8m7rc0r.js} +16 -16
  128. package/dist/chunks/{websearch-6b6j0b7q.js → tool-fbp33tyy.js} +11 -11
  129. package/dist/chunks/{websearch-8b0024wb.js → tool-fgqejdyc.js} +4 -4
  130. package/dist/chunks/{websearch-69qcfv13.js → tool-fm0s3b9b.js} +13 -13
  131. package/dist/chunks/{websearch-cm1jr1n4.js → tool-fye057qm.js} +8 -8
  132. package/dist/chunks/{websearch-03c3x67r.js → tool-fyhhm9qw.js} +7 -7
  133. package/dist/chunks/tool-g0r85kvg.js +253 -0
  134. package/dist/chunks/{websearch-mesve3we.js → tool-g64bn1a9.js} +9 -9
  135. package/dist/chunks/{websearch-w79y3adg.js → tool-gce79w0q.js} +19 -19
  136. package/dist/chunks/{websearch-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{websearch-gk8qb678.js → tool-gk8qb678.js} +1 -1
  138. package/dist/chunks/{websearch-bmqayegw.js → tool-gka1h982.js} +2 -2
  139. package/dist/chunks/{websearch-5ng2s7kp.js → tool-gr980ggd.js} +35 -35
  140. package/dist/chunks/{websearch-tdcces3n.js → tool-gsy0a2fc.js} +19 -19
  141. package/dist/chunks/{websearch-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  142. package/dist/chunks/{websearch-xf8yqmad.js → tool-h71w788e.js} +9 -9
  143. package/dist/chunks/{websearch-h7s7r6s9.js → tool-h7s7r6s9.js} +2 -2
  144. package/dist/chunks/{websearch-5m7kxt6n.js → tool-h9s2vh22.js} +11 -11
  145. package/dist/chunks/{websearch-cq1n6b1r.js → tool-hc4fzbfv.js} +5 -5
  146. package/dist/chunks/{websearch-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  147. package/dist/chunks/{websearch-t64tfqsj.js → tool-hs2agdmc.js} +5 -5
  148. package/dist/chunks/{websearch-73wr0wn5.js → tool-hvr28mne.js} +11 -11
  149. package/dist/chunks/{websearch-9hn4sma3.js → tool-j40argf2.js} +15 -15
  150. package/dist/chunks/{websearch-j56e64zr.js → tool-j56e64zr.js} +1 -1
  151. package/dist/chunks/{websearch-2ntznan2.js → tool-j5p87426.js} +24 -24
  152. package/dist/chunks/{websearch-kqsasazf.js → tool-j90fxacf.js} +4 -4
  153. package/dist/chunks/{websearch-8sgx605s.js → tool-jc3pryrp.js} +30 -30
  154. package/dist/chunks/{websearch-w2q5m1k0.js → tool-jcx2acag.js} +27 -27
  155. package/dist/chunks/{websearch-a89e0tac.js → tool-jewzahs7.js} +4 -4
  156. package/dist/chunks/{websearch-cf9c5hgv.js → tool-jg4njqxe.js} +16 -16
  157. package/dist/chunks/{websearch-exzn1zz0.js → tool-jjb57f1v.js} +7 -7
  158. package/dist/chunks/{websearch-y7b0a65n.js → tool-jryjd015.js} +10 -10
  159. package/dist/chunks/{websearch-2ht1hyxn.js → tool-jvzrpfz1.js} +34 -34
  160. package/dist/chunks/{websearch-8xhpb0mm.js → tool-k0gt402z.js} +20 -20
  161. package/dist/chunks/{websearch-v1544te7.js → tool-k2sx0fs0.js} +14 -14
  162. package/dist/chunks/{websearch-sbq4x687.js → tool-k7v23by5.js} +36 -36
  163. package/dist/chunks/{websearch-qv3czhwy.js → tool-ka1znqm3.js} +22 -22
  164. package/dist/chunks/{websearch-p7yeqdaq.js → tool-ka6d63ve.js} +16 -16
  165. package/dist/chunks/{websearch-g73pzdn4.js → tool-kghabkhx.js} +6 -6
  166. package/dist/chunks/{websearch-khmqacep.js → tool-khmqacep.js} +1 -1
  167. package/dist/chunks/{websearch-2ryng5r3.js → tool-kqx1b4hy.js} +4 -4
  168. package/dist/chunks/{websearch-qet4t08v.js → tool-ks9cd2p9.js} +17 -17
  169. package/dist/chunks/{websearch-nchek2m9.js → tool-ksq90z2j.js} +18 -18
  170. package/dist/chunks/{websearch-ks9yanxs.js → tool-ktn6hp70.js} +29 -29
  171. package/dist/chunks/{websearch-a881zpfh.js → tool-kvjzkr2v.js} +9 -9
  172. package/dist/chunks/{websearch-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{websearch-t0sqncza.js → tool-ma48de29.js} +5 -5
  174. package/dist/chunks/{websearch-pfd09dg8.js → tool-me4kr82p.js} +19 -19
  175. package/dist/chunks/{websearch-3bm72bj4.js → tool-mmmq1fmj.js} +15 -15
  176. package/dist/chunks/{websearch-ynmknp8q.js → tool-n61013np.js} +11 -11
  177. package/dist/chunks/{websearch-j309bc8m.js → tool-neyn3p2v.js} +12 -12
  178. package/dist/chunks/{websearch-529c1882.js → tool-nnajtnrh.js} +1 -1
  179. package/dist/chunks/{websearch-byhh6v23.js → tool-np4m03pb.js} +14 -14
  180. package/dist/chunks/{websearch-m8hcs5as.js → tool-nymhndtm.js} +3 -3
  181. package/dist/chunks/{websearch-4txdqmcn.js → tool-nypk9e09.js} +10 -10
  182. package/dist/chunks/{websearch-463e81q2.js → tool-nza4bhrq.js} +8 -8
  183. package/dist/chunks/{websearch-c590j7n0.js → tool-p0vgqfrd.js} +13 -13
  184. package/dist/chunks/{websearch-bceny5qf.js → tool-p80z2n38.js} +6 -6
  185. package/dist/chunks/{websearch-drmqggy3.js → tool-p97g2b6e.js} +3 -3
  186. package/dist/chunks/{websearch-jmevm6dv.js → tool-pa78zzaq.js} +11 -11
  187. package/dist/chunks/{websearch-02n9afqs.js → tool-pf7t9ccf.js} +18 -18
  188. package/dist/chunks/{websearch-tpw6cwsb.js → tool-phz3vpyj.js} +8 -8
  189. package/dist/chunks/{websearch-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{websearch-pknna89w.js → tool-pknna89w.js} +1 -1
  191. package/dist/chunks/{websearch-ftfsgypn.js → tool-pttbbn28.js} +11 -11
  192. package/dist/chunks/{websearch-8sze2n9a.js → tool-py3kkmfq.js} +6 -6
  193. package/dist/chunks/{websearch-0j77ygfz.js → tool-q0xm7vwc.js} +6 -6
  194. package/dist/chunks/{websearch-rvfzqdmm.js → tool-q12r1j28.js} +17 -17
  195. package/dist/chunks/{websearch-wjwc91bs.js → tool-q46gh8d3.js} +85 -85
  196. package/dist/chunks/{websearch-qrrsmycy.js → tool-q5tvgb2d.js} +24 -24
  197. package/dist/chunks/{websearch-dg86z8e6.js → tool-q874veys.js} +13 -13
  198. package/dist/chunks/tool-qc068m1q.js +18 -0
  199. package/dist/chunks/{websearch-qgn6gcr1.js → tool-qgn6gcr1.js} +1 -1
  200. package/dist/chunks/{websearch-94ca0bep.js → tool-qjx1ax0j.js} +5 -5
  201. package/dist/chunks/{websearch-g6q9qykm.js → tool-qmqgtz8f.js} +9 -9
  202. package/dist/chunks/{websearch-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{websearch-qsdy395h.js → tool-qsdy395h.js} +1 -1
  204. package/dist/chunks/{websearch-4y1ardx2.js → tool-r19kge9j.js} +13 -13
  205. package/dist/chunks/{websearch-wzq6jsfv.js → tool-r2n437fd.js} +7 -7
  206. package/dist/chunks/{websearch-asc7erf4.js → tool-r2p1qcqj.js} +126 -44
  207. package/dist/chunks/{websearch-bkp6ttkb.js → tool-r3yrp3s1.js} +24 -24
  208. package/dist/chunks/{websearch-mqcrsfd8.js → tool-r49qeajj.js} +178 -178
  209. package/dist/chunks/{websearch-v0ezxakm.js → tool-r4bpj27y.js} +28 -28
  210. package/dist/chunks/{websearch-qrw28b9v.js → tool-r98mf4ja.js} +11 -11
  211. package/dist/chunks/{websearch-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{websearch-z1ajk4qq.js → tool-rdyynte9.js} +3 -3
  213. package/dist/chunks/{websearch-tkb22qbm.js → tool-rert0e01.js} +2 -2
  214. package/dist/chunks/{websearch-rhjbct0v.js → tool-rhjbct0v.js} +1 -1
  215. package/dist/chunks/{websearch-c41wscbt.js → tool-rj3eygr5.js} +2 -2
  216. package/dist/chunks/{websearch-hcpf260s.js → tool-sa4egyg1.js} +4 -4
  217. package/dist/chunks/{websearch-dqjpmmqm.js → tool-sa4ztt1z.js} +54 -54
  218. package/dist/chunks/{websearch-c8ax2afj.js → tool-sa8ekw3f.js} +2 -2
  219. package/dist/chunks/{websearch-39w50htg.js → tool-sc97ncgc.js} +17 -17
  220. package/dist/chunks/{websearch-pax1sq1c.js → tool-scdnddsf.js} +2 -2
  221. package/dist/chunks/{websearch-3hw8948m.js → tool-sfrffybq.js} +16 -16
  222. package/dist/chunks/{websearch-ez4jw3cg.js → tool-sh82avnb.js} +10 -10
  223. package/dist/chunks/{websearch-qkrsb4e9.js → tool-smpf7ekm.js} +9 -9
  224. package/dist/chunks/{websearch-jyn3c76q.js → tool-sp8q6bdg.js} +9 -9
  225. package/dist/chunks/{websearch-syv4x271.js → tool-syv4x271.js} +1 -1
  226. package/dist/chunks/{websearch-bd3z6g2t.js → tool-t2m1w25e.js} +20 -20
  227. package/dist/chunks/{websearch-bdajaf8t.js → tool-t4ajgv8x.js} +50 -50
  228. package/dist/chunks/{websearch-3heg1ssy.js → tool-t89fqycx.js} +8 -8
  229. package/dist/chunks/{websearch-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{websearch-cbz1spd4.js → tool-tcd69qnc.js} +21 -21
  231. package/dist/chunks/{websearch-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{websearch-tdstcens.js → tool-tdstcens.js} +1 -1
  233. package/dist/chunks/{websearch-4pw397dx.js → tool-tk87kdrg.js} +11 -11
  234. package/dist/chunks/{websearch-26wtnee4.js → tool-tnqyp7a1.js} +31 -31
  235. package/dist/chunks/{websearch-3gsd6kkn.js → tool-trz6se4e.js} +15 -15
  236. package/dist/chunks/{websearch-3zbwr1r2.js → tool-tvb3zepd.js} +13 -13
  237. package/dist/chunks/{websearch-tyytaxap.js → tool-tyytaxap.js} +1 -1
  238. package/dist/chunks/{websearch-v0es1rhs.js → tool-v0es1rhs.js} +2 -2
  239. package/dist/chunks/{websearch-aea0zttc.js → tool-v1rvcdcz.js} +45 -45
  240. package/dist/chunks/{websearch-3azd9wzv.js → tool-v3dr526e.js} +5 -5
  241. package/dist/chunks/{websearch-4mdjmm98.js → tool-v4zmjapd.js} +3 -3
  242. package/dist/chunks/{websearch-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  243. package/dist/chunks/{websearch-veqvce7d.js → tool-veqvce7d.js} +1 -1
  244. package/dist/chunks/{websearch-58g2rxtj.js → tool-vm3fje9a.js} +27 -27
  245. package/dist/chunks/{websearch-cb63dr15.js → tool-vn1hhbrf.js} +13 -13
  246. package/dist/chunks/{websearch-r7kv1bh5.js → tool-vn8z3a4b.js} +34 -34
  247. package/dist/chunks/{websearch-skj7xkre.js → tool-vq6awb9c.js} +11 -11
  248. package/dist/chunks/{websearch-51f5btjf.js → tool-vqfzq50h.js} +6 -6
  249. package/dist/chunks/{websearch-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{websearch-34c2xrx6.js → tool-w2mv6cd8.js} +5 -5
  251. package/dist/chunks/{websearch-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{websearch-wd87259q.js → tool-wd87259q.js} +1 -1
  253. package/dist/chunks/{websearch-a6qeya9w.js → tool-wdsf3akg.js} +9 -9
  254. package/dist/chunks/{websearch-mygssqta.js → tool-wh6z6ktm.js} +10 -10
  255. package/dist/chunks/{websearch-vhvqpnxg.js → tool-wn5vabxh.js} +11 -11
  256. package/dist/chunks/{websearch-snp4rkgh.js → tool-wps6h3dy.js} +13 -13
  257. package/dist/chunks/{websearch-dm603y2d.js → tool-x1ca3zjn.js} +4 -4
  258. package/dist/chunks/{websearch-6rm5yzkt.js → tool-x3gqap9d.js} +4 -4
  259. package/dist/chunks/{websearch-edjh399s.js → tool-x6gnqd3s.js} +8 -8
  260. package/dist/chunks/{websearch-6jgtgznj.js → tool-x9rxmjt5.js} +11 -11
  261. package/dist/chunks/tool-xap5v11p.js +26 -0
  262. package/dist/chunks/{websearch-xfkkasph.js → tool-xfkkasph.js} +1 -1
  263. package/dist/chunks/{websearch-mtvxtq3d.js → tool-xhs59p2n.js} +26 -26
  264. package/dist/chunks/{websearch-q43487xb.js → tool-xmhymaa3.js} +13 -13
  265. package/dist/chunks/{websearch-60x5va7n.js → tool-xp6bq807.js} +12 -12
  266. package/dist/chunks/{websearch-4drexav4.js → tool-xst2akbe.js} +11 -11
  267. package/dist/chunks/{websearch-0fpcnnbm.js → tool-xzg60s99.js} +46 -46
  268. package/dist/chunks/{websearch-ap6mjhv7.js → tool-y168gzca.js} +79 -79
  269. package/dist/chunks/{websearch-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{websearch-kqb3yzh9.js → tool-y5rgw10j.js} +11 -11
  271. package/dist/chunks/{websearch-dpkg50ah.js → tool-y71avatq.js} +4 -4
  272. package/dist/chunks/{websearch-bacj9t34.js → tool-y7nndgyc.js} +9 -9
  273. package/dist/chunks/{websearch-p5e5cqbw.js → tool-yhnztd3d.js} +44 -44
  274. package/dist/chunks/{websearch-dydaqehh.js → tool-ympry5e6.js} +34 -34
  275. package/dist/chunks/{websearch-yp2x3t23.js → tool-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{websearch-wjr9rjd7.js → tool-ywt8jp22.js} +6 -6
  277. package/dist/chunks/{websearch-ph78x2jd.js → tool-yysvbg70.js} +31 -31
  278. package/dist/chunks/{websearch-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{websearch-bb1ydskb.js → tool-z5n5ebyg.js} +15 -15
  280. package/dist/chunks/{websearch-kpca8vw1.js → tool-z86ahet9.js} +8 -8
  281. package/dist/chunks/{websearch-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{websearch-kztj1kw1.js → tool-zt09jx6h.js} +16 -16
  283. package/dist/chunks/{websearch-5tjqd32p.js → tool-zw1gkzfw.js} +25 -25
  284. package/dist/chunks/{websearch-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{websearch-wecqtg5s.js → tool-zyk1yjk8.js} +5 -5
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +115 -115
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +85 -85
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +95 -95
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +72 -72
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +220 -220
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +11 -11
  425. package/dist/filesystem.js +104 -104
  426. package/dist/form.js +84 -84
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +105 -105
  430. package/dist/git.js +6 -6
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +93 -93
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +83 -83
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +107 -107
  470. package/dist/mcp/instructions.js +131 -131
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +93 -93
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +102 -102
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +84 -84
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +117 -117
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +90 -90
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +76 -76
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +97 -97
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +125 -125
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +136 -136
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +346 -346
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +222 -222
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +82 -82
  559. package/dist/provider.js +101 -101
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +101 -101
  563. package/dist/reference/instructions.js +89 -89
  564. package/dist/reference.js +93 -93
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +93 -93
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +216 -216
  580. package/dist/session/execution.js +127 -127
  581. package/dist/session/generate.js +156 -156
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +88 -88
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +1 -1
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +125 -125
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +164 -164
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +89 -89
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +157 -157
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +209 -209
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +112 -112
  629. package/dist/snapshot.js +89 -89
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +130 -130
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +122 -122
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +105 -105
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +115 -115
  645. package/dist/tool/plugin/subagent.js +214 -214
  646. package/dist/tool/plugin/webfetch.js +114 -114
  647. package/dist/tool/plugin/websearch.js +116 -116
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +1 -1
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +95 -95
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/websearch.js +84 -84
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +8 -8
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +100 -100
  685. package/package.json +8 -8
  686. package/dist/chunks/websearch-0zhbjahh.js +0 -253
  687. package/dist/chunks/websearch-5qgf7nx2.js +0 -26
  688. package/dist/chunks/websearch-jqh9b0xq.js +0 -18
  689. /package/dist/chunks/{websearch-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{websearch-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{websearch-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{websearch-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{websearch-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{websearch-24dcb14g.js → tool-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{websearch-2710q6r3.js → tool-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{websearch-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{websearch-2bv980vf.js → tool-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{websearch-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{websearch-359p4xyc.js → tool-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{websearch-3asan66x.js → tool-3asan66x.js} +0 -0
  701. /package/dist/chunks/{websearch-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{websearch-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{websearch-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{websearch-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{websearch-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{websearch-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{websearch-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{websearch-53557ph1.js → tool-53557ph1.js} +0 -0
  709. /package/dist/chunks/{websearch-550bvhaj.js → tool-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{websearch-6prwharc.js → tool-6prwharc.js} +0 -0
  711. /package/dist/chunks/{websearch-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{websearch-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{websearch-7m9af43g.js → tool-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{websearch-822emrt2.js → tool-822emrt2.js} +0 -0
  715. /package/dist/chunks/{websearch-84wd9syh.js → tool-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{websearch-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{websearch-8n3pysct.js → tool-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{websearch-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{websearch-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{websearch-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{websearch-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{websearch-af5trqkr.js → tool-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{websearch-afrmfg78.js → tool-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{websearch-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{websearch-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{websearch-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{websearch-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{websearch-bw78ga2c.js → tool-bw78ga2c.js} +0 -0
  729. /package/dist/chunks/{websearch-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{websearch-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{websearch-d9fn303g.js → tool-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{websearch-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{websearch-dajrwvna.js → tool-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{websearch-dap0rakb.js → tool-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{websearch-df08tz66.js → tool-df08tz66.js} +0 -0
  736. /package/dist/chunks/{websearch-dy18nga0.js → tool-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{websearch-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{websearch-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{websearch-ec1grn59.js → tool-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{websearch-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{websearch-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{websearch-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{websearch-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{websearch-faypxj3z.js → tool-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{websearch-fd410y7t.js → tool-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{websearch-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{websearch-g86h250q.js → tool-g86h250q.js} +0 -0
  748. /package/dist/chunks/{websearch-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{websearch-gftt206x.js → tool-gftt206x.js} +0 -0
  750. /package/dist/chunks/{websearch-hk9envan.js → tool-hk9envan.js} +0 -0
  751. /package/dist/chunks/{websearch-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{websearch-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{websearch-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{websearch-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{websearch-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{websearch-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{websearch-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{websearch-m18g726c.js → tool-m18g726c.js} +0 -0
  759. /package/dist/chunks/{websearch-mp448xyj.js → tool-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{websearch-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{websearch-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{websearch-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{websearch-njntx4h6.js → tool-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{websearch-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{websearch-pyv0edze.js → tool-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{websearch-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{websearch-q74kybfr.js → tool-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{websearch-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{websearch-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{websearch-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{websearch-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{websearch-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{websearch-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{websearch-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{websearch-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{websearch-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{websearch-w803qqfp.js → tool-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{websearch-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{websearch-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{websearch-wtztk69x.js → tool-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{websearch-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{websearch-x61499pn.js → tool-x61499pn.js} +0 -0
  783. /package/dist/chunks/{websearch-y44na4kk.js → tool-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{websearch-y8f7s663.js → tool-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{websearch-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{websearch-ym463w8f.js → tool-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{websearch-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{websearch-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service84
3
- } from "./websearch-hcpf260s.js";
3
+ } from "./tool-sa4egyg1.js";
4
4
  import {
5
- ID15,
6
- Event19,
7
- Service77
8
- } from "./websearch-dhewa6g3.js";
5
+ ID14,
6
+ Event17,
7
+ Service74
8
+ } from "./tool-4mr2x1vr.js";
9
9
  import {
10
- ID13
11
- } from "./websearch-hwf1xm3p.js";
10
+ ID11
11
+ } from "./tool-6rzkm1az.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./websearch-bceny5qf.js";
14
+ } from "./tool-p80z2n38.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service77;
44
+ const credentials = yield* Service74;
45
45
  const bus = yield* Service84;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID13.googleVertex,
81
+ integrationID: ID11.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID13.googleVertex,
85
+ integrationID: ID11.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
156
156
  }
157
157
  }
158
158
  });
159
- yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
159
+ yield* bus.subscribe([Event17.Updated, Event17.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
160
  const next = yield* load();
161
161
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
162
162
  return;
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service78
3
- } from "./websearch-zsmwbbvy.js";
2
+ Service73
3
+ } from "./tool-ehbsya0k.js";
4
4
  import {
5
- Service51
6
- } from "./websearch-dqjpmmqm.js";
5
+ Service56
6
+ } from "./tool-sa4ztt1z.js";
7
7
  import {
8
- ID11,
8
+ ID9,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service70
14
- } from "./websearch-whaakjyp.js";
13
+ Service65
14
+ } from "./tool-e9hyd38m.js";
15
15
  import {
16
16
  __export
17
- } from "./websearch-9rqn6x4v.js";
17
+ } from "./tool-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch2 = {};
21
- __export(exports_websearch2, {
22
- Input: () => Input6,
20
+ var exports_websearch = {};
21
+ __export(exports_websearch, {
22
+ Input: () => Input8,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin43,
25
- WebSearchTool: () => exports_websearch2,
26
- description: () => description4,
27
- name: () => name6
24
+ Plugin: () => Plugin10,
25
+ WebSearchTool: () => exports_websearch,
26
+ description: () => description5,
27
+ name: () => name8
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name6 = "websearch";
32
+ var name8 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input6 = Schema.Struct({
42
+ var Input8 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID11,
46
+ provider: ID9,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin43 = {
49
+ var Plugin10 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service51;
53
- const forms = yield* Service78;
54
- const websearch = yield* Service70;
52
+ const permission = yield* Service56;
53
+ const forms = yield* Service73;
54
+ const websearch = yield* Service65;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name6,
56
+ name: name8,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input6,
58
+ description: description5,
59
+ input: Input8,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name6,
63
+ action: name8,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name6];
179
+ delete event.tools[name8];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name6, NO_RESULTS2, description4, Input6, Plugin43, exports_websearch2 };
187
+ export { name8, NO_RESULTS2, description5, Input8, Plugin10, exports_websearch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./websearch-rdw6cm16.js";
3
+ } from "./tool-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service50,
14
+ Service: () => Service63,
15
15
  SizeError: () => SizeError2,
16
- node: () => node52
16
+ node: () => node67
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service50 extends Context.Service()("@opencode/Image") {
45
+ class Service63 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service50, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service50.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service63.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node52 = makeLocationNode({ service: Service50, layer, deps: [] });
79
+ var node67 = makeLocationNode({ service: Service63, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service50, node52, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service63, node67, exports_image2 };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./websearch-emrn6kk6.js";
7
+ } from "./tool-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./websearch-eh3zwz77.js";
3
+ } from "./tool-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./websearch-e73j6tqm.js";
6
+ } from "./tool-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./websearch-3wcehsnq.js";
9
+ } from "./tool-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./websearch-dap0rakb.js";
12
+ } from "./tool-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./websearch-4y7fprxs.js";
15
+ } from "./tool-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service56,
3
- node58
4
- } from "./websearch-rfm1wj6s.js";
2
+ Service45,
3
+ node47
4
+ } from "./tool-7t6rstye.js";
5
5
  import {
6
- Service28,
7
- node31
8
- } from "./websearch-wjwc91bs.js";
6
+ Service26,
7
+ node29
8
+ } from "./tool-q46gh8d3.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./websearch-6xb47vfp.js";
12
+ } from "./tool-6xb47vfp.js";
13
13
  import {
14
14
  __export
15
- } from "./websearch-9rqn6x4v.js";
15
+ } from "./tool-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service10,
20
+ Service: () => Service12,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node12
22
+ node: () => node14
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service10 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service12 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service28;
30
- const jobs = yield* Service56;
29
+ const sessions = yield* Service26;
30
+ const jobs = yield* Service45;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service10.of({
45
+ return Service12.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node12 = Node.makeGlobalNode({
68
- service: Service10,
69
- layer: Layer.effect(Service10, make),
70
- deps: [node31, node58]
67
+ var node14 = Node.makeGlobalNode({
68
+ service: Service12,
69
+ layer: Layer.effect(Service12, make),
70
+ deps: [node29, node47]
71
71
  });
72
72
 
73
- export { Service10, node12, exports_subagent_job };
73
+ export { Service12, node14, exports_subagent_job };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./websearch-m329mjby.js";
3
+ } from "./tool-7gra0nqm.js";
4
4
  import {
5
- Service51
6
- } from "./websearch-dqjpmmqm.js";
5
+ Service56
6
+ } from "./tool-sa4ztt1z.js";
7
7
  import {
8
- Service22
9
- } from "./websearch-bb1ydskb.js";
8
+ Service24
9
+ } from "./tool-z5n5ebyg.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./websearch-0vbcp93d.js";
12
+ } from "./tool-0vbcp93d.js";
13
13
  import {
14
- Info5,
14
+ Info4,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./websearch-dydaqehh.js";
19
+ } from "./tool-ympry5e6.js";
20
20
  import {
21
21
  __export
22
- } from "./websearch-9rqn6x4v.js";
22
+ } from "./tool-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin39,
30
+ Plugin: () => Plugin8,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin39 = {
100
+ var Plugin8 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service22;
104
- const permission = yield* Service51;
103
+ const access = yield* Service24;
104
+ const permission = yield* Service56;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin39 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info5,
156
+ output: Info4,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin39, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin8, exports_opencode };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./websearch-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info16
7
- } from "./websearch-5fec3t3w.js";
6
+ Info10
7
+ } from "./tool-97aeaand.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- ConfigAgentV1: () => exports_agent4,
16
- Info: () => Info15
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ ConfigAgentV1: () => exports_agent3,
16
+ Info: () => Info9
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info16)
48
+ permission: Schema.optional(Info10)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info15 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info9 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info15, exports_agent4 };
72
+ export { Info9, exports_agent3 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID13,
2
+ ID11,
3
3
  mergeOverlay2
4
- } from "./websearch-hwf1xm3p.js";
4
+ } from "./tool-6rzkm1az.js";
5
5
  import {
6
- ID12,
6
+ ID10,
7
7
  VariantID2,
8
- Info21,
8
+ Info18,
9
9
  compatibility2
10
- } from "./websearch-58g2rxtj.js";
10
+ } from "./tool-vm3fje9a.js";
11
11
  import {
12
12
  __export
13
- } from "./websearch-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models2 = {};
@@ -22,7 +22,7 @@ __export(exports_models2, {
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID11.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID12.make(item.id);
78
+ const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID10.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info21.make({
98
- ...Info21.default(providerID, id),
97
+ return Info18.make({
98
+ ...Info18.default(providerID, id),
99
99
  id,
100
- modelID: ID12.make(remote.id),
100
+ modelID: ID10.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./websearch-bmqayegw.js";
5
+ } from "./tool-gka1h982.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./websearch-z5v4ffb3.js";
4
+ } from "./tool-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service83,
9
9
  node87
10
- } from "./websearch-m329mjby.js";
10
+ } from "./tool-7gra0nqm.js";
11
11
  import {
12
12
  Service81,
13
13
  node85
14
- } from "./websearch-pax1sq1c.js";
14
+ } from "./tool-scdnddsf.js";
15
15
  import {
16
16
  create3
17
- } from "./websearch-rdw6cm16.js";
17
+ } from "./tool-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./websearch-9rqn6x4v.js";
20
+ } from "./tool-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error3,
26
26
  ID: () => ID4,
27
- Service: () => Service46,
27
+ Service: () => Service48,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node48,
29
+ node: () => node50,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,9 +43,9 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service46 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service48 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service46, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service83;
51
51
  const global = yield* Global.Service;
@@ -147,14 +147,14 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node48 = makeLocationNode({
153
- service: Service46,
152
+ var node50 = makeLocationNode({
153
+ service: Service48,
154
154
  layer,
155
155
  deps: [FSUtil.node, node87, Global.node, node85]
156
156
  });
157
- var noopLayer3 = Layer.succeed(Service46, Service46.of({
157
+ var noopLayer3 = Layer.succeed(Service48, Service48.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -172,4 +172,4 @@ function failure(operation, cause) {
172
172
  });
173
173
  }
174
174
 
175
- export { ID4, Error3, Service46, node48, noopLayer3, exports_snapshot2 };
175
+ export { ID4, Error3, Service48, node50, noopLayer3, exports_snapshot2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./websearch-ec1grn59.js";
3
+ } from "./tool-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./websearch-tdstcens.js";
6
+ } from "./tool-tdstcens.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./websearch-34c2xrx6.js";
9
+ } from "./tool-w2mv6cd8.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { Effect, Fiber, Iterable } from "effect";