@opencode/core 0.0.0-dev-20844 → 0.0.0-dev-20845

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 (788) 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/{formatter-tmbn7gcx.js → websearch-02ay902v.js} +2 -2
  8. package/dist/chunks/{formatter-n6x4mcww.js → websearch-02n9afqs.js} +20 -20
  9. package/dist/chunks/{formatter-d4j44yz6.js → websearch-03c3x67r.js} +7 -7
  10. package/dist/chunks/{formatter-gdmg7y7w.js → websearch-091j2xph.js} +28 -28
  11. package/dist/chunks/{formatter-x6zpjsfk.js → websearch-0ccf4gq7.js} +37 -37
  12. package/dist/chunks/{formatter-21pyz670.js → websearch-0fbhksc1.js} +33 -33
  13. package/dist/chunks/{formatter-1ynav5f4.js → websearch-0fpcnnbm.js} +46 -46
  14. package/dist/chunks/{formatter-5fp7te4b.js → websearch-0g226ptp.js} +11 -11
  15. package/dist/chunks/{formatter-q0xm7vwc.js → websearch-0j77ygfz.js} +6 -6
  16. package/dist/chunks/{formatter-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{formatter-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{formatter-90j3xnb1.js → websearch-0y7gjjxa.js} +16 -16
  19. package/dist/chunks/websearch-0zhbjahh.js +253 -0
  20. package/dist/chunks/{formatter-t0p0w3g9.js → websearch-1kh7kten.js} +18 -18
  21. package/dist/chunks/{formatter-aptsrnfj.js → websearch-1p1wg8d2.js} +17 -17
  22. package/dist/chunks/{formatter-c7vpsa26.js → websearch-1t3mepgx.js} +17 -17
  23. package/dist/chunks/{formatter-k573dvp0.js → websearch-26wtnee4.js} +33 -33
  24. package/dist/chunks/{formatter-r5h8n489.js → websearch-2bv54bp0.js} +7 -7
  25. package/dist/chunks/{formatter-4ts7tf6z.js → websearch-2ccvkpx1.js} +2 -2
  26. package/dist/chunks/{formatter-3nz0bd4c.js → websearch-2d0p9y9z.js} +2 -2
  27. package/dist/chunks/{formatter-t4pgss7x.js → websearch-2ht1hyxn.js} +32 -32
  28. package/dist/chunks/{formatter-exsq973e.js → websearch-2nnxwdxf.js} +17 -17
  29. package/dist/chunks/{formatter-9dekqje7.js → websearch-2ntznan2.js} +23 -23
  30. package/dist/chunks/{formatter-wte75qjz.js → websearch-2ryng5r3.js} +4 -4
  31. package/dist/chunks/{formatter-2vvh33eb.js → websearch-2vvh33eb.js} +2 -2
  32. package/dist/chunks/{formatter-42dw4rvm.js → websearch-34c2xrx6.js} +5 -5
  33. package/dist/chunks/{formatter-razkkmbj.js → websearch-39w50htg.js} +14 -14
  34. package/dist/chunks/{formatter-jt9p6a1k.js → websearch-3azd9wzv.js} +5 -5
  35. package/dist/chunks/{formatter-ryccahdk.js → websearch-3bm72bj4.js} +15 -15
  36. package/dist/chunks/{formatter-d2x3fvxy.js → websearch-3btaar3f.js} +32 -32
  37. package/dist/chunks/{formatter-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{formatter-s41hc7hx.js → websearch-3gr7mfrt.js} +20 -20
  39. package/dist/chunks/{formatter-c8cf3kt2.js → websearch-3gsd6kkn.js} +15 -15
  40. package/dist/chunks/{formatter-vgx6weyf.js → websearch-3heg1ssy.js} +8 -8
  41. package/dist/chunks/{formatter-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{formatter-8mrxmbmj.js → websearch-3hw8948m.js} +12 -12
  43. package/dist/chunks/{formatter-3hwn7j4h.js → websearch-3hwn7j4h.js} +2 -2
  44. package/dist/chunks/{formatter-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{formatter-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{formatter-trr7bxs1.js → websearch-3zbwr1r2.js} +13 -13
  47. package/dist/chunks/{formatter-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{formatter-tmvn36x1.js → websearch-463e81q2.js} +6 -6
  49. package/dist/chunks/{formatter-ah1t0cbz.js → websearch-4drexav4.js} +11 -11
  50. package/dist/chunks/{formatter-7bvz2z4q.js → websearch-4mdjmm98.js} +3 -3
  51. package/dist/chunks/{formatter-ccrb4wds.js → websearch-4myehych.js} +4 -4
  52. package/dist/chunks/{formatter-0tkpsk1a.js → websearch-4pw397dx.js} +14 -14
  53. package/dist/chunks/{formatter-9npt1895.js → websearch-4txdqmcn.js} +10 -10
  54. package/dist/chunks/{formatter-4kn8dehn.js → websearch-4x3n9ey5.js} +18 -18
  55. package/dist/chunks/{formatter-7npw7b4f.js → websearch-4y1ardx2.js} +9 -9
  56. package/dist/chunks/{formatter-gjmk74th.js → websearch-51f5btjf.js} +6 -6
  57. package/dist/chunks/{formatter-pxwtvwnd.js → websearch-529c1882.js} +1 -1
  58. package/dist/chunks/{formatter-tk2nybwj.js → websearch-5346vetp.js} +21 -21
  59. package/dist/chunks/{formatter-54ma36ye.js → websearch-54ma36ye.js} +1 -1
  60. package/dist/chunks/{formatter-7khzse4r.js → websearch-58g2rxtj.js} +27 -27
  61. package/dist/chunks/{formatter-4j4tgtq5.js → websearch-5dkn69vz.js} +4 -4
  62. package/dist/chunks/{formatter-97aeaand.js → websearch-5fec3t3w.js} +9 -9
  63. package/dist/chunks/{formatter-wpswfpkw.js → websearch-5m7kxt6n.js} +11 -11
  64. package/dist/chunks/{formatter-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{formatter-h5941s2r.js → websearch-5ng2s7kp.js} +30 -30
  66. package/dist/chunks/websearch-5qgf7nx2.js +26 -0
  67. package/dist/chunks/{formatter-xyg64hc1.js → websearch-5tjqd32p.js} +25 -25
  68. package/dist/chunks/{formatter-6w9p5n85.js → websearch-60x5va7n.js} +12 -12
  69. package/dist/chunks/{formatter-y6y97je4.js → websearch-69qcfv13.js} +13 -13
  70. package/dist/chunks/{formatter-304591gr.js → websearch-6b6j0b7q.js} +22 -22
  71. package/dist/chunks/{formatter-ez1f3vwt.js → websearch-6bre43z2.js} +11 -11
  72. package/dist/chunks/{formatter-j65a6egm.js → websearch-6jgtgznj.js} +11 -11
  73. package/dist/chunks/{formatter-btbmdjwj.js → websearch-6rm5yzkt.js} +4 -4
  74. package/dist/chunks/{formatter-zfcwc1y1.js → websearch-6wg7wrda.js} +8 -8
  75. package/dist/chunks/{formatter-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
  76. package/dist/chunks/{formatter-hy1va3t8.js → websearch-73wr0wn5.js} +11 -11
  77. package/dist/chunks/{formatter-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{formatter-h3wbh357.js → websearch-7dh0d45w.js} +3 -3
  79. package/dist/chunks/{formatter-wnkeg6nb.js → websearch-7yvkazhd.js} +14 -14
  80. package/dist/chunks/{formatter-84txncab.js → websearch-84txncab.js} +1 -1
  81. package/dist/chunks/{formatter-gf1n7vvt.js → websearch-8b0024wb.js} +1 -1
  82. package/dist/chunks/{formatter-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
  83. package/dist/chunks/{formatter-xweqhgzj.js → websearch-8pknc86s.js} +9 -9
  84. package/dist/chunks/{formatter-63jakaer.js → websearch-8sgx605s.js} +33 -33
  85. package/dist/chunks/{formatter-jws6fkes.js → websearch-8sze2n9a.js} +4 -4
  86. package/dist/chunks/{formatter-vn11bvqc.js → websearch-8tzfdcdp.js} +8 -8
  87. package/dist/chunks/{formatter-n97r6b1p.js → websearch-8xhpb0mm.js} +20 -20
  88. package/dist/chunks/{formatter-91qna3x0.js → websearch-91qna3x0.js} +3 -3
  89. package/dist/chunks/{formatter-3n40wvxh.js → websearch-94ca0bep.js} +5 -5
  90. package/dist/chunks/{formatter-advpk7k7.js → websearch-97m84bsj.js} +20 -20
  91. package/dist/chunks/{formatter-ae2ebvqc.js → websearch-9hn4sma3.js} +15 -15
  92. package/dist/chunks/{formatter-zv6nfkan.js → websearch-9kjtg0w1.js} +8 -8
  93. package/dist/chunks/{formatter-h1fz3f88.js → websearch-a6qeya9w.js} +9 -9
  94. package/dist/chunks/{formatter-tat11k01.js → websearch-a881zpfh.js} +9 -9
  95. package/dist/chunks/{formatter-ermxvwhp.js → websearch-a89e0tac.js} +4 -4
  96. package/dist/chunks/{formatter-zw2hpfmh.js → websearch-addxnjmp.js} +4 -4
  97. package/dist/chunks/{formatter-mjgetwmq.js → websearch-aea0zttc.js} +45 -45
  98. package/dist/chunks/{formatter-9n3fm182.js → websearch-ap6mjhv7.js} +72 -72
  99. package/dist/chunks/{formatter-89e7he8k.js → websearch-asc7erf4.js} +30 -30
  100. package/dist/chunks/{formatter-b34d37jx.js → websearch-b2ad3jms.js} +11 -11
  101. package/dist/chunks/{formatter-6q31t9jv.js → websearch-b9mw2aqp.js} +8 -8
  102. package/dist/chunks/{formatter-1jdt266a.js → websearch-bacj9t34.js} +9 -9
  103. package/dist/chunks/{formatter-110tzrbd.js → websearch-bb1ydskb.js} +14 -14
  104. package/dist/chunks/{formatter-gm3mawps.js → websearch-bceny5qf.js} +6 -6
  105. package/dist/chunks/{formatter-p66tndhm.js → websearch-bd3z6g2t.js} +22 -22
  106. package/dist/chunks/{formatter-yt20gxxn.js → websearch-bdajaf8t.js} +45 -45
  107. package/dist/chunks/{formatter-p4qrnvy6.js → websearch-bdmfkcq7.js} +15 -15
  108. package/dist/chunks/{formatter-2eegacq4.js → websearch-bjmt3h04.js} +8 -8
  109. package/dist/chunks/{formatter-d55kms0x.js → websearch-bkp6ttkb.js} +24 -24
  110. package/dist/chunks/{formatter-1bb8svhn.js → websearch-bmqayegw.js} +2 -2
  111. package/dist/chunks/{formatter-rtxeq7sf.js → websearch-byhh6v23.js} +13 -13
  112. package/dist/chunks/{formatter-5jvkmg6a.js → websearch-c1v03wcp.js} +4 -4
  113. package/dist/chunks/{formatter-c41wscbt.js → websearch-c41wscbt.js} +2 -2
  114. package/dist/chunks/{formatter-170ybnr4.js → websearch-c590j7n0.js} +13 -13
  115. package/dist/chunks/{formatter-c8ax2afj.js → websearch-c8ax2afj.js} +2 -2
  116. package/dist/chunks/{formatter-r1cvadwr.js → websearch-cb63dr15.js} +13 -13
  117. package/dist/chunks/{formatter-4yw1fbgd.js → websearch-cbz1spd4.js} +19 -19
  118. package/dist/chunks/{formatter-xz2e5smm.js → websearch-cf9c5hgv.js} +16 -16
  119. package/dist/chunks/{formatter-0gqjtaj7.js → websearch-cm1jr1n4.js} +8 -8
  120. package/dist/chunks/{formatter-d0da1tm4.js → websearch-cq1n6b1r.js} +5 -5
  121. package/dist/chunks/{formatter-8pvjw1yk.js → websearch-cv6wkry4.js} +11 -11
  122. package/dist/chunks/{formatter-1eyvf6d7.js → websearch-d4b9t5sr.js} +5 -5
  123. package/dist/chunks/{formatter-8kwptkep.js → websearch-dbnj43ps.js} +18 -18
  124. package/dist/chunks/{formatter-tbycc2hz.js → websearch-dg86z8e6.js} +15 -15
  125. package/dist/chunks/{formatter-n9a6feh5.js → websearch-dhewa6g3.js} +30 -30
  126. package/dist/chunks/{formatter-zmrfgz7x.js → websearch-dm603y2d.js} +4 -4
  127. package/dist/chunks/{formatter-y71avatq.js → websearch-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{formatter-cyejtnng.js → websearch-dqjpmmqm.js} +59 -59
  129. package/dist/chunks/{formatter-gfzqzyz0.js → websearch-drmqggy3.js} +6 -6
  130. package/dist/chunks/{formatter-wrhpknam.js → websearch-dydaqehh.js} +28 -28
  131. package/dist/chunks/{formatter-wee432v1.js → websearch-e0ewwv29.js} +12 -12
  132. package/dist/chunks/{formatter-5qd3pb7m.js → websearch-e3qxr5gk.js} +2 -2
  133. package/dist/chunks/{formatter-sxcaecc0.js → websearch-e80seqcp.js} +3 -3
  134. package/dist/chunks/{formatter-1v1jz88t.js → websearch-eca5te9y.js} +18 -18
  135. package/dist/chunks/{formatter-n3zkspvb.js → websearch-edjh399s.js} +8 -8
  136. package/dist/chunks/{formatter-rvzmyzm1.js → websearch-ee1a8rbf.js} +20 -20
  137. package/dist/chunks/{formatter-eej6y6fw.js → websearch-eej6y6fw.js} +2 -2
  138. package/dist/chunks/{formatter-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{formatter-ep1yn424.js → websearch-engj6hqw.js} +5 -5
  140. package/dist/chunks/{formatter-kx7rxa1b.js → websearch-er035epz.js} +14 -14
  141. package/dist/chunks/{formatter-es1vcfrp.js → websearch-es1vcfrp.js} +3 -3
  142. package/dist/chunks/{formatter-j9vw60gp.js → websearch-exzn1zz0.js} +7 -7
  143. package/dist/chunks/{formatter-jppqdx2t.js → websearch-eye2dsms.js} +9 -9
  144. package/dist/chunks/{formatter-dwg0wzat.js → websearch-ez4jw3cg.js} +10 -10
  145. package/dist/chunks/{formatter-ax2n58t8.js → websearch-f56185ew.js} +3 -3
  146. package/dist/chunks/{formatter-fk8kczgx.js → websearch-ff3eaey1.js} +20 -20
  147. package/dist/chunks/{formatter-pfzs8f4y.js → websearch-ftfsgypn.js} +9 -9
  148. package/dist/chunks/{formatter-3vztebqd.js → websearch-g0nh73ae.js} +45 -45
  149. package/dist/chunks/{formatter-c765mh8b.js → websearch-g6q9qykm.js} +9 -9
  150. package/dist/chunks/{formatter-wsacapk7.js → websearch-g73pzdn4.js} +6 -6
  151. package/dist/chunks/{formatter-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{formatter-p95p47f2.js → websearch-ggx376j6.js} +33 -33
  153. package/dist/chunks/{formatter-c1fmzc09.js → websearch-ghp5sgdj.js} +4 -4
  154. package/dist/chunks/{formatter-gk8qb678.js → websearch-gk8qb678.js} +1 -1
  155. package/dist/chunks/{formatter-1x7hg506.js → websearch-gpt9y09p.js} +9 -9
  156. package/dist/chunks/{formatter-3h470ew9.js → websearch-gwva2jq6.js} +5 -5
  157. package/dist/chunks/{formatter-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{formatter-h7s7r6s9.js → websearch-h7s7r6s9.js} +2 -2
  159. package/dist/chunks/{formatter-hd823ygp.js → websearch-h9nmvtcp.js} +11 -11
  160. package/dist/chunks/{formatter-jcp3whqs.js → websearch-hcpf260s.js} +4 -4
  161. package/dist/chunks/{formatter-hgz4x7wa.js → websearch-hgz4x7wa.js} +1 -1
  162. package/dist/chunks/{formatter-84sp9v26.js → websearch-hh3s84jy.js} +8 -8
  163. package/dist/chunks/{formatter-tzsvtse1.js → websearch-hmzbt2r1.js} +24 -24
  164. package/dist/chunks/{formatter-m5rzs9kv.js → websearch-hppc3qez.js} +42 -42
  165. package/dist/chunks/{formatter-hk61fc81.js → websearch-hwf1xm3p.js} +29 -29
  166. package/dist/chunks/{formatter-fdmyxeta.js → websearch-hy079qxn.js} +1 -1
  167. package/dist/chunks/{formatter-wcqpwpqs.js → websearch-j309bc8m.js} +23 -23
  168. package/dist/chunks/{formatter-j56e64zr.js → websearch-j56e64zr.js} +1 -1
  169. package/dist/chunks/{formatter-xt4njr3s.js → websearch-jhdf29st.js} +1 -1
  170. package/dist/chunks/{formatter-qhcjrbh9.js → websearch-jmevm6dv.js} +8 -8
  171. package/dist/chunks/websearch-jqh9b0xq.js +18 -0
  172. package/dist/chunks/{formatter-zav06jzw.js → websearch-jvf3yq6v.js} +4 -4
  173. package/dist/chunks/{formatter-zzm694dn.js → websearch-jyn3c76q.js} +9 -9
  174. package/dist/chunks/{formatter-bj587msa.js → websearch-jz4m0x6v.js} +25 -25
  175. package/dist/chunks/{formatter-hvnp0mny.js → websearch-k19c7zh8.js} +315 -315
  176. package/dist/chunks/{formatter-pfw33rzy.js → websearch-kh07k3gv.js} +23 -23
  177. package/dist/chunks/{formatter-khmqacep.js → websearch-khmqacep.js} +1 -1
  178. package/dist/chunks/{formatter-7qqs174k.js → websearch-kpca8vw1.js} +9 -9
  179. package/dist/chunks/{formatter-rk5tjb03.js → websearch-kqb3yzh9.js} +11 -11
  180. package/dist/chunks/{formatter-s57gzy7f.js → websearch-kqsasazf.js} +4 -4
  181. package/dist/chunks/{formatter-bpeqk324.js → websearch-ks9yanxs.js} +23 -23
  182. package/dist/chunks/{formatter-2bzq2pzg.js → websearch-kztj1kw1.js} +16 -16
  183. package/dist/chunks/{formatter-2r93mh4x.js → websearch-m329mjby.js} +5 -5
  184. package/dist/chunks/{formatter-c2rqg8ey.js → websearch-m4wxmrpq.js} +17 -17
  185. package/dist/chunks/{formatter-4g61n2kp.js → websearch-m8hcs5as.js} +3 -3
  186. package/dist/chunks/{formatter-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{formatter-acwtfcp6.js → websearch-mesve3we.js} +9 -9
  188. package/dist/chunks/{formatter-bjsqrap1.js → websearch-mqcrsfd8.js} +168 -168
  189. package/dist/chunks/{formatter-fgbx85dz.js → websearch-mtvxtq3d.js} +26 -26
  190. package/dist/chunks/{formatter-y1zhptrh.js → websearch-mygssqta.js} +8 -8
  191. package/dist/chunks/{formatter-aa0aqb92.js → websearch-nchek2m9.js} +18 -18
  192. package/dist/chunks/{formatter-hd88bjr2.js → websearch-ne5cj8vn.js} +17 -17
  193. package/dist/chunks/{formatter-enarwepj.js → websearch-nf90gmgp.js} +11 -11
  194. package/dist/chunks/{formatter-t4ngctge.js → websearch-nm9exbtv.js} +36 -36
  195. package/dist/chunks/{formatter-ta4r65qv.js → websearch-nsb8zy01.js} +5 -5
  196. package/dist/chunks/{formatter-kb20khyt.js → websearch-p5e5cqbw.js} +44 -44
  197. package/dist/chunks/{formatter-pwct3qgt.js → websearch-p6e4p3jj.js} +4 -4
  198. package/dist/chunks/{formatter-3jvh5386.js → websearch-p7yeqdaq.js} +14 -14
  199. package/dist/chunks/{formatter-x42b0rq9.js → websearch-p9r3dmyw.js} +30 -30
  200. package/dist/chunks/{formatter-refxa0t0.js → websearch-pax1sq1c.js} +2 -2
  201. package/dist/chunks/{formatter-jpar7rgf.js → websearch-pfd09dg8.js} +19 -19
  202. package/dist/chunks/{formatter-bfj99pj9.js → websearch-ph78x2jd.js} +17 -17
  203. package/dist/chunks/{formatter-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{formatter-pknna89w.js → websearch-pknna89w.js} +1 -1
  205. package/dist/chunks/{formatter-dn7ywjh2.js → websearch-q43487xb.js} +13 -13
  206. package/dist/chunks/{formatter-d216944b.js → websearch-qa3qhgw8.js} +7 -7
  207. package/dist/chunks/{formatter-3kmz1s9n.js → websearch-qet4t08v.js} +15 -15
  208. package/dist/chunks/{formatter-fcrkznn8.js → websearch-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{formatter-dmd4mak0.js → websearch-qkrsb4e9.js} +7 -7
  210. package/dist/chunks/{formatter-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{formatter-b674v2dg.js → websearch-qne3fa44.js} +5 -5
  212. package/dist/chunks/{formatter-0r53015b.js → websearch-qrm3t9gm.js} +15 -15
  213. package/dist/chunks/{formatter-p69x1384.js → websearch-qrrsmycy.js} +19 -19
  214. package/dist/chunks/{formatter-qb5fy139.js → websearch-qrw28b9v.js} +11 -11
  215. package/dist/chunks/{formatter-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  216. package/dist/chunks/{formatter-yg5tfmeg.js → websearch-qv3czhwy.js} +24 -24
  217. package/dist/chunks/{formatter-c8hpe9t1.js → websearch-r7kv1bh5.js} +34 -34
  218. package/dist/chunks/{formatter-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{formatter-6v9y8yth.js → websearch-rexg04m1.js} +3 -3
  220. package/dist/chunks/{formatter-6q1fk26j.js → websearch-rfm1wj6s.js} +16 -16
  221. package/dist/chunks/{formatter-02nrjc1r.js → websearch-rhjbct0v.js} +6 -6
  222. package/dist/chunks/{formatter-e3m5w1sy.js → websearch-rvfzqdmm.js} +17 -17
  223. package/dist/chunks/{formatter-6r6hnsnp.js → websearch-rwyzk1vj.js} +6 -6
  224. package/dist/chunks/{formatter-kt03xgs8.js → websearch-sbq4x687.js} +40 -40
  225. package/dist/chunks/{formatter-vtk244ca.js → websearch-sc2ayhna.js} +12 -12
  226. package/dist/chunks/{formatter-r24bhee7.js → websearch-sjrcjray.js} +24 -24
  227. package/dist/chunks/{formatter-53c3sv1q.js → websearch-skj7xkre.js} +11 -11
  228. package/dist/chunks/{formatter-y9g90tep.js → websearch-snp4rkgh.js} +13 -13
  229. package/dist/chunks/{formatter-syv4x271.js → websearch-syv4x271.js} +1 -1
  230. package/dist/chunks/{formatter-sfkj0ta1.js → websearch-t0sqncza.js} +5 -5
  231. package/dist/chunks/{formatter-ngdfe2fc.js → websearch-t64tfqsj.js} +5 -5
  232. package/dist/chunks/{formatter-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{formatter-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{formatter-tc000skt.js → websearch-tdcces3n.js} +18 -18
  235. package/dist/chunks/{formatter-tdstcens.js → websearch-tdstcens.js} +1 -1
  236. package/dist/chunks/{formatter-4xpgt2w9.js → websearch-tk14y25j.js} +5 -5
  237. package/dist/chunks/{formatter-fr7ck4vq.js → websearch-tk7qgmyp.js} +9 -9
  238. package/dist/chunks/{formatter-tkb22qbm.js → websearch-tkb22qbm.js} +2 -2
  239. package/dist/chunks/{formatter-cmwkp3r5.js → websearch-tpw6cwsb.js} +8 -8
  240. package/dist/chunks/{formatter-68vnzynb.js → websearch-tsz26xtv.js} +24 -24
  241. package/dist/chunks/{formatter-tyytaxap.js → websearch-tyytaxap.js} +1 -1
  242. package/dist/chunks/{formatter-v0es1rhs.js → websearch-v0es1rhs.js} +2 -2
  243. package/dist/chunks/{formatter-521cwzmq.js → websearch-v0ezxakm.js} +13 -13
  244. package/dist/chunks/{formatter-7epx4byg.js → websearch-v1544te7.js} +16 -16
  245. package/dist/chunks/{formatter-v7p4zvkq.js → websearch-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{formatter-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  247. package/dist/chunks/{formatter-6bc1jehr.js → websearch-vhr0yf14.js} +4 -4
  248. package/dist/chunks/{formatter-y3gx830p.js → websearch-vhvqpnxg.js} +11 -11
  249. package/dist/chunks/{formatter-4pa8nav4.js → websearch-vpm8vpz0.js} +3 -3
  250. package/dist/chunks/{formatter-mnrb0wvm.js → websearch-vswsbfgz.js} +24 -24
  251. package/dist/chunks/{formatter-3d4ymmg4.js → websearch-vtt0yr3x.js} +13 -13
  252. package/dist/chunks/{formatter-x1xxp7pr.js → websearch-vv1q3c5v.js} +65 -65
  253. package/dist/chunks/{formatter-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{formatter-mw6z6saw.js → websearch-w1z493z1.js} +37 -37
  255. package/dist/chunks/{formatter-jvhh335a.js → websearch-w2q5m1k0.js} +18 -18
  256. package/dist/chunks/{formatter-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{formatter-0n6pyt17.js → websearch-w79y3adg.js} +13 -13
  258. package/dist/chunks/{formatter-cvavr63d.js → websearch-wavhfayw.js} +24 -24
  259. package/dist/chunks/{formatter-z0ha1qbj.js → websearch-wbp5y788.js} +7 -7
  260. package/dist/chunks/{formatter-wd87259q.js → websearch-wd87259q.js} +1 -1
  261. package/dist/chunks/{formatter-zyk1yjk8.js → websearch-wecqtg5s.js} +5 -5
  262. package/dist/chunks/{formatter-gc2evk3x.js → websearch-wgrk21zd.js} +5 -5
  263. package/dist/chunks/{formatter-q253zft2.js → websearch-whaakjyp.js} +25 -25
  264. package/dist/chunks/{formatter-wjr9rjd7.js → websearch-wjr9rjd7.js} +2 -2
  265. package/dist/chunks/{formatter-9a161wge.js → websearch-wjwc91bs.js} +78 -78
  266. package/dist/chunks/{formatter-gzeebjq4.js → websearch-wzq6jsfv.js} +7 -7
  267. package/dist/chunks/{formatter-9jzp6rtr.js → websearch-xf8yqmad.js} +2 -2
  268. package/dist/chunks/{formatter-2map9xty.js → websearch-xfahfhyk.js} +50 -50
  269. package/dist/chunks/{formatter-qqeeq2t9.js → websearch-xfkkasph.js} +7 -7
  270. package/dist/chunks/{formatter-63mfsvgx.js → websearch-xsth9hr2.js} +11 -11
  271. package/dist/chunks/{formatter-m00031xg.js → websearch-xxnmbcpy.js} +43 -43
  272. package/dist/chunks/{formatter-xn8fmk94.js → websearch-y18g3psc.js} +21 -21
  273. package/dist/chunks/{formatter-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{formatter-4n2jdprc.js → websearch-y3jke7st.js} +4 -4
  275. package/dist/chunks/{formatter-wct31cks.js → websearch-y656zp5d.js} +40 -40
  276. package/dist/chunks/{formatter-nnh9ekd1.js → websearch-y7b0a65n.js} +10 -10
  277. package/dist/chunks/{formatter-vc3r2ec9.js → websearch-yecz5pv7.js} +17 -17
  278. package/dist/chunks/{formatter-n61013np.js → websearch-ynmknp8q.js} +11 -11
  279. package/dist/chunks/{formatter-1acjjqhc.js → websearch-yp2x3t23.js} +4 -4
  280. package/dist/chunks/{formatter-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{formatter-db8hvn5r.js → websearch-z1ajk4qq.js} +3 -3
  282. package/dist/chunks/{formatter-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{formatter-tbk04f64.js → websearch-zsmwbbvy.js} +26 -26
  284. package/dist/chunks/{formatter-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{formatter-y7hva13m.js → websearch-zztrcv6s.js} +6 -6
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +115 -115
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +117 -117
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +123 -123
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +87 -87
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +363 -363
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +97 -97
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +72 -72
  412. package/dist/file-access.js +104 -104
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +220 -220
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +101 -101
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +102 -102
  426. package/dist/form.js +88 -88
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +103 -103
  430. package/dist/git.js +6 -6
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +101 -101
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +87 -87
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +80 -80
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +130 -130
  463. package/dist/location-lifecycle.js +107 -107
  464. package/dist/location-service-map.js +84 -84
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +83 -83
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +105 -105
  470. package/dist/mcp/instructions.js +129 -129
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +101 -101
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +102 -102
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +82 -82
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +121 -121
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +86 -86
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +76 -76
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +125 -125
  523. package/dist/plugin/provider/openai.js +95 -95
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +134 -134
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +346 -346
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +2 -2
  544. package/dist/plugin/vcs/git.js +86 -86
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +5 -5
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +220 -220
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +82 -82
  559. package/dist/provider.js +103 -103
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +91 -91
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +93 -93
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +97 -97
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +153 -153
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +216 -216
  580. package/dist/session/execution.js +129 -129
  581. package/dist/session/generate.js +154 -154
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +125 -125
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +87 -87
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +157 -157
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +209 -209
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +9 -9
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +112 -112
  629. package/dist/snapshot.js +91 -91
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +126 -126
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +126 -126
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +107 -107
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +210 -210
  644. package/dist/tool/plugin/skill.js +107 -107
  645. package/dist/tool/plugin/subagent.js +214 -214
  646. package/dist/tool/plugin/webfetch.js +112 -112
  647. package/dist/tool/plugin/websearch.js +112 -112
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +95 -95
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +89 -89
  674. package/dist/websearch.js +86 -86
  675. package/dist/wellknown/plugin.js +76 -76
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +98 -98
  685. package/package.json +8 -8
  686. package/dist/chunks/formatter-7fj5dwt0.js +0 -18
  687. package/dist/chunks/formatter-d6n2v97e.js +0 -26
  688. package/dist/chunks/formatter-kqgdmvde.js +0 -253
  689. /package/dist/chunks/{formatter-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{formatter-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{formatter-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{formatter-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{formatter-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{formatter-24dcb14g.js → websearch-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{formatter-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{formatter-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{formatter-2bv980vf.js → websearch-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{formatter-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{formatter-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{formatter-3asan66x.js → websearch-3asan66x.js} +0 -0
  701. /package/dist/chunks/{formatter-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{formatter-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{formatter-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{formatter-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{formatter-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{formatter-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{formatter-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{formatter-53557ph1.js → websearch-53557ph1.js} +0 -0
  709. /package/dist/chunks/{formatter-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{formatter-6prwharc.js → websearch-6prwharc.js} +0 -0
  711. /package/dist/chunks/{formatter-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{formatter-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{formatter-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{formatter-822emrt2.js → websearch-822emrt2.js} +0 -0
  715. /package/dist/chunks/{formatter-84wd9syh.js → websearch-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{formatter-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{formatter-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{formatter-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{formatter-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{formatter-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{formatter-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{formatter-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{formatter-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{formatter-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{formatter-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{formatter-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{formatter-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{formatter-bw78ga2c.js → websearch-bw78ga2c.js} +0 -0
  729. /package/dist/chunks/{formatter-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{formatter-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{formatter-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{formatter-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{formatter-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{formatter-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{formatter-df08tz66.js → websearch-df08tz66.js} +0 -0
  736. /package/dist/chunks/{formatter-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{formatter-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{formatter-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{formatter-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{formatter-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{formatter-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{formatter-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{formatter-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{formatter-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{formatter-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{formatter-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{formatter-g86h250q.js → websearch-g86h250q.js} +0 -0
  748. /package/dist/chunks/{formatter-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{formatter-gftt206x.js → websearch-gftt206x.js} +0 -0
  750. /package/dist/chunks/{formatter-hk9envan.js → websearch-hk9envan.js} +0 -0
  751. /package/dist/chunks/{formatter-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{formatter-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{formatter-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{formatter-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{formatter-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{formatter-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{formatter-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{formatter-m18g726c.js → websearch-m18g726c.js} +0 -0
  759. /package/dist/chunks/{formatter-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{formatter-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{formatter-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{formatter-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{formatter-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{formatter-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{formatter-pyv0edze.js → websearch-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{formatter-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{formatter-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{formatter-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{formatter-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{formatter-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{formatter-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{formatter-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{formatter-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{formatter-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{formatter-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{formatter-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{formatter-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{formatter-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{formatter-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{formatter-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{formatter-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{formatter-x61499pn.js → websearch-x61499pn.js} +0 -0
  783. /package/dist/chunks/{formatter-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{formatter-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{formatter-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{formatter-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{formatter-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{formatter-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,82 +1,82 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./formatter-db8hvn5r.js";
4
+ } from "./websearch-z1ajk4qq.js";
5
5
  import {
6
6
  Service84,
7
7
  node88
8
- } from "./formatter-jcp3whqs.js";
8
+ } from "./websearch-hcpf260s.js";
9
9
  import {
10
10
  create3
11
- } from "./formatter-rdw6cm16.js";
11
+ } from "./websearch-rdw6cm16.js";
12
12
  import {
13
- ID15,
14
- Service74,
15
- node78
16
- } from "./formatter-tzsvtse1.js";
13
+ ID8,
14
+ Service57,
15
+ node59
16
+ } from "./websearch-hmzbt2r1.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./formatter-2vvh33eb.js";
19
+ } from "./websearch-2vvh33eb.js";
20
20
  import {
21
- Service62,
22
- node66
23
- } from "./formatter-7khzse4r.js";
21
+ Service73,
22
+ node76
23
+ } from "./websearch-58g2rxtj.js";
24
24
  import {
25
25
  estimate2
26
- } from "./formatter-h6vf3j39.js";
26
+ } from "./websearch-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./formatter-ec1grn59.js";
29
+ } from "./websearch-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./formatter-4j4tgtq5.js";
35
+ } from "./websearch-5dkn69vz.js";
36
36
  import {
37
- load5
38
- } from "./formatter-enarwepj.js";
37
+ load4
38
+ } from "./websearch-nf90gmgp.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./formatter-xt4njr3s.js";
41
+ } from "./websearch-jhdf29st.js";
42
42
  import {
43
43
  baseTranscript2,
44
44
  unsupportedParts2,
45
45
  boundImages2,
46
- Service36,
47
- node40
48
- } from "./formatter-k573dvp0.js";
46
+ Service34,
47
+ node38
48
+ } from "./websearch-26wtnee4.js";
49
49
  import {
50
- Service50,
51
- node53
52
- } from "./formatter-r1cvadwr.js";
50
+ Service45,
51
+ node47
52
+ } from "./websearch-cb63dr15.js";
53
53
  import {
54
54
  isRetryable2,
55
55
  policy2
56
- } from "./formatter-zyk1yjk8.js";
56
+ } from "./websearch-wecqtg5s.js";
57
57
  import {
58
58
  toSessionError2,
59
59
  contentFilterError2
60
- } from "./formatter-42dw4rvm.js";
60
+ } from "./websearch-34c2xrx6.js";
61
61
  import {
62
62
  calculateCost2,
63
63
  record2,
64
64
  add2
65
- } from "./formatter-tdstcens.js";
65
+ } from "./websearch-tdstcens.js";
66
66
  import {
67
67
  __export
68
- } from "./formatter-9rqn6x4v.js";
68
+ } from "./websearch-9rqn6x4v.js";
69
69
 
70
70
  // src/session/compaction.ts
71
71
  var exports_compaction2 = {};
72
72
  __export(exports_compaction2, {
73
- Service: () => Service8,
73
+ Service: () => Service5,
74
74
  SessionCompaction: () => exports_compaction2,
75
75
  buildPrompt: () => buildPrompt2,
76
76
  estimateContext: () => estimateContext2,
77
77
  estimatePrompt: () => estimatePrompt2,
78
- layer: () => layer7,
79
- node: () => node10,
78
+ layer: () => layer6,
79
+ node: () => node7,
80
80
  recentUserMessages: () => recentUserMessages2
81
81
  });
82
82
  import {
@@ -92,7 +92,7 @@ import {
92
92
  } from "@opencode/ai";
93
93
  import { makeLocationNode } from "@opencode/util/effect/app-node";
94
94
  import { Context, Effect, Layer, Result, Stream } from "effect";
95
- class Service8 extends Context.Service()("@opencode/SessionCompaction") {
95
+ class Service5 extends Context.Service()("@opencode/SessionCompaction") {
96
96
  }
97
97
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
98
98
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
171
171
  };
172
172
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
173
173
  var LEGACY_HEADING = "## Additional Context";
174
- var layer7 = Layer.effect(Service8, Effect.gen(function* () {
175
- const agents = yield* Service74;
174
+ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
175
+ const agents = yield* Service57;
176
176
  const bus = yield* Service84;
177
177
  const llm = yield* LLMClient.Service;
178
- const catalog = yield* Service62;
179
- const models = yield* Service50;
178
+ const catalog = yield* Service73;
179
+ const models = yield* Service45;
180
180
  const db = (yield* Service85).db;
181
- const requests = yield* Service36;
181
+ const requests = yield* Service34;
182
182
  const state = create3({
183
183
  name: "session-compaction",
184
184
  initial: () => ({ auto: true, keep: 15000 }),
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
196
196
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
197
197
  return { status: "skipped" };
198
198
  const native = context.model.compaction?.type === "native";
199
- const agent = native ? undefined : yield* agents.get(ID15.make("compaction"));
199
+ const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
200
200
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
201
201
  return;
202
202
  })))) ?? context.model;
@@ -272,7 +272,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
272
272
  const send = (request) => {
273
273
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
274
274
  return Effect.gen(function* () {
275
- const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
275
+ const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
276
276
  const retained = recentUserMessages2(history, context.model, keep);
277
277
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
278
278
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -472,16 +472,16 @@ ${text}`;
472
472
  }, { metadata: outcome.metadata });
473
473
  return { status: "completed" };
474
474
  });
475
- return Service8.of({
475
+ return Service5.of({
476
476
  transform: state.transform,
477
477
  reload: state.reload,
478
478
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
479
479
  });
480
480
  }));
481
- var node10 = makeLocationNode({
482
- service: Service8,
483
- layer: layer7,
484
- deps: [node78, node88, node89, llmClient2, node66, node40, node53]
481
+ var node7 = makeLocationNode({
482
+ service: Service5,
483
+ layer: layer6,
484
+ deps: [node59, node88, node89, llmClient2, node76, node38, node47]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
686
686
  return 0;
687
687
  };
688
688
 
689
- export { Service8, buildPrompt2, layer7, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
689
+ export { Service5, buildPrompt2, layer6, node7, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID9
3
- } from "./formatter-hk61fc81.js";
2
+ ID13
3
+ } from "./websearch-hwf1xm3p.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./formatter-gm3mawps.js";
6
+ } from "./websearch-bceny5qf.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID9.make("cloudflare-ai-gateway");
13
+ var providerID = ID13.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./formatter-db8hvn5r.js";
4
+ } from "./websearch-z1ajk4qq.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./formatter-es1vcfrp.js";
8
+ } from "./websearch-es1vcfrp.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load5
12
- } from "./formatter-enarwepj.js";
11
+ load4
12
+ } from "./websearch-nf90gmgp.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./formatter-3nz0bd4c.js";
15
+ } from "./websearch-2d0p9y9z.js";
16
16
  import {
17
17
  __export
18
- } from "./formatter-9rqn6x4v.js";
18
+ } from "./websearch-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput4,
24
- Service: () => Service72,
24
+ Service: () => Service52,
25
25
  SessionStore: () => exports_store,
26
- node: () => node76
26
+ node: () => node54
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service72 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service52 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service72, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
58
58
  const { db } = yield* Service85;
59
- return Service72.of({
59
+ return Service52.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [node89] });
128
+ var node54 = makeGlobalNode({ service: Service52, layer, deps: [node89] });
129
129
 
130
- export { ListInput4, Service72, node76, exports_store };
130
+ export { ListInput4, Service52, node54, exports_store };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./formatter-jcp3whqs.js";
4
+ } from "./websearch-hcpf260s.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  External2,
8
- Service66,
9
- node70
10
- } from "./formatter-n9a6feh5.js";
8
+ Service77,
9
+ node80
10
+ } from "./websearch-dhewa6g3.js";
11
11
  import {
12
12
  create3
13
- } from "./formatter-rdw6cm16.js";
13
+ } from "./websearch-rdw6cm16.js";
14
14
  import {
15
15
  key2
16
- } from "./formatter-zw2hpfmh.js";
16
+ } from "./websearch-addxnjmp.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./formatter-tbk04f64.js";
20
+ } from "./websearch-zsmwbbvy.js";
21
21
  import {
22
22
  __export
23
- } from "./formatter-9rqn6x4v.js";
23
+ } from "./websearch-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -35,18 +35,18 @@ __export(exports_integration, {
35
35
  CommandAttemptStatus: () => CommandAttemptStatus2,
36
36
  CommandMethod: () => CommandMethod2,
37
37
  EnvMethod: () => EnvMethod2,
38
- Event: () => Event13,
38
+ Event: () => Event18,
39
39
  ExternalMethod: () => ExternalMethod2,
40
- ID: () => ID10,
41
- Info: () => Info17,
40
+ ID: () => ID14,
41
+ Info: () => Info23,
42
42
  Integration: () => exports_integration,
43
43
  KeyMethod: () => KeyMethod2,
44
44
  Method: () => Method2,
45
45
  MethodID: () => MethodID2,
46
46
  OAuthMethod: () => OAuthMethod2,
47
47
  Ref: () => Ref3,
48
- Service: () => Service65,
49
- node: () => node69
48
+ Service: () => Service75,
49
+ node: () => node78
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -68,8 +68,8 @@ import {
68
68
  import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/process";
71
- import { Event as Event13 } from "@opencode/schema/integration";
72
- var ID10 = Integration.ID;
71
+ import { Event as Event18 } from "@opencode/schema/integration";
72
+ var ID14 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
75
75
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
78
78
  var ExternalMethod2 = Integration.ExternalMethod;
79
79
  var EnvMethod2 = Integration.EnvMethod;
80
80
  var Method2 = Integration.Method;
81
- var Info17 = Integration.Info;
81
+ var Info23 = Integration.Info;
82
82
  var Attempt2 = Integration.Attempt;
83
83
  var AttemptStatus2 = Integration.AttemptStatus;
84
84
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
101
101
  }
102
102
 
103
103
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
104
- integrationID: ID10,
104
+ integrationID: ID14,
105
105
  attemptID: AttemptID2
106
106
  }) {
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service65 extends Context.Service()("@opencode/Integration") {
110
+ class Service75 extends Context.Service()("@opencode/Integration") {
111
111
  }
112
112
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
- var layer = Layer.effect(Service65, Effect.gen(function* () {
116
- const credentials = yield* Service66;
115
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
116
+ const credentials = yield* Service77;
117
117
  const bus = yield* Service84;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
214
214
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
215
215
  return [...credentials, ...env];
216
216
  };
217
- const project = (entry, connections) => Info17.make({
217
+ const project = (entry, connections) => Info23.make({
218
218
  id: entry.ref.id,
219
219
  name: entry.ref.name,
220
220
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
301
301
  const persistence = yield* createCredential({
302
302
  integrationID: attempt.integrationID,
303
303
  label: attempt.label,
304
- value: Key3.make({ type: "key", key: exit.value })
304
+ value: Key4.make({ type: "key", key: exit.value })
305
305
  }).pipe(Effect.asVoid, Effect.exit);
306
306
  const settledAt = yield* Clock.currentTimeMillis;
307
307
  const terminal = Exit.isSuccess(persistence) ? {
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
447
447
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
448
448
  return CommandAttempt2.make({ attemptID, time });
449
449
  });
450
- return Service65.of({
450
+ return Service75.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
469
469
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
470
470
  if (connection.type === "env") {
471
471
  const key = process.env[connection.name];
472
- return key ? Key3.make({ type: "key", key }) : undefined;
472
+ return key ? Key4.make({ type: "key", key }) : undefined;
473
473
  }
474
474
  const credential = yield* credentials.get(connection.id);
475
475
  if (!credential)
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
502
502
  yield* createCredential({
503
503
  integrationID: input.integrationID,
504
504
  label: input.label,
505
- value: Key3.make({
505
+ value: Key4.make({
506
506
  type: "key",
507
507
  key: input.key,
508
508
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node69 = makeLocationNode({
633
- service: Service65,
632
+ var node78 = makeLocationNode({
633
+ service: Service75,
634
634
  layer,
635
- deps: [node70, node88, AppProcess.node]
635
+ deps: [node80, node88, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info17, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service65, node69, exports_integration, Event13 };
638
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node78, exports_integration, Event18 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./formatter-zv6nfkan.js";
4
+ } from "./websearch-9kjtg0w1.js";
5
5
  import {
6
6
  __export
7
- } from "./formatter-9rqn6x4v.js";
7
+ } from "./websearch-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service63,
3
- node67
4
- } from "./formatter-6q1fk26j.js";
2
+ Service56,
3
+ node58
4
+ } from "./websearch-rfm1wj6s.js";
5
5
  import {
6
- Service29,
7
- node32
8
- } from "./formatter-9a161wge.js";
6
+ Service28,
7
+ node31
8
+ } from "./websearch-wjwc91bs.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./formatter-6xb47vfp.js";
12
+ } from "./websearch-6xb47vfp.js";
13
13
  import {
14
14
  __export
15
- } from "./formatter-9rqn6x4v.js";
15
+ } from "./websearch-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service11,
20
+ Service: () => Service10,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node13
22
+ node: () => node12
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service11 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service10 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service29;
30
- const jobs = yield* Service63;
29
+ const sessions = yield* Service28;
30
+ const jobs = yield* Service56;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service11.of({
45
+ return Service10.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node13 = Node.makeGlobalNode({
68
- service: Service11,
69
- layer: Layer.effect(Service11, make),
70
- deps: [node32, node67]
67
+ var node12 = Node.makeGlobalNode({
68
+ service: Service10,
69
+ layer: Layer.effect(Service10, make),
70
+ deps: [node31, node58]
71
71
  });
72
72
 
73
- export { Service11, node13, exports_subagent_job };
73
+ export { Service10, node12, exports_subagent_job };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./formatter-jcp3whqs.js";
4
+ } from "./websearch-hcpf260s.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./formatter-refxa0t0.js";
8
+ } from "./websearch-pax1sq1c.js";
9
9
  import {
10
- Service56,
10
+ Service69,
11
11
  login2,
12
- node59
13
- } from "./formatter-0n6pyt17.js";
12
+ node72
13
+ } from "./websearch-w79y3adg.js";
14
14
  import {
15
15
  lazy2
16
- } from "./formatter-88xbtdfr.js";
16
+ } from "./websearch-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./formatter-9rqn6x4v.js";
19
+ } from "./websearch-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
@@ -28,9 +28,9 @@ __export(exports_pty, {
28
28
  Info: () => Info2,
29
29
  NotFoundError: () => NotFoundError2,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service15,
31
+ Service: () => Service14,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node17
33
+ node: () => node16
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
@@ -54,12 +54,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service15 extends Context.Service()("@opencode/Pty") {
57
+ class Service14 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service15, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
60
60
  const bus = yield* Service84;
61
61
  const location = yield* Service81;
62
- const shell = yield* Service56;
62
+ const shell = yield* Service69;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service15.of({ list, get, create, update, remove, write, attach });
270
+ return Service14.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node17 = makeLocationNode({
273
- service: Service15,
272
+ var node16 = makeLocationNode({
273
+ service: Service14,
274
274
  layer,
275
- deps: [node88, node85, node59]
275
+ deps: [node88, node85, node72]
276
276
  });
277
277
 
278
- export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event2 };
278
+ export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./formatter-qfa1cgps.js";
3
+ } from "./websearch-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";