@opencode/core 0.0.0-dev-20969 → 0.0.0-dev-20971

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{filesystem-088y8j6m.js → websearch-003fzm5q.js} +9 -9
  8. package/dist/chunks/{filesystem-n0dejpnd.js → websearch-077cq2br.js} +29 -29
  9. package/dist/chunks/{filesystem-51tqp85b.js → websearch-0b5g1ynf.js} +4 -4
  10. package/dist/chunks/{filesystem-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{filesystem-kkjcmgcs.js → websearch-0y0f49e2.js} +43 -43
  12. package/dist/chunks/{filesystem-hwhn336e.js → websearch-0zpnfvx1.js} +23 -23
  13. package/dist/chunks/{filesystem-2f41x624.js → websearch-114eey2m.js} +23 -23
  14. package/dist/chunks/{filesystem-pp5cqqtv.js → websearch-16kzt8c7.js} +11 -11
  15. package/dist/chunks/{filesystem-b9fxgaae.js → websearch-17wx9w27.js} +14 -14
  16. package/dist/chunks/{filesystem-y8fj3v1k.js → websearch-1gvs1kfk.js} +10 -10
  17. package/dist/chunks/{filesystem-6zwe5z01.js → websearch-1xqhxgyv.js} +50 -50
  18. package/dist/chunks/{filesystem-17vn99m1.js → websearch-1yxefep4.js} +11 -11
  19. package/dist/chunks/{filesystem-dy6phfej.js → websearch-21pghkbv.js} +44 -44
  20. package/dist/chunks/{filesystem-ma3vsd6k.js → websearch-21tx4tw0.js} +11 -11
  21. package/dist/chunks/{filesystem-7q7p1rgy.js → websearch-22qq772b.js} +13 -13
  22. package/dist/chunks/{filesystem-pgsm1jra.js → websearch-23k1n4wj.js} +23 -23
  23. package/dist/chunks/{filesystem-a7jeddqa.js → websearch-2bnp29d3.js} +11 -11
  24. package/dist/chunks/{filesystem-qvaxqqvn.js → websearch-2fsvr6y2.js} +45 -45
  25. package/dist/chunks/{filesystem-3rtxz4nr.js → websearch-2hr5nhwa.js} +8 -8
  26. package/dist/chunks/{filesystem-dytxdk7n.js → websearch-2nphk727.js} +39 -39
  27. package/dist/chunks/{filesystem-7x6mdxf8.js → websearch-2t1t4gde.js} +23 -23
  28. package/dist/chunks/{filesystem-esay8zmc.js → websearch-2tgx65kg.js} +28 -28
  29. package/dist/chunks/{filesystem-3q1fa1xg.js → websearch-2xn0yeqn.js} +13 -13
  30. package/dist/chunks/{filesystem-7qw3bype.js → websearch-313mgmv3.js} +5 -5
  31. package/dist/chunks/{filesystem-h7s7r6s9.js → websearch-31xfzrxg.js} +5 -5
  32. package/dist/chunks/{filesystem-qsdp7can.js → websearch-343pf5dz.js} +3 -3
  33. package/dist/chunks/{filesystem-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{filesystem-pnzf6mjf.js → websearch-3g8j9he4.js} +1 -1
  35. package/dist/chunks/{filesystem-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{filesystem-cqj6hj84.js → websearch-3hnb0ka8.js} +22 -22
  37. package/dist/chunks/{filesystem-3hwn7j4h.js → websearch-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{filesystem-azpq3pjs.js → websearch-3n419yar.js} +18 -18
  39. package/dist/chunks/{filesystem-42vvks9a.js → websearch-3q1pjm3b.js} +12 -12
  40. package/dist/chunks/{filesystem-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{filesystem-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{filesystem-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{filesystem-9018w457.js → websearch-45b60gr3.js} +83 -83
  44. package/dist/chunks/{filesystem-kw3sp2bd.js → websearch-46f1ap7s.js} +9 -9
  45. package/dist/chunks/{filesystem-nhtvjeyc.js → websearch-478dx55a.js} +33 -33
  46. package/dist/chunks/{filesystem-7pqqbnk7.js → websearch-4c9q3z81.js} +5 -5
  47. package/dist/chunks/{filesystem-gyvk3j9r.js → websearch-4thhgppw.js} +17 -17
  48. package/dist/chunks/{filesystem-4052cchc.js → websearch-4x64vkg3.js} +9 -9
  49. package/dist/chunks/{filesystem-rrpgd0ny.js → websearch-4zgrgp2d.js} +8 -8
  50. package/dist/chunks/{filesystem-54ma36ye.js → websearch-54ma36ye.js} +1 -1
  51. package/dist/chunks/{filesystem-x1n3xk5a.js → websearch-59wqttrx.js} +14 -14
  52. package/dist/chunks/{filesystem-m8azxxds.js → websearch-5jb2gjen.js} +11 -11
  53. package/dist/chunks/{filesystem-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{filesystem-90vpw73y.js → websearch-5petgzba.js} +4 -4
  55. package/dist/chunks/{filesystem-4n895ea0.js → websearch-5pzgjsmy.js} +4 -4
  56. package/dist/chunks/{filesystem-rp2821x6.js → websearch-5qkq7w7n.js} +27 -27
  57. package/dist/chunks/{filesystem-0jwsre1p.js → websearch-607tc6va.js} +5 -5
  58. package/dist/chunks/{filesystem-nybg9njq.js → websearch-64e0gxsa.js} +13 -13
  59. package/dist/chunks/{filesystem-5bbq7g0g.js → websearch-655vadc9.js} +41 -41
  60. package/dist/chunks/{filesystem-hjyx165y.js → websearch-6ea2cfys.js} +8 -8
  61. package/dist/chunks/{filesystem-t6vsspdg.js → websearch-6hh8tjw2.js} +7 -7
  62. package/dist/chunks/{filesystem-njhqdk9p.js → websearch-6hjx5zpb.js} +9 -9
  63. package/dist/chunks/{filesystem-f1418zp3.js → websearch-6tk1zy28.js} +27 -27
  64. package/dist/chunks/{filesystem-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{filesystem-anq8x8fx.js → websearch-72xzart4.js} +11 -11
  66. package/dist/chunks/{filesystem-e8yng8xa.js → websearch-75nb7skq.js} +45 -45
  67. package/dist/chunks/{filesystem-775gj3j1.js → websearch-775gj3j1.js} +2 -2
  68. package/dist/chunks/{filesystem-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{filesystem-03apfjcg.js → websearch-7dvbc2gh.js} +3 -3
  70. package/dist/chunks/{filesystem-cb63bp6n.js → websearch-7pbs30f7.js} +1 -1
  71. package/dist/chunks/{filesystem-yhq47pcp.js → websearch-8056f5p9.js} +3 -3
  72. package/dist/chunks/{filesystem-qr891hhg.js → websearch-83fe2qby.js} +18 -18
  73. package/dist/chunks/{filesystem-2tz6nn1d.js → websearch-83kahps3.js} +18 -18
  74. package/dist/chunks/{filesystem-w1eejvng.js → websearch-84txncab.js} +5 -5
  75. package/dist/chunks/{filesystem-38xz3wm4.js → websearch-88k138d5.js} +35 -35
  76. package/dist/chunks/{filesystem-89znhe33.js → websearch-89znhe33.js} +1 -1
  77. package/dist/chunks/{filesystem-wsfdahkn.js → websearch-8bskseag.js} +19 -19
  78. package/dist/chunks/{filesystem-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
  79. package/dist/chunks/{filesystem-xrg7s2x1.js → websearch-8t2pmsab.js} +10 -10
  80. package/dist/chunks/{filesystem-f5ea8hdq.js → websearch-909da4yb.js} +22 -22
  81. package/dist/chunks/{filesystem-bvjcet60.js → websearch-91xfjhfh.js} +188 -188
  82. package/dist/chunks/{filesystem-d5pb17pk.js → websearch-92krdbfb.js} +20 -20
  83. package/dist/chunks/websearch-93pq6tyd.js +253 -0
  84. package/dist/chunks/{filesystem-s83rft3p.js → websearch-93xkbw5f.js} +9 -9
  85. package/dist/chunks/{filesystem-vx3jgdek.js → websearch-99z41sf4.js} +3 -3
  86. package/dist/chunks/{filesystem-qf76qvkk.js → websearch-9ba8rtzh.js} +5 -5
  87. package/dist/chunks/{filesystem-47f1pje9.js → websearch-9bdew4g0.js} +11 -11
  88. package/dist/chunks/{filesystem-wx36b1j2.js → websearch-9d6je7e7.js} +10 -10
  89. package/dist/chunks/{filesystem-0j8yhgsx.js → websearch-9dygvpz5.js} +6 -6
  90. package/dist/chunks/{filesystem-891td7wt.js → websearch-9fr7nstn.js} +32 -32
  91. package/dist/chunks/{filesystem-p37cw4rj.js → websearch-9hn6k4tm.js} +8 -8
  92. package/dist/chunks/{filesystem-mwdfvsrc.js → websearch-9jg4gt0h.js} +1 -1
  93. package/dist/chunks/{filesystem-pnkbpv6t.js → websearch-9jsdpggr.js} +9 -9
  94. package/dist/chunks/{filesystem-k60gdc8d.js → websearch-9v1c233t.js} +22 -22
  95. package/dist/chunks/{filesystem-x0f2qx15.js → websearch-9xryy93f.js} +3 -3
  96. package/dist/chunks/{filesystem-2mvwd2j5.js → websearch-a05rrat5.js} +28 -28
  97. package/dist/chunks/websearch-a1evpjrw.js +513 -0
  98. package/dist/chunks/{filesystem-m52bgz96.js → websearch-ak6yxasf.js} +26 -26
  99. package/dist/chunks/{filesystem-96q3gpsm.js → websearch-ake1zbkb.js} +32 -32
  100. package/dist/chunks/{filesystem-d9ebg897.js → websearch-aswjcw5a.js} +17 -17
  101. package/dist/chunks/{filesystem-2ayk62t9.js → websearch-av0nghqa.js} +21 -21
  102. package/dist/chunks/{filesystem-g4y5gz37.js → websearch-b15j3rym.js} +6 -6
  103. package/dist/chunks/{filesystem-gyscva2z.js → websearch-b32bnh3g.js} +5 -5
  104. package/dist/chunks/{filesystem-scgrse2b.js → websearch-b3f8fkhc.js} +5 -5
  105. package/dist/chunks/{filesystem-04z81fpd.js → websearch-b9egkmbj.js} +43 -43
  106. package/dist/chunks/{filesystem-50tcwssc.js → websearch-bccg505t.js} +1 -1
  107. package/dist/chunks/{filesystem-4r3st4w3.js → websearch-bh6c4dfw.js} +18 -18
  108. package/dist/chunks/{filesystem-1ffvrpkg.js → websearch-bjx1sjef.js} +6 -6
  109. package/dist/chunks/{filesystem-ntd76dtp.js → websearch-bn9198c2.js} +9 -9
  110. package/dist/chunks/{filesystem-7nes44hp.js → websearch-bnefgrzj.js} +4 -4
  111. package/dist/chunks/{filesystem-rde5ychf.js → websearch-bnzc42mj.js} +20 -20
  112. package/dist/chunks/{filesystem-z92d7xwv.js → websearch-bs99rjxz.js} +12 -12
  113. package/dist/chunks/{filesystem-sm28yfzz.js → websearch-bw2a7mrd.js} +3 -3
  114. package/dist/chunks/{filesystem-fya5pxx9.js → websearch-c0a5q8yv.js} +10 -10
  115. package/dist/chunks/{filesystem-h2vzssh9.js → websearch-c0r2db44.js} +32 -32
  116. package/dist/chunks/{filesystem-c1fqxshp.js → websearch-c1fqxshp.js} +3 -3
  117. package/dist/chunks/{filesystem-ash8wba5.js → websearch-c3se2jx9.js} +7 -7
  118. package/dist/chunks/{filesystem-9e6tnrqh.js → websearch-c9qwa378.js} +7 -7
  119. package/dist/chunks/{filesystem-b7e4t0g9.js → websearch-cks40t6p.js} +24 -24
  120. package/dist/chunks/{filesystem-v13g4sj1.js → websearch-ct1mvwjg.js} +20 -20
  121. package/dist/chunks/{filesystem-f6tzyt39.js → websearch-ctebc06n.js} +29 -29
  122. package/dist/chunks/{filesystem-ast615dg.js → websearch-cx6m10jg.js} +22 -22
  123. package/dist/chunks/{filesystem-4mwpykj0.js → websearch-d1mtykxg.js} +6 -6
  124. package/dist/chunks/{filesystem-6gw469qx.js → websearch-d2kzbmw3.js} +11 -11
  125. package/dist/chunks/{filesystem-wm97b409.js → websearch-d4z5pqt3.js} +15 -15
  126. package/dist/chunks/{filesystem-ea274jfg.js → websearch-djzrh6w4.js} +16 -16
  127. package/dist/chunks/{filesystem-dqxsqydv.js → websearch-dqxsqydv.js} +1 -1
  128. package/dist/chunks/{filesystem-t8jmph7p.js → websearch-e3yecgat.js} +31 -31
  129. package/dist/chunks/{filesystem-eej6y6fw.js → websearch-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{filesystem-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{filesystem-m7w6ry8k.js → websearch-f3cdgw6z.js} +35 -35
  132. package/dist/chunks/{filesystem-1d99jg21.js → websearch-f5gxb8yk.js} +48 -48
  133. package/dist/chunks/{filesystem-a78w3xhb.js → websearch-f7mvzbvv.js} +18 -18
  134. package/dist/chunks/{filesystem-jp4tahhf.js → websearch-f8w7qffr.js} +50 -50
  135. package/dist/chunks/{filesystem-pbwex7x3.js → websearch-fa5qp4xy.js} +21 -21
  136. package/dist/chunks/{filesystem-8rpbtay5.js → websearch-fdr2hm3s.js} +7 -7
  137. package/dist/chunks/{filesystem-0bg0bx69.js → websearch-fpecnkgp.js} +7 -7
  138. package/dist/chunks/{filesystem-35hq6fdz.js → websearch-g3e51maf.js} +5 -5
  139. package/dist/chunks/{filesystem-vrrq7v3g.js → websearch-g6yfr6ja.js} +5 -5
  140. package/dist/chunks/{filesystem-m5kx5r4g.js → websearch-g7befppt.js} +13 -13
  141. package/dist/chunks/{filesystem-rk3q4hq2.js → websearch-ga0jpz0d.js} +47 -47
  142. package/dist/chunks/{filesystem-3jvm98xe.js → websearch-gbs64519.js} +12 -12
  143. package/dist/chunks/{filesystem-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{filesystem-axz3bbsr.js → websearch-gg5wemay.js} +15 -15
  145. package/dist/chunks/{filesystem-qmqgtz8f.js → websearch-gjwgx2c5.js} +5 -5
  146. package/dist/chunks/{filesystem-54t2qdpv.js → websearch-gk4m1h2w.js} +8 -8
  147. package/dist/chunks/{filesystem-zarpn6yq.js → websearch-gm1a6fde.js} +12 -12
  148. package/dist/chunks/{filesystem-hh0gybm5.js → websearch-gt5ef0z7.js} +33 -33
  149. package/dist/chunks/{filesystem-wfskyrtt.js → websearch-h4v87q2z.js} +15 -15
  150. package/dist/chunks/{filesystem-6rm5yzkt.js → websearch-h6310vsd.js} +4 -4
  151. package/dist/chunks/{filesystem-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{filesystem-qaevhgds.js → websearch-hbzt9gtj.js} +13 -13
  153. package/dist/chunks/{filesystem-fww2ha2b.js → websearch-hfbyhya8.js} +9 -9
  154. package/dist/chunks/{filesystem-hgz4x7wa.js → websearch-hgz4x7wa.js} +1 -1
  155. package/dist/chunks/{filesystem-me4fzj2s.js → websearch-hm7hq7v9.js} +6 -6
  156. package/dist/chunks/{filesystem-zcrspsvn.js → websearch-hn57h045.js} +4 -4
  157. package/dist/chunks/{filesystem-gkdycpm2.js → websearch-hyjv4swb.js} +22 -22
  158. package/dist/chunks/{filesystem-06d3crh0.js → websearch-hzfz0ca5.js} +8 -8
  159. package/dist/chunks/{filesystem-j09zfasm.js → websearch-j09zfasm.js} +3 -3
  160. package/dist/chunks/{filesystem-yvtwbw85.js → websearch-jfx6dcav.js} +74 -74
  161. package/dist/chunks/{filesystem-wn36fw8j.js → websearch-jh5761fk.js} +19 -19
  162. package/dist/chunks/{filesystem-jk540des.js → websearch-jk540des.js} +2 -2
  163. package/dist/chunks/{filesystem-vk98rgmp.js → websearch-jksq86ky.js} +21 -21
  164. package/dist/chunks/websearch-jmxcda1w.js +26 -0
  165. package/dist/chunks/{filesystem-d6kg2w02.js → websearch-jscnrsa7.js} +24 -24
  166. package/dist/chunks/{filesystem-8gk143f9.js → websearch-jsg8chps.js} +15 -15
  167. package/dist/chunks/{filesystem-929jc9q6.js → websearch-k0hpfmkh.js} +15 -15
  168. package/dist/chunks/{filesystem-j2xzv77w.js → websearch-k9hatd62.js} +5 -5
  169. package/dist/chunks/{filesystem-479xfgw2.js → websearch-kembf2k8.js} +22 -22
  170. package/dist/chunks/{filesystem-zcfehvc5.js → websearch-m37q6hgj.js} +4 -4
  171. package/dist/chunks/{filesystem-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{filesystem-maspj1v3.js → websearch-maspj1v3.js} +1 -1
  173. package/dist/chunks/{filesystem-r90cpetc.js → websearch-mcnnr423.js} +17 -17
  174. package/dist/chunks/{filesystem-bjahvz15.js → websearch-md7p6dyw.js} +5 -5
  175. package/dist/chunks/{filesystem-98zt1fkg.js → websearch-mv4kct63.js} +8 -8
  176. package/dist/chunks/{filesystem-yrcj3v3g.js → websearch-n1n192bv.js} +4 -4
  177. package/dist/chunks/{filesystem-kfpaqgkr.js → websearch-n3nt0ajq.js} +23 -23
  178. package/dist/chunks/{filesystem-gd72kns9.js → websearch-n667y5ap.js} +24 -24
  179. package/dist/chunks/{filesystem-04rd1xjf.js → websearch-n7vmd273.js} +40 -40
  180. package/dist/chunks/{filesystem-rbpvdgf0.js → websearch-n8nh8026.js} +8 -8
  181. package/dist/chunks/{filesystem-pj3rwfnx.js → websearch-nbb4f5b9.js} +20 -20
  182. package/dist/chunks/{filesystem-w2ejb1sn.js → websearch-ndqqk9ty.js} +12 -12
  183. package/dist/chunks/{filesystem-9zsn4ryv.js → websearch-nepk71f4.js} +11 -11
  184. package/dist/chunks/{filesystem-e80seqcp.js → websearch-nma959mg.js} +3 -3
  185. package/dist/chunks/{filesystem-am6f2qjv.js → websearch-nnx4n5pg.js} +8 -8
  186. package/dist/chunks/{filesystem-djjx68bv.js → websearch-nv7vg6tb.js} +39 -39
  187. package/dist/chunks/{filesystem-ny8edt06.js → websearch-ny8edt06.js} +1 -1
  188. package/dist/chunks/{filesystem-sptbfbhr.js → websearch-p21n5fph.js} +19 -19
  189. package/dist/chunks/{filesystem-1vvyf17e.js → websearch-p3sb0s12.js} +26 -26
  190. package/dist/chunks/{filesystem-dk1jwvm3.js → websearch-p8trez96.js} +4 -4
  191. package/dist/chunks/{filesystem-krxv5ast.js → websearch-pebzr6qg.js} +34 -34
  192. package/dist/chunks/{filesystem-0amcbn5s.js → websearch-pfm7p66x.js} +13 -13
  193. package/dist/chunks/{filesystem-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{filesystem-zwmh7mk0.js → websearch-pkk706tc.js} +21 -21
  195. package/dist/chunks/{filesystem-pknna89w.js → websearch-pknna89w.js} +1 -1
  196. package/dist/chunks/{filesystem-6pc27hjz.js → websearch-py3kkmfq.js} +6 -6
  197. package/dist/chunks/{filesystem-hh0ptvjq.js → websearch-pz4vzcaq.js} +16 -16
  198. package/dist/chunks/{filesystem-zrd4nqr3.js → websearch-q04gehn1.js} +38 -38
  199. package/dist/chunks/{filesystem-q0xm7vwc.js → websearch-q0xm7vwc.js} +2 -2
  200. package/dist/chunks/{filesystem-f3crtseh.js → websearch-q73f65tq.js} +4 -4
  201. package/dist/chunks/{filesystem-a7tjv382.js → websearch-qhm1d659.js} +17 -17
  202. package/dist/chunks/{filesystem-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{filesystem-45m3bn54.js → websearch-qnkrzfry.js} +4 -4
  204. package/dist/chunks/{filesystem-brxt6bhf.js → websearch-qp8392pn.js} +23 -23
  205. package/dist/chunks/{filesystem-9h22qa0h.js → websearch-qpb2p9cz.js} +8 -8
  206. package/dist/chunks/{filesystem-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  207. package/dist/chunks/{filesystem-zrbwd74c.js → websearch-qxt1tbqs.js} +15 -15
  208. package/dist/chunks/{filesystem-0nb2yaj7.js → websearch-r13p0abr.js} +9 -9
  209. package/dist/chunks/{filesystem-e89xj288.js → websearch-r2jew814.js} +5 -5
  210. package/dist/chunks/{filesystem-2jysb6nv.js → websearch-r76ba9db.js} +5 -5
  211. package/dist/chunks/{filesystem-b72x306p.js → websearch-r8vqp5c1.js} +13 -13
  212. package/dist/chunks/websearch-rap9a73h.js +18 -0
  213. package/dist/chunks/{filesystem-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{filesystem-rert0e01.js → websearch-rert0e01.js} +2 -2
  215. package/dist/chunks/{filesystem-rj3eygr5.js → websearch-rj3eygr5.js} +2 -2
  216. package/dist/chunks/{filesystem-5pyjqqve.js → websearch-rmejefvx.js} +2 -2
  217. package/dist/chunks/{filesystem-m2sg2d0v.js → websearch-rmxy2zvb.js} +3 -3
  218. package/dist/chunks/{filesystem-xg164bxt.js → websearch-rs308wgg.js} +36 -36
  219. package/dist/chunks/{filesystem-df9r6vr8.js → websearch-rxwgqatg.js} +23 -23
  220. package/dist/chunks/{filesystem-brkftcds.js → websearch-ryx7rba4.js} +3 -3
  221. package/dist/chunks/{filesystem-fs5j28yz.js → websearch-rz6f7f9n.js} +46 -46
  222. package/dist/chunks/{filesystem-72rw85ce.js → websearch-s5qxm7c2.js} +11 -11
  223. package/dist/chunks/{filesystem-mfgzhhge.js → websearch-s6w279bq.js} +11 -11
  224. package/dist/chunks/{filesystem-sa8ekw3f.js → websearch-sa8ekw3f.js} +2 -2
  225. package/dist/chunks/{filesystem-7ye1622v.js → websearch-sb5gr0mb.js} +21 -21
  226. package/dist/chunks/{filesystem-wh0v2wjt.js → websearch-spxeywsx.js} +28 -28
  227. package/dist/chunks/{filesystem-ppnsdmbh.js → websearch-srgtsq79.js} +33 -33
  228. package/dist/chunks/{filesystem-xvc52nav.js → websearch-stfcfc4g.js} +34 -34
  229. package/dist/chunks/{filesystem-srnsn3q2.js → websearch-stxk1t08.js} +11 -11
  230. package/dist/chunks/{filesystem-yfyzdc7t.js → websearch-svgt55pn.js} +28 -28
  231. package/dist/chunks/{filesystem-nghv1tg0.js → websearch-sx2hhmb8.js} +18 -18
  232. package/dist/chunks/{filesystem-syv4x271.js → websearch-syv4x271.js} +1 -1
  233. package/dist/chunks/{filesystem-xya6rnzh.js → websearch-t3gmvzqj.js} +13 -13
  234. package/dist/chunks/{filesystem-eaj1djv9.js → websearch-t550f9t1.js} +8 -8
  235. package/dist/chunks/{filesystem-zx414vf8.js → websearch-tahf1nja.js} +8 -8
  236. package/dist/chunks/{filesystem-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{filesystem-m77a8waw.js → websearch-tb0dfwn4.js} +19 -19
  238. package/dist/chunks/{filesystem-tdstcens.js → websearch-tdstcens.js} +1 -1
  239. package/dist/chunks/{filesystem-st4n5fmc.js → websearch-tf83f7np.js} +16 -16
  240. package/dist/chunks/{filesystem-80scg3y3.js → websearch-tjedn1bk.js} +4 -4
  241. package/dist/chunks/{filesystem-tm0kqsz3.js → websearch-tm0kqsz3.js} +1 -1
  242. package/dist/chunks/{filesystem-6vt1d4a8.js → websearch-tn23d3ya.js} +12 -12
  243. package/dist/chunks/{filesystem-tyytaxap.js → websearch-tyytaxap.js} +1 -1
  244. package/dist/chunks/{filesystem-nd4tfyg0.js → websearch-v1vh7s4p.js} +9 -9
  245. package/dist/chunks/{filesystem-88hkx883.js → websearch-v3q72hwj.js} +12 -12
  246. package/dist/chunks/{filesystem-v7p4zvkq.js → websearch-v7p4zvkq.js} +2 -2
  247. package/dist/chunks/{filesystem-jac8zx36.js → websearch-v8rwy4rj.js} +17 -17
  248. package/dist/chunks/{filesystem-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  249. package/dist/chunks/{filesystem-33xa9rtw.js → websearch-vyj5tysn.js} +34 -34
  250. package/dist/chunks/{filesystem-3n46ts9y.js → websearch-vz8v8gd5.js} +9 -9
  251. package/dist/chunks/{filesystem-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{filesystem-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{filesystem-97aeaand.js → websearch-waskdk5r.js} +4 -4
  254. package/dist/chunks/{filesystem-wd87259q.js → websearch-wd87259q.js} +1 -1
  255. package/dist/chunks/{filesystem-gtymtyg6.js → websearch-we18s4mc.js} +3 -3
  256. package/dist/chunks/{filesystem-t3825hcj.js → websearch-whq79hc3.js} +55 -55
  257. package/dist/chunks/{filesystem-b802xj85.js → websearch-wqx5ex10.js} +20 -20
  258. package/dist/chunks/{filesystem-q37cayrb.js → websearch-x18rv8dz.js} +33 -33
  259. package/dist/chunks/{filesystem-addxnjmp.js → websearch-x661k3y3.js} +4 -4
  260. package/dist/chunks/{filesystem-m70nxkxe.js → websearch-x6qaxe6z.js} +12 -12
  261. package/dist/chunks/{filesystem-drwq78ky.js → websearch-xfkkasph.js} +4 -4
  262. package/dist/chunks/{filesystem-qq49mz5j.js → websearch-xk95h0z4.js} +9 -9
  263. package/dist/chunks/{filesystem-b55f9bw7.js → websearch-xs2jpm2x.js} +10 -10
  264. package/dist/chunks/{filesystem-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{filesystem-nm25s7jz.js → websearch-y1yj3mj5.js} +24 -24
  266. package/dist/chunks/{filesystem-37ea9c2d.js → websearch-y2yt4szk.js} +8 -8
  267. package/dist/chunks/{filesystem-x642km10.js → websearch-y6ghghm0.js} +6 -6
  268. package/dist/chunks/{filesystem-y71avatq.js → websearch-y71avatq.js} +1 -1
  269. package/dist/chunks/{filesystem-93ea1xn4.js → websearch-yb0rz66p.js} +24 -24
  270. package/dist/chunks/{filesystem-eq20ba7x.js → websearch-ydgy0jv4.js} +6 -6
  271. package/dist/chunks/{filesystem-57m3nn06.js → websearch-ykp9vgcb.js} +47 -47
  272. package/dist/chunks/{filesystem-f2n192rq.js → websearch-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{filesystem-chh1qf5w.js → websearch-ytj6a5rf.js} +25 -25
  274. package/dist/chunks/{filesystem-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{filesystem-6kzp9tjq.js → websearch-z6c3x22d.js} +5 -5
  276. package/dist/chunks/{filesystem-g8272p2k.js → websearch-z76dz3yr.js} +5 -5
  277. package/dist/chunks/{filesystem-erv775vn.js → websearch-zgm8fsyv.js} +17 -17
  278. package/dist/chunks/{filesystem-c60gsmre.js → websearch-zj1tp3xc.js} +23 -23
  279. package/dist/chunks/{filesystem-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{filesystem-xh6zv5p8.js → websearch-zr5fzg9e.js} +6 -6
  281. package/dist/chunks/{filesystem-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{filesystem-gc4jdv56.js → websearch-zybd4y84.js} +33 -33
  283. package/dist/chunks/{filesystem-f3dt93wk.js → websearch-zzt948b8.js} +90 -90
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +118 -118
  300. package/dist/config/plugin/location-watcher.js +120 -120
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +87 -87
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +4 -4
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +103 -103
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +102 -102
  424. package/dist/form.js +86 -86
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +103 -103
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +101 -101
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +6 -6
  466. package/dist/mcp/client.js +101 -94
  467. package/dist/mcp/index.js +107 -107
  468. package/dist/mcp/instructions.js +129 -129
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +101 -101
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +104 -104
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +109 -109
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +88 -88
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +125 -125
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +76 -76
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +348 -348
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +220 -220
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +92 -92
  557. package/dist/provider.js +101 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +87 -87
  561. package/dist/reference/instructions.js +87 -87
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +90 -90
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +203 -203
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +215 -215
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +209 -209
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +5 -5
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +107 -107
  626. package/dist/skill.js +114 -114
  627. package/dist/snapshot.js +93 -93
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +126 -126
  632. package/dist/tool/plugin/edit.js +116 -116
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +124 -124
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +103 -103
  640. package/dist/tool/plugin/read.js +123 -123
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +115 -115
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +114 -114
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +95 -95
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +89 -89
  672. package/dist/websearch.js +82 -82
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +81 -81
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +98 -98
  683. package/package.json +8 -8
  684. package/dist/chunks/filesystem-1x11rq2a.js +0 -18
  685. package/dist/chunks/filesystem-szeb262z.js +0 -513
  686. package/dist/chunks/filesystem-tr1gc2fq.js +0 -253
  687. package/dist/chunks/filesystem-vddt4hr5.js +0 -26
  688. /package/dist/chunks/{filesystem-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{filesystem-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{filesystem-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{filesystem-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{filesystem-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{filesystem-24dcb14g.js → websearch-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{filesystem-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{filesystem-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{filesystem-2bv980vf.js → websearch-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{filesystem-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{filesystem-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{filesystem-3asan66x.js → websearch-3asan66x.js} +0 -0
  700. /package/dist/chunks/{filesystem-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{filesystem-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{filesystem-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{filesystem-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{filesystem-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{filesystem-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{filesystem-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{filesystem-53557ph1.js → websearch-53557ph1.js} +0 -0
  708. /package/dist/chunks/{filesystem-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{filesystem-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{filesystem-6prwharc.js → websearch-6prwharc.js} +0 -0
  711. /package/dist/chunks/{filesystem-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{filesystem-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{filesystem-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{filesystem-822emrt2.js → websearch-822emrt2.js} +0 -0
  715. /package/dist/chunks/{filesystem-84wd9syh.js → websearch-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{filesystem-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{filesystem-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{filesystem-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{filesystem-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{filesystem-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{filesystem-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{filesystem-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{filesystem-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{filesystem-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{filesystem-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{filesystem-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{filesystem-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{filesystem-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{filesystem-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{filesystem-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{filesystem-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{filesystem-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{filesystem-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{filesystem-df08tz66.js → websearch-df08tz66.js} +0 -0
  735. /package/dist/chunks/{filesystem-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{filesystem-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{filesystem-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{filesystem-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{filesystem-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{filesystem-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{filesystem-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{filesystem-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{filesystem-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{filesystem-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{filesystem-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{filesystem-g86h250q.js → websearch-g86h250q.js} +0 -0
  747. /package/dist/chunks/{filesystem-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{filesystem-gftt206x.js → websearch-gftt206x.js} +0 -0
  749. /package/dist/chunks/{filesystem-hcxmzztb.js → websearch-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{filesystem-hk9envan.js → websearch-hk9envan.js} +0 -0
  751. /package/dist/chunks/{filesystem-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{filesystem-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{filesystem-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{filesystem-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{filesystem-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{filesystem-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{filesystem-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{filesystem-m18g726c.js → websearch-m18g726c.js} +0 -0
  759. /package/dist/chunks/{filesystem-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{filesystem-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{filesystem-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{filesystem-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{filesystem-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{filesystem-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{filesystem-pyv0edze.js → websearch-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{filesystem-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{filesystem-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{filesystem-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{filesystem-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{filesystem-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{filesystem-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{filesystem-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{filesystem-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{filesystem-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{filesystem-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{filesystem-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{filesystem-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{filesystem-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{filesystem-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{filesystem-wjj7prxr.js → websearch-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{filesystem-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{filesystem-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{filesystem-x61499pn.js → websearch-x61499pn.js} +0 -0
  784. /package/dist/chunks/{filesystem-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{filesystem-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{filesystem-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{filesystem-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{filesystem-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{filesystem-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-b55f9bw7.js";
3
+ } from "./websearch-xs2jpm2x.js";
4
4
  import {
5
- Service83
6
- } from "./filesystem-6vt1d4a8.js";
5
+ Service84
6
+ } from "./websearch-tn23d3ya.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./filesystem-nhtvjeyc.js";
9
+ Event19
10
+ } from "./websearch-478dx55a.js";
11
11
  import {
12
- ID14,
12
+ ID13,
13
13
  MethodID2
14
- } from "./filesystem-q37cayrb.js";
14
+ } from "./websearch-x18rv8dz.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./filesystem-pjvnvgmy.js";
18
+ } from "./websearch-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID12,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./filesystem-hh0gybm5.js";
23
+ } from "./websearch-gt5ef0z7.js";
24
24
  import {
25
25
  get5
26
- } from "./filesystem-54ma36ye.js";
26
+ } from "./websearch-54ma36ye.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./filesystem-x642km10.js";
29
+ } from "./websearch-y6ghghm0.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID14.make("openai"),
53
+ integrationID: ID13.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID14.make("openai"),
126
+ integrationID: ID13.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -165,10 +165,10 @@ var headless = (app) => ({
165
165
  }),
166
166
  refresh: (value) => refresh(headlessMethodID, value, app)
167
167
  });
168
- var OpenAIPlugin3 = define({
168
+ var OpenAIPlugin2 = define({
169
169
  id: "opencode.provider.openai",
170
170
  effect: Effect.fn(function* (ctx) {
171
- const bus = yield* Service83;
171
+ const bus = yield* Service84;
172
172
  const loading = Semaphore.makeUnsafe(1);
173
173
  let chatgpt;
174
174
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
183
183
  editor.method.update(headless(ctx.app));
184
184
  });
185
185
  yield* load();
186
- const configured = yield* configuredSettings2(ID13.openai);
186
+ const configured = yield* configuredSettings2(ID12.openai);
187
187
  yield* ctx.provider.transform((providers) => {
188
- const item = providers.get(ID13.openai);
188
+ const item = providers.get(ID12.openai);
189
189
  if (!item)
190
190
  return;
191
191
  const account = chatgpt?.metadata?.accountID;
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
205
205
  });
206
206
  });
207
207
  yield* ctx.model.transform((models) => {
208
- for (const model of models.list(ID13.openai)) {
208
+ for (const model of models.list(ID12.openai)) {
209
209
  models.update(model.providerID, model.id, (draft) => {
210
210
  if (!chatgpt)
211
211
  return;
@@ -236,14 +236,14 @@ var OpenAIPlugin3 = define({
236
236
  }));
237
237
  evt.headers.originator = "opencode";
238
238
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
239
- }), { providerID: ID13.openai });
239
+ }), { providerID: ID12.openai });
240
240
  const omitOutputLimit = (evt) => Effect.sync(() => {
241
241
  delete evt.options.maxTokens;
242
242
  });
243
243
  for (const name of ["context", "compaction"])
244
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
244
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
245
245
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
246
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
246
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
247
247
  })
248
248
  });
249
249
  function headers(contentType, app) {
@@ -334,4 +334,4 @@ function claim(token) {
334
334
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
335
335
  }
336
336
 
337
- export { OpenAIPlugin3 };
337
+ export { OpenAIPlugin2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-b55f9bw7.js";
3
+ } from "./websearch-xs2jpm2x.js";
4
4
  import {
5
- Service83
6
- } from "./filesystem-6vt1d4a8.js";
5
+ Service84
6
+ } from "./websearch-tn23d3ya.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18,
10
- Service77
11
- } from "./filesystem-nhtvjeyc.js";
9
+ Event19,
10
+ Service76
11
+ } from "./websearch-478dx55a.js";
12
12
  import {
13
- ID14,
13
+ ID13,
14
14
  MethodID2
15
- } from "./filesystem-q37cayrb.js";
15
+ } from "./websearch-x18rv8dz.js";
16
16
  import {
17
- ID13,
17
+ ID12,
18
18
  mergeOverlay2
19
- } from "./filesystem-hh0gybm5.js";
19
+ } from "./websearch-gt5ef0z7.js";
20
20
  import {
21
- ID10,
21
+ ID11,
22
22
  VariantID2,
23
- Info19
24
- } from "./filesystem-38xz3wm4.js";
23
+ Info20
24
+ } from "./websearch-88k138d5.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./filesystem-pjvnvgmy.js";
28
+ } from "./websearch-pjvnvgmy.js";
29
29
  import {
30
30
  get5
31
- } from "./filesystem-54ma36ye.js";
31
+ } from "./websearch-54ma36ye.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./filesystem-x642km10.js";
34
+ } from "./websearch-y6ghghm0.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID13.openai;
47
- var integrationID = ID14.make("openai");
46
+ var providerID = ID12.openai;
47
+ var integrationID = ID13.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -179,8 +179,8 @@ function listen(server) {
179
179
  var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
- const bus = yield* Service83;
183
- const credentials = yield* Service77;
182
+ const bus = yield* Service84;
183
+ const credentials = yield* Service76;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
268
268
  }
269
269
  });
270
270
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
271
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
271
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
272
272
  })
273
273
  });
274
274
  function headers(app) {
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID10.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID13.openai, ID10.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID12.openai, ID11.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -1,29 +1,29 @@
1
- import {
2
- Service37
3
- } from "./filesystem-fs5j28yz.js";
4
1
  import {
5
2
  Service51
6
- } from "./filesystem-pnkbpv6t.js";
3
+ } from "./websearch-rz6f7f9n.js";
4
+ import {
5
+ Service61
6
+ } from "./websearch-9jsdpggr.js";
7
7
  import {
8
8
  observe2
9
- } from "./filesystem-qsdy395h.js";
9
+ } from "./websearch-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./websearch-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin34
18
+ Plugin: () => Plugin47
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin34 = define({
22
+ var Plugin47 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service37;
26
- const image = yield* Service51;
25
+ const config = yield* Service51;
26
+ const image = yield* Service61;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin34 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin34, exports_image };
46
+ export { Plugin47, exports_image };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./filesystem-zr2ceqn5.js";
3
+ } from "./websearch-zr2ceqn5.js";
4
4
  import {
5
- Service38
6
- } from "./filesystem-d5pb17pk.js";
5
+ Service52
6
+ } from "./websearch-92krdbfb.js";
7
7
  import {
8
- Service37
9
- } from "./filesystem-fs5j28yz.js";
8
+ Service51
9
+ } from "./websearch-rz6f7f9n.js";
10
10
  import {
11
- Service14,
11
+ Service15,
12
12
  statements2,
13
13
  decision2
14
- } from "./filesystem-fww2ha2b.js";
14
+ } from "./websearch-hfbyhya8.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./websearch-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/module.ts
20
20
  var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make3
24
+ make: () => make7
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
27
  import { createPluginSources } from "@opencode/plugin/source";
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
30
  import path from "path";
31
31
  import { stat } from "node:fs/promises";
32
32
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make3 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service37;
35
- const managed = yield* Service14;
36
- const watcher = yield* Service38;
33
+ var make7 = Effect.fn("PluginModule.make")(function* () {
34
+ const config = yield* Service51;
35
+ const managed = yield* Service15;
36
+ const watcher = yield* Service52;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
118
118
  };
119
119
  });
120
120
 
121
- export { make3, LoadError2, exports_module };
121
+ export { make7, LoadError2, exports_module };
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service34
6
- } from "./filesystem-6zwe5z01.js";
5
+ Service31
6
+ } from "./websearch-1xqhxgyv.js";
7
7
  import {
8
- Service54
9
- } from "./filesystem-1d99jg21.js";
8
+ Service53
9
+ } from "./websearch-f5gxb8yk.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./websearch-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin11
18
+ Plugin: () => Plugin23
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin11 = {
22
+ var Plugin23 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service34;
26
- const permission = yield* Service54;
25
+ const mcp = yield* Service31;
26
+ const permission = yield* Service53;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin11 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin11, exports_mcp_resource };
96
+ export { Plugin23, exports_mcp_resource };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./filesystem-y71avatq.js";
3
+ } from "./websearch-y71avatq.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./filesystem-6vt1d4a8.js";
5
+ Service84,
6
+ node88
7
+ } from "./websearch-tn23d3ya.js";
8
8
  import {
9
- Event18,
10
- Service77,
11
- node81
12
- } from "./filesystem-nhtvjeyc.js";
13
- import {
14
- Service79,
15
- node83
16
- } from "./filesystem-hh0ptvjq.js";
9
+ Event19,
10
+ Service76,
11
+ node79
12
+ } from "./websearch-478dx55a.js";
17
13
  import {
18
- Service72,
19
- node75
20
- } from "./filesystem-nm25s7jz.js";
14
+ Service80,
15
+ node84
16
+ } from "./websearch-pz4vzcaq.js";
21
17
  import {
22
- ID16,
23
18
  Service78,
24
- node82
25
- } from "./filesystem-rp2821x6.js";
19
+ node81
20
+ } from "./websearch-y1yj3mj5.js";
21
+ import {
22
+ ID18,
23
+ Service83,
24
+ node87
25
+ } from "./websearch-5qkq7w7n.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./filesystem-rdw6cm16.js";
29
+ } from "./websearch-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID13,
32
32
  MethodID2,
33
- Service76,
34
- node80
35
- } from "./filesystem-q37cayrb.js";
33
+ Service75,
34
+ node78
35
+ } from "./websearch-x18rv8dz.js";
36
36
  import {
37
37
  __export
38
- } from "./filesystem-9rqn6x4v.js";
38
+ } from "./websearch-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
44
+ NotFoundError: () => NotFoundError4,
45
45
  Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service34,
52
+ Service: () => Service31,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured3,
56
- layer: () => layer15,
57
- node: () => node37
56
+ layer: () => layer13,
57
+ node: () => node34
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service34 extends Context.Service()("@opencode/MCP") {
106
+ class Service31 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
108
  var Options3 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
@@ -111,13 +111,13 @@ var Options3 = Schema.Struct({
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
115
- const location = yield* Service79;
116
- const environment = yield* Service72;
117
- const bus = yield* Service83;
118
- const forms = yield* Service78;
119
- const integration = yield* Service76;
120
- const credentials = yield* Service77;
114
+ var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
115
+ const location = yield* Service80;
116
+ const environment = yield* Service78;
117
+ const bus = yield* Service84;
118
+ const forms = yield* Service83;
119
+ const integration = yield* Service75;
120
+ const credentials = yield* Service76;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID14.make(suffix);
132
+ const integrationID = ID13.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError3({ server: name });
157
+ return yield* new NotFoundError4({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID16.create();
169
+ const formID = ID18.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service78, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service34.of({
423
+ return Service31.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
532
532
  }
533
533
  function configured3(options) {
534
534
  return makeLocationNode({
535
- service: Service34,
536
- layer: layer15(options),
537
- deps: [node83, node75, node87, node82, node80, node81]
535
+ service: Service31,
536
+ layer: layer13(options),
537
+ deps: [node84, node81, node88, node87, node78, node79]
538
538
  });
539
539
  }
540
- var node37 = configured3();
540
+ var node34 = configured3();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service34, Options3, layer15, configured3, node37, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options3, layer13, configured3, node34, exports_mcp4 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service37
4
- } from "./filesystem-fs5j28yz.js";
3
+ Service51
4
+ } from "./websearch-rz6f7f9n.js";
5
5
  import {
6
- Service46
7
- } from "./filesystem-891td7wt.js";
6
+ Service69
7
+ } from "./websearch-9fr7nstn.js";
8
8
  import {
9
9
  observe2
10
- } from "./filesystem-qsdy395h.js";
10
+ } from "./websearch-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./filesystem-9rqn6x4v.js";
13
+ } from "./websearch-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin38
19
+ Plugin: () => Plugin45
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin38 = define({
23
+ var Plugin45 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service37;
27
- const snapshot = yield* Service46;
26
+ const config = yield* Service51;
27
+ const snapshot = yield* Service69;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin38 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin38, exports_snapshot };
38
+ export { Plugin45, exports_snapshot };