@opencode/core 2.0.16 → 2.0.17

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 (805) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{event-logger-74wfabdn.js → schema-0145jres.js} +26 -26
  8. package/dist/chunks/schema-03mttfrd.js +26 -0
  9. package/dist/chunks/{event-logger-7mwj9qcd.js → schema-055gg8d0.js} +17 -17
  10. package/dist/chunks/{event-logger-ybshnyry.js → schema-0bhmdfn5.js} +3 -3
  11. package/dist/chunks/{event-logger-je1vn78e.js → schema-0brwk0k2.js} +28 -28
  12. package/dist/chunks/{event-logger-ybhbtxjg.js → schema-0e81x99y.js} +3 -3
  13. package/dist/chunks/{event-logger-znm218mv.js → schema-0kety719.js} +11 -11
  14. package/dist/chunks/{event-logger-nt0v7t0n.js → schema-0mc57tk4.js} +20 -20
  15. package/dist/chunks/{event-logger-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{event-logger-kaaz88r3.js → schema-0sfeenar.js} +20 -20
  17. package/dist/chunks/{event-logger-mxkwqd26.js → schema-0ymghm5h.js} +11 -11
  18. package/dist/chunks/{event-logger-8aahf52h.js → schema-11etax81.js} +18 -18
  19. package/dist/chunks/{event-logger-ec6m7bjn.js → schema-12z81zg4.js} +44 -44
  20. package/dist/chunks/{event-logger-4x2e8ejb.js → schema-197cy8dq.js} +9 -9
  21. package/dist/chunks/{event-logger-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{event-logger-enywfw21.js → schema-1y2s2f0j.js} +9 -9
  23. package/dist/chunks/{event-logger-b4kkqjxq.js → schema-1yb3x3z9.js} +1 -1
  24. package/dist/chunks/{event-logger-k36bwha9.js → schema-21fjxxq6.js} +11 -11
  25. package/dist/chunks/{event-logger-21r38tys.js → schema-21r38tys.js} +1 -1
  26. package/dist/chunks/{event-logger-2402vzrj.js → schema-2402vzrj.js} +1 -1
  27. package/dist/chunks/{event-logger-9t2qpacv.js → schema-24mn6ts6.js} +19 -19
  28. package/dist/chunks/{event-logger-yemq3d8b.js → schema-258tza17.js} +6 -6
  29. package/dist/chunks/{event-logger-y43qwa20.js → schema-2627m7vs.js} +22 -22
  30. package/dist/chunks/{event-logger-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{event-logger-dntn16f7.js → schema-2azgrrcp.js} +51 -28
  32. package/dist/chunks/{event-logger-2qt06f8c.js → schema-2e3sc6z5.js} +6 -6
  33. package/dist/chunks/{event-logger-jww5q7tc.js → schema-2fb3f4s4.js} +12 -15
  34. package/dist/chunks/{event-logger-c78bbtc9.js → schema-3cfzdc8e.js} +5 -5
  35. package/dist/chunks/{event-logger-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{event-logger-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{event-logger-q460c3tq.js → schema-3m9rvccw.js} +42 -42
  38. package/dist/chunks/{event-logger-qg0jgkcp.js → schema-3pe7sts8.js} +9 -9
  39. package/dist/chunks/{event-logger-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{event-logger-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{event-logger-te5g4v54.js → schema-3ybey094.js} +8 -8
  42. package/dist/chunks/{event-logger-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{event-logger-jx360mrh.js → schema-41prm328.js} +11 -11
  44. package/dist/chunks/{event-logger-pzk5trfr.js → schema-428cwm86.js} +53 -53
  45. package/dist/chunks/{event-logger-kc29vnnm.js → schema-42qrv8nh.js} +24 -24
  46. package/dist/chunks/{event-logger-908dkt5v.js → schema-45cphc5h.js} +12 -12
  47. package/dist/chunks/{event-logger-4w5f3qm5.js → schema-4a0nv7mx.js} +8 -8
  48. package/dist/chunks/{event-logger-0yt7yd1j.js → schema-4hq88yhx.js} +33 -33
  49. package/dist/chunks/{event-logger-b2aqqavs.js → schema-4twmxjga.js} +39 -39
  50. package/dist/chunks/{event-logger-syzcn7b5.js → schema-507gpz5w.js} +1 -1
  51. package/dist/chunks/{event-logger-g190xswt.js → schema-50mzsvk4.js} +4 -4
  52. package/dist/chunks/{event-logger-8h5varp2.js → schema-511kpayd.js} +18 -18
  53. package/dist/chunks/{event-logger-39nw5ydc.js → schema-52vmy6ww.js} +17 -17
  54. package/dist/chunks/{event-logger-2fgn2we9.js → schema-57ez7d0k.js} +9 -9
  55. package/dist/chunks/{event-logger-zxk6ecdw.js → schema-5825hswr.js} +8 -8
  56. package/dist/chunks/{event-logger-qdgkf1bg.js → schema-587y186t.js} +8 -8
  57. package/dist/chunks/{event-logger-900yt45k.js → schema-5atn9wfq.js} +20 -20
  58. package/dist/chunks/{event-logger-5daktx2q.js → schema-5daktx2q.js} +1 -1
  59. package/dist/chunks/schema-5dggn2va.js +252 -0
  60. package/dist/chunks/{event-logger-yj0pkhyr.js → schema-5m1y3qk6.js} +17 -17
  61. package/dist/chunks/{event-logger-3kx3nt6q.js → schema-5q4kjq47.js} +1 -1
  62. package/dist/chunks/{event-logger-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{event-logger-r1g03gg9.js → schema-5yfpp9tw.js} +11 -11
  64. package/dist/chunks/{event-logger-669tq793.js → schema-669tq793.js} +1 -1
  65. package/dist/chunks/{event-logger-0gz4y0yt.js → schema-6bgjwwbw.js} +2 -2
  66. package/dist/chunks/{event-logger-svd3wk3g.js → schema-6cbh3zce.js} +13 -13
  67. package/dist/chunks/{event-logger-8xeyrzky.js → schema-6gjjawqn.js} +90 -90
  68. package/dist/chunks/{event-logger-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{event-logger-1p07q0wb.js → schema-6pc27hjz.js} +8 -8
  70. package/dist/chunks/{event-logger-089g9g2x.js → schema-6whbnvw3.js} +44 -43
  71. package/dist/chunks/{event-logger-0p8kebmq.js → schema-6xg4rx5y.js} +20 -20
  72. package/dist/chunks/{event-logger-w6y5hf30.js → schema-6yy39kvx.js} +14 -14
  73. package/dist/chunks/{event-logger-btgkjvyx.js → schema-6z8ht897.js} +12 -12
  74. package/dist/chunks/{event-logger-n300db4g.js → schema-722kb1xk.js} +5 -5
  75. package/dist/chunks/{event-logger-w8t53nqw.js → schema-75qjrmc8.js} +17 -17
  76. package/dist/chunks/{event-logger-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{event-logger-2k8khapm.js → schema-7dqw4kz8.js} +5 -5
  78. package/dist/chunks/{event-logger-747n07b7.js → schema-7khjtj5g.js} +20 -20
  79. package/dist/chunks/{event-logger-4c7cwrwt.js → schema-7khr9c91.js} +18 -18
  80. package/dist/chunks/{event-logger-wqj2xpp0.js → schema-7mm032py.js} +9 -9
  81. package/dist/chunks/{event-logger-0p1t7cwm.js → schema-7smws4ww.js} +7 -7
  82. package/dist/chunks/{event-logger-m3zza4qd.js → schema-7tpxex51.js} +8 -8
  83. package/dist/chunks/{event-logger-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{event-logger-z7ctwqf8.js → schema-8fsqd879.js} +28 -28
  85. package/dist/chunks/{event-logger-8m795tf5.js → schema-8j2x59yf.js} +25 -25
  86. package/dist/chunks/{event-logger-g8vnyhk4.js → schema-8k150j0z.js} +8 -8
  87. package/dist/chunks/{event-logger-kmyrg3fm.js → schema-8kn7kdrq.js} +20 -20
  88. package/dist/chunks/{event-logger-94ek1h2f.js → schema-94ek1h2f.js} +2 -2
  89. package/dist/chunks/{event-logger-63ar50w9.js → schema-94ve3ep0.js} +3 -3
  90. package/dist/chunks/{event-logger-y4q6tv4t.js → schema-95e3es41.js} +7 -7
  91. package/dist/chunks/{event-logger-vn3yw2wj.js → schema-9a5xxas0.js} +28 -28
  92. package/dist/chunks/{event-logger-najthaah.js → schema-9cjj4wa1.js} +21 -21
  93. package/dist/chunks/{event-logger-np6mkd1m.js → schema-9f1sykhs.js} +60 -51
  94. package/dist/chunks/{event-logger-5dwbhd1q.js → schema-9m6r901m.js} +9 -9
  95. package/dist/chunks/{event-logger-gyfpy8sq.js → schema-9ncpcp0p.js} +13 -13
  96. package/dist/chunks/{event-logger-pft9k85v.js → schema-9tkzcje5.js} +13 -13
  97. package/dist/chunks/{event-logger-zz2qg7p3.js → schema-9vhpts05.js} +15 -21
  98. package/dist/chunks/{event-logger-9v66419v.js → schema-9wy6gd4a.js} +24 -24
  99. package/dist/chunks/{event-logger-he6tcr5q.js → schema-a5mtmafw.js} +24 -24
  100. package/dist/chunks/{event-logger-3xw1mt3t.js → schema-a79446ya.js} +4 -4
  101. package/dist/chunks/{event-logger-dda0p7y7.js → schema-a7bcxdzj.js} +9 -9
  102. package/dist/chunks/{event-logger-aaet6srn.js → schema-aaet6srn.js} +2 -2
  103. package/dist/chunks/{event-logger-3c9ypvct.js → schema-ack3exs3.js} +10 -10
  104. package/dist/chunks/{event-logger-e33fphm7.js → schema-aewz2adp.js} +14 -14
  105. package/dist/chunks/{event-logger-wsb64f9g.js → schema-av5dvdst.js} +18 -18
  106. package/dist/chunks/{event-logger-2ye00mg1.js → schema-ayqbdn8x.js} +22 -22
  107. package/dist/chunks/{event-logger-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{event-logger-m0fa3ej4.js → schema-b6q25pdb.js} +2 -2
  109. package/dist/chunks/{event-logger-xvjpp9n9.js → schema-b6ysx4kv.js} +12 -12
  110. package/dist/chunks/{event-logger-n1jgwtn1.js → schema-bk55e78n.js} +21 -21
  111. package/dist/chunks/{event-logger-132pb4yq.js → schema-bw1k523x.js} +32 -32
  112. package/dist/chunks/{event-logger-rf0y6vjb.js → schema-by3r5qkm.js} +35 -35
  113. package/dist/chunks/{event-logger-jf9anmv7.js → schema-c488s98d.js} +5 -5
  114. package/dist/chunks/{event-logger-718xzxc8.js → schema-c5pegrb7.js} +11 -11
  115. package/dist/chunks/{event-logger-a0s8xvxt.js → schema-cfefqghv.js} +8 -8
  116. package/dist/chunks/{event-logger-5v0fdq8j.js → schema-cggb2dpx.js} +18 -18
  117. package/dist/chunks/{event-logger-ckecvw8r.js → schema-ckecvw8r.js} +2 -2
  118. package/dist/chunks/{event-logger-4rzfcrmm.js → schema-cmsm0fmq.js} +16 -16
  119. package/dist/chunks/{event-logger-shsdp4g3.js → schema-csnqga4f.js} +25 -25
  120. package/dist/chunks/{event-logger-cmwkp3r5.js → schema-czfptnv9.js} +6 -6
  121. package/dist/chunks/{event-logger-9agfq1d2.js → schema-d0e063zs.js} +20 -20
  122. package/dist/chunks/{event-logger-aqs1w8sb.js → schema-d2w12qf2.js} +8 -8
  123. package/dist/chunks/{event-logger-1bry463v.js → schema-d4nbhrvv.js} +18 -18
  124. package/dist/chunks/{event-logger-f27dyjrk.js → schema-d8hz1vnp.js} +38 -38
  125. package/dist/chunks/{event-logger-0bb1qdg3.js → schema-db7z9sqm.js} +3 -3
  126. package/dist/chunks/{event-logger-bsqx64w4.js → schema-de52ckkz.js} +4 -4
  127. package/dist/chunks/schema-djehs4n2.js +69 -0
  128. package/dist/chunks/{event-logger-xkntkrq7.js → schema-dmqcgk4z.js} +5 -5
  129. package/dist/chunks/{event-logger-p2qeza37.js → schema-drgwwxwg.js} +43 -43
  130. package/dist/chunks/{event-logger-57b9ws8p.js → schema-drwq78ky.js} +5 -5
  131. package/dist/chunks/{event-logger-6z4ywrmd.js → schema-e32rp4rx.js} +41 -41
  132. package/dist/chunks/{event-logger-vamd4fsq.js → schema-e69wdmhy.js} +6 -6
  133. package/dist/chunks/{event-logger-70n28njg.js → schema-eajmhh73.js} +11 -11
  134. package/dist/chunks/{event-logger-erw5rpbs.js → schema-ecfe7b91.js} +17 -3
  135. package/dist/chunks/{event-logger-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{event-logger-g43vs6pk.js → schema-eh37g602.js} +8 -8
  137. package/dist/chunks/{event-logger-b4285gp2.js → schema-eh37vhb5.js} +9 -9
  138. package/dist/chunks/{event-logger-3zvr4ntj.js → schema-emsmtts8.js} +20 -20
  139. package/dist/chunks/{event-logger-9dvwkvjz.js → schema-ena0zzcy.js} +15 -15
  140. package/dist/chunks/{event-logger-5eerdhhh.js → schema-es33zt1k.js} +3 -3
  141. package/dist/chunks/{event-logger-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{event-logger-tmqa4ga1.js → schema-evs9c0ef.js} +12 -12
  143. package/dist/chunks/{event-logger-0jshnw7f.js → schema-eymenvc3.js} +25 -25
  144. package/dist/chunks/{event-logger-r8xr0va3.js → schema-f2n192rq.js} +4 -4
  145. package/dist/chunks/{event-logger-9gj3h84v.js → schema-f59qmhat.js} +7 -7
  146. package/dist/chunks/{event-logger-eneefzjq.js → schema-f5gy8qwh.js} +8 -8
  147. package/dist/chunks/{event-logger-xxaqvhcx.js → schema-f658k6de.js} +29 -29
  148. package/dist/chunks/{event-logger-wargq46t.js → schema-fbawcmnd.js} +6 -6
  149. package/dist/chunks/{event-logger-57p7edxn.js → schema-fkfyjdkw.js} +4 -4
  150. package/dist/chunks/{event-logger-8a4ad92b.js → schema-fnbz4a44.js} +14 -14
  151. package/dist/chunks/{event-logger-pf2hb43r.js → schema-fng9e0je.js} +4 -4
  152. package/dist/chunks/{event-logger-y2nf1ewr.js → schema-fr2n07jg.js} +23 -23
  153. package/dist/chunks/{event-logger-vz8d88kv.js → schema-fze10tzj.js} +3 -3
  154. package/dist/chunks/{event-logger-36wx3dpn.js → schema-g5j6fn2h.js} +30 -30
  155. package/dist/chunks/{event-logger-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{event-logger-jgd9see8.js → schema-gq46gf1f.js} +15 -15
  157. package/dist/chunks/{event-logger-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{event-logger-wv72qc1v.js → schema-gwmzskkb.js} +18 -18
  159. package/dist/chunks/{event-logger-4nsq4evv.js → schema-h3v3gq1k.js} +33 -33
  160. package/dist/chunks/{event-logger-h6r3nrb9.js → schema-h6r3nrb9.js} +1 -1
  161. package/dist/chunks/{event-logger-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{event-logger-hef66yfx.js → schema-habj5avf.js} +29 -29
  163. package/dist/chunks/{event-logger-s8zy8myc.js → schema-hkfg6fzm.js} +5 -5
  164. package/dist/chunks/{event-logger-rwm5vee1.js → schema-hn57h045.js} +4 -4
  165. package/dist/chunks/{event-logger-mhkvc446.js → schema-j028xdjb.js} +3 -3
  166. package/dist/chunks/{event-logger-j1np5d6f.js → schema-j1pt8b99.js} +3 -3
  167. package/dist/chunks/{event-logger-j56e64zr.js → schema-j56e64zr.js} +1 -1
  168. package/dist/chunks/{event-logger-qanbasbs.js → schema-jbp9wfgd.js} +9 -9
  169. package/dist/chunks/{event-logger-zehx49jx.js → schema-jfxkwh10.js} +82 -15
  170. package/dist/chunks/{event-logger-d4sk7cm2.js → schema-jjf6303y.js} +15 -15
  171. package/dist/chunks/{event-logger-sz2yehtx.js → schema-jjq7exv6.js} +11 -11
  172. package/dist/chunks/{event-logger-qz809afx.js → schema-jmanypz0.js} +30 -30
  173. package/dist/chunks/{event-logger-28ehbsev.js → schema-jnqxgjh5.js} +42 -42
  174. package/dist/chunks/{event-logger-za77p82n.js → schema-jns15vzr.js} +6 -6
  175. package/dist/chunks/{event-logger-0br3sbwn.js → schema-jpqeh2wc.js} +4 -4
  176. package/dist/chunks/{event-logger-d6pm2gat.js → schema-jt97ek0w.js} +1 -1
  177. package/dist/chunks/{event-logger-03q3r71s.js → schema-jzffzcq4.js} +18 -18
  178. package/dist/chunks/{event-logger-ddtyr2hh.js → schema-jztemdeq.js} +12 -12
  179. package/dist/chunks/{event-logger-k3c624dm.js → schema-k3c624dm.js} +3 -3
  180. package/dist/chunks/{event-logger-cmc17df4.js → schema-k3ztb1qz.js} +1 -1
  181. package/dist/chunks/{event-logger-fkz383g5.js → schema-k5gcqnqh.js} +11 -11
  182. package/dist/chunks/{event-logger-jexxy024.js → schema-k6yq57aq.js} +3 -3
  183. package/dist/chunks/{event-logger-n37c4crj.js → schema-kp8q1t60.js} +9 -9
  184. package/dist/chunks/{event-logger-bgvszk91.js → schema-ks0a0grj.js} +21 -21
  185. package/dist/chunks/{event-logger-tjedn1bk.js → schema-m0r31qfn.js} +4 -4
  186. package/dist/chunks/{event-logger-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{event-logger-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{event-logger-t71v2ka4.js → schema-ma48de29.js} +5 -5
  189. package/dist/chunks/{event-logger-n4xm4h5w.js → schema-me2bkwye.js} +8 -8
  190. package/dist/chunks/{event-logger-1ygqh575.js → schema-mfqp6xfm.js} +6 -6
  191. package/dist/chunks/{event-logger-pp173efe.js → schema-mj50c66e.js} +11 -11
  192. package/dist/chunks/{event-logger-msf2edjm.js → schema-mnnqb9y7.js} +17 -17
  193. package/dist/chunks/{event-logger-bv1pwt2s.js → schema-mpjr2ekw.js} +28 -28
  194. package/dist/chunks/{event-logger-5xpznt2d.js → schema-mvksx64m.js} +4 -4
  195. package/dist/chunks/{event-logger-6tdwvj9c.js → schema-n72gykqt.js} +25 -25
  196. package/dist/chunks/{event-logger-ckfwh0ft.js → schema-nbzsj80d.js} +8 -8
  197. package/dist/chunks/{event-logger-9e4j78a5.js → schema-nrp9mwhy.js} +18 -18
  198. package/dist/chunks/{event-logger-5sgwv95d.js → schema-nvexbzn8.js} +22 -22
  199. package/dist/chunks/{event-logger-hbyhqfhs.js → schema-nyqx1cb3.js} +5 -5
  200. package/dist/chunks/{event-logger-j0pg6dsa.js → schema-nz8pq8c9.js} +5 -5
  201. package/dist/chunks/{event-logger-aneqmxfb.js → schema-p07c8hrh.js} +8 -8
  202. package/dist/chunks/{event-logger-9n49v3te.js → schema-p8587wpx.js} +12 -12
  203. package/dist/chunks/{event-logger-m3dqj4zs.js → schema-pecm86x5.js} +12 -12
  204. package/dist/chunks/{event-logger-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{event-logger-pknna89w.js → schema-pknna89w.js} +1 -1
  206. package/dist/chunks/{event-logger-tncp3d9k.js → schema-pkyn48ss.js} +327 -323
  207. package/dist/chunks/{event-logger-jjg31dbj.js → schema-pm23069r.js} +14 -14
  208. package/dist/chunks/{event-logger-93w6htg6.js → schema-pnzr5f25.js} +8 -8
  209. package/dist/chunks/{event-logger-7f6v5qpp.js → schema-ps7s312n.js} +8 -8
  210. package/dist/chunks/{event-logger-hwk227gb.js → schema-q4q3y0ma.js} +30 -30
  211. package/dist/chunks/{event-logger-e0k7xjnp.js → schema-qg2cf98c.js} +11 -11
  212. package/dist/chunks/{event-logger-jv01nqvq.js → schema-qjnxxf51.js} +5 -5
  213. package/dist/chunks/{event-logger-rt4ems47.js → schema-qkc3sedm.js} +138 -138
  214. package/dist/chunks/{event-logger-f2947pfg.js → schema-qnnvw27w.js} +33 -33
  215. package/dist/chunks/{event-logger-qsdy395h.js → schema-qsdy395h.js} +1 -1
  216. package/dist/chunks/{event-logger-c99wwxqk.js → schema-qw1f8ej3.js} +30 -21
  217. package/dist/chunks/{event-logger-deqzrk0a.js → schema-qyvq79sc.js} +11 -11
  218. package/dist/chunks/{event-logger-zsecex3e.js → schema-r1qsnamt.js} +4 -4
  219. package/dist/chunks/{event-logger-ef35abme.js → schema-r3ryr6td.js} +33 -33
  220. package/dist/chunks/{event-logger-gbhtmfkn.js → schema-rb4e480n.js} +13 -13
  221. package/dist/chunks/{event-logger-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{event-logger-qmqgtz8f.js → schema-rey5gbxv.js} +9 -9
  223. package/dist/chunks/{event-logger-s8d7rejh.js → schema-rhjbct0v.js} +4 -4
  224. package/dist/chunks/{event-logger-fxq78srh.js → schema-rrxec99e.js} +34 -34
  225. package/dist/chunks/{event-logger-y5rv6h3q.js → schema-rwvzjkqg.js} +30 -30
  226. package/dist/chunks/{event-logger-gmc59x4c.js → schema-rxcwgxqf.js} +6 -6
  227. package/dist/chunks/{event-logger-mjt9wwac.js → schema-sejq73tg.js} +10 -10
  228. package/dist/chunks/{event-logger-0fnt4z85.js → schema-sm1zfatk.js} +34 -34
  229. package/dist/chunks/{event-logger-cyr3g3e5.js → schema-spdety1y.js} +16 -16
  230. package/dist/chunks/{event-logger-dg2cj1yd.js → schema-ssdqnhy0.js} +4 -4
  231. package/dist/chunks/{event-logger-fm2qvscf.js → schema-t2fc4mz5.js} +4 -4
  232. package/dist/chunks/{event-logger-azjsvxqn.js → schema-t4wzjz2c.js} +1 -1
  233. package/dist/chunks/{event-logger-f9q7adw3.js → schema-t7c95w3a.js} +28 -28
  234. package/dist/chunks/{event-logger-bs4se5xz.js → schema-t7xz7709.js} +25 -25
  235. package/dist/chunks/{event-logger-pmr4s4kc.js → schema-t9zs3egg.js} +4 -4
  236. package/dist/chunks/{event-logger-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{event-logger-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{event-logger-tdstcens.js → schema-tdstcens.js} +1 -1
  239. package/dist/chunks/{event-logger-nyvq8r07.js → schema-tfvhzp6w.js} +83 -83
  240. package/dist/chunks/{event-logger-2ntmd471.js → schema-tgyvarbm.js} +13 -13
  241. package/dist/chunks/{event-logger-qp6bbb4z.js → schema-tjz0sjs3.js} +21 -21
  242. package/dist/chunks/{event-logger-99xay3p1.js → schema-tk9ew89t.js} +8 -8
  243. package/dist/chunks/{event-logger-tvtrv512.js → schema-tvtrv512.js} +1 -1
  244. package/dist/chunks/schema-v1faaxn9.js +18 -0
  245. package/dist/chunks/{event-logger-k53npxr2.js → schema-v3sgzvyr.js} +1 -1
  246. package/dist/chunks/{event-logger-twfs5dqp.js → schema-v7ytqzq6.js} +14 -14
  247. package/dist/chunks/{event-logger-0f3a36n3.js → schema-v9315egx.js} +9 -9
  248. package/dist/chunks/{event-logger-pgkvq3r8.js → schema-vbb1pxgn.js} +30 -30
  249. package/dist/chunks/{event-logger-veqvce7d.js → schema-veqvce7d.js} +1 -1
  250. package/dist/chunks/{event-logger-pxag7cab.js → schema-vgygemyp.js} +25 -25
  251. package/dist/chunks/{event-logger-dsvbxzrp.js → schema-vmnfmpbz.js} +45 -45
  252. package/dist/chunks/{event-logger-v6gb7zv2.js → schema-vqfzq50h.js} +6 -6
  253. package/dist/chunks/{event-logger-chazxwvm.js → schema-vr2z87y7.js} +76 -76
  254. package/dist/chunks/{event-logger-ck33pjpx.js → schema-vv4dp7ce.js} +18 -18
  255. package/dist/chunks/{event-logger-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{event-logger-5ekn9679.js → schema-vzs5sf6e.js} +5 -1
  257. package/dist/chunks/{event-logger-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{event-logger-wd3x2cqz.js → schema-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{event-logger-wd87259q.js → schema-wd87259q.js} +1 -1
  260. package/dist/chunks/{event-logger-32b2ehkd.js → schema-wfg418dn.js} +13 -13
  261. package/dist/chunks/{event-logger-a3r4dcrj.js → schema-wqc6684y.js} +2 -2
  262. package/dist/chunks/{event-logger-yjmj8nkq.js → schema-wx7ymqfy.js} +28 -28
  263. package/dist/chunks/{event-logger-fv5sjpfb.js → schema-wxnc2egh.js} +5 -5
  264. package/dist/chunks/{event-logger-11k6dxds.js → schema-wzgg19r1.js} +4 -4
  265. package/dist/chunks/{event-logger-dyzt9za5.js → schema-wzhdnf6z.js} +27 -27
  266. package/dist/chunks/{event-logger-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{event-logger-y87mwaek.js → schema-x3317tkm.js} +16 -16
  268. package/dist/chunks/{event-logger-2jnnq67w.js → schema-x8bbrmd5.js} +6 -6
  269. package/dist/chunks/{event-logger-1xx7tqhe.js → schema-xbwwxhdm.js} +14 -14
  270. package/dist/chunks/{event-logger-01ps9m3h.js → schema-xc7gs73k.js} +32 -32
  271. package/dist/chunks/{event-logger-jzmh272x.js → schema-xybn4n2y.js} +12 -12
  272. package/dist/chunks/{event-logger-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{event-logger-n9sgmesv.js → schema-y4bzdzmn.js} +13 -13
  274. package/dist/chunks/{event-logger-swnqtvke.js → schema-y6gmj16h.js} +25 -25
  275. package/dist/chunks/{event-logger-dpkg50ah.js → schema-y71avatq.js} +4 -4
  276. package/dist/chunks/{event-logger-a52pef7j.js → schema-y853g6y0.js} +4 -4
  277. package/dist/chunks/{event-logger-27gf4k7j.js → schema-ycw8hfm2.js} +13 -13
  278. package/dist/chunks/{event-logger-j8zzr2am.js → schema-yq2cczkq.js} +5 -5
  279. package/dist/chunks/{event-logger-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{event-logger-yrznvahk.js → schema-yrznvahk.js} +2 -2
  281. package/dist/chunks/{event-logger-bmg501ry.js → schema-ytbrnvs4.js} +22 -22
  282. package/dist/chunks/{event-logger-816m4crp.js → schema-yv37q7sr.js} +6 -6
  283. package/dist/chunks/{event-logger-ww6x407f.js → schema-yz82w8p6.js} +3 -3
  284. package/dist/chunks/{event-logger-z07pqspn.js → schema-z07pqspn.js} +3 -3
  285. package/dist/chunks/{event-logger-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{event-logger-w2nj5ptj.js → schema-z15n6anb.js} +3 -3
  287. package/dist/chunks/{event-logger-z63w68vq.js → schema-z63w68vq.js} +2 -2
  288. package/dist/chunks/{event-logger-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{event-logger-7fqx7jvc.js → schema-zqdrfgj1.js} +48 -48
  290. package/dist/chunks/{event-logger-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{event-logger-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +11 -11
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +81 -81
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +162 -162
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +83 -83
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +372 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +93 -93
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +227 -227
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +104 -104
  432. package/dist/form.js +76 -76
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +80 -80
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -359
  474. package/dist/location.js +83 -83
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +96 -96
  484. package/dist/model.js +90 -90
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +107 -107
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +84 -84
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +101 -101
  497. package/dist/plugin/compaction.js +133 -133
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +3 -3
  502. package/dist/plugin/internal.js +334 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +99 -94
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +161 -160
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +353 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +98 -0
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +225 -225
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +84 -84
  566. package/dist/provider.js +93 -93
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +1 -1
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +98 -98
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +91 -91
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +97 -97
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +132 -132
  581. package/dist/session/context.js +152 -152
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +3 -3
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +153 -153
  589. package/dist/session/history.js +13 -13
  590. package/dist/session/inbox.js +90 -90
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +114 -114
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +208 -208
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +156 -156
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +220 -220
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +125 -125
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +118 -118
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +215 -215
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/webfetch.js +108 -108
  654. package/dist/tool/plugin/websearch.js +110 -110
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/types/effect/app-node-platform.d.ts +1 -2
  661. package/dist/types/plugin/provider/github-copilot.d.ts +10 -1
  662. package/dist/types/plugin/verbosity.d.ts +3 -0
  663. package/dist/types/shell/result.d.ts +5 -1
  664. package/dist/util/error-summary.js +1 -1
  665. package/dist/util/error.js +1 -1
  666. package/dist/util/git-executable.js +2 -2
  667. package/dist/util/iife.js +1 -1
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +5 -5
  674. package/dist/v1/config/attachment.js +4 -4
  675. package/dist/v1/config/command.js +3 -3
  676. package/dist/v1/config/config.js +16 -16
  677. package/dist/v1/config/error.js +2 -2
  678. package/dist/v1/config/formatter.js +3 -3
  679. package/dist/v1/config/layout.js +1 -1
  680. package/dist/v1/config/lsp.js +3 -3
  681. package/dist/v1/config/mcp.js +4 -4
  682. package/dist/v1/config/migrate.js +92 -92
  683. package/dist/v1/config/permission.js +3 -3
  684. package/dist/v1/config/plugin.js +3 -3
  685. package/dist/v1/config/provider-options.js +1 -1
  686. package/dist/v1/config/provider.js +4 -4
  687. package/dist/v1/config/server.js +2 -2
  688. package/dist/v1/config/skills.js +3 -3
  689. package/dist/v1/permission.js +1 -1
  690. package/dist/variant.js +93 -93
  691. package/dist/vcs/patch.js +1 -1
  692. package/dist/vcs.js +89 -89
  693. package/dist/websearch.js +84 -84
  694. package/dist/wellknown/plugin.js +76 -76
  695. package/dist/wellknown.js +79 -79
  696. package/dist/workspace/driver.js +5 -5
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +80 -80
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +10 -10
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +89 -89
  703. package/dist/worktree.js +98 -98
  704. package/package.json +8 -8
  705. package/dist/chunks/event-logger-bnwmzjfq.js +0 -26
  706. package/dist/chunks/event-logger-by5v678g.js +0 -18
  707. package/dist/chunks/event-logger-fh4s07nh.js +0 -252
  708. /package/dist/chunks/{event-logger-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  709. /package/dist/chunks/{event-logger-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  710. /package/dist/chunks/{event-logger-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  711. /package/dist/chunks/{event-logger-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  712. /package/dist/chunks/{event-logger-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  713. /package/dist/chunks/{event-logger-24dcb14g.js → schema-24dcb14g.js} +0 -0
  714. /package/dist/chunks/{event-logger-2710q6r3.js → schema-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{event-logger-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  716. /package/dist/chunks/{event-logger-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{event-logger-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  718. /package/dist/chunks/{event-logger-359p4xyc.js → schema-359p4xyc.js} +0 -0
  719. /package/dist/chunks/{event-logger-3asan66x.js → schema-3asan66x.js} +0 -0
  720. /package/dist/chunks/{event-logger-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  721. /package/dist/chunks/{event-logger-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  722. /package/dist/chunks/{event-logger-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  723. /package/dist/chunks/{event-logger-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  724. /package/dist/chunks/{event-logger-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  725. /package/dist/chunks/{event-logger-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  726. /package/dist/chunks/{event-logger-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  727. /package/dist/chunks/{event-logger-53557ph1.js → schema-53557ph1.js} +0 -0
  728. /package/dist/chunks/{event-logger-550bvhaj.js → schema-550bvhaj.js} +0 -0
  729. /package/dist/chunks/{event-logger-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
  730. /package/dist/chunks/{event-logger-6kdq0pjd.js → schema-6kdq0pjd.js} +0 -0
  731. /package/dist/chunks/{event-logger-6prwharc.js → schema-6prwharc.js} +0 -0
  732. /package/dist/chunks/{event-logger-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  733. /package/dist/chunks/{event-logger-7m9af43g.js → schema-7m9af43g.js} +0 -0
  734. /package/dist/chunks/{event-logger-822emrt2.js → schema-822emrt2.js} +0 -0
  735. /package/dist/chunks/{event-logger-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  736. /package/dist/chunks/{event-logger-8n3pysct.js → schema-8n3pysct.js} +0 -0
  737. /package/dist/chunks/{event-logger-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  738. /package/dist/chunks/{event-logger-922hggd3.js → schema-922hggd3.js} +0 -0
  739. /package/dist/chunks/{event-logger-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  740. /package/dist/chunks/{event-logger-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  741. /package/dist/chunks/{event-logger-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  742. /package/dist/chunks/{event-logger-af5trqkr.js → schema-af5trqkr.js} +0 -0
  743. /package/dist/chunks/{event-logger-afrmfg78.js → schema-afrmfg78.js} +0 -0
  744. /package/dist/chunks/{event-logger-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  745. /package/dist/chunks/{event-logger-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  746. /package/dist/chunks/{event-logger-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  747. /package/dist/chunks/{event-logger-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  748. /package/dist/chunks/{event-logger-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  749. /package/dist/chunks/{event-logger-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  750. /package/dist/chunks/{event-logger-d9fn303g.js → schema-d9fn303g.js} +0 -0
  751. /package/dist/chunks/{event-logger-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  752. /package/dist/chunks/{event-logger-dajrwvna.js → schema-dajrwvna.js} +0 -0
  753. /package/dist/chunks/{event-logger-dap0rakb.js → schema-dap0rakb.js} +0 -0
  754. /package/dist/chunks/{event-logger-df08tz66.js → schema-df08tz66.js} +0 -0
  755. /package/dist/chunks/{event-logger-dy18nga0.js → schema-dy18nga0.js} +0 -0
  756. /package/dist/chunks/{event-logger-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  757. /package/dist/chunks/{event-logger-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  758. /package/dist/chunks/{event-logger-ec1grn59.js → schema-ec1grn59.js} +0 -0
  759. /package/dist/chunks/{event-logger-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  760. /package/dist/chunks/{event-logger-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  761. /package/dist/chunks/{event-logger-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  762. /package/dist/chunks/{event-logger-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  763. /package/dist/chunks/{event-logger-faypxj3z.js → schema-faypxj3z.js} +0 -0
  764. /package/dist/chunks/{event-logger-fd410y7t.js → schema-fd410y7t.js} +0 -0
  765. /package/dist/chunks/{event-logger-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  766. /package/dist/chunks/{event-logger-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  767. /package/dist/chunks/{event-logger-g86h250q.js → schema-g86h250q.js} +0 -0
  768. /package/dist/chunks/{event-logger-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  769. /package/dist/chunks/{event-logger-gftt206x.js → schema-gftt206x.js} +0 -0
  770. /package/dist/chunks/{event-logger-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  771. /package/dist/chunks/{event-logger-hk9envan.js → schema-hk9envan.js} +0 -0
  772. /package/dist/chunks/{event-logger-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  773. /package/dist/chunks/{event-logger-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  774. /package/dist/chunks/{event-logger-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  775. /package/dist/chunks/{event-logger-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  776. /package/dist/chunks/{event-logger-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  777. /package/dist/chunks/{event-logger-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  778. /package/dist/chunks/{event-logger-mp448xyj.js → schema-mp448xyj.js} +0 -0
  779. /package/dist/chunks/{event-logger-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  780. /package/dist/chunks/{event-logger-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  781. /package/dist/chunks/{event-logger-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  782. /package/dist/chunks/{event-logger-njntx4h6.js → schema-njntx4h6.js} +0 -0
  783. /package/dist/chunks/{event-logger-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  784. /package/dist/chunks/{event-logger-q74kybfr.js → schema-q74kybfr.js} +0 -0
  785. /package/dist/chunks/{event-logger-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  786. /package/dist/chunks/{event-logger-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  787. /package/dist/chunks/{event-logger-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  788. /package/dist/chunks/{event-logger-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  789. /package/dist/chunks/{event-logger-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  790. /package/dist/chunks/{event-logger-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  791. /package/dist/chunks/{event-logger-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  792. /package/dist/chunks/{event-logger-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  793. /package/dist/chunks/{event-logger-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  794. /package/dist/chunks/{event-logger-w803qqfp.js → schema-w803qqfp.js} +0 -0
  795. /package/dist/chunks/{event-logger-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  796. /package/dist/chunks/{event-logger-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  797. /package/dist/chunks/{event-logger-wtztk69x.js → schema-wtztk69x.js} +0 -0
  798. /package/dist/chunks/{event-logger-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  799. /package/dist/chunks/{event-logger-x61499pn.js → schema-x61499pn.js} +0 -0
  800. /package/dist/chunks/{event-logger-y44na4kk.js → schema-y44na4kk.js} +0 -0
  801. /package/dist/chunks/{event-logger-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  802. /package/dist/chunks/{event-logger-y8f7s663.js → schema-y8f7s663.js} +0 -0
  803. /package/dist/chunks/{event-logger-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  804. /package/dist/chunks/{event-logger-ym463w8f.js → schema-ym463w8f.js} +0 -0
  805. /package/dist/chunks/{event-logger-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./event-logger-4rzfcrmm.js";
2
+ Service82,
3
+ node86
4
+ } from "./schema-cmsm0fmq.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./event-logger-fv5sjpfb.js";
8
+ } from "./schema-wxnc2egh.js";
9
9
  import {
10
10
  ID10,
11
- Service71,
12
- node75
13
- } from "./event-logger-wsb64f9g.js";
11
+ Service69,
12
+ node73
13
+ } from "./schema-av5dvdst.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./event-logger-ybhbtxjg.js";
16
+ } from "./schema-0e81x99y.js";
17
17
  import {
18
- Service69,
19
- node73
20
- } from "./event-logger-yj0pkhyr.js";
18
+ Service67,
19
+ node70
20
+ } from "./schema-5m1y3qk6.js";
21
21
  import {
22
22
  match2
23
- } from "./event-logger-y1fvbwt7.js";
23
+ } from "./schema-y1fvbwt7.js";
24
24
  import {
25
- Service70,
26
- node74
27
- } from "./event-logger-9agfq1d2.js";
25
+ Service66,
26
+ node69
27
+ } from "./schema-d0e063zs.js";
28
28
  import {
29
- Service72,
30
- node76
31
- } from "./event-logger-4w5f3qm5.js";
29
+ Service68,
30
+ node71
31
+ } from "./schema-4a0nv7mx.js";
32
32
  import {
33
33
  __export
34
- } from "./event-logger-9rqn6x4v.js";
34
+ } from "./schema-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,8 +42,8 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event14,
46
- ID: () => ID8,
45
+ Event: () => Event13,
46
+ ID: () => ID7,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
@@ -51,20 +51,20 @@ __export(exports_permission2, {
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service68,
54
+ Service: () => Service65,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node72
58
+ node: () => node68
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event14 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID8 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID8.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
82
  agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID8,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID8,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID8
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service68 extends Context.Service()("@opencode/Permission") {
128
+ class Service65 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service68, Effect.gen(function* () {
131
- const bus = yield* Service83;
130
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
131
+ const bus = yield* Service82;
132
132
  const location = yield* Service79;
133
- const agents = yield* Service71;
134
- const sessions = yield* Service69;
135
- const saved = yield* Service70;
136
- const hooks = yield* Service72;
133
+ const agents = yield* Service69;
134
+ const sessions = yield* Service67;
135
+ const saved = yield* Service66;
136
+ const hooks = yield* Service68;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID8.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID8.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service68.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service65.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node72 = makeLocationNode({
303
- service: Service68,
302
+ var node68 = makeLocationNode({
303
+ service: Service65,
304
304
  layer,
305
- deps: [node87, node83, node75, node73, node74, node76]
305
+ deps: [node86, node83, node73, node70, node69, node71]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service68, node72, exports_permission2, Rule3, Ruleset2, Event14 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node68, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
9
  make: () => make14,
10
- render: () => render2
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
30
30
 
31
31
  // src/session/system-prompt.ts
32
32
  function make14(tools) {
33
- return render2(system_default, tools);
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render2, exports_system_prompt };
50
+ export { make14, render3, exports_system_prompt };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./event-logger-922hggd3.js";
4
+ } from "./schema-922hggd3.js";
5
5
  import {
6
- Info16
7
- } from "./event-logger-g190xswt.js";
6
+ Info14
7
+ } from "./schema-50mzsvk4.js";
8
8
  import {
9
- Info10
10
- } from "./event-logger-ckfwh0ft.js";
9
+ Info13
10
+ } from "./schema-nbzsj80d.js";
11
11
  import {
12
- Info14
13
- } from "./event-logger-c78bbtc9.js";
12
+ Info16
13
+ } from "./schema-3cfzdc8e.js";
14
14
  import {
15
- Info17
16
- } from "./event-logger-fm2qvscf.js";
15
+ Info10
16
+ } from "./schema-t2fc4mz5.js";
17
17
  import {
18
18
  Info15
19
- } from "./event-logger-j8zzr2am.js";
19
+ } from "./schema-yq2cczkq.js";
20
20
  import {
21
21
  Layout2
22
- } from "./event-logger-21r38tys.js";
22
+ } from "./schema-21r38tys.js";
23
23
  import {
24
- Info12
25
- } from "./event-logger-pf2hb43r.js";
24
+ Info8
25
+ } from "./schema-fng9e0je.js";
26
26
  import {
27
- Info11
28
- } from "./event-logger-s8zy8myc.js";
27
+ Info12
28
+ } from "./schema-hkfg6fzm.js";
29
29
  import {
30
30
  Spec2
31
- } from "./event-logger-2k8khapm.js";
31
+ } from "./schema-7dqw4kz8.js";
32
32
  import {
33
- Info18
34
- } from "./event-logger-jv01nqvq.js";
33
+ Info9
34
+ } from "./schema-qjnxxf51.js";
35
35
  import {
36
36
  Server2
37
- } from "./event-logger-zeh9ct20.js";
37
+ } from "./schema-zeh9ct20.js";
38
38
  import {
39
- Info13
40
- } from "./event-logger-pmr4s4kc.js";
39
+ Info11
40
+ } from "./schema-t9zs3egg.js";
41
41
  import {
42
42
  __export
43
- } from "./event-logger-9rqn6x4v.js";
43
+ } from "./schema-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info9,
49
+ Info: () => Info7,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info9 = Schema.Struct({
62
+ var Info7 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info9 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info17)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info10)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info13).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info11).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,33 +113,33 @@ var Info9 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info10), plan: Schema.optional(Info10) }), [Schema.Record(Schema.String, Info10)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info13), plan: Schema.optional(Info13) }), [Schema.Record(Schema.String, Info13)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info10),
119
- build: Schema.optional(Info10),
120
- general: Schema.optional(Info10),
121
- explore: Schema.optional(Info10),
122
- title: Schema.optional(Info10),
123
- summary: Schema.optional(Info10),
124
- compaction: Schema.optional(Info10)
125
- }), [Schema.Record(Schema.String, Info10)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
118
+ plan: Schema.optional(Info13),
119
+ build: Schema.optional(Info13),
120
+ general: Schema.optional(Info13),
121
+ explore: Schema.optional(Info13),
122
+ title: Schema.optional(Info13),
123
+ summary: Schema.optional(Info13),
124
+ compaction: Schema.optional(Info13)
125
+ }), [Schema.Record(Schema.String, Info13)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info9)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info11, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info12, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
130
  formatter: Schema.optional(Info15).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info12).annotate({
133
+ lsp: Schema.optional(Info8).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info16),
140
+ permission: Schema.optional(Info14),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info14).annotate({
142
+ attachment: Schema.optional(Info16).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info9, exports_config2 };
194
+ export { WellKnown2, Info7, exports_config2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./event-logger-5daktx2q.js";
3
+ } from "./schema-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./event-logger-922hggd3.js";
6
+ } from "./schema-922hggd3.js";
7
7
  import {
8
- ID6,
8
+ ID5,
9
9
  Name2
10
- } from "./event-logger-yjmj8nkq.js";
10
+ } from "./schema-wx7ymqfy.js";
11
11
  import {
12
12
  __export
13
- } from "./event-logger-9rqn6x4v.js";
13
+ } from "./schema-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID6.make(id),
58
+ id: ID5.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service51
4
- } from "./event-logger-f27dyjrk.js";
3
+ Service47
4
+ } from "./schema-d8hz1vnp.js";
5
5
  import {
6
- Service53
7
- } from "./event-logger-zz2qg7p3.js";
6
+ Service36
7
+ } from "./schema-9vhpts05.js";
8
8
  import {
9
9
  observe2
10
- } from "./event-logger-qsdy395h.js";
10
+ } from "./schema-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./event-logger-9rqn6x4v.js";
13
+ } from "./schema-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin35
19
+ Plugin: () => Plugin9
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin35 = define({
23
+ var Plugin9 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service51;
27
- const output = yield* Service53;
26
+ const config = yield* Service47;
27
+ const output = yield* Service36;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin35 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin35, exports_tool_output };
41
+ export { Plugin9, exports_tool_output };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./event-logger-ec1grn59.js";
3
+ } from "./schema-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./event-logger-tdstcens.js";
6
+ } from "./schema-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -122,7 +122,14 @@ var createLLMEventPublisher2 = (bus, input) => {
122
122
  for (const id of Array.from(chunks.keys()))
123
123
  yield* end(id);
124
124
  });
125
- return { start, append, end, flush, has: (id) => chunks.has(id) };
125
+ const publishPending = Effect.fnUntraced(function* () {
126
+ for (const [id, current] of Array.from(chunks)) {
127
+ if (current.timer)
128
+ yield* Fiber.interrupt(current.timer);
129
+ yield* publishDelta(id);
130
+ }
131
+ });
132
+ return { start, append, end, flush, publishPending, has: (id) => chunks.has(id) };
126
133
  };
127
134
  const text = fragments("text", (_textID, value, ordinal, state) => Effect.gen(function* () {
128
135
  yield* bus.publish(SessionEvent2.Text.Ended, {
@@ -167,6 +174,10 @@ var createLLMEventPublisher2 = (bus, input) => {
167
174
  text: value
168
175
  });
169
176
  }));
177
+ const publishPendingDeltas = Effect.fnUntraced(function* () {
178
+ yield* text.publishPending();
179
+ yield* reasoning.publishPending();
180
+ });
170
181
  const flushFragments = Effect.fnUntraced(function* () {
171
182
  yield* text.flush();
172
183
  yield* reasoning.flush();
@@ -184,6 +195,7 @@ var createLLMEventPublisher2 = (bus, input) => {
184
195
  };
185
196
  tools.set(event.id, tool);
186
197
  yield* toolInput.start(event.id);
198
+ yield* publishPendingDeltas();
187
199
  yield* bus.publish(SessionEvent2.Tool.Input.Started, {
188
200
  sessionID: input.sessionID,
189
201
  assistantMessageID,
@@ -278,6 +290,7 @@ var createLLMEventPublisher2 = (bus, input) => {
278
290
  case "text-start":
279
291
  outputStarted = true;
280
292
  const startedTextOrdinal = yield* text.start(event.id, providerState(event.providerMetadata));
293
+ yield* publishPendingDeltas();
281
294
  yield* bus.publish(SessionEvent2.Text.Started, {
282
295
  sessionID: input.sessionID,
283
296
  assistantMessageID: yield* startAssistant(),
@@ -293,6 +306,7 @@ var createLLMEventPublisher2 = (bus, input) => {
293
306
  case "reasoning-start":
294
307
  outputStarted = true;
295
308
  const startedReasoningOrdinal = yield* reasoning.start(event.id, providerState(event.providerMetadata));
309
+ yield* publishPendingDeltas();
296
310
  yield* bus.publish(SessionEvent2.Reasoning.Started, {
297
311
  sessionID: input.sessionID,
298
312
  assistantMessageID: yield* startAssistant(),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./event-logger-qaymkmh1.js";
3
+ } from "./schema-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./event-logger-k36bwha9.js";
3
+ } from "./schema-21fjxxq6.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin6,
11
+ Plugin: () => Plugin25,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint4
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint4 = "https://api.tavily.com/search";
18
+ var endpoint5 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin6 = define({
32
+ var Plugin25 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin6 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin6 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin6, exports_tavily };
80
+ export { endpoint5, Plugin25, exports_tavily };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./event-logger-k36bwha9.js";
3
+ } from "./schema-21fjxxq6.js";
4
4
  import {
5
5
  call2
6
- } from "./event-logger-1ygqh575.js";
6
+ } from "./schema-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./event-logger-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin8,
14
+ Plugin: () => Plugin20,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin8 = define({
40
+ var Plugin20 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin8 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin8 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin8, exports_firecrawl };
80
+ export { endpoint2, Plugin20, exports_firecrawl };