@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,37 +1,37 @@
1
1
  import {
2
2
  batch2
3
- } from "./filesystem-rdw6cm16.js";
3
+ } from "./websearch-rdw6cm16.js";
4
4
  import {
5
- Service37
6
- } from "./filesystem-fs5j28yz.js";
5
+ Service51
6
+ } from "./websearch-rz6f7f9n.js";
7
7
  import {
8
8
  match2
9
- } from "./filesystem-y1fvbwt7.js";
9
+ } from "./websearch-y1fvbwt7.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
  observe2
17
- } from "./filesystem-qsdy395h.js";
17
+ } from "./websearch-qsdy395h.js";
18
18
  import {
19
19
  __export
20
- } from "./filesystem-9rqn6x4v.js";
20
+ } from "./websearch-9rqn6x4v.js";
21
21
 
22
22
  // src/config/plugin/policy.ts
23
23
  var exports_policy = {};
24
24
  __export(exports_policy, {
25
25
  ConfigPolicyPlugin: () => exports_policy,
26
- Plugin: () => Plugin36
26
+ Plugin: () => Plugin49
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Effect, Stream } from "effect";
30
- var Plugin36 = define({
30
+ var Plugin49 = define({
31
31
  id: "opencode.config.policy",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service37;
34
- const managed = yield* Service14;
33
+ const config = yield* Service51;
34
+ const managed = yield* Service15;
35
35
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
36
36
  const loaded = yield* observe2(config, ctx.event, reload);
37
37
  yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
@@ -69,4 +69,4 @@ var Plugin36 = define({
69
69
  })
70
70
  });
71
71
 
72
- export { Plugin36, exports_policy };
72
+ export { Plugin49, exports_policy };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./websearch-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service33,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service33 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service33.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service33, awaitActivation2, exports_service };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./filesystem-qfa1cgps.js";
3
+ } from "./websearch-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./filesystem-rj3eygr5.js";
6
+ } from "./websearch-rj3eygr5.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./filesystem-qnc92qwc.js";
4
+ } from "./websearch-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./filesystem-qfa1cgps.js";
7
+ } from "./websearch-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./filesystem-z5v4ffb3.js";
4
+ } from "./websearch-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./filesystem-vx3jgdek.js";
7
+ } from "./websearch-99z41sf4.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./filesystem-ec1grn59.js";
3
+ } from "./websearch-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./filesystem-tdstcens.js";
6
+ } from "./websearch-tdstcens.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./filesystem-7qw3bype.js";
9
+ } from "./websearch-313mgmv3.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { Effect, Fiber, Iterable } from "effect";
@@ -2,45 +2,45 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./filesystem-hgz4x7wa.js";
5
+ } from "./websearch-hgz4x7wa.js";
6
6
  import {
7
- Service79
8
- } from "./filesystem-hh0ptvjq.js";
7
+ Service80
8
+ } from "./websearch-pz4vzcaq.js";
9
9
  import {
10
- Service72
11
- } from "./filesystem-nm25s7jz.js";
10
+ Service78
11
+ } from "./websearch-y1yj3mj5.js";
12
12
  import {
13
- Service19
14
- } from "./filesystem-wfskyrtt.js";
13
+ Service17
14
+ } from "./websearch-h4v87q2z.js";
15
15
  import {
16
- Service16,
16
+ Service77,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./filesystem-7q7p1rgy.js";
19
+ } from "./websearch-22qq772b.js";
20
20
  import {
21
- Service54
22
- } from "./filesystem-1d99jg21.js";
21
+ Service53
22
+ } from "./websearch-f5gxb8yk.js";
23
23
  import {
24
- Service15,
24
+ Service16,
25
25
  resolvePath2
26
- } from "./filesystem-a78w3xhb.js";
26
+ } from "./websearch-f7mvzbvv.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./filesystem-6prwharc.js";
29
+ } from "./websearch-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./filesystem-9rqn6x4v.js";
32
+ } from "./websearch-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input2,
39
- Output: () => Output2,
38
+ Input: () => Input8,
39
+ Output: () => Output6,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin2,
42
- name: () => name2,
43
- toModelContent: () => toModelContent2
41
+ Plugin: () => Plugin26,
42
+ name: () => name8,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name2 = "patch";
89
- var Input2 = Schema.Struct({
88
+ var name8 = "patch";
89
+ var Input8 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output2 = Schema.Struct({
99
+ var Output6 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent5 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin2 = {
108
+ var Plugin26 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service72;
112
- const access = yield* Service15;
113
- const fileMutation = yield* Service16;
114
- const formatter = yield* Service19;
115
- const location = yield* Service79;
116
- const permission = yield* Service54;
111
+ const environment = yield* Service78;
112
+ const access = yield* Service16;
113
+ const fileMutation = yield* Service77;
114
+ const formatter = yield* Service17;
115
+ const location = yield* Service80;
116
+ const permission = yield* Service53;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name8,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input2,
122
- output: Output2,
121
+ input: Input8,
122
+ output: Output6,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin2 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent5(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };
329
+ export { name8, Input8, Applied2, Output6, toModelContent5, Plugin26, exports_patch };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./websearch-z5v4ffb3.js";
4
4
  import {
5
- Service81,
6
- node85
7
- } from "./filesystem-88hkx883.js";
5
+ Service82,
6
+ node86
7
+ } from "./websearch-v3q72hwj.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./filesystem-w1eejvng.js";
13
+ } from "./websearch-84txncab.js";
14
14
  import {
15
- Service84,
16
- node88
17
- } from "./filesystem-wx36b1j2.js";
15
+ Service68,
16
+ node71
17
+ } from "./websearch-9d6je7e7.js";
18
18
  import {
19
19
  __export
20
- } from "./filesystem-9rqn6x4v.js";
20
+ } from "./websearch-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service68,
33
+ Service: () => Service60,
34
34
  isError: () => isError2,
35
- node: () => node71,
35
+ node: () => node62,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service68 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service60 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service68, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service81;
106
+ const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service84;
110
- return Service68.of({
109
+ const kv = yield* Service68;
110
+ return Service60.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node71 = makeGlobalNode({
171
- service: Service68,
170
+ var node62 = makeGlobalNode({
171
+ service: Service60,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node88]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node71]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service68, isError2, validateBranch2, node71, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service60, isError2, validateBranch2, node62, exports_repository_cache };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./filesystem-mwdfvsrc.js";
5
+ } from "./websearch-9jg4gt0h.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./filesystem-gtymtyg6.js";
11
+ } from "./websearch-we18s4mc.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./websearch-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./filesystem-6vt1d4a8.js";
2
+ Service84,
3
+ node88
4
+ } from "./websearch-tn23d3ya.js";
5
5
  import {
6
- Event18,
7
- Service77,
8
- node81
9
- } from "./filesystem-nhtvjeyc.js";
6
+ Event19,
7
+ Service76,
8
+ node79
9
+ } from "./websearch-478dx55a.js";
10
10
  import {
11
- Service38,
12
- node41
13
- } from "./filesystem-d5pb17pk.js";
11
+ Service52,
12
+ node54
13
+ } from "./websearch-92krdbfb.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./filesystem-z5v4ffb3.js";
16
+ } from "./websearch-z5v4ffb3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./filesystem-hh0ptvjq.js";
18
+ Service80,
19
+ node84
20
+ } from "./websearch-pz4vzcaq.js";
21
21
  import {
22
22
  substitute2
23
- } from "./filesystem-jk540des.js";
23
+ } from "./websearch-jk540des.js";
24
24
  import {
25
25
  normalize2
26
- } from "./filesystem-azpq3pjs.js";
26
+ } from "./websearch-3n419yar.js";
27
27
  import {
28
28
  names3,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./filesystem-g8272p2k.js";
31
+ } from "./websearch-z76dz3yr.js";
32
32
  import {
33
33
  plan2
34
- } from "./filesystem-dqxsqydv.js";
34
+ } from "./websearch-dqxsqydv.js";
35
35
  import {
36
- Service39,
37
- Event6,
38
- node42
39
- } from "./filesystem-rde5ychf.js";
36
+ Service62,
37
+ Event12,
38
+ node64
39
+ } from "./websearch-bnzc42mj.js";
40
40
  import {
41
41
  __export
42
- } from "./filesystem-9rqn6x4v.js";
42
+ } from "./websearch-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
48
  Options: () => Options4,
