@opencode/core 0.0.0-dev-20747 → 0.0.0-dev-20751

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{persistent-pty-enbmzra5.js → websearch-006rr4yd.js} +33 -33
  8. package/dist/chunks/{persistent-pty-74q28yk0.js → websearch-01vn8qag.js} +22 -22
  9. package/dist/chunks/{persistent-pty-6styks70.js → websearch-0cnb27jj.js} +54 -54
  10. package/dist/chunks/{persistent-pty-dt81nn0a.js → websearch-0cp7wepg.js} +13 -13
  11. package/dist/chunks/{persistent-pty-gebtr55s.js → websearch-0nde5ztd.js} +5 -5
  12. package/dist/chunks/{persistent-pty-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{persistent-pty-7j2qha59.js → websearch-0tzy42a9.js} +8 -8
  14. package/dist/chunks/{persistent-pty-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{persistent-pty-qhq1qkp9.js → websearch-10ezvpkj.js} +18 -18
  16. package/dist/chunks/{persistent-pty-rhraev7y.js → websearch-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{persistent-pty-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{persistent-pty-1dvck2a7.js → websearch-1dvck2a7.js} +2 -2
  19. package/dist/chunks/{persistent-pty-yq69kk6a.js → websearch-1r3jt38r.js} +16 -16
  20. package/dist/chunks/{persistent-pty-8wnx5jkb.js → websearch-1tkx5wjx.js} +13 -13
  21. package/dist/chunks/{persistent-pty-qanbtx8r.js → websearch-271ks4j7.js} +5 -5
  22. package/dist/chunks/{persistent-pty-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{persistent-pty-0frbsszj.js → websearch-2gxwdmk2.js} +5 -5
  24. package/dist/chunks/{persistent-pty-vq7qj473.js → websearch-2hxs6azb.js} +17 -17
  25. package/dist/chunks/{persistent-pty-fkxkd9y2.js → websearch-35p9bx9e.js} +18 -18
  26. package/dist/chunks/{persistent-pty-h20gnzmc.js → websearch-39g9s8nq.js} +18 -18
  27. package/dist/chunks/{persistent-pty-mhmqmh3t.js → websearch-39r5ypbv.js} +18 -18
  28. package/dist/chunks/{persistent-pty-8mbscqky.js → websearch-3a83a0n4.js} +8 -8
  29. package/dist/chunks/{persistent-pty-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{persistent-pty-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{persistent-pty-99zegn8n.js → websearch-3rsbafkh.js} +16 -16
  32. package/dist/chunks/{persistent-pty-3sj8yt8v.js → websearch-3sj8yt8v.js} +1 -1
  33. package/dist/chunks/{persistent-pty-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{persistent-pty-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{persistent-pty-f2tgbz6g.js → websearch-3tzk5btq.js} +14 -14
  36. package/dist/chunks/{persistent-pty-jw3c4zpw.js → websearch-3xdhmafy.js} +13 -13
  37. package/dist/chunks/{persistent-pty-2xsz0vfe.js → websearch-3yhc99zk.js} +11 -11
  38. package/dist/chunks/{persistent-pty-ffs2e08n.js → websearch-3zjvcxaq.js} +60 -60
  39. package/dist/chunks/{persistent-pty-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{persistent-pty-x1aggpc5.js → websearch-4ha8056f.js} +29 -29
  41. package/dist/chunks/{persistent-pty-mkcqfmf9.js → websearch-4npf7cmz.js} +26 -26
  42. package/dist/chunks/{persistent-pty-a6mcp28b.js → websearch-4nwbh3f5.js} +11 -11
  43. package/dist/chunks/{persistent-pty-acvbq3eb.js → websearch-4pfks0zj.js} +9 -9
  44. package/dist/chunks/{persistent-pty-9zee5fs2.js → websearch-4rmtry0w.js} +21 -21
  45. package/dist/chunks/{persistent-pty-z3b9gz9j.js → websearch-4rq26644.js} +5 -5
  46. package/dist/chunks/{persistent-pty-4ts7tf6z.js → websearch-4ts7tf6z.js} +2 -2
  47. package/dist/chunks/{persistent-pty-33g5rmys.js → websearch-4vdkpn0c.js} +8 -8
  48. package/dist/chunks/websearch-4y7b6nne.js +253 -0
  49. package/dist/chunks/{persistent-pty-54ma36ye.js → websearch-54ma36ye.js} +1 -1
  50. package/dist/chunks/{persistent-pty-33w4ejhs.js → websearch-56gdpj1q.js} +6 -6
  51. package/dist/chunks/{persistent-pty-5yp2r36g.js → websearch-5cyaepj1.js} +29 -29
  52. package/dist/chunks/{persistent-pty-wh6zw745.js → websearch-5fykfdj7.js} +5 -5
  53. package/dist/chunks/{persistent-pty-sg0z4cbk.js → websearch-5m5b9f90.js} +51 -51
  54. package/dist/chunks/{persistent-pty-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{persistent-pty-wd489eb9.js → websearch-5n3hf9qe.js} +4 -4
  56. package/dist/chunks/{persistent-pty-qffxxdg5.js → websearch-5pcer2zd.js} +13 -15
  57. package/dist/chunks/{persistent-pty-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{persistent-pty-5w9yjztw.js → websearch-5w9yjztw.js} +1 -1
  59. package/dist/chunks/{persistent-pty-s2tvcjnh.js → websearch-61dymhr3.js} +47 -47
  60. package/dist/chunks/{persistent-pty-p22s9xh3.js → websearch-61x3c5p2.js} +9 -9
  61. package/dist/chunks/websearch-646er4hm.js +26 -0
  62. package/dist/chunks/{persistent-pty-6wm4d0bn.js → websearch-69rankd6.js} +15 -15
  63. package/dist/chunks/{persistent-pty-e875qc4w.js → websearch-6kagjaxc.js} +3 -3
  64. package/dist/chunks/{persistent-pty-60p1jfrx.js → websearch-6nwm3v99.js} +16 -16
  65. package/dist/chunks/{persistent-pty-pd8w2hzr.js → websearch-6prf5v7s.js} +4 -4
  66. package/dist/chunks/{persistent-pty-3932bm6w.js → websearch-6spsh8qa.js} +45 -45
  67. package/dist/chunks/{persistent-pty-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{persistent-pty-71az546q.js → websearch-71az546q.js} +2 -2
  69. package/dist/chunks/{persistent-pty-jvtb2vkm.js → websearch-77602mw0.js} +94 -94
  70. package/dist/chunks/{persistent-pty-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{persistent-pty-n91836cy.js → websearch-7debz9q9.js} +5 -5
  72. package/dist/chunks/{persistent-pty-acmc0np2.js → websearch-7m4fr4eg.js} +8 -8
  73. package/dist/chunks/{persistent-pty-kn76agft.js → websearch-7q1m8mqh.js} +14 -14
  74. package/dist/chunks/{persistent-pty-j95ptk0s.js → websearch-7sa9sn7a.js} +24 -24
  75. package/dist/chunks/{persistent-pty-6h9jd8xm.js → websearch-7x1at4dn.js} +13 -13
  76. package/dist/chunks/{persistent-pty-mhkvc446.js → websearch-7yh4e7ss.js} +3 -3
  77. package/dist/chunks/{persistent-pty-pz6e2333.js → websearch-8291f3dr.js} +49 -49
  78. package/dist/chunks/{persistent-pty-mqjweymz.js → websearch-840vhfpn.js} +7 -7
  79. package/dist/chunks/{persistent-pty-84txncab.js → websearch-84txncab.js} +1 -1
  80. package/dist/chunks/websearch-86eb7x6n.js +507 -0
  81. package/dist/chunks/{persistent-pty-tcezcvh9.js → websearch-89znhe33.js} +4 -4
  82. package/dist/chunks/{persistent-pty-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{persistent-pty-nkzrceyp.js → websearch-8feg831t.js} +23 -23
  84. package/dist/chunks/{persistent-pty-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{persistent-pty-w2vs668w.js → websearch-8rv22t7y.js} +4 -4
  86. package/dist/chunks/{persistent-pty-cfsekr6v.js → websearch-8sze2n9a.js} +6 -6
  87. package/dist/chunks/{persistent-pty-80scg3y3.js → websearch-8tsdq50x.js} +4 -4
  88. package/dist/chunks/{persistent-pty-a9f75xna.js → websearch-92jw639j.js} +11 -11
  89. package/dist/chunks/{persistent-pty-fxzv5hcv.js → websearch-982jyd3v.js} +15 -15
  90. package/dist/chunks/{persistent-pty-ys4q2a0p.js → websearch-9a685mhr.js} +7 -7
  91. package/dist/chunks/{persistent-pty-246p6v4n.js → websearch-9ctwkt1w.js} +20 -20
  92. package/dist/chunks/{persistent-pty-9e5bzkjp.js → websearch-9e5bzkjp.js} +3 -3
  93. package/dist/chunks/{persistent-pty-f8jd5471.js → websearch-9ndxe7cf.js} +37 -37
  94. package/dist/chunks/{persistent-pty-cyf4hc4a.js → websearch-a66d3j4b.js} +33 -33
  95. package/dist/chunks/{persistent-pty-zab19jja.js → websearch-a7bcxdzj.js} +9 -9
  96. package/dist/chunks/{persistent-pty-mjc7kzsv.js → websearch-a7qengj0.js} +32 -32
  97. package/dist/chunks/{persistent-pty-9mtr07j4.js → websearch-a9g4d826.js} +25 -25
  98. package/dist/chunks/{persistent-pty-aaet6srn.js → websearch-aaet6srn.js} +2 -2
  99. package/dist/chunks/{persistent-pty-tr0vwqfg.js → websearch-ajkgf329.js} +19 -19
  100. package/dist/chunks/{persistent-pty-5ytnddsz.js → websearch-ak894bxf.js} +7 -7
  101. package/dist/chunks/{persistent-pty-gpe2knh0.js → websearch-as51731q.js} +29 -29
  102. package/dist/chunks/{persistent-pty-zfs8ae4p.js → websearch-as7cf5zz.js} +4 -4
  103. package/dist/chunks/{persistent-pty-64va9agc.js → websearch-awz7phrz.js} +3 -3
  104. package/dist/chunks/{persistent-pty-4ejbdg5p.js → websearch-ayk56gb2.js} +11 -11
  105. package/dist/chunks/{persistent-pty-f6yrfa37.js → websearch-azdnrsk3.js} +24 -24
  106. package/dist/chunks/{persistent-pty-dz8kt8cs.js → websearch-azvdhf4w.js} +45 -45
  107. package/dist/chunks/{persistent-pty-zyt2xg97.js → websearch-azy71b5p.js} +10 -10
  108. package/dist/chunks/{persistent-pty-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{persistent-pty-qcb4xgkg.js → websearch-b6mrrfvp.js} +41 -41
  110. package/dist/chunks/{persistent-pty-qkpjj9ac.js → websearch-b7h6z6tn.js} +11 -11
  111. package/dist/chunks/{persistent-pty-tag6x3x4.js → websearch-bf4gbvg4.js} +11 -11
  112. package/dist/chunks/{persistent-pty-p9rzmxqj.js → websearch-bhxvg1de.js} +94 -94
  113. package/dist/chunks/{persistent-pty-3fm4gsbd.js → websearch-bmmnfx8r.js} +5 -5
  114. package/dist/chunks/{persistent-pty-jx91nfq8.js → websearch-bnf4ny6h.js} +17 -17
  115. package/dist/chunks/{persistent-pty-56y8pkfk.js → websearch-bpazrep8.js} +9 -9
  116. package/dist/chunks/{persistent-pty-frs7w0sc.js → websearch-btxw9yhj.js} +25 -25
  117. package/dist/chunks/{persistent-pty-gae362ez.js → websearch-bwy0c07g.js} +11 -11
  118. package/dist/chunks/{persistent-pty-bx0gyb4h.js → websearch-bx0gyb4h.js} +2 -2
  119. package/dist/chunks/{persistent-pty-fypvnyj1.js → websearch-c29bt6kc.js} +4 -4
  120. package/dist/chunks/{persistent-pty-3vvm55qk.js → websearch-c9q80gew.js} +22 -22
  121. package/dist/chunks/{persistent-pty-fzvyqwy2.js → websearch-cdyc8mbg.js} +18 -18
  122. package/dist/chunks/{persistent-pty-mq2s0m0j.js → websearch-ch8zzvzt.js} +33 -33
  123. package/dist/chunks/{persistent-pty-tpw6cwsb.js → websearch-cmwkp3r5.js} +8 -8
  124. package/dist/chunks/{persistent-pty-10544tvr.js → websearch-cpnsvgyn.js} +14 -14
  125. package/dist/chunks/{persistent-pty-gasqarw7.js → websearch-crwg5b5x.js} +17 -17
  126. package/dist/chunks/{persistent-pty-y01hq6fz.js → websearch-cv5qh09f.js} +19 -19
  127. package/dist/chunks/{persistent-pty-1z0qe0de.js → websearch-d7jfs23g.js} +11 -11
  128. package/dist/chunks/{persistent-pty-w7e5sy50.js → websearch-d8gp6606.js} +67 -67
  129. package/dist/chunks/{persistent-pty-krfd5zbt.js → websearch-d8k8q118.js} +28 -28
  130. package/dist/chunks/{persistent-pty-k3tzam8s.js → websearch-dbw5xnms.js} +11 -11
  131. package/dist/chunks/{persistent-pty-cwa6csj7.js → websearch-djszqvmq.js} +9 -9
  132. package/dist/chunks/{persistent-pty-bxn9kzm3.js → websearch-dxjbxwhw.js} +16 -16
  133. package/dist/chunks/{persistent-pty-3w9mrsnt.js → websearch-ed8kcyd6.js} +191 -191
  134. package/dist/chunks/{persistent-pty-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{persistent-pty-zdd0mkhs.js → websearch-eqzjvz86.js} +8 -8
  136. package/dist/chunks/{persistent-pty-qgn6gcr1.js → websearch-esafk7q3.js} +5 -5
  137. package/dist/chunks/{persistent-pty-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{persistent-pty-59f1da7z.js → websearch-f5v94fes.js} +22 -22
  139. package/dist/chunks/{persistent-pty-abvg2g3b.js → websearch-f7bw197q.js} +4 -4
  140. package/dist/chunks/{persistent-pty-5nqjp53p.js → websearch-f7v4vsrc.js} +19 -19
  141. package/dist/chunks/{persistent-pty-0vyhe54f.js → websearch-f807xdkq.js} +11 -11
  142. package/dist/chunks/{persistent-pty-452d3xjs.js → websearch-fbdfn3v6.js} +26 -26
  143. package/dist/chunks/{persistent-pty-v0es1rhs.js → websearch-fpecnkgp.js} +9 -9
  144. package/dist/chunks/{persistent-pty-66fjaabt.js → websearch-g23m1zvc.js} +20 -20
  145. package/dist/chunks/{persistent-pty-s478zet3.js → websearch-g320bg51.js} +8 -8
  146. package/dist/chunks/{persistent-pty-r21g991y.js → websearch-g6p1761n.js} +6 -6
  147. package/dist/chunks/{persistent-pty-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{persistent-pty-2a5r5kzg.js → websearch-grytp6p2.js} +24 -24
  149. package/dist/chunks/{persistent-pty-dr7bzdbp.js → websearch-gsde99f3.js} +38 -38
  150. package/dist/chunks/{persistent-pty-ydfvykp3.js → websearch-gv7jatst.js} +43 -43
  151. package/dist/chunks/{persistent-pty-w57dmcrw.js → websearch-gvdagacx.js} +43 -43
  152. package/dist/chunks/{persistent-pty-h2b79v29.js → websearch-h2b79v29.js} +2 -2
  153. package/dist/chunks/{persistent-pty-a98w2xn9.js → websearch-h45th2ds.js} +27 -27
  154. package/dist/chunks/{persistent-pty-wfh6bfqk.js → websearch-h4aahyek.js} +18 -18
  155. package/dist/chunks/{persistent-pty-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{persistent-pty-brp8zeym.js → websearch-h7e5g0tn.js} +6 -6
  157. package/dist/chunks/websearch-ht5y0zrb.js +18 -0
  158. package/dist/chunks/{persistent-pty-qe9h9j2v.js → websearch-hw9r87x5.js} +10 -10
  159. package/dist/chunks/{persistent-pty-qam9v5v6.js → websearch-j3wgep5k.js} +18 -18
  160. package/dist/chunks/{persistent-pty-j56e64zr.js → websearch-j56e64zr.js} +1 -1
  161. package/dist/chunks/{persistent-pty-rp3v7rzg.js → websearch-j5v8ay3k.js} +13 -13
  162. package/dist/chunks/{persistent-pty-90y6s5gw.js → websearch-j5ytphad.js} +21 -21
  163. package/dist/chunks/{persistent-pty-tk4fwett.js → websearch-j81axac7.js} +12 -12
  164. package/dist/chunks/{persistent-pty-v2dgrqw5.js → websearch-j89jws0x.js} +5 -5
  165. package/dist/chunks/{persistent-pty-07j4p7xr.js → websearch-jabdm8bj.js} +5 -5
  166. package/dist/chunks/{persistent-pty-esvm55dh.js → websearch-jervv9x6.js} +5 -5
  167. package/dist/chunks/{persistent-pty-8d6z1td2.js → websearch-jt23je0j.js} +35 -35
  168. package/dist/chunks/{persistent-pty-g59hsv3e.js → websearch-k6neyz0m.js} +32 -32
  169. package/dist/chunks/{persistent-pty-vy5bmntt.js → websearch-k8bs8205.js} +11 -11
  170. package/dist/chunks/{persistent-pty-5706e983.js → websearch-k8fn7c54.js} +29 -29
  171. package/dist/chunks/{persistent-pty-k8hpw67k.js → websearch-kbqjp078.js} +5 -5
  172. package/dist/chunks/{persistent-pty-tgxmpcwb.js → websearch-kfvft1b1.js} +22 -22
  173. package/dist/chunks/{persistent-pty-7ffm7kw8.js → websearch-kfy7sq89.js} +36 -36
  174. package/dist/chunks/{persistent-pty-d4wtke4k.js → websearch-kg9y2ntz.js} +4 -4
  175. package/dist/chunks/{persistent-pty-4jyvzrab.js → websearch-kx004b36.js} +9 -9
  176. package/dist/chunks/{persistent-pty-agk8v0ng.js → websearch-kz9v81ff.js} +25 -25
  177. package/dist/chunks/{persistent-pty-mvbwjcmq.js → websearch-m18pb0hg.js} +15 -15
  178. package/dist/chunks/{persistent-pty-34q6evc7.js → websearch-m21ceenz.js} +6 -6
  179. package/dist/chunks/{persistent-pty-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{persistent-pty-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{persistent-pty-mbnxefga.js → websearch-mbnxefga.js} +2 -2
  182. package/dist/chunks/{persistent-pty-p9mp4ezq.js → websearch-mqwxc12a.js} +11 -11
  183. package/dist/chunks/{persistent-pty-svq9n8fc.js → websearch-msjtsx7n.js} +28 -28
  184. package/dist/chunks/{persistent-pty-wakgm00q.js → websearch-mtsdzpvy.js} +22 -22
  185. package/dist/chunks/{persistent-pty-bhr47zss.js → websearch-mxc020gk.js} +49 -49
  186. package/dist/chunks/{persistent-pty-ekgbms86.js → websearch-n6y4yv9n.js} +22 -22
  187. package/dist/chunks/{persistent-pty-c9w4s4wj.js → websearch-n88rcwe9.js} +3 -3
  188. package/dist/chunks/{persistent-pty-nt5zybzt.js → websearch-nakf8p49.js} +32 -32
  189. package/dist/chunks/{persistent-pty-x2v10rcr.js → websearch-nej48kda.js} +33 -33
  190. package/dist/chunks/{persistent-pty-va0yvadb.js → websearch-neydyz2j.js} +20 -20
  191. package/dist/chunks/{persistent-pty-6m3pxvzn.js → websearch-njzd64q9.js} +1 -1
  192. package/dist/chunks/{persistent-pty-3hepmaxp.js → websearch-nn2e5gpb.js} +2 -2
  193. package/dist/chunks/{persistent-pty-mjymc32g.js → websearch-nrdmrqsx.js} +4 -4
  194. package/dist/chunks/{persistent-pty-g64e51y2.js → websearch-ns5fmth5.js} +3 -3
  195. package/dist/chunks/{persistent-pty-nxm207yx.js → websearch-nxm207yx.js} +1 -1
  196. package/dist/chunks/{persistent-pty-qpnhhads.js → websearch-nya48ex2.js} +41 -41
  197. package/dist/chunks/{persistent-pty-4rnf1fga.js → websearch-p1wwb8ft.js} +6 -6
  198. package/dist/chunks/{persistent-pty-4paq57hf.js → websearch-p35qnqvw.js} +17 -17
  199. package/dist/chunks/{persistent-pty-dnjek89v.js → websearch-p54yp2nj.js} +26 -26
  200. package/dist/chunks/{persistent-pty-5c29pvm2.js → websearch-pdzkh7eq.js} +13 -13
  201. package/dist/chunks/{persistent-pty-qja65tr3.js → websearch-phj4bqfk.js} +3 -3
  202. package/dist/chunks/{persistent-pty-71cxckq4.js → websearch-pjtx22pt.js} +27 -27
  203. package/dist/chunks/{persistent-pty-yw99rzrh.js → websearch-pjv0ea7y.js} +28 -28
  204. package/dist/chunks/{persistent-pty-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{persistent-pty-pknna89w.js → websearch-pknna89w.js} +1 -1
  206. package/dist/chunks/{persistent-pty-7efngqr9.js → websearch-pnyxb9e8.js} +11 -11
  207. package/dist/chunks/{persistent-pty-z8aq2wwt.js → websearch-ppc8s294.js} +28 -28
  208. package/dist/chunks/{persistent-pty-2wv1r8xa.js → websearch-pqv9wp90.js} +10 -10
  209. package/dist/chunks/{persistent-pty-hz8hz416.js → websearch-q0cxhhrh.js} +13 -13
  210. package/dist/chunks/{persistent-pty-q0xm7vwc.js → websearch-q0xm7vwc.js} +2 -2
  211. package/dist/chunks/{persistent-pty-v6w1ycpy.js → websearch-q27r57qz.js} +18 -18
  212. package/dist/chunks/{persistent-pty-hgbx6y65.js → websearch-q4amnm77.js} +32 -32
  213. package/dist/chunks/{persistent-pty-8rz84ek2.js → websearch-qdctmj2b.js} +18 -18
  214. package/dist/chunks/{persistent-pty-3d9da72j.js → websearch-qgwn4ht9.js} +9 -9
  215. package/dist/chunks/{persistent-pty-jqmrr43j.js → websearch-qkafy0fg.js} +31 -31
  216. package/dist/chunks/{persistent-pty-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
  217. package/dist/chunks/{persistent-pty-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  218. package/dist/chunks/{persistent-pty-qxjc9qry.js → websearch-qxjc9qry.js} +3 -3
  219. package/dist/chunks/{persistent-pty-p8xb6st8.js → websearch-qyhb8vg4.js} +6 -6
  220. package/dist/chunks/{persistent-pty-2zfembs1.js → websearch-r2qntz6x.js} +3 -3
  221. package/dist/chunks/{persistent-pty-a4y9yw62.js → websearch-r2v45gwg.js} +4 -4
  222. package/dist/chunks/{persistent-pty-79sjm6pt.js → websearch-r3eec8d1.js} +8 -8
  223. package/dist/chunks/{persistent-pty-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{persistent-pty-s8d7rejh.js → websearch-rhjbct0v.js} +4 -4
  225. package/dist/chunks/{persistent-pty-t2fc4mz5.js → websearch-ryr25ayn.js} +4 -4
  226. package/dist/chunks/{persistent-pty-dcq95y2f.js → websearch-s2v6mes9.js} +44 -44
  227. package/dist/chunks/{persistent-pty-c2dj01cg.js → websearch-s6hdbq7w.js} +27 -27
  228. package/dist/chunks/{persistent-pty-f21pkny0.js → websearch-s6zp9vx7.js} +11 -11
  229. package/dist/chunks/{persistent-pty-6mhqdab4.js → websearch-sbvqbenm.js} +22 -22
  230. package/dist/chunks/{persistent-pty-294dxt6s.js → websearch-sqka8dgb.js} +28 -28
  231. package/dist/chunks/{persistent-pty-h4gx7g90.js → websearch-srjnacjb.js} +35 -35
  232. package/dist/chunks/{persistent-pty-srq8z0b0.js → websearch-srq8z0b0.js} +2 -2
  233. package/dist/chunks/{persistent-pty-0dgnvyav.js → websearch-st0npvhs.js} +13 -13
  234. package/dist/chunks/{persistent-pty-m9jge9he.js → websearch-st32wr7j.js} +47 -47
  235. package/dist/chunks/{persistent-pty-qabhdn7r.js → websearch-t13j5h2t.js} +8 -8
  236. package/dist/chunks/{persistent-pty-k76fn4kw.js → websearch-t7n9q6bq.js} +4 -4
  237. package/dist/chunks/{persistent-pty-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{persistent-pty-tdstcens.js → websearch-tdstcens.js} +1 -1
  239. package/dist/chunks/{persistent-pty-5m1y6tht.js → websearch-tk0jm5ys.js} +10 -10
  240. package/dist/chunks/{persistent-pty-tej6jj18.js → websearch-tnvc4487.js} +1 -1
  241. package/dist/chunks/{persistent-pty-qf44y2mr.js → websearch-v0mr0657.js} +21 -21
  242. package/dist/chunks/{persistent-pty-1f9aggj6.js → websearch-v1xjeqfc.js} +29 -29
  243. package/dist/chunks/{persistent-pty-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  244. package/dist/chunks/{persistent-pty-zn647a2n.js → websearch-vft5y8p3.js} +23 -23
  245. package/dist/chunks/{persistent-pty-m57p7dy9.js → websearch-vq6jz5cn.js} +28 -28
  246. package/dist/chunks/{persistent-pty-vc6ttyax.js → websearch-vtz2n0ks.js} +25 -25
  247. package/dist/chunks/{persistent-pty-0hf9g8pg.js → websearch-vvccsdf3.js} +6 -6
  248. package/dist/chunks/{persistent-pty-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{persistent-pty-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{persistent-pty-gft05b0a.js → websearch-was7srj9.js} +8 -8
  251. package/dist/chunks/{persistent-pty-t6x8032s.js → websearch-wbbmgwfw.js} +13 -13
  252. package/dist/chunks/{persistent-pty-wd87259q.js → websearch-wd87259q.js} +1 -1
  253. package/dist/chunks/{persistent-pty-h4yj3hfn.js → websearch-we1wht7r.js} +9 -9
  254. package/dist/chunks/{persistent-pty-b3f8fkhc.js → websearch-wecqtg5s.js} +5 -5
  255. package/dist/chunks/{persistent-pty-p5ccpjke.js → websearch-wg0sz2b3.js} +4 -4
  256. package/dist/chunks/{persistent-pty-d5end4r0.js → websearch-wgad3ngy.js} +40 -40
  257. package/dist/chunks/{persistent-pty-tkjmd8ah.js → websearch-whynf17d.js} +9 -9
  258. package/dist/chunks/{persistent-pty-bs615f2f.js → websearch-wnvdweyr.js} +32 -32
  259. package/dist/chunks/{persistent-pty-77f241gp.js → websearch-wps1s803.js} +11 -11
  260. package/dist/chunks/{persistent-pty-9144esny.js → websearch-wvk530dw.js} +5 -5
  261. package/dist/chunks/{persistent-pty-3t58r30e.js → websearch-wzvmtxfv.js} +9 -9
  262. package/dist/chunks/{persistent-pty-btbmdjwj.js → websearch-x3gqap9d.js} +4 -4
  263. package/dist/chunks/{persistent-pty-v2s7p60s.js → websearch-x5r3rcm4.js} +13 -13
  264. package/dist/chunks/{persistent-pty-addxnjmp.js → websearch-x661k3y3.js} +4 -4
  265. package/dist/chunks/{persistent-pty-g5w8qwbj.js → websearch-xfkkasph.js} +4 -4
  266. package/dist/chunks/{persistent-pty-xkntkrq7.js → websearch-xkntkrq7.js} +2 -2
  267. package/dist/chunks/{persistent-pty-5tw36xmv.js → websearch-xrgtgbry.js} +45 -45
  268. package/dist/chunks/{persistent-pty-mhgx8wws.js → websearch-xs53z2pm.js} +4 -4
  269. package/dist/chunks/{persistent-pty-9cva8bgq.js → websearch-xsgjgyxe.js} +6 -6
  270. package/dist/chunks/{persistent-pty-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{persistent-pty-4n6aeebd.js → websearch-ydrjwzz4.js} +25 -25
  272. package/dist/chunks/{persistent-pty-a68ybyfr.js → websearch-yr6mg933.js} +9 -9
  273. package/dist/chunks/{persistent-pty-0t67e6aq.js → websearch-ysv0hq5q.js} +18 -18
  274. package/dist/chunks/{persistent-pty-frac477b.js → websearch-ysyw0m6j.js} +15 -15
  275. package/dist/chunks/{persistent-pty-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{persistent-pty-mrvgqbj6.js → websearch-zcw1eqvx.js} +22 -22
  277. package/dist/chunks/{persistent-pty-de9gfr1m.js → websearch-zqvvwnj3.js} +16 -16
  278. package/dist/chunks/{persistent-pty-7ps108p2.js → websearch-zqzjtd27.js} +16 -16
  279. package/dist/chunks/{persistent-pty-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{persistent-pty-rpdsffkf.js → websearch-zv1drtmj.js} +13 -13
  281. package/dist/chunks/{persistent-pty-7f56anht.js → websearch-zw4db5pj.js} +11 -11
  282. package/dist/chunks/{persistent-pty-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +82 -82
  288. package/dist/config/discovery.js +85 -85
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +100 -100
  291. package/dist/config/plugin/agent.js +119 -119
  292. package/dist/config/plugin/command.js +208 -208
  293. package/dist/config/plugin/compaction.js +155 -155
  294. package/dist/config/plugin/compatibility.js +135 -135
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +118 -118
  297. package/dist/config/plugin/image.js +117 -117
  298. package/dist/config/plugin/instruction.js +91 -91
  299. package/dist/config/plugin/location-watcher.js +119 -119
  300. package/dist/config/plugin/mcp.js +126 -126
  301. package/dist/config/plugin/policy.js +118 -118
  302. package/dist/config/plugin/provider.js +117 -117
  303. package/dist/config/plugin/reference.js +119 -119
  304. package/dist/config/plugin/shell.js +117 -117
  305. package/dist/config/plugin/skill-file.js +103 -103
  306. package/dist/config/plugin/skill.js +138 -138
  307. package/dist/config/plugin/snapshot.js +117 -117
  308. package/dist/config/plugin/source.js +120 -120
  309. package/dist/config/plugin/tool-output.js +118 -118
  310. package/dist/config/plugin/websearch.js +116 -116
  311. package/dist/config/plugin/worktree.js +119 -119
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +122 -122
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +84 -84
  317. package/dist/database/database.js +71 -71
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  383. package/dist/database/migration.gen.js +50 -50
  384. package/dist/database/migration.js +52 -52
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +80 -80
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +364 -364
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +94 -94
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +96 -96
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +75 -75
  408. package/dist/file-access.js +105 -105
  409. package/dist/file-mutation.js +95 -95
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +221 -221
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +104 -104
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +107 -107
  422. package/dist/form.js +83 -83
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +88 -88
  425. package/dist/generate.js +106 -106
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +100 -100
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +355 -355
  450. package/dist/instruction-discovery.js +86 -86
  451. package/dist/instructions/builtins.js +88 -88
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +86 -86
  455. package/dist/job.js +79 -79
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +74 -74
  458. package/dist/location-activity.js +135 -135
  459. package/dist/location-lifecycle.js +108 -108
  460. package/dist/location-service-map.js +87 -87
  461. package/dist/location-services.js +352 -352
  462. package/dist/location.js +88 -88
  463. package/dist/managed-policy.js +8 -8
  464. package/dist/mcp/client.js +92 -92
  465. package/dist/mcp/index.js +110 -110
  466. package/dist/mcp/instructions.js +128 -128
  467. package/dist/mcp/oauth.js +79 -79
  468. package/dist/mcp/stdio.js +91 -91
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +100 -100
  471. package/dist/model-resolver.js +99 -99
  472. package/dist/model.js +99 -99
  473. package/dist/models-dev.js +108 -108
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +77 -77
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +108 -108
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +87 -87
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +76 -76
  483. package/dist/plugin/agent.js +77 -77
  484. package/dist/plugin/command.js +103 -103
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +212 -212
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +327 -327
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +97 -97
  492. package/dist/plugin/module.js +118 -118
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +103 -103
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  497. package/dist/plugin/provider/azure.js +118 -118
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +95 -95
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +113 -113
  504. package/dist/plugin/provider/digitalocean.js +94 -94
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +96 -96
  508. package/dist/plugin/provider/gitlab.js +94 -94
  509. package/dist/plugin/provider/google-vertex.js +91 -91
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +79 -79
  512. package/dist/plugin/provider/lmstudio.js +117 -117
  513. package/dist/plugin/provider/local.js +114 -114
  514. package/dist/plugin/provider/modal.js +93 -93
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +117 -117
  517. package/dist/plugin/provider/openai.js +96 -96
  518. package/dist/plugin/provider/opencode.js +98 -98
  519. package/dist/plugin/provider/openrouter.js +92 -92
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +80 -80
  522. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  523. package/dist/plugin/provider/sap-ai-core.js +92 -92
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  526. package/dist/plugin/provider/vercel.js +91 -91
  527. package/dist/plugin/provider/vllm.js +117 -117
  528. package/dist/plugin/provider/xai.js +92 -92
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +157 -157
  531. package/dist/plugin/sdk.js +77 -77
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +135 -135
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +344 -344
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +87 -87
  539. package/dist/plugin/vcs/hg.js +87 -87
  540. package/dist/plugin/verbosity.js +94 -94
  541. package/dist/plugin/warming.js +115 -115
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +217 -217
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +91 -91
  553. package/dist/provider.js +98 -98
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +94 -94
  557. package/dist/reference/instructions.js +90 -90
  558. package/dist/reference.js +92 -92
  559. package/dist/repository-cache.js +82 -82
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +98 -98
  563. package/dist/rpc.js +87 -87
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +75 -75
  567. package/dist/session/compaction.js +136 -136
  568. package/dist/session/context.js +154 -154
  569. package/dist/session/diff.js +89 -89
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +218 -218
  574. package/dist/session/execution.js +126 -126
  575. package/dist/session/generate.js +155 -155
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +85 -85
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +80 -80
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +98 -98
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +121 -121
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +130 -130
  587. package/dist/session/projector.js +87 -87
  588. package/dist/session/prompt.js +106 -106
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +91 -91
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +223 -223
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +99 -99
  596. package/dist/session/runner/publish-llm-event.js +114 -114
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +124 -124
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +1 -1
  601. package/dist/session/session.js +165 -165
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +104 -104
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +76 -76
  606. package/dist/session/store.js +86 -86
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +204 -204
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +152 -152
  611. package/dist/session/to-session-error.js +112 -112
  612. package/dist/session/transfer.js +215 -215
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +208 -208
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +133 -133
  620. package/dist/skill/discovery.js +2 -2
  621. package/dist/skill/instructions.js +108 -108
  622. package/dist/skill.js +113 -113
  623. package/dist/snapshot.js +92 -92
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +127 -127
  628. package/dist/tool/plugin/edit.js +121 -121
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +123 -123
  631. package/dist/tool/plugin/grep.js +125 -125
  632. package/dist/tool/plugin/mcp-resource.js +118 -118
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +123 -123
  635. package/dist/tool/plugin/question.js +104 -104
  636. package/dist/tool/plugin/read.js +126 -126
  637. package/dist/tool/plugin/shell.js +209 -209
  638. package/dist/tool/plugin/skill.js +112 -112
  639. package/dist/tool/plugin/subagent.js +213 -213
  640. package/dist/tool/plugin/webfetch.js +111 -111
  641. package/dist/tool/plugin/websearch.js +113 -113
  642. package/dist/tool/plugin/write.js +123 -123
  643. package/dist/tool/read-filesystem.js +101 -101
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +16 -16
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +3 -3
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +93 -93
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +2 -2
  665. package/dist/variant.js +94 -94
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +90 -90
  668. package/dist/websearch.js +85 -85
  669. package/dist/wellknown/plugin.js +77 -77
  670. package/dist/wellknown.js +82 -82
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +81 -81
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +90 -90
  678. package/dist/worktree.js +97 -97
  679. package/package.json +8 -8
  680. package/dist/chunks/persistent-pty-4hytf82j.js +0 -253
  681. package/dist/chunks/persistent-pty-em9fqdhz.js +0 -26
  682. package/dist/chunks/persistent-pty-jqh9b0xq.js +0 -18
  683. package/dist/chunks/persistent-pty-kxa68w8a.js +0 -507
  684. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{persistent-pty-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{persistent-pty-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{persistent-pty-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{persistent-pty-24dcb14g.js → websearch-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{persistent-pty-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-34c7v6d4.js → websearch-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-3asan66x.js → websearch-3asan66x.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-53557ph1.js → websearch-53557ph1.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-6prwharc.js → websearch-6prwharc.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-822emrt2.js → websearch-822emrt2.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-84wd9syh.js → websearch-84wd9syh.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-df08tz66.js → websearch-df08tz66.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-g86h250q.js → websearch-g86h250q.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-gftt206x.js → websearch-gftt206x.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-hk9envan.js → websearch-hk9envan.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-rrt0a0ha.js → websearch-rrt0a0ha.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-x61499pn.js → websearch-x61499pn.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./persistent-pty-z5v4ffb3.js";
5
+ } from "./websearch-z5v4ffb3.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./persistent-pty-f6yrfa37.js";
7
+ Service76,
8
+ node79
9
+ } from "./websearch-azdnrsk3.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./persistent-pty-8d7r5vzw.js";
12
+ } from "./websearch-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./persistent-pty-9rqn6x4v.js";
15
+ } from "./websearch-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service26,
24
- node: () => node29
23
+ Service: () => Service75,
24
+ node: () => node78
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service26 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service75 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service26, Effect.gen(function* () {
67
- const environment = yield* Service63;
66
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
67
+ const environment = yield* Service76;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service26.of({
95
+ return Service75.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node29 = makeLocationNode({ service: Service26, layer, deps: [node66, RipgrepBinary2.node] });
178
+ var node78 = makeLocationNode({ service: Service75, layer, deps: [node79, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service26, node29, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service75, node78, exports_ripgrep };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-p9mp4ezq.js";
3
+ } from "./websearch-mqwxc12a.js";
4
4
  import {
5
5
  call2
6
- } from "./persistent-pty-33w4ejhs.js";
6
+ } from "./websearch-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./websearch-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin21,
14
+ Plugin: () => Plugin35,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin21 = define({
40
+ var Plugin35 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin21 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin21 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin21, exports_firecrawl };
80
+ export { endpoint3, Plugin35, exports_firecrawl };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./persistent-pty-z5v4ffb3.js";
4
+ } from "./websearch-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./persistent-pty-qffxxdg5.js";
11
- import {
12
8
  Service80,
13
9
  node84
14
- } from "./persistent-pty-bxn9kzm3.js";
10
+ } from "./websearch-5pcer2zd.js";
11
+ import {
12
+ Service78,
13
+ node82
14
+ } from "./websearch-dxjbxwhw.js";
15
15
  import {
16
16
  create3
17
- } from "./persistent-pty-rdw6cm16.js";
17
+ } from "./websearch-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./persistent-pty-9rqn6x4v.js";
20
+ } from "./websearch-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID10,
27
- Service: () => Service66,
25
+ Error: () => Error3,
26
+ ID: () => ID5,
27
+ Service: () => Service51,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node70,
29
+ node: () => node54,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID10 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service66 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service51 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service66, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service80;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID10.make(tree);
99
+ return ID5.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
136
136
  for (const [file, snapshot] of input.files) {
137
137
  const absolute = path.resolve(worktree, file);
138
138
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
139
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
140
140
  files.set(file, TreeID2.make(snapshot));
141
141
  }
142
142
  return files;
143
143
  });
144
144
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
145
  if (!enabled())
146
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
146
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service66.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node70 = makeLocationNode({
153
- service: Service66,
152
+ var node54 = makeLocationNode({
153
+ service: Service51,
154
154
  layer,
155
- deps: [FSUtil.node, node86, Global.node, node84]
155
+ deps: [FSUtil.node, node84, Global.node, node82]
156
156
  });
157
- var noopLayer3 = Layer.succeed(Service66, Service66.of({
157
+ var noopLayer3 = Layer.succeed(Service51, Service51.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service66, Service66.of({
163
163
  restore: () => Effect.void
164
164
  }));
165
165
  function failure(operation, cause) {
166
- if (cause instanceof Error5 && cause.operation === operation)
166
+ if (cause instanceof Error3 && cause.operation === operation)
167
167
  return cause;
168
- return new Error5({
168
+ return new Error3({
169
169
  operation,
170
170
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
171
  cause
172
172
  });
173
173
  }
174
174
 
175
- export { ID10, Error5, Service66, node70, noopLayer3, exports_snapshot2 };
175
+ export { ID5, Error3, Service51, node54, noopLayer3, exports_snapshot2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./websearch-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./persistent-pty-3w5fmr99.js";
4
+ } from "./websearch-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./persistent-pty-m3fdjcah.js";
8
+ } from "./websearch-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./persistent-pty-9rqn6x4v.js";
11
+ } from "./websearch-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service76
4
- } from "./persistent-pty-gpe2knh0.js";
3
+ Service70
4
+ } from "./websearch-as51731q.js";
5
5
  import {
6
- Service46
7
- } from "./persistent-pty-pz6e2333.js";
6
+ Service34
7
+ } from "./websearch-8291f3dr.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service76;
12
+ const providers = yield* Service70;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service46);
14
+ const service = yield* Effect.serviceOption(Service34);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./persistent-pty-tej6jj18.js";
5
+ } from "./websearch-tnvc4487.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./persistent-pty-qja65tr3.js";
11
+ } from "./websearch-phj4bqfk.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./websearch-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./persistent-pty-ys4q2a0p.js";
3
+ } from "./websearch-9a685mhr.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make6 = createLocalProviderPlugin2({
37
+ var make8 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make6 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make6();
70
+ var OllamaPlugin2 = make8();
71
71
 
72
- export { make6, OllamaPlugin2 };
72
+ export { make8, OllamaPlugin2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-p9mp4ezq.js";
3
+ } from "./websearch-mqwxc12a.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./websearch-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin18,
11
+ Plugin: () => Plugin34,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint3 = "https://api.tavily.com/search";
18
+ var endpoint2 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin18 = define({
32
+ var Plugin34 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin18 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin18 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin18, exports_tavily };
80
+ export { endpoint2, Plugin34, exports_tavily };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make21,
21
+ make: () => make20,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make21(source) {
53
+ function make20(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info10
9
+ Info: () => Info11
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info10 = Schema.Struct({
12
+ var Info11 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info10 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info10, exports_command5 };
21
+ export { Info11, exports_command5 };