@opencode/core 0.0.0-dev-329 → 0.0.0-dev-347

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 (495) hide show
  1. package/dist/agent.js +76 -76
  2. package/dist/aisdk-native.js +80 -80
  3. package/dist/aisdk.js +85 -85
  4. package/dist/app.js +5 -5
  5. package/dist/bus.js +68 -68
  6. package/dist/chunks/{websearch-1sqct66f.js → websearch-0a1545br.js} +15 -15
  7. package/dist/chunks/{websearch-ntn1kyat.js → websearch-0d5hegjd.js} +12 -12
  8. package/dist/chunks/{websearch-exxbh7hn.js → websearch-1744f6td.js} +34 -34
  9. package/dist/chunks/{websearch-n7bnkb3p.js → websearch-18g90bpv.js} +7 -7
  10. package/dist/chunks/{websearch-xesqy162.js → websearch-1jah5r1w.js} +22 -22
  11. package/dist/chunks/{websearch-fcy5scan.js → websearch-1mhmnhef.js} +27 -27
  12. package/dist/chunks/{websearch-xt0z8zst.js → websearch-1sv9drr7.js} +3 -3
  13. package/dist/chunks/{websearch-xntjjzbv.js → websearch-1xebvtks.js} +32 -32
  14. package/dist/chunks/{websearch-v63ad6sj.js → websearch-1zh3k433.js} +12 -12
  15. package/dist/chunks/{websearch-5sev5bhn.js → websearch-258pzyq1.js} +29 -29
  16. package/dist/chunks/{websearch-c8fek3cb.js → websearch-2e3wrzp6.js} +11 -11
  17. package/dist/chunks/{websearch-fhv2xxmr.js → websearch-2g9v0ep3.js} +4 -4
  18. package/dist/chunks/{websearch-5erp7w2j.js → websearch-2hv59m0q.js} +12 -12
  19. package/dist/chunks/{websearch-s7kyse9r.js → websearch-2kg89srt.js} +3 -3
  20. package/dist/chunks/{websearch-vgjkn7gb.js → websearch-2mbz52qm.js} +22 -22
  21. package/dist/chunks/{websearch-cm79raxa.js → websearch-30ep2pbx.js} +6 -6
  22. package/dist/chunks/{websearch-anjzen6g.js → websearch-3297hep7.js} +79 -79
  23. package/dist/chunks/{websearch-jqbem4ax.js → websearch-36kks1a9.js} +30 -30
  24. package/dist/chunks/{websearch-agqd6nxz.js → websearch-36qx82yz.js} +1 -1
  25. package/dist/chunks/{websearch-ha7h766f.js → websearch-37mjzwdy.js} +28 -28
  26. package/dist/chunks/{websearch-eps2nw42.js → websearch-3jrs2g26.js} +23 -23
  27. package/dist/chunks/{websearch-c1d6cwky.js → websearch-4btqn7nq.js} +17 -17
  28. package/dist/chunks/{websearch-f370vvdy.js → websearch-4c3f10kp.js} +16 -16
  29. package/dist/chunks/{websearch-n5da3r9v.js → websearch-4rwevfy6.js} +8 -8
  30. package/dist/chunks/{websearch-k9xqezxa.js → websearch-4tysrmyz.js} +31 -31
  31. package/dist/chunks/{websearch-j6ca1eyx.js → websearch-4vyx508x.js} +15 -15
  32. package/dist/chunks/{websearch-t0v7rh8b.js → websearch-4ykwxwmw.js} +7 -7
  33. package/dist/chunks/{websearch-y82rcgeg.js → websearch-50yqpbf8.js} +7 -7
  34. package/dist/chunks/{websearch-1kx98qvq.js → websearch-56wb752r.js} +1 -1
  35. package/dist/chunks/{websearch-rd77kc48.js → websearch-5hqe3abq.js} +16 -16
  36. package/dist/chunks/{websearch-7ftfgktx.js → websearch-62bzxby4.js} +16 -16
  37. package/dist/chunks/{websearch-6te9kxba.js → websearch-62x64pn3.js} +7 -7
  38. package/dist/chunks/{websearch-8ga40a6a.js → websearch-69vr3bmr.js} +4 -4
  39. package/dist/chunks/{websearch-hvthv3an.js → websearch-6gv6f0wn.js} +11 -11
  40. package/dist/chunks/{websearch-ztfj0krh.js → websearch-6pcpjwd2.js} +47 -47
  41. package/dist/chunks/{websearch-a6t7wj3k.js → websearch-6r36sxsh.js} +62 -62
  42. package/dist/chunks/{websearch-hpss8xr5.js → websearch-6s5sfkb1.js} +11 -11
  43. package/dist/chunks/{websearch-ja63h2sr.js → websearch-6xqtcmxs.js} +3 -3
  44. package/dist/chunks/{websearch-3dgyr4ab.js → websearch-6zmkapgs.js} +19 -19
  45. package/dist/chunks/{websearch-axsvjzs7.js → websearch-7122eme9.js} +4 -4
  46. package/dist/chunks/{websearch-cb0vw9jn.js → websearch-7272xw9j.js} +10 -10
  47. package/dist/chunks/{websearch-w8qtt4th.js → websearch-76cb1hcw.js} +3 -3
  48. package/dist/chunks/{websearch-rxqyg3qh.js → websearch-7s6vzadc.js} +12 -12
  49. package/dist/chunks/{websearch-js8kstzt.js → websearch-7syz3ngq.js} +4 -4
  50. package/dist/chunks/{websearch-es257x3q.js → websearch-7zjy6p28.js} +4 -4
  51. package/dist/chunks/{websearch-bkpt1p78.js → websearch-8ewha5k5.js} +6 -6
  52. package/dist/chunks/{websearch-pxv94apm.js → websearch-8pp51b76.js} +19 -19
  53. package/dist/chunks/{websearch-d529wksv.js → websearch-8q5tw4pq.js} +16 -16
  54. package/dist/chunks/{websearch-kv38zb04.js → websearch-8szb6ytp.js} +13 -13
  55. package/dist/chunks/{websearch-wf9zfwe6.js → websearch-8w3p2e92.js} +5 -5
  56. package/dist/chunks/{websearch-9z9tayqc.js → websearch-8yhc7zrg.js} +7 -7
  57. package/dist/chunks/{websearch-3bna4jcr.js → websearch-8zj8ha8v.js} +19 -19
  58. package/dist/chunks/{websearch-8v45rwxr.js → websearch-9makc5xg.js} +3 -3
  59. package/dist/chunks/{websearch-4qvxhqjk.js → websearch-9qmt3rfg.js} +31 -31
  60. package/dist/chunks/{websearch-557537gg.js → websearch-9w4n3zkz.js} +4 -4
  61. package/dist/chunks/{websearch-t0hjt5vr.js → websearch-9wwm5t2q.js} +51 -51
  62. package/dist/chunks/{websearch-67zhfnr5.js → websearch-9zwexsxs.js} +3 -3
  63. package/dist/chunks/websearch-a56ph40a.js +257 -0
  64. package/dist/chunks/{websearch-sdnx44eq.js → websearch-a6b0z51k.js} +10 -10
  65. package/dist/chunks/{websearch-0bbqvs7k.js → websearch-acbdersv.js} +6 -6
  66. package/dist/chunks/{websearch-t3gc9rvy.js → websearch-av8m10vw.js} +1 -1
  67. package/dist/chunks/{websearch-y4da5gg3.js → websearch-b321k266.js} +17 -17
  68. package/dist/chunks/{websearch-v3xbvhj5.js → websearch-b3efsrjf.js} +15 -15
  69. package/dist/chunks/{websearch-sem18y2v.js → websearch-b6bdjtfv.js} +25 -25
  70. package/dist/chunks/{websearch-3wke5hmt.js → websearch-brtbsxkn.js} +8 -8
  71. package/dist/chunks/{websearch-4ajbjkvh.js → websearch-bsvx5x0h.js} +25 -25
  72. package/dist/chunks/{websearch-fd89c18j.js → websearch-bw5vtrk1.js} +6 -6
  73. package/dist/chunks/{websearch-qh2mmm7f.js → websearch-bznf86r0.js} +9 -9
  74. package/dist/chunks/{websearch-z8ctesq9.js → websearch-c1hc347y.js} +13 -13
  75. package/dist/chunks/{websearch-sz4f9hgk.js → websearch-c487mvhm.js} +22 -22
  76. package/dist/chunks/{websearch-3ryz99p0.js → websearch-c6x7d2ts.js} +3 -3
  77. package/dist/chunks/{websearch-n938yph4.js → websearch-cge737e2.js} +12 -12
  78. package/dist/chunks/{websearch-mvkxka7a.js → websearch-cjcv1c2q.js} +21 -21
  79. package/dist/chunks/{websearch-r408tz4r.js → websearch-cky1f1hf.js} +6 -6
  80. package/dist/chunks/{websearch-decdgbhs.js → websearch-cs73swbh.js} +12 -12
  81. package/dist/chunks/{websearch-rwabqwx1.js → websearch-czdwf92p.js} +5 -5
  82. package/dist/chunks/{websearch-esezyxfc.js → websearch-d390zwf3.js} +6 -6
  83. package/dist/chunks/{websearch-w7p07vyz.js → websearch-d95zdptj.js} +14 -14
  84. package/dist/chunks/{websearch-cet60sqk.js → websearch-d9z3nv43.js} +14 -14
  85. package/dist/chunks/{websearch-69nf9nav.js → websearch-drkqmshe.js} +9 -9
  86. package/dist/chunks/{websearch-qkvepbme.js → websearch-ds0b2y1d.js} +1 -1
  87. package/dist/chunks/{websearch-hctaejxs.js → websearch-e13g5x1s.js} +31 -31
  88. package/dist/chunks/{websearch-s40bz38f.js → websearch-e6rp29s1.js} +10 -10
  89. package/dist/chunks/{websearch-h91vt6m9.js → websearch-ec44vae2.js} +15 -15
  90. package/dist/chunks/{websearch-6mbr58x5.js → websearch-egrgm9sa.js} +25 -25
  91. package/dist/chunks/{websearch-tmdtawbd.js → websearch-ehrznf92.js} +28 -28
  92. package/dist/chunks/{websearch-s0s8b06r.js → websearch-ekzyfxqt.js} +25 -25
  93. package/dist/chunks/{websearch-k30agw6x.js → websearch-empp5hj9.js} +8 -8
  94. package/dist/chunks/{websearch-wjr22wj6.js → websearch-enf14z1b.js} +12 -12
  95. package/dist/chunks/{websearch-x7anyec9.js → websearch-exphrrdn.js} +16 -16
  96. package/dist/chunks/{websearch-7mzp1cgs.js → websearch-exva2tav.js} +21 -21
  97. package/dist/chunks/{websearch-8cpz5p5s.js → websearch-ezzzm5zy.js} +16 -16
  98. package/dist/chunks/{websearch-ry7kp2db.js → websearch-f82w0nba.js} +7 -7
  99. package/dist/chunks/{websearch-b5wswbrm.js → websearch-f8dx2cf3.js} +47 -47
  100. package/dist/chunks/{websearch-5bmv79gs.js → websearch-f8fw5j2t.js} +7 -7
  101. package/dist/chunks/{websearch-2112fxgf.js → websearch-f993y56a.js} +16 -16
  102. package/dist/chunks/{websearch-mnnh7rc9.js → websearch-fbte303t.js} +9 -9
  103. package/dist/chunks/{websearch-bj44k2p3.js → websearch-fcectc13.js} +9 -9
  104. package/dist/chunks/{websearch-j8ry5sc9.js → websearch-fe0367ah.js} +1 -1
  105. package/dist/chunks/{websearch-prq7xxp2.js → websearch-fg9p65nk.js} +4 -4
  106. package/dist/chunks/{websearch-81jqhtn8.js → websearch-fh43p91r.js} +9 -9
  107. package/dist/chunks/{websearch-kxrajph7.js → websearch-fmq1bg7t.js} +4 -4
  108. package/dist/chunks/{websearch-w49gf5e8.js → websearch-fnxqcwgf.js} +25 -25
  109. package/dist/chunks/{websearch-01yye9f2.js → websearch-fwgdphtq.js} +7 -7
  110. package/dist/chunks/{websearch-jpb38nt4.js → websearch-g3ga6tc0.js} +39 -39
  111. package/dist/chunks/{websearch-51yd88re.js → websearch-g5nbtb8n.js} +17 -17
  112. package/dist/chunks/{websearch-wvq4p2vf.js → websearch-gchhttn1.js} +6 -6
  113. package/dist/chunks/{websearch-350e7jny.js → websearch-gctfr74j.js} +14 -5
  114. package/dist/chunks/{websearch-nm8qr2s2.js → websearch-ged1tqgx.js} +24 -24
  115. package/dist/chunks/{websearch-16jyx16v.js → websearch-gfs4qavg.js} +32 -32
  116. package/dist/chunks/{websearch-07hv0a2t.js → websearch-gsnsxgxa.js} +1 -1
  117. package/dist/chunks/{websearch-805824s0.js → websearch-gt3pr6x5.js} +5 -5
  118. package/dist/chunks/{websearch-6hmgmx3v.js → websearch-gz10z0zd.js} +34 -34
  119. package/dist/chunks/{websearch-8fmenyqq.js → websearch-h3qnzdea.js} +7 -7
  120. package/dist/chunks/{websearch-eahpwh8e.js → websearch-hab39cq4.js} +1 -1
  121. package/dist/chunks/{websearch-cqx7qe96.js → websearch-hds8qycc.js} +9 -9
  122. package/dist/chunks/{websearch-37mgh8mf.js → websearch-hfcnjb1t.js} +1 -1
  123. package/dist/chunks/{websearch-m0w8gjtc.js → websearch-htrj6v80.js} +8 -8
  124. package/dist/chunks/{websearch-tg1vr1qt.js → websearch-hy8c1z76.js} +7 -7
  125. package/dist/chunks/{websearch-xbav9adg.js → websearch-hyqx2d6z.js} +5 -5
  126. package/dist/chunks/{websearch-sp56nfnr.js → websearch-j0yxxg4y.js} +1 -1
  127. package/dist/chunks/{websearch-r37dw65n.js → websearch-j8563ys9.js} +19 -19
  128. package/dist/chunks/{websearch-5k5xv22h.js → websearch-jacqe95j.js} +15 -15
  129. package/dist/chunks/{websearch-8mdse5a9.js → websearch-jd21qj1c.js} +12 -12
  130. package/dist/chunks/{websearch-4q6zxb9x.js → websearch-jeswnbmw.js} +2 -2
  131. package/dist/chunks/{websearch-4gp4a51g.js → websearch-jsvw9ebe.js} +2 -2
  132. package/dist/chunks/{websearch-b4dtgbj0.js → websearch-jt8g3tk4.js} +17 -17
  133. package/dist/chunks/{websearch-4s0ej1qc.js → websearch-jvb6mem3.js} +329 -329
  134. package/dist/chunks/{websearch-12xf7z1p.js → websearch-k0093evt.js} +22 -22
  135. package/dist/chunks/{websearch-afky2m1r.js → websearch-k39t0d7s.js} +9 -9
  136. package/dist/chunks/websearch-k8s5a6jv.js +72 -0
  137. package/dist/chunks/{websearch-547arde1.js → websearch-kbz2ftjv.js} +19 -19
  138. package/dist/chunks/{websearch-yf89mf0m.js → websearch-kd1drhzr.js} +17 -17
  139. package/dist/chunks/{websearch-yqvckjfp.js → websearch-kdhdtnfh.js} +25 -25
  140. package/dist/chunks/{websearch-a7acfpr0.js → websearch-kfyqh9ry.js} +2 -2
  141. package/dist/chunks/{websearch-6xtjqz2m.js → websearch-kh0hrg97.js} +3 -3
  142. package/dist/chunks/{websearch-sjjzadcb.js → websearch-ksbb71ed.js} +23 -23
  143. package/dist/chunks/{websearch-yy556f5x.js → websearch-kw50g2ba.js} +7 -7
  144. package/dist/chunks/{websearch-afwz5ca7.js → websearch-kyb052mw.js} +21 -21
  145. package/dist/chunks/{websearch-ayazxppv.js → websearch-m0ny4438.js} +1 -1
  146. package/dist/chunks/{websearch-2yspc50g.js → websearch-m144b9ym.js} +8 -8
  147. package/dist/chunks/{websearch-bze7nnp8.js → websearch-m91bkzpp.js} +4 -4
  148. package/dist/chunks/{websearch-b394e4sz.js → websearch-md9bhnwm.js} +80 -80
  149. package/dist/chunks/{websearch-h5f52kj0.js → websearch-mg4v6ytb.js} +3 -3
  150. package/dist/chunks/{websearch-4vc00714.js → websearch-mgses094.js} +19 -19
  151. package/dist/chunks/{websearch-zbbm2e96.js → websearch-mmg8baec.js} +3 -3
  152. package/dist/chunks/{websearch-17b39pgx.js → websearch-mmtpgtte.js} +22 -22
  153. package/dist/chunks/websearch-mmzs51g0.js +16 -0
  154. package/dist/chunks/{websearch-c9t2ty9q.js → websearch-mtkfycnh.js} +3 -3
  155. package/dist/chunks/{websearch-xgg53m61.js → websearch-mvg96cvx.js} +16 -16
  156. package/dist/chunks/{websearch-33k02yxh.js → websearch-mvq9xm7y.js} +36 -36
  157. package/dist/chunks/{websearch-t391rd3g.js → websearch-mx8m8bkx.js} +13 -13
  158. package/dist/chunks/{websearch-gt9mjs97.js → websearch-my2774fb.js} +10 -10
  159. package/dist/chunks/{websearch-mctmh0ex.js → websearch-n4c66n2d.js} +7 -7
  160. package/dist/chunks/{websearch-0msqabxb.js → websearch-n76q4j73.js} +1 -1
  161. package/dist/chunks/{websearch-60qgg6x4.js → websearch-n9zpx1d9.js} +10 -10
  162. package/dist/chunks/{websearch-dwx6m9pn.js → websearch-nfvj419n.js} +12 -12
  163. package/dist/chunks/{websearch-01xb69ev.js → websearch-nxjb403m.js} +1 -1
  164. package/dist/chunks/{websearch-c00n6d2r.js → websearch-p108ft06.js} +5 -5
  165. package/dist/chunks/{websearch-9ak394t4.js → websearch-p50fwy42.js} +2 -2
  166. package/dist/chunks/{websearch-8kx0fqtv.js → websearch-p5mrvaxe.js} +12 -12
  167. package/dist/chunks/{websearch-4zs95934.js → websearch-p7v23fd6.js} +11 -11
  168. package/dist/chunks/{websearch-5zrxpy3q.js → websearch-p7vhpwh8.js} +4 -4
  169. package/dist/chunks/{websearch-cg7m4wmk.js → websearch-pdj5a256.js} +5 -5
  170. package/dist/chunks/{websearch-xzwjndvp.js → websearch-pprkn22s.js} +7 -7
  171. package/dist/chunks/{websearch-3qvqwrqv.js → websearch-psp8drt7.js} +15 -15
  172. package/dist/chunks/{websearch-dmp7nhr3.js → websearch-pww75gt3.js} +26 -26
  173. package/dist/chunks/{websearch-ennbv05t.js → websearch-py5t4m7x.js} +2 -2
  174. package/dist/chunks/{websearch-egqmg6zc.js → websearch-pzpg3tvr.js} +10 -10
  175. package/dist/chunks/{websearch-7cdnexkp.js → websearch-q0vnjhvr.js} +18 -18
  176. package/dist/chunks/{websearch-8rd378aw.js → websearch-q10wp2s4.js} +4 -4
  177. package/dist/chunks/{websearch-bbsqf6zc.js → websearch-q4wqpcrk.js} +10 -10
  178. package/dist/chunks/{websearch-s2tqrscs.js → websearch-q8akx5wk.js} +1 -1
  179. package/dist/chunks/{websearch-799bn6sb.js → websearch-qcqrs7ry.js} +34 -34
  180. package/dist/chunks/{websearch-d84g1cdm.js → websearch-qjmre3py.js} +165 -165
  181. package/dist/chunks/{websearch-y13v0twb.js → websearch-r2s7w9p5.js} +3 -3
  182. package/dist/chunks/{websearch-fj4pg97n.js → websearch-rcjebwgm.js} +10 -10
  183. package/dist/chunks/{websearch-1haf6n7w.js → websearch-rfyk3b1f.js} +24 -24
  184. package/dist/chunks/{websearch-cg0asdpn.js → websearch-rv51a27w.js} +22 -22
  185. package/dist/chunks/{websearch-v6e9b7k7.js → websearch-s32mnc71.js} +17 -17
  186. package/dist/chunks/{websearch-zcvfbtr9.js → websearch-s8xdrs61.js} +37 -37
  187. package/dist/chunks/{websearch-8tbnpqt6.js → websearch-sf35qzjn.js} +18 -18
  188. package/dist/chunks/{websearch-hhw78a7m.js → websearch-sx2sqvt0.js} +6 -6
  189. package/dist/chunks/{websearch-0rgnf04f.js → websearch-sxxdanmy.js} +2 -2
  190. package/dist/chunks/{websearch-q1gdkkzj.js → websearch-t0rcp7xm.js} +46 -46
  191. package/dist/chunks/{websearch-ch0dnrxm.js → websearch-t1d0z29h.js} +19 -19
  192. package/dist/chunks/{websearch-4n3gwhnp.js → websearch-t6pjtsxz.js} +14 -14
  193. package/dist/chunks/{websearch-6pf8eqtx.js → websearch-t7qszmqp.js} +15 -15
  194. package/dist/chunks/{websearch-sbegqkxp.js → websearch-tet0p4e8.js} +3 -3
  195. package/dist/chunks/{websearch-3d1y0g83.js → websearch-tkp4jwrt.js} +4 -4
  196. package/dist/chunks/{websearch-49xmed9t.js → websearch-tn13a12r.js} +13 -13
  197. package/dist/chunks/{websearch-qzmk9h6g.js → websearch-tp64pspc.js} +6 -6
  198. package/dist/chunks/{websearch-wem7v335.js → websearch-tva2fzy9.js} +42 -42
  199. package/dist/chunks/{websearch-evtwgc13.js → websearch-txp6vfxp.js} +2 -2
  200. package/dist/chunks/{websearch-a5sej8qd.js → websearch-tzmh93yh.js} +23 -23
  201. package/dist/chunks/{websearch-djm2v0tf.js → websearch-v09g80g2.js} +1 -1
  202. package/dist/chunks/{websearch-mk1833rf.js → websearch-v2c4z2sa.js} +3 -3
  203. package/dist/chunks/{websearch-8bt39hgz.js → websearch-v2yw559c.js} +16 -16
  204. package/dist/chunks/{websearch-18pwxxmr.js → websearch-v9jyvts1.js} +24 -19
  205. package/dist/chunks/{websearch-grzehpz7.js → websearch-vdh3rgac.js} +4 -4
  206. package/dist/chunks/{websearch-4tcdce07.js → websearch-vgy9d41n.js} +5 -5
  207. package/dist/chunks/{websearch-m37sd98t.js → websearch-vmfhgzt5.js} +3 -3
  208. package/dist/chunks/{websearch-2j78ayj4.js → websearch-vrxnc4gr.js} +13 -13
  209. package/dist/chunks/{websearch-1njm5cxv.js → websearch-vt2r04xq.js} +16 -16
  210. package/dist/chunks/{websearch-gynv5cx7.js → websearch-vtgxp655.js} +3 -3
  211. package/dist/chunks/{websearch-c0mz4e8v.js → websearch-vzd3k5nk.js} +31 -31
  212. package/dist/chunks/{websearch-xpvy2n9z.js → websearch-w21mrhhg.js} +45 -45
  213. package/dist/chunks/{websearch-kvvgry96.js → websearch-wc0z5452.js} +9 -9
  214. package/dist/chunks/{websearch-ckgb0pw7.js → websearch-wqhfsqr1.js} +27 -27
  215. package/dist/chunks/{websearch-601vjtp6.js → websearch-wrzdnxcv.js} +29 -29
  216. package/dist/chunks/{websearch-4wffjq55.js → websearch-wvejrbsh.js} +25 -25
  217. package/dist/chunks/{websearch-kcg78dnn.js → websearch-wwgpyqzb.js} +7 -7
  218. package/dist/chunks/{websearch-9tx8500w.js → websearch-x8mj7217.js} +24 -24
  219. package/dist/chunks/{websearch-pgwm13mx.js → websearch-x9maydxg.js} +27 -27
  220. package/dist/chunks/{websearch-zv5zc9gt.js → websearch-xchnjx2b.js} +40 -40
  221. package/dist/chunks/{websearch-ew7k5fkp.js → websearch-xfcf0hvp.js} +1 -1
  222. package/dist/chunks/{websearch-95sp4hdf.js → websearch-xk2zn0cv.js} +3 -3
  223. package/dist/chunks/{websearch-54wn9wg4.js → websearch-xmeeqggk.js} +12 -12
  224. package/dist/chunks/{websearch-mam69wf9.js → websearch-xxh0nct8.js} +8 -8
  225. package/dist/chunks/{websearch-gda836e9.js → websearch-y0a3p9a2.js} +9 -9
  226. package/dist/chunks/{websearch-jv00a4x0.js → websearch-y90yy0x4.js} +9 -9
  227. package/dist/chunks/{websearch-h22vpgky.js → websearch-yf5tjpcf.js} +23 -23
  228. package/dist/chunks/{websearch-8r4pvnw6.js → websearch-yjzqpyxh.js} +27 -27
  229. package/dist/chunks/{websearch-849yt6mx.js → websearch-ykwrz6sn.js} +7 -7
  230. package/dist/chunks/{websearch-122fevtz.js → websearch-yn48mmd2.js} +13 -13
  231. package/dist/chunks/{websearch-mn9ce29r.js → websearch-yr6j2xwe.js} +4 -4
  232. package/dist/chunks/{websearch-zfyb5tr4.js → websearch-yydqqga9.js} +3 -3
  233. package/dist/chunks/{websearch-mnapyyeq.js → websearch-z2zjxvjz.js} +7 -7
  234. package/dist/chunks/{websearch-2f7b0gsd.js → websearch-z32r2mg8.js} +20 -20
  235. package/dist/chunks/{websearch-tznvtk94.js → websearch-z9bewzk6.js} +30 -30
  236. package/dist/chunks/{websearch-v256hjtv.js → websearch-zjehbzha.js} +15 -15
  237. package/dist/codemode/execution.js +8 -0
  238. package/dist/codemode/fetch.js +153 -0
  239. package/dist/codemode/instructions.js +6 -6
  240. package/dist/codemode/tool.js +118 -117
  241. package/dist/command.js +80 -80
  242. package/dist/config/discovery.js +75 -75
  243. package/dist/config/integration.js +3 -3
  244. package/dist/config/normalize.js +89 -89
  245. package/dist/config/plugin/agent.js +101 -101
  246. package/dist/config/plugin/command.js +187 -186
  247. package/dist/config/plugin/compaction.js +132 -131
  248. package/dist/config/plugin/compatibility.js +116 -116
  249. package/dist/config/plugin/formatter.js +101 -101
  250. package/dist/config/plugin/image.js +101 -101
  251. package/dist/config/plugin/instruction.js +102 -102
  252. package/dist/config/plugin/location-watcher.js +101 -101
  253. package/dist/config/plugin/mcp.js +109 -109
  254. package/dist/config/plugin/policy.js +101 -101
  255. package/dist/config/plugin/provider.js +99 -99
  256. package/dist/config/plugin/reference.js +101 -101
  257. package/dist/config/plugin/shell.js +101 -101
  258. package/dist/config/plugin/skill-file.js +113 -113
  259. package/dist/config/plugin/skill.js +117 -117
  260. package/dist/config/plugin/snapshot.js +101 -101
  261. package/dist/config/plugin/source.js +102 -102
  262. package/dist/config/plugin/tool-output.js +101 -101
  263. package/dist/config/plugin/websearch.js +100 -100
  264. package/dist/config/plugin/worktree.js +102 -102
  265. package/dist/config.js +107 -107
  266. package/dist/credential.js +79 -79
  267. package/dist/database/database.js +67 -67
  268. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  269. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  270. package/dist/database/drizzle/effect-sqlite/session.js +8 -8
  271. package/dist/database/drizzle/index.js +10 -10
  272. package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
  273. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  274. package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
  275. package/dist/database/drizzle.js +10 -10
  276. package/dist/database/migration.gen.js +48 -48
  277. package/dist/database/migration.js +50 -50
  278. package/dist/database/v1-migration.bun.js +23 -23
  279. package/dist/effect/app-node-builder.js +238 -237
  280. package/dist/environment/environment.js +81 -81
  281. package/dist/environment/index.js +83 -83
  282. package/dist/event-logger.js +11 -11
  283. package/dist/file-access.js +124 -124
  284. package/dist/file-mutation.js +82 -82
  285. package/dist/filesystem/file-watch.js +16 -16
  286. package/dist/filesystem/location-watcher-policy.js +5 -5
  287. package/dist/filesystem/location-watcher.js +200 -199
  288. package/dist/filesystem/protected.js +3 -3
  289. package/dist/filesystem/search.js +86 -86
  290. package/dist/filesystem/watcher.js +9 -9
  291. package/dist/filesystem.js +89 -89
  292. package/dist/form.js +79 -79
  293. package/dist/formatter.js +78 -78
  294. package/dist/generate.js +96 -96
  295. package/dist/git.js +5 -5
  296. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
  297. package/dist/github-copilot/copilot-provider.js +3 -3
  298. package/dist/github-copilot/models.js +82 -82
  299. package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
  300. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +2 -2
  301. package/dist/image/photon.js +1 -1
  302. package/dist/image.js +5 -5
  303. package/dist/instance/service.js +3 -3
  304. package/dist/instance.js +319 -318
  305. package/dist/instruction-discovery.js +83 -83
  306. package/dist/instructions/builtins.js +78 -78
  307. package/dist/instructions/index.js +3 -3
  308. package/dist/integration/connection.js +3 -3
  309. package/dist/integration.js +85 -85
  310. package/dist/job.js +74 -74
  311. package/dist/kv.js +70 -70
  312. package/dist/location-activity.js +72 -72
  313. package/dist/location-lifecycle.js +118 -118
  314. package/dist/location-service-map.js +77 -77
  315. package/dist/location-services.js +320 -319
  316. package/dist/location.js +80 -80
  317. package/dist/managed-policy.js +2 -2
  318. package/dist/mcp/client.js +17 -17
  319. package/dist/mcp/index.js +93 -93
  320. package/dist/mcp/instructions.js +147 -146
  321. package/dist/mcp/oauth.js +13 -13
  322. package/dist/mcp/stdio.js +78 -78
  323. package/dist/modal/models.js +82 -82
  324. package/dist/model-resolver.js +89 -89
  325. package/dist/model.js +83 -83
  326. package/dist/models-dev.js +91 -91
  327. package/dist/permission/saved.js +74 -74
  328. package/dist/permission.js +121 -121
  329. package/dist/persistent-pty/index.js +75 -75
  330. package/dist/persistent-pty.js +69 -69
  331. package/dist/plugin/agent.js +71 -71
  332. package/dist/plugin/command.js +88 -88
  333. package/dist/plugin/goal.js +3 -3
  334. package/dist/plugin/hooks.js +5 -5
  335. package/dist/plugin/host.js +193 -192
  336. package/dist/plugin/identity.js +5 -5
  337. package/dist/plugin/instance.js +5 -5
  338. package/dist/plugin/internal.js +301 -300
  339. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  340. package/dist/plugin/models-dev.js +86 -86
  341. package/dist/plugin/module.js +98 -98
  342. package/dist/plugin/optimize.js +2 -2
  343. package/dist/plugin/plan.js +114 -114
  344. package/dist/plugin/provider/amazon-bedrock.js +82 -82
  345. package/dist/plugin/provider/azure.js +100 -100
  346. package/dist/plugin/provider/chatgpt.js +100 -100
  347. package/dist/plugin/provider/cloudflare-ai-gateway.js +100 -100
  348. package/dist/plugin/provider/cloudflare-workers-ai.js +100 -100
  349. package/dist/plugin/provider/configured.js +98 -98
  350. package/dist/plugin/provider/credential-settings.js +70 -70
  351. package/dist/plugin/provider/digitalocean.js +83 -83
  352. package/dist/plugin/provider/github-copilot.js +85 -85
  353. package/dist/plugin/provider/gitlab.js +84 -84
  354. package/dist/plugin/provider/google-vertex.js +99 -99
  355. package/dist/plugin/provider/llmgateway.js +74 -74
  356. package/dist/plugin/provider/lmstudio.js +110 -110
  357. package/dist/plugin/provider/local.js +107 -107
  358. package/dist/plugin/provider/modal.js +83 -83
  359. package/dist/plugin/provider/ollama.js +108 -108
  360. package/dist/plugin/provider/openai-context-caps.js +81 -81
  361. package/dist/plugin/provider/openai.js +100 -100
  362. package/dist/plugin/provider/opencode.js +103 -103
  363. package/dist/plugin/provider/openrouter.js +82 -82
  364. package/dist/plugin/provider/poe.js +74 -74
  365. package/dist/plugin/provider/sap-ai-core.js +81 -81
  366. package/dist/plugin/provider/snowflake-cortex.js +100 -100
  367. package/dist/plugin/provider/vllm.js +110 -110
  368. package/dist/plugin/provider/xai.js +82 -82
  369. package/dist/plugin/provider.js +143 -143
  370. package/dist/plugin/sdk.js +71 -71
  371. package/dist/plugin/service.js +3 -3
  372. package/dist/plugin/skill.js +115 -115
  373. package/dist/plugin/supervisor.js +306 -305
  374. package/dist/plugin/tool-input-repair.js +3 -3
  375. package/dist/plugin/vcs/git.js +75 -75
  376. package/dist/plugin/vcs/hg.js +75 -75
  377. package/dist/plugin/verbosity.js +84 -84
  378. package/dist/plugin/warming.js +100 -100
  379. package/dist/plugin/websearch/exa.js +5 -5
  380. package/dist/plugin/websearch/firecrawl.js +6 -6
  381. package/dist/plugin/websearch/index.js +7 -7
  382. package/dist/plugin/websearch/parallel.js +6 -6
  383. package/dist/plugin/websearch/tavily.js +4 -4
  384. package/dist/plugin/websearch/tinyfish.js +4 -4
  385. package/dist/plugin.js +203 -202
  386. package/dist/project/schema.js +7 -7
  387. package/dist/project.js +81 -81
  388. package/dist/provider.js +82 -82
  389. package/dist/pty.js +89 -89
  390. package/dist/reference/instructions.js +81 -81
  391. package/dist/reference.js +83 -83
  392. package/dist/repository-cache.js +74 -74
  393. package/dist/ripgrep.js +84 -84
  394. package/dist/rpc.js +73 -73
  395. package/dist/schedule/check.js +197 -196
  396. package/dist/schedule.js +208 -207
  397. package/dist/session/blob.js +99 -99
  398. package/dist/session/command.js +71 -71
  399. package/dist/session/compaction.js +129 -128
  400. package/dist/session/context.js +161 -160
  401. package/dist/session/diff.js +77 -77
  402. package/dist/session/environment.js +5 -5
  403. package/dist/session/error.js +4 -4
  404. package/dist/session/execution/restart.js +120 -119
  405. package/dist/session/execution.js +126 -126
  406. package/dist/session/generate.js +163 -162
  407. package/dist/session/history.js +105 -105
  408. package/dist/session/inbox.js +114 -114
  409. package/dist/session/info.js +2 -2
  410. package/dist/session/instruction-entry.js +73 -73
  411. package/dist/session/instruction-state.js +3 -3
  412. package/dist/session/instructions.js +106 -106
  413. package/dist/session/model-request.js +131 -130
  414. package/dist/session/model-transport.js +5 -5
  415. package/dist/session/move.js +129 -129
  416. package/dist/session/projector.js +111 -111
  417. package/dist/session/prompt.js +116 -116
  418. package/dist/session/revert.js +108 -108
  419. package/dist/session/run-coordinator.js +3 -3
  420. package/dist/session/runner/llm.js +203 -202
  421. package/dist/session/runner/model.js +90 -90
  422. package/dist/session/runner/publish-llm-event.js +116 -116
  423. package/dist/session/runner/step.js +125 -124
  424. package/dist/session/runner/to-llm-message.js +106 -106
  425. package/dist/session/schema.js +5 -5
  426. package/dist/session/session.js +144 -144
  427. package/dist/session/shell.js +114 -114
  428. package/dist/session/skill.js +115 -115
  429. package/dist/session/stats.js +10 -10
  430. package/dist/session/store.js +111 -111
  431. package/dist/session/stored.js +3 -3
  432. package/dist/session/subagent-job.js +188 -187
  433. package/dist/session/system-prompt.js +3 -3
  434. package/dist/session/title.js +162 -161
  435. package/dist/session/to-session-error.js +115 -115
  436. package/dist/session/transfer.js +122 -121
  437. package/dist/session.js +198 -197
  438. package/dist/shell/parse.js +2 -2
  439. package/dist/shell/select.js +9 -9
  440. package/dist/shell.js +117 -117
  441. package/dist/skill/discovery.js +5 -5
  442. package/dist/skill/instructions.js +119 -119
  443. package/dist/skill.js +120 -120
  444. package/dist/snapshot.js +82 -82
  445. package/dist/tool/mcp.js +144 -143
  446. package/dist/tool/plugin/edit.js +129 -129
  447. package/dist/tool/plugin/glob.js +136 -136
  448. package/dist/tool/plugin/grep.js +130 -130
  449. package/dist/tool/plugin/image-generate.js +194 -193
  450. package/dist/tool/plugin/mcp-resource.js +130 -130
  451. package/dist/tool/plugin/opencode.js +129 -129
  452. package/dist/tool/plugin/patch.js +131 -131
  453. package/dist/tool/plugin/question.js +112 -112
  454. package/dist/tool/plugin/read.js +137 -137
  455. package/dist/tool/plugin/schedule.js +201 -200
  456. package/dist/tool/plugin/shell.js +192 -191
  457. package/dist/tool/plugin/skill.js +123 -123
  458. package/dist/tool/plugin/subagent.js +195 -194
  459. package/dist/tool/plugin/todo.js +120 -120
  460. package/dist/tool/plugin/webfetch.js +122 -122
  461. package/dist/tool/plugin/websearch.js +121 -121
  462. package/dist/tool/plugin/write.js +131 -131
  463. package/dist/tool/read-filesystem.js +89 -89
  464. package/dist/tool-output.js +5 -5
  465. package/dist/tool.js +124 -123
  466. package/dist/types/codemode/execution.d.ts +7 -0
  467. package/dist/types/codemode/{web.d.ts → fetch.d.ts} +6 -3
  468. package/dist/types/codemode/tool.d.ts +2 -1
  469. package/dist/usage-limits.js +84 -84
  470. package/dist/v1/config/agent.js +4 -4
  471. package/dist/v1/config/command.js +3 -3
  472. package/dist/v1/config/mcp.js +3 -3
  473. package/dist/v1/config/migrate.js +82 -82
  474. package/dist/v1/config/permission.js +3 -3
  475. package/dist/v1/config/plugin.js +3 -3
  476. package/dist/v1/config/provider.js +3 -3
  477. package/dist/variant.js +82 -82
  478. package/dist/vcs.js +74 -74
  479. package/dist/voice.js +84 -84
  480. package/dist/websearch.js +76 -76
  481. package/dist/wellknown/plugin.js +72 -72
  482. package/dist/wellknown.js +75 -75
  483. package/dist/workspace/driver.js +7 -7
  484. package/dist/workspace.js +78 -78
  485. package/dist/worktree/git.js +4 -4
  486. package/dist/worktree/strategies.js +79 -79
  487. package/dist/worktree.js +89 -89
  488. package/package.json +8 -8
  489. package/dist/chunks/websearch-7q6zqx37.js +0 -257
  490. package/dist/chunks/websearch-jfaecv01.js +0 -50
  491. package/dist/codemode/web.js +0 -10
  492. /package/dist/chunks/{websearch-wxvzs469.js → websearch-4dmxtz72.js} +0 -0
  493. /package/dist/chunks/{websearch-766y91jf.js → websearch-e006kk43.js} +0 -0
  494. /package/dist/chunks/{websearch-cak2hj2r.js → websearch-j990qqn4.js} +0 -0
  495. /package/dist/chunks/{websearch-r2jew814.js → websearch-r4yqrmdq.js} +0 -0