49
- Service: () => Service37,
49
+ Service: () => Service51,
50
50
  Test: () => Test2,
51
51
  configured: () => configured4,
52
52
  latest: () => latest2,
53
- layer: () => layer16,
54
- node: () => node40,
53
+ layer: () => layer19,
54
+ node: () => node53,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -75,7 +75,7 @@ var Options4 = Schema.Struct({
75
75
  content: Schema.optional(Schema.String)
76
76
  });
77
77
 
78
- class Service37 extends Context.Service()("@opencode/Config") {
78
+ class Service51 extends Context.Service()("@opencode/Config") {
79
79
  }
80
80
 
81
81
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -93,16 +93,16 @@ var testLayer2 = (initial = [], compatibility = {
93
93
  setEntries: (next) => Ref.set(entries, next),
94
94
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
95
95
  });
96
- return Context.empty().pipe(Context.add(Service37, service), Context.add(Test2, service));
96
+ return Context.empty().pipe(Context.add(Service51, service), Context.add(Test2, service));
97
97
  }));
98
- var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
98
+ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const location = yield* Service79;
101
- const watcher = yield* Service38;
102
- const bus = yield* Service83;
103
- const credentials = yield* Service77;
100
+ const location = yield* Service80;
101
+ const watcher = yield* Service52;
102
+ const bus = yield* Service84;
103
+ const credentials = yield* Service76;
104
104
  const globalService = yield* Global.Service;
