@opencode/core 0.0.0-dev-21823 → 0.0.0-dev-21824

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 (806) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{filesystem-pgrw573c.js → model-resolver-0ak2zsy7.js} +10 -10
  8. package/dist/chunks/{filesystem-286bwkth.js → model-resolver-0b24q0cx.js} +21 -21
  9. package/dist/chunks/{filesystem-ngzdt2ve.js → model-resolver-0jc0zze9.js} +9 -9
  10. package/dist/chunks/{filesystem-w84f94qk.js → model-resolver-0mpqe4g5.js} +14 -14
  11. package/dist/chunks/{filesystem-rh0vm7a3.js → model-resolver-0z2x41ky.js} +3 -3
  12. package/dist/chunks/{filesystem-w5d18jnt.js → model-resolver-10efznhb.js} +13 -13
  13. package/dist/chunks/{filesystem-mxem74k4.js → model-resolver-10pb4aek.js} +13 -13
  14. package/dist/chunks/{filesystem-gs4x0wfm.js → model-resolver-11y6r1g0.js} +20 -20
  15. package/dist/chunks/{filesystem-8a1tt6eq.js → model-resolver-12vp2fj6.js} +18 -18
  16. package/dist/chunks/{filesystem-9kg5w032.js → model-resolver-160yv0cs.js} +8 -8
  17. package/dist/chunks/{filesystem-qkrpwkqk.js → model-resolver-1bcx7d2f.js} +6 -6
  18. package/dist/chunks/{filesystem-0kzfsnkr.js → model-resolver-1s53h09z.js} +17 -17
  19. package/dist/chunks/{filesystem-abjs6xs3.js → model-resolver-1sbnnat1.js} +18 -18
  20. package/dist/chunks/{filesystem-k7takf4z.js → model-resolver-1t4kmtd0.js} +8 -8
  21. package/dist/chunks/{filesystem-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{filesystem-n11a5kh1.js → model-resolver-1y1rj8zc.js} +28 -28
  23. package/dist/chunks/{filesystem-0r6ymdag.js → model-resolver-228bjbav.js} +2 -2
  24. package/dist/chunks/{filesystem-1ep2p91f.js → model-resolver-27w5k9zf.js} +2 -2
  25. package/dist/chunks/{filesystem-vmw5emv6.js → model-resolver-29twwrpw.js} +25 -25
  26. package/dist/chunks/{filesystem-48wh137g.js → model-resolver-2nasskxr.js} +28 -28
  27. package/dist/chunks/{filesystem-e90h7m11.js → model-resolver-2t8c4xp2.js} +8 -8
  28. package/dist/chunks/{filesystem-2z1j29yd.js → model-resolver-2z1j29yd.js} +1 -1
  29. package/dist/chunks/{filesystem-q1bdnzan.js → model-resolver-33fvch51.js} +1 -1
  30. package/dist/chunks/{filesystem-efjhr83e.js → model-resolver-39teg3wn.js} +34 -34
  31. package/dist/chunks/{filesystem-ayjs7tqn.js → model-resolver-3cbjf1nt.js} +2 -2
  32. package/dist/chunks/{filesystem-gajzcr6m.js → model-resolver-3d1a3cpa.js} +19 -19
  33. package/dist/chunks/{filesystem-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{filesystem-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{filesystem-96te9d4b.js → model-resolver-3tt1qkhr.js} +5 -5
  36. package/dist/chunks/{filesystem-hx3mz2q2.js → model-resolver-3wyhrqfb.js} +8 -8
  37. package/dist/chunks/{filesystem-vcpv0cg0.js → model-resolver-3x2erv17.js} +6 -6
  38. package/dist/chunks/{filesystem-w2eysc6j.js → model-resolver-40za9wsf.js} +9 -9
  39. package/dist/chunks/{filesystem-90x1sh4x.js → model-resolver-418q3ycz.js} +56 -56
  40. package/dist/chunks/{filesystem-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
  41. package/dist/chunks/{filesystem-b6qckq3s.js → model-resolver-4wb8q865.js} +29 -29
  42. package/dist/chunks/{filesystem-4xvmh7wp.js → model-resolver-4xvmh7wp.js} +3 -3
  43. package/dist/chunks/{filesystem-ds6cc6fh.js → model-resolver-5cy8hwkn.js} +19 -19
  44. package/dist/chunks/{filesystem-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  45. package/dist/chunks/{filesystem-kzdpc3xr.js → model-resolver-5nb7nmf0.js} +15 -15
  46. package/dist/chunks/{filesystem-dm791vdb.js → model-resolver-5nbxbk6s.js} +12 -12
  47. package/dist/chunks/{filesystem-r8f6rk3c.js → model-resolver-5r72z9dp.js} +5 -5
  48. package/dist/chunks/{filesystem-3dffs2xc.js → model-resolver-5wcnt0wa.js} +11 -11
  49. package/dist/chunks/{filesystem-xxteqpwx.js → model-resolver-5znn373e.js} +3 -3
  50. package/dist/chunks/{filesystem-1yq9hg58.js → model-resolver-5zrxpy3q.js} +5 -5
  51. package/dist/chunks/{filesystem-rk5tncjm.js → model-resolver-5zwkbtbg.js} +13 -13
  52. package/dist/chunks/{filesystem-61ennm6n.js → model-resolver-61ennm6n.js} +1 -1
  53. package/dist/chunks/{filesystem-7yp67vww.js → model-resolver-61fq8ets.js} +20 -20
  54. package/dist/chunks/{filesystem-z3ayhk2f.js → model-resolver-630f2syh.js} +40 -40
  55. package/dist/chunks/{filesystem-bbzawyb8.js → model-resolver-63ye1ehg.js} +16 -16
  56. package/dist/chunks/{filesystem-tz3v2dvp.js → model-resolver-65q1a8c2.js} +2 -2
  57. package/dist/chunks/{filesystem-y2rgpw35.js → model-resolver-69z9tmq3.js} +11 -11
  58. package/dist/chunks/{filesystem-fngyzhnx.js → model-resolver-6ejkr8wa.js} +14 -14
  59. package/dist/chunks/{filesystem-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{filesystem-zz0567cx.js → model-resolver-6jm5dfm3.js} +9 -9
  61. package/dist/chunks/{filesystem-vvmd7csk.js → model-resolver-6k9kp4xt.js} +16 -16
  62. package/dist/chunks/{filesystem-6pjqjmy2.js → model-resolver-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{filesystem-76cb1hcw.js → model-resolver-76cb1hcw.js} +1 -1
  64. package/dist/chunks/{filesystem-9ab6dc0a.js → model-resolver-78dab631.js} +32 -32
  65. package/dist/chunks/{filesystem-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{filesystem-srha6svp.js → model-resolver-7eq1vvbj.js} +10 -10
  67. package/dist/chunks/{filesystem-yh9xwh37.js → model-resolver-7j9fhv60.js} +6 -6
  68. package/dist/chunks/{filesystem-600wwvjd.js → model-resolver-7jehd3qf.js} +15 -15
  69. package/dist/chunks/{filesystem-gkn4n67r.js → model-resolver-7jtzgymz.js} +2 -2
  70. package/dist/chunks/{filesystem-qswdam80.js → model-resolver-7m6e6bj4.js} +43 -43
  71. package/dist/chunks/{filesystem-nwvcypp6.js → model-resolver-7nbsn3c1.js} +11 -11
  72. package/dist/chunks/{filesystem-kw6b49qt.js → model-resolver-7qnz14k0.js} +44 -44
  73. package/dist/chunks/{filesystem-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
  74. package/dist/chunks/{filesystem-scbc8y9k.js → model-resolver-7whwbhx2.js} +2 -2
  75. package/dist/chunks/model-resolver-7ydrh6n0.js +517 -0
  76. package/dist/chunks/{filesystem-kncd35yj.js → model-resolver-803gsyg1.js} +24 -24
  77. package/dist/chunks/{filesystem-hndjxhwx.js → model-resolver-82ja67e9.js} +8 -8
  78. package/dist/chunks/{filesystem-2xs0rryy.js → model-resolver-83w2q382.js} +30 -30
  79. package/dist/chunks/{filesystem-1e41c092.js → model-resolver-86cab14v.js} +3 -3
  80. package/dist/chunks/{filesystem-vmpcefzm.js → model-resolver-8eyz045r.js} +47 -47
  81. package/dist/chunks/{filesystem-3rr06q29.js → model-resolver-8h7ezeqv.js} +8 -8
  82. package/dist/chunks/{filesystem-e889e6n9.js → model-resolver-8j00d0n5.js} +10 -10
  83. package/dist/chunks/{filesystem-pk31y8jx.js → model-resolver-8kqcsjtz.js} +10 -10
  84. package/dist/chunks/{filesystem-jpkt0sc6.js → model-resolver-8m56m6bs.js} +13 -13
  85. package/dist/chunks/{filesystem-8t7k9j69.js → model-resolver-8qhr1qgv.js} +13 -13
  86. package/dist/chunks/{filesystem-tvw5eq5w.js → model-resolver-8sktcs9h.js} +4 -4
  87. package/dist/chunks/{filesystem-4etepjnw.js → model-resolver-8t76f5pn.js} +6 -6
  88. package/dist/chunks/{filesystem-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
  89. package/dist/chunks/{filesystem-cy5ef8hm.js → model-resolver-8y5hzfxe.js} +11 -11
  90. package/dist/chunks/{filesystem-91rj84md.js → model-resolver-91rj84md.js} +1 -1
  91. package/dist/chunks/{filesystem-h7hbrg9k.js → model-resolver-9bp57grk.js} +52 -52
  92. package/dist/chunks/{filesystem-9cx9sm2q.js → model-resolver-9cx9sm2q.js} +1 -1
  93. package/dist/chunks/{filesystem-j5n4xn75.js → model-resolver-9hpb6mzf.js} +15 -15
  94. package/dist/chunks/{filesystem-rrv8kjjp.js → model-resolver-af84d9dx.js} +22 -22
  95. package/dist/chunks/{filesystem-n6v2b7cw.js → model-resolver-afmnpta1.js} +5 -5
  96. package/dist/chunks/{filesystem-8m0g8d5b.js → model-resolver-afwwx8by.js} +15 -15
  97. package/dist/chunks/{filesystem-9w5zpkrk.js → model-resolver-ah5t8643.js} +31 -31
  98. package/dist/chunks/{filesystem-034tev2y.js → model-resolver-aj7mw0zk.js} +2 -2
  99. package/dist/chunks/{filesystem-9w35abq4.js → model-resolver-akea24pr.js} +18 -18
  100. package/dist/chunks/{filesystem-j0sqg4d1.js → model-resolver-asn1derg.js} +12 -12
  101. package/dist/chunks/{filesystem-4yc3bycz.js → model-resolver-atw6zx0t.js} +30 -30
  102. package/dist/chunks/{filesystem-b0mv4wxm.js → model-resolver-b0mv4wxm.js} +2 -2
  103. package/dist/chunks/{filesystem-q13f8gqt.js → model-resolver-b45qxgvc.js} +11 -11
  104. package/dist/chunks/{filesystem-zr78jqjw.js → model-resolver-b53a2435.js} +16 -16
  105. package/dist/chunks/{filesystem-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
  106. package/dist/chunks/{filesystem-4q1b57yv.js → model-resolver-bf131yvm.js} +4 -4
  107. package/dist/chunks/model-resolver-bnarqm09.js +261 -0
  108. package/dist/chunks/{filesystem-qxe3n5xa.js → model-resolver-bqqm0g8t.js} +6 -6
  109. package/dist/chunks/{filesystem-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
  110. package/dist/chunks/{filesystem-pfy2m4ca.js → model-resolver-bt2mfhwt.js} +5 -5
  111. package/dist/chunks/{filesystem-wybcmnnj.js → model-resolver-bx5t9whz.js} +18 -18
  112. package/dist/chunks/model-resolver-bzdg4g04.js +26 -0
  113. package/dist/chunks/{filesystem-jnmjcr89.js → model-resolver-c4ryf7as.js} +33 -33
  114. package/dist/chunks/{filesystem-z4ndfdcq.js → model-resolver-c7sh4d0v.js} +11 -11
  115. package/dist/chunks/{filesystem-3y5jkgnv.js → model-resolver-c8j7dx8q.js} +11 -11
  116. package/dist/chunks/{filesystem-p07d65z0.js → model-resolver-c9k0snj5.js} +30 -30
  117. package/dist/chunks/{filesystem-kkqethq7.js → model-resolver-c9t2ty9q.js} +4 -4
  118. package/dist/chunks/{filesystem-kvgq4cgd.js → model-resolver-ccftg0qn.js} +24 -24
  119. package/dist/chunks/{filesystem-a54cs83f.js → model-resolver-chmj2sz0.js} +17 -17
  120. package/dist/chunks/{filesystem-9d5cfh3a.js → model-resolver-d3774dqa.js} +18 -18
  121. package/dist/chunks/{filesystem-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
  122. package/dist/chunks/{filesystem-dx106jag.js → model-resolver-d599j5f6.js} +5 -5
  123. package/dist/chunks/{filesystem-bnjexpda.js → model-resolver-daht94gm.js} +4 -4
  124. package/dist/chunks/{filesystem-c5tnkfyv.js → model-resolver-dat5z7dd.js} +25 -25
  125. package/dist/chunks/{filesystem-vgqmettk.js → model-resolver-db579ykn.js} +46 -46
  126. package/dist/chunks/{filesystem-dbgk2cxj.js → model-resolver-dczsttdk.js} +9 -9
  127. package/dist/chunks/{filesystem-q6kf4edm.js → model-resolver-deqbajdy.js} +1 -1
  128. package/dist/chunks/{filesystem-998yhzzq.js → model-resolver-dvj9ct8m.js} +3 -3
  129. package/dist/chunks/{filesystem-mj0wev1x.js → model-resolver-e2ne77ac.js} +2 -2
  130. package/dist/chunks/{filesystem-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{filesystem-e834z07m.js → model-resolver-e834z07m.js} +1 -1
  132. package/dist/chunks/{filesystem-zfk4rxgj.js → model-resolver-ec0dmxm2.js} +8 -8
  133. package/dist/chunks/{filesystem-3gv0spa2.js → model-resolver-emq6awqh.js} +4 -4
  134. package/dist/chunks/{filesystem-jyenpfw3.js → model-resolver-esjvkzj3.js} +4 -4
  135. package/dist/chunks/{filesystem-4mnradvb.js → model-resolver-ey1k9yry.js} +18 -18
  136. package/dist/chunks/{filesystem-d71bfcjn.js → model-resolver-f2sxmxc4.js} +37 -37
  137. package/dist/chunks/{filesystem-jfakxrjq.js → model-resolver-f6fgqg68.js} +25 -25
  138. package/dist/chunks/{filesystem-1gvqg047.js → model-resolver-f6tpkka6.js} +12 -12
  139. package/dist/chunks/{filesystem-5ae85xy6.js → model-resolver-f7g3fwn3.js} +26 -26
  140. package/dist/chunks/{filesystem-9g74tn6t.js → model-resolver-fa91c1bh.js} +29 -29
  141. package/dist/chunks/{filesystem-n3hzq8hq.js → model-resolver-fcj36fpe.js} +21 -21
  142. package/dist/chunks/{filesystem-dhs71wnc.js → model-resolver-fe77ttzw.js} +8 -8
  143. package/dist/chunks/{filesystem-x0vqv7fn.js → model-resolver-ffcdgexk.js} +9 -9
  144. package/dist/chunks/{filesystem-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{filesystem-gek54jmm.js → model-resolver-fkj6e9em.js} +23 -23
  146. package/dist/chunks/{filesystem-82raarjb.js → model-resolver-frqrgtcd.js} +141 -141
  147. package/dist/chunks/{filesystem-048zrydy.js → model-resolver-fvqqv4et.js} +26 -26
  148. package/dist/chunks/{filesystem-3p35tcse.js → model-resolver-fxkq0y0b.js} +21 -21
  149. package/dist/chunks/{filesystem-fdhm0b4k.js → model-resolver-g1bhyb56.js} +8 -8
  150. package/dist/chunks/{filesystem-g5h9c0rr.js → model-resolver-g5h9c0rr.js} +2 -2
  151. package/dist/chunks/{filesystem-6gfsr0bt.js → model-resolver-g6jpb364.js} +30 -30
  152. package/dist/chunks/{filesystem-06w9ffrv.js → model-resolver-g7esga4v.js} +4 -4
  153. package/dist/chunks/{filesystem-r9zbyr4a.js → model-resolver-gds3y6dw.js} +14 -14
  154. package/dist/chunks/{filesystem-rrbn0j5d.js → model-resolver-gr17tpj8.js} +21 -21
  155. package/dist/chunks/{filesystem-5zvran9a.js → model-resolver-gzqxm82s.js} +10 -10
  156. package/dist/chunks/{filesystem-vh4zhzaj.js → model-resolver-h2dp6rby.js} +9 -9
  157. package/dist/chunks/{filesystem-hdfrs5mg.js → model-resolver-hdfrs5mg.js} +2 -2
  158. package/dist/chunks/{filesystem-vxjvm93v.js → model-resolver-hdjrjngx.js} +32 -32
  159. package/dist/chunks/{filesystem-xy470p1n.js → model-resolver-hjg8p6dt.js} +18 -18
  160. package/dist/chunks/{filesystem-mwp0yv48.js → model-resolver-hm3czf85.js} +1 -1
  161. package/dist/chunks/{filesystem-k7hxwx4t.js → model-resolver-hvan4r9d.js} +21 -21
  162. package/dist/chunks/{filesystem-32rqdfc7.js → model-resolver-hvvf9qw8.js} +6 -6
  163. package/dist/chunks/{filesystem-xkat47kc.js → model-resolver-hwcbxmjp.js} +13 -13
  164. package/dist/chunks/{filesystem-jnbf1chn.js → model-resolver-hy3y5vxb.js} +11 -11
  165. package/dist/chunks/{filesystem-zdt59aw1.js → model-resolver-hz3jmkcm.js} +6 -6
  166. package/dist/chunks/{filesystem-ts7mkfs9.js → model-resolver-hzrfc1p4.js} +3 -3
  167. package/dist/chunks/{filesystem-j113cymg.js → model-resolver-j113cymg.js} +1 -1
  168. package/dist/chunks/{filesystem-azx0qc1w.js → model-resolver-j2fby693.js} +13 -13
  169. package/dist/chunks/{filesystem-egnaf4wc.js → model-resolver-j2sak5a4.js} +11 -11
  170. package/dist/chunks/{filesystem-5j8szzxn.js → model-resolver-j6c6q1qg.js} +33 -33
  171. package/dist/chunks/{filesystem-xpyh10vg.js → model-resolver-j7ztxdyv.js} +16 -16
  172. package/dist/chunks/{filesystem-8shc1k29.js → model-resolver-jctb9d8a.js} +6 -6
  173. package/dist/chunks/model-resolver-jztn5z23.js +18 -0
  174. package/dist/chunks/{filesystem-e07q2w5p.js → model-resolver-k17y3afg.js} +6 -6
  175. package/dist/chunks/{filesystem-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
  176. package/dist/chunks/{filesystem-1kqxs66r.js → model-resolver-kf9wr7tw.js} +24 -24
  177. package/dist/chunks/{filesystem-0v2akbxk.js → model-resolver-kmam2x31.js} +15 -15
  178. package/dist/chunks/{filesystem-t4zj4gks.js → model-resolver-ksez1xmc.js} +21 -21
  179. package/dist/chunks/{filesystem-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
  180. package/dist/chunks/{filesystem-074yh523.js → model-resolver-kxkntq3g.js} +11 -11
  181. package/dist/chunks/{filesystem-m1714858.js → model-resolver-m1714858.js} +1 -1
  182. package/dist/chunks/{filesystem-6rh867e6.js → model-resolver-m3xvpryp.js} +52 -52
  183. package/dist/chunks/{filesystem-5bcft13g.js → model-resolver-m5regarp.js} +3 -3
  184. package/dist/chunks/{filesystem-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{filesystem-jefw9j3y.js → model-resolver-masd7ga8.js} +4 -4
  186. package/dist/chunks/{filesystem-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
  187. package/dist/chunks/{filesystem-fxjf9rj9.js → model-resolver-mb2fjdtf.js} +33 -33
  188. package/dist/chunks/{filesystem-j77g158z.js → model-resolver-me7kxg3j.js} +8 -8
  189. package/dist/chunks/{filesystem-2fawgvav.js → model-resolver-mn53dk4j.js} +6 -6
  190. package/dist/chunks/{filesystem-r5y2frqw.js → model-resolver-mna4ccr2.js} +6 -6
  191. package/dist/chunks/{filesystem-sb8x2mjg.js → model-resolver-mpz4w9bp.js} +18 -18
  192. package/dist/chunks/{filesystem-cwb88cey.js → model-resolver-mqawjeef.js} +12 -12
  193. package/dist/chunks/{filesystem-q4syar25.js → model-resolver-ms888k1z.js} +9 -9
  194. package/dist/chunks/{filesystem-2ggcr862.js → model-resolver-msntj4bj.js} +16 -16
  195. package/dist/chunks/{filesystem-5rqb1j6q.js → model-resolver-mzkm9t0w.js} +5 -5
  196. package/dist/chunks/{filesystem-nah043kf.js → model-resolver-nah043kf.js} +1 -1
  197. package/dist/chunks/{filesystem-rz958wdz.js → model-resolver-nkhqptws.js} +23 -23
  198. package/dist/chunks/{filesystem-1jewsfbp.js → model-resolver-nphq4awb.js} +7 -7
  199. package/dist/chunks/{filesystem-aekqvw83.js → model-resolver-nr4h8hhe.js} +3 -3
  200. package/dist/chunks/{filesystem-y5smbybx.js → model-resolver-nwf2p7qx.js} +21 -21
  201. package/dist/chunks/{filesystem-5pjpz24y.js → model-resolver-nxh2s6jf.js} +18 -18
  202. package/dist/chunks/{filesystem-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
  203. package/dist/chunks/{filesystem-7hpze2gp.js → model-resolver-p5hnaym9.js} +33 -33
  204. package/dist/chunks/{filesystem-59ebw7nb.js → model-resolver-pch3hz0d.js} +4 -4
  205. package/dist/chunks/{filesystem-4angxd36.js → model-resolver-pg8q45fa.js} +7 -7
  206. package/dist/chunks/{filesystem-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  207. package/dist/chunks/{filesystem-zqmnxa57.js → model-resolver-pp4ewjef.js} +15 -15
  208. package/dist/chunks/{filesystem-87s5319w.js → model-resolver-pqwj4rse.js} +9 -9
  209. package/dist/chunks/{filesystem-4npqj7c8.js → model-resolver-pzp2gaxy.js} +11 -11
  210. package/dist/chunks/{filesystem-zj038rf2.js → model-resolver-q25re44e.js} +6 -6
  211. package/dist/chunks/{filesystem-fakbbexg.js → model-resolver-q5bt1w9a.js} +11 -11
  212. package/dist/chunks/{filesystem-4x0avmzf.js → model-resolver-q8rfhkjm.js} +2 -2
  213. package/dist/chunks/{filesystem-nsq4yd7p.js → model-resolver-qckrz8jc.js} +1 -1
  214. package/dist/chunks/{filesystem-hk4y1qbf.js → model-resolver-qdr526kf.js} +3 -3
  215. package/dist/chunks/{filesystem-hj2cbhc2.js → model-resolver-qk22s80r.js} +16 -16
  216. package/dist/chunks/{filesystem-bm3x8n5f.js → model-resolver-qvakvk9r.js} +19 -19
  217. package/dist/chunks/{filesystem-egmw08v6.js → model-resolver-qvw98tg0.js} +5 -5
  218. package/dist/chunks/{filesystem-jx89vj1k.js → model-resolver-qyq8h28g.js} +3 -3
  219. package/dist/chunks/{filesystem-r0yr0wbs.js → model-resolver-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{filesystem-rk1c2d86.js → model-resolver-r31y8xxz.js} +25 -25
  221. package/dist/chunks/{filesystem-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
  222. package/dist/chunks/{filesystem-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{filesystem-1zp85v90.js → model-resolver-rckcvcrm.js} +19 -19
  224. package/dist/chunks/{filesystem-3bdnrd1q.js → model-resolver-rcpyc0ca.js} +5 -5
  225. package/dist/chunks/{filesystem-6jp186ct.js → model-resolver-rejxp4z0.js} +24 -24
  226. package/dist/chunks/{filesystem-40h6q7je.js → model-resolver-rgj5zy3t.js} +46 -46
  227. package/dist/chunks/{filesystem-neftya4w.js → model-resolver-rqs3weq5.js} +8 -8
  228. package/dist/chunks/{filesystem-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
  229. package/dist/chunks/{filesystem-3t73xeyv.js → model-resolver-rxrz6b15.js} +2 -2
  230. package/dist/chunks/{filesystem-wt7ydzte.js → model-resolver-rypfym0z.js} +14 -14
  231. package/dist/chunks/{filesystem-65d25esd.js → model-resolver-rzgd3z9h.js} +11 -11
  232. package/dist/chunks/{filesystem-yjvjgdfq.js → model-resolver-s6ttgfdk.js} +21 -21
  233. package/dist/chunks/{filesystem-58g0x2b7.js → model-resolver-s7hdmqvc.js} +7 -7
  234. package/dist/chunks/{filesystem-3wddgepz.js → model-resolver-s8m3mb5a.js} +13 -13
  235. package/dist/chunks/{filesystem-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
  236. package/dist/chunks/{filesystem-37f9eqtg.js → model-resolver-scz2dc1h.js} +13 -13
  237. package/dist/chunks/{filesystem-f4c57skx.js → model-resolver-smcjsr17.js} +11 -11
  238. package/dist/chunks/{filesystem-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
  239. package/dist/chunks/{filesystem-yzs5y582.js → model-resolver-t2tc5r6d.js} +6 -6
  240. package/dist/chunks/{filesystem-8x51n0mm.js → model-resolver-tb5m0pzj.js} +29 -29
  241. package/dist/chunks/{filesystem-4t70q674.js → model-resolver-tbtqmx60.js} +2 -2
  242. package/dist/chunks/{filesystem-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
  243. package/dist/chunks/{filesystem-kvtqra18.js → model-resolver-tsp66mz8.js} +34 -34
  244. package/dist/chunks/{filesystem-twv2r8f4.js → model-resolver-twv2r8f4.js} +2 -2
  245. package/dist/chunks/{filesystem-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
  246. package/dist/chunks/{filesystem-38my8t2w.js → model-resolver-v842z5bm.js} +4 -4
  247. package/dist/chunks/{filesystem-2552f9gw.js → model-resolver-vcx0q4qn.js} +24 -24
  248. package/dist/chunks/{filesystem-ftjyxsq7.js → model-resolver-vcx56sb0.js} +9 -9
  249. package/dist/chunks/{filesystem-vd3b3yk9.js → model-resolver-vd3b3yk9.js} +1 -1
  250. package/dist/chunks/{filesystem-aa6rfe83.js → model-resolver-vdasrjze.js} +30 -30
  251. package/dist/chunks/{filesystem-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  252. package/dist/chunks/{filesystem-eqh43b5v.js → model-resolver-vgk61ywp.js} +9 -9
  253. package/dist/chunks/{filesystem-7gagvex5.js → model-resolver-vjqpxba6.js} +87 -87
  254. package/dist/chunks/{filesystem-5byqedsg.js → model-resolver-vkkqkfme.js} +11 -11
  255. package/dist/chunks/{filesystem-smfcvx02.js → model-resolver-vrcsa8qx.js} +9 -9
  256. package/dist/chunks/{filesystem-14r675e2.js → model-resolver-w362tghn.js} +19 -19
  257. package/dist/chunks/{filesystem-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{filesystem-cgnt16pw.js → model-resolver-w72ah3vp.js} +1 -1
  259. package/dist/chunks/{filesystem-8vdykv35.js → model-resolver-w7c0w3yt.js} +21 -21
  260. package/dist/chunks/{filesystem-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  261. package/dist/chunks/{filesystem-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  262. package/dist/chunks/{filesystem-5w9558x0.js → model-resolver-we45g5b8.js} +47 -47
  263. package/dist/chunks/{filesystem-cwm52xht.js → model-resolver-wp39e252.js} +21 -21
  264. package/dist/chunks/{filesystem-0h8y3ex8.js → model-resolver-wr3re1en.js} +4 -4
  265. package/dist/chunks/{filesystem-wmjzvx4b.js → model-resolver-wtgq8nqm.js} +5 -5
  266. package/dist/chunks/{filesystem-2zz4pbej.js → model-resolver-wz387nhs.js} +11 -11
  267. package/dist/chunks/{filesystem-2a5amaht.js → model-resolver-x1fxt013.js} +22 -22
  268. package/dist/chunks/{filesystem-4wqc8mqe.js → model-resolver-x3t9xer4.js} +7 -7
  269. package/dist/chunks/{filesystem-wachhca3.js → model-resolver-x5xqqq2t.js} +4 -4
  270. package/dist/chunks/{filesystem-11hfp36g.js → model-resolver-x8nvjgx0.js} +4 -4
  271. package/dist/chunks/{filesystem-t6gd5zzm.js → model-resolver-xaj9bxpr.js} +32 -32
  272. package/dist/chunks/{filesystem-pp4x3x88.js → model-resolver-xge113x8.js} +8 -8
  273. package/dist/chunks/{filesystem-0s7h5zzx.js → model-resolver-xgzatw4h.js} +17 -17
  274. package/dist/chunks/{filesystem-msrvq25q.js → model-resolver-xhrj57em.js} +33 -33
  275. package/dist/chunks/{filesystem-g0rar7vt.js → model-resolver-xk05dnhf.js} +17 -17
  276. package/dist/chunks/{filesystem-86m0qwc3.js → model-resolver-xp82r058.js} +9 -9
  277. package/dist/chunks/{filesystem-40g71j7h.js → model-resolver-xrqjfmtn.js} +29 -29
  278. package/dist/chunks/{filesystem-m4zwndh2.js → model-resolver-xw34nzzk.js} +3 -3
  279. package/dist/chunks/{filesystem-qkpn6d5r.js → model-resolver-xy47wren.js} +92 -92
  280. package/dist/chunks/{filesystem-4tqs0jzk.js → model-resolver-y00x4xpa.js} +4 -4
  281. package/dist/chunks/{filesystem-4fvyz6gm.js → model-resolver-y2rsaeas.js} +42 -42
  282. package/dist/chunks/{filesystem-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
  283. package/dist/chunks/{filesystem-sbanjb5j.js → model-resolver-ym4mb7j3.js} +11 -11
  284. package/dist/chunks/{filesystem-e5reh5tz.js → model-resolver-ywa96x82.js} +14 -14
  285. package/dist/chunks/{filesystem-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{filesystem-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
  287. package/dist/chunks/{filesystem-jfh72r8h.js → model-resolver-z799v63j.js} +29 -29
  288. package/dist/chunks/{filesystem-jd6wp082.js → model-resolver-z8gatmq1.js} +39 -39
  289. package/dist/chunks/{filesystem-4fhqgc15.js → model-resolver-z9cvf2rv.js} +16 -16
  290. package/dist/chunks/{filesystem-934a61m2.js → model-resolver-zbs8468w.js} +75 -75
  291. package/dist/chunks/{filesystem-zkg84ctx.js → model-resolver-zkg84ctx.js} +1 -1
  292. package/dist/chunks/{filesystem-03efvwc7.js → model-resolver-zskq6z57.js} +12 -12
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +87 -87
  299. package/dist/config/integration.js +5 -5
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +104 -104
  302. package/dist/config/plugin/agent.js +120 -120
  303. package/dist/config/plugin/command.js +216 -216
  304. package/dist/config/plugin/compaction.js +157 -157
  305. package/dist/config/plugin/compatibility.js +137 -137
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +119 -119
  308. package/dist/config/plugin/image.js +118 -118
  309. package/dist/config/plugin/instruction.js +118 -118
  310. package/dist/config/plugin/location-watcher.js +118 -118
  311. package/dist/config/plugin/mcp.js +129 -129
  312. package/dist/config/plugin/policy.js +120 -120
  313. package/dist/config/plugin/provider.js +119 -119
  314. package/dist/config/plugin/reference.js +120 -120
  315. package/dist/config/plugin/shell.js +118 -118
  316. package/dist/config/plugin/skill-file.js +107 -107
  317. package/dist/config/plugin/skill-scan.js +1 -1
  318. package/dist/config/plugin/skill.js +140 -140
  319. package/dist/config/plugin/snapshot.js +118 -118
  320. package/dist/config/plugin/source.js +121 -121
  321. package/dist/config/plugin/tool-output.js +119 -119
  322. package/dist/config/plugin/websearch.js +117 -117
  323. package/dist/config/plugin/worktree.js +120 -120
  324. package/dist/config/variable.js +1 -1
  325. package/dist/config/watch.js +1 -1
  326. package/dist/config.js +123 -123
  327. package/dist/console-access.js +1 -1
  328. package/dist/credential/sql.js +2 -2
  329. package/dist/credential.js +81 -81
  330. package/dist/database/database.js +74 -74
  331. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  333. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  334. package/dist/database/drizzle/index.js +15 -15
  335. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  338. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  345. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  346. package/dist/database/drizzle.js +16 -16
  347. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  348. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  349. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  350. package/dist/database/migration/20260225215848_workspace.js +1 -1
  351. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  352. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  353. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  354. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  355. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  356. package/dist/database/migration/20260323234822_events.js +1 -1
  357. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  358. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  359. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  360. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  361. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  362. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  363. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  364. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  365. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  366. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  367. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  368. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  369. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  370. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  371. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  372. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  373. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  374. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  375. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  376. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  377. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  378. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  379. package/dist/database/migration/20260611035744_credential.js +1 -1
  380. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  381. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  382. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  383. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  384. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  385. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  386. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  387. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  388. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  389. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  390. package/dist/database/migration/20260812213948_worktree.js +1 -1
  391. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  392. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  393. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  394. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  395. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  396. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  397. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  398. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  399. package/dist/database/migration.gen.js +53 -53
  400. package/dist/database/migration.js +55 -55
  401. package/dist/database/path.js +2 -2
  402. package/dist/database/schema.gen.js +1 -1
  403. package/dist/database/schema.sql.js +1 -1
  404. package/dist/database/sqlite.bun.js +1 -1
  405. package/dist/database/sqlite.js +1 -1
  406. package/dist/database/sqlite.node.js +1 -1
  407. package/dist/database/sqlite.workerd.js +1 -1
  408. package/dist/database/v1-migration.bun.js +93 -93
  409. package/dist/database/v1-migration.js +1 -1
  410. package/dist/effect/app-node-builder.js +376 -376
  411. package/dist/effect/app-node-platform.js +2 -2
  412. package/dist/effect/keyed-mutex.js +3 -3
  413. package/dist/effect/websocket-constructor.js +1 -1
  414. package/dist/environment/driver.js +1 -1
  415. package/dist/environment/environment.js +98 -98
  416. package/dist/environment/exec-defaults.js +2 -2
  417. package/dist/environment/files.js +1 -1
  418. package/dist/environment/index.js +98 -98
  419. package/dist/environment/local.js +2 -2
  420. package/dist/environment/memory.js +2 -2
  421. package/dist/environment/unavailable.js +3 -3
  422. package/dist/event/sql.js +1 -1
  423. package/dist/event-logger.js +78 -78
  424. package/dist/file-access.js +109 -109
  425. package/dist/file-mutation.js +99 -99
  426. package/dist/file-retention.js +1 -1
  427. package/dist/filesystem/fff.bun.js +2 -2
  428. package/dist/filesystem/fff.js +1 -1
  429. package/dist/filesystem/fff.node.js +2 -2
  430. package/dist/filesystem/fff.workerd.js +2 -2
  431. package/dist/filesystem/location-watcher-policy.js +6 -6
  432. package/dist/filesystem/location-watcher.js +227 -227
  433. package/dist/filesystem/protected.js +1 -1
  434. package/dist/filesystem/search.js +104 -104
  435. package/dist/filesystem/watcher-binding.js +3 -3
  436. package/dist/filesystem/watcher.js +11 -11
  437. package/dist/filesystem.js +109 -109
  438. package/dist/form.js +78 -78
  439. package/dist/formatter/builtins.js +4 -4
  440. package/dist/formatter.js +92 -92
  441. package/dist/generate.js +112 -112
  442. package/dist/git.js +11 -11
  443. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  444. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  445. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  446. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  447. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  449. package/dist/github-copilot/copilot-provider.js +17 -17
  450. package/dist/github-copilot/models.js +96 -96
  451. package/dist/github-copilot/openai-compatible-error.js +1 -1
  452. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  453. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  454. package/dist/github-copilot/responses/openai-error.js +1 -1
  455. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  456. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  457. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  458. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  459. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  461. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  462. package/dist/image/photon.js +2 -2
  463. package/dist/image.js +6 -6
  464. package/dist/instance/service.js +5 -5
  465. package/dist/instance.js +367 -367
  466. package/dist/instruction-discovery.js +86 -86
  467. package/dist/instructions/builtins.js +92 -92
  468. package/dist/instructions/index.js +3 -3
  469. package/dist/integration/connection.js +1 -1
  470. package/dist/integration.js +85 -85
  471. package/dist/job.js +82 -82
  472. package/dist/kv/sql.js +2 -2
  473. package/dist/kv.js +77 -77
  474. package/dist/location-activity.js +161 -161
  475. package/dist/location-lifecycle.js +112 -112
  476. package/dist/location-service-map.js +91 -91
  477. package/dist/location-services.js +364 -364
  478. package/dist/location.js +86 -86
  479. package/dist/managed-policy.js +9 -9
  480. package/dist/mcp/client.js +96 -96
  481. package/dist/mcp/index.js +114 -114
  482. package/dist/mcp/instructions.js +141 -141
  483. package/dist/mcp/oauth.js +82 -82
  484. package/dist/mcp/socket-client.js +1 -1
  485. package/dist/mcp/stdio.js +95 -95
  486. package/dist/mime.js +1 -1
  487. package/dist/modal/models.js +96 -96
  488. package/dist/model-resolver.js +104 -104
  489. package/dist/model-retry.js +1 -1
  490. package/dist/model.js +99 -99
  491. package/dist/models-dev.js +112 -112
  492. package/dist/oauth/page.js +1 -1
  493. package/dist/permission/saved.js +86 -86
  494. package/dist/permission/sql.js +5 -5
  495. package/dist/permission.js +120 -120
  496. package/dist/persistent-pty/binary.bun.js +1 -1
  497. package/dist/persistent-pty/daemon.js +1 -1
  498. package/dist/persistent-pty/index.js +94 -94
  499. package/dist/persistent-pty/pty-binding.js +1 -1
  500. package/dist/persistent-pty.js +79 -79
  501. package/dist/plugin/agent.js +80 -80
  502. package/dist/plugin/command.js +107 -107
  503. package/dist/plugin/hooks.js +5 -5
  504. package/dist/plugin/host.js +222 -222
  505. package/dist/plugin/identity.js +5 -5
  506. package/dist/plugin/instance.js +5 -5
  507. package/dist/plugin/internal.js +337 -337
  508. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  509. package/dist/plugin/models-dev.js +101 -101
  510. package/dist/plugin/module.js +120 -120
  511. package/dist/plugin/optimize.js +2 -2
  512. package/dist/plugin/plan.js +107 -107
  513. package/dist/plugin/promise.js +1 -1
  514. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  515. package/dist/plugin/provider/azure.js +118 -118
  516. package/dist/plugin/provider/cerebras.js +1 -1
  517. package/dist/plugin/provider/chatgpt.js +118 -118
  518. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  519. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  520. package/dist/plugin/provider/cohere.js +2 -2
  521. package/dist/plugin/provider/configured.js +114 -114
  522. package/dist/plugin/provider/databricks.js +1 -1
  523. package/dist/plugin/provider/digitalocean.js +98 -98
  524. package/dist/plugin/provider/dynamic.js +2 -2
  525. package/dist/plugin/provider/factory.js +1 -1
  526. package/dist/plugin/provider/github-copilot.js +100 -100
  527. package/dist/plugin/provider/gitlab.js +98 -98
  528. package/dist/plugin/provider/google-vertex.js +115 -115
  529. package/dist/plugin/provider/kilo.js +1 -1
  530. package/dist/plugin/provider/llmgateway.js +82 -82
  531. package/dist/plugin/provider/lmstudio.js +125 -125
  532. package/dist/plugin/provider/local.js +124 -124
  533. package/dist/plugin/provider/modal.js +97 -97
  534. package/dist/plugin/provider/neon.js +1 -1
  535. package/dist/plugin/provider/nvidia.js +1 -1
  536. package/dist/plugin/provider/ollama.js +127 -127
  537. package/dist/plugin/provider/openai-context-caps.js +95 -95
  538. package/dist/plugin/provider/openai.js +118 -118
  539. package/dist/plugin/provider/opencode-legacy.js +105 -105
  540. package/dist/plugin/provider/opencode.js +124 -124
  541. package/dist/plugin/provider/openrouter.js +96 -96
  542. package/dist/plugin/provider/perplexity.js +2 -2
  543. package/dist/plugin/provider/poe.js +83 -83
  544. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  545. package/dist/plugin/provider/sap-ai-core.js +96 -96
  546. package/dist/plugin/provider/sdk-factory.js +1 -1
  547. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  548. package/dist/plugin/provider/vercel.js +95 -95
  549. package/dist/plugin/provider/vllm.js +127 -127
  550. package/dist/plugin/provider/xai.js +96 -96
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +175 -175
  553. package/dist/plugin/sdk.js +80 -80
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +136 -136
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +354 -354
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +6 -6
  560. package/dist/plugin/vcs/git.js +91 -91
  561. package/dist/plugin/vcs/hg.js +91 -91
  562. package/dist/plugin/verbosity.js +98 -98
  563. package/dist/plugin/warming.js +116 -116
  564. package/dist/plugin/websearch/exa.js +5 -5
  565. package/dist/plugin/websearch/firecrawl.js +6 -6
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +6 -6
  568. package/dist/plugin/websearch/parallel.js +8 -8
  569. package/dist/plugin/websearch/tavily.js +6 -6
  570. package/dist/plugin/websearch/tinyfish.js +8 -8
  571. package/dist/plugin.js +231 -231
  572. package/dist/project/schema.js +2 -2
  573. package/dist/project/sql.js +4 -4
  574. package/dist/project.js +85 -85
  575. package/dist/provider.js +98 -98
  576. package/dist/pty/protocol.js +1 -1
  577. package/dist/pty/ticket.js +1 -1
  578. package/dist/pty.js +101 -101
  579. package/dist/reference/instructions.js +94 -94
  580. package/dist/reference.js +96 -96
  581. package/dist/repository-cache.js +86 -86
  582. package/dist/repository.js +1 -1
  583. package/dist/ripgrep/binary.js +2 -2
  584. package/dist/ripgrep.js +102 -102
  585. package/dist/rpc.js +91 -91
  586. package/dist/schema.js +1 -1
  587. package/dist/session/affinity.js +1 -1
  588. package/dist/session/command.js +78 -78
  589. package/dist/session/compaction.js +141 -141
  590. package/dist/session/context.js +167 -167
  591. package/dist/session/diff.js +93 -93
  592. package/dist/session/environment.js +5 -5
  593. package/dist/session/error.js +5 -5
  594. package/dist/session/event.js +1 -1
  595. package/dist/session/execution/restart.js +226 -226
  596. package/dist/session/execution.js +133 -133
  597. package/dist/session/generate.js +169 -169
  598. package/dist/session/history.js +15 -15
  599. package/dist/session/inbox.js +99 -99
  600. package/dist/session/info.js +3 -3
  601. package/dist/session/instruction-entry.js +83 -83
  602. package/dist/session/instruction-state.js +8 -8
  603. package/dist/session/instructions.js +102 -102
  604. package/dist/session/message-updater.js +2 -2
  605. package/dist/session/message.js +1 -1
  606. package/dist/session/model-request.js +125 -125
  607. package/dist/session/model-transport.js +9 -9
  608. package/dist/session/move.js +135 -135
  609. package/dist/session/projector.js +93 -93
  610. package/dist/session/prompt.js +110 -110
  611. package/dist/session/recent-text.js +1 -1
  612. package/dist/session/revert.js +99 -99
  613. package/dist/session/run-coordinator.js +3 -3
  614. package/dist/session/runner/index.js +3 -3
  615. package/dist/session/runner/llm.js +233 -233
  616. package/dist/session/runner/max-steps.js +1 -1
  617. package/dist/session/runner/model.js +105 -105
  618. package/dist/session/runner/publish-llm-event.js +118 -118
  619. package/dist/session/runner/retry.js +5 -5
  620. package/dist/session/runner/step.js +129 -129
  621. package/dist/session/runner/to-llm-message.js +14 -14
  622. package/dist/session/schema.js +5 -5
  623. package/dist/session/session.js +167 -167
  624. package/dist/session/shell.js +132 -132
  625. package/dist/session/skill.js +108 -108
  626. package/dist/session/sql.js +5 -5
  627. package/dist/session/stats.js +79 -79
  628. package/dist/session/store.js +89 -89
  629. package/dist/session/subagent-completion.js +1 -1
  630. package/dist/session/subagent-job.js +214 -214
  631. package/dist/session/system-prompt.js +3 -3
  632. package/dist/session/title.js +169 -169
  633. package/dist/session/to-session-error.js +117 -117
  634. package/dist/session/transfer.js +222 -222
  635. package/dist/session/usage.js +1 -1
  636. package/dist/session.js +220 -220
  637. package/dist/shell/parse.js +6 -6
  638. package/dist/shell/result.js +1 -1
  639. package/dist/shell/scan.js +1 -1
  640. package/dist/shell/select.js +15 -15
  641. package/dist/shell.js +134 -134
  642. package/dist/skill/discovery.js +6 -6
  643. package/dist/skill/instructions.js +110 -110
  644. package/dist/skill.js +119 -119
  645. package/dist/snapshot.js +98 -98
  646. package/dist/state.js +1 -1
  647. package/dist/tool/html-markdown.js +1 -1
  648. package/dist/tool/http-body.js +1 -1
  649. package/dist/tool/mcp.js +140 -140
  650. package/dist/tool/plugin/edit.js +125 -125
  651. package/dist/tool/plugin/file-diff.js +1 -1
  652. package/dist/tool/plugin/glob.js +129 -129
  653. package/dist/tool/plugin/grep.js +129 -129
  654. package/dist/tool/plugin/mcp-resource.js +129 -129
  655. package/dist/tool/plugin/opencode.js +114 -114
  656. package/dist/tool/plugin/patch.js +127 -127
  657. package/dist/tool/plugin/question.js +108 -108
  658. package/dist/tool/plugin/read.js +130 -130
  659. package/dist/tool/plugin/shell.js +217 -217
  660. package/dist/tool/plugin/skill.js +116 -116
  661. package/dist/tool/plugin/subagent.js +219 -219
  662. package/dist/tool/plugin/todo.js +140 -140
  663. package/dist/tool/plugin/webfetch.js +116 -116
  664. package/dist/tool/plugin/websearch.js +115 -115
  665. package/dist/tool/plugin/write.js +127 -127
  666. package/dist/tool/read-filesystem.js +107 -107
  667. package/dist/tool/runtime.js +1 -1
  668. package/dist/tool-output.js +7 -7
  669. package/dist/tool.js +16 -16
  670. package/dist/usage-limits.js +93 -93
  671. package/dist/util/error-summary.js +1 -1
  672. package/dist/util/git-executable.js +3 -3
  673. package/dist/util/lazy.js +1 -1
  674. package/dist/util/slug.js +1 -1
  675. package/dist/util/token.js +1 -1
  676. package/dist/util/which.js +1 -1
  677. package/dist/util/wildcard.js +1 -1
  678. package/dist/v1/config/agent.js +5 -5
  679. package/dist/v1/config/command.js +3 -3
  680. package/dist/v1/config/mcp.js +6 -6
  681. package/dist/v1/config/migrate.js +97 -97
  682. package/dist/v1/config/permission.js +7 -7
  683. package/dist/v1/config/plugin.js +3 -3
  684. package/dist/v1/config/provider-options.js +1 -1
  685. package/dist/v1/config/provider.js +4 -4
  686. package/dist/variant.js +98 -98
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +94 -94
  689. package/dist/voice.js +92 -92
  690. package/dist/websearch.js +88 -88
  691. package/dist/wellknown/plugin.js +80 -80
  692. package/dist/wellknown.js +83 -83
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +84 -84
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +11 -11
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +94 -94
  700. package/dist/worktree.js +103 -103
  701. package/package.json +8 -8
  702. package/dist/chunks/filesystem-0983wq4j.js +0 -26
  703. package/dist/chunks/filesystem-6cw60t4e.js +0 -261
  704. package/dist/chunks/filesystem-sx82062d.js +0 -517
  705. package/dist/chunks/filesystem-z355x5yr.js +0 -18
  706. /package/dist/chunks/{filesystem-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{filesystem-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{filesystem-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{filesystem-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{filesystem-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{filesystem-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{filesystem-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  713. /package/dist/chunks/{filesystem-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{filesystem-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{filesystem-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  716. /package/dist/chunks/{filesystem-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{filesystem-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{filesystem-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{filesystem-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{filesystem-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{filesystem-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{filesystem-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  723. /package/dist/chunks/{filesystem-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{filesystem-5fjb7ams.js → model-resolver-5fjb7ams.js} +0 -0
  725. /package/dist/chunks/{filesystem-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  726. /package/dist/chunks/{filesystem-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  727. /package/dist/chunks/{filesystem-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{filesystem-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{filesystem-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  730. /package/dist/chunks/{filesystem-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  731. /package/dist/chunks/{filesystem-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{filesystem-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{filesystem-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{filesystem-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{filesystem-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{filesystem-a058387c.js → model-resolver-a058387c.js} +0 -0
  737. /package/dist/chunks/{filesystem-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{filesystem-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{filesystem-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{filesystem-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{filesystem-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{filesystem-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{filesystem-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{filesystem-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{filesystem-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
  746. /package/dist/chunks/{filesystem-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{filesystem-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{filesystem-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{filesystem-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{filesystem-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{filesystem-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  752. /package/dist/chunks/{filesystem-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{filesystem-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{filesystem-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{filesystem-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{filesystem-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{filesystem-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{filesystem-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{filesystem-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{filesystem-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{filesystem-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{filesystem-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{filesystem-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  764. /package/dist/chunks/{filesystem-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{filesystem-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  766. /package/dist/chunks/{filesystem-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  767. /package/dist/chunks/{filesystem-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  768. /package/dist/chunks/{filesystem-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{filesystem-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{filesystem-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{filesystem-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{filesystem-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{filesystem-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
  774. /package/dist/chunks/{filesystem-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  775. /package/dist/chunks/{filesystem-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{filesystem-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  777. /package/dist/chunks/{filesystem-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  778. /package/dist/chunks/{filesystem-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  779. /package/dist/chunks/{filesystem-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  780. /package/dist/chunks/{filesystem-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  781. /package/dist/chunks/{filesystem-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  782. /package/dist/chunks/{filesystem-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  783. /package/dist/chunks/{filesystem-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  784. /package/dist/chunks/{filesystem-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  785. /package/dist/chunks/{filesystem-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  786. /package/dist/chunks/{filesystem-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  787. /package/dist/chunks/{filesystem-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  788. /package/dist/chunks/{filesystem-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  789. /package/dist/chunks/{filesystem-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  790. /package/dist/chunks/{filesystem-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  791. /package/dist/chunks/{filesystem-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  792. /package/dist/chunks/{filesystem-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{filesystem-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  794. /package/dist/chunks/{filesystem-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  795. /package/dist/chunks/{filesystem-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  796. /package/dist/chunks/{filesystem-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  797. /package/dist/chunks/{filesystem-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
  798. /package/dist/chunks/{filesystem-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  799. /package/dist/chunks/{filesystem-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  800. /package/dist/chunks/{filesystem-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  801. /package/dist/chunks/{filesystem-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  802. /package/dist/chunks/{filesystem-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  803. /package/dist/chunks/{filesystem-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  804. /package/dist/chunks/{filesystem-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  805. /package/dist/chunks/{filesystem-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  806. /package/dist/chunks/{filesystem-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service82
3
- } from "./filesystem-cwb88cey.js";
2
+ Service81
3
+ } from "./model-resolver-mqawjeef.js";
4
4
  import {
5
- Service73
6
- } from "./filesystem-6rh867e6.js";
5
+ Service42
6
+ } from "./model-resolver-m3xvpryp.js";
7
7
  import {
8
- ID6,
8
+ ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service58
14
- } from "./filesystem-n11a5kh1.js";
13
+ Service15
14
+ } from "./model-resolver-1y1rj8zc.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./model-resolver-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input9,
22
+ Input: () => Input5,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin9,
24
+ Plugin: () => Plugin22,
25
25
  WebSearchTool: () => exports_websearch,
26
26
  description: () => description4,
27
- name: () => name9
27
+ name: () => name5
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai/effect";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name9 = "websearch";
32
+ var name5 = "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([
@@ -39,28 +39,28 @@ var httpErrors = new Map([
39
39
  var description4 = `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 Input9 = Schema.Struct({
42
+ var Input5 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID6,
46
+ provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin9 = {
49
+ var Plugin22 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service73;
53
- const forms = yield* Service82;
54
- const websearch = yield* Service58;
52
+ const permission = yield* Service42;
53
+ const forms = yield* Service81;
54
+ const websearch = yield* Service15;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name9,
56
+ name: name5,
57
57
  options: { codemode: false },
58
58
  description: description4,
59
- input: Input9,
59
+ input: Input5,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name9,
63
+ action: name5,
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[name9];
179
+ delete event.tools[name5];
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 { name9, NO_RESULTS2, description4, Input9, Plugin9, exports_websearch };
187
+ export { name5, NO_RESULTS2, description4, Input5, Plugin22, exports_websearch };
@@ -1,138 +1,138 @@
1
1
  import {
2
2
  Metadata2,
3
- node63
4
- } from "./filesystem-nwvcypp6.js";
3
+ node75
4
+ } from "./model-resolver-7nbsn3c1.js";
5
5
  import {
6
- Service86,
7
- node90
8
- } from "./filesystem-4fhqgc15.js";
6
+ Service85,
7
+ node89
8
+ } from "./model-resolver-z9cvf2rv.js";
9
9
  import {
10
10
  ID10,
11
- Service76,
12
- node80
13
- } from "./filesystem-zr78jqjw.js";
11
+ Service71,
12
+ node74
13
+ } from "./model-resolver-b53a2435.js";
14
14
  import {
15
15
  ID15,
16
16
  OAuth3
17
- } from "./filesystem-g0rar7vt.js";
17
+ } from "./model-resolver-xk05dnhf.js";
18
18
  import {
19
19
  ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service80,
24
- node84
25
- } from "./filesystem-y5smbybx.js";
23
+ Service79,
24
+ node83
25
+ } from "./model-resolver-nwf2p7qx.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./filesystem-z5v4ffb3.js";
28
+ } from "./model-resolver-z5v4ffb3.js";
29
29
  import {
30
30
  Info28,
31
31
  Ref4,
32
32
  Service83,
33
33
  node87
34
- } from "./filesystem-0r6ymdag.js";
34
+ } from "./model-resolver-228bjbav.js";
35
35
  import {
36
36
  ID13,
37
- Service79,
38
- node83
39
- } from "./filesystem-ds6cc6fh.js";
37
+ Service78,
38
+ node82
39
+ } from "./model-resolver-5cy8hwkn.js";
40
40
  import {
41
- Service67,
42
- node71
43
- } from "./filesystem-pgrw573c.js";
41
+ Service76,
42
+ node80
43
+ } from "./model-resolver-0ak2zsy7.js";
44
44
  import {
45
45
  Service57,
46
- node61
47
- } from "./filesystem-3p35tcse.js";
46
+ node60
47
+ } from "./model-resolver-fxkq0y0b.js";
48
48
  import {
49
- Service71,
50
- node75
51
- } from "./filesystem-3wddgepz.js";
49
+ Service67,
50
+ node70
51
+ } from "./model-resolver-s8m3mb5a.js";
52
52
  import {
53
- Service65,
54
- node69
55
- } from "./filesystem-dbgk2cxj.js";
53
+ Service70,
54
+ node73
55
+ } from "./model-resolver-dczsttdk.js";
56
56
  import {
57
57
  ID12,
58
- Service78,
59
- node82
60
- } from "./filesystem-5pjpz24y.js";
58
+ Service77,
59
+ node81
60
+ } from "./model-resolver-nxh2s6jf.js";
61
61
  import {
62
- ID5
63
- } from "./filesystem-40g71j7h.js";
62
+ ID8
63
+ } from "./model-resolver-xrqjfmtn.js";
64
64
  import {
65
- Service41,
66
- node44
67
- } from "./filesystem-vgqmettk.js";
65
+ Service26,
66
+ node29
67
+ } from "./model-resolver-db579ykn.js";
68
68
  import {
69
- Service77,
70
- node81
71
- } from "./filesystem-j77g158z.js";
69
+ Service61,
70
+ node64
71
+ } from "./model-resolver-me7kxg3j.js";
72
72
  import {
73
- Service73,
74
- node77
75
- } from "./filesystem-6rh867e6.js";
73
+ Service42,
74
+ node44
75
+ } from "./model-resolver-m3xvpryp.js";
76
76
  import {
77
- Service49,
78
- node52,
79
- Error3
80
- } from "./filesystem-jfakxrjq.js";
77
+ Service59,
78
+ node62,
79
+ Error4
80
+ } from "./model-resolver-f6fgqg68.js";
81
81
  import {
82
- Source3,
83
- Service44,
84
- node47
85
- } from "./filesystem-9g74tn6t.js";
82
+ Source5,
83
+ Service65,
84
+ node68
85
+ } from "./model-resolver-fa91c1bh.js";
86
86
  import {
87
- Info18,
88
- Service72,
89
- node76
90
- } from "./filesystem-8x51n0mm.js";
87
+ Info5,
88
+ Service30,
89
+ node33
90
+ } from "./model-resolver-tb5m0pzj.js";
91
91
  import {
92
- Service28,
93
- node31
94
- } from "./filesystem-qkpn6d5r.js";
92
+ Service17,
93
+ node20
94
+ } from "./model-resolver-xy47wren.js";
95
95
  import {
96
- Service27,
97
- node30
98
- } from "./filesystem-jnmjcr89.js";
96
+ Service63,
97
+ node66
98
+ } from "./model-resolver-c4ryf7as.js";
99
99
  import {
100
- Service26,
101
- node29
102
- } from "./filesystem-w84f94qk.js";
100
+ Service16,
101
+ node19
102
+ } from "./model-resolver-0mpqe4g5.js";
103
103
  import {
104
- Service24,
105
- node27
106
- } from "./filesystem-n3hzq8hq.js";
104
+ Service56,
105
+ node59
106
+ } from "./model-resolver-fcj36fpe.js";
107
107
  import {
108
- ID6,
109
- Service58,
110
- node62
111
- } from "./filesystem-n11a5kh1.js";
108
+ ID3,
109
+ Service15,
110
+ node18
111
+ } from "./model-resolver-1y1rj8zc.js";
112
112
  import {
113
- Service23,
114
- node26
115
- } from "./filesystem-4mnradvb.js";
113
+ Service69,
114
+ node72
115
+ } from "./model-resolver-ey1k9yry.js";
116
116
  import {
117
117
  StrategyID2,
118
- Info6,
119
- ListEntry2,
120
- Service22,
121
- node25
122
- } from "./filesystem-jd6wp082.js";
118
+ Info20,
119
+ ListEntry3,
120
+ Service68,
121
+ node71
122
+ } from "./model-resolver-z8gatmq1.js";
123
123
  import {
124
- Service25,
125
- node28
126
- } from "./filesystem-048zrydy.js";
124
+ Service74,
125
+ node78
126
+ } from "./model-resolver-fvqqv4et.js";
127
127
  import {
128
128
  __export
129
- } from "./filesystem-9rqn6x4v.js";
129
+ } from "./model-resolver-9rqn6x4v.js";
130
130
 
131
131
  // src/plugin/host.ts
132
132
  var exports_host = {};
133
133
  __export(exports_host, {
134
134
  PluginHost: () => exports_host,
135
- make: () => make13,
135
+ make: () => make12,
136
136
  requirements: () => requirements3,
137
137
  storage: () => storage2
138
138
  });
@@ -142,32 +142,32 @@ import { Effect, Schema, Stream } from "effect";
142
142
  import { LayerNode } from "@opencode/util/effect/layer-node";
143
143
  var mutable = (value) => value;
144
144
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
145
- var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
+ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
146
146
  const app = yield* Metadata2;
147
- const agents = yield* Service76;
148
- const aisdk = yield* Service67;
149
- const providers = yield* Service79;
150
- const models = yield* Service78;
147
+ const agents = yield* Service71;
148
+ const aisdk = yield* Service76;
149
+ const providers = yield* Service78;
150
+ const models = yield* Service77;
151
151
  const commands = yield* Service57;
152
- const bus = yield* Service86;
153
- const integration = yield* Service80;
154
- const kv = yield* Service71;
155
- const mcp = yield* Service41;
152
+ const bus = yield* Service85;
153
+ const integration = yield* Service79;
154
+ const kv = yield* Service67;
155
+ const mcp = yield* Service26;
156
156
  const location = yield* Service83;
157
- const reference = yield* Service44;
158
- const rpc = yield* Service26;
159
- const skill = yield* Service72;
160
- const tools = yield* Service49;
161
- const vcs = yield* Service24;
162
- const websearch = yield* Service58;
163
- const generate = yield* Service25;
164
- const permission = yield* Service73;
165
- const hooks = yield* Service77;
166
- const sessions = yield* Service28;
167
- const persistentPty = yield* Service27;
168
- const locations = yield* Service65;
169
- const worktrees = yield* Service22;
170
- const worktreeStrategies = yield* Service23;
157
+ const reference = yield* Service65;
158
+ const rpc = yield* Service16;
159
+ const skill = yield* Service30;
160
+ const tools = yield* Service59;
161
+ const vcs = yield* Service56;
162
+ const websearch = yield* Service15;
163
+ const generate = yield* Service74;
164
+ const permission = yield* Service42;
165
+ const hooks = yield* Service61;
166
+ const sessions = yield* Service17;
167
+ const persistentPty = yield* Service63;
168
+ const locations = yield* Service70;
169
+ const worktrees = yield* Service68;
170
+ const worktreeStrategies = yield* Service69;
171
171
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
172
172
  const locationInfo = () => new Info28({
173
173
  directory: location.directory,
@@ -176,15 +176,15 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
176
176
  });
177
177
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
178
178
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
179
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID5.make(input.location.workspace)
179
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID8.make(input.location.workspace)
180
180
  });
181
181
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
182
182
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
183
- const decodeWorktree = Schema.decodeUnknownEffect(Info6);
184
- const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
183
+ const decodeWorktree = Schema.decodeUnknownEffect(Info20);
184
+ const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
185
185
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
186
186
  const location = yield* Service83;
187
- const agents = yield* Service76;
187
+ const agents = yield* Service71;
188
188
  return {
189
189
  location: new Info28({
190
190
  directory: location.directory,
@@ -401,7 +401,7 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
401
401
  if (ref && !isCurrentLocation(ref))
402
402
  return Effect.gen(function* () {
403
403
  const location = yield* Service83;
404
- const mcp = yield* Service41;
404
+ const mcp = yield* Service26;
405
405
  return {
406
406
  location: new Info28({
407
407
  directory: location.directory,
@@ -430,9 +430,9 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
430
430
  get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
431
431
  reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
432
432
  assert: (input) => permission.assert(input).pipe(Effect.catchTags({
433
- "Permission.BlockedError": (error) => Effect.fail(new Error3({ message: error.message, error })),
434
- "Permission.CorrectedError": (error) => Effect.fail(new Error3({ message: error.feedback, error })),
435
- "Session.NotFoundError": (error) => Effect.fail(new Error3({ message: `Session not found: ${error.sessionID}`, error }))
433
+ "Permission.BlockedError": (error) => Effect.fail(new Error4({ message: error.message, error })),
434
+ "Permission.CorrectedError": (error) => Effect.fail(new Error4({ message: error.feedback, error })),
435
+ "Session.NotFoundError": (error) => Effect.fail(new Error4({ message: `Session not found: ${error.sessionID}`, error }))
436
436
  }))
437
437
  },
438
438
  plugin: {
@@ -443,7 +443,7 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
443
443
  reload: reference.reload,
444
444
  transform: (callback) => reference.transform((editor) => {
445
445
  callback({
446
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
446
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
447
447
  remove: editor.remove,
448
448
  list: editor.list,
449
449
  get: editor.get
@@ -457,7 +457,7 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
457
457
  callback({
458
458
  list: () => mutable(editor.list()),
459
459
  get: editor.get,
460
- add: (value) => editor.add(Schema.decodeUnknownSync(Info18)(value)),
460
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info5)(value)),
461
461
  update: editor.update,
462
462
  remove: editor.remove
463
463
  });
@@ -488,19 +488,19 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
488
488
  providers: () => response(websearch.providers()),
489
489
  query: (input) => response(websearch.query({
490
490
  query: input.query,
491
- providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
491
+ providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
492
492
  })),
493
493
  reload: websearch.reload,
494
494
  transform: (callback) => websearch.transform((editor) => {
495
495
  callback({
496
496
  add: (definition) => editor.add({
497
- id: ID6.make(definition.id),
497
+ id: ID3.make(definition.id),
498
498
  name: definition.name,
499
499
  execute: definition.execute
500
500
  }),
501
501
  default: {
502
502
  get: editor.default.get,
503
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
503
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
504
504
  }
505
505
  });
506
506
  })
@@ -561,31 +561,31 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
561
561
  return context;
562
562
  });
563
563
  var requirements3 = LayerNode.group([
564
- node63,
564
+ node75,
565
+ node74,
565
566
  node80,
566
- node71,
567
- node83,
568
567
  node82,
569
- node61,
570
- node90,
571
- node84,
572
- node75,
573
- node44,
574
- node87,
575
- node47,
568
+ node81,
569
+ node60,
570
+ node89,
571
+ node83,
572
+ node70,
576
573
  node29,
577
- node76,
578
- node52,
579
- node27,
574
+ node87,
575
+ node68,
576
+ node19,
577
+ node33,
580
578
  node62,
581
- node25,
582
- node26,
583
- node28,
584
- node77,
585
- node81,
586
- node31,
587
- node30,
588
- node69
579
+ node59,
580
+ node18,
581
+ node71,
582
+ node72,
583
+ node78,
584
+ node44,
585
+ node64,
586
+ node20,
587
+ node66,
588
+ node73
589
589
  ]);
590
590
  function storage2(kv, pluginID) {
591
591
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -657,4 +657,4 @@ function credential(value) {
657
657
  return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });
658
658
  }
659
659
 
660
- export { make13, requirements3, storage2, exports_host };
660
+ export { make12, requirements3, storage2, exports_host };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./filesystem-p015t6z3.js";
3
+ } from "./model-resolver-p015t6z3.js";
4
4
  import {
5
- Service66,
6
- node70
7
- } from "./filesystem-48wh137g.js";
5
+ Service75,
6
+ node79
7
+ } from "./model-resolver-2nasskxr.js";
8
8
  import {
9
9
  retry2
10
- } from "./filesystem-9cx9sm2q.js";
10
+ } from "./model-resolver-9cx9sm2q.js";
11
11
  import {
12
12
  __export
13
- } from "./filesystem-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/generate.ts
16
- var exports_generate = {};
17
- __export(exports_generate, {
18
- Generate: () => exports_generate,
16
+ var exports_generate2 = {};
17
+ __export(exports_generate2, {
18
+ Generate: () => exports_generate2,
19
19
  ModelSelectionError: () => ModelSelectionError2,
20
- Service: () => Service25,
21
- UnavailableError: () => UnavailableError4,
22
- layer: () => layer13,
23
- node: () => node28
20
+ Service: () => Service74,
21
+ UnavailableError: () => UnavailableError5,
22
+ layer: () => layer26,
23
+ node: () => node78
24
24
  });
25
25
  import { LLM, LLMClient } from "@opencode/ai/effect";
26
26
  import { SessionID } from "@opencode/schema/session-id";
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
34
+ class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service25 extends Context.Service()("@opencode/Generate") {
40
+ class Service74 extends Context.Service()("@opencode/Generate") {
41
41
  }
42
- var layer13 = Layer.effect(Service25, Effect.gen(function* () {
42
+ var layer26 = Layer.effect(Service74, Effect.gen(function* () {
43
43
  const llm = yield* LLMClient.Service;
44
- const resolver = yield* Service66;
44
+ const resolver = yield* Service75;
45
45
  const runText = Effect.fn("Generate.text")(function* (input) {
46
46
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
47
47
  "SessionRunnerModel.VariantUnavailableError",
@@ -51,7 +51,7 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
51
51
  "SessionRunnerModel.UnresolvedProviderVariablesError",
52
52
  "SessionRunnerModel.UnsupportedCompactionError"
53
53
  ], (error) => {
54
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: error.providerID });
54
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError5({ message: error.message, service: error.providerID });
55
55
  return Effect.fail(mapped);
56
56
  }));
57
57
  if (!resolved)
@@ -62,21 +62,21 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
62
62
  model: resolved.model,
63
63
  prompt: input.prompt,
64
64
  http: { headers: { "x-opencode-session": SessionID.create() } }
65
- })).pipe(retry2, Effect.mapError((error) => new UnavailableError4({
65
+ })).pipe(retry2, Effect.mapError((error) => new UnavailableError5({
66
66
  message: error.message,
67
67
  service: resolved.ref.providerID
68
68
  })));
69
69
  return response.text;
70
70
  });
71
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({
71
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({
72
72
  message: "Generation credentials are unavailable"
73
73
  })));
74
- return Service25.of({ text });
74
+ return Service74.of({ text });
75
75
  }));
76
- var node28 = makeLocationNode({
77
- service: Service25,
78
- layer: layer13,
79
- deps: [node70, llmClient2]
76
+ var node78 = makeLocationNode({
77
+ service: Service74,
78
+ layer: layer26,
79
+ deps: [node79, llmClient2]
80
80
  });
81
81
 
82
- export { ModelSelectionError2, UnavailableError4, Service25, layer13, node28, exports_generate };
82
+ export { ModelSelectionError2, UnavailableError5, Service74, layer26, node78, exports_generate2 };