@opencode/core 0.0.0-beta-19381 → 0.0.0-beta-19419

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{ripgrep-rhjbct0v.js → mime-02a7j1yb.js} +4 -4
  9. package/dist/chunks/{ripgrep-g8jspvs5.js → mime-0a8nx4x7.js} +13 -9
  10. package/dist/chunks/{ripgrep-fsf0tb3g.js → mime-0bgf9fe6.js} +25 -25
  11. package/dist/chunks/{ripgrep-9r4w88hc.js → mime-0ddh214q.js} +16 -16
  12. package/dist/chunks/{ripgrep-9g5bfw8n.js → mime-0e2sbrgk.js} +29 -29
  13. package/dist/chunks/{ripgrep-3ddgt7af.js → mime-0egdssbc.js} +39 -39
  14. package/dist/chunks/{ripgrep-7z6zz8kn.js → mime-0n9gyfew.js} +4 -4
  15. package/dist/chunks/{ripgrep-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{ripgrep-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{ripgrep-xged7na4.js → mime-0q38mt5t.js} +5 -5
  18. package/dist/chunks/{ripgrep-ya4xqnab.js → mime-11zr91fq.js} +24 -24
  19. package/dist/chunks/{ripgrep-wx69xc2v.js → mime-13y3ez7k.js} +34 -34
  20. package/dist/chunks/{ripgrep-7yh4e7ss.js → mime-1bbkgx8g.js} +3 -3
  21. package/dist/chunks/{ripgrep-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{ripgrep-1dfhrqqs.js → mime-1eyaby9q.js} +9 -3
  23. package/dist/chunks/{ripgrep-d85tbr7r.js → mime-1k4qyr7g.js} +17 -17
  24. package/dist/chunks/{ripgrep-wm6gh047.js → mime-1pp8xbfm.js} +28 -28
  25. package/dist/chunks/{ripgrep-qfxnftan.js → mime-1rtd1a51.js} +17 -17
  26. package/dist/chunks/{ripgrep-31dz7cp4.js → mime-1wxb385z.js} +1 -1
  27. package/dist/chunks/{ripgrep-56gdpj1q.js → mime-1ygqh575.js} +9 -9
  28. package/dist/chunks/{ripgrep-21r38tys.js → mime-21r38tys.js} +1 -1
  29. package/dist/chunks/{ripgrep-6jxebzjh.js → mime-21x2v0p5.js} +32 -32
  30. package/dist/chunks/{ripgrep-3b1q5j1v.js → mime-23pqda6t.js} +5 -5
  31. package/dist/chunks/{ripgrep-j5208yae.js → mime-23sxaqwc.js} +6 -6
  32. package/dist/chunks/{ripgrep-2402vzrj.js → mime-2402vzrj.js} +1 -1
  33. package/dist/chunks/{ripgrep-mrngs3tk.js → mime-263cr94x.js} +37 -37
  34. package/dist/chunks/{ripgrep-ep1rz70n.js → mime-28555vz3.js} +26 -26
  35. package/dist/chunks/{ripgrep-z63w68vq.js → mime-29x78va6.js} +6 -6
  36. package/dist/chunks/{ripgrep-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{ripgrep-ec8389mk.js → mime-2evyaa68.js} +4 -4
  38. package/dist/chunks/{ripgrep-awqa4j6r.js → mime-2f35vdk7.js} +10 -10
  39. package/dist/chunks/{ripgrep-ca00p06f.js → mime-2gcap31n.js} +50 -50
  40. package/dist/chunks/{ripgrep-etq9z835.js → mime-2gfgcbzh.js} +2 -2
  41. package/dist/chunks/{ripgrep-1psq7yq3.js → mime-2h5epps5.js} +6 -6
  42. package/dist/chunks/{ripgrep-kfnz8wqc.js → mime-2q41p91w.js} +12 -12
  43. package/dist/chunks/{ripgrep-6e3xc085.js → mime-2t5kqt1k.js} +1 -1
  44. package/dist/chunks/{ripgrep-rg3k9syq.js → mime-39cv1g88.js} +4 -4
  45. package/dist/chunks/{ripgrep-fab8hzt3.js → mime-3amprz0f.js} +4 -4
  46. package/dist/chunks/{ripgrep-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{ripgrep-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{ripgrep-mjrzrfrb.js → mime-3jt9w4q0.js} +13 -13
  49. package/dist/chunks/{ripgrep-c8kn0e1j.js → mime-3mp8pt0x.js} +12 -12
  50. package/dist/chunks/{ripgrep-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{ripgrep-wk58jv74.js → mime-3tey5e4w.js} +10 -10
  52. package/dist/chunks/{ripgrep-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{ripgrep-20as3pn0.js → mime-3wvc1ncp.js} +45 -48
  54. package/dist/chunks/{ripgrep-a37fyb3j.js → mime-3zf9b344.js} +4 -4
  55. package/dist/chunks/{ripgrep-m54dcv1g.js → mime-3znnwrk0.js} +26 -25
  56. package/dist/chunks/{ripgrep-wmbs8tb3.js → mime-4ecwqft3.js} +87 -87
  57. package/dist/chunks/{ripgrep-c7fm68m0.js → mime-4hg443tm.js} +17 -17
  58. package/dist/chunks/{ripgrep-sv9bpgvh.js → mime-4mkcvr19.js} +5 -5
  59. package/dist/chunks/{ripgrep-80n2194z.js → mime-4qdk51ny.js} +41 -41
  60. package/dist/chunks/{ripgrep-a1tpkmh4.js → mime-4vcrnpx2.js} +13 -3
  61. package/dist/chunks/{ripgrep-e4pgevt3.js → mime-4xqs2w7b.js} +17 -17
  62. package/dist/chunks/{ripgrep-bxcskdh3.js → mime-4ynsrnbk.js} +20 -20
  63. package/dist/chunks/{ripgrep-q3hev8r4.js → mime-4zrw1ey2.js} +5 -3
  64. package/dist/chunks/{ripgrep-5daktx2q.js → mime-5daktx2q.js} +1 -1
  65. package/dist/chunks/{ripgrep-v8ch97zc.js → mime-5nsrms9d.js} +1 -1
  66. package/dist/chunks/{ripgrep-fewzy991.js → mime-5prtz2zp.js} +30 -30
  67. package/dist/chunks/{ripgrep-02wxma9h.js → mime-5ps71a92.js} +20 -20
  68. package/dist/chunks/{ripgrep-tek5ng0y.js → mime-5qy0qq0f.js} +18 -18
  69. package/dist/chunks/{ripgrep-x9p92xwv.js → mime-5rgkh6ng.js} +17 -17
  70. package/dist/chunks/{ripgrep-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{ripgrep-844ef7ks.js → mime-5xtgfte3.js} +8 -8
  72. package/dist/chunks/{ripgrep-4890d2ba.js → mime-5zwz8q23.js} +15 -14
  73. package/dist/chunks/{ripgrep-669tq793.js → mime-669tq793.js} +1 -1
  74. package/dist/chunks/{ripgrep-fxxh0p3a.js → mime-6b2vme4h.js} +2 -2
  75. package/dist/chunks/{ripgrep-kvqzzzem.js → mime-6csgaxec.js} +9 -9
  76. package/dist/chunks/{ripgrep-ht6mk1vy.js → mime-6e5hn325.js} +29 -29
  77. package/dist/chunks/{ripgrep-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{ripgrep-71q4at8m.js → mime-71q4at8m.js} +1 -1
  79. package/dist/chunks/{ripgrep-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{ripgrep-0jwsre1p.js → mime-7dqw4kz8.js} +5 -5
  81. package/dist/chunks/{ripgrep-zb8dnpk3.js → mime-7jpcrm6h.js} +8 -8
  82. package/dist/chunks/{ripgrep-50ztztte.js → mime-7krgh5xj.js} +11 -11
  83. package/dist/chunks/{ripgrep-52tre6wp.js → mime-7sek35zn.js} +32 -32
  84. package/dist/chunks/{ripgrep-resyjkwk.js → mime-7wtyjh8h.js} +41 -41
  85. package/dist/chunks/{ripgrep-4eetnmxa.js → mime-7xdwve5v.js} +3 -3
  86. package/dist/chunks/{ripgrep-7whvx7cs.js → mime-7y4hfxng.js} +10 -10
  87. package/dist/chunks/{ripgrep-ryr25ayn.js → mime-806j49yq.js} +4 -4
  88. package/dist/chunks/{ripgrep-jy16bfac.js → mime-83x6p9kd.js} +1 -1
  89. package/dist/chunks/{ripgrep-c0mv5cq0.js → mime-8azwg042.js} +5 -5
  90. package/dist/chunks/{ripgrep-6h3e8j5e.js → mime-8cd2h94e.js} +11 -11
  91. package/dist/chunks/{ripgrep-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{ripgrep-2stzc2h4.js → mime-8dgc1ynf.js} +45 -45
  93. package/dist/chunks/{ripgrep-dj2t23y0.js → mime-8p4f9s12.js} +2 -2
  94. package/dist/chunks/{ripgrep-btec747f.js → mime-8ryk0bb9.js} +5 -5
  95. package/dist/chunks/{ripgrep-atb1k4sq.js → mime-8sjdtssw.js} +24 -24
  96. package/dist/chunks/{ripgrep-e4hv03qr.js → mime-8zsmxnhb.js} +20 -20
  97. package/dist/chunks/{ripgrep-as33ahc0.js → mime-95wcbadv.js} +3 -3
  98. package/dist/chunks/{ripgrep-s3d361zp.js → mime-988ynk0k.js} +3 -3
  99. package/dist/chunks/{ripgrep-mn4bv945.js → mime-9cer4v2n.js} +18 -18
  100. package/dist/chunks/{ripgrep-ywjt7tq6.js → mime-9pm6y0s1.js} +8 -8
  101. package/dist/chunks/{ripgrep-3n2394pg.js → mime-9sh3bnfq.js} +9 -9
  102. package/dist/chunks/{ripgrep-5c4hm403.js → mime-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{ripgrep-kq4qnvrc.js → mime-a1zt0rvf.js} +25 -25
  104. package/dist/chunks/{ripgrep-fjmrr6sh.js → mime-a5gt7g2r.js} +5 -5
  105. package/dist/chunks/{ripgrep-v0rk1y30.js → mime-a8e6cjej.js} +7 -7
  106. package/dist/chunks/{ripgrep-aaet6srn.js → mime-aaet6srn.js} +2 -2
  107. package/dist/chunks/{ripgrep-7gvwkz6m.js → mime-af04s6ss.js} +5 -5
  108. package/dist/chunks/{ripgrep-2j7qy3p8.js → mime-aq3m41mm.js} +4 -4
  109. package/dist/chunks/{ripgrep-zj7nydea.js → mime-av3fccqd.js} +6 -6
  110. package/dist/chunks/{ripgrep-8rr9h0km.js → mime-awxqjzce.js} +11 -11
  111. package/dist/chunks/{ripgrep-t083vv5c.js → mime-b33nk6kn.js} +25 -23
  112. package/dist/chunks/{ripgrep-yq9pgtk6.js → mime-b69s27a6.js} +10 -10
  113. package/dist/chunks/{ripgrep-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{ripgrep-a2t11qfx.js → mime-bb9ege9n.js} +15 -15
  115. package/dist/chunks/{ripgrep-mfhfdr54.js → mime-bccb6npm.js} +4 -4
  116. package/dist/chunks/{ripgrep-d3f09xgd.js → mime-bty5rg6y.js} +10 -10
  117. package/dist/chunks/{ripgrep-gez7w0gg.js → mime-bwqere5e.js} +36 -36
  118. package/dist/chunks/{ripgrep-fcsv9ew2.js → mime-c3x6hdz3.js} +37 -37
  119. package/dist/chunks/{ripgrep-2d6j2h4j.js → mime-c7ecgrk6.js} +6 -6
  120. package/dist/chunks/{ripgrep-n5hw7tw3.js → mime-caw866h7.js} +44 -19
  121. package/dist/chunks/{ripgrep-m0jqrx5p.js → mime-cfpkc3c9.js} +2 -2
  122. package/dist/chunks/{ripgrep-9txjdh67.js → mime-cjkcyj3g.js} +9 -9
  123. package/dist/chunks/{ripgrep-0d2qkrjy.js → mime-d414zwqj.js} +4 -4
  124. package/dist/chunks/{ripgrep-2fbtx2rb.js → mime-d4mfdrq6.js} +43 -42
  125. package/dist/chunks/{ripgrep-wm98esrr.js → mime-d9g4k2aw.js} +6 -6
  126. package/dist/chunks/{ripgrep-by90618a.js → mime-db2vyhy0.js} +40 -40
  127. package/dist/chunks/{ripgrep-sfah34qq.js → mime-dbt2jb7m.js} +16 -16
  128. package/dist/chunks/{ripgrep-qa4rp7fn.js → mime-depwzj9d.js} +9 -9
  129. package/dist/chunks/{ripgrep-ep6z9mt6.js → mime-dhwr7h25.js} +11 -11
  130. package/dist/chunks/{ripgrep-3fzpdmpf.js → mime-dw3qxs43.js} +18 -18
  131. package/dist/chunks/{ripgrep-hvshqg9g.js → mime-e09f1gvr.js} +10 -10
  132. package/dist/chunks/{ripgrep-f7jct6gx.js → mime-e7ps77ar.js} +18 -17
  133. package/dist/chunks/{ripgrep-eye0aa55.js → mime-ebc8jb1d.js} +14 -14
  134. package/dist/chunks/{ripgrep-0ztccmq1.js → mime-eewpk6jb.js} +8 -8
  135. package/dist/chunks/{ripgrep-zfzzzsd1.js → mime-eff31b2h.js} +24 -24
  136. package/dist/chunks/{ripgrep-gvjndn77.js → mime-emts032f.js} +12 -12
  137. package/dist/chunks/{ripgrep-1ah30sey.js → mime-en74w496.js} +5 -5
  138. package/dist/chunks/{ripgrep-kx703q2s.js → mime-eq67g8tv.js} +26 -26
  139. package/dist/chunks/{ripgrep-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{ripgrep-ffatf9pa.js → mime-etxs3v4e.js} +6 -6
  141. package/dist/chunks/{ripgrep-tn0aqsam.js → mime-evbgk2k8.js} +5 -5
  142. package/dist/chunks/{ripgrep-egzrnntm.js → mime-ex105f0g.js} +7 -7
  143. package/dist/chunks/{ripgrep-tc6vzjsq.js → mime-ez804y10.js} +23 -23
  144. package/dist/chunks/{ripgrep-yp2x3t23.js → mime-f2n192rq.js} +4 -4
  145. package/dist/chunks/{ripgrep-hdnk95c8.js → mime-f828m53h.js} +2 -2
  146. package/dist/chunks/{ripgrep-y1ja9cm0.js → mime-fcnjm40w.js} +167 -167
  147. package/dist/chunks/{ripgrep-8eyq8xab.js → mime-fkgafzhm.js} +11 -11
  148. package/dist/chunks/{ripgrep-a3dh94hw.js → mime-fpgqbm61.js} +27 -26
  149. package/dist/chunks/{ripgrep-haj4pygx.js → mime-ftp331h4.js} +37 -37
  150. package/dist/chunks/{ripgrep-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{ripgrep-p235624p.js → mime-g2bcegda.js} +12 -12
  152. package/dist/chunks/{ripgrep-ynqmra9q.js → mime-g95x1rp7.js} +33 -33
  153. package/dist/chunks/{ripgrep-pdqsczmv.js → mime-g95z8t2a.js} +54 -54
  154. package/dist/chunks/{ripgrep-c769d21z.js → mime-ga6hqhxm.js} +9 -9
  155. package/dist/chunks/{ripgrep-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{ripgrep-j8xe2y08.js → mime-gfffwwn8.js} +10 -10
  157. package/dist/chunks/{ripgrep-8ykhp4ac.js → mime-gpfpyv44.js} +29 -29
  158. package/dist/chunks/{ripgrep-ddt2bs9e.js → mime-gst7axd9.js} +4 -4
  159. package/dist/chunks/{ripgrep-qmr73083.js → mime-gt0cxfk7.js} +1 -1
  160. package/dist/chunks/{ripgrep-qerr83y0.js → mime-gx2yqbrf.js} +22 -22
  161. package/dist/chunks/{ripgrep-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{ripgrep-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{ripgrep-7cbawamr.js → mime-h7f00xnw.js} +15 -15
  164. package/dist/chunks/{ripgrep-zgnck06n.js → mime-j1tqpjge.js} +8 -8
  165. package/dist/chunks/{ripgrep-j56e64zr.js → mime-j56e64zr.js} +1 -1
  166. package/dist/chunks/{ripgrep-paphc93g.js → mime-j935v87r.js} +2 -2
  167. package/dist/chunks/{ripgrep-jzm7scjc.js → mime-jb0k481j.js} +13 -13
  168. package/dist/chunks/{ripgrep-hj9fj50h.js → mime-jc28ky3p.js} +23 -23
  169. package/dist/chunks/{ripgrep-q6mfqnjt.js → mime-jhetwysa.js} +4 -28
  170. package/dist/chunks/{ripgrep-ncz5f2kx.js → mime-jj4txyk5.js} +41 -41
  171. package/dist/chunks/{ripgrep-qaed280k.js → mime-jj93sfwh.js} +11 -11
  172. package/dist/chunks/{ripgrep-ctjfg1hr.js → mime-jrrn2k62.js} +4 -4
  173. package/dist/chunks/{ripgrep-mqrms0tp.js → mime-k62eh0b0.js} +19 -18
  174. package/dist/chunks/{ripgrep-emfk09z3.js → mime-k7jm4f84.js} +13 -13
  175. package/dist/chunks/mime-ke91xv87.js +22 -0
  176. package/dist/chunks/{ripgrep-kg06axw8.js → mime-kg06axw8.js} +1 -1
  177. package/dist/chunks/{ripgrep-m9s8d3d3.js → mime-kj2znnrq.js} +17 -17
  178. package/dist/chunks/{ripgrep-t4sxm5c8.js → mime-ks5zvpf5.js} +22 -21
  179. package/dist/chunks/{ripgrep-02vzrq4v.js → mime-ksxmc9x1.js} +19 -19
  180. package/dist/chunks/{ripgrep-smrq66nq.js → mime-m68nj7r9.js} +17 -17
  181. package/dist/chunks/{ripgrep-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{ripgrep-6kcarc2j.js → mime-mjvjnw4h.js} +9 -9
  183. package/dist/chunks/{ripgrep-mkcjrzeh.js → mime-mkcjrzeh.js} +1 -1
  184. package/dist/chunks/{ripgrep-9f12xdp3.js → mime-mnf23ea4.js} +22 -22
  185. package/dist/chunks/{ripgrep-hwcsphzk.js → mime-mr2v9wf4.js} +24 -24
  186. package/dist/chunks/{ripgrep-29c8gkgr.js → mime-mtk5ndsr.js} +16 -16
  187. package/dist/chunks/{ripgrep-nh837eg3.js → mime-n5kwx7gq.js} +4 -4
  188. package/dist/chunks/{ripgrep-wt7k4asa.js → mime-n5xbayh6.js} +25 -25
  189. package/dist/chunks/{ripgrep-zerdtc7d.js → mime-nhvhf6q8.js} +6 -6
  190. package/dist/chunks/{ripgrep-hjt4xg1x.js → mime-nhy5jxhy.js} +4 -4
  191. package/dist/chunks/{ripgrep-hgyqz33r.js → mime-nrywpzpw.js} +31 -31
  192. package/dist/chunks/{ripgrep-afbcmxhy.js → mime-nvv6ksyw.js} +11 -11
  193. package/dist/chunks/{ripgrep-sjhz9xyn.js → mime-nwdm76cq.js} +10 -10
  194. package/dist/chunks/{ripgrep-qpprd5ad.js → mime-nzwzy72p.js} +9 -9
  195. package/dist/chunks/{ripgrep-pa3883ab.js → mime-p20t4hgc.js} +4 -4
  196. package/dist/chunks/{ripgrep-brwkg70z.js → mime-p457xpe5.js} +24 -24
  197. package/dist/chunks/{ripgrep-teteq0qc.js → mime-pcfbqvzv.js} +18 -18
  198. package/dist/chunks/{ripgrep-ddb4hmaq.js → mime-pepxxxk4.js} +15 -15
  199. package/dist/chunks/mime-pf31ssb9.js +18 -0
  200. package/dist/chunks/{ripgrep-a7j8tqav.js → mime-ph4vew0r.js} +17 -17
  201. package/dist/chunks/{ripgrep-5gjh7yps.js → mime-pjbf9ctw.js} +20 -20
  202. package/dist/chunks/{ripgrep-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{ripgrep-pknna89w.js → mime-pknna89w.js} +1 -1
  204. package/dist/chunks/{ripgrep-m86bnw2c.js → mime-pnv527nz.js} +5 -5
  205. package/dist/chunks/{ripgrep-hds8kbqn.js → mime-ptx1re91.js} +14 -14
  206. package/dist/chunks/{ripgrep-y9wxxghe.js → mime-pysvbzwn.js} +11 -11
  207. package/dist/chunks/{ripgrep-yxam8y99.js → mime-q5qz823n.js} +23 -6
  208. package/dist/chunks/{ripgrep-ycnbnhj5.js → mime-q8yqvf1x.js} +46 -46
  209. package/dist/chunks/{ripgrep-a5tp4yjy.js → mime-q91m3jje.js} +24 -24
  210. package/dist/chunks/{ripgrep-j7pvfhjt.js → mime-qas58w1m.js} +17 -17
  211. package/dist/chunks/{ripgrep-zcqf6png.js → mime-qfzde7bh.js} +6 -6
  212. package/dist/chunks/{ripgrep-qsdy395h.js → mime-qsdy395h.js} +1 -1
  213. package/dist/chunks/{ripgrep-bj2cfy38.js → mime-qtz3a6jv.js} +18 -18
  214. package/dist/chunks/{ripgrep-7s6v6vsj.js → mime-qzrpvtg4.js} +24 -24
  215. package/dist/chunks/{ripgrep-4ayvwj3v.js → mime-r8h10sqf.js} +14 -14
  216. package/dist/chunks/{ripgrep-h4yb03sr.js → mime-raesbxmz.js} +17 -17
  217. package/dist/chunks/{ripgrep-08rsf5c2.js → mime-raswn23k.js} +6 -6
  218. package/dist/chunks/{ripgrep-81swgkk7.js → mime-rk0rec3h.js} +9 -9
  219. package/dist/chunks/{ripgrep-zh9nb1mr.js → mime-rqb94c9k.js} +32 -32
  220. package/dist/chunks/{ripgrep-wpm2rk0p.js → mime-rqcbxq1a.js} +8 -8
  221. package/dist/chunks/{ripgrep-gmg4hxzv.js → mime-rwgm3mzx.js} +18 -18
  222. package/dist/chunks/{ripgrep-yrznvahk.js → mime-s4enseaf.js} +2 -2
  223. package/dist/chunks/{ripgrep-r8452npv.js → mime-sgcz6c7m.js} +6 -6
  224. package/dist/chunks/{ripgrep-w4jw514d.js → mime-sgfkh1bp.js} +4 -4
  225. package/dist/chunks/{ripgrep-3krnmj08.js → mime-sqbb1ame.js} +74 -74
  226. package/dist/chunks/{ripgrep-52vg5n1p.js → mime-ss0w00xq.js} +33 -33
  227. package/dist/chunks/{ripgrep-39r80e1r.js → mime-t23qze4t.js} +1 -1
  228. package/dist/chunks/{ripgrep-jnj6t7er.js → mime-t63dq77n.js} +290 -290
  229. package/dist/chunks/{ripgrep-f9bavhm2.js → mime-t8mcaem5.js} +1 -1
  230. package/dist/chunks/{ripgrep-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{ripgrep-89znhe33.js → mime-tcezcvh9.js} +4 -4
  232. package/dist/chunks/{ripgrep-tdstcens.js → mime-tdstcens.js} +1 -1
  233. package/dist/chunks/{ripgrep-gv6a8nnw.js → mime-th5km1p3.js} +5 -5
  234. package/dist/chunks/{ripgrep-seydh4nr.js → mime-trnmv04k.js} +7 -7
  235. package/dist/chunks/{ripgrep-xnnv5aca.js → mime-trt080zq.js} +11 -11
  236. package/dist/chunks/{ripgrep-tvtrv512.js → mime-tvtrv512.js} +1 -1
  237. package/dist/chunks/{ripgrep-q5pbp2gz.js → mime-tw1xqvj0.js} +15 -15
  238. package/dist/chunks/{ripgrep-wy90n05w.js → mime-v066hq9k.js} +23 -23
  239. package/dist/chunks/{ripgrep-0bqp4044.js → mime-v6wgkvby.js} +16 -16
  240. package/dist/chunks/{ripgrep-m59gvg9q.js → mime-v9c0yk75.js} +20 -20
  241. package/dist/chunks/{ripgrep-7xy84fyg.js → mime-vac3gahf.js} +7 -7
  242. package/dist/chunks/{ripgrep-q1a7cndp.js → mime-vbedh2fb.js} +8 -8
  243. package/dist/chunks/{ripgrep-ve4pfa0n.js → mime-ve4pfa0n.js} +1 -1
  244. package/dist/chunks/{ripgrep-veqvce7d.js → mime-veqvce7d.js} +1 -1
  245. package/dist/chunks/{ripgrep-5x18cq5v.js → mime-vqm5846v.js} +20 -20
  246. package/dist/chunks/{ripgrep-magykp64.js → mime-vsp1fds9.js} +21 -21
  247. package/dist/chunks/{ripgrep-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{ripgrep-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{ripgrep-4c2df9zx.js → mime-w49382pb.js} +8 -8
  250. package/dist/chunks/{ripgrep-6a8fxjwh.js → mime-w4ry6v67.js} +15 -15
  251. package/dist/chunks/{ripgrep-e6hmchc5.js → mime-wbkyxrgf.js} +5 -5
  252. package/dist/chunks/{ripgrep-wd87259q.js → mime-wd87259q.js} +1 -1
  253. package/dist/chunks/{ripgrep-3sxvqcgp.js → mime-wk6ejfve.js} +83 -83
  254. package/dist/chunks/mime-wrph251t.js +260 -0
  255. package/dist/chunks/{ripgrep-1v7ta698.js → mime-wy6y1t1e.js} +11 -11
  256. package/dist/chunks/{ripgrep-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{ripgrep-b0sam31v.js → mime-x2xrmj38.js} +11 -11
  258. package/dist/chunks/{ripgrep-a2kk223a.js → mime-x3f1r9fb.js} +46 -46
  259. package/dist/chunks/{ripgrep-x43y2vfs.js → mime-x43y2vfs.js} +2 -2
  260. package/dist/chunks/{ripgrep-rnnepbab.js → mime-xbektcpe.js} +9 -9
  261. package/dist/chunks/{ripgrep-q4bhxwf1.js → mime-xmvnw2y2.js} +6 -6
  262. package/dist/chunks/{ripgrep-r198awpg.js → mime-xnx3yphe.js} +17 -17
  263. package/dist/chunks/{ripgrep-6nkhkk13.js → mime-xnxgv7d0.js} +24 -24
  264. package/dist/chunks/{ripgrep-70vwcewg.js → mime-xqxzstc2.js} +20 -20
  265. package/dist/chunks/mime-xrsqh21y.js +4 -0
  266. package/dist/chunks/{ripgrep-5aveev3e.js → mime-xw855dvr.js} +5 -5
  267. package/dist/chunks/{ripgrep-pxt4kznk.js → mime-xxynqx5z.js} +3 -3
  268. package/dist/chunks/{ripgrep-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{ripgrep-bz3gfsg9.js → mime-y2vyg5am.js} +9 -9
  270. package/dist/chunks/{ripgrep-f6p1bxgw.js → mime-y4bv9z8t.js} +9 -9
  271. package/dist/chunks/{ripgrep-scqgp3m4.js → mime-y6r7tp3a.js} +3 -3
  272. package/dist/chunks/{ripgrep-y71avatq.js → mime-y71avatq.js} +1 -1
  273. package/dist/chunks/{ripgrep-30hc21n9.js → mime-y9rm29sj.js} +13 -13
  274. package/dist/chunks/mime-ycmhfh0q.js +247 -0
  275. package/dist/chunks/{ripgrep-qbhwwr14.js → mime-ym5c4crg.js} +25 -25
  276. package/dist/chunks/{ripgrep-wg38wxpd.js → mime-yndz2tmv.js} +23 -23
  277. package/dist/chunks/{ripgrep-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{ripgrep-v18p0m5c.js → mime-yteqj4qp.js} +11 -11
  279. package/dist/chunks/{ripgrep-a94v7mat.js → mime-yvmq8qxx.js} +12 -12
  280. package/dist/chunks/{ripgrep-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{ripgrep-b00bre06.js → mime-z10kvaap.js} +52 -52
  282. package/dist/chunks/{ripgrep-9w9dfj1g.js → mime-z7rmcad6.js} +47 -47
  283. package/dist/chunks/{ripgrep-ed25785e.js → mime-zb35j76j.js} +20 -20
  284. package/dist/chunks/{ripgrep-dwq6ryhm.js → mime-ze5v0a14.js} +5 -5
  285. package/dist/chunks/{ripgrep-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{ripgrep-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{ripgrep-rhrhnb2s.js → mime-zrw1v1rz.js} +30 -30
  288. package/dist/chunks/{ripgrep-9knsa76r.js → mime-zt7bfs1h.js} +20 -20
  289. package/dist/chunks/{ripgrep-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{ripgrep-5jtdmvnp.js → mime-zxwpk2nb.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +75 -75
  295. package/dist/config/discovery.js +79 -79
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +19 -19
  298. package/dist/config/plugin/agent.js +117 -117
  299. package/dist/config/plugin/command.js +209 -209
  300. package/dist/config/plugin/compaction.js +155 -155
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +115 -115
  304. package/dist/config/plugin/instruction.js +85 -85
  305. package/dist/config/plugin/location-watcher.js +115 -115
  306. package/dist/config/plugin/mcp.js +126 -126
  307. package/dist/config/plugin/policy.js +114 -114
  308. package/dist/config/plugin/provider.js +113 -113
  309. package/dist/config/plugin/reference.js +117 -117
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +97 -97
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +115 -115
  314. package/dist/config/plugin/source.js +115 -115
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +81 -81
  323. package/dist/database/database.js +64 -64
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration.gen.js +47 -47
  387. package/dist/database/migration.js +49 -49
  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 +74 -74
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +362 -362
  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 +88 -88
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +90 -90
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +68 -68
  411. package/dist/file-access.js +99 -99
  412. package/dist/file-mutation.js +89 -89
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.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/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +4 -4
  421. package/dist/filesystem/location-watcher.js +216 -216
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +99 -99
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +100 -100
  427. package/dist/form.js +82 -82
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +82 -82
  430. package/dist/generate.js +89 -89
  431. package/dist/git.js +7 -7
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +7 -7
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +353 -353
  456. package/dist/instruction-discovery.js +83 -83
  457. package/dist/instructions/builtins.js +82 -82
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +86 -86
  461. package/dist/job.js +77 -77
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +71 -71
  464. package/dist/location-activity.js +130 -130
  465. package/dist/location-mutation.js +99 -99
  466. package/dist/location-service-map.js +83 -83
  467. package/dist/location-services.js +350 -350
  468. package/dist/location.js +84 -84
  469. package/dist/mcp/client.js +86 -86
  470. package/dist/mcp/index.js +103 -103
  471. package/dist/mcp/instructions.js +122 -122
  472. package/dist/mcp/oauth.js +3 -3
  473. package/dist/mcp/stdio.js +85 -85
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +7 -7
  476. package/dist/model-resolver.js +86 -86
  477. package/dist/model.js +8 -8
  478. package/dist/models-dev.js +86 -86
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +80 -80
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +108 -108
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +84 -84
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +73 -73
  488. package/dist/plugin/agent.js +99 -99
  489. package/dist/plugin/command.js +96 -96
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +213 -213
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +324 -324
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +75 -75
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +97 -97
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +3 -5
  502. package/dist/plugin/provider/anthropic.js +2 -2
  503. package/dist/plugin/provider/azure.js +118 -118
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +114 -114
  509. package/dist/plugin/provider/digitalocean.js +79 -79
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +80 -80
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +117 -117
  519. package/dist/plugin/provider/mistral.js +2 -2
  520. package/dist/plugin/provider/modal.js +79 -79
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +117 -117
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +80 -80
  525. package/dist/plugin/provider/opencode.js +79 -79
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +76 -76
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  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/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +117 -117
  535. package/dist/plugin/provider/xai.js +77 -77
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +158 -158
  538. package/dist/plugin/sdk.js +74 -74
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +133 -133
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +343 -343
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +82 -82
  546. package/dist/plugin/vcs/hg.js +82 -82
  547. package/dist/plugin/warming.js +112 -112
  548. package/dist/plugin/websearch/exa.js +5 -5
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +8 -8
  551. package/dist/plugin/websearch/mcp.js +6 -6
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +85 -85
  558. package/dist/provider.js +5 -5
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +92 -92
  563. package/dist/reference/instructions.js +84 -84
  564. package/dist/reference.js +84 -84
  565. package/dist/repository-cache.js +76 -76
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +93 -93
  569. package/dist/rpc.js +81 -81
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +72 -72
  572. package/dist/session/compaction.js +127 -127
  573. package/dist/session/context.js +147 -147
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +216 -216
  578. package/dist/session/execution.js +124 -124
  579. package/dist/session/generate.js +146 -146
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +82 -82
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +77 -77
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +88 -88
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +113 -113
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +126 -126
  591. package/dist/session/projector.js +84 -84
  592. package/dist/session/prompt.js +100 -100
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +85 -85
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +225 -225
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +86 -86
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +110 -110
  602. package/dist/session/runner/step.js +121 -121
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +169 -169
  606. package/dist/session/shell.js +131 -131
  607. package/dist/session/skill.js +98 -98
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +71 -71
  610. package/dist/session/store.js +85 -85
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +205 -205
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +151 -151
  615. package/dist/session/to-session-error.js +107 -107
  616. package/dist/session/transfer.js +212 -212
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +211 -211
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +133 -133
  624. package/dist/skill/discovery.js +4 -4
  625. package/dist/skill/instructions.js +100 -100
  626. package/dist/skill.js +105 -105
  627. package/dist/snapshot.js +88 -88
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +121 -121
  632. package/dist/tool/plugin/edit.js +115 -115
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +120 -120
  635. package/dist/tool/plugin/grep.js +120 -120
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +109 -109
  638. package/dist/tool/plugin/question.js +98 -98
  639. package/dist/tool/plugin/read.js +121 -121
  640. package/dist/tool/plugin/shell.js +212 -212
  641. package/dist/tool/plugin/skill.js +106 -106
  642. package/dist/tool/plugin/subagent.js +214 -214
  643. package/dist/tool/plugin/webfetch.js +107 -107
  644. package/dist/tool/plugin/websearch.js +109 -109
  645. package/dist/tool/plugin/write.js +115 -115
  646. package/dist/tool/read-filesystem.js +96 -96
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +15 -15
  650. package/dist/types/model-resolver.d.ts +2 -0
  651. package/dist/types/model.d.ts +1 -0
  652. package/dist/types/plugin/provider/amazon-bedrock.d.ts +0 -1
  653. package/dist/types/provider.d.ts +1 -0
  654. package/dist/types/session/compaction.d.ts +2 -2
  655. package/dist/types/session/context.d.ts +1 -1
  656. package/dist/types/session/history.d.ts +80 -0
  657. package/dist/types/session/model-request.d.ts +18 -37
  658. package/dist/types/session/runner/model.d.ts +1 -0
  659. package/dist/types/session/runner/step.d.ts +1 -1
  660. package/dist/types/session/transfer.d.ts +44 -0
  661. package/dist/types/v1/config/migrate.d.ts +2 -0
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/error.js +1 -1
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +7 -7
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +3 -3
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +4 -4
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +4 -4
  680. package/dist/v1/config/permission.js +7 -7
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +1 -1
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +85 -85
  689. package/dist/websearch.js +80 -80
  690. package/dist/wellknown/plugin.js +74 -74
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +7 -7
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +78 -78
  695. package/dist/worktree/directory.js +4 -4
  696. package/dist/worktree/git.js +7 -7
  697. package/dist/worktree/refresh.js +340 -340
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree.js +89 -89
  700. package/package.json +8 -8
  701. package/dist/chunks/ripgrep-0mesazry.js +0 -4
  702. package/dist/chunks/ripgrep-2rkkddv9.js +0 -22
  703. package/dist/chunks/ripgrep-9sh4wc5j.js +0 -18
  704. package/dist/chunks/ripgrep-krvjrxqy.js +0 -272
  705. package/dist/chunks/ripgrep-psscsn3t.js +0 -247
  706. /package/dist/chunks/{ripgrep-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{ripgrep-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{ripgrep-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{ripgrep-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{ripgrep-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{ripgrep-2710q6r3.js → mime-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{ripgrep-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{ripgrep-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{ripgrep-359p4xyc.js → mime-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{ripgrep-3asan66x.js → mime-3asan66x.js} +0 -0
  716. /package/dist/chunks/{ripgrep-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{ripgrep-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{ripgrep-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{ripgrep-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{ripgrep-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{ripgrep-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{ripgrep-53557ph1.js → mime-53557ph1.js} +0 -0
  723. /package/dist/chunks/{ripgrep-550bvhaj.js → mime-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{ripgrep-6prwharc.js → mime-6prwharc.js} +0 -0
  725. /package/dist/chunks/{ripgrep-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{ripgrep-7m9af43g.js → mime-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{ripgrep-822emrt2.js → mime-822emrt2.js} +0 -0
  728. /package/dist/chunks/{ripgrep-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{ripgrep-8n3pysct.js → mime-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{ripgrep-922hggd3.js → mime-922hggd3.js} +0 -0
  731. /package/dist/chunks/{ripgrep-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{ripgrep-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{ripgrep-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{ripgrep-af5trqkr.js → mime-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{ripgrep-afrmfg78.js → mime-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{ripgrep-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{ripgrep-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{ripgrep-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{ripgrep-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{ripgrep-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{ripgrep-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{ripgrep-d9fn303g.js → mime-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{ripgrep-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{ripgrep-dajrwvna.js → mime-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{ripgrep-dap0rakb.js → mime-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{ripgrep-df08tz66.js → mime-df08tz66.js} +0 -0
  747. /package/dist/chunks/{ripgrep-dy18nga0.js → mime-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{ripgrep-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{ripgrep-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{ripgrep-ec1grn59.js → mime-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{ripgrep-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{ripgrep-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{ripgrep-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{ripgrep-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{ripgrep-faypxj3z.js → mime-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{ripgrep-fd410y7t.js → mime-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{ripgrep-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{ripgrep-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{ripgrep-g86h250q.js → mime-g86h250q.js} +0 -0
  760. /package/dist/chunks/{ripgrep-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{ripgrep-gftt206x.js → mime-gftt206x.js} +0 -0
  762. /package/dist/chunks/{ripgrep-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{ripgrep-hk9envan.js → mime-hk9envan.js} +0 -0
  764. /package/dist/chunks/{ripgrep-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
  765. /package/dist/chunks/{ripgrep-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{ripgrep-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{ripgrep-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{ripgrep-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{ripgrep-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{ripgrep-mp448xyj.js → mime-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{ripgrep-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{ripgrep-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{ripgrep-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{ripgrep-njntx4h6.js → mime-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{ripgrep-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{ripgrep-q74kybfr.js → mime-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{ripgrep-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{ripgrep-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{ripgrep-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{ripgrep-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{ripgrep-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{ripgrep-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{ripgrep-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{ripgrep-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{ripgrep-twg0f83k.js → mime-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{ripgrep-w803qqfp.js → mime-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{ripgrep-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{ripgrep-wtztk69x.js → mime-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{ripgrep-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{ripgrep-x61499pn.js → mime-x61499pn.js} +0 -0
  791. /package/dist/chunks/{ripgrep-y44na4kk.js → mime-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{ripgrep-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{ripgrep-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{ripgrep-ym463w8f.js → mime-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{ripgrep-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -343,6 +343,7 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
343
343
  readonly metadata?: {
344
344
  readonly [x: string]: unknown;
345
345
  } | undefined;
346
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
346
347
  readonly model?: {
347
348
  readonly id: string & import("effect/Brand").Brand<"Model.ID">;
348
349
  readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -351,6 +352,15 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
351
352
  readonly providerState?: {
352
353
  readonly [x: string]: unknown;
353
354
  } | undefined;
355
+ readonly tokens?: {
356
+ readonly input: number;
357
+ readonly output: number;
358
+ readonly reasoning: number;
359
+ readonly cache: {
360
+ readonly read: number;
361
+ readonly write: number;
362
+ };
363
+ } | undefined;
354
364
  readonly providerContext?: {
355
365
  readonly version: 1;
356
366
  readonly provenance: {
@@ -379,6 +389,16 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
379
389
  readonly metadata?: {
380
390
  readonly [x: string]: unknown;
381
391
  } | undefined;
392
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
393
+ readonly tokens?: {
394
+ readonly input: number;
395
+ readonly output: number;
396
+ readonly reasoning: number;
397
+ readonly cache: {
398
+ readonly read: number;
399
+ readonly write: number;
400
+ };
401
+ } | undefined;
382
402
  }, MessageDecodeError, never>;
383
403
  export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
384
404
  $client: import("effect/unstable/sql/SqlClient").SqlClient;
@@ -711,6 +731,7 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
711
731
  readonly metadata?: {
712
732
  readonly [x: string]: unknown;
713
733
  } | undefined;
734
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
714
735
  readonly model?: {
715
736
  readonly id: string & import("effect/Brand").Brand<"Model.ID">;
716
737
  readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -719,6 +740,15 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
719
740
  readonly providerState?: {
720
741
  readonly [x: string]: unknown;
721
742
  } | undefined;
743
+ readonly tokens?: {
744
+ readonly input: number;
745
+ readonly output: number;
746
+ readonly reasoning: number;
747
+ readonly cache: {
748
+ readonly read: number;
749
+ readonly write: number;
750
+ };
751
+ } | undefined;
722
752
  readonly providerContext?: {
723
753
  readonly version: 1;
724
754
  readonly provenance: {
@@ -747,6 +777,16 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
747
777
  readonly metadata?: {
748
778
  readonly [x: string]: unknown;
749
779
  } | undefined;
780
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
781
+ readonly tokens?: {
782
+ readonly input: number;
783
+ readonly output: number;
784
+ readonly reasoning: number;
785
+ readonly cache: {
786
+ readonly read: number;
787
+ readonly write: number;
788
+ };
789
+ } | undefined;
750
790
  })[], MessageDecodeError, never>;
751
791
  export declare const entriesForRunner: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
752
792
  $client: import("effect/unstable/sql/SqlClient").SqlClient;
@@ -1083,6 +1123,7 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
1083
1123
  readonly metadata?: {
1084
1124
  readonly [x: string]: unknown;
1085
1125
  } | undefined;
1126
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
1086
1127
  readonly model?: {
1087
1128
  readonly id: string & import("effect/Brand").Brand<"Model.ID">;
1088
1129
  readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -1091,6 +1132,15 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
1091
1132
  readonly providerState?: {
1092
1133
  readonly [x: string]: unknown;
1093
1134
  } | undefined;
1135
+ readonly tokens?: {
1136
+ readonly input: number;
1137
+ readonly output: number;
1138
+ readonly reasoning: number;
1139
+ readonly cache: {
1140
+ readonly read: number;
1141
+ readonly write: number;
1142
+ };
1143
+ } | undefined;
1094
1144
  readonly providerContext?: {
1095
1145
  readonly version: 1;
1096
1146
  readonly provenance: {
@@ -1119,6 +1169,16 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
1119
1169
  readonly metadata?: {
1120
1170
  readonly [x: string]: unknown;
1121
1171
  } | undefined;
1172
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
1173
+ readonly tokens?: {
1174
+ readonly input: number;
1175
+ readonly output: number;
1176
+ readonly reasoning: number;
1177
+ readonly cache: {
1178
+ readonly read: number;
1179
+ readonly write: number;
1180
+ };
1181
+ } | undefined;
1122
1182
  };
1123
1183
  }[];
1124
1184
  }, never, never>;
@@ -1455,6 +1515,7 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
1455
1515
  readonly metadata?: {
1456
1516
  readonly [x: string]: unknown;
1457
1517
  } | undefined;
1518
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
1458
1519
  readonly model?: {
1459
1520
  readonly id: string & import("effect/Brand").Brand<"Model.ID">;
1460
1521
  readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -1463,6 +1524,15 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
1463
1524
  readonly providerState?: {
1464
1525
  readonly [x: string]: unknown;
1465
1526
  } | undefined;
1527
+ readonly tokens?: {
1528
+ readonly input: number;
1529
+ readonly output: number;
1530
+ readonly reasoning: number;
1531
+ readonly cache: {
1532
+ readonly read: number;
1533
+ readonly write: number;
1534
+ };
1535
+ } | undefined;
1466
1536
  readonly providerContext?: {
1467
1537
  readonly version: 1;
1468
1538
  readonly provenance: {
@@ -1491,6 +1561,16 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
1491
1561
  readonly metadata?: {
1492
1562
  readonly [x: string]: unknown;
1493
1563
  } | undefined;
1564
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
1565
+ readonly tokens?: {
1566
+ readonly input: number;
1567
+ readonly output: number;
1568
+ readonly reasoning: number;
1569
+ readonly cache: {
1570
+ readonly read: number;
1571
+ readonly write: number;
1572
+ };
1573
+ } | undefined;
1494
1574
  })[];
1495
1575
  instructionUpdate: string;
1496
1576
  }, Instructions.InitializationBlocked, never>;
@@ -1,7 +1,7 @@
1
1
  export * as SessionModelRequest from "./model-request.js";
2
2
  import { LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
3
3
  import type { StreamOptions } from "@opencode/ai/route";
4
- import type { SessionRequestKind } from "@opencode/plugin/effect/session";
4
+ import type { SessionContext, SessionRequest, SessionTitle } from "@opencode/plugin/effect/session";
5
5
  import type { Agent } from "@opencode/schema/agent";
6
6
  import type { Model } from "@opencode/schema/model";
7
7
  import { Context, Effect, Layer } from "effect";
@@ -13,41 +13,25 @@ import { SessionModelTransport } from "./model-transport.js";
13
13
  import { SessionRunnerModel } from "./runner/model.js";
14
14
  import { SessionSchema } from "./schema.js";
15
15
  import type { SessionMessage } from "./message.js";
16
- /** Failures a prepared execution can surface: infrastructure errors plus user declines resurfaced from the defect tunnel. */
16
+ /** Tool errors, plus the user declining a permission or dismissing a question. */
17
17
  export type ExecuteError = Tool.Error | Permission.DeclinedError | QuestionTool.CancelledError;
18
- export interface Prepared {
18
+ export interface Prepared<Event = SessionRequest> {
19
+ readonly event: Event;
19
20
  readonly request: LLMRequest;
20
21
  readonly options: StreamOptions;
21
22
  readonly retry: (event: PluginHooks.Domains["session"]["retry"]) => Effect.Effect<void>;
22
- /**
23
- * One request-scoped execution operation. Unknown and hook-removed calls
24
- * fail individually through the same seam.
25
- */
23
+ /** Runs a tool call against the tools this request advertised. */
26
24
  readonly executeTool: (input: Parameters<Tool.Snapshot["execute"]>[0]) => Effect.Effect<Tool.NormalizedResult, ExecuteError>;
27
25
  }
28
- interface PrepareInput {
29
- /** Which Session flow issues this request; request hooks receive it alongside the Session identity. */
30
- readonly kind: SessionRequestKind;
31
- readonly scope: {
32
- readonly session: SessionSchema.Info;
33
- readonly agentID: Agent.ID;
34
- /** Agent whose context an auxiliary request reuses, without changing its request-hook identity. */
35
- readonly contextAgentID?: Agent.ID;
36
- readonly model: SessionRunnerModel.Resolved;
37
- /** Omitted for requests that carry no tool definitions, such as titles. */
38
- readonly tools?: Tool.Snapshot;
39
- };
40
- readonly transcript: {
41
- readonly system: Array<SystemPart>;
42
- readonly messages: Array<Message>;
43
- };
26
+ export interface Input {
27
+ readonly session: SessionSchema.Info;
28
+ readonly agent: Agent.ID;
29
+ readonly model: SessionRunnerModel.Resolved;
30
+ readonly tools?: Tool.Snapshot;
31
+ readonly system: Array<SystemPart>;
32
+ readonly messages: Array<Message>;
44
33
  readonly toolChoice?: LLM.RequestInput["toolChoice"];
45
- /**
46
- * Session context hooks shape the agent conversation. Standalone requests
47
- * such as titles opt out; compaction uses the selected Session context.
48
- */
49
- readonly contextHooks?: false;
50
- /** Stateful Session WebSocket channels require an explicit durable-runner opt-in. */
34
+ /** Only the durable runner may use a stateful WebSocket. */
51
35
  readonly webSocket?: "session";
52
36
  }
53
37
  export declare const baseTranscript: (input: {
@@ -70,17 +54,14 @@ export declare const baseTranscript: (input: {
70
54
  };
71
55
  export declare const unsupportedParts: (messages: LLMRequest["messages"], capabilities: Model.Capabilities) => Message[];
72
56
  export declare const boundImages: (messages: LLMRequest["messages"]) => readonly Message[];
73
- /**
74
- * Builds an outbound model request and captures the tool-call capability that
75
- * must remain paired with it. It does not execute the request or mutate
76
- * Session state.
77
- */
57
+ /** Builds the model request for each session flow. Each entry runs its own plugin hook. */
78
58
  export interface Interface {
79
- /** Builds one outbound model request and its matching tool-call capability. */
80
- readonly prepare: (input: PrepareInput) => Effect.Effect<Prepared>;
59
+ readonly primary: (input: Input) => Effect.Effect<Prepared<SessionContext>>;
60
+ readonly compaction: (input: Input) => Effect.Effect<Prepared<SessionContext>>;
61
+ readonly generate: (input: Input) => Effect.Effect<Prepared<SessionContext>>;
62
+ readonly title: (input: Input) => Effect.Effect<Prepared<SessionTitle>>;
81
63
  }
82
64
  declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionModelRequest", Interface>;
83
- /** Location-scoped outbound model-request preparation. */
84
65
  export declare class Service extends Service_base {
85
66
  }
86
67
  export declare const layer: Layer.Layer<Service, never, PluginHooks.Service | SessionModelTransport.Service>;
@@ -57,5 +57,6 @@ export declare const resolved: (model: LanguageModel, options: {
57
57
  readonly cost: Model.Info["cost"];
58
58
  readonly limit: Model.Info["limit"];
59
59
  readonly compaction?: Provider.Compaction;
60
+ readonly websocket?: boolean;
60
61
  }) => Resolved;
61
62
  export declare const node: import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"location">>;
@@ -156,7 +156,7 @@ interface Input {
156
156
  readonly assistantMessageID: SessionMessage.ID;
157
157
  readonly agent: Agent.ID;
158
158
  readonly model: SessionRunnerModel.Resolved;
159
- readonly prepared: SessionModelRequest.Prepared;
159
+ readonly prepared: Omit<SessionModelRequest.Prepared, "event">;
160
160
  readonly retry: (cause: AIError, error: SessionError.Error, retry: boolean) => Effect.Effect<{
161
161
  readonly retry: false;
162
162
  } | SessionRunnerRetry.Decision>;
@@ -719,6 +719,28 @@ export declare const Data: Schema.Struct<{
719
719
  }>;
720
720
  readonly type: Schema.tag<"compaction">;
721
721
  }>, Schema.Struct<{
722
+ readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
723
+ zero: number & import("effect/Brand").Brand<"Money.USD">;
724
+ }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
725
+ zero: number & import("effect/Brand").Brand<"Money.USD">;
726
+ }>, never, never>;
727
+ readonly tokens: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
728
+ readonly input: Schema.Finite;
729
+ readonly output: Schema.Finite;
730
+ readonly reasoning: Schema.Finite;
731
+ readonly cache: Schema.Struct<{
732
+ readonly read: Schema.Finite;
733
+ readonly write: Schema.Finite;
734
+ }>;
735
+ }>>>, Schema.optionalKey<Schema.Struct<{
736
+ readonly input: Schema.Finite;
737
+ readonly output: Schema.Finite;
738
+ readonly reasoning: Schema.Finite;
739
+ readonly cache: Schema.Struct<{
740
+ readonly read: Schema.Finite;
741
+ readonly write: Schema.Finite;
742
+ }>;
743
+ }>>, never, never>;
722
744
  readonly status: Schema.tag<"completed">;
723
745
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
724
746
  readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
@@ -826,6 +848,28 @@ export declare const Data: Schema.Struct<{
826
848
  }>;
827
849
  readonly type: Schema.tag<"compaction">;
828
850
  }>, Schema.Struct<{
851
+ readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
852
+ zero: number & import("effect/Brand").Brand<"Money.USD">;
853
+ }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
854
+ zero: number & import("effect/Brand").Brand<"Money.USD">;
855
+ }>, never, never>;
856
+ readonly tokens: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
857
+ readonly input: Schema.Finite;
858
+ readonly output: Schema.Finite;
859
+ readonly reasoning: Schema.Finite;
860
+ readonly cache: Schema.Struct<{
861
+ readonly read: Schema.Finite;
862
+ readonly write: Schema.Finite;
863
+ }>;
864
+ }>>>, Schema.optionalKey<Schema.Struct<{
865
+ readonly input: Schema.Finite;
866
+ readonly output: Schema.Finite;
867
+ readonly reasoning: Schema.Finite;
868
+ readonly cache: Schema.Struct<{
869
+ readonly read: Schema.Finite;
870
+ readonly write: Schema.Finite;
871
+ }>;
872
+ }>>, never, never>;
829
873
  readonly status: Schema.tag<"failed">;
830
874
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
831
875
  readonly error: Schema.Struct<{
@@ -152,6 +152,7 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
152
152
  readonly mode: "provider";
153
153
  readonly threshold?: number | undefined;
154
154
  } | undefined;
155
+ readonly websocket?: boolean | undefined;
155
156
  readonly package?: string | undefined;
156
157
  readonly models?: {
157
158
  readonly [x: string]: {
@@ -172,6 +173,7 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
172
173
  readonly mode: "provider";
173
174
  readonly threshold?: number | undefined;
174
175
  } | undefined;
176
+ readonly websocket?: boolean | undefined;
175
177
  readonly package?: string | undefined;
176
178
  readonly family?: string | undefined;
177
179
  readonly compatibility?: {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  from2,
3
3
  exports_error_summary
4
- } from "../chunks/ripgrep-0q0f95c6.js";
4
+ } from "../chunks/mime-0q0f95c6.js";
5
5
  export {
6
6
  exports_error_summary as ErrorSummary,
7
7
  from2 as from
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  NamedError2
3
- } from "../chunks/ripgrep-2axfhc9x.js";
3
+ } from "../chunks/mime-2axfhc9x.js";
4
4
  export {
5
5
  NamedError2 as NamedError
6
6
  };
package/dist/util/iife.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  iife2
3
- } from "../chunks/ripgrep-1kg9ymc8.js";
3
+ } from "../chunks/mime-1kg9ymc8.js";
4
4
  export {
5
5
  iife2 as iife
6
6
  };
package/dist/util/lazy.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  lazy2
3
- } from "../chunks/ripgrep-88xbtdfr.js";
3
+ } from "../chunks/mime-88xbtdfr.js";
4
4
  export {
5
5
  lazy2 as lazy
6
6
  };
package/dist/util/slug.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Slug2
3
- } from "../chunks/ripgrep-gebd4c9n.js";
3
+ } from "../chunks/mime-gebd4c9n.js";
4
4
  export {
5
5
  Slug2 as Slug
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  estimate2,
3
3
  exports_token
4
- } from "../chunks/ripgrep-h6vf3j39.js";
4
+ } from "../chunks/mime-h6vf3j39.js";
5
5
  export {
6
6
  exports_token as Token,
7
7
  estimate2 as estimate
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "../chunks/ripgrep-qaymkmh1.js";
3
+ } from "../chunks/mime-qaymkmh1.js";
4
4
  export {
5
5
  which2 as which
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  match2,
3
3
  exports_wildcard
4
- } from "../chunks/ripgrep-y1fvbwt7.js";
4
+ } from "../chunks/mime-y1fvbwt7.js";
5
5
  export {
6
6
  exports_wildcard as Wildcard,
7
7
  match2 as match
@@ -1,10 +1,10 @@
1
1
  import {
2
- Info12,
3
- exports_agent3
4
- } from "../../chunks/ripgrep-ep6z9mt6.js";
5
- import"../../chunks/ripgrep-magykp64.js";
6
- import"../../chunks/ripgrep-922hggd3.js";
2
+ Info19,
3
+ exports_agent4
4
+ } from "../../chunks/mime-dhwr7h25.js";
5
+ import"../../chunks/mime-vsp1fds9.js";
6
+ import"../../chunks/mime-922hggd3.js";
7
7
  export {
8
- exports_agent3 as ConfigAgentV1,
9
- Info12 as Info
8
+ exports_agent4 as ConfigAgentV1,
9
+ Info19 as Info
10
10
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Image2,
3
- Info17,
3
+ Info13,
4
4
  exports_attachment
5
- } from "../../chunks/ripgrep-tn0aqsam.js";
6
- import"../../chunks/ripgrep-922hggd3.js";
5
+ } from "../../chunks/mime-evbgk2k8.js";
6
+ import"../../chunks/mime-922hggd3.js";
7
7
  export {
8
8
  exports_attachment as ConfigAttachmentV1,
9
9
  Image2 as Image,
10
- Info17 as Info
10
+ Info13 as Info
11
11
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
- Info11,
2
+ Info21,
3
3
  exports_command5
4
- } from "../../chunks/ripgrep-ryr25ayn.js";
4
+ } from "../../chunks/mime-806j49yq.js";
5
5
  export {
6
6
  exports_command5 as ConfigCommandV1,
7
- Info11 as Info
7
+ Info21 as Info
8
8
  };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  WellKnown2,
3
- Info10,
3
+ Info12,
4
4
  exports_config2
5
- } from "../../chunks/ripgrep-3ddgt7af.js";
6
- import"../../chunks/ripgrep-ryr25ayn.js";
7
- import"../../chunks/ripgrep-ep6z9mt6.js";
8
- import"../../chunks/ripgrep-e6hmchc5.js";
9
- import"../../chunks/ripgrep-3b1q5j1v.js";
10
- import"../../chunks/ripgrep-magykp64.js";
11
- import"../../chunks/ripgrep-j5208yae.js";
12
- import"../../chunks/ripgrep-21r38tys.js";
13
- import"../../chunks/ripgrep-tn0aqsam.js";
14
- import"../../chunks/ripgrep-0jwsre1p.js";
15
- import"../../chunks/ripgrep-zeh9ct20.js";
16
- import"../../chunks/ripgrep-ve4pfa0n.js";
17
- import"../../chunks/ripgrep-7gvwkz6m.js";
18
- import"../../chunks/ripgrep-922hggd3.js";
5
+ } from "../../chunks/mime-0egdssbc.js";
6
+ import"../../chunks/mime-evbgk2k8.js";
7
+ import"../../chunks/mime-23pqda6t.js";
8
+ import"../../chunks/mime-wbkyxrgf.js";
9
+ import"../../chunks/mime-af04s6ss.js";
10
+ import"../../chunks/mime-23sxaqwc.js";
11
+ import"../../chunks/mime-ve4pfa0n.js";
12
+ import"../../chunks/mime-21r38tys.js";
13
+ import"../../chunks/mime-dhwr7h25.js";
14
+ import"../../chunks/mime-vsp1fds9.js";
15
+ import"../../chunks/mime-7dqw4kz8.js";
16
+ import"../../chunks/mime-806j49yq.js";
17
+ import"../../chunks/mime-zeh9ct20.js";
18
+ import"../../chunks/mime-922hggd3.js";
19
19
  export {
20
20
  exports_config2 as ConfigV1,
21
- Info10 as Info,
21
+ Info12 as Info,
22
22
  WellKnown2 as WellKnown
23
23
  };
@@ -4,11 +4,11 @@ import {
4
4
  FrontmatterError2,
5
5
  DirectoryTypoError2,
6
6
  RemoteAuthError2,
7
- exports_error
8
- } from "../../chunks/ripgrep-z63w68vq.js";
9
- import"../../chunks/ripgrep-2axfhc9x.js";
7
+ exports_error2
8
+ } from "../../chunks/mime-29x78va6.js";
9
+ import"../../chunks/mime-2axfhc9x.js";
10
10
  export {
11
- exports_error as ConfigErrorV1,
11
+ exports_error2 as ConfigErrorV1,
12
12
  DirectoryTypoError2 as DirectoryTypoError,
13
13
  FrontmatterError2 as FrontmatterError,
14
14
  InvalidError2 as InvalidError,
@@ -1,10 +1,10 @@
1
1
  import {
2
- Entry3,
3
- Info16,
2
+ Entry4,
3
+ Info17,
4
4
  exports_formatter3
5
- } from "../../chunks/ripgrep-j5208yae.js";
5
+ } from "../../chunks/mime-23sxaqwc.js";
6
6
  export {
7
7
  exports_formatter3 as ConfigFormatterV1,
8
- Entry3 as Entry,
9
- Info16 as Info
8
+ Entry4 as Entry,
9
+ Info17 as Info
10
10
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Layout2,
3
3
  exports_layout
4
- } from "../../chunks/ripgrep-21r38tys.js";
4
+ } from "../../chunks/mime-21r38tys.js";
5
5
  export {
6
6
  exports_layout as ConfigLayoutV1,
7
7
  Layout2 as Layout
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Disabled2,
3
- Entry2,
3
+ Entry3,
4
4
  builtinServerIds2,
5
5
  requiresExtensionsForCustomServers2,
6
6
  Info14,
7
7
  exports_lsp
8
- } from "../../chunks/ripgrep-3b1q5j1v.js";
8
+ } from "../../chunks/mime-23pqda6t.js";
9
9
  export {
10
10
  exports_lsp as ConfigLSPV1,
11
11
  Disabled2 as Disabled,
12
- Entry2 as Entry,
12
+ Entry3 as Entry,
13
13
  Info14 as Info,
14
14
  builtinServerIds2 as builtinServerIds,
15
15
  requiresExtensionsForCustomServers2 as requiresExtensionsForCustomServers
@@ -2,13 +2,13 @@ import {
2
2
  Local2,
3
3
  OAuth2,
4
4
  Remote2,
5
- Info19,
5
+ Info16,
6
6
  exports_mcp5
7
- } from "../../chunks/ripgrep-7gvwkz6m.js";
8
- import"../../chunks/ripgrep-922hggd3.js";
7
+ } from "../../chunks/mime-af04s6ss.js";
8
+ import"../../chunks/mime-922hggd3.js";
9
9
  export {
10
10
  exports_mcp5 as ConfigMCPV1,
11
- Info19 as Info,
11
+ Info16 as Info,
12
12
  Local2 as Local,
13
13
  OAuth2 as OAuth,
14
14
  Remote2 as Remote
@@ -7,10 +7,10 @@ import {
7
7
  migrateProvider2,
8
8
  providerID2,
9
9
  exports_migrate
10
- } from "../../chunks/ripgrep-w4jw514d.js";
11
- import"../../chunks/ripgrep-0paq2nw3.js";
12
- import"../../chunks/ripgrep-a94v7mat.js";
13
- import"../../chunks/ripgrep-2d6j2h4j.js";
10
+ } from "../../chunks/mime-sgfkh1bp.js";
11
+ import"../../chunks/mime-0paq2nw3.js";
12
+ import"../../chunks/mime-yvmq8qxx.js";
13
+ import"../../chunks/mime-c7ecgrk6.js";
14
14
  export {
15
15
  exports_migrate as ConfigMigrateV1,
16
16
  commands2 as commands,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  Action2,
3
3
  Object2,
4
- Rule2,
5
- Info15,
6
- exports_permission
7
- } from "../../chunks/ripgrep-magykp64.js";
4
+ Rule3,
5
+ Info20,
6
+ exports_permission2
7
+ } from "../../chunks/mime-vsp1fds9.js";
8
8
  export {
9
9
  Action2 as Action,
10
- exports_permission as ConfigPermissionV1,
11
- Info15 as Info,
10
+ exports_permission2 as ConfigPermissionV1,
11
+ Info20 as Info,
12
12
  Object2 as Object,
13
- Rule2 as Rule
13
+ Rule3 as Rule
14
14
  };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Options6,
2
+ Options9,
3
3
  Spec2,
4
4
  exports_plugin3
5
- } from "../../chunks/ripgrep-0jwsre1p.js";
5
+ } from "../../chunks/mime-7dqw4kz8.js";
6
6
  export {
7
7
  exports_plugin3 as ConfigPluginV1,
8
- Options6 as Options,
8
+ Options9 as Options,
9
9
  Spec2 as Spec
10
10
  };
@@ -2,7 +2,7 @@ import {
2
2
  provider2,
3
3
  model2,
4
4
  exports_provider_options
5
- } from "../../chunks/ripgrep-0paq2nw3.js";
5
+ } from "../../chunks/mime-0paq2nw3.js";
6
6
  export {
7
7
  exports_provider_options as ConfigProviderOptionsV1,
8
8
  model2 as model,