@@ -2,37 +2,37 @@ import {
2
2
  makeUnsafe2
3
3
  } from "./websearch-8jztxfpf.js";
4
4
  import {
5
- Service86,
5
+ Service87,
6
6
  node90
7
- } from "./websearch-kvvgry96.js";
7
+ } from "./websearch-wc0z5452.js";
8
8
  import {
9
- Event18,
10
- Service81,
11
- node85
12
- } from "./websearch-601vjtp6.js";
9
+ Event19,
10
+ Service85,
11
+ node88
12
+ } from "./websearch-wrzdnxcv.js";
13
13
  import {
14
- Service83,
15
- node87
16
- } from "./websearch-x7anyec9.js";
14
+ Service81,
15
+ node84
16
+ } from "./websearch-exphrrdn.js";
17
17
  import {
18
- Service69,
19
- node71
20
- } from "./websearch-r37dw65n.js";
18
+ Service60,
19
+ node61
20
+ } from "./websearch-j8563ys9.js";
21
21
  import {
22
- ID17,
23
- Service82,
24
- node86
25
- } from "./websearch-nm8qr2s2.js";
22
+ ID19,
23
+ Service86,
24
+ node89
25
+ } from "./websearch-ged1tqgx.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
29
  } from "./websearch-204s3925.js";