105
- const wellknown = yield* Service39;
105
+ const wellknown = yield* Service62;
106
106
  const processes = yield* AppProcess.Service;
107
107
  const reloadLock = Semaphore.makeUnsafe(1);
108
108
  const updateLock = Semaphore.makeUnsafe(1);
@@ -253,8 +253,8 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
253
253
  }, (effect) => reloadLock.withPermit(effect));
254
254
  const pendingReloads = yield* PubSub.subscribe(reloads);
255
255
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
256
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
- yield* bus.subscribe(Event6.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
256
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
258
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
259
259
  if (!wellknown.snapshot().length)
260
260
  return Effect.void;
@@ -282,7 +282,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
282
282
  `);
283
283
  yield* requestReload;
284
284
  }, (effect) => updateLock.withPermit(effect));
285
- return Service37.of({
285
+ return Service51.of({
286
286
  entries: Effect.fnUntraced(function* () {
287
287
  return configs;
288
288
  }),
@@ -296,20 +296,20 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
296
296
  }));
297
297
  function configured4(options) {
298
298
  return makeLocationNode({
299
- service: Service37,
300
- layer: layer16(options),
299
+ service: Service51,
300
+ layer: layer19(options),
301
301
  deps: [
302
- node41,
303
- node87,
302
+ node54,
303
+ node88,
304
304
  FSUtil.node,
305
305
  Global.node,
306
- node83,
307
- node81,
308
- node42,
306
+ node84,
307
+ node79,
308
+ node64,
309
309
  AppProcess.node
310
310
  ]
311
311
  });
312
312
  }
313
- var node40 = configured4();
313
+ var node53 = configured4();
314
314
 
315
- export { latest2, Options4, Service37, Test2, testLayer2, layer16, configured4, node40, exports_config };
315
+ export { latest2, Options4, Service51, Test2, testLayer2, layer19, configured4, node53, exports_config };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./filesystem-gd4qta3r.js";
3
+ } from "./websearch-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./filesystem-rdw6cm16.js";
6
+ } from "./websearch-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./websearch-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service49,
18
+ Service: () => Service50,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node51
21
+ node: () => node52
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service49 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service50 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service49, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service49.of({
119
+ return Service50.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node51 = makeLocationNode({
137
- service: Service49,
136
+ var node52 = makeLocationNode({
137
+ service: Service50,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service49, node51, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service50, node52, exports_tool_output2 };