@opencode/core 0.0.0-dev-21756 → 0.0.0-dev-21761

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +92 -91
  4. package/dist/aisdk.js +94 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{websearch-00ve6mdn.js → aisdk-00ve6mdn.js} +1 -1
  8. package/dist/chunks/{websearch-ddj2qmc2.js → aisdk-00xj84pr.js} +7 -7
  9. package/dist/chunks/{websearch-nqaab5fx.js → aisdk-01xkvnr3.js} +8 -8
  10. package/dist/chunks/{websearch-034tev2y.js → aisdk-034tev2y.js} +2 -2
  11. package/dist/chunks/{websearch-zsgey489.js → aisdk-049c72zv.js} +5 -5
  12. package/dist/chunks/{websearch-vq142dc8.js → aisdk-04sye11p.js} +5 -5
  13. package/dist/chunks/{websearch-d1dxzg06.js → aisdk-05y9e0hf.js} +2 -2
  14. package/dist/chunks/{websearch-mvx17366.js → aisdk-0a71s41t.js} +11 -11
  15. package/dist/chunks/{websearch-fznmdakp.js → aisdk-0h8y3ex8.js} +4 -4
  16. package/dist/chunks/{websearch-q5ksxkha.js → aisdk-0p25w9ph.js} +6 -6
  17. package/dist/chunks/{websearch-zkgq49d1.js → aisdk-0p88zpcm.js} +4 -4
  18. package/dist/chunks/{websearch-gnk1ngs3.js → aisdk-0teydma5.js} +15 -15
  19. package/dist/chunks/{websearch-negnaxrt.js → aisdk-12nb02t2.js} +18 -18
  20. package/dist/chunks/{websearch-1ep2p91f.js → aisdk-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{websearch-zzfxyc91.js → aisdk-1ja24dq6.js} +28 -28
  22. package/dist/chunks/{websearch-mzw1ndaz.js → aisdk-1qcedexj.js} +87 -87
  23. package/dist/chunks/{websearch-1x2knyw4.js → aisdk-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{websearch-4hjg18t3.js → aisdk-220mdhzb.js} +4 -4
  25. package/dist/chunks/{websearch-pyg2ad4d.js → aisdk-26j25cha.js} +56 -56
  26. package/dist/chunks/{websearch-68k8pcn2.js → aisdk-29hrpqng.js} +19 -19
  27. package/dist/chunks/{websearch-bc0ymgk0.js → aisdk-2wdrvq6a.js} +47 -47
  28. package/dist/chunks/{websearch-shnwrs1k.js → aisdk-2y7eyeza.js} +33 -33
  29. package/dist/chunks/{websearch-2z1j29yd.js → aisdk-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{websearch-xrc3640n.js → aisdk-3416qbwy.js} +8 -8
  31. package/dist/chunks/{websearch-bxfrdttp.js → aisdk-35fwsjrv.js} +28 -28
  32. package/dist/chunks/{websearch-tnqzh63d.js → aisdk-36qx82yz.js} +17 -7
  33. package/dist/chunks/{websearch-pvn3retk.js → aisdk-37geb7z3.js} +17 -17
  34. package/dist/chunks/{websearch-dhww0s6x.js → aisdk-38shjhjm.js} +1 -1
  35. package/dist/chunks/{websearch-3rgj9tjs.js → aisdk-3d48af3m.js} +30 -30
  36. package/dist/chunks/{websearch-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{websearch-3nnrz6f6.js → aisdk-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{websearch-39kss88q.js → aisdk-3p1jq0np.js} +9 -9
  39. package/dist/chunks/{websearch-8rf240hq.js → aisdk-3x08tjx8.js} +9 -9
  40. package/dist/chunks/{websearch-vz1a888q.js → aisdk-3x857x5x.js} +172 -172
  41. package/dist/chunks/{websearch-b5yc11pg.js → aisdk-3zycr9qn.js} +20 -20
  42. package/dist/chunks/{websearch-eraf7cqm.js → aisdk-4bnk94p6.js} +32 -32
  43. package/dist/chunks/{websearch-b868c8d8.js → aisdk-4cq5g4wa.js} +38 -38
  44. package/dist/chunks/{websearch-vy9rjjkt.js → aisdk-4e2nnt3c.js} +22 -22
  45. package/dist/chunks/{websearch-qvswfh9d.js → aisdk-4fwdgzfb.js} +23 -23
  46. package/dist/chunks/{websearch-ejgxm2nm.js → aisdk-4gyktcna.js} +19 -19
  47. package/dist/chunks/{websearch-4v008n1t.js → aisdk-4v008n1t.js} +1 -1
  48. package/dist/chunks/{websearch-4xvmh7wp.js → aisdk-4xvmh7wp.js} +3 -3
  49. package/dist/chunks/{websearch-j6a70pje.js → aisdk-55ry4qzj.js} +50 -50
  50. package/dist/chunks/{websearch-befe4cf3.js → aisdk-587x5jpz.js} +4 -4
  51. package/dist/chunks/{websearch-rjbe0a9e.js → aisdk-5avxzg1d.js} +3 -3
  52. package/dist/chunks/{websearch-sc8entjg.js → aisdk-5cs07f0d.js} +9 -9
  53. package/dist/chunks/{websearch-8emm9fy9.js → aisdk-5d8bg0wt.js} +4 -4
  54. package/dist/chunks/{websearch-40za9wsf.js → aisdk-5enarcya.js} +6 -6
  55. package/dist/chunks/{websearch-3z074cxn.js → aisdk-5kg1rr73.js} +7 -7
  56. package/dist/chunks/{websearch-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{websearch-yydqqga9.js → aisdk-5w1mdqt7.js} +4 -4
  58. package/dist/chunks/{websearch-y22e2amb.js → aisdk-5zr4pxbw.js} +18 -18
  59. package/dist/chunks/{websearch-6zrr0fnw.js → aisdk-65xt1b15.js} +33 -33
  60. package/dist/chunks/{websearch-gyz3azbf.js → aisdk-6673z0jd.js} +12 -12
  61. package/dist/chunks/{websearch-6esdw8yj.js → aisdk-6esdw8yj.js} +1 -1
  62. package/dist/chunks/{websearch-85sv36r4.js → aisdk-6gveg3af.js} +22 -22
  63. package/dist/chunks/{websearch-c6r66q4n.js → aisdk-6gvhtv45.js} +2 -2
  64. package/dist/chunks/{websearch-rwf9r3m0.js → aisdk-6k4nvbs0.js} +32 -32
  65. package/dist/chunks/{websearch-5fjdabgp.js → aisdk-6nw7xe5v.js} +11 -11
  66. package/dist/chunks/{websearch-6pjqjmy2.js → aisdk-6pjqjmy2.js} +1 -1
  67. package/dist/chunks/{websearch-m8gc8z80.js → aisdk-6v1bxwq1.js} +15 -15
  68. package/dist/chunks/{websearch-neyf1ckr.js → aisdk-77j7mfrn.js} +15 -15
  69. package/dist/chunks/{websearch-nq3mvejp.js → aisdk-78qdxz5c.js} +10 -10
  70. package/dist/chunks/{websearch-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{websearch-xfbpcgb3.js → aisdk-7gv8tktv.js} +23 -23
  72. package/dist/chunks/{websearch-pbjsg7m1.js → aisdk-7tnvyfx2.js} +21 -21
  73. package/dist/chunks/{websearch-7w2ypzdf.js → aisdk-7w2ypzdf.js} +1 -1
  74. package/dist/chunks/{websearch-rv7ddw0n.js → aisdk-7wxtqqfa.js} +27 -27
  75. package/dist/chunks/{websearch-afmnpta1.js → aisdk-7xg2jm5b.js} +5 -5
  76. package/dist/chunks/{websearch-4jv1qxwj.js → aisdk-7z013g1v.js} +5 -5
  77. package/dist/chunks/{websearch-pk0v2zct.js → aisdk-80sbmjz5.js} +13 -13
  78. package/dist/chunks/{websearch-fz7prppb.js → aisdk-87j4n1tv.js} +17 -17
  79. package/dist/chunks/{websearch-zxxqm14y.js → aisdk-88gdvb0f.js} +14 -14
  80. package/dist/chunks/{websearch-pc1v25hk.js → aisdk-8bc2ahr8.js} +3 -3
  81. package/dist/chunks/{websearch-qjgzc4b4.js → aisdk-8jztxfpf.js} +4 -4
  82. package/dist/chunks/{websearch-ygqqsqxe.js → aisdk-8kyn5d4c.js} +5 -5
  83. package/dist/chunks/{websearch-0jst9dmz.js → aisdk-8mb6a7e8.js} +21 -21
  84. package/dist/chunks/{websearch-vbymnfc5.js → aisdk-8pme5eag.js} +14 -14
  85. package/dist/chunks/{websearch-8wtp7s3z.js → aisdk-8wtp7s3z.js} +1 -1
  86. package/dist/chunks/{websearch-fv6att8a.js → aisdk-8wxdtvx4.js} +12 -12
  87. package/dist/chunks/{websearch-n7hthk3p.js → aisdk-8x10f120.js} +23 -23
  88. package/dist/chunks/{websearch-sfkj0ta1.js → aisdk-8y31xnqm.js} +5 -5
  89. package/dist/chunks/{websearch-91rj84md.js → aisdk-91rj84md.js} +1 -1
  90. package/dist/chunks/{websearch-998yhzzq.js → aisdk-998yhzzq.js} +3 -3
  91. package/dist/chunks/{websearch-shvrd9z9.js → aisdk-9a91xz6j.js} +28 -28
  92. package/dist/chunks/{websearch-4c9adx7x.js → aisdk-9c04767k.js} +12 -12
  93. package/dist/chunks/{websearch-q6bn7qw5.js → aisdk-9cbnrx2n.js} +6 -6
  94. package/dist/chunks/aisdk-9dkfkrqe.js +257 -0
  95. package/dist/chunks/{websearch-hvwvq3df.js → aisdk-9grvd76r.js} +8 -8
  96. package/dist/chunks/{websearch-kp0e8qdv.js → aisdk-9zz0xvdb.js} +21 -21
  97. package/dist/chunks/{websearch-czcebxpq.js → aisdk-a4c7tjfz.js} +68 -68
  98. package/dist/chunks/{websearch-vnntc3sm.js → aisdk-a60wbeh3.js} +35 -35
  99. package/dist/chunks/{websearch-53xcczwb.js → aisdk-a9eckmg9.js} +13 -13
  100. package/dist/chunks/{websearch-1v0n44x7.js → aisdk-abr9m9q2.js} +16 -16
  101. package/dist/chunks/aisdk-ag1sebv8.js +111 -0
  102. package/dist/chunks/{websearch-1yf62w26.js → aisdk-ajz4j5wg.js} +1 -1
  103. package/dist/chunks/{websearch-0421tmwc.js → aisdk-apd5jra7.js} +9 -9
  104. package/dist/chunks/{websearch-hzrfc1p4.js → aisdk-arz7hw7x.js} +3 -3
  105. package/dist/chunks/{websearch-54mwpwnj.js → aisdk-ax2hm835.js} +46 -46
  106. package/dist/chunks/{websearch-etj7xr5r.js → aisdk-axmgkvat.js} +26 -26
  107. package/dist/chunks/{websearch-sy9xwmw1.js → aisdk-aybq7ad1.js} +8 -8
  108. package/dist/chunks/{websearch-ayjs7tqn.js → aisdk-ayjs7tqn.js} +2 -2
  109. package/dist/chunks/{websearch-b0mv4wxm.js → aisdk-b0mv4wxm.js} +2 -2
  110. package/dist/chunks/{websearch-d7qtxm9r.js → aisdk-b0v3gy1q.js} +10 -10
  111. package/dist/chunks/{websearch-b6vsg801.js → aisdk-b6vsg801.js} +2 -2
  112. package/dist/chunks/{websearch-nzcs0wzz.js → aisdk-b9zkcqt6.js} +8 -8
  113. package/dist/chunks/{websearch-35myeakn.js → aisdk-bkc2tac9.js} +11 -11
  114. package/dist/chunks/{websearch-z41z05dk.js → aisdk-br70t734.js} +6 -6
  115. package/dist/chunks/{websearch-bstexjd6.js → aisdk-bstexjd6.js} +1 -1
  116. package/dist/chunks/{websearch-dkcjkp08.js → aisdk-bsym7w2k.js} +6 -6
  117. package/dist/chunks/{websearch-fmnjzv27.js → aisdk-c3f7s1z4.js} +5 -5
  118. package/dist/chunks/{websearch-4p8v6gf7.js → aisdk-c84xww2z.js} +3 -3
  119. package/dist/chunks/{websearch-61m88qqz.js → aisdk-cd1mybd7.js} +33 -33
  120. package/dist/chunks/{websearch-syvntbhr.js → aisdk-ckpcc1p6.js} +16 -16
  121. package/dist/chunks/{websearch-wfewkgqg.js → aisdk-cq35sb18.js} +42 -42
  122. package/dist/chunks/{websearch-qtmq7hg9.js → aisdk-csbefy86.js} +41 -41
  123. package/dist/chunks/{websearch-efz7hhzt.js → aisdk-d0a8twh9.js} +12 -12
  124. package/dist/chunks/{websearch-d4v9tmah.js → aisdk-d4v9tmah.js} +2 -2
  125. package/dist/chunks/{websearch-hy8c1z76.js → aisdk-ddvn7d3w.js} +8 -8
  126. package/dist/chunks/{websearch-53b428tw.js → aisdk-dg7jpt9k.js} +18 -18
  127. package/dist/chunks/{websearch-e4k6zsy1.js → aisdk-dgyr5e3n.js} +30 -23
  128. package/dist/chunks/{websearch-a7hcemwv.js → aisdk-djwtgbda.js} +8 -8
  129. package/dist/chunks/{websearch-4a126rg5.js → aisdk-dpaznkka.js} +27 -27
  130. package/dist/chunks/{websearch-cv8jg5mf.js → aisdk-dzz03wkf.js} +11 -11
  131. package/dist/chunks/{websearch-jneg3k74.js → aisdk-e5dqjz6v.js} +4 -4
  132. package/dist/chunks/{websearch-2bcte980.js → aisdk-e7f9c5nc.js} +1 -1
  133. package/dist/chunks/{websearch-e834z07m.js → aisdk-e834z07m.js} +1 -1
  134. package/dist/chunks/{websearch-5pr32gd7.js → aisdk-ebzzn2wv.js} +48 -48
  135. package/dist/chunks/{websearch-1y0wdj51.js → aisdk-eg2ky145.js} +4 -4
  136. package/dist/chunks/{websearch-0kajrgn5.js → aisdk-eg4538tj.js} +8 -8
  137. package/dist/chunks/{websearch-fvc4bqe2.js → aisdk-eq3fc1qc.js} +5 -5
  138. package/dist/chunks/{websearch-6rg7kjpy.js → aisdk-er6r66k3.js} +28 -28
  139. package/dist/chunks/{websearch-hswty8r3.js → aisdk-ewvn0npq.js} +22 -22
  140. package/dist/chunks/{websearch-bn7kdvhq.js → aisdk-f2h28766.js} +11 -11
  141. package/dist/chunks/{websearch-g6wnqzhb.js → aisdk-f3esefgg.js} +17 -17
  142. package/dist/chunks/{websearch-9hj5qrya.js → aisdk-f6nndrrh.js} +24 -24
  143. package/dist/chunks/aisdk-fffr9x0a.js +26 -0
  144. package/dist/chunks/{websearch-fffv3p7h.js → aisdk-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{websearch-26ye1a0h.js → aisdk-fs61zt0f.js} +43 -43
  146. package/dist/chunks/{websearch-5mmnsyp9.js → aisdk-fsgf2sts.js} +13 -13
  147. package/dist/chunks/{websearch-w9gfj7y9.js → aisdk-fvh2vv9m.js} +24 -24
  148. package/dist/chunks/{websearch-qfw0te7b.js → aisdk-g0ca4n64.js} +15 -15
  149. package/dist/chunks/{websearch-g5h9c0rr.js → aisdk-g5h9c0rr.js} +2 -2
  150. package/dist/chunks/{websearch-6twykydk.js → aisdk-gcjdgkn2.js} +9 -9
  151. package/dist/chunks/{websearch-qcf9sep0.js → aisdk-gfk8shh2.js} +7 -7
  152. package/dist/chunks/{websearch-xqqxjzgs.js → aisdk-gggmd2rh.js} +18 -18
  153. package/dist/chunks/{websearch-tn5rj4h4.js → aisdk-grnky8r7.js} +21 -21
  154. package/dist/chunks/{websearch-eb0nfaz4.js → aisdk-gy7s430a.js} +11 -11
  155. package/dist/chunks/{websearch-9yt3qsdq.js → aisdk-h6vh40gh.js} +22 -22
  156. package/dist/chunks/{websearch-mptby4ra.js → aisdk-h7pdcx31.js} +42 -42
  157. package/dist/chunks/{websearch-876de6v3.js → aisdk-h83fqc2v.js} +23 -23
  158. package/dist/chunks/{websearch-rxrz6b15.js → aisdk-hhafapa0.js} +2 -2
  159. package/dist/chunks/{websearch-j82mhg5v.js → aisdk-hpdmknzn.js} +13 -13
  160. package/dist/chunks/{websearch-ceeb7cqk.js → aisdk-hv6j6j2x.js} +11 -11
  161. package/dist/chunks/{websearch-99v8e8rn.js → aisdk-hvssq0y7.js} +2 -2
  162. package/dist/chunks/{websearch-j113cymg.js → aisdk-j113cymg.js} +1 -1
  163. package/dist/chunks/{websearch-3aw6bcdd.js → aisdk-j2t5kkxj.js} +29 -29
  164. package/dist/chunks/{websearch-r5q4n18f.js → aisdk-j43965rx.js} +9 -9
  165. package/dist/chunks/{websearch-qyrktak0.js → aisdk-j461w920.js} +32 -32
  166. package/dist/chunks/{websearch-3qn9w17a.js → aisdk-j61vbze9.js} +11 -11
  167. package/dist/chunks/{websearch-35sav4w0.js → aisdk-jawg49hk.js} +11 -11
  168. package/dist/chunks/{websearch-3g41ey7s.js → aisdk-jtpvmkzs.js} +11 -11
  169. package/dist/chunks/{websearch-t2c8c6tj.js → aisdk-k3a9bzeg.js} +14 -14
  170. package/dist/chunks/{websearch-dswfp19d.js → aisdk-k63vy0cm.js} +3 -3
  171. package/dist/chunks/{websearch-k814nvkf.js → aisdk-k814nvkf.js} +1 -1
  172. package/dist/chunks/{websearch-7vftsjfj.js → aisdk-kcp9cvk2.js} +26 -26
  173. package/dist/chunks/{websearch-ezdmt8g7.js → aisdk-kfwzpye5.js} +5 -5
  174. package/dist/chunks/{websearch-mfwfc967.js → aisdk-kgwvpfhe.js} +16 -16
  175. package/dist/chunks/{websearch-2fkrhbg9.js → aisdk-kpx1d59m.js} +23 -23
  176. package/dist/chunks/{websearch-74m3x80w.js → aisdk-kwfd8efh.js} +10 -10
  177. package/dist/chunks/{websearch-m1714858.js → aisdk-m1714858.js} +1 -1
  178. package/dist/chunks/{websearch-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{websearch-maspj1v3.js → aisdk-maspj1v3.js} +1 -1
  180. package/dist/chunks/{websearch-601m2pka.js → aisdk-mb36f359.js} +22 -22
  181. package/dist/chunks/{websearch-c3cfh5w6.js → aisdk-mmkbt6v3.js} +9 -9
  182. package/dist/chunks/{websearch-e14ep8c2.js → aisdk-mqzq7ps5.js} +8 -8
  183. package/dist/chunks/{websearch-d2887f8n.js → aisdk-mtkfycnh.js} +4 -4
  184. package/dist/chunks/{websearch-n0p0277s.js → aisdk-n0p0277s.js} +1 -1
  185. package/dist/chunks/{websearch-4snbakks.js → aisdk-n3y3wd5f.js} +4 -4
  186. package/dist/chunks/{websearch-aamv54pf.js → aisdk-n8da7heg.js} +29 -29
  187. package/dist/chunks/{websearch-770pw0s1.js → aisdk-nah043kf.js} +4 -4
  188. package/dist/chunks/{websearch-e1g8z5n0.js → aisdk-nefstypy.js} +14 -14
  189. package/dist/chunks/{websearch-090ayew8.js → aisdk-nnp54cts.js} +16 -16
  190. package/dist/chunks/{websearch-p015t6z3.js → aisdk-p015t6z3.js} +2 -2
  191. package/dist/chunks/{websearch-3bp5jjvw.js → aisdk-p7pnaddp.js} +6 -6
  192. package/dist/chunks/{websearch-hwyh2kpq.js → aisdk-pdfka3qf.js} +11 -11
  193. package/dist/chunks/{websearch-nbv85aqk.js → aisdk-pft6njjq.js} +21 -21
  194. package/dist/chunks/{websearch-sepw9312.js → aisdk-pgh89q3r.js} +9 -9
  195. package/dist/chunks/{websearch-da9th9a0.js → aisdk-pj44ejs4.js} +21 -21
  196. package/dist/chunks/{websearch-pknna89w.js → aisdk-pknna89w.js} +1 -1
  197. package/dist/chunks/{websearch-ztf6n3de.js → aisdk-prd8gnhb.js} +4 -4
  198. package/dist/chunks/{websearch-ve5gzmd5.js → aisdk-q1z4kk8n.js} +4 -4
  199. package/dist/chunks/{websearch-ezejdjmf.js → aisdk-q3drqv0m.js} +10 -10
  200. package/dist/chunks/{websearch-yg7ytxzr.js → aisdk-q409csbg.js} +11 -11
  201. package/dist/chunks/{websearch-qhsybjre.js → aisdk-q5ewbhp3.js} +12 -12
  202. package/dist/chunks/{websearch-kndc5src.js → aisdk-q7ke1em1.js} +1 -1
  203. package/dist/chunks/{websearch-zzhs96fs.js → aisdk-q9aq9fqv.js} +15 -15
  204. package/dist/chunks/{websearch-60ndzxv8.js → aisdk-q9epxj2b.js} +37 -37
  205. package/dist/chunks/{websearch-gjw9pjem.js → aisdk-qacamjxb.js} +18 -18
  206. package/dist/chunks/{websearch-6bqp8z2s.js → aisdk-qm80d3sz.js} +18 -18
  207. package/dist/chunks/{websearch-ahjrynj8.js → aisdk-qsqxvd8d.js} +16 -16
  208. package/dist/chunks/{websearch-tgsxr5er.js → aisdk-qx09r870.js} +14 -14
  209. package/dist/chunks/{websearch-adcxthm4.js → aisdk-qyrdhqaa.js} +35 -35
  210. package/dist/chunks/{websearch-ga92ybw9.js → aisdk-r0td1pez.js} +14 -14
  211. package/dist/chunks/{websearch-r0yr0wbs.js → aisdk-r0yr0wbs.js} +1 -1
  212. package/dist/chunks/{websearch-mjxc5aj5.js → aisdk-r892vp5m.js} +43 -43
  213. package/dist/chunks/{websearch-rb9dy4dg.js → aisdk-rb9dy4dg.js} +1 -1
  214. package/dist/chunks/{websearch-mmqtdvrn.js → aisdk-rfd5kqhk.js} +4 -4
  215. package/dist/chunks/{websearch-1v3m6w2k.js → aisdk-rmezgp6m.js} +335 -335
  216. package/dist/chunks/{websearch-bjhzkqyk.js → aisdk-rrad2nt9.js} +4 -4
  217. package/dist/chunks/{websearch-vgr3c4a7.js → aisdk-rrfmzwpm.js} +4 -4
  218. package/dist/chunks/{websearch-rt5dr6hb.js → aisdk-rt5dr6hb.js} +1 -1
  219. package/dist/chunks/{websearch-4x7cszc9.js → aisdk-rytxqrsr.js} +20 -20
  220. package/dist/chunks/{websearch-t0h12fke.js → aisdk-s2p0a5nx.js} +14 -14
  221. package/dist/chunks/{websearch-hch4wa3n.js → aisdk-s99p9jh6.js} +8 -6
  222. package/dist/chunks/aisdk-sa3fpqfw.js +46 -0
  223. package/dist/chunks/{websearch-8t9b736e.js → aisdk-sa8jxy57.js} +15 -15
  224. package/dist/chunks/{websearch-kbjsyctr.js → aisdk-sc3bsvgm.js} +18 -18
  225. package/dist/chunks/{websearch-a6959n1g.js → aisdk-shn52zna.js} +10 -10
  226. package/dist/chunks/{websearch-sqjzf8x2.js → aisdk-sqjzf8x2.js} +1 -1
  227. package/dist/chunks/{websearch-67gksmdf.js → aisdk-srazx2b7.js} +30 -30
  228. package/dist/chunks/{websearch-z7w4m9jf.js → aisdk-ss04k2gg.js} +29 -29
  229. package/dist/chunks/{websearch-7jz0dh2k.js → aisdk-syjzf9mk.js} +19 -19
  230. package/dist/chunks/{websearch-fq91yvwf.js → aisdk-szkfmpq9.js} +17 -17
  231. package/dist/chunks/{websearch-pd0633z0.js → aisdk-szxd9w50.js} +30 -30
  232. package/dist/chunks/{websearch-cz1vwcws.js → aisdk-t60595ww.js} +2 -2
  233. package/dist/chunks/{websearch-4r4bnvcy.js → aisdk-t9yxd4g7.js} +4 -4
  234. package/dist/chunks/{websearch-tczq8hjw.js → aisdk-tczq8hjw.js} +1 -1
  235. package/dist/chunks/{websearch-rsdttbp5.js → aisdk-tq0qt55e.js} +15 -15
  236. package/dist/chunks/{websearch-b87x680z.js → aisdk-tsgcpws0.js} +20 -20
  237. package/dist/chunks/{websearch-tw8zr1ps.js → aisdk-tw8zr1ps.js} +1 -1
  238. package/dist/chunks/{websearch-twv2r8f4.js → aisdk-twv2r8f4.js} +2 -2
  239. package/dist/chunks/{websearch-584q6htd.js → aisdk-tz9bjn7r.js} +3 -3
  240. package/dist/chunks/{websearch-0ty15b8r.js → aisdk-v2e82ypn.js} +13 -13
  241. package/dist/chunks/{websearch-v2r1d0zg.js → aisdk-v2r1d0zg.js} +1 -1
  242. package/dist/chunks/{websearch-q3bgpfy7.js → aisdk-v2ywx7d9.js} +17 -17
  243. package/dist/chunks/{websearch-2f6dwfym.js → aisdk-v9b1jn8p.js} +21 -21
  244. package/dist/chunks/{websearch-sf4dycwn.js → aisdk-v9esy932.js} +11 -11
  245. package/dist/chunks/{websearch-p7vhpwh8.js → aisdk-v9ez2kgh.js} +5 -5
  246. package/dist/chunks/{websearch-n7wnam13.js → aisdk-vbhy04yp.js} +8 -8
  247. package/dist/chunks/{websearch-vd3b3yk9.js → aisdk-vd3b3yk9.js} +1 -1
  248. package/dist/chunks/{websearch-g4fsskpn.js → aisdk-ve5z042r.js} +27 -27
  249. package/dist/chunks/{websearch-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  250. package/dist/chunks/{websearch-b65mwzbx.js → aisdk-vf2v61ts.js} +28 -28
  251. package/dist/chunks/{websearch-tdpgt7wh.js → aisdk-vh0jeg5q.js} +20 -20
  252. package/dist/chunks/{websearch-eqmd2tfz.js → aisdk-vmfhgzt5.js} +7 -7
  253. package/dist/chunks/{websearch-0hxcp4e6.js → aisdk-vspp8v6d.js} +6 -6
  254. package/dist/chunks/{websearch-yhta6zhb.js → aisdk-vzarcnq3.js} +16 -16
  255. package/dist/chunks/{websearch-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{websearch-d0ctn9ee.js → aisdk-w4c0j6zg.js} +24 -24
  257. package/dist/chunks/{websearch-w8qtt4th.js → aisdk-w8qtt4th.js} +1 -1
  258. package/dist/chunks/{websearch-wakvkjy4.js → aisdk-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{websearch-wd87259q.js → aisdk-wd87259q.js} +1 -1
  260. package/dist/chunks/{websearch-c3b0e464.js → aisdk-wezhzhbw.js} +20 -20
  261. package/dist/chunks/{websearch-q3vt6pnc.js → aisdk-whhz53d6.js} +14 -14
  262. package/dist/chunks/{websearch-kb4gstwj.js → aisdk-wp4rg1a9.js} +5 -5
  263. package/dist/chunks/{websearch-c9erfsw0.js → aisdk-ws84jjae.js} +46 -46
  264. package/dist/chunks/{websearch-0r7sceh0.js → aisdk-x0v1qxj5.js} +18 -18
  265. package/dist/chunks/{websearch-tez9md4y.js → aisdk-x4r9ezkk.js} +6 -6
  266. package/dist/chunks/{websearch-pv4tdx85.js → aisdk-x7vk9p31.js} +11 -11
  267. package/dist/chunks/{websearch-dmk8nbcm.js → aisdk-x8n50tyc.js} +11 -11
  268. package/dist/chunks/{websearch-mt3ysty9.js → aisdk-xkympmbz.js} +6 -6
  269. package/dist/chunks/{websearch-2axrbrmc.js → aisdk-xrwhez4s.js} +7 -7
  270. package/dist/chunks/{websearch-6jm1rnt9.js → aisdk-xvdmjtkf.js} +87 -87
  271. package/dist/chunks/{websearch-y4kbxhdq.js → aisdk-xwbr60jz.js} +8 -8
  272. package/dist/chunks/{websearch-v2aqy3r9.js → aisdk-y1tjw70v.js} +11 -11
  273. package/dist/chunks/{websearch-wkpxpnd1.js → aisdk-y89skamq.js} +35 -35
  274. package/dist/chunks/{websearch-yb20nhc3.js → aisdk-yb20nhc3.js} +1 -1
  275. package/dist/chunks/{websearch-b6ft8j34.js → aisdk-yjwcb63e.js} +9 -9
  276. package/dist/chunks/{websearch-bne87zw5.js → aisdk-yk9hzv9x.js} +19 -19
  277. package/dist/chunks/{websearch-xazjtzbh.js → aisdk-ypr958tt.js} +15 -15
  278. package/dist/chunks/{websearch-an558sqv.js → aisdk-yr1nt44v.js} +7 -7
  279. package/dist/chunks/{websearch-y605yc6m.js → aisdk-yyb821fg.js} +25 -25
  280. package/dist/chunks/{websearch-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{websearch-6dbnd2pd.js → aisdk-z0dwwj88.js} +24 -24
  282. package/dist/chunks/{websearch-z38nccrw.js → aisdk-z38nccrw.js} +1 -1
  283. package/dist/chunks/{websearch-zkg84ctx.js → aisdk-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{websearch-vs6d5gmb.js → aisdk-zmr7x0ed.js} +2 -2
  285. package/dist/chunks/{websearch-77mes9hg.js → aisdk-zp2rbezs.js} +13 -13
  286. package/dist/chunks/{websearch-zpe8k49a.js → aisdk-zyzsrgv4.js} +9 -9
  287. package/dist/chunks/{websearch-vnmgdpj6.js → aisdk-zzwtngp7.js} +5 -5
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +85 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +102 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +105 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +95 -94
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +96 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +98 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +107 -106
  416. package/dist/file-mutation.js +97 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +105 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +90 -89
  432. package/dist/generate.js +106 -105
  433. package/dist/git.js +11 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +102 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +90 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +110 -109
  467. package/dist/location-service-map.js +89 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +92 -91
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +94 -93
  472. package/dist/mcp/index.js +104 -103
  473. package/dist/mcp/instructions.js +141 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +93 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +102 -101
  479. package/dist/model-resolver.js +104 -103
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +97 -96
  482. package/dist/models-dev.js +104 -103
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +110 -109
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +90 -90
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +105 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +5 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +99 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +5 -3
  503. package/dist/plugin/plan.js +105 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +93 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +96 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +98 -97
  518. package/dist/plugin/provider/gitlab.js +96 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +95 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +93 -92
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +101 -100
  531. package/dist/plugin/provider/openrouter.js +94 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +94 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +93 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +94 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +168 -168
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +1 -1
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +351 -351
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +89 -88
  551. package/dist/plugin/vcs/hg.js +89 -88
  552. package/dist/plugin/verbosity.js +96 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +221 -221
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +93 -92
  565. package/dist/provider.js +96 -95
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +91 -91
  569. package/dist/reference/instructions.js +92 -91
  570. package/dist/reference.js +92 -91
  571. package/dist/repository-cache.js +84 -83
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +100 -99
  575. package/dist/rpc.js +89 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +139 -138
  580. package/dist/session/context.js +165 -164
  581. package/dist/session/diff.js +91 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +131 -130
  587. package/dist/session/generate.js +165 -164
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +95 -95
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +100 -99
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +123 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +133 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +108 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +97 -96
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +103 -102
  608. package/dist/session/runner/publish-llm-event.js +117 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +129 -128
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +163 -163
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +106 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +169 -168
  623. package/dist/session/to-session-error.js +115 -114
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +8 -8
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +15 -15
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +110 -109
  634. package/dist/skill.js +113 -112
  635. package/dist/snapshot.js +96 -95
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +140 -139
  640. package/dist/tool/plugin/edit.js +123 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +127 -126
  643. package/dist/tool/plugin/grep.js +125 -124
  644. package/dist/tool/plugin/mcp-resource.js +127 -126
  645. package/dist/tool/plugin/opencode.js +112 -111
  646. package/dist/tool/plugin/patch.js +123 -122
  647. package/dist/tool/plugin/question.js +106 -105
  648. package/dist/tool/plugin/read.js +128 -127
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +116 -115
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +114 -113
  654. package/dist/tool/plugin/websearch.js +117 -116
  655. package/dist/tool/plugin/write.js +123 -122
  656. package/dist/tool/read-filesystem.js +103 -102
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +14 -14
  660. package/dist/types/plugin/optimize.d.ts +26 -0
  661. package/dist/types/util/git-executable.d.ts +6 -2
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/git-executable.js +5 -2
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +95 -94
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +94 -93
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +92 -91
  680. package/dist/voice.js +90 -90
  681. package/dist/websearch.js +84 -84
  682. package/dist/wellknown/plugin.js +78 -78
  683. package/dist/wellknown.js +83 -83
  684. package/dist/workspace/driver.js +7 -7
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +84 -84
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +11 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +92 -91
  691. package/dist/worktree.js +99 -98
  692. package/package.json +8 -8
  693. package/dist/chunks/websearch-ef5x83kb.js +0 -15
  694. package/dist/chunks/websearch-gecnmrws.js +0 -26
  695. package/dist/chunks/websearch-gnqtsnxp.js +0 -82
  696. package/dist/chunks/websearch-ms1v96r1.js +0 -257
  697. /package/dist/chunks/{websearch-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{websearch-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{websearch-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{websearch-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{websearch-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{websearch-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{websearch-2bv980vf.js → aisdk-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{websearch-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{websearch-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{websearch-3asan66x.js → aisdk-3asan66x.js} +0 -0
  707. /package/dist/chunks/{websearch-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{websearch-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{websearch-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{websearch-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{websearch-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{websearch-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{websearch-53557ph1.js → aisdk-53557ph1.js} +0 -0
  714. /package/dist/chunks/{websearch-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{websearch-5fjb7ams.js → aisdk-5fjb7ams.js} +0 -0
  716. /package/dist/chunks/{websearch-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{websearch-6prwharc.js → aisdk-6prwharc.js} +0 -0
  718. /package/dist/chunks/{websearch-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{websearch-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{websearch-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{websearch-822emrt2.js → aisdk-822emrt2.js} +0 -0
  722. /package/dist/chunks/{websearch-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{websearch-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{websearch-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{websearch-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{websearch-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{websearch-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{websearch-a058387c.js → aisdk-a058387c.js} +0 -0
  729. /package/dist/chunks/{websearch-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{websearch-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{websearch-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{websearch-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{websearch-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{websearch-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{websearch-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{websearch-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{websearch-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{websearch-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{websearch-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{websearch-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{websearch-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{websearch-df08tz66.js → aisdk-df08tz66.js} +0 -0
  743. /package/dist/chunks/{websearch-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{websearch-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{websearch-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{websearch-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{websearch-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{websearch-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{websearch-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{websearch-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{websearch-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{websearch-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{websearch-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{websearch-g86h250q.js → aisdk-g86h250q.js} +0 -0
  755. /package/dist/chunks/{websearch-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{websearch-gftt206x.js → aisdk-gftt206x.js} +0 -0
  757. /package/dist/chunks/{websearch-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
  758. /package/dist/chunks/{websearch-hk9envan.js → aisdk-hk9envan.js} +0 -0
  759. /package/dist/chunks/{websearch-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{websearch-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{websearch-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{websearch-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{websearch-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{websearch-jze0r7bz.js → aisdk-jze0r7bz.js} +0 -0
  765. /package/dist/chunks/{websearch-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{websearch-m18g726c.js → aisdk-m18g726c.js} +0 -0
  767. /package/dist/chunks/{websearch-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{websearch-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{websearch-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{websearch-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{websearch-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{websearch-pkyv6v7h.js → aisdk-pkyv6v7h.js} +0 -0
  773. /package/dist/chunks/{websearch-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{websearch-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{websearch-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{websearch-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{websearch-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{websearch-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{websearch-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{websearch-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{websearch-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{websearch-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{websearch-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{websearch-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{websearch-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{websearch-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{websearch-wjj7prxr.js → aisdk-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{websearch-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{websearch-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{websearch-x61499pn.js → aisdk-x61499pn.js} +0 -0
  791. /package/dist/chunks/{websearch-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{websearch-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{websearch-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{websearch-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{websearch-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{websearch-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID13
3
- } from "./websearch-876de6v3.js";
3
+ } from "./aisdk-h83fqc2v.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./websearch-dkcjkp08.js";
6
+ } from "./aisdk-bsym7w2k.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-workers-ai.ts
9
9
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./aisdk-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service81
3
- } from "./websearch-n7hthk3p.js";
2
+ Service84
3
+ } from "./aisdk-8x10f120.js";
4
4
  import {
5
- Service55
6
- } from "./websearch-mptby4ra.js";
5
+ Service63
6
+ } from "./aisdk-h7pdcx31.js";
7
7
  import {
8
- ID11,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service66
14
- } from "./websearch-xfbpcgb3.js";
13
+ Service49
14
+ } from "./aisdk-7gv8tktv.js";
15
15
  import {
16
16
  __export
17
- } from "./websearch-9rqn6x4v.js";
17
+ } from "./aisdk-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input10,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input3,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin28,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description4,
27
- name: () => name10
24
+ Plugin: () => Plugin39,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description3,
27
+ name: () => name3
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name10 = "websearch";
32
+ var name3 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description3 = `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 Input10 = Schema.Struct({
42
+ var Input3 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID11,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin28 = {
49
+ var Plugin39 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service55;
53
- const forms = yield* Service81;
54
- const websearch = yield* Service66;
52
+ const permission = yield* Service63;
53
+ const forms = yield* Service84;
54
+ const websearch = yield* Service49;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name10,
56
+ name: name3,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input10,
58
+ description: description3,
59
+ input: Input3,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name10,
63
+ action: name3,
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[name10];
179
+ delete event.tools[name3];
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 { name10, NO_RESULTS2, description4, Input10, Plugin28, exports_websearch };
187
+ export { name3, NO_RESULTS2, description3, Input3, Plugin39, exports_websearch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./websearch-vd3b3yk9.js";
3
+ } from "./aisdk-vd3b3yk9.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./aisdk-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service73,
14
+ Service: () => Service53,
15
15
  SizeError: () => SizeError2,
16
- node: () => node77
16
+ node: () => node55
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service73 extends Context.Service()("@opencode/Image") {
45
+ class Service53 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service73, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service73.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service53.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
79
+ var node55 = makeLocationNode({ service: Service53, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service73, node77, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service53, node55, exports_image2 };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service82
3
- } from "./websearch-q3bgpfy7.js";
2
+ Service78
3
+ } from "./aisdk-v2ywx7d9.js";
4
4
  import {
5
- Service63
6
- } from "./websearch-d0ctn9ee.js";
5
+ Service60
6
+ } from "./aisdk-w4c0j6zg.js";
7
7
  import {
8
- Service42,
8
+ Service15,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./websearch-0ty15b8r.js";
11
+ } from "./aisdk-v2e82ypn.js";
12
12
  import {
13
- Service14
14
- } from "./websearch-neyf1ckr.js";
13
+ Service13
14
+ } from "./aisdk-77j7mfrn.js";
15
15
  import {
16
- Service55
17
- } from "./websearch-mptby4ra.js";
16
+ Service63
17
+ } from "./aisdk-h7pdcx31.js";
18
18
  import {
19
- Service15,
19
+ Service14,
20
20
  resolvePath2
21
- } from "./websearch-y22e2amb.js";
21
+ } from "./aisdk-5zr4pxbw.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./websearch-6prwharc.js";
24
+ } from "./aisdk-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./websearch-9rqn6x4v.js";
27
+ } from "./aisdk-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input9,
34
- Output: () => Output6,
35
- Plugin: () => Plugin26,
36
- name: () => name9
33
+ Input: () => Input13,
34
+ Output: () => Output9,
35
+ Plugin: () => Plugin49,
36
+ name: () => name13
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name9 = "edit";
43
- var Input9 = Schema.Struct({
42
+ var name13 = "edit";
43
+ var Input13 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.Struct({
53
+ var Output9 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin26 = {
193
+ var Plugin49 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service15;
197
- const fileMutation = yield* Service42;
198
- const environment = yield* Service63;
199
- const formatter = yield* Service14;
200
- const location = yield* Service82;
201
- const permission = yield* Service55;
196
+ const access = yield* Service14;
197
+ const fileMutation = yield* Service15;
198
+ const environment = yield* Service60;
199
+ const formatter = yield* Service13;
200
+ const location = yield* Service78;
201
+ const permission = yield* Service63;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name9,
203
+ name: name13,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input9,
207
- output: Output6,
206
+ input: Input13,
207
+ output: Output9,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin26 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name9, Input9, Output6, Plugin26, exports_edit };
279
+ export { name13, Input13, Output9, Plugin49, exports_edit };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service81
3
- } from "./websearch-n7hthk3p.js";
2
+ Service84
3
+ } from "./aisdk-8x10f120.js";
4
4
  import {
5
- Service55
6
- } from "./websearch-mptby4ra.js";
5
+ Service63
6
+ } from "./aisdk-h7pdcx31.js";
7
7
  import {
8
8
  __export
9
- } from "./websearch-9rqn6x4v.js";
9
+ } from "./aisdk-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -17,13 +17,13 @@ __export(exports_question, {
17
17
  Plugin: () => Plugin51,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name15,
20
+ name: () => name14,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name15 = "question";
26
+ var name14 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin51 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service81;
57
- const permission = yield* Service55;
56
+ const forms = yield* Service84;
57
+ const permission = yield* Service63;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name15,
59
+ name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
62
  input: Input14,
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name15, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
120
+ export { name14, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85
3
- } from "./websearch-vgr3c4a7.js";
3
+ } from "./aisdk-rrfmzwpm.js";
4
4
  import {
5
- Service67
6
- } from "./websearch-a6959n1g.js";
5
+ Service57
6
+ } from "./aisdk-shn52zna.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./websearch-vd3b3yk9.js";
12
+ } from "./aisdk-vd3b3yk9.js";
13
13
  import {
14
14
  Service28,
15
15
  awaitActivation2
16
- } from "./websearch-00ve6mdn.js";
16
+ } from "./aisdk-00ve6mdn.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./websearch-vz1a888q.js";
21
+ } from "./aisdk-3x857x5x.js";
22
22
  import {
23
23
  __export
24
- } from "./websearch-9rqn6x4v.js";
24
+ } from "./aisdk-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
@@ -34,7 +34,7 @@ __export(exports_plugin2, {
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node20
37
+ node: () => node22
38
38
  });
39
39
  import { Event as Event4, ID as ID3, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
@@ -42,7 +42,7 @@ import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
43
  var layer = Layer.effect(Service28, Effect.gen(function* () {
44
44
  const bus = yield* Service85;
45
- const kv = yield* Service67;
45
+ const kv = yield* Service57;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node20 = Node.makeLocationNode({
225
+ var node22 = Node.makeLocationNode({
226
226
  service: Service28,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node20, exports_plugin2, Event4, ID3, Info4, Source2, State2 };
231
+ export { node22, exports_plugin2, Event4, ID3, Info4, Source2, State2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service48
4
- } from "./websearch-c9erfsw0.js";
3
+ Service42
4
+ } from "./aisdk-ws84jjae.js";
5
5
  import {
6
- Service35
7
- } from "./websearch-6zrr0fnw.js";
6
+ Service54
7
+ } from "./aisdk-65xt1b15.js";
8
8
  import {
9
9
  observe2
10
- } from "./websearch-6pjqjmy2.js";
10
+ } from "./aisdk-6pjqjmy2.js";
11
11
  import {
12
12
  __export
13
- } from "./websearch-9rqn6x4v.js";
13
+ } from "./aisdk-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin35
19
+ Plugin: () => Plugin14
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin35 = define({
23
+ var Plugin14 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service48;
27
- const snapshot = yield* Service35;
26
+ const config = yield* Service42;
27
+ const snapshot = yield* Service54;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin35 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin35, exports_snapshot };
38
+ export { Plugin14, exports_snapshot };
@@ -2,24 +2,24 @@ import {
2
2
  ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./websearch-876de6v3.js";
5
+ } from "./aisdk-h83fqc2v.js";
6
6
  import {
7
7
  ID12,
8
8
  VariantID2,
9
9
  Family2,
10
10
  Info21
11
- } from "./websearch-kbjsyctr.js";
11
+ } from "./aisdk-sc3bsvgm.js";
12
12
  import {
13
13
  __export
14
- } from "./websearch-9rqn6x4v.js";
14
+ } from "./aisdk-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./websearch-j6a70pje.js";
3
+ } from "./aisdk-55ry4qzj.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./websearch-pkyv6v7h.js";
6
+ } from "./aisdk-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./websearch-9rqn6x4v.js";
9
+ } from "./aisdk-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./aisdk-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./websearch-z5v4ffb3.js";
3
+ } from "./aisdk-z5v4ffb3.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./websearch-q3bgpfy7.js";
5
+ Service78,
6
+ node82
7
+ } from "./aisdk-v2ywx7d9.js";
8
8
  import {
9
- Service62,
10
- node65
11
- } from "./websearch-xqqxjzgs.js";
9
+ Service59,
10
+ node62
11
+ } from "./aisdk-gggmd2rh.js";
12
12
  import {
13
13
  isHome2,
14
14
  names4
15
- } from "./websearch-w8qtt4th.js";
15
+ } from "./aisdk-w8qtt4th.js";
16
16
  import {
17
17
  __export
18
- } from "./websearch-9rqn6x4v.js";
18
+ } from "./aisdk-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Service: () => Service61,
25
- configured: () => configured9,
24
+ Service: () => Service46,
25
+ configured: () => configured6,
26
26
  fffLayer: () => fffLayer2,
27
- node: () => node64
27
+ node: () => node48
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import path from "path";
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
32
32
  import { Fff } from "#fff";
33
33
  import fuzzysort from "fuzzysort";
34
34
  import { FileSystem } from "@opencode/schema/filesystem";
35
- class Service61 extends Context.Service()("@opencode/FileSystem/Search") {
35
+ class Service46 extends Context.Service()("@opencode/FileSystem/Search") {
36
36
  }
37
37
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
38
38
  function emptyIndex() {
@@ -51,9 +51,9 @@ function search(index, input) {
51
51
  });
52
52
  });
53
53
  }
54
- var ripgrepLayer = Layer.effect(Service61, Effect.gen(function* () {
55
- const location = yield* Service82;
56
- const ripgrep = yield* Service62;
54
+ var ripgrepLayer = Layer.effect(Service46, Effect.gen(function* () {
55
+ const location = yield* Service78;
56
+ const ripgrep = yield* Service59;
57
57
  const scope = yield* Scope.Scope;
58
58
  const clock = yield* Clock.Clock;
59
59
  const home = isHome2(location.directory);
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service61, Effect.gen(function* () {
98
98
  Deferred.doneUnsafe(attempt, exit);
99
99
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
100
100
  });
101
- return Service61.of({
101
+ return Service46.of({
102
102
  find: (input) => Effect.gen(function* () {
103
103
  yield* refresh;
104
104
  return search(index, input);
105
105
  })
106
106
  });
107
107
  }));
108
- var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
109
- const location = yield* Service82;
108
+ var fffLayer2 = Layer.effect(Service46, Effect.gen(function* () {
109
+ const location = yield* Service78;
110
110
  const result = yield* Effect.try({
111
111
  try: () => Fff.create({
112
112
  basePath: location.directory,
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
119
119
  if (!result?.ok) {
120
120
  if (result)
121
121
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
122
- return Service61.of({
122
+ return Service46.of({
123
123
  find: () => Effect.succeed([])
124
124
  });
125
125
  }
126
126
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
127
- return Service61.of({
127
+ return Service46.of({
128
128
  find: (input) => Effect.sync(() => {
129
129
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
130
130
  const items = (() => {
@@ -168,16 +168,16 @@ var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
168
168
  });
169
169
  }));
170
170
  var layer = (options) => Layer.unwrap(Effect.gen(function* () {
171
- const location = yield* Service82;
171
+ const location = yield* Service78;
172
172
  if (location.workspaceID)
173
173
  return ripgrepLayer;
174
174
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
175
175
  return ripgrepLayer;
176
176
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
177
177
  }));
178
- function configured9(options) {
179
- return makeLocationNode({ service: Service61, layer: layer(options), deps: [node86, node65] });
178
+ function configured6(options) {
179
+ return makeLocationNode({ service: Service46, layer: layer(options), deps: [node82, node62] });
180
180
  }
181
- var node64 = configured9();
181
+ var node48 = configured6();
182
182
 
183
- export { Service61, fffLayer2, configured9, node64, exports_search };
183
+ export { Service46, fffLayer2, configured6, node48, exports_search };