30
30
  import {
31
- ID15,
31
+ ID17,
32
32
  MethodID2,
33
- Service80,
34
- node84
35
- } from "./websearch-ha7h766f.js";
33
+ Service84,
34
+ node87
35
+ } from "./websearch-37mjzwdy.js";
36
36
  import {
37
37
  __export
38
38
  } from "./websearch-9rqn6x4v.js";
@@ -41,7 +41,7 @@ import {
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError5,
44
+ NotFoundError: () => NotFoundError4,
45
45
  Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service33,
52
+ Service: () => Service32,
53
53
  Status: () => Status3,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured3,
56
- layer: () => layer13,
57
- node: () => node36
56
+ layer: () => layer14,
57
+ node: () => node35
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -104,7 +104,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
104
104
  var endpointLoads = makeUnsafe2();
105
105
  var cloneConfig = (config) => structuredClone(config);
106
106
 
107
- class Service33 extends Context.Service()("@opencode/MCP") {
107
+ class Service32 extends Context.Service()("@opencode/MCP") {
108
108
  }
109
109
  var Options3 = Schema.Struct({
110
110
  clientInfo: Schema.optional(Schema.Struct({
@@ -112,13 +112,13 @@ var Options3 = Schema.Struct({
112
112
  version: Schema.String
113
113
  }))
114
114
  });
115
- var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
116
- const location = yield* Service83;
117
- const environment = yield* Service69;
118
- const bus = yield* Service86;
119
- const forms = yield* Service82;
120
- const integration = yield* Service80;
121
- const credentials = yield* Service81;
115
+ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
116
+ const location = yield* Service81;
117
+ const environment = yield* Service60;
118
+ const bus = yield* Service87;
119
+ const forms = yield* Service86;
120
+ const integration = yield* Service84;
121
+ const credentials = yield* Service85;
122
122
  const root = yield* Effect.scope;
123
123
  const fork = yield* FiberSet.makeRuntime();
124
124
  const servers = yield* Scope.fork(root, "parallel");
@@ -133,7 +133,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
133
133
  return;
134
134
  const remote = entry.config;
135
135
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
136
- const integrationID = ID15.make(suffix);
136
+ const integrationID = ID17.make(suffix);
137
137
  entry.integrationID = integrationID;
138
138
  owned.add(integrationID);
139
139
  const methodID = MethodID2.make(suffix);
@@ -149,7 +149,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
149
149
  method: { id: methodID, type: "oauth", label: name },
150
150
  authorize: () => Effect.gen(function* () {
151
151
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
152
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service81, credentials));
152
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service85, credentials));
153
153
  })
