@opencode/core 0.0.0-dev-19936 → 0.0.0-dev-19939

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +76 -76
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{vcs-pakcngh0.js → agent-00x4qneg.js} +8 -8
  8. package/dist/chunks/{vcs-8xyxe0k6.js → agent-036j9pep.js} +9 -9
  9. package/dist/chunks/{vcs-hae7xxqe.js → agent-03heh432.js} +37 -37
  10. package/dist/chunks/{vcs-1rmaqtrx.js → agent-0m0tvs7x.js} +4 -4
  11. package/dist/chunks/{vcs-4v4bfvma.js → agent-0nde5ztd.js} +5 -5
  12. package/dist/chunks/{vcs-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{vcs-0q0f95c6.js → agent-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{vcs-m7ra2w5s.js → agent-0qths4nn.js} +20 -20
  15. package/dist/chunks/{vcs-7d8zg9gx.js → agent-178916dd.js} +8 -8
  16. package/dist/chunks/{vcs-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{vcs-zgs7zzqg.js → agent-1h68bbz1.js} +95 -95
  18. package/dist/chunks/{vcs-3gz6fvbw.js → agent-1jqm4hqw.js} +23 -23
  19. package/dist/chunks/{vcs-mhxfxc91.js → agent-1mhtqdf9.js} +42 -42
  20. package/dist/chunks/{vcs-51b2bmqd.js → agent-1qsp6rhw.js} +42 -42
  21. package/dist/chunks/{vcs-xm8y3y9s.js → agent-1qyqkqe4.js} +22 -22
  22. package/dist/chunks/{vcs-0f2p0cnd.js → agent-1t7nvzsm.js} +10 -10
  23. package/dist/chunks/{vcs-mfqp6xfm.js → agent-1ygqh575.js} +6 -6
  24. package/dist/chunks/{vcs-21r38tys.js → agent-21r38tys.js} +1 -1
  25. package/dist/chunks/{vcs-6h73sxmp.js → agent-2402vzrj.js} +5 -5
  26. package/dist/chunks/{vcs-df2ntcbh.js → agent-2421mgk7.js} +14 -14
  27. package/dist/chunks/{vcs-tr206bvd.js → agent-273f65v8.js} +37 -37
  28. package/dist/chunks/{vcs-d00kjjsm.js → agent-27s8bqjz.js} +7 -7
  29. package/dist/chunks/{vcs-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{vcs-rbnp9ynp.js → agent-2ajemesj.js} +30 -30
  31. package/dist/chunks/{vcs-j15mfg1p.js → agent-2d57kztd.js} +6 -6
  32. package/dist/chunks/{vcs-emnb89zc.js → agent-2dd34nca.js} +15 -15
  33. package/dist/chunks/{vcs-k9avtbwf.js → agent-2e96adxv.js} +6 -6
  34. package/dist/chunks/{vcs-csxdrzv8.js → agent-2gbsvbx5.js} +12 -12
  35. package/dist/chunks/{vcs-7dqw4kz8.js → agent-2k8khapm.js} +5 -5
  36. package/dist/chunks/{vcs-5d607bsg.js → agent-2sejkfem.js} +9 -9
  37. package/dist/chunks/{vcs-qg6dnfrp.js → agent-2yc73x9z.js} +14 -14
  38. package/dist/chunks/{vcs-6ta9z22m.js → agent-348gb89b.js} +30 -30
  39. package/dist/chunks/{vcs-2amj1e7d.js → agent-34gj4vpn.js} +20 -20
  40. package/dist/chunks/{vcs-812nv9mx.js → agent-35zpsenw.js} +21 -21
  41. package/dist/chunks/{vcs-4327cfd7.js → agent-36x1j5qv.js} +8 -8
  42. package/dist/chunks/{vcs-3qaj82j9.js → agent-3801kdgp.js} +5 -5
  43. package/dist/chunks/{vcs-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{vcs-qzn4r9yc.js → agent-3g2nmk79.js} +31 -31
  45. package/dist/chunks/{vcs-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{vcs-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{vcs-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{vcs-3cfzdc8e.js → agent-3w2b2yj4.js} +5 -5
  49. package/dist/chunks/{vcs-yq9bb241.js → agent-3y8yawqa.js} +16 -16
  50. package/dist/chunks/{vcs-ky36v99m.js → agent-408rqjm7.js} +11 -11
  51. package/dist/chunks/{vcs-wnjpenje.js → agent-40ttqsg0.js} +7 -7
  52. package/dist/chunks/{vcs-w6bagakh.js → agent-43zyxgq8.js} +1 -1
  53. package/dist/chunks/{vcs-rc2k9h5j.js → agent-4h52jw7j.js} +22 -22
  54. package/dist/chunks/{vcs-z2qvtray.js → agent-4ns3h2re.js} +6 -6
  55. package/dist/chunks/{vcs-x5whvs7g.js → agent-5544h6er.js} +13 -13
  56. package/dist/chunks/{vcs-47b46ckc.js → agent-5758n57s.js} +16 -16
  57. package/dist/chunks/{vcs-57ez7d0k.js → agent-57ez7d0k.js} +2 -2
  58. package/dist/chunks/{vcs-jgtdf2ky.js → agent-5akn35ws.js} +8 -8
  59. package/dist/chunks/{vcs-5c4hm403.js → agent-5c4hm403.js} +3 -3
  60. package/dist/chunks/{vcs-5daktx2q.js → agent-5daktx2q.js} +1 -1
  61. package/dist/chunks/{vcs-b78gz254.js → agent-5dr2wz0s.js} +16 -16
  62. package/dist/chunks/{vcs-1nb1b4r0.js → agent-5e7r050g.js} +1 -1
  63. package/dist/chunks/{vcs-4sgj07f0.js → agent-5h6kfehj.js} +3 -3
  64. package/dist/chunks/{vcs-29pcd0xy.js → agent-5pvas20d.js} +6 -6
  65. package/dist/chunks/{vcs-39zd88tj.js → agent-5sqqcv2m.js} +27 -27
  66. package/dist/chunks/{vcs-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{vcs-3b9j3znx.js → agent-5taftw3n.js} +9 -9
  68. package/dist/chunks/{vcs-8jrz81g3.js → agent-5zs99abn.js} +10 -10
  69. package/dist/chunks/{vcs-tk9vbt1t.js → agent-60ng53x8.js} +9 -9
  70. package/dist/chunks/{vcs-669tq793.js → agent-669tq793.js} +1 -1
  71. package/dist/chunks/{vcs-hx4rvhe7.js → agent-6f2v6d3h.js} +13 -13
  72. package/dist/chunks/{vcs-wad31dta.js → agent-6h3wybc7.js} +6 -6
  73. package/dist/chunks/{vcs-hk0qcfr9.js → agent-6hft2jmv.js} +4 -4
  74. package/dist/chunks/{vcs-0hy412gj.js → agent-6hvxcsy0.js} +11 -11
  75. package/dist/chunks/agent-6kdq0pjd.js +4 -0
  76. package/dist/chunks/{vcs-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{vcs-vqnj8dxw.js → agent-6nfzt672.js} +11 -11
  78. package/dist/chunks/{vcs-jdbkxndk.js → agent-6x899grp.js} +9 -9
  79. package/dist/chunks/{vcs-2ketmxte.js → agent-75hzh59n.js} +4 -4
  80. package/dist/chunks/{vcs-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{vcs-pstxsap6.js → agent-7fqa2d9w.js} +22 -22
  82. package/dist/chunks/{vcs-xa75ctwz.js → agent-7gvs7gck.js} +25 -25
  83. package/dist/chunks/{vcs-bg1f9jg4.js → agent-7t7d5q2p.js} +8 -8
  84. package/dist/chunks/{vcs-zj09a0ew.js → agent-7z7az0f5.js} +4 -4
  85. package/dist/chunks/{vcs-4dq7w5d5.js → agent-81eajdsq.js} +15 -15
  86. package/dist/chunks/{vcs-h6y08xfm.js → agent-85xfn293.js} +6 -6
  87. package/dist/chunks/{vcs-tcezcvh9.js → agent-89znhe33.js} +4 -4
  88. package/dist/chunks/{vcs-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{vcs-5pfc8d83.js → agent-8qvkbm9p.js} +4 -4
  90. package/dist/chunks/{vcs-rtxfz5fz.js → agent-8r83crvb.js} +19 -19
  91. package/dist/chunks/{vcs-qsaqrdx1.js → agent-9aaedtqt.js} +11 -11
  92. package/dist/chunks/{vcs-7y8kks1y.js → agent-9gfem6tc.js} +3 -3
  93. package/dist/chunks/{vcs-f003b7jf.js → agent-9kz8gdr8.js} +9 -9
  94. package/dist/chunks/{vcs-srmpna97.js → agent-a3n0gq8j.js} +11 -11
  95. package/dist/chunks/{vcs-aaet6srn.js → agent-aaet6srn.js} +2 -2
  96. package/dist/chunks/{vcs-zcdeq6ts.js → agent-abxv7css.js} +14 -14
  97. package/dist/chunks/{vcs-0jvye1j3.js → agent-afbgadfc.js} +36 -36
  98. package/dist/chunks/{vcs-wmgzx6be.js → agent-ak1tpw6q.js} +2 -2
  99. package/dist/chunks/{vcs-akmzmx51.js → agent-as7cad1b.js} +9 -9
  100. package/dist/chunks/{vcs-6hh8tjw2.js → agent-b27vhd2z.js} +4 -4
  101. package/dist/chunks/{vcs-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{vcs-7h67ny3t.js → agent-b7b1bvw5.js} +89 -89
  103. package/dist/chunks/{vcs-fmrwzk15.js → agent-bcwpxhz1.js} +5 -5
  104. package/dist/chunks/{vcs-19k94sh9.js → agent-bd3mgvaw.js} +5 -5
  105. package/dist/chunks/{vcs-ya6x4a7c.js → agent-bkyn6bwe.js} +43 -43
  106. package/dist/chunks/{vcs-az8a6wh9.js → agent-bp4eqg1s.js} +41 -41
  107. package/dist/chunks/{vcs-fydb8hdh.js → agent-bv2m8j2f.js} +12 -12
  108. package/dist/chunks/{vcs-9qdxdzys.js → agent-c0mr470r.js} +17 -17
  109. package/dist/chunks/{vcs-ecdgphmt.js → agent-c85qzh5t.js} +18 -18
  110. package/dist/chunks/{vcs-j18p6by6.js → agent-c9rn2ffm.js} +33 -33
  111. package/dist/chunks/{vcs-tz4n1mmd.js → agent-ckf8nxjz.js} +4 -4
  112. package/dist/chunks/{vcs-a4ygzzn7.js → agent-cpvt4mkc.js} +1 -1
  113. package/dist/chunks/{vcs-g2y5hfts.js → agent-cqtv3ntd.js} +32 -32
  114. package/dist/chunks/{vcs-jksx53dk.js → agent-cwp77bqy.js} +32 -32
  115. package/dist/chunks/{vcs-hkfg6fzm.js → agent-d2aac7k2.js} +5 -5
  116. package/dist/chunks/{vcs-bep0w5gt.js → agent-d4sp9rf7.js} +6 -6
  117. package/dist/chunks/{vcs-hr8jfkms.js → agent-d6jhtwvw.js} +22 -22
  118. package/dist/chunks/{vcs-dbbj9rpz.js → agent-d72aarx9.js} +15 -15
  119. package/dist/chunks/{vcs-caqaq1fh.js → agent-d7b96y43.js} +17 -17
  120. package/dist/chunks/{vcs-z0aj456m.js → agent-d858xzj7.js} +4 -4
  121. package/dist/chunks/{vcs-yfdygd1b.js → agent-ddjv2rf1.js} +43 -43
  122. package/dist/chunks/{vcs-x7pnhj05.js → agent-dfmg44zt.js} +17 -17
  123. package/dist/chunks/{vcs-dj2t23y0.js → agent-dj2t23y0.js} +2 -2
  124. package/dist/chunks/{vcs-0ekmhm49.js → agent-dv7xn15p.js} +22 -22
  125. package/dist/chunks/{vcs-3kkapxkb.js → agent-dv98y0zm.js} +32 -32
  126. package/dist/chunks/{vcs-51sx1yec.js → agent-dxk73e61.js} +11 -11
  127. package/dist/chunks/{vcs-5rj8bxsq.js → agent-e4q8186z.js} +3 -3
  128. package/dist/chunks/agent-eceerw08.js +252 -0
  129. package/dist/chunks/{vcs-1ev0r8qr.js → agent-edf18fwt.js} +26 -26
  130. package/dist/chunks/{vcs-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{vcs-zhk3mejr.js → agent-eqfk2yd1.js} +8 -8
  132. package/dist/chunks/{vcs-p7a39gy5.js → agent-eqkxs06z.js} +6 -6
  133. package/dist/chunks/{vcs-sr0e3xdc.js → agent-ercet7pm.js} +10 -10
  134. package/dist/chunks/{vcs-erw5rpbs.js → agent-erw5rpbs.js} +2 -2
  135. package/dist/chunks/{vcs-ycnz6d4p.js → agent-esjpzfqh.js} +16 -16
  136. package/dist/chunks/{vcs-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{vcs-gb5fbz62.js → agent-eyxhp5jq.js} +20 -20
  138. package/dist/chunks/{vcs-h189dv89.js → agent-f7xr7q4y.js} +24 -24
  139. package/dist/chunks/{vcs-fab8hzt3.js → agent-fab8hzt3.js} +4 -4
  140. package/dist/chunks/{vcs-mpqf5yw5.js → agent-fb6r9czn.js} +20 -20
  141. package/dist/chunks/{vcs-3v5p2af4.js → agent-fex5691d.js} +6 -6
  142. package/dist/chunks/{vcs-b8ph01mp.js → agent-fhsfb5wx.js} +20 -20
  143. package/dist/chunks/{vcs-dr8rk799.js → agent-fkf189j2.js} +7 -7
  144. package/dist/chunks/{vcs-6ryx9ps2.js → agent-fpx40r7k.js} +16 -16
  145. package/dist/chunks/{vcs-bt6xph39.js → agent-fwgtty9p.js} +9 -9
  146. package/dist/chunks/{vcs-fxbjtjnd.js → agent-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{vcs-z9e3n7tj.js → agent-g3dvzzsn.js} +17 -17
  148. package/dist/chunks/{vcs-bbcxste1.js → agent-g71wmdzk.js} +145 -145
  149. package/dist/chunks/{vcs-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{vcs-7mwckwg9.js → agent-geknskw0.js} +29 -29
  151. package/dist/chunks/{vcs-9r3s6h1d.js → agent-gf7f2369.js} +8 -8
  152. package/dist/chunks/{vcs-2mpk35kb.js → agent-ggcsatw5.js} +3 -3
  153. package/dist/chunks/{vcs-sjpq2v3x.js → agent-gsdsh762.js} +12 -12
  154. package/dist/chunks/{vcs-gv6a8nnw.js → agent-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{vcs-w0173919.js → agent-gw84rn5c.js} +30 -30
  156. package/dist/chunks/{vcs-k0w3k13e.js → agent-gxzbat11.js} +32 -32
  157. package/dist/chunks/{vcs-9q2xgg2a.js → agent-h5wn60w9.js} +4 -4
  158. package/dist/chunks/{vcs-fvmzft5f.js → agent-h6b8nah8.js} +4 -4
  159. package/dist/chunks/{vcs-h6r3nrb9.js → agent-h6r3nrb9.js} +1 -1
  160. package/dist/chunks/{vcs-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{vcs-hdnk95c8.js → agent-hdnk95c8.js} +2 -2
  162. package/dist/chunks/{vcs-0x71c255.js → agent-hra2zf6w.js} +10 -10
  163. package/dist/chunks/{vcs-z5cw6b3r.js → agent-hrekjq5z.js} +15 -15
  164. package/dist/chunks/{vcs-jz609cgm.js → agent-hvge4a7b.js} +30 -30
  165. package/dist/chunks/{vcs-j56e64zr.js → agent-j56e64zr.js} +1 -1
  166. package/dist/chunks/{vcs-k3c624dm.js → agent-k3c624dm.js} +3 -3
  167. package/dist/chunks/{vcs-w3jg838k.js → agent-k7myrtme.js} +9 -9
  168. package/dist/chunks/{vcs-b6d70fxy.js → agent-k8awv4zh.js} +2 -2
  169. package/dist/chunks/{vcs-knb7evpn.js → agent-k9kj6xed.js} +6 -6
  170. package/dist/chunks/{vcs-a54p35w8.js → agent-kbsfj81n.js} +18 -18
  171. package/dist/chunks/{vcs-jbvv2m36.js → agent-kcjc17br.js} +13 -13
  172. package/dist/chunks/{vcs-8tpp31a7.js → agent-kfgkb3w8.js} +1 -1
  173. package/dist/chunks/{vcs-km3nayh5.js → agent-m0cf690c.js} +17 -17
  174. package/dist/chunks/{vcs-m0jqrx5p.js → agent-m0jqrx5p.js} +2 -2
  175. package/dist/chunks/{vcs-6kga2vek.js → agent-m2k0n4kz.js} +30 -30
  176. package/dist/chunks/{vcs-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{vcs-z6xvyrz8.js → agent-m85h0kfj.js} +2 -2
  178. package/dist/chunks/{vcs-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{vcs-f3ngv102.js → agent-magykp64.js} +4 -4
  180. package/dist/chunks/{vcs-m4fq2941.js → agent-mf1nywb3.js} +23 -23
  181. package/dist/chunks/{vcs-xn3k6s4r.js → agent-mhh2wvta.js} +16 -16
  182. package/dist/chunks/{vcs-j028xdjb.js → agent-mhkvc446.js} +3 -3
  183. package/dist/chunks/{vcs-yrwszt74.js → agent-mjhmz48d.js} +26 -26
  184. package/dist/chunks/{vcs-pv91942f.js → agent-mjq5y8n2.js} +3 -3
  185. package/dist/chunks/{vcs-06dxphr1.js → agent-msq0jde0.js} +4 -4
  186. package/dist/chunks/{vcs-f3dknz62.js → agent-na3cbkd8.js} +46 -46
  187. package/dist/chunks/{vcs-nng2ktcm.js → agent-nng2ktcm.js} +2 -2
  188. package/dist/chunks/{vcs-16p9b2hb.js → agent-np2d4m60.js} +18 -18
  189. package/dist/chunks/{vcs-9satqzp7.js → agent-nrm6eza0.js} +6 -6
  190. package/dist/chunks/{vcs-p5k1ykss.js → agent-nv0zfvs3.js} +75 -75
  191. package/dist/chunks/{vcs-hkezz57s.js → agent-nxnb0v57.js} +5 -5
  192. package/dist/chunks/{vcs-p28j5sbe.js → agent-p28j5sbe.js} +2 -2
  193. package/dist/chunks/{vcs-zvkdwvzy.js → agent-p3gycn8b.js} +13 -13
  194. package/dist/chunks/{vcs-3hfr6h8q.js → agent-pa8pe2x7.js} +6 -6
  195. package/dist/chunks/{vcs-3pbjq009.js → agent-pb1eahw5.js} +8 -8
  196. package/dist/chunks/{vcs-ghp0w54x.js → agent-phr2avsp.js} +10 -10
  197. package/dist/chunks/{vcs-hngd1esa.js → agent-pj88hhxz.js} +14 -14
  198. package/dist/chunks/{vcs-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{vcs-pknna89w.js → agent-pknna89w.js} +1 -1
  200. package/dist/chunks/{vcs-bz85s9hh.js → agent-pstg3rfm.js} +1 -1
  201. package/dist/chunks/{vcs-es4mmrw2.js → agent-psw0wqrt.js} +20 -20
  202. package/dist/chunks/{vcs-pzn0jms3.js → agent-ptadzx8h.js} +12 -12
  203. package/dist/chunks/{vcs-88xe3h0x.js → agent-py6xadtm.js} +37 -37
  204. package/dist/chunks/{vcs-avdnydw5.js → agent-q06j225y.js} +32 -32
  205. package/dist/chunks/{vcs-70gcdeha.js → agent-q2q7z127.js} +30 -30
  206. package/dist/chunks/{vcs-tk4ydb92.js → agent-q5qvysx4.js} +9 -9
  207. package/dist/chunks/{vcs-gs3s1a1g.js → agent-qby9dwvd.js} +8 -8
  208. package/dist/chunks/{vcs-j3s2z371.js → agent-qg0jgkcp.js} +9 -9
  209. package/dist/chunks/{vcs-yjptyezs.js → agent-qn4ba14w.js} +5 -5
  210. package/dist/chunks/{vcs-qsdy395h.js → agent-qsdy395h.js} +1 -1
  211. package/dist/chunks/{vcs-v2j8ahbr.js → agent-qyjnxv1z.js} +1 -1
  212. package/dist/chunks/{vcs-1earv0bc.js → agent-r23bba5b.js} +31 -31
  213. package/dist/chunks/{vcs-qxnmhf0h.js → agent-r8d6a4tf.js} +28 -28
  214. package/dist/chunks/{vcs-yp2x3t23.js → agent-r8xr0va3.js} +4 -4
  215. package/dist/chunks/agent-rap9a73h.js +18 -0
  216. package/dist/chunks/{vcs-k5ssnk24.js → agent-rbbtr4pm.js} +10 -10
  217. package/dist/chunks/{vcs-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{vcs-rhjbct0v.js → agent-rhjbct0v.js} +1 -1
  219. package/dist/chunks/{vcs-f9hj67e2.js → agent-rvs7jmzp.js} +45 -45
  220. package/dist/chunks/{vcs-zg80xw90.js → agent-rz1656kd.js} +313 -313
  221. package/dist/chunks/{vcs-wh3mwy9y.js → agent-s0agc963.js} +8 -8
  222. package/dist/chunks/{vcs-w170pgjs.js → agent-s2jjmt0q.js} +6 -6
  223. package/dist/chunks/{vcs-rtybfwtv.js → agent-s2v47wsv.js} +9 -9
  224. package/dist/chunks/{vcs-dx0dvesr.js → agent-sm46077v.js} +18 -18
  225. package/dist/chunks/{vcs-1g3fsypj.js → agent-sr79cq9d.js} +11 -11
  226. package/dist/chunks/{vcs-7xysjcne.js → agent-stv5gz7c.js} +13 -13
  227. package/dist/chunks/{vcs-5qkxfyep.js → agent-sv3vsz9b.js} +6 -6
  228. package/dist/chunks/{vcs-vncycja5.js → agent-t9zs3egg.js} +4 -4
  229. package/dist/chunks/{vcs-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{vcs-tdstcens.js → agent-tdstcens.js} +1 -1
  231. package/dist/chunks/{vcs-tvtrv512.js → agent-tvtrv512.js} +1 -1
  232. package/dist/chunks/{vcs-96a94ynr.js → agent-v452jk09.js} +21 -21
  233. package/dist/chunks/{vcs-veqvce7d.js → agent-veqvce7d.js} +1 -1
  234. package/dist/chunks/{vcs-gm22bbjf.js → agent-vfyx1xy1.js} +24 -24
  235. package/dist/chunks/{vcs-jm1eh7vn.js → agent-vg3tvwdk.js} +20 -20
  236. package/dist/chunks/{vcs-5b4qx53s.js → agent-vgmb0hzp.js} +24 -24
  237. package/dist/chunks/{vcs-7bx1v618.js → agent-vhvn8xxs.js} +25 -25
  238. package/dist/chunks/{vcs-cwd41q9p.js → agent-vk3p7bbt.js} +11 -11
  239. package/dist/chunks/{vcs-abp10mhy.js → agent-vwpw6jr3.js} +50 -50
  240. package/dist/chunks/{vcs-4ezb7q2p.js → agent-vx884nfc.js} +24 -24
  241. package/dist/chunks/{vcs-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{vcs-jwxzbpf5.js → agent-w28840qy.js} +13 -13
  243. package/dist/chunks/{vcs-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{vcs-3zssdy64.js → agent-w9rjmhg2.js} +18 -18
  245. package/dist/chunks/{vcs-cmapt9ge.js → agent-wavj6ccy.js} +13 -13
  246. package/dist/chunks/{vcs-jetea0vp.js → agent-wavy99wc.js} +11 -11
  247. package/dist/chunks/{vcs-wd87259q.js → agent-wd87259q.js} +1 -1
  248. package/dist/chunks/agent-wgj0x3s5.js +26 -0
  249. package/dist/chunks/{vcs-j72e7fz8.js → agent-wh950sxe.js} +10 -10
  250. package/dist/chunks/{vcs-r9w3djhf.js → agent-wk5z6jzv.js} +9 -9
  251. package/dist/chunks/{vcs-2pe4qx6f.js → agent-wmvgvm9g.js} +7 -7
  252. package/dist/chunks/{vcs-8r5e5k2b.js → agent-wrrgj8p2.js} +32 -32
  253. package/dist/chunks/{vcs-c0f5yvkw.js → agent-ww76mnf4.js} +35 -35
  254. package/dist/chunks/{vcs-h8cmfs3y.js → agent-wyx8ky32.js} +18 -18
  255. package/dist/chunks/{vcs-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{vcs-0h9cdpmt.js → agent-x9hcbvs5.js} +17 -17
  257. package/dist/chunks/{vcs-0eaen06d.js → agent-x9s20f53.js} +47 -47
  258. package/dist/chunks/{vcs-drwq78ky.js → agent-xfkkasph.js} +4 -4
  259. package/dist/chunks/{vcs-wrgbtw9m.js → agent-xgec815d.js} +24 -24
  260. package/dist/chunks/{vcs-h9hj8dvh.js → agent-xm6kpq0w.js} +21 -21
  261. package/dist/chunks/{vcs-nawy2c6h.js → agent-xr4jxd3n.js} +26 -26
  262. package/dist/chunks/{vcs-fnrq1gfx.js → agent-xryzejns.js} +3 -3
  263. package/dist/chunks/{vcs-2y4j37hv.js → agent-xxcf9j2r.js} +8 -8
  264. package/dist/chunks/{vcs-1129d28p.js → agent-xy5p8xg6.js} +23 -23
  265. package/dist/chunks/{vcs-pc0mvq6d.js → agent-xydn9a3q.js} +60 -60
  266. package/dist/chunks/{vcs-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{vcs-1v6wmkfd.js → agent-y5df08dr.js} +12 -12
  268. package/dist/chunks/{vcs-tcfhdmjk.js → agent-y68y97fv.js} +13 -13
  269. package/dist/chunks/{vcs-dpkg50ah.js → agent-y71avatq.js} +4 -4
  270. package/dist/chunks/{vcs-9zt3rpbx.js → agent-y8zr9mrm.js} +11 -11
  271. package/dist/chunks/{vcs-c5sgv8bh.js → agent-yhykjk6q.js} +27 -27
  272. package/dist/chunks/{vcs-v4hh2g4f.js → agent-ykcyj6g6.js} +11 -11
  273. package/dist/chunks/{vcs-06h4x05t.js → agent-ymf79dpk.js} +6 -6
  274. package/dist/chunks/{vcs-4e3rb2jf.js → agent-ynx1zemv.js} +24 -24
  275. package/dist/chunks/{vcs-g5fx37j3.js → agent-yp1ctj3c.js} +10 -10
  276. package/dist/chunks/{vcs-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{vcs-yrznvahk.js → agent-yrznvahk.js} +2 -2
  278. package/dist/chunks/{vcs-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{vcs-7fmqyxrg.js → agent-z1gnkr1t.js} +6 -6
  280. package/dist/chunks/{vcs-14b7wbmv.js → agent-z24rsk7e.js} +37 -37
  281. package/dist/chunks/{vcs-z63w68vq.js → agent-z63w68vq.js} +2 -2
  282. package/dist/chunks/{vcs-zeh9ct20.js → agent-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{vcs-2zh6qkk0.js → agent-zh9a0jmt.js} +9 -9
  284. package/dist/chunks/{vcs-rffnqpzc.js → agent-zqq6ndec.js} +49 -49
  285. package/dist/chunks/{vcs-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{vcs-wa9tvrt4.js → agent-zryg9yjn.js} +18 -18
  287. package/dist/chunks/{vcs-cgqr5041.js → agent-zwmb00wq.js} +17 -17
  288. package/dist/chunks/{vcs-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +78 -78
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +125 -125
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +76 -76
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +220 -220
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +107 -107
  428. package/dist/form.js +73 -73
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +79 -79
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +123 -123
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +106 -106
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +3 -3
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +5 -5
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +119 -119
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +73 -73
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +6 -6
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +4 -4
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +228 -228
  557. package/dist/project/schema.js +2 -2
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +83 -83
  560. package/dist/provider.js +92 -92
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +3 -3
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +3 -3
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +223 -223
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +152 -152
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +89 -89
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +1 -1
  608. package/dist/session/session.js +171 -171
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +74 -74
  613. package/dist/session/store.js +86 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +207 -207
  616. package/dist/session/system-prompt.js +3 -3
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +220 -220
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +213 -213
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +15 -15
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +111 -111
  630. package/dist/snapshot.js +90 -90
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +102 -102
  642. package/dist/tool/plugin/read.js +122 -122
  643. package/dist/tool/plugin/shell.js +216 -216
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +210 -210
  646. package/dist/tool/plugin/webfetch.js +103 -103
  647. package/dist/tool/plugin/websearch.js +107 -107
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +5 -5
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +81 -81
  683. package/dist/wellknown/plugin.js +73 -73
  684. package/dist/wellknown.js +76 -76
  685. package/dist/workspace/driver.js +5 -5
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/vcs-0mesazry.js +0 -4
  695. package/dist/chunks/vcs-4v7qdvcn.js +0 -18
  696. package/dist/chunks/vcs-5sp2ncag.js +0 -26
  697. package/dist/chunks/vcs-ba8pdmgh.js +0 -252
  698. /package/dist/chunks/{vcs-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{vcs-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{vcs-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{vcs-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{vcs-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{vcs-24dcb14g.js → agent-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{vcs-2710q6r3.js → agent-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{vcs-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{vcs-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{vcs-359p4xyc.js → agent-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{vcs-3asan66x.js → agent-3asan66x.js} +0 -0
  709. /package/dist/chunks/{vcs-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{vcs-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{vcs-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{vcs-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{vcs-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{vcs-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{vcs-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{vcs-53557ph1.js → agent-53557ph1.js} +0 -0
  717. /package/dist/chunks/{vcs-550bvhaj.js → agent-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{vcs-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{vcs-6prwharc.js → agent-6prwharc.js} +0 -0
  720. /package/dist/chunks/{vcs-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{vcs-7m9af43g.js → agent-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{vcs-7w99qc9d.js → agent-7w99qc9d.js} +0 -0
  723. /package/dist/chunks/{vcs-822emrt2.js → agent-822emrt2.js} +0 -0
  724. /package/dist/chunks/{vcs-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{vcs-8n3pysct.js → agent-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{vcs-922hggd3.js → agent-922hggd3.js} +0 -0
  727. /package/dist/chunks/{vcs-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{vcs-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{vcs-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{vcs-af5trqkr.js → agent-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{vcs-afrmfg78.js → agent-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{vcs-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{vcs-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{vcs-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{vcs-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{vcs-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{vcs-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{vcs-d9fn303g.js → agent-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{vcs-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{vcs-dajrwvna.js → agent-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{vcs-dap0rakb.js → agent-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{vcs-df08tz66.js → agent-df08tz66.js} +0 -0
  743. /package/dist/chunks/{vcs-dy18nga0.js → agent-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{vcs-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{vcs-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{vcs-ec1grn59.js → agent-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{vcs-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{vcs-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{vcs-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{vcs-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{vcs-faypxj3z.js → agent-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{vcs-fd410y7t.js → agent-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{vcs-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{vcs-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{vcs-g86h250q.js → agent-g86h250q.js} +0 -0
  756. /package/dist/chunks/{vcs-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{vcs-gftt206x.js → agent-gftt206x.js} +0 -0
  758. /package/dist/chunks/{vcs-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{vcs-hk9envan.js → agent-hk9envan.js} +0 -0
  760. /package/dist/chunks/{vcs-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{vcs-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{vcs-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{vcs-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{vcs-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{vcs-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{vcs-mp448xyj.js → agent-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{vcs-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{vcs-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{vcs-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{vcs-njntx4h6.js → agent-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{vcs-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{vcs-q74kybfr.js → agent-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{vcs-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{vcs-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{vcs-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{vcs-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{vcs-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{vcs-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{vcs-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{vcs-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{vcs-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{vcs-twg0f83k.js → agent-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{vcs-w803qqfp.js → agent-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{vcs-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{vcs-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{vcs-wtztk69x.js → agent-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{vcs-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{vcs-x61499pn.js → agent-x61499pn.js} +0 -0
  789. /package/dist/chunks/{vcs-y44na4kk.js → agent-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{vcs-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{vcs-y8f7s663.js → agent-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{vcs-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{vcs-ym463w8f.js → agent-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{vcs-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./vcs-b78gz254.js";
2
+ Service82,
3
+ node86
4
+ } from "./agent-5dr2wz0s.js";
5
5
  import {
6
- Service32,
7
- node35
8
- } from "./vcs-f9hj67e2.js";
6
+ Service38,
7
+ node41
8
+ } from "./agent-rvs7jmzp.js";
9
9
  import {
10
- Service66,
11
- node69
12
- } from "./vcs-rffnqpzc.js";
10
+ Service61,
11
+ node64
12
+ } from "./agent-zqq6ndec.js";
13
13
  import {
14
- Service43,
15
- node45
16
- } from "./vcs-4e3rb2jf.js";
14
+ Service40,
15
+ node43
16
+ } from "./agent-ynx1zemv.js";
17
17
  import {
18
18
  __export
19
- } from "./vcs-9rqn6x4v.js";
19
+ } from "./agent-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service31,
25
+ Service: () => Service35,
26
26
  layer: () => layer12,
27
- name: () => name14,
27
+ name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node34
29
+ node: () => node38
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service31 extends Context.Service()("@opencode/McpTool") {
38
+ class Service35 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service31, Effect.gen(function* () {
41
- const mcp = yield* Service32;
42
- const tools = yield* Service43;
43
- const bus = yield* Service81;
44
- const permission = yield* Service66;
40
+ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
41
+ const mcp = yield* Service38;
42
+ const tools = yield* Service40;
43
+ const bus = yield* Service82;
44
+ const permission = yield* Service61;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name14(tool.server, tool.name),
59
+ action: name13(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service35.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node34 = makeLocationNode({
124
- service: Service31,
123
+ var node38 = makeLocationNode({
124
+ service: Service35,
125
125
  layer: layer12,
126
- deps: [node45, node35, node85, node69]
126
+ deps: [node43, node41, node86, node64]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service31, layer12, node34, exports_mcp3 };
129
+ export { namespace2, name13, Service35, layer12, node38, exports_mcp3 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry4,
11
- Info: () => Info15,
10
+ Entry: () => Entry3,
11
+ Info: () => Info17,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry4 = Schema.Union([
19
+ var Entry3 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info15, exports_lsp };
84
+ export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info17, exports_lsp };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./vcs-hngd1esa.js";
2
+ Service79,
3
+ node83
4
+ } from "./agent-pj88hhxz.js";
5
5
  import {
6
6
  create3
7
- } from "./vcs-rdw6cm16.js";
7
+ } from "./agent-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service13,
17
- node: () => node15
16
+ Service: () => Service14,
17
+ node: () => node16
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service13 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service14 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service13, Effect.gen(function* () {
27
- const location = yield* Service78;
26
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
27
+ const location = yield* Service79;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service13.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service14.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node15 = makeLocationNode({
91
- service: Service13,
90
+ var node16 = makeLocationNode({
91
+ service: Service14,
92
92
  layer,
93
- deps: [node82, AppProcess.node]
93
+ deps: [node83, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service13, node15, exports_formatter2 };
96
+ export { Service14, node16, exports_formatter2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./vcs-gftt206x.js";
3
+ } from "./agent-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./vcs-7w99qc9d.js";
6
+ } from "./agent-7w99qc9d.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./agent-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error2 = {};
@@ -19,7 +19,7 @@ __export(exports_error2, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError9,
22
+ NotFoundError: () => NotFoundError8,
23
23
  PromptConflictError: () => PromptConflictError2,
24
24
  SessionErrors: () => exports_error2,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
126
+ export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./vcs-gd4qta3r.js";
3
+ } from "./agent-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./vcs-tvtrv512.js";
6
+ } from "./agent-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./vcs-rdw6cm16.js";
9
+ } from "./agent-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./vcs-9rqn6x4v.js";
12
+ } from "./agent-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service83,
21
+ Service: () => Service49,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node87
23
+ node: () => node53
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service83 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service49 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service83, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service83.of({
125
+ return Service49.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node87 = makeLocationNode({
143
- service: Service83,
142
+ var node53 = makeLocationNode({
143
+ service: Service49,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service83, node87, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service49, node53, exports_tool_output2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options9,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options9, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./vcs-rdw6cm16.js";
3
+ } from "./agent-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service5,
13
- node: () => node6
12
+ Service: () => Service11,
13
+ node: () => node13
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service5, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service5.of({
44
+ return Service11.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node6 = makeLocationNode({ service: Service5, layer, deps: [] });
51
+ var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
52
52
 
53
- export { Service5, node6, exports_location_watcher_policy };
53
+ export { Service11, node13, exports_location_watcher_policy };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service81
3
- } from "./vcs-b78gz254.js";
2
+ Service82
3
+ } from "./agent-5dr2wz0s.js";
4
4
  import {
5
5
  key2
6
- } from "./vcs-h6r3nrb9.js";
6
+ } from "./agent-h6r3nrb9.js";
7
7
  import {
8
8
  Event19
9
- } from "./vcs-x7pnhj05.js";
9
+ } from "./agent-dfmg44zt.js";
10
10
  import {
11
11
  ID14
12
- } from "./vcs-2amj1e7d.js";
12
+ } from "./agent-34gj4vpn.js";
13
13
  import {
14
14
  ID13,
15
- Service73
16
- } from "./vcs-pstxsap6.js";
15
+ Service75
16
+ } from "./agent-7fqa2d9w.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./vcs-812nv9mx.js";
18
+ load2,
19
+ derive2
20
+ } from "./agent-35zpsenw.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service73;
30
- const bus = yield* Service81;
29
+ const providers = yield* Service75;
30
+ const bus = yield* Service82;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,7 +62,7 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
@@ -1,65 +1,65 @@
1
+ import {
2
+ Service83,
3
+ node87
4
+ } from "./agent-ykcyj6g6.js";
1
5
  import {
2
6
  Service82,
3
7
  node86
4
- } from "./vcs-v4hh2g4f.js";
5
- import {
6
- Service81,
7
- node85
8
- } from "./vcs-b78gz254.js";
8
+ } from "./agent-5dr2wz0s.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./vcs-5t3nmthw.js";
11
+ } from "./agent-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./vcs-ec1grn59.js";
14
+ } from "./agent-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./vcs-06dxphr1.js";
20
+ } from "./agent-msq0jde0.js";
21
21
  import {
22
22
  load5
23
- } from "./vcs-zhk3mejr.js";
23
+ } from "./agent-eqfk2yd1.js";
24
24
  import {
25
25
  create3
26
- } from "./vcs-rdw6cm16.js";
26
+ } from "./agent-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./vcs-bz85s9hh.js";
29
+ } from "./agent-pstg3rfm.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./vcs-w0173919.js";
34
+ } from "./agent-gw84rn5c.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./vcs-fvmzft5f.js";
37
+ } from "./agent-h6b8nah8.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./vcs-7fmqyxrg.js";
41
+ } from "./agent-z1gnkr1t.js";
42
42
  import {
43
43
  estimate2
44
- } from "./vcs-h6vf3j39.js";
44
+ } from "./agent-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./vcs-tdstcens.js";
49
+ } from "./agent-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./vcs-9rqn6x4v.js";
52
+ } from "./agent-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction3 = {};
56
56
  __export(exports_compaction3, {
57
- Service: () => Service10,
57
+ Service: () => Service9,
58
58
  SessionCompaction: () => exports_compaction3,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
- layer: () => layer7,
62
- node: () => node12,
61
+ layer: () => layer6,
62
+ node: () => node11,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service10 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service9 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,10 +298,10 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
302
- const bus = yield* Service81;
301
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
302
+ const bus = yield* Service82;
303
303
  const llm = yield* LLMClient.Service;
304
- const db = (yield* Service82).db;
304
+ const db = (yield* Service83).db;
305
305
  const state = create3({
306
306
  name: "session-compaction",
307
307
  initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS, native: [] }),
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
606
606
  }
607
607
  }));
608
608
  });
609
- return Service10.of({
609
+ return Service9.of({
610
610
  transform: state.transform,
611
611
  reload: state.reload,
612
612
  enabled: () => state.get().auto,
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
615
615
  compactManual
616
616
  });
617
617
  }));
618
- var node12 = makeLocationNode({
619
- service: Service10,
620
- layer: layer7,
621
- deps: [node85, node86, llmClient2]
618
+ var node11 = makeLocationNode({
619
+ service: Service9,
620
+ layer: layer6,
621
+ deps: [node86, node87, llmClient2]
622
622
  });
623
623
 
624
- export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node12, exports_compaction3 };
624
+ export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction3 };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./vcs-b78gz254.js";
2
+ Service82,
3
+ node86
4
+ } from "./agent-5dr2wz0s.js";
5
5
  import {
6
6
  Key4,
7
- Service75,
8
- node78
9
- } from "./vcs-x7pnhj05.js";
7
+ Service77,
8
+ node81
9
+ } from "./agent-dfmg44zt.js";
10
10
  import {
11
11
  create3
12
- } from "./vcs-rdw6cm16.js";
12
+ } from "./agent-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./vcs-pzn0jms3.js";
16
+ } from "./agent-ptadzx8h.js";
17
17
  import {
18
18
  __export
19
- } from "./vcs-9rqn6x4v.js";
19
+ } from "./agent-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -40,8 +40,8 @@ __export(exports_integration, {
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service74,
44
- node: () => node77
43
+ Service: () => Service76,
44
+ node: () => node80
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -100,14 +100,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
100
100
  }
101
101
  var Ref3 = Integration.Ref;
102
102
 
103
- class Service74 extends Context.Service()("@opencode/Integration") {
103
+ class Service76 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service74, Effect.gen(function* () {
109
- const credentials = yield* Service75;
110
- const bus = yield* Service81;
108
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
109
+ const credentials = yield* Service77;
110
+ const bus = yield* Service82;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
113
113
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
430
430
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
431
431
  return CommandAttempt2.make({ attemptID, time });
432
432
  });
433
- return Service74.of({
433
+ return Service76.of({
434
434
  transform: state.transform,
435
435
  reload: state.reload,
436
436
  revision: state.revision,
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
579
579
  }
580
580
  });
581
581
  }));
582
- var node77 = makeLocationNode({
583
- service: Service74,
582
+ var node80 = makeLocationNode({
583
+ service: Service76,
584
584
  layer,
585
- deps: [node78, node85, AppProcess.node]
585
+ deps: [node81, node86, AppProcess.node]
586
586
  });
587
587
 
588
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node77, exports_integration, Event18 };
588
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };