@opencode/core 0.0.0-dev-20001 → 0.0.0-dev-20003

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 +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{persistent-pty-2sjbwh8c.js → file-0g3aqr52.js} +13 -13
  8. package/dist/chunks/{persistent-pty-eaj1djv9.js → file-0gdmqesm.js} +8 -8
  9. package/dist/chunks/{persistent-pty-rkn362zb.js → file-0mpqr77g.js} +16 -16
  10. package/dist/chunks/{persistent-pty-63t8mypd.js → file-0nj76588.js} +20 -20
  11. package/dist/chunks/{persistent-pty-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{persistent-pty-factba7n.js → file-0pf2e52h.js} +3 -3
  13. package/dist/chunks/{persistent-pty-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{persistent-pty-rzpbq8m1.js → file-0vrwetc9.js} +15 -15
  15. package/dist/chunks/{persistent-pty-qc5ntz1d.js → file-0wcwk7gc.js} +26 -26
  16. package/dist/chunks/{persistent-pty-1080qp6z.js → file-1080qp6z.js} +1 -1
  17. package/dist/chunks/{persistent-pty-26s3bdt9.js → file-1cq1dekj.js} +37 -37
  18. package/dist/chunks/{persistent-pty-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{persistent-pty-m688y65p.js → file-1f5fh47k.js} +11 -11
  20. package/dist/chunks/{persistent-pty-zhcafb9x.js → file-1xagxxtw.js} +33 -33
  21. package/dist/chunks/{persistent-pty-arz3vx5k.js → file-1yaq039p.js} +15 -15
  22. package/dist/chunks/{persistent-pty-21r38tys.js → file-21r38tys.js} +1 -1
  23. package/dist/chunks/{persistent-pty-warmmh1m.js → file-25ajpb73.js} +3 -3
  24. package/dist/chunks/{persistent-pty-z63w68vq.js → file-29x78va6.js} +6 -6
  25. package/dist/chunks/{persistent-pty-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{persistent-pty-zee1rnkq.js → file-2vs2nh1n.js} +4 -4
  27. package/dist/chunks/{persistent-pty-k53npxr2.js → file-37mwd34b.js} +1 -1
  28. package/dist/chunks/{persistent-pty-dw2g2n7y.js → file-3cndm9je.js} +24 -24
  29. package/dist/chunks/{persistent-pty-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{persistent-pty-ft0qtczr.js → file-3gj0hb40.js} +8 -8
  31. package/dist/chunks/{persistent-pty-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{persistent-pty-wchatq2q.js → file-3pbgv27k.js} +24 -24
  33. package/dist/chunks/{persistent-pty-7sfnpa80.js → file-3pt707jp.js} +10 -10
  34. package/dist/chunks/{persistent-pty-1zpw9mw1.js → file-3rqs9vk3.js} +16 -16
  35. package/dist/chunks/{persistent-pty-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{persistent-pty-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{persistent-pty-9pswcrc4.js → file-46mjq1pt.js} +16 -16
  38. package/dist/chunks/{persistent-pty-re97pqet.js → file-48pac6vd.js} +13 -13
  39. package/dist/chunks/{persistent-pty-dpdgxbb1.js → file-4h7fv3fp.js} +22 -22
  40. package/dist/chunks/{persistent-pty-4146b8yh.js → file-4j0j23ey.js} +3 -3
  41. package/dist/chunks/{persistent-pty-qyc7x7z5.js → file-4j7mpkgx.js} +21 -21
  42. package/dist/chunks/{persistent-pty-d16x3hw8.js → file-4s7j885y.js} +24 -24
  43. package/dist/chunks/{persistent-pty-ykr3afan.js → file-4t3s258c.js} +8 -8
  44. package/dist/chunks/{persistent-pty-jptceg29.js → file-51egpm6x.js} +31 -31
  45. package/dist/chunks/{persistent-pty-x75m8cnz.js → file-54b10ezm.js} +12 -12
  46. package/dist/chunks/{persistent-pty-0ke265bw.js → file-57ez7d0k.js} +5 -5
  47. package/dist/chunks/{persistent-pty-feex15hn.js → file-5bxvyw76.js} +20 -20
  48. package/dist/chunks/{persistent-pty-5daktx2q.js → file-5daktx2q.js} +1 -1
  49. package/dist/chunks/{persistent-pty-5ekn9679.js → file-5ekn9679.js} +1 -1
  50. package/dist/chunks/{persistent-pty-06j82gr5.js → file-5gs6ad6e.js} +17 -17
  51. package/dist/chunks/{persistent-pty-251fq3yt.js → file-5nsey3wr.js} +7 -7
  52. package/dist/chunks/{persistent-pty-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{persistent-pty-5xtgfte3.js → file-5xtgfte3.js} +1 -1
  54. package/dist/chunks/{persistent-pty-m7d2j08w.js → file-5xzfw7ns.js} +4 -4
  55. package/dist/chunks/{persistent-pty-fmz924ae.js → file-63kmhf8y.js} +4 -4
  56. package/dist/chunks/{persistent-pty-669tq793.js → file-669tq793.js} +1 -1
  57. package/dist/chunks/{persistent-pty-3wggxd0g.js → file-6c4shfhc.js} +51 -51
  58. package/dist/chunks/{persistent-pty-2402vzrj.js → file-6h73sxmp.js} +5 -5
  59. package/dist/chunks/{persistent-pty-0shdscng.js → file-6kx7krqt.js} +59 -59
  60. package/dist/chunks/{persistent-pty-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{persistent-pty-f52kf95x.js → file-6z8pkecr.js} +21 -21
  62. package/dist/chunks/{persistent-pty-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  63. package/dist/chunks/{persistent-pty-5fznqp73.js → file-7etxhnt7.js} +4 -4
  64. package/dist/chunks/{persistent-pty-aqsacfjy.js → file-7wrm002y.js} +8 -8
  65. package/dist/chunks/{persistent-pty-rnfswt5s.js → file-7z6w84v8.js} +35 -35
  66. package/dist/chunks/{persistent-pty-y6mhz57t.js → file-80scg3y3.js} +4 -4
  67. package/dist/chunks/{persistent-pty-f1mqex3k.js → file-84as8cq2.js} +23 -23
  68. package/dist/chunks/{persistent-pty-9zjxkq4z.js → file-85s8v53t.js} +3 -3
  69. package/dist/chunks/{persistent-pty-e6hd9jay.js → file-89e39zcy.js} +6 -6
  70. package/dist/chunks/{persistent-pty-tcezcvh9.js → file-89znhe33.js} +4 -4
  71. package/dist/chunks/{persistent-pty-r1hamq85.js → file-8bnmerw3.js} +21 -21
  72. package/dist/chunks/{persistent-pty-dy85ckvv.js → file-8c801g49.js} +30 -30
  73. package/dist/chunks/{persistent-pty-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{persistent-pty-dj2t23y0.js → file-8p4f9s12.js} +2 -2
  75. package/dist/chunks/{persistent-pty-1js78yem.js → file-8zccz2ek.js} +11 -11
  76. package/dist/chunks/{persistent-pty-cr5b1n6y.js → file-93x6jy41.js} +14 -14
  77. package/dist/chunks/{persistent-pty-6v3qmmgj.js → file-94xx1xn7.js} +20 -20
  78. package/dist/chunks/{persistent-pty-hse91znn.js → file-961898vc.js} +9 -9
  79. package/dist/chunks/{persistent-pty-sjj5q5p7.js → file-9899r06h.js} +11 -11
  80. package/dist/chunks/{persistent-pty-4c2df9zx.js → file-99xay3p1.js} +8 -8
  81. package/dist/chunks/{persistent-pty-d48vtfkp.js → file-9d2rp1cq.js} +17 -17
  82. package/dist/chunks/{persistent-pty-kmm1f1wa.js → file-9d637bmc.js} +5 -5
  83. package/dist/chunks/{persistent-pty-xfbn00ej.js → file-9h3wk7z7.js} +8 -8
  84. package/dist/chunks/{persistent-pty-4eyny2x4.js → file-9m26091w.js} +28 -28
  85. package/dist/chunks/{persistent-pty-348snc1t.js → file-9qwpg2je.js} +15 -15
  86. package/dist/chunks/{persistent-pty-jbbq3td5.js → file-9rsv4pta.js} +11 -11
  87. package/dist/chunks/{persistent-pty-7crdshgt.js → file-a0pvmwfx.js} +9 -9
  88. package/dist/chunks/{persistent-pty-5c4hm403.js → file-a1bz86dw.js} +3 -3
  89. package/dist/chunks/{persistent-pty-3h6p5hfd.js → file-a2vvwmx1.js} +24 -24
  90. package/dist/chunks/{persistent-pty-cxbap5yk.js → file-a42rk15d.js} +17 -17
  91. package/dist/chunks/{persistent-pty-aaet6srn.js → file-aaet6srn.js} +2 -2
  92. package/dist/chunks/{persistent-pty-89mvg365.js → file-ahfn6acx.js} +4 -4
  93. package/dist/chunks/{persistent-pty-vpshg2tm.js → file-aj65n88x.js} +4 -4
  94. package/dist/chunks/{persistent-pty-a3r4dcrj.js → file-ak8wweg5.js} +2 -2
  95. package/dist/chunks/{persistent-pty-yzzhc2zs.js → file-at64addj.js} +32 -32
  96. package/dist/chunks/{persistent-pty-k61k5w90.js → file-ay0ceryn.js} +26 -26
  97. package/dist/chunks/{persistent-pty-zvberzsv.js → file-az4mp36y.js} +20 -20
  98. package/dist/chunks/{persistent-pty-vftqyr62.js → file-azx1z7rw.js} +25 -25
  99. package/dist/chunks/{persistent-pty-d2s3wkz4.js → file-b0smj49a.js} +9 -9
  100. package/dist/chunks/{persistent-pty-bzw5p0v3.js → file-b6apyc6e.js} +35 -35
  101. package/dist/chunks/{persistent-pty-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{persistent-pty-sx1n432n.js → file-bf0ztrs3.js} +4 -4
  103. package/dist/chunks/{persistent-pty-p7y4s0m8.js → file-bgpx11m8.js} +12 -12
  104. package/dist/chunks/{persistent-pty-1nwxscpy.js → file-bgs9y14h.js} +5 -5
  105. package/dist/chunks/{persistent-pty-pnnq9hbh.js → file-bk8ffd6t.js} +16 -16
  106. package/dist/chunks/{persistent-pty-1rf1qtgk.js → file-bp3526j7.js} +32 -32
  107. package/dist/chunks/{persistent-pty-91mb3y5y.js → file-bpr04gve.js} +15 -15
  108. package/dist/chunks/{persistent-pty-e4erjdx3.js → file-bqytp8dw.js} +8 -8
  109. package/dist/chunks/{persistent-pty-nax8v91w.js → file-bxf8jet0.js} +24 -24
  110. package/dist/chunks/{persistent-pty-cy0spz2z.js → file-c8gxxwp7.js} +38 -38
  111. package/dist/chunks/{persistent-pty-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/{persistent-pty-dra9bm4c.js → file-cgm0pb56.js} +10 -10
  113. package/dist/chunks/{persistent-pty-n5mghb8v.js → file-ck8hsc54.js} +9 -9
  114. package/dist/chunks/{persistent-pty-0jdct4vn.js → file-cptt9y6c.js} +6 -6
  115. package/dist/chunks/{persistent-pty-8e18ys7f.js → file-crtqttvk.js} +15 -15
  116. package/dist/chunks/{persistent-pty-cwa6csj7.js → file-cwa6csj7.js} +2 -2
  117. package/dist/chunks/{persistent-pty-jatykmcp.js → file-d26jp9g7.js} +7 -7
  118. package/dist/chunks/{persistent-pty-x6vejd3b.js → file-d5d0dfzv.js} +30 -30
  119. package/dist/chunks/{persistent-pty-m4b2b706.js → file-d5m60ny4.js} +28 -28
  120. package/dist/chunks/{persistent-pty-yjdjwa94.js → file-d79a47f7.js} +5 -5
  121. package/dist/chunks/{persistent-pty-k17td3rr.js → file-d9dt1v1f.js} +4 -4
  122. package/dist/chunks/{persistent-pty-5pp3ynyy.js → file-df9g2pwv.js} +89 -89
  123. package/dist/chunks/{persistent-pty-ze7293fq.js → file-dne7xynx.js} +15 -15
  124. package/dist/chunks/{persistent-pty-57b9ws8p.js → file-drwq78ky.js} +5 -5
  125. package/dist/chunks/{persistent-pty-gwda3vg2.js → file-dsppwhma.js} +9 -9
  126. package/dist/chunks/{persistent-pty-5qd3pb7m.js → file-e3qxr5gk.js} +2 -2
  127. package/dist/chunks/{persistent-pty-h6r3nrb9.js → file-ebe9bak5.js} +4 -4
  128. package/dist/chunks/{persistent-pty-ns89s3d7.js → file-eczzbh8s.js} +13 -13
  129. package/dist/chunks/{persistent-pty-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{persistent-pty-02vnja26.js → file-eh0zrp3v.js} +2 -2
  131. package/dist/chunks/{persistent-pty-qsf83v83.js → file-ep1x895y.js} +35 -35
  132. package/dist/chunks/{persistent-pty-7kvmecgy.js → file-epe0b0fd.js} +16 -16
  133. package/dist/chunks/{persistent-pty-erw5rpbs.js → file-erw5rpbs.js} +2 -2
  134. package/dist/chunks/{persistent-pty-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{persistent-pty-pq64y31t.js → file-f2y9n0vy.js} +15 -15
  136. package/dist/chunks/{persistent-pty-k1qrnqst.js → file-f5gy8qwh.js} +8 -8
  137. package/dist/chunks/{persistent-pty-hdnk95c8.js → file-f828m53h.js} +2 -2
  138. package/dist/chunks/{persistent-pty-7zgnt065.js → file-f8drsx4b.js} +23 -23
  139. package/dist/chunks/{persistent-pty-ccs2c1bh.js → file-f8eamx95.js} +42 -42
  140. package/dist/chunks/{persistent-pty-m2d0j7c0.js → file-fhs97t90.js} +9 -9
  141. package/dist/chunks/{persistent-pty-cq27jvec.js → file-fjcndyh6.js} +9 -9
  142. package/dist/chunks/{persistent-pty-3tq5qxbk.js → file-fkjmw100.js} +4 -4
  143. package/dist/chunks/{persistent-pty-4ddzh0v1.js → file-fp6js440.js} +2 -2
  144. package/dist/chunks/{persistent-pty-e942ejx1.js → file-fqj9nv8j.js} +5 -5
  145. package/dist/chunks/{persistent-pty-jexxy024.js → file-fqka1xvk.js} +3 -3
  146. package/dist/chunks/{persistent-pty-n3d06r9t.js → file-ftcx6nj6.js} +24 -24
  147. package/dist/chunks/{persistent-pty-qj49ekh6.js → file-g6dwdzmh.js} +5 -5
  148. package/dist/chunks/{persistent-pty-qa3qhgw8.js → file-g8d3gcyj.js} +7 -7
  149. package/dist/chunks/{persistent-pty-q6t4s3zd.js → file-gam671ft.js} +1 -1
  150. package/dist/chunks/{persistent-pty-ppke3c5n.js → file-gaqvx1xw.js} +3 -3
  151. package/dist/chunks/{persistent-pty-c3tmynma.js → file-gbfgt6sn.js} +47 -47
  152. package/dist/chunks/{persistent-pty-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{persistent-pty-c9ex5cwa.js → file-gtfshpks.js} +92 -92
  154. package/dist/chunks/{persistent-pty-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{persistent-pty-zg3tcem2.js → file-h04zhhvt.js} +9 -9
  156. package/dist/chunks/{persistent-pty-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{persistent-pty-jbmcst8e.js → file-hb5p3hph.js} +6 -6
  158. package/dist/chunks/{persistent-pty-4tma0fsr.js → file-hmr5kz4g.js} +9 -9
  159. package/dist/chunks/{persistent-pty-510m7gjw.js → file-hnr5yq9h.js} +5 -5
  160. package/dist/chunks/{persistent-pty-y2m72ezy.js → file-hqs29f2b.js} +12 -12
  161. package/dist/chunks/{persistent-pty-j56e64zr.js → file-j56e64zr.js} +1 -1
  162. package/dist/chunks/{persistent-pty-ed86yh56.js → file-j6cy3yns.js} +11 -11
  163. package/dist/chunks/{persistent-pty-fmgpc4my.js → file-j6m77yeb.js} +30 -30
  164. package/dist/chunks/{persistent-pty-37rrne4q.js → file-jd2ww0mk.js} +1 -1
  165. package/dist/chunks/{persistent-pty-aa0gpb6n.js → file-jgtvd3t4.js} +3 -3
  166. package/dist/chunks/{persistent-pty-t35mr6en.js → file-jgvadg7f.js} +24 -24
  167. package/dist/chunks/{persistent-pty-5et4qy09.js → file-jy05rcjm.js} +15 -15
  168. package/dist/chunks/{persistent-pty-de2bbkbe.js → file-k1es8bc8.js} +10 -10
  169. package/dist/chunks/{persistent-pty-nzks3jc8.js → file-k3c624dm.js} +3 -3
  170. package/dist/chunks/{persistent-pty-gg4dpy88.js → file-k8hpw67k.js} +5 -5
  171. package/dist/chunks/{persistent-pty-cw86rn5q.js → file-kncnnm9v.js} +11 -11
  172. package/dist/chunks/{persistent-pty-h3ek80ta.js → file-kpnhg8q0.js} +6 -6
  173. package/dist/chunks/{persistent-pty-y7k45b13.js → file-kq8bq8dw.js} +179 -179
  174. package/dist/chunks/{persistent-pty-yrrfxzmt.js → file-kqjrebtm.js} +18 -18
  175. package/dist/chunks/{persistent-pty-brkzx8ca.js → file-kz5gp9n9.js} +44 -44
  176. package/dist/chunks/{persistent-pty-m3fdjcah.js → file-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{persistent-pty-d5b6jkc9.js → file-m7zf272p.js} +5 -5
  178. package/dist/chunks/{persistent-pty-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{persistent-pty-mfqp6xfm.js → file-mfqp6xfm.js} +2 -2
  180. package/dist/chunks/{persistent-pty-c3ewdk9q.js → file-mg83p4ch.js} +35 -35
  181. package/dist/chunks/{persistent-pty-nnspx4pw.js → file-mggvfrpa.js} +6 -6
  182. package/dist/chunks/{persistent-pty-2q6kkxxq.js → file-mh1qkymb.js} +4 -4
  183. package/dist/chunks/{persistent-pty-df1v60n5.js → file-mq6pntxv.js} +11 -11
  184. package/dist/chunks/{persistent-pty-r5x6zcsm.js → file-mvfsc1pv.js} +3 -3
  185. package/dist/chunks/{persistent-pty-p127k79g.js → file-n2q888ww.js} +10 -10
  186. package/dist/chunks/{persistent-pty-vh5e817s.js → file-n31tt50y.js} +18 -18
  187. package/dist/chunks/{persistent-pty-ybhbtxjg.js → file-n7rhs6pj.js} +9 -9
  188. package/dist/chunks/{persistent-pty-7dvgeykw.js → file-n9rh2a3m.js} +22 -22
  189. package/dist/chunks/{persistent-pty-a8mfdwnk.js → file-nknv447d.js} +54 -54
  190. package/dist/chunks/{persistent-pty-2xfper2k.js → file-np51y1wd.js} +9 -9
  191. package/dist/chunks/{persistent-pty-94acgbaq.js → file-nqcmdb0w.js} +15 -15
  192. package/dist/chunks/{persistent-pty-2jjexhp9.js → file-nrkwc0dg.js} +17 -17
  193. package/dist/chunks/{persistent-pty-p28j5sbe.js → file-p28j5sbe.js} +2 -2
  194. package/dist/chunks/{persistent-pty-j8z3d1d1.js → file-p50sa4k8.js} +33 -33
  195. package/dist/chunks/{persistent-pty-cavr175a.js → file-p51p3jcg.js} +21 -21
  196. package/dist/chunks/{persistent-pty-dg2cj1yd.js → file-pf9pgydg.js} +4 -4
  197. package/dist/chunks/{persistent-pty-4n7mevx0.js → file-pj55ck15.js} +26 -26
  198. package/dist/chunks/{persistent-pty-dg5bcj4q.js → file-pjedbq3k.js} +6 -6
  199. package/dist/chunks/{persistent-pty-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{persistent-pty-pknna89w.js → file-pknna89w.js} +1 -1
  201. package/dist/chunks/{persistent-pty-hqt5d750.js → file-pkvxx0dx.js} +23 -23
  202. package/dist/chunks/{persistent-pty-qfckc8ww.js → file-ppgzpeqf.js} +25 -25
  203. package/dist/chunks/{persistent-pty-0301v5d4.js → file-ppxkdq9b.js} +9 -9
  204. package/dist/chunks/{persistent-pty-1bmd05sh.js → file-pqjwr6wn.js} +30 -30
  205. package/dist/chunks/{persistent-pty-k5bqq78w.js → file-pyfqw2rm.js} +5 -5
  206. package/dist/chunks/{persistent-pty-jpbtdz7j.js → file-q15mr003.js} +13 -13
  207. package/dist/chunks/file-q509s3k3.js +18 -0
  208. package/dist/chunks/{persistent-pty-qgn6gcr1.js → file-qgn6gcr1.js} +1 -1
  209. package/dist/chunks/{persistent-pty-03wgpffp.js → file-qm374v6w.js} +6 -6
  210. package/dist/chunks/{persistent-pty-j260a8hh.js → file-qnbxrd86.js} +13 -13
  211. package/dist/chunks/{persistent-pty-p776grxc.js → file-qq4qjjy7.js} +24 -24
  212. package/dist/chunks/{persistent-pty-pq009wkf.js → file-qqaq1tbn.js} +32 -32
  213. package/dist/chunks/{persistent-pty-qsdy395h.js → file-qsdy395h.js} +1 -1
  214. package/dist/chunks/{persistent-pty-3grpvr0x.js → file-qzenpgs1.js} +6 -6
  215. package/dist/chunks/{persistent-pty-qhc1hnsx.js → file-r4jnj0e8.js} +7 -7
  216. package/dist/chunks/{persistent-pty-d4j0d6g7.js → file-r6bcthm8.js} +10 -10
  217. package/dist/chunks/{persistent-pty-wrzkdsf5.js → file-rcgs7rjg.js} +23 -23
  218. package/dist/chunks/{persistent-pty-rdw6cm16.js → file-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{persistent-pty-yfwykd95.js → file-rnsnxg5k.js} +8 -8
  220. package/dist/chunks/{persistent-pty-c8x40s92.js → file-rqhsstds.js} +9 -9
  221. package/dist/chunks/{persistent-pty-svvemcs6.js → file-rsc9fyh1.js} +8 -8
  222. package/dist/chunks/{persistent-pty-y575bkyz.js → file-s08w5vyw.js} +39 -39
  223. package/dist/chunks/{persistent-pty-yrznvahk.js → file-s4enseaf.js} +2 -2
  224. package/dist/chunks/{persistent-pty-v710rhrc.js → file-sd5vfqt4.js} +23 -23
  225. package/dist/chunks/{persistent-pty-27b310mf.js → file-sezme2zf.js} +11 -11
  226. package/dist/chunks/{persistent-pty-ejx6caqb.js → file-sg6affy2.js} +4 -4
  227. package/dist/chunks/{persistent-pty-a3n22e4k.js → file-smt9nx56.js} +15 -15
  228. package/dist/chunks/{persistent-pty-zpqymkmv.js → file-sn8k5w5s.js} +13 -13
  229. package/dist/chunks/{persistent-pty-qe6yd3vy.js → file-sqafhkxq.js} +20 -20
  230. package/dist/chunks/{persistent-pty-bw9zjykr.js → file-sxzvkvgj.js} +6 -6
  231. package/dist/chunks/{persistent-pty-hrqvzjyr.js → file-syfkgjgr.js} +30 -30
  232. package/dist/chunks/{persistent-pty-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{persistent-pty-tdstcens.js → file-tdstcens.js} +1 -1
  234. package/dist/chunks/{persistent-pty-y81fdv5s.js → file-tt8rvt36.js} +5 -5
  235. package/dist/chunks/{persistent-pty-tvtrv512.js → file-tvtrv512.js} +1 -1
  236. package/dist/chunks/{persistent-pty-zqm1r2z0.js → file-twrzm18h.js} +8 -8
  237. package/dist/chunks/{persistent-pty-fwkkykk2.js → file-txqar36n.js} +19 -19
  238. package/dist/chunks/file-v3m8zswr.js +26 -0
  239. package/dist/chunks/{persistent-pty-532h92k8.js → file-vdpncwhs.js} +25 -25
  240. package/dist/chunks/{persistent-pty-veqvce7d.js → file-veqvce7d.js} +1 -1
  241. package/dist/chunks/{persistent-pty-gnx4ytbv.js → file-vkxpz7g2.js} +4 -4
  242. package/dist/chunks/{persistent-pty-7ag8gg1a.js → file-vpwvqgnv.js} +5 -5
  243. package/dist/chunks/{persistent-pty-c5drhkvr.js → file-vstag346.js} +22 -22
  244. package/dist/chunks/{persistent-pty-z0wq6kh9.js → file-vvf56fbk.js} +40 -40
  245. package/dist/chunks/{persistent-pty-74rrnwt7.js → file-vy4zg7qh.js} +12 -12
  246. package/dist/chunks/{persistent-pty-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{persistent-pty-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{persistent-pty-cehc4fcm.js → file-w587stx7.js} +9 -9
  249. package/dist/chunks/{persistent-pty-wd87259q.js → file-wd87259q.js} +1 -1
  250. package/dist/chunks/{persistent-pty-fq9618wy.js → file-wgz7hchk.js} +6 -6
  251. package/dist/chunks/{persistent-pty-12ygs1y2.js → file-wjv2022v.js} +29 -29
  252. package/dist/chunks/{persistent-pty-y56ehv6b.js → file-wk5z6jzv.js} +2 -2
  253. package/dist/chunks/{persistent-pty-z9qyhhpt.js → file-wpm2rk0p.js} +6 -6
  254. package/dist/chunks/{persistent-pty-wqgbc62j.js → file-wx970249.js} +57 -57
  255. package/dist/chunks/{persistent-pty-7xpfs8hq.js → file-wyfsrm3h.js} +15 -15
  256. package/dist/chunks/{persistent-pty-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{persistent-pty-2kbmmw84.js → file-x3taryep.js} +15 -15
  258. package/dist/chunks/{persistent-pty-cqh1h3gn.js → file-x4fdevfx.js} +15 -15
  259. package/dist/chunks/{persistent-pty-g11rfc9f.js → file-x5e9capc.js} +5 -5
  260. package/dist/chunks/{persistent-pty-b1rzham2.js → file-x911a3rn.js} +9 -9
  261. package/dist/chunks/{persistent-pty-m3ktmgc5.js → file-xb4nz3yw.js} +17 -17
  262. package/dist/chunks/{persistent-pty-t5ehz8va.js → file-xdvkratw.js} +12 -12
  263. package/dist/chunks/{persistent-pty-kskhsqm3.js → file-xe9t6z83.js} +11 -11
  264. package/dist/chunks/{persistent-pty-zekjwgez.js → file-xmnpnma7.js} +8 -8
  265. package/dist/chunks/file-xvs8zake.js +252 -0
  266. package/dist/chunks/{persistent-pty-qcvmd6b9.js → file-xyv4p6em.js} +9 -9
  267. package/dist/chunks/{persistent-pty-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{persistent-pty-dpkg50ah.js → file-y71avatq.js} +4 -4
  269. package/dist/chunks/{persistent-pty-dsn3ey9m.js → file-ycv0w0a9.js} +26 -26
  270. package/dist/chunks/{persistent-pty-rhraev7y.js → file-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{persistent-pty-28zq9rra.js → file-ypf2r24a.js} +16 -16
  272. package/dist/chunks/{persistent-pty-y2pttbdt.js → file-yqcrm5rh.js} +6 -6
  273. package/dist/chunks/{persistent-pty-r9byqgec.js → file-yrf5hh55.js} +13 -13
  274. package/dist/chunks/{persistent-pty-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{persistent-pty-0ytdgy0f.js → file-yrtahcj6.js} +27 -27
  276. package/dist/chunks/{persistent-pty-af04s6ss.js → file-yt0fqk68.js} +5 -5
  277. package/dist/chunks/{persistent-pty-0xezjjjn.js → file-yw8t9dwe.js} +8 -8
  278. package/dist/chunks/{persistent-pty-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{persistent-pty-h4n5n8rw.js → file-z2jtgbj0.js} +4 -4
  280. package/dist/chunks/{persistent-pty-3w0fmcng.js → file-z3pw5915.js} +5 -5
  281. package/dist/chunks/{persistent-pty-3baz7vjv.js → file-zdtzvc09.js} +5 -5
  282. package/dist/chunks/{persistent-pty-g8jasmdt.js → file-ze3aemja.js} +11 -11
  283. package/dist/chunks/{persistent-pty-1vmwvk68.js → file-ze7vmps7.js} +36 -36
  284. package/dist/chunks/{persistent-pty-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{persistent-pty-kygpjxdc.js → file-zf6fk84t.js} +8 -8
  286. package/dist/chunks/file-zqjzf2ta.js +503 -0
  287. package/dist/chunks/{persistent-pty-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{persistent-pty-efvcp6ns.js → file-zvf7qddh.js} +7 -7
  289. package/dist/chunks/{persistent-pty-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{persistent-pty-mzvzs703.js → file-zz2qg7p3.js} +12 -12
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +122 -122
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +119 -119
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +121 -121
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +92 -92
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +99 -99
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.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/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +2 -2
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +9 -9
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +104 -104
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +99 -99
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +84 -84
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +90 -90
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +81 -81
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +114 -114
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +101 -101
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +1 -1
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +91 -91
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +69 -69
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +138 -138
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +346 -346
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +2 -2
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +83 -83
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +222 -222
  560. package/dist/project/schema.js +4 -4
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +83 -83
  563. package/dist/provider.js +98 -98
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +91 -91
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +131 -131
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +7 -7
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +89 -89
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +92 -92
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +228 -228
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +123 -123
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +207 -207
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +149 -149
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +216 -216
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +219 -219
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +137 -137
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +109 -109
  633. package/dist/snapshot.js +92 -92
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +119 -119
  644. package/dist/tool/plugin/question.js +102 -102
  645. package/dist/tool/plugin/read.js +120 -120
  646. package/dist/tool/plugin/shell.js +214 -214
  647. package/dist/tool/plugin/skill.js +106 -106
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +107 -107
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +95 -95
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +12 -12
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +4 -4
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +7 -7
  676. package/dist/v1/config/plugin.js +1 -1
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +90 -90
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +83 -83
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/persistent-pty-1b8jsvpy.js +0 -252
  698. package/dist/chunks/persistent-pty-7fj5dwt0.js +0 -18
  699. package/dist/chunks/persistent-pty-ghg0rxwy.js +0 -26
  700. package/dist/chunks/persistent-pty-w53xn0nw.js +0 -503
  701. /package/dist/chunks/{persistent-pty-0mesazry.js → file-0mesazry.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-24dcb14g.js → file-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-2710q6r3.js → file-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-359p4xyc.js → file-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-3asan66x.js → file-3asan66x.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-53557ph1.js → file-53557ph1.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-550bvhaj.js → file-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-6prwharc.js → file-6prwharc.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-7m9af43g.js → file-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-822emrt2.js → file-822emrt2.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-8n3pysct.js → file-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-922hggd3.js → file-922hggd3.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-af5trqkr.js → file-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-afrmfg78.js → file-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-d9fn303g.js → file-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-dajrwvna.js → file-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-dap0rakb.js → file-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-df08tz66.js → file-df08tz66.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-dy18nga0.js → file-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-ec1grn59.js → file-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-faypxj3z.js → file-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-fd410y7t.js → file-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-g86h250q.js → file-g86h250q.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-gftt206x.js → file-gftt206x.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-hk9envan.js → file-hk9envan.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-jjkms2e6.js → file-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-mp448xyj.js → file-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-njntx4h6.js → file-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-q74kybfr.js → file-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-qg3g05ea.js → file-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-twg0f83k.js → file-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-w803qqfp.js → file-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-wtztk69x.js → file-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-x61499pn.js → file-x61499pn.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-y44na4kk.js → file-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-y8f7s663.js → file-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-ym463w8f.js → file-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service65
3
- } from "./persistent-pty-wqgbc62j.js";
2
+ Service44
3
+ } from "./file-wx970249.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./persistent-pty-4vcrnpx2.js";
7
+ } from "./file-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./persistent-pty-3v8g72cx.js";
10
+ } from "./file-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input6,
19
+ Input: () => Input3,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin41,
22
+ Plugin: () => Plugin37,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description3,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name6
27
+ name: () => name3
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name6 = "webfetch";
33
+ var name3 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
@@ -38,7 +38,7 @@ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as tex
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input6 = Schema.Struct({
41
+ var Input3 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input6 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input6.fields.format,
51
+ format: Input3.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin41 = {
95
+ var Plugin37 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service65;
99
+ const permission = yield* Service44;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name6,
101
+ name: name3,
102
102
  options: { codemode: false },
103
103
  description: description3,
104
- input: Input6,
104
+ input: Input3,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin41 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name6,
112
+ action: name3,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, Plugin41, extractTextFromHTML2, exports_webfetch };
170
+ export { name3, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input3, Plugin37, extractTextFromHTML2, exports_webfetch };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./persistent-pty-2a5m3afh.js";
5
+ } from "./file-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./persistent-pty-9rqn6x4v.js";
8
+ } from "./file-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./persistent-pty-550bvhaj.js";
3
+ } from "./file-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./persistent-pty-j5zkgpj8.js";
6
+ } from "./file-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./persistent-pty-3asan66x.js";
9
+ } from "./file-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./persistent-pty-1nwxscpy.js";
12
+ } from "./file-bgs9y14h.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./persistent-pty-9zjxkq4z.js";
4
+ } from "./file-85s8v53t.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./persistent-pty-2710q6r3.js";
8
+ } from "./file-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./persistent-pty-dpkg50ah.js";
11
+ } from "./file-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./file-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./persistent-pty-922hggd3.js";
4
+ } from "./file-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./persistent-pty-jexxy024.js";
7
+ } from "./file-fqka1xvk.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./persistent-pty-cr5b1n6y.js";
5
+ Service80,
6
+ node84
7
+ } from "./file-93x6jy41.js";
8
8
  import {
9
- Service26,
10
- node29
11
- } from "./persistent-pty-yrrfxzmt.js";
9
+ Service70,
10
+ node73
11
+ } from "./file-kqjrebtm.js";
12
12
  import {
13
13
  isHome2,
14
- names3
15
- } from "./persistent-pty-tcezcvh9.js";
14
+ names4
15
+ } from "./file-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./persistent-pty-9rqn6x4v.js";
18
+ } from "./file-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
- Options: () => Options2,
25
- Service: () => Service25,
26
- configured: () => configured2,
24
+ Options: () => Options10,
25
+ Service: () => Service69,
26
+ configured: () => configured10,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer9,
29
- node: () => node28,
28
+ layer: () => layer25,
29
+ node: () => node72,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options2 = Schema.Struct({
38
+ var Options10 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service25 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service69 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service25, Effect.gen(function* () {
62
- const location = yield* Service79;
63
- const ripgrep = yield* Service26;
61
+ var ripgrepLayer2 = Layer.effect(Service69, Effect.gen(function* () {
62
+ const location = yield* Service80;
63
+ const ripgrep = yield* Service70;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service25, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service25, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service25.of({
108
+ return Service69.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service25, Effect.gen(function* () {
116
- const location = yield* Service79;
115
+ var fffLayer2 = Layer.effect(Service69, Effect.gen(function* () {
116
+ const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service25, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service25.of({
129
+ return Service69.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service25.of({
134
+ return Service69.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service25, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service79;
177
+ var layer25 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured2(options) {
186
- return makeLocationNode({ service: Service25, layer: layer9(options), deps: [node83, node29] });
185
+ function configured10(options) {
186
+ return makeLocationNode({ service: Service69, layer: layer25(options), deps: [node84, node73] });
187
187
  }
188
- var node28 = configured2();
188
+ var node72 = configured10();
189
189
 
190
- export { Options2, Service25, ripgrepLayer2, fffLayer2, layer9, configured2, node28, exports_search };
190
+ export { Options10, Service69, ripgrepLayer2, fffLayer2, layer25, configured10, node72, exports_search };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service77
3
- } from "./persistent-pty-p776grxc.js";
2
+ Service63
3
+ } from "./file-qq4qjjy7.js";
4
4
  import {
5
- Service65
6
- } from "./persistent-pty-wqgbc62j.js";
5
+ Service44
6
+ } from "./file-wx970249.js";
7
7
  import {
8
- ID4,
8
+ ID5,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service20
14
- } from "./persistent-pty-qfckc8ww.js";
13
+ Service34
14
+ } from "./file-ppgzpeqf.js";
15
15
  import {
16
16
  __export
17
- } from "./persistent-pty-9rqn6x4v.js";
17
+ } from "./file-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch2 = {};
21
21
  __export(exports_websearch2, {
22
- Input: () => Input7,
22
+ Input: () => Input12,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin42,
24
+ Plugin: () => Plugin47,
25
25
  WebSearchTool: () => exports_websearch2,
26
- description: () => description4,
27
- name: () => name7
26
+ description: () => description5,
27
+ name: () => name12
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name7 = "websearch";
32
+ var name12 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input7 = Schema.Struct({
42
+ var Input12 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID4,
46
+ provider: ID5,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin42 = {
49
+ var Plugin47 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service65;
53
- const forms = yield* Service77;
54
- const websearch = yield* Service20;
52
+ const permission = yield* Service44;
53
+ const forms = yield* Service63;
54
+ const websearch = yield* Service34;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name7,
56
+ name: name12,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input7,
58
+ description: description5,
59
+ input: Input12,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name7,
63
+ action: name12,
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[name7];
179
+ delete event.tools[name12];
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 { name7, NO_RESULTS2, description4, Input7, Plugin42, exports_websearch2 };
187
+ export { name12, NO_RESULTS2, description5, Input12, Plugin47, exports_websearch2 };
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./persistent-pty-vpshg2tm.js";
5
+ } from "./file-aj65n88x.js";
6
6
  import {
7
- Service71,
8
- node75
9
- } from "./persistent-pty-d4j0d6g7.js";
7
+ Service78,
8
+ node82
9
+ } from "./file-r6bcthm8.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./file-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event20,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service53,
22
+ Service: () => Service77,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node56,
26
- resolve: () => resolve3
25
+ node: () => node81,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service53 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service77 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event20 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service53, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service71;
80
+ const kv = yield* Service78;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event20.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service53.of({
115
+ return Service77.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event20.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event20.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node56 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node75, node87] });
146
+ var node81 = makeGlobalNode({ service: Service77, layer, deps: [httpClient, node82, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event11, inspect2, resolve3, node56, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service77, Event20, inspect2, resolve4, node81, exports_wellknown };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./persistent-pty-vpshg2tm.js";
4
+ } from "./file-aj65n88x.js";
5
5
  import {
6
- Service40,
7
- node43
8
- } from "./persistent-pty-3wggxd0g.js";
6
+ Service31,
7
+ node34
8
+ } from "./file-6c4shfhc.js";
9
9
  import {
10
- Service65,
11
- node69
12
- } from "./persistent-pty-wqgbc62j.js";
10
+ Service44,
11
+ node46
12
+ } from "./file-wx970249.js";
13
13
  import {
14
- Service48,
15
- node51
16
- } from "./persistent-pty-7dvgeykw.js";
14
+ Service71,
15
+ node74
16
+ } from "./file-n9rh2a3m.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./file-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service39,
26
- layer: () => layer15,
25
+ Service: () => Service29,
26
+ layer: () => layer12,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node42
29
+ node: () => node32
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service39 extends Context.Service()("@opencode/McpTool") {
38
+ class Service29 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer15 = Layer.effect(Service39, Effect.gen(function* () {
41
- const mcp = yield* Service40;
42
- const tools = yield* Service48;
40
+ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
41
+ const mcp = yield* Service31;
42
+ const tools = yield* Service71;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service65;
44
+ const permission = yield* Service44;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service39.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node42 = makeLocationNode({
124
- service: Service39,
125
- layer: layer15,
126
- deps: [node51, node43, node87, node69]
123
+ var node32 = makeLocationNode({
124
+ service: Service29,
125
+ layer: layer12,
126
+ deps: [node74, node34, node87, node46]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service39, layer15, node42, exports_mcp3 };
129
+ export { namespace2, name14, Service29, layer12, node32, exports_mcp3 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-ed86yh56.js";
3
+ } from "./file-j6cy3yns.js";
4
4
  import {
5
5
  call2
6
- } from "./persistent-pty-mfqp6xfm.js";
6
+ } from "./file-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin29,
14
+ Plugin: () => Plugin22,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint4
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 endpoint4 = "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 Plugin29 = define({
40
+ var Plugin22 = 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 Plugin29 = 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, endpoint4, "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 Plugin29 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin29, exports_firecrawl };
80
+ export { endpoint4, Plugin22, exports_firecrawl };