@opencode/core 2.0.28 → 2.0.29

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 +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{filesystem-kjrg4dz2.js → websearch-07vcyzex.js} +23 -23
  8. package/dist/chunks/{filesystem-5w9yjztw.js → websearch-0fz4623t.js} +1 -1
  9. package/dist/chunks/{filesystem-q0xm7vwc.js → websearch-0j77ygfz.js} +6 -6
  10. package/dist/chunks/{filesystem-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{filesystem-thnax083.js → websearch-0wmc8652.js} +11 -11
  12. package/dist/chunks/{filesystem-zx2dsnbk.js → websearch-0zmxjhgt.js} +31 -31
  13. package/dist/chunks/{filesystem-7kmr86m7.js → websearch-103sg1x0.js} +27 -27
  14. package/dist/chunks/{filesystem-3sj8yt8v.js → websearch-1b4m0bzf.js} +4 -4
  15. package/dist/chunks/{filesystem-28n8c4ka.js → websearch-1cegxmx6.js} +58 -18
  16. package/dist/chunks/{filesystem-w40f6bsw.js → websearch-1k6qkxqp.js} +4 -4
  17. package/dist/chunks/{filesystem-53rak1ew.js → websearch-1p799z25.js} +2 -2
  18. package/dist/chunks/{filesystem-3rj2b0mx.js → websearch-1pekzpef.js} +24 -24
  19. package/dist/chunks/{filesystem-9h395ey8.js → websearch-1tehwsrg.js} +20 -20
  20. package/dist/chunks/{filesystem-xcf4ra81.js → websearch-1y335d10.js} +4 -4
  21. package/dist/chunks/{filesystem-p3m2ynk3.js → websearch-25xd1pye.js} +12 -7
  22. package/dist/chunks/{filesystem-4ts7tf6z.js → websearch-2ccvkpx1.js} +2 -2
  23. package/dist/chunks/{filesystem-q0zsatc3.js → websearch-2yb0fdev.js} +52 -52
  24. package/dist/chunks/{filesystem-ek1kdr8s.js → websearch-30n06459.js} +28 -28
  25. package/dist/chunks/{filesystem-h7s7r6s9.js → websearch-31xfzrxg.js} +5 -5
  26. package/dist/chunks/{filesystem-z2jd07rd.js → websearch-346y6mfm.js} +9 -9
  27. package/dist/chunks/{filesystem-rthc7gf6.js → websearch-3c656pdg.js} +9 -9
  28. package/dist/chunks/{filesystem-z114v3my.js → websearch-3dmcmtv3.js} +20 -20
  29. package/dist/chunks/{filesystem-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{filesystem-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{filesystem-3hwn7j4h.js → websearch-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{filesystem-mrfr3fv8.js → websearch-3m7syb4v.js} +13 -13
  33. package/dist/chunks/{filesystem-315k6hst.js → websearch-3p5nkzgw.js} +12 -12
  34. package/dist/chunks/{filesystem-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{filesystem-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{filesystem-g3wzybmp.js → websearch-3yzh7hr7.js} +20 -20
  37. package/dist/chunks/{filesystem-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{filesystem-ffk923an.js → websearch-44gjh96b.js} +85 -85
  39. package/dist/chunks/{filesystem-hppj45g6.js → websearch-4ft0y05w.js} +26 -26
  40. package/dist/chunks/{filesystem-cfkx2x8f.js → websearch-4gq7ecwc.js} +16 -16
  41. package/dist/chunks/{filesystem-9s29ec0q.js → websearch-4se3h60w.js} +9 -9
  42. package/dist/chunks/websearch-4wb4djvq.js +253 -0
  43. package/dist/chunks/{filesystem-6xktvksv.js → websearch-4xzdjh1a.js} +10 -10
  44. package/dist/chunks/{filesystem-tfw769rq.js → websearch-52xjsfcv.js} +11 -11
  45. package/dist/chunks/{filesystem-54ma36ye.js → websearch-54ma36ye.js} +1 -1
  46. package/dist/chunks/{filesystem-kzxe22pz.js → websearch-55nka2g1.js} +4 -4
  47. package/dist/chunks/{filesystem-kdykjer7.js → websearch-5aq1sray.js} +15 -15
  48. package/dist/chunks/{filesystem-3b9qt4hj.js → websearch-5e1pzs32.js} +9 -9
  49. package/dist/chunks/{filesystem-p42kja40.js → websearch-5hft8km6.js} +10 -10
  50. package/dist/chunks/{filesystem-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{filesystem-btv47zes.js → websearch-5pffn7jv.js} +32 -32
  52. package/dist/chunks/{filesystem-kmpk7fbr.js → websearch-5r3x27sy.js} +20 -20
  53. package/dist/chunks/{filesystem-tyts7tda.js → websearch-5z3y5rqa.js} +50 -50
  54. package/dist/chunks/{filesystem-7mwvqe74.js → websearch-6560wqgx.js} +2 -2
  55. package/dist/chunks/{filesystem-0m69c59p.js → websearch-663z1agk.js} +30 -30
  56. package/dist/chunks/{filesystem-6hjx5zpb.js → websearch-6hjx5zpb.js} +2 -2
  57. package/dist/chunks/{filesystem-234r1ky0.js → websearch-6wc34s84.js} +11 -11
  58. package/dist/chunks/{filesystem-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{filesystem-njfdx3sy.js → websearch-6xt5eqb0.js} +4 -4
  60. package/dist/chunks/{filesystem-w39jehkq.js → websearch-6yz0wx8n.js} +5 -5
  61. package/dist/chunks/{filesystem-gtfaydnj.js → websearch-71434wjh.js} +14 -14
  62. package/dist/chunks/{filesystem-hddh30xx.js → websearch-73ndx0kt.js} +9 -9
  63. package/dist/chunks/{filesystem-775gj3j1.js → websearch-775gj3j1.js} +2 -2
  64. package/dist/chunks/{filesystem-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{filesystem-ng5df8nw.js → websearch-7cmmjc66.js} +8 -8
  66. package/dist/chunks/{filesystem-svcw9x3w.js → websearch-7gra0nqm.js} +5 -5
  67. package/dist/chunks/{filesystem-k97zh3d1.js → websearch-7hpzdccj.js} +5 -5
  68. package/dist/chunks/{filesystem-y8p3zjbc.js → websearch-7qq3ahcc.js} +6 -6
  69. package/dist/chunks/{filesystem-dg29p2pd.js → websearch-7xrzajz9.js} +16 -16
  70. package/dist/chunks/{filesystem-w1eejvng.js → websearch-84txncab.js} +5 -5
  71. package/dist/chunks/{filesystem-aj2z5ayr.js → websearch-866agajq.js} +22 -22
  72. package/dist/chunks/{filesystem-pr4c8k5d.js → websearch-88wazn9e.js} +34 -34
  73. package/dist/chunks/{filesystem-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
  74. package/dist/chunks/{filesystem-b8h848z5.js → websearch-8p3ctfjr.js} +11 -11
  75. package/dist/chunks/{filesystem-rkprpv83.js → websearch-8sze2n9a.js} +6 -6
  76. package/dist/chunks/{filesystem-8004wwfb.js → websearch-8t7fzwbd.js} +20 -20
  77. package/dist/chunks/{filesystem-vy98fec5.js → websearch-8wjeg5tw.js} +11 -11
  78. package/dist/chunks/{filesystem-wwgtjrva.js → websearch-8wkxae25.js} +13 -13
  79. package/dist/chunks/{filesystem-91qna3x0.js → websearch-91qna3x0.js} +3 -3
  80. package/dist/chunks/{filesystem-c8cfwmf0.js → websearch-92m1j5rh.js} +11 -11
  81. package/dist/chunks/{filesystem-qpdrzbsd.js → websearch-97j7w773.js} +42 -42
  82. package/dist/chunks/{filesystem-ysasxjy6.js → websearch-97zq4prq.js} +11 -11
  83. package/dist/chunks/{filesystem-w3x9v1nk.js → websearch-9c3np669.js} +8 -8
  84. package/dist/chunks/{filesystem-ct7wq3h5.js → websearch-9h5qj14f.js} +1 -1
  85. package/dist/chunks/{filesystem-9hn6k4tm.js → websearch-9hn6k4tm.js} +1 -1
  86. package/dist/chunks/{filesystem-zqq8czsd.js → websearch-9vkn4ng5.js} +33 -33
  87. package/dist/chunks/{filesystem-krc3a0yk.js → websearch-9zfhyfhf.js} +3 -3
  88. package/dist/chunks/{filesystem-2mcy88br.js → websearch-a2647qfq.js} +135 -129
  89. package/dist/chunks/{filesystem-4h495arh.js → websearch-a4h58p2q.js} +3 -3
  90. package/dist/chunks/{filesystem-65v4cnad.js → websearch-a73a6c6h.js} +12 -12
  91. package/dist/chunks/{filesystem-qa6qpaa9.js → websearch-aa567zw8.js} +11 -11
  92. package/dist/chunks/{filesystem-hp4earpc.js → websearch-ada5kfrj.js} +10 -10
  93. package/dist/chunks/{filesystem-addxnjmp.js → websearch-addxnjmp.js} +1 -1
  94. package/dist/chunks/{filesystem-7t1q934f.js → websearch-am1tmpj5.js} +10 -10
  95. package/dist/chunks/{filesystem-dvb8jg9v.js → websearch-aq92k1t1.js} +33 -27
  96. package/dist/chunks/{filesystem-g5gnrdpy.js → websearch-aqa98z50.js} +14 -14
  97. package/dist/chunks/{filesystem-cjb3hyea.js → websearch-arkfezfn.js} +25 -25
  98. package/dist/chunks/{filesystem-7cjfetaf.js → websearch-avae2qkj.js} +14 -14
  99. package/dist/chunks/{filesystem-75kbjv4y.js → websearch-ay2x71k1.js} +9 -9
  100. package/dist/chunks/{filesystem-f1bjnzfm.js → websearch-ay3jh19j.js} +20 -23
  101. package/dist/chunks/{filesystem-bjx1sjef.js → websearch-bjx1sjef.js} +2 -2
  102. package/dist/chunks/{filesystem-7q2snjpw.js → websearch-br0hqn3c.js} +16 -16
  103. package/dist/chunks/{filesystem-93b1zj1y.js → websearch-btgkzwpb.js} +11 -11
  104. package/dist/chunks/{filesystem-r9h634c8.js → websearch-bwd5tn72.js} +3 -3
  105. package/dist/chunks/{filesystem-es1vcfrp.js → websearch-c1fqxshp.js} +3 -3
  106. package/dist/chunks/{filesystem-ft3hqk2c.js → websearch-c765mh8b.js} +9 -9
  107. package/dist/chunks/{filesystem-c1pk8j7t.js → websearch-c7gbd1xe.js} +16 -16
  108. package/dist/chunks/{filesystem-pb5kndam.js → websearch-caa8k32f.js} +6 -6
  109. package/dist/chunks/{filesystem-0q6ztsng.js → websearch-crt9038w.js} +25 -25
  110. package/dist/chunks/{filesystem-73n0zeyz.js → websearch-cyakegjg.js} +8 -8
  111. package/dist/chunks/{filesystem-18a9s3e7.js → websearch-d08ezc3t.js} +12 -12
  112. package/dist/chunks/{filesystem-naas6dry.js → websearch-d2wa1q6j.js} +24 -24
  113. package/dist/chunks/{filesystem-d77571hn.js → websearch-d883s65k.js} +20 -20
  114. package/dist/chunks/{filesystem-7bj0298e.js → websearch-d8qsn68y.js} +15 -15
  115. package/dist/chunks/{filesystem-7w42pd46.js → websearch-da8gdpq5.js} +9 -9
  116. package/dist/chunks/{filesystem-139mpvga.js → websearch-ddypr82j.js} +8 -8
  117. package/dist/chunks/{filesystem-58hng72m.js → websearch-dhb2hta4.js} +5 -5
  118. package/dist/chunks/{filesystem-rpg9c19m.js → websearch-dhmh7aw6.js} +4 -4
  119. package/dist/chunks/{filesystem-6y8xypev.js → websearch-dk6ncfcg.js} +4 -4
  120. package/dist/chunks/{filesystem-dqxsqydv.js → websearch-dqxsqydv.js} +1 -1
  121. package/dist/chunks/{filesystem-vtbmj6qa.js → websearch-dxzfr4ve.js} +7 -7
  122. package/dist/chunks/{filesystem-k0sjew9s.js → websearch-dyd0ex0t.js} +22 -22
  123. package/dist/chunks/{filesystem-3fz2a589.js → websearch-e0dbc2qq.js} +2 -2
  124. package/dist/chunks/{filesystem-5qd3pb7m.js → websearch-e3qxr5gk.js} +2 -2
  125. package/dist/chunks/{filesystem-e80seqcp.js → websearch-e80seqcp.js} +1 -1
  126. package/dist/chunks/{filesystem-faat08va.js → websearch-e8peznf1.js} +21 -21
  127. package/dist/chunks/{filesystem-jv0d82ph.js → websearch-eawvaaey.js} +50 -50
  128. package/dist/chunks/{filesystem-dqcpnaex.js → websearch-ec2vep54.js} +12 -12
  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-zrj251rj.js → websearch-efjjmtnj.js} +29 -29
  132. package/dist/chunks/{filesystem-42q5z408.js → websearch-espep7zj.js} +1 -1
  133. package/dist/chunks/{filesystem-cv0wr4wv.js → websearch-etc2b570.js} +15 -15
  134. package/dist/chunks/{filesystem-0z1n3j5c.js → websearch-f7ayr8mx.js} +24 -24
  135. package/dist/chunks/{filesystem-2k8khapm.js → websearch-fcrkznn8.js} +5 -5
  136. package/dist/chunks/{filesystem-8rqycdgd.js → websearch-fm2qvscf.js} +7 -7
  137. package/dist/chunks/{filesystem-yar3z0vm.js → websearch-g37mjr4e.js} +18 -18
  138. package/dist/chunks/{filesystem-zrdk58qt.js → websearch-g5x1q65a.js} +4 -4
  139. package/dist/chunks/{filesystem-hnh8n5n7.js → websearch-g6vmwyfr.js} +11 -11
  140. package/dist/chunks/{filesystem-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{filesystem-t3f4tea4.js → websearch-gdbb1day.js} +1 -1
  142. package/dist/chunks/{filesystem-cv0e3ffa.js → websearch-geq2zx23.js} +313 -313
  143. package/dist/chunks/{filesystem-ma48de29.js → websearch-gfhhve88.js} +5 -5
  144. package/dist/chunks/{filesystem-v7s1536z.js → websearch-gjk5m4qa.js} +3 -3
  145. package/dist/chunks/{filesystem-bvv8j0qg.js → websearch-gqkzrhj2.js} +11 -11
  146. package/dist/chunks/{filesystem-y9q49zk7.js → websearch-gspy0ysg.js} +4 -4
  147. package/dist/chunks/{filesystem-t8c0xvf3.js → websearch-gwj41vyz.js} +7 -7
  148. package/dist/chunks/{filesystem-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{filesystem-d9jtx293.js → websearch-haa4cca0.js} +6 -6
  150. package/dist/chunks/{filesystem-hgz4x7wa.js → websearch-hgz4x7wa.js} +1 -1
  151. package/dist/chunks/{filesystem-n2bdxpfq.js → websearch-hhd9bfcx.js} +14 -14
  152. package/dist/chunks/{filesystem-ktnh1044.js → websearch-hhtxcv9s.js} +34 -34
  153. package/dist/chunks/{filesystem-tz35mf6x.js → websearch-hhyv66vq.js} +8 -8
  154. package/dist/chunks/{filesystem-2ryng5r3.js → websearch-hkffa77z.js} +4 -4
  155. package/dist/chunks/{filesystem-9s024g5s.js → websearch-hkkd4pm1.js} +4 -4
  156. package/dist/chunks/{filesystem-fxaymqdw.js → websearch-hq3c8me3.js} +4 -4
  157. package/dist/chunks/{filesystem-hnb4yx9q.js → websearch-hrg4krg0.js} +7 -7
  158. package/dist/chunks/{filesystem-crx3azpj.js → websearch-hrgbrncq.js} +12 -12
  159. package/dist/chunks/{filesystem-r3fk5851.js → websearch-hx6kv5hf.js} +38 -38
  160. package/dist/chunks/{filesystem-47wyv12f.js → websearch-ja06ey8y.js} +11 -11
  161. package/dist/chunks/{filesystem-e6464sbd.js → websearch-jehjq15e.js} +14 -14
  162. package/dist/chunks/{filesystem-wd9v2wqs.js → websearch-jhxrt86x.js} +23 -23
  163. package/dist/chunks/{filesystem-ws0htp7c.js → websearch-jneafm26.js} +13 -13
  164. package/dist/chunks/{filesystem-rgx5n1kn.js → websearch-k10p7qps.js} +4 -4
  165. package/dist/chunks/{filesystem-4wxv1g1t.js → websearch-k2grd0fw.js} +3 -3
  166. package/dist/chunks/{filesystem-kzk6m8s6.js → websearch-k9mnbpyw.js} +82 -65
  167. package/dist/chunks/{filesystem-a78v4ve5.js → websearch-kb7wnz6t.js} +17 -17
  168. package/dist/chunks/{filesystem-xey671re.js → websearch-kev8d4bj.js} +25 -25
  169. package/dist/chunks/{filesystem-e29yd45t.js → websearch-kfxbay1b.js} +13 -13
  170. package/dist/chunks/{filesystem-mwpbc7s8.js → websearch-kjm8yh2d.js} +18 -18
  171. package/dist/chunks/{filesystem-wtwcdvfd.js → websearch-kkkrbyg1.js} +20 -20
  172. package/dist/chunks/{filesystem-9wfts7m5.js → websearch-kqn4kc20.js} +17 -17
  173. package/dist/chunks/{filesystem-38mdmq5f.js → websearch-krdzrw7f.js} +78 -78
  174. package/dist/chunks/{filesystem-t5jqnx4m.js → websearch-m2xy2q1r.js} +10 -10
  175. package/dist/chunks/{filesystem-h9k3zmfa.js → websearch-m3chcn87.js} +16 -16
  176. package/dist/chunks/{filesystem-cc09gky1.js → websearch-m5yraf7v.js} +24 -24
  177. package/dist/chunks/{filesystem-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{filesystem-maspj1v3.js → websearch-maspj1v3.js} +1 -1
  179. package/dist/chunks/{filesystem-ej4n91fq.js → websearch-mj7h6rjn.js} +19 -19
  180. package/dist/chunks/{filesystem-ycge4e7e.js → websearch-mp6nn8em.js} +3 -3
  181. package/dist/chunks/{filesystem-628nc13m.js → websearch-mq0qga5n.js} +28 -28
  182. package/dist/chunks/{filesystem-jvz4rjy9.js → websearch-n33ezsnm.js} +22 -22
  183. package/dist/chunks/{filesystem-rjtxxem0.js → websearch-n3dj4p5b.js} +8 -8
  184. package/dist/chunks/{filesystem-zftfvc0z.js → websearch-ng1gee1q.js} +5 -5
  185. package/dist/chunks/{filesystem-z7d7tagb.js → websearch-nkndh8r8.js} +11 -11
  186. package/dist/chunks/{filesystem-n9kc33re.js → websearch-nkt96xeg.js} +3 -3
  187. package/dist/chunks/{filesystem-m30bzzm8.js → websearch-nvgev6qc.js} +15 -15
  188. package/dist/chunks/{filesystem-qnxbmed8.js → websearch-nytcpyw5.js} +44 -44
  189. package/dist/chunks/{filesystem-shnqbm89.js → websearch-p08b6fdv.js} +10 -10
  190. package/dist/chunks/{filesystem-rb70syh1.js → websearch-p2aadfsr.js} +15 -15
  191. package/dist/chunks/{filesystem-ehv7knr3.js → websearch-p2w45j0v.js} +16 -16
  192. package/dist/chunks/{filesystem-gp9jqd59.js → websearch-p97g2b6e.js} +6 -6
  193. package/dist/chunks/{filesystem-b6snqm39.js → websearch-pb47hwpg.js} +11 -11
  194. package/dist/chunks/{filesystem-60fs82z5.js → websearch-pghxh1nh.js} +11 -11
  195. package/dist/chunks/{filesystem-20mebfjn.js → websearch-phepkm1d.js} +21 -21
  196. package/dist/chunks/{filesystem-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{filesystem-bmr56wjg.js → websearch-pkj8hqbd.js} +9 -9
  198. package/dist/chunks/{filesystem-pknna89w.js → websearch-pknna89w.js} +1 -1
  199. package/dist/chunks/{filesystem-shy0vwdw.js → websearch-pqwxz2b0.js} +2 -2
  200. package/dist/chunks/{filesystem-wm56crqz.js → websearch-pxwwnbaf.js} +63 -45
  201. package/dist/chunks/{filesystem-d0gnxsps.js → websearch-pzwg7x8a.js} +21 -21
  202. package/dist/chunks/{filesystem-rdd07134.js → websearch-q8fpdxtt.js} +27 -27
  203. package/dist/chunks/{filesystem-axkrk270.js → websearch-qcs9fwqv.js} +14 -14
  204. package/dist/chunks/{filesystem-4rdhmkj7.js → websearch-qfx9w7bq.js} +3 -3
  205. package/dist/chunks/{filesystem-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{filesystem-d8kc7qyj.js → websearch-qp956b5j.js} +6 -6
  207. package/dist/chunks/{filesystem-wpf4st6a.js → websearch-qr9hjn0s.js} +9 -9
  208. package/dist/chunks/{filesystem-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  209. package/dist/chunks/{filesystem-pn3cc07s.js → websearch-qwjmgwmn.js} +8 -8
  210. package/dist/chunks/{filesystem-k7xxzs5q.js → websearch-r2710ff6.js} +23 -23
  211. package/dist/chunks/{filesystem-hgx0r8wb.js → websearch-r2k8chwn.js} +45 -45
  212. package/dist/chunks/{filesystem-adgawzpd.js → websearch-r8x9drbh.js} +5 -5
  213. package/dist/chunks/{filesystem-02hzg919.js → websearch-r9m9gn5p.js} +27 -24
  214. package/dist/chunks/websearch-rap9a73h.js +18 -0
  215. package/dist/chunks/{filesystem-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{filesystem-tkb22qbm.js → websearch-rert0e01.js} +2 -2
  217. package/dist/chunks/{filesystem-eebh6wmp.js → websearch-rgxvqbqk.js} +32 -32
  218. package/dist/chunks/{filesystem-n3yfs7ec.js → websearch-rh5yy33f.js} +31 -31
  219. package/dist/chunks/{filesystem-mek16e5d.js → websearch-rhbc2745.js} +11 -11
  220. package/dist/chunks/{filesystem-c41wscbt.js → websearch-rj3eygr5.js} +2 -2
  221. package/dist/chunks/{filesystem-y5x50g1v.js → websearch-rp432f9z.js} +27 -27
  222. package/dist/chunks/{filesystem-zdqhb26j.js → websearch-rww43xzx.js} +3 -3
  223. package/dist/chunks/{filesystem-j72mgbmv.js → websearch-s5dq0fh7.js} +33 -33
  224. package/dist/chunks/{filesystem-rhjbct0v.js → websearch-s8d7rejh.js} +4 -4
  225. package/dist/chunks/{filesystem-c8ax2afj.js → websearch-sa8ekw3f.js} +2 -2
  226. package/dist/chunks/{filesystem-scgrse2b.js → websearch-scgrse2b.js} +2 -2
  227. package/dist/chunks/{filesystem-3xj61p28.js → websearch-sjh1dprn.js} +22 -22
  228. package/dist/chunks/{filesystem-vbk72xvh.js → websearch-stv64172.js} +16 -16
  229. package/dist/chunks/{filesystem-syv4x271.js → websearch-syv4x271.js} +1 -1
  230. package/dist/chunks/{filesystem-426dk71k.js → websearch-t3nt8dwz.js} +13 -13
  231. package/dist/chunks/{filesystem-cqwer3tv.js → websearch-t41sszjr.js} +24 -24
  232. package/dist/chunks/{filesystem-hxdhxhc0.js → websearch-t8n1383z.js} +36 -36
  233. package/dist/chunks/{filesystem-9sjeq45g.js → websearch-tax3fkaf.js} +1 -1
  234. package/dist/chunks/{filesystem-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{filesystem-w5yqftge.js → websearch-tcay1cqt.js} +6 -6
  236. package/dist/chunks/{filesystem-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{filesystem-9sdvy6ea.js → websearch-tdhdpjpk.js} +5 -5
  238. package/dist/chunks/{filesystem-tdstcens.js → websearch-tdstcens.js} +1 -1
  239. package/dist/chunks/{filesystem-4kv77ab9.js → websearch-tf2nhjex.js} +13 -13
  240. package/dist/chunks/{filesystem-tm0kqsz3.js → websearch-tm0kqsz3.js} +1 -1
  241. package/dist/chunks/{filesystem-bfegkxfd.js → websearch-tmfxf5e7.js} +11 -11
  242. package/dist/chunks/{filesystem-42721k3a.js → websearch-tt87ktex.js} +18 -18
  243. package/dist/chunks/{filesystem-aqazz0j8.js → websearch-tx4eqkkw.js} +22 -22
  244. package/dist/chunks/{filesystem-tyytaxap.js → websearch-tyytaxap.js} +1 -1
  245. package/dist/chunks/{filesystem-v0es1rhs.js → websearch-v0es1rhs.js} +2 -2
  246. package/dist/chunks/{filesystem-4g0yx14a.js → websearch-v1kmxtyj.js} +10 -10
  247. package/dist/chunks/{filesystem-v7p4zvkq.js → websearch-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{filesystem-v7z2bvyd.js → websearch-v7z2bvyd.js} +1 -1
  249. package/dist/chunks/{filesystem-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  250. package/dist/chunks/{filesystem-mddpn92g.js → websearch-vrc1bnre.js} +29 -29
  251. package/dist/chunks/{filesystem-09ygvw9n.js → websearch-vywg70mg.js} +9 -9
  252. package/dist/chunks/{filesystem-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{filesystem-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{filesystem-0sdzw0m1.js → websearch-w46jqsvm.js} +27 -27
  255. package/dist/chunks/{filesystem-gveanz76.js → websearch-w4y2mxn4.js} +20 -20
  256. package/dist/chunks/{filesystem-7ha8mbyb.js → websearch-w4zft92x.js} +9 -9
  257. package/dist/chunks/{filesystem-yezy7z0k.js → websearch-wazcrk27.js} +11 -11
  258. package/dist/chunks/{filesystem-wd87259q.js → websearch-wd87259q.js} +1 -1
  259. package/dist/chunks/{filesystem-yw46jfkh.js → websearch-we87z89c.js} +13 -13
  260. package/dist/chunks/{filesystem-e1t3mam8.js → websearch-wgdke5pv.js} +9 -9
  261. package/dist/chunks/{filesystem-0x07vhym.js → websearch-x0fnqmv0.js} +13 -13
  262. package/dist/chunks/{filesystem-n4fsvy2x.js → websearch-x5h28p89.js} +24 -24
  263. package/dist/chunks/{filesystem-fzcmqh9t.js → websearch-x5wkbpg0.js} +21 -21
  264. package/dist/chunks/{filesystem-drwq78ky.js → websearch-xfkkasph.js} +4 -4
  265. package/dist/chunks/{filesystem-6nt2he5f.js → websearch-xg4371px.js} +33 -33
  266. package/dist/chunks/{filesystem-m5jcjszt.js → websearch-xkhfjrgz.js} +3 -3
  267. package/dist/chunks/{filesystem-wne619hj.js → websearch-xrb85mgg.js} +25 -25
  268. package/dist/chunks/{filesystem-2k71kv7p.js → websearch-xxxym934.js} +4 -4
  269. package/dist/chunks/{filesystem-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{filesystem-y71avatq.js → websearch-y71avatq.js} +1 -1
  271. package/dist/chunks/{filesystem-bxqk5pf5.js → websearch-y7nndgyc.js} +9 -9
  272. package/dist/chunks/{filesystem-qmr691ca.js → websearch-yfy85faz.js} +3 -3
  273. package/dist/chunks/{filesystem-f5dbfwc4.js → websearch-ynreg67e.js} +4 -4
  274. package/dist/chunks/{filesystem-f2n192rq.js → websearch-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{filesystem-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{filesystem-b5s5zk2w.js → websearch-z7m47ewa.js} +11 -11
  277. package/dist/chunks/{filesystem-wb1x78f5.js → websearch-z938xz10.js} +36 -36
  278. package/dist/chunks/{filesystem-v0xmac3n.js → websearch-zd7wpxs7.js} +2 -2
  279. package/dist/chunks/{filesystem-b71jh5yt.js → websearch-zkf2w606.js} +12 -12
  280. package/dist/chunks/{filesystem-bx0gyb4h.js → websearch-zmr78fwr.js} +5 -5
  281. package/dist/chunks/{filesystem-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{filesystem-4c2dxef7.js → websearch-ztcw2cka.js} +16 -16
  283. package/dist/chunks/{filesystem-e0w2vstn.js → websearch-ztvjr4k5.js} +10 -10
  284. package/dist/chunks/{filesystem-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +101 -101
  429. package/dist/git.js +6 -6
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +87 -87
  454. package/dist/instructions/builtins.js +87 -87
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +79 -79
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +83 -83
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +98 -98
  475. package/dist/model.js +104 -104
  476. package/dist/models-dev.js +103 -103
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +74 -74
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +1 -1
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +117 -117
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +120 -120
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +348 -348
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/vcs/git.js +86 -86
  544. package/dist/plugin/vcs/hg.js +86 -86
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +218 -218
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +82 -82
  558. package/dist/provider.js +91 -91
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +153 -153
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +92 -92
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +209 -209
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +211 -211
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +15 -15
  624. package/dist/shell.js +132 -132
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +110 -110
  628. package/dist/snapshot.js +91 -91
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +125 -125
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +116 -116
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +12 -12
  652. package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
  653. package/dist/types/session/runner/step.d.ts +32 -3
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +7 -7
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +93 -93
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +87 -87
  675. package/dist/websearch.js +86 -86
  676. package/dist/wellknown/plugin.js +78 -78
  677. package/dist/wellknown.js +83 -83
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +84 -84
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +10 -10
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +91 -91
  685. package/dist/worktree.js +98 -98
  686. package/package.json +8 -8
  687. package/dist/chunks/filesystem-1z5jn46p.js +0 -253
  688. package/dist/chunks/filesystem-qc068m1q.js +0 -18
  689. /package/dist/chunks/{filesystem-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{filesystem-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{filesystem-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{filesystem-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{filesystem-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{filesystem-24dcb14g.js → websearch-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{filesystem-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{filesystem-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{filesystem-2bv980vf.js → websearch-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{filesystem-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{filesystem-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{filesystem-3asan66x.js → websearch-3asan66x.js} +0 -0
  701. /package/dist/chunks/{filesystem-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{filesystem-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{filesystem-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{filesystem-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{filesystem-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{filesystem-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{filesystem-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{filesystem-53557ph1.js → websearch-53557ph1.js} +0 -0
  709. /package/dist/chunks/{filesystem-550bvhaj.js → websearch-550bvhaj.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,57 +1,57 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./filesystem-zrdk58qt.js";
4
+ } from "./websearch-g5x1q65a.js";
5
5
  import {
6
- Event20,
7
- Service80,
8
- node84
9
- } from "./filesystem-ek1kdr8s.js";
6
+ Event19,
7
+ Service79,
8
+ node83
9
+ } from "./websearch-30n06459.js";
10
10
  import {
11
- Service47,
12
- node50
13
- } from "./filesystem-cqwer3tv.js";
11
+ Service73,
12
+ node77
13
+ } from "./websearch-t41sszjr.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./filesystem-z5v4ffb3.js";
16
+ } from "./websearch-z5v4ffb3.js";
17
17
  import {
18
18
  Service81,
19
19
  node85
20
- } from "./filesystem-53rak1ew.js";
20
+ } from "./websearch-1p799z25.js";
21
21
  import {
22
22
  substitute2
23
- } from "./filesystem-4ts7tf6z.js";
23
+ } from "./websearch-2ccvkpx1.js";
24
24
  import {
25
25
  normalize2
26
- } from "./filesystem-02hzg919.js";
26
+ } from "./websearch-r9m9gn5p.js";
27
27
  import {
28
28
  names4,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./filesystem-4h495arh.js";
31
+ } from "./websearch-a4h58p2q.js";
32
32
  import {
33
33
  plan2
34
- } from "./filesystem-dqxsqydv.js";
34
+ } from "./websearch-dqxsqydv.js";
35
35
  import {
36
- Service48,
37
- Event8,
38
- node51
39
- } from "./filesystem-z114v3my.js";
36
+ Service74,
37
+ Event15,
38
+ node78
39
+ } from "./websearch-3dmcmtv3.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
- Options: () => Options6,
49
- Service: () => Service46,
48
+ Options: () => Options8,
49
+ Service: () => Service72,
50
50
  Test: () => Test2,
51
- configured: () => configured6,
51
+ configured: () => configured10,
52
52
  latest: () => latest2,
53
- layer: () => layer19,
54
- node: () => node49,
53
+ layer: () => layer25,
54
+ node: () => node76,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options6 = Schema.Struct({
70
+ var Options8 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -75,7 +75,7 @@ var Options6 = Schema.Struct({
75
75
  content: Schema.optional(Schema.String)
76
76
  });
77
77
 
78
- class Service46 extends Context.Service()("@opencode/Config") {
78
+ class Service72 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(Service46, service), Context.add(Test2, service));
96
+ return Context.empty().pipe(Context.add(Service72, service), Context.add(Test2, service));
97
97
  }));
98
- var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
98
+ var layer25 = (options) => Layer.effect(Service72, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const location = yield* Service81;
101
- const watcher = yield* Service47;
101
+ const watcher = yield* Service73;
102
102
  const bus = yield* Service84;
103
- const credentials = yield* Service80;
103
+ const credentials = yield* Service79;
104
104
  const globalService = yield* Global.Service;
105
- const wellknown = yield* Service48;
105
+ const wellknown = yield* Service74;
106
106
  const processes = yield* AppProcess.Service;
107
107
  const reloadLock = Semaphore.makeUnsafe(1);
108
108
  const updateLock = Semaphore.makeUnsafe(1);
@@ -198,20 +198,29 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
198
198
  dir: location.directory,
199
199
  text: options.content
200
200
  }).pipe(Effect.flatMap((text) => parseInfo(text, "OPENCODE_CONFIG_CONTENT")), Effect.map((info) => info ? [new Document({ type: "document", info })] : []), Effect.orDie) : [];
201
- const systemSupplementary = [
202
- ...sources.preferences ? yield* loadPreferences(sources.preferences).pipe(Effect.orDie) : [],
203
- ...sources.system?.present ? yield* loadDirectory(sources.system.path).pipe(Effect.orDie) : []
201
+ const managed = [
202
+ ...sources.system?.present ? yield* loadDirectory(sources.system.path).pipe(Effect.orDie) : [],
203
+ ...sources.preferences ? yield* loadPreferences(sources.preferences).pipe(Effect.orDie) : []
204
204
  ];
205
+ const managedPolicies = managed.flatMap((entry) => entry.type === "document" && entry.info.policies ? [
206
+ new Document({
207
+ type: "document",
208
+ path: entry.path,
209
+ info: new Info({ policies: entry.info.policies })
210
+ })
211
+ ] : []).toReversed();
212
+ const managedSettings = managed.map((entry) => entry.type === "document" && entry.info.policies ? new Document({ ...entry, info: new Info({ ...entry.info, policies: undefined }) }) : entry);
205
213
  const globalSupplementary = sources.global ? yield* loadDirectory(sources.global).pipe(Effect.orDie) : [];
206
214
  const projectSupplementary = yield* Effect.forEach(sources.project.filter((root) => root.present), (root) => loadDirectory(root.path)).pipe(Effect.orDie, Effect.map((entries) => entries.flat()));
207
215
  return [
208
- ...systemSupplementary,
216
+ ...managedPolicies,
209
217
  ...yield* loadWellknown().pipe(Effect.orDie),
210
218
  ...globalSupplementary,
211
219
  ...explicit,
212
220
  ...direct,
213
221
  ...projectSupplementary,
214
- ...content
222
+ ...content,
223
+ ...managedSettings
215
224
  ];
216
225
  });
217
226
  const initial = yield* discover3(options);
@@ -244,8 +253,8 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
244
253
  }, (effect) => reloadLock.withPermit(effect));
245
254
  const pendingReloads = yield* PubSub.subscribe(reloads);
246
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 }));
247
- yield* bus.subscribe(Event20.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 }));
248
- yield* bus.subscribe(Event8.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(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
249
258
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
250
259
  if (!wellknown.snapshot().length)
251
260
  return Effect.void;
@@ -273,7 +282,7 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
273
282
  `);
274
283
  yield* requestReload;
275
284
  }, (effect) => updateLock.withPermit(effect));
276
- return Service46.of({
285
+ return Service72.of({
277
286
  entries: Effect.fnUntraced(function* () {
278
287
  return configs;
279
288
  }),
@@ -285,13 +294,22 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
285
294
  update
286
295
  });
287
296
  }));
288
- function configured6(options) {
297
+ function configured10(options) {
289
298
  return makeLocationNode({
290
- service: Service46,
291
- layer: layer19(options),
292
- deps: [node50, node88, FSUtil.node, Global.node, node85, node84, node51, AppProcess.node]
299
+ service: Service72,
300
+ layer: layer25(options),
301
+ deps: [
302
+ node77,
303
+ node88,
304
+ FSUtil.node,
305
+ Global.node,
306
+ node85,
307
+ node83,
308
+ node78,
309
+ AppProcess.node
310
+ ]
293
311
  });
294
312
  }
295
- var node49 = configured6();
313
+ var node76 = configured10();
296
314
 
297
- export { latest2, Options6, Service46, Test2, testLayer2, layer19, configured6, node49, exports_config };
315
+ export { latest2, Options8, Service72, Test2, testLayer2, layer25, configured10, node76, exports_config };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./filesystem-addxnjmp.js";
3
+ } from "./websearch-addxnjmp.js";
4
4
  import {
5
5
  Service84
6
- } from "./filesystem-zrdk58qt.js";
6
+ } from "./websearch-g5x1q65a.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./filesystem-ek1kdr8s.js";
9
+ Event19
10
+ } from "./websearch-30n06459.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./filesystem-p42kja40.js";
14
+ } from "./websearch-5hft8km6.js";
15
15
  import {
16
16
  ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
19
  Service77
20
- } from "./filesystem-pb5kndam.js";
20
+ } from "./websearch-caa8k32f.js";
21
21
  import {
22
- ID10
23
- } from "./filesystem-jvz4rjy9.js";
22
+ ID12
23
+ } from "./websearch-n33ezsnm.js";
24
24
  import {
25
- load2,
26
- derive2
27
- } from "./filesystem-wtwcdvfd.js";
25
+ load3,
26
+ derive3
27
+ } from "./websearch-kkkrbyg1.js";
28
28
  import {
29
29
  useragent2
30
- } from "./filesystem-thnax083.js";
30
+ } from "./websearch-0wmc8652.js";
31
31
  import {
32
- ID8
33
- } from "./filesystem-0z1n3j5c.js";
32
+ ID10
33
+ } from "./websearch-f7ayr8mx.js";
34
34
  import {
35
35
  get5
36
- } from "./filesystem-54ma36ye.js";
36
+ } from "./websearch-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -182,7 +182,7 @@ var GithubCopilotPlugin2 = define({
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
183
  const provider = yield* providers.get(ID13.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
- try: () => load2(url, {
185
+ try: () => load3(url, {
186
186
  ...provider?.headers,
187
187
  Authorization: `Bearer ${credential.refresh}`,
188
188
  "User-Agent": useragent2(ctx.app),
@@ -208,7 +208,7 @@ var GithubCopilotPlugin2 = define({
208
208
  if (loaded.models) {
209
209
  evt.add({
210
210
  info: item.provider,
211
- models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
211
+ models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
212
  sourceConnection: loaded.connection
213
213
  });
214
214
  return;
@@ -230,14 +230,14 @@ var GithubCopilotPlugin2 = define({
230
230
  }
231
231
  });
232
232
  yield* ctx.model.transform((models) => {
233
- if (models.get(ID13.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
234
- models.update(ID13.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
233
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
234
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
235
235
  model.enabled = false;
236
236
  });
237
237
  }
238
238
  });
239
239
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
240
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
240
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
241
  yield* refresh().pipe(Effect.forkScoped);
242
242
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
243
243
  if (evt.model.providerID !== ID13.githubCopilot)
@@ -265,7 +265,7 @@ var GithubCopilotPlugin2 = define({
265
265
  return;
266
266
  if (!loaded.baseURL || !loaded.token || !loaded.models)
267
267
  return;
268
- const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
268
+ const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
271
  if (agent?.data.model)
@@ -2,7 +2,7 @@ import {
2
2
  ID14,
3
3
  Service78,
4
4
  node82
5
- } from "./filesystem-p42kja40.js";
5
+ } from "./websearch-5hft8km6.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -17,22 +17,22 @@ import {
17
17
  mergeHeaders2,
18
18
  Service77,
19
19
  node81
20
- } from "./filesystem-pb5kndam.js";
20
+ } from "./websearch-caa8k32f.js";
21
21
  import {
22
- Service57,
23
- node59
24
- } from "./filesystem-rthc7gf6.js";
22
+ Service60,
23
+ node64
24
+ } from "./websearch-3c656pdg.js";
25
25
  import {
26
- ID10,
26
+ ID12,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service64,
30
- node66,
29
+ Service75,
30
+ node79,
31
31
  supportsText2
32
- } from "./filesystem-jvz4rjy9.js";
32
+ } from "./websearch-n33ezsnm.js";
33
33
  import {
34
34
  __export
35
- } from "./filesystem-9rqn6x4v.js";
35
+ } from "./websearch-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,7 +41,7 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service56,
44
+ Service: () => Service53,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
@@ -49,7 +49,7 @@ __export(exports_model_resolver, {
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
51
  layer: () => layer23,
52
- node: () => node58,
52
+ node: () => node55,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -60,7 +60,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
62
  providerID: ID13,
63
- modelID: ID10,
63
+ modelID: ID12,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -70,7 +70,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
72
  providerID: ID13,
73
- modelID: ID10,
73
+ modelID: ID12,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -81,7 +81,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
83
  providerID: ID13,
84
- modelID: ID10,
84
+ modelID: ID12,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -92,7 +92,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
94
  providerID: ID13,
95
- modelID: ID10,
95
+ modelID: ID12,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -104,7 +104,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
106
  providerID: ID13,
107
- modelID: ID10,
107
+ modelID: ID12,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -114,7 +114,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
116
  providerID: ID13,
117
- modelID: ID10,
117
+ modelID: ID12,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service56 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service53 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -271,12 +271,12 @@ var causeMessage = (cause) => {
271
271
  };
272
272
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
273
273
  var hasPackage2 = (model) => Boolean(model.package);
274
- var layer23 = Layer.effect(Service56, Effect.gen(function* () {
274
+ var layer23 = Layer.effect(Service53, Effect.gen(function* () {
275
275
  const providers = yield* Service77;
276
- const models = yield* Service64;
276
+ const models = yield* Service75;
277
277
  const integrations = yield* Service78;
278
278
  const npm = yield* Npm.Service;
279
- const aisdk = yield* Service57;
279
+ const aisdk = yield* Service60;
280
280
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
281
281
  const provider = yield* providers.get(selected.providerID);
282
282
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -306,7 +306,7 @@ var layer23 = Layer.effect(Service56, Effect.gen(function* () {
306
306
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
307
307
  };
308
308
  });
309
- return Service56.of({
309
+ return Service53.of({
310
310
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
311
311
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
312
312
  if (!selected)
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
323
323
  const name = packageName2(packageName);
324
324
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
325
325
  }
326
- var node58 = makeLocationNode({
327
- service: Service56,
326
+ var node55 = makeLocationNode({
327
+ service: Service53,
328
328
  layer: layer23,
329
- deps: [node81, node66, node82, Npm.node, node59]
329
+ deps: [node81, node79, node82, Npm.node, node64]
330
330
  });
331
331
 
332
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service56, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node58, exports_model_resolver };
332
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service53, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node55, exports_model_resolver };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service46
3
- } from "./filesystem-wm56crqz.js";
2
+ Service72
3
+ } from "./websearch-pxwwnbaf.js";
4
4
  import {
5
- Service13
6
- } from "./filesystem-ft3hqk2c.js";
5
+ Service7
6
+ } from "./websearch-c765mh8b.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/location-watcher.ts
15
- var exports_location_watcher = {};
16
- __export(exports_location_watcher, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin33
15
+ var exports_location_watcher2 = {};
16
+ __export(exports_location_watcher2, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
+ Plugin: () => Plugin23
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin33 = define({
22
+ var Plugin23 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service46;
26
- const policy = yield* Service13;
25
+ const config = yield* Service72;
26
+ const policy = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin33 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin33, exports_location_watcher };
38
+ export { Plugin23, exports_location_watcher2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service84
3
- } from "./filesystem-zrdk58qt.js";
3
+ } from "./websearch-g5x1q65a.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./filesystem-jvz4rjy9.js";
6
+ } from "./websearch-n33ezsnm.js";
7
7
  import {
8
8
  Service19,
9
9
  Event3
10
- } from "./filesystem-0q6ztsng.js";
10
+ } from "./websearch-crt9038w.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./websearch-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-thnax083.js";
3
+ } from "./websearch-0wmc8652.js";
4
4
  import {
5
5
  OAuth3,
6
- Service80
7
- } from "./filesystem-ek1kdr8s.js";
6
+ Service79
7
+ } from "./websearch-30n06459.js";
8
8
  import {
9
9
  ID14,
10
10
  MethodID2
11
- } from "./filesystem-p42kja40.js";
11
+ } from "./websearch-5hft8km6.js";
12
12
  import {
13
13
  ID13,
14
14
  mergeOverlay2
15
- } from "./filesystem-pb5kndam.js";
15
+ } from "./websearch-caa8k32f.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -69,7 +69,7 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service80;
72
+ const credentials = yield* Service79;
73
73
  yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-thnax083.js";
3
+ } from "./websearch-0wmc8652.js";
4
4
  import {
5
5
  call2
6
- } from "./filesystem-bjx1sjef.js";
6
+ } from "./websearch-bjx1sjef.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./websearch-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin7,
14
+ Plugin: () => Plugin5,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/http";
21
- var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin7 = define({
40
+ var Plugin5 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin7 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin7 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin7, exports_firecrawl };
80
+ export { endpoint3, Plugin5, exports_firecrawl };
@@ -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/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};