154
154
  });
155
155
  }).pipe(Scope.provide(scope));
@@ -157,19 +157,19 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
157
157
  const requireServer = Effect.fnUntraced(function* (name) {
158
158
  const entry = entries.get(name);
159
159
  if (!entry)
160
- return yield* new NotFoundError5({ server: name });
160
+ return yield* new NotFoundError4({ server: name });
161
161
  return { name, entry };
162
162
  });
163
163
  const connectProvider = Effect.fnUntraced(function* (entry) {
164
164
  if (entry.config.type !== "remote" || !entry.integrationID)
165
165
  return;
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service81, credentials));
167
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service85, credentials));
168
168
  });
169
169
  const elicitation = {
170
170
  create: (input) => Effect.gen(function* () {
171
171
  if (input.params.mode === "url") {
172
- const formID = ID17.create();
172
+ const formID = ID19.create();
173
173
  const elicitationID = input.params.elicitationId;
174
174
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
175
175
  if (key)
@@ -272,7 +272,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
272
272
  entry.scope = scope;
273
273
  const authProvider = yield* connectProvider(entry);
274
274
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
275
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope));
275
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope));
276
276
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
277
277
  if (Exit.isSuccess(result)) {
278
278
  entry.client = result.value.connection;
@@ -373,7 +373,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
373
373
  let closed = false;
374
374
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
375
375
  closed = true;
376
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
376
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
377
377
  const register = Effect.gen(function* () {
378
378
  if (closed) {
379
379
  yield* Scope.close(scope, Exit.void);
@@ -452,7 +452,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
452
452
  yield* startServer(name, entry);
453
453
  }).pipe(locks.withLock(name));
454
454
  });
455
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
455
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
456
456
  const state = create3({
457
457
  name: "mcp",
458
458
  initial: () => ({
@@ -478,7 +478,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
478
478
  }),
479
479
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
480
480
  });
481
- return Service33.of({
481
+ return Service32.of({
482
482
  transform: state.transform,
483
483
  reload: state.reload,
484
484
  servers: Effect.fn("MCP.servers")(function* () {
@@ -613,12 +613,12 @@ function mergeCatalogs(catalogs) {
613
613
  }
614
614
  function configured3(options) {
615
615
  return makeLocationNode({
616
- service: Service33,
617
- layer: layer13(options),
618
- deps: [node87, node71, node90, node86, node84, node85]
616
+ service: Service32,
617
+ layer: layer14(options),
618
+ deps: [node84, node61, node90, node89, node87, node88]
619
619
  });
620
620
  }
621
- var node36 = configured3();
621
+ var node35 = configured3();
622
622
  function toElicitationField(key, property, required) {
623
623
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
624
624
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
669
669
  }
670
670
  }
671
671
 
672
- export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service33, Options3, layer13, configured3, node36, exports_mcp4 };
672
+ export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options3, layer14, configured3, node35, exports_mcp4 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service59
4
- } from "./websearch-t0hjt5vr.js";
3
+ Service72
4
+ } from "./websearch-9wwm5t2q.js";
5
5
  import {
6
6
  Service12
7
- } from "./websearch-eps2nw42.js";
7
+ } from "./websearch-3jrs2g26.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./websearch-hpg1pkwy.js";
@@ -16,14 +16,14 @@ import {
16
16
  var exports_compaction = {};
17
17
  __export(exports_compaction, {
18
18
  ConfigCompactionPlugin: () => exports_compaction,
19
- Plugin: () => Plugin53
19
+ Plugin: () => Plugin52
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin53 = define({
23
+ var Plugin52 = define({
24
24
  id: "opencode.config.compaction",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service59;
26
+ const config = yield* Service72;
27
27
  const compaction = yield* Service12;
28
28
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
29
29
  yield* compaction.transform((editor) => {
@@ -41,4 +41,4 @@ var Plugin53 = define({
41
41
  })
42
42
  });
43
43
 
44
- export { Plugin53, exports_compaction };
44
+ export { Plugin52, exports_compaction };
@@ -1,14 +1,14 @@
1
1
  import {
2
- Service57,
3
- node59
4
- } from "./websearch-v3xbvhj5.js";
2
+ Service55,
3
+ node56
4
+ } from "./websearch-b3efsrjf.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./websearch-dmp7nhr3.js";
6
+ Service62,
7
+ node64
8
+ } from "./websearch-pww75gt3.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./websearch-gynv5cx7.js";
11
+ } from "./websearch-vtgxp655.js";
12
12
  import {
13
13
  __export
14
14
  } from "./websearch-9rqn6x4v.js";
@@ -18,9 +18,9 @@ var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service46,
21
+ Service: () => Service43,
22
22
  SessionRunnerModel: () => exports_model,
23
- node: () => node48,
23
+ node: () => node44,
24
24
  resolved: () => resolved2
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
43
43
  }
44
44
  }
45
45
 
46
- class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
46
+ class Service43 extends Context.Service()("@opencode/SessionRunnerModel") {
47
47
  }
48
48
  var resolved2 = (model, options) => ({
49
49
  model,
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
58
58
  compaction: options.compaction,
59
59
  transport: options.transport
60
60
  });
61
- var layer = Layer.effect(Service46, Effect.gen(function* () {
62
- const resolver = yield* Service76;
63
- const agents = yield* Service57;
64
- return Service46.of({
61
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
62
+ const resolver = yield* Service62;
63
+ const agents = yield* Service55;
64
+ return Service43.of({
65
65
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
66
66
  if (!session.model) {
67
67
  const agent = (yield* agents.select(session.agent)).info?.model;
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node48 = makeLocationNode({ service: Service46, layer, deps: [node80, node59] });
84
+ var node44 = makeLocationNode({ service: Service43, layer, deps: [node64, node56] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, Service46, resolved2, node48, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service43, resolved2, node44, exports_model };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service59
3
- } from "./websearch-t0hjt5vr.js";
2
+ Service72
3
+ } from "./websearch-9wwm5t2q.js";
4
4
  import {
5
- Service8
6
- } from "./websearch-9z9tayqc.js";
5
+ Service7
6
+ } from "./websearch-8yhc7zrg.js";
7
7
  import {
8
8
  observe2
9
9
  } from "./websearch-hpg1pkwy.js";
@@ -15,15 +15,15 @@ import {
15
15
  var exports_location_watcher = {};
16
16
  __export(exports_location_watcher, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin35
18
+ Plugin: () => Plugin47
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin35 = define({
22
+ var Plugin47 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service59;
26
- const policy = yield* Service8;
25
+ const config = yield* Service72;
26
+ const policy = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin35 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin35, exports_location_watcher };
38
+ export { Plugin47, exports_location_watcher };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./websearch-fd89c18j.js";
3
+ } from "./websearch-bw5vtrk1.js";
4
4
  import {
5
5
  OAuth3,
6
- Service81
7
- } from "./websearch-601vjtp6.js";
6
+ Service85
7
+ } from "./websearch-wrzdnxcv.js";
8
8
  import {
9
- ID15,
9
+ ID17,
10
10
  MethodID2
11
- } from "./websearch-ha7h766f.js";
11
+ } from "./websearch-37mjzwdy.js";
12
12
  import {
13
13
  ID14,
14
14
  mergeOverlay2
15
- } from "./websearch-xesqy162.js";
15
+ } from "./websearch-1jah5r1w.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID15.make("xai"),
47
+ integrationID: ID17.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service81;
73
- yield* Effect.forEach(yield* credentials.list(ID15.make("xai")), (credential) => {
72
+ const credentials = yield* Service85;
73
+ yield* Effect.forEach(yield* credentials.list(ID17.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./websearch-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./websearch-gynv5cx7.js";
7
+ } from "./websearch-vtgxp655.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -8,7 +8,7 @@ import {
8
8
  // src/session/stored.ts
9
9
  var exports_stored = {};
10
10
  __export(exports_stored, {
11
- File: () => File2,
11
+ File: () => File3,
12
12
  FileRef: () => FileRef2,
13
13
  Ref: () => Ref2,
14
14
  SessionStored: () => exports_stored,
@@ -28,10 +28,10 @@ var refHash2 = (ref) => ref.slice("media:".length);
28
28
  var ref2 = (hash) => `media:${hash}`;
29
29
  var { data: _, ...attachment } = FileAttachment.fields;
30
30
  var FileRef2 = Schema.Struct({ ...attachment, uri: Ref2 });
31
- var File2 = Schema.Union([FileAttachment, FileRef2]);
31
+ var File3 = Schema.Union([FileAttachment, FileRef2]);
32
32
  var ToolFileRef2 = Schema.Struct({ ...Tool.FileContent.fields, uri: Ref2 });
33
- var files = Schema.Array(File2).pipe(optional);
33
+ var files = Schema.Array(File3).pipe(optional);
34
34
  var UserPayload3 = Schema.Struct({ ...InboxUserPayload.fields, files });
35
35
  var User3 = Schema.Struct({ ...SessionMessage2.User.fields, files });
36
36
 
37
- export { Ref2, refHash2, ref2, FileRef2, File2, ToolFileRef2, UserPayload3, User3, exports_stored };
37
+ export { Ref2, refHash2, ref2, FileRef2, File3, ToolFileRef2, UserPayload3, User3, exports_stored };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service59
3
- } from "./websearch-t0hjt5vr.js";
2
+ Service72
3
+ } from "./websearch-9wwm5t2q.js";
4
4
  import {
5
- Service33
6
- } from "./websearch-b5wswbrm.js";
5
+ Service32
6
+ } from "./websearch-f8dx2cf3.js";
7
7
  import {
8
8
  __export
9
9
  } from "./websearch-9rqn6x4v.js";
@@ -12,20 +12,20 @@ import {
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin43,
15
+ Plugin: () => Plugin41,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin43 = define({
20
+ var Plugin41 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service59;
28
- const mcp = yield* Service33;
27
+ const config = yield* Service72;
28
+ const mcp = yield* Service32;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin43, register2, exports_mcp2 };
49
+ export { Plugin41, register2, exports_mcp2 };
@@ -10,11 +10,11 @@ import {
10
10
  gitExecutable2
11
11
  } from "./websearch-sa3fpqfw.js";
12
12
  import {
13
- Service83
14
- } from "./websearch-x7anyec9.js";
13
+ Service81
14
+ } from "./websearch-exphrrdn.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./websearch-jv00a4x0.js";
17
+ } from "./websearch-y90yy0x4.js";
18
18
  import {
19
19
  __export
20
20
  } from "./websearch-9rqn6x4v.js";
@@ -36,7 +36,7 @@ import { AppProcess } from "@opencode/util/process";
36
36
  var Plugin3 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service83;
39
+ const location = yield* Service81;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node76
5
- } from "./websearch-fd89c18j.js";
4
+ node79
5
+ } from "./websearch-bw5vtrk1.js";
6
6
  import {
7
- Service58,
8
- node60
9
- } from "./websearch-849yt6mx.js";
7
+ Service54,
8
+ node55
9
+ } from "./websearch-ykwrz6sn.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./websearch-wem7v335.js";
12
+ } from "./websearch-tva2fzy9.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./websearch-wvq4p2vf.js";
15
+ } from "./websearch-gchhttn1.js";
16
16
  import {
17
17
  Error2
18
- } from "./websearch-18pwxxmr.js";
18
+ } from "./websearch-v9jyvts1.js";
19
19
  import {
20
20
  get5
21
21
  } from "./websearch-3nnrz6f6.js";
22
22
  import {
23
- Service37,
23
+ Service36,
24
24
  node39
25
- } from "./websearch-3wke5hmt.js";
25
+ } from "./websearch-brtbsxkn.js";
26
26
  import {
27
- make15
28
- } from "./websearch-m37sd98t.js";
27
+ make14
28
+ } from "./websearch-vmfhgzt5.js";
29
29
  import {
30
30
  toLLMMessages2
31
- } from "./websearch-37mgh8mf.js";
31
+ } from "./websearch-hfcnjb1t.js";
32
32
  import {
33
33
  __export
34
34
  } from "./websearch-9rqn6x4v.js";
@@ -36,11 +36,11 @@ import {
36
36
  // src/session/model-request.ts
37
37
  var exports_model_request = {};
38
38
  __export(exports_model_request, {
39
- Service: () => Service36,
39
+ Service: () => Service35,
40
40
  SessionModelRequest: () => exports_model_request,
41
41
  baseTranscript: () => baseTranscript2,
42
42
  boundImages: () => boundImages2,
43
- layer: () => layer14,
43
+ layer: () => layer15,
44
44
  node: () => node38,
45
45
  outputLimit: () => outputLimit2,
46
46
  unsupportedParts: () => unsupportedParts2
@@ -78,7 +78,7 @@ var baseTranscript2 = (input) => {
78
78
  return {
79
79
  providerMetadataKey,
80
80
  system: [
81
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
81
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
82
82
  input.initial
83
83
  ].filter((part) => part.length > 0).map(SystemPart.make),
84
84
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -159,11 +159,11 @@ var boundImages2 = (messages) => {
159
159
  });
160
160
  };
161
161
 
162
- class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
162
+ class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
163
163
  }
164
- var layer14 = Layer.effect(Service36, Effect.gen(function* () {
165
- const hooks = yield* Service58;
166
- const transport = yield* Service37;
164
+ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
165
+ const hooks = yield* Service54;
166
+ const transport = yield* Service36;
167
167
  const app = yield* Metadata2;
168
168
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
169
169
  const session = input.session;
@@ -262,7 +262,7 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
262
262
  };
263
263
  });
264
264
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
265
- return Service36.of({
265
+ return Service35.of({
266
266
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
267
267
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
268
268
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
@@ -270,9 +270,9 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
270
270
  });
271
271
  }));
272
272
  var node38 = makeLocationNode({
273
- service: Service36,
274
- layer: layer14,
275
- deps: [node60, node39, node76]
273
+ service: Service35,
274
+ layer: layer15,
275
+ deps: [node55, node39, node79]
276
276
  });
277
277
 
278
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service36, layer14, node38, exports_model_request };
278
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service35, layer15, node38, exports_model_request };
@@ -2,15 +2,15 @@ import {
2
2
  fromPromise2
3
3
  } from "./websearch-4v008n1t.js";
4
4
  import {
5
- Service60
6
- } from "./websearch-h91vt6m9.js";
5
+ Service73
6
+ } from "./websearch-ec44vae2.js";
7
7
  import {
8
8
  statements2,
9
9
  decision2
10
- } from "./websearch-07hv0a2t.js";
10
+ } from "./websearch-gsnsxgxa.js";
11
11
  import {
12
- Service59
13
- } from "./websearch-t0hjt5vr.js";
12
+ Service72
13
+ } from "./websearch-9wwm5t2q.js";
14
14
  import {
15
15
  __export
16
16
  } from "./websearch-9rqn6x4v.js";
@@ -32,8 +32,8 @@ import path from "path";
32
32
  import { readFile, stat } from "node:fs/promises";
33
33
  import { fileURLToPath, pathToFileURL } from "url";
34
34
  var make7 = Effect.fn("PluginModule.make")(function* () {
35
- const config = yield* Service59;
36
- const watcher = yield* Service60;
35
+ const config = yield* Service72;
36
+ const watcher = yield* Service73;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();