@opencode/core 0.0.0-dev-19937 → 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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{persistent-pty-9ex8f1cq.js → agent-00x4qneg.js} +8 -8
  8. package/dist/chunks/{persistent-pty-z52a6mw5.js → agent-036j9pep.js} +20 -20
  9. package/dist/chunks/{persistent-pty-tnasdg6y.js → agent-03heh432.js} +37 -37
  10. package/dist/chunks/{persistent-pty-nqyhrfcc.js → agent-0m0tvs7x.js} +4 -4
  11. package/dist/chunks/{persistent-pty-t71v2ka4.js → agent-0nde5ztd.js} +5 -5
  12. package/dist/chunks/{persistent-pty-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{persistent-pty-0q0f95c6.js → agent-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{persistent-pty-n2eg1d0h.js → agent-0qths4nn.js} +18 -18
  15. package/dist/chunks/{persistent-pty-w65z2jz3.js → agent-178916dd.js} +8 -8
  16. package/dist/chunks/{persistent-pty-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{persistent-pty-41ssmn02.js → agent-1h68bbz1.js} +89 -89
  18. package/dist/chunks/{persistent-pty-sz24j28z.js → agent-1jqm4hqw.js} +23 -23
  19. package/dist/chunks/{persistent-pty-554knveg.js → agent-1mhtqdf9.js} +34 -34
  20. package/dist/chunks/{persistent-pty-tvtydw96.js → agent-1qsp6rhw.js} +37 -37
  21. package/dist/chunks/{persistent-pty-zsphfh87.js → agent-1qyqkqe4.js} +18 -18
  22. package/dist/chunks/{persistent-pty-deq2z4hf.js → agent-1t7nvzsm.js} +10 -10
  23. package/dist/chunks/{persistent-pty-56gdpj1q.js → agent-1ygqh575.js} +9 -9
  24. package/dist/chunks/{persistent-pty-21r38tys.js → agent-21r38tys.js} +1 -1
  25. package/dist/chunks/{persistent-pty-2402vzrj.js → agent-2402vzrj.js} +1 -1
  26. package/dist/chunks/{persistent-pty-ytpw4txd.js → agent-2421mgk7.js} +12 -12
  27. package/dist/chunks/{persistent-pty-1w7qre35.js → agent-273f65v8.js} +30 -30
  28. package/dist/chunks/{persistent-pty-twca9fjq.js → agent-27s8bqjz.js} +7 -7
  29. package/dist/chunks/{persistent-pty-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{persistent-pty-kkzayper.js → agent-2ajemesj.js} +25 -25
  31. package/dist/chunks/{persistent-pty-fvanntqq.js → agent-2d57kztd.js} +6 -6
  32. package/dist/chunks/{persistent-pty-t4nhm12y.js → agent-2dd34nca.js} +7 -7
  33. package/dist/chunks/{persistent-pty-ybhbtxjg.js → agent-2e96adxv.js} +6 -6
  34. package/dist/chunks/{persistent-pty-2gbsvbx5.js → agent-2gbsvbx5.js} +4 -4
  35. package/dist/chunks/{persistent-pty-2k8khapm.js → agent-2k8khapm.js} +1 -1
  36. package/dist/chunks/{persistent-pty-d4he2qe1.js → agent-2sejkfem.js} +9 -9
  37. package/dist/chunks/{persistent-pty-yr8p71ks.js → agent-2yc73x9z.js} +14 -14
  38. package/dist/chunks/{persistent-pty-6zthmp17.js → agent-348gb89b.js} +14 -14
  39. package/dist/chunks/{persistent-pty-jsqr29s7.js → agent-34gj4vpn.js} +23 -23
  40. package/dist/chunks/{persistent-pty-6p7zr8ep.js → agent-35zpsenw.js} +21 -21
  41. package/dist/chunks/{persistent-pty-yqz4sd6t.js → agent-36x1j5qv.js} +8 -8
  42. package/dist/chunks/{persistent-pty-e8qyrgb1.js → agent-3801kdgp.js} +5 -5
  43. package/dist/chunks/{persistent-pty-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{persistent-pty-zq3sp2de.js → agent-3g2nmk79.js} +18 -18
  45. package/dist/chunks/{persistent-pty-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{persistent-pty-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{persistent-pty-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{persistent-pty-3w0fmcng.js → agent-3w2b2yj4.js} +5 -5
  49. package/dist/chunks/{persistent-pty-wayd1cz3.js → agent-3y8yawqa.js} +14 -14
  50. package/dist/chunks/{persistent-pty-mmmrdbr8.js → agent-408rqjm7.js} +11 -11
  51. package/dist/chunks/{persistent-pty-p0h2c1j9.js → agent-40ttqsg0.js} +8 -8
  52. package/dist/chunks/{persistent-pty-75q2ps1k.js → agent-43zyxgq8.js} +1 -1
  53. package/dist/chunks/{persistent-pty-qsx6xwjc.js → agent-4h52jw7j.js} +18 -18
  54. package/dist/chunks/{persistent-pty-mg83pbjr.js → agent-4ns3h2re.js} +8 -8
  55. package/dist/chunks/{persistent-pty-tfxzrdmk.js → agent-5544h6er.js} +10 -10
  56. package/dist/chunks/{persistent-pty-0akym11d.js → agent-5758n57s.js} +16 -16
  57. package/dist/chunks/{persistent-pty-0ke265bw.js → agent-57ez7d0k.js} +5 -5
  58. package/dist/chunks/{persistent-pty-r449bwkw.js → agent-5akn35ws.js} +11 -11
  59. package/dist/chunks/{persistent-pty-5c4hm403.js → agent-5c4hm403.js} +3 -3
  60. package/dist/chunks/{persistent-pty-5daktx2q.js → agent-5daktx2q.js} +1 -1
  61. package/dist/chunks/{persistent-pty-4e13r3ts.js → agent-5dr2wz0s.js} +4 -4
  62. package/dist/chunks/{persistent-pty-cv5frkqy.js → agent-5e7r050g.js} +1 -1
  63. package/dist/chunks/{persistent-pty-1g2zd6q9.js → agent-5h6kfehj.js} +3 -3
  64. package/dist/chunks/{persistent-pty-mfs5sj5t.js → agent-5pvas20d.js} +9 -9
  65. package/dist/chunks/{persistent-pty-6p5ms1em.js → agent-5sqqcv2m.js} +22 -22
  66. package/dist/chunks/{persistent-pty-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{persistent-pty-7fmgbjr3.js → agent-5taftw3n.js} +9 -9
  68. package/dist/chunks/{persistent-pty-1p0trksj.js → agent-5zs99abn.js} +7 -7
  69. package/dist/chunks/{persistent-pty-sxn79y37.js → agent-60ng53x8.js} +9 -9
  70. package/dist/chunks/{persistent-pty-669tq793.js → agent-669tq793.js} +1 -1
  71. package/dist/chunks/{persistent-pty-431eg44t.js → agent-6f2v6d3h.js} +13 -13
  72. package/dist/chunks/{persistent-pty-xcjhgh37.js → agent-6h3wybc7.js} +6 -6
  73. package/dist/chunks/{persistent-pty-q8pxfdwq.js → agent-6hft2jmv.js} +4 -4
  74. package/dist/chunks/{persistent-pty-sqdxss6w.js → agent-6hvxcsy0.js} +9 -9
  75. package/dist/chunks/agent-6kdq0pjd.js +4 -0
  76. package/dist/chunks/{persistent-pty-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{persistent-pty-ze9ygk7z.js → agent-6nfzt672.js} +11 -11
  78. package/dist/chunks/{persistent-pty-fsy2n4n3.js → agent-6x899grp.js} +9 -9
  79. package/dist/chunks/{persistent-pty-k6w2t1ya.js → agent-75hzh59n.js} +4 -4
  80. package/dist/chunks/{persistent-pty-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{persistent-pty-2hsgj57k.js → agent-7fqa2d9w.js} +23 -23
  82. package/dist/chunks/{persistent-pty-p3x7gx7a.js → agent-7gvs7gck.js} +28 -28
  83. package/dist/chunks/{persistent-pty-jvekhsax.js → agent-7t7d5q2p.js} +6 -6
  84. package/dist/chunks/{persistent-pty-jexxy024.js → agent-7w99qc9d.js} +3 -3
  85. package/dist/chunks/{persistent-pty-h6jr292a.js → agent-7z7az0f5.js} +4 -4
  86. package/dist/chunks/{persistent-pty-kftvnv3j.js → agent-81eajdsq.js} +20 -20
  87. package/dist/chunks/{persistent-pty-mbgq0mmx.js → agent-85xfn293.js} +6 -6
  88. package/dist/chunks/{persistent-pty-tcezcvh9.js → agent-89znhe33.js} +4 -4
  89. package/dist/chunks/{persistent-pty-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{persistent-pty-jfcm29bp.js → agent-8qvkbm9p.js} +4 -4
  91. package/dist/chunks/{persistent-pty-bph3v013.js → agent-8r83crvb.js} +19 -19
  92. package/dist/chunks/{persistent-pty-78b8afjy.js → agent-9aaedtqt.js} +8 -8
  93. package/dist/chunks/{persistent-pty-5rfwsh5d.js → agent-9gfem6tc.js} +3 -3
  94. package/dist/chunks/{persistent-pty-qt5mdn6g.js → agent-9kz8gdr8.js} +15 -15
  95. package/dist/chunks/{persistent-pty-tvc0b3mj.js → agent-a3n0gq8j.js} +7 -7
  96. package/dist/chunks/{persistent-pty-aaet6srn.js → agent-aaet6srn.js} +2 -2
  97. package/dist/chunks/{persistent-pty-wcycnpg6.js → agent-abxv7css.js} +11 -11
  98. package/dist/chunks/{persistent-pty-d0fsejzd.js → agent-afbgadfc.js} +34 -34
  99. package/dist/chunks/{persistent-pty-w6qqzf7t.js → agent-ak1tpw6q.js} +2 -2
  100. package/dist/chunks/{persistent-pty-qdwxcfza.js → agent-as7cad1b.js} +9 -9
  101. package/dist/chunks/{persistent-pty-b27vhd2z.js → agent-b27vhd2z.js} +1 -1
  102. package/dist/chunks/{persistent-pty-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{persistent-pty-mnaz46m9.js → agent-b7b1bvw5.js} +84 -84
  104. package/dist/chunks/{persistent-pty-r4wc6fxm.js → agent-bcwpxhz1.js} +5 -5
  105. package/dist/chunks/{persistent-pty-ysfwx83j.js → agent-bd3mgvaw.js} +8 -8
  106. package/dist/chunks/{persistent-pty-rr6jacvf.js → agent-bkyn6bwe.js} +42 -42
  107. package/dist/chunks/{persistent-pty-t808dn5w.js → agent-bp4eqg1s.js} +34 -34
  108. package/dist/chunks/{persistent-pty-57sn279e.js → agent-bv2m8j2f.js} +10 -10
  109. package/dist/chunks/{persistent-pty-0zkrmmra.js → agent-c0mr470r.js} +15 -15
  110. package/dist/chunks/{persistent-pty-6vrsc7tt.js → agent-c85qzh5t.js} +18 -18
  111. package/dist/chunks/{persistent-pty-s9ax1raf.js → agent-c9rn2ffm.js} +33 -33
  112. package/dist/chunks/{persistent-pty-afdssyjb.js → agent-ckf8nxjz.js} +4 -4
  113. package/dist/chunks/{persistent-pty-2ym62d1y.js → agent-cpvt4mkc.js} +1 -1
  114. package/dist/chunks/{persistent-pty-26v7198b.js → agent-cqtv3ntd.js} +32 -32
  115. package/dist/chunks/{persistent-pty-rvt9ga0f.js → agent-cwp77bqy.js} +16 -16
  116. package/dist/chunks/{persistent-pty-yt0fqk68.js → agent-d2aac7k2.js} +5 -5
  117. package/dist/chunks/{persistent-pty-hds23wzw.js → agent-d4sp9rf7.js} +14 -14
  118. package/dist/chunks/{persistent-pty-xcrk435t.js → agent-d6jhtwvw.js} +18 -18
  119. package/dist/chunks/{persistent-pty-b7r080c3.js → agent-d72aarx9.js} +15 -15
  120. package/dist/chunks/{persistent-pty-hq654dja.js → agent-d7b96y43.js} +23 -23
  121. package/dist/chunks/{persistent-pty-3ewed21c.js → agent-d858xzj7.js} +4 -4
  122. package/dist/chunks/{persistent-pty-p52j3anj.js → agent-ddjv2rf1.js} +35 -35
  123. package/dist/chunks/{persistent-pty-btpphd88.js → agent-dfmg44zt.js} +22 -22
  124. package/dist/chunks/{persistent-pty-dj2t23y0.js → agent-dj2t23y0.js} +2 -2
  125. package/dist/chunks/{persistent-pty-8hz3g5y0.js → agent-dv7xn15p.js} +19 -19
  126. package/dist/chunks/{persistent-pty-brg56pc6.js → agent-dv98y0zm.js} +24 -24
  127. package/dist/chunks/{persistent-pty-cwtvnkts.js → agent-dxk73e61.js} +8 -8
  128. package/dist/chunks/{persistent-pty-9c77jpjf.js → agent-e4q8186z.js} +3 -3
  129. package/dist/chunks/agent-eceerw08.js +252 -0
  130. package/dist/chunks/{persistent-pty-xjbekv6e.js → agent-edf18fwt.js} +23 -23
  131. package/dist/chunks/{persistent-pty-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{persistent-pty-tbgyadps.js → agent-eqfk2yd1.js} +8 -8
  133. package/dist/chunks/{persistent-pty-tegs1ycp.js → agent-eqkxs06z.js} +6 -6
  134. package/dist/chunks/{persistent-pty-74fmk9vn.js → agent-ercet7pm.js} +10 -10
  135. package/dist/chunks/{persistent-pty-erw5rpbs.js → agent-erw5rpbs.js} +2 -2
  136. package/dist/chunks/{persistent-pty-bmcyf7gj.js → agent-esjpzfqh.js} +20 -20
  137. package/dist/chunks/{persistent-pty-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{persistent-pty-jdvrzx2t.js → agent-eyxhp5jq.js} +17 -17
  139. package/dist/chunks/{persistent-pty-5531r29v.js → agent-f7xr7q4y.js} +28 -28
  140. package/dist/chunks/{persistent-pty-gnx4ytbv.js → agent-fab8hzt3.js} +4 -4
  141. package/dist/chunks/{persistent-pty-q3j5ebgq.js → agent-fb6r9czn.js} +15 -15
  142. package/dist/chunks/{persistent-pty-4z7tbtat.js → agent-fex5691d.js} +6 -6
  143. package/dist/chunks/{persistent-pty-s8cev9wy.js → agent-fhsfb5wx.js} +20 -20
  144. package/dist/chunks/{persistent-pty-2rnnjxth.js → agent-fkf189j2.js} +7 -7
  145. package/dist/chunks/{persistent-pty-ffw5jcp2.js → agent-fpx40r7k.js} +15 -15
  146. package/dist/chunks/{persistent-pty-jsx9wcxe.js → agent-fwgtty9p.js} +9 -9
  147. package/dist/chunks/{persistent-pty-fxbjtjnd.js → agent-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{persistent-pty-5h8807ma.js → agent-g3dvzzsn.js} +20 -20
  149. package/dist/chunks/{persistent-pty-p513dnzd.js → agent-g71wmdzk.js} +142 -142
  150. package/dist/chunks/{persistent-pty-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{persistent-pty-de5mzfxd.js → agent-geknskw0.js} +26 -26
  152. package/dist/chunks/{persistent-pty-r72bb3g5.js → agent-gf7f2369.js} +5 -5
  153. package/dist/chunks/{persistent-pty-71vt42kc.js → agent-ggcsatw5.js} +3 -3
  154. package/dist/chunks/{persistent-pty-r2w5wzr7.js → agent-gsdsh762.js} +10 -10
  155. package/dist/chunks/{persistent-pty-gv6a8nnw.js → agent-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{persistent-pty-va45f1s8.js → agent-gw84rn5c.js} +30 -30
  157. package/dist/chunks/{persistent-pty-vmnj2x1v.js → agent-gxzbat11.js} +31 -31
  158. package/dist/chunks/{persistent-pty-edwvx061.js → agent-h5wn60w9.js} +4 -4
  159. package/dist/chunks/{persistent-pty-0rqdjtcb.js → agent-h6b8nah8.js} +4 -4
  160. package/dist/chunks/{persistent-pty-h6r3nrb9.js → agent-h6r3nrb9.js} +1 -1
  161. package/dist/chunks/{persistent-pty-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{persistent-pty-hdnk95c8.js → agent-hdnk95c8.js} +2 -2
  163. package/dist/chunks/{persistent-pty-61h0qsnp.js → agent-hra2zf6w.js} +10 -10
  164. package/dist/chunks/{persistent-pty-aba8dj31.js → agent-hrekjq5z.js} +15 -15
  165. package/dist/chunks/{persistent-pty-ta417yjh.js → agent-hvge4a7b.js} +24 -24
  166. package/dist/chunks/{persistent-pty-j56e64zr.js → agent-j56e64zr.js} +1 -1
  167. package/dist/chunks/{persistent-pty-k3c624dm.js → agent-k3c624dm.js} +3 -3
  168. package/dist/chunks/{persistent-pty-patgj9rf.js → agent-k7myrtme.js} +9 -9
  169. package/dist/chunks/{persistent-pty-r5zvm12r.js → agent-k8awv4zh.js} +2 -2
  170. package/dist/chunks/{persistent-pty-44ke2mar.js → agent-k9kj6xed.js} +6 -6
  171. package/dist/chunks/{persistent-pty-3gs18der.js → agent-kbsfj81n.js} +19 -19
  172. package/dist/chunks/{persistent-pty-4kg54np8.js → agent-kcjc17br.js} +19 -19
  173. package/dist/chunks/{persistent-pty-vcdb3gbk.js → agent-kfgkb3w8.js} +1 -1
  174. package/dist/chunks/{persistent-pty-s83kg3p0.js → agent-m0cf690c.js} +17 -17
  175. package/dist/chunks/{persistent-pty-m0jqrx5p.js → agent-m0jqrx5p.js} +2 -2
  176. package/dist/chunks/{persistent-pty-2wzrjk5c.js → agent-m2k0n4kz.js} +19 -19
  177. package/dist/chunks/{persistent-pty-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{persistent-pty-4acetgwp.js → agent-m85h0kfj.js} +2 -2
  179. package/dist/chunks/{persistent-pty-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{persistent-pty-k2h4r4s0.js → agent-magykp64.js} +4 -4
  181. package/dist/chunks/{persistent-pty-h4eh15d6.js → agent-mf1nywb3.js} +20 -20
  182. package/dist/chunks/{persistent-pty-92xv3hjf.js → agent-mhh2wvta.js} +17 -17
  183. package/dist/chunks/{persistent-pty-mvfsc1pv.js → agent-mhkvc446.js} +3 -3
  184. package/dist/chunks/{persistent-pty-5dbxvay1.js → agent-mjhmz48d.js} +27 -27
  185. package/dist/chunks/{persistent-pty-epqb7qpy.js → agent-mjq5y8n2.js} +3 -3
  186. package/dist/chunks/{persistent-pty-06dxphr1.js → agent-msq0jde0.js} +4 -4
  187. package/dist/chunks/{persistent-pty-j9vp638d.js → agent-na3cbkd8.js} +41 -41
  188. package/dist/chunks/{persistent-pty-a3r4dcrj.js → agent-nng2ktcm.js} +2 -2
  189. package/dist/chunks/{persistent-pty-p4a5cx5p.js → agent-np2d4m60.js} +15 -15
  190. package/dist/chunks/{persistent-pty-x38sqvf4.js → agent-nrm6eza0.js} +6 -6
  191. package/dist/chunks/{persistent-pty-vg6ckggx.js → agent-nv0zfvs3.js} +53 -53
  192. package/dist/chunks/{persistent-pty-ytqvkck2.js → agent-nxnb0v57.js} +5 -5
  193. package/dist/chunks/{persistent-pty-tbz0fdvh.js → agent-p28j5sbe.js} +5 -5
  194. package/dist/chunks/{persistent-pty-65w3833t.js → agent-p3gycn8b.js} +13 -13
  195. package/dist/chunks/{persistent-pty-br0tr5aq.js → agent-pa8pe2x7.js} +8 -8
  196. package/dist/chunks/{persistent-pty-6n88yxkj.js → agent-pb1eahw5.js} +8 -8
  197. package/dist/chunks/{persistent-pty-jzphxtev.js → agent-phr2avsp.js} +10 -10
  198. package/dist/chunks/{persistent-pty-n4j23rry.js → agent-pj88hhxz.js} +14 -14
  199. package/dist/chunks/{persistent-pty-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{persistent-pty-pknna89w.js → agent-pknna89w.js} +1 -1
  201. package/dist/chunks/{persistent-pty-bz85s9hh.js → agent-pstg3rfm.js} +1 -1
  202. package/dist/chunks/{persistent-pty-nm55ymfc.js → agent-psw0wqrt.js} +13 -13
  203. package/dist/chunks/{persistent-pty-6yh2fsej.js → agent-ptadzx8h.js} +12 -12
  204. package/dist/chunks/{persistent-pty-axwsqknt.js → agent-py6xadtm.js} +32 -32
  205. package/dist/chunks/{persistent-pty-13f6jh0f.js → agent-q06j225y.js} +32 -32
  206. package/dist/chunks/{persistent-pty-grhxn6he.js → agent-q2q7z127.js} +27 -27
  207. package/dist/chunks/{persistent-pty-yppwdz7t.js → agent-q5qvysx4.js} +9 -9
  208. package/dist/chunks/{persistent-pty-k1gkpfdk.js → agent-qby9dwvd.js} +8 -8
  209. package/dist/chunks/{persistent-pty-m2d0j7c0.js → agent-qg0jgkcp.js} +9 -9
  210. package/dist/chunks/{persistent-pty-qn4ba14w.js → agent-qn4ba14w.js} +2 -2
  211. package/dist/chunks/{persistent-pty-qsdy395h.js → agent-qsdy395h.js} +1 -1
  212. package/dist/chunks/{persistent-pty-4yy5d4qw.js → agent-qyjnxv1z.js} +1 -1
  213. package/dist/chunks/{persistent-pty-e84rd1xk.js → agent-r23bba5b.js} +28 -28
  214. package/dist/chunks/{persistent-pty-encztx8n.js → agent-r8d6a4tf.js} +22 -22
  215. package/dist/chunks/{persistent-pty-rhraev7y.js → agent-r8xr0va3.js} +4 -4
  216. package/dist/chunks/agent-rap9a73h.js +18 -0
  217. package/dist/chunks/{persistent-pty-hv2snex1.js → agent-rbbtr4pm.js} +10 -10
  218. package/dist/chunks/{persistent-pty-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{persistent-pty-eaj1djv9.js → agent-rhjbct0v.js} +8 -8
  220. package/dist/chunks/{persistent-pty-qryrftmh.js → agent-rvs7jmzp.js} +47 -47
  221. package/dist/chunks/agent-rz1656kd.js +492 -0
  222. package/dist/chunks/{persistent-pty-p84dsdfh.js → agent-s0agc963.js} +8 -8
  223. package/dist/chunks/{persistent-pty-5rt7pep6.js → agent-s2jjmt0q.js} +3 -3
  224. package/dist/chunks/{persistent-pty-s4b84khr.js → agent-s2v47wsv.js} +9 -9
  225. package/dist/chunks/{persistent-pty-kfgf5fep.js → agent-sm46077v.js} +23 -23
  226. package/dist/chunks/{persistent-pty-68tggvtb.js → agent-sr79cq9d.js} +11 -11
  227. package/dist/chunks/{persistent-pty-4vdcjjmt.js → agent-stv5gz7c.js} +13 -13
  228. package/dist/chunks/{persistent-pty-2y34zzjz.js → agent-sv3vsz9b.js} +5 -5
  229. package/dist/chunks/{persistent-pty-vncycja5.js → agent-t9zs3egg.js} +4 -4
  230. package/dist/chunks/{persistent-pty-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{persistent-pty-tdstcens.js → agent-tdstcens.js} +1 -1
  232. package/dist/chunks/{persistent-pty-tvtrv512.js → agent-tvtrv512.js} +1 -1
  233. package/dist/chunks/{persistent-pty-v4px02z6.js → agent-v452jk09.js} +20 -20
  234. package/dist/chunks/{persistent-pty-veqvce7d.js → agent-veqvce7d.js} +1 -1
  235. package/dist/chunks/{persistent-pty-4pxrwfad.js → agent-vfyx1xy1.js} +24 -24
  236. package/dist/chunks/{persistent-pty-gxr7q3nf.js → agent-vg3tvwdk.js} +25 -25
  237. package/dist/chunks/{persistent-pty-td55jj2j.js → agent-vgmb0hzp.js} +21 -21
  238. package/dist/chunks/{persistent-pty-9tx45s8b.js → agent-vhvn8xxs.js} +44 -44
  239. package/dist/chunks/{persistent-pty-jpxb4059.js → agent-vk3p7bbt.js} +11 -11
  240. package/dist/chunks/{persistent-pty-nyacxbzj.js → agent-vwpw6jr3.js} +40 -40
  241. package/dist/chunks/{persistent-pty-wngp58at.js → agent-vx884nfc.js} +20 -20
  242. package/dist/chunks/{persistent-pty-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{persistent-pty-dtwkq6be.js → agent-w28840qy.js} +13 -13
  244. package/dist/chunks/{persistent-pty-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{persistent-pty-69cccy7z.js → agent-w9rjmhg2.js} +18 -18
  246. package/dist/chunks/{persistent-pty-jtwa0aj6.js → agent-wavj6ccy.js} +13 -13
  247. package/dist/chunks/{persistent-pty-rya495mf.js → agent-wavy99wc.js} +11 -11
  248. package/dist/chunks/{persistent-pty-wd87259q.js → agent-wd87259q.js} +1 -1
  249. package/dist/chunks/agent-wgj0x3s5.js +26 -0
  250. package/dist/chunks/{persistent-pty-n36xcpgr.js → agent-wh950sxe.js} +10 -10
  251. package/dist/chunks/{persistent-pty-j58c5xyq.js → agent-wk5z6jzv.js} +9 -9
  252. package/dist/chunks/{persistent-pty-qr405v0d.js → agent-wmvgvm9g.js} +10 -10
  253. package/dist/chunks/{persistent-pty-63mpdmm6.js → agent-wrrgj8p2.js} +30 -30
  254. package/dist/chunks/{persistent-pty-wk2ay995.js → agent-ww76mnf4.js} +32 -32
  255. package/dist/chunks/{persistent-pty-bsgfsq91.js → agent-wyx8ky32.js} +16 -16
  256. package/dist/chunks/{persistent-pty-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{persistent-pty-x5x7kcgs.js → agent-x9hcbvs5.js} +14 -14
  258. package/dist/chunks/{persistent-pty-jcz9anth.js → agent-x9s20f53.js} +47 -47
  259. package/dist/chunks/{persistent-pty-xfkkasph.js → agent-xfkkasph.js} +1 -1
  260. package/dist/chunks/{persistent-pty-cdq49ytp.js → agent-xgec815d.js} +27 -27
  261. package/dist/chunks/{persistent-pty-90y57r1y.js → agent-xm6kpq0w.js} +19 -19
  262. package/dist/chunks/{persistent-pty-7s8gb34t.js → agent-xr4jxd3n.js} +26 -26
  263. package/dist/chunks/{persistent-pty-fwft7q1r.js → agent-xryzejns.js} +3 -3
  264. package/dist/chunks/{persistent-pty-3fs6smyb.js → agent-xxcf9j2r.js} +11 -11
  265. package/dist/chunks/{persistent-pty-82ahnwkf.js → agent-xy5p8xg6.js} +20 -20
  266. package/dist/chunks/{persistent-pty-xaftkv44.js → agent-xydn9a3q.js} +54 -54
  267. package/dist/chunks/{persistent-pty-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{persistent-pty-ab8cnxkj.js → agent-y5df08dr.js} +12 -12
  269. package/dist/chunks/{persistent-pty-r2a07nrz.js → agent-y68y97fv.js} +13 -13
  270. package/dist/chunks/{persistent-pty-dpkg50ah.js → agent-y71avatq.js} +4 -4
  271. package/dist/chunks/{persistent-pty-4113bgx8.js → agent-y8zr9mrm.js} +11 -11
  272. package/dist/chunks/{persistent-pty-6tr59r50.js → agent-yhykjk6q.js} +27 -27
  273. package/dist/chunks/{persistent-pty-hmp6wt3x.js → agent-ykcyj6g6.js} +3 -3
  274. package/dist/chunks/{persistent-pty-gb9jw3zf.js → agent-ymf79dpk.js} +6 -6
  275. package/dist/chunks/{persistent-pty-w18y63wv.js → agent-ynx1zemv.js} +25 -25
  276. package/dist/chunks/{persistent-pty-ace40s22.js → agent-yp1ctj3c.js} +8 -8
  277. package/dist/chunks/{persistent-pty-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{persistent-pty-yrznvahk.js → agent-yrznvahk.js} +2 -2
  279. package/dist/chunks/{persistent-pty-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{persistent-pty-8y3s9r1h.js → agent-z1gnkr1t.js} +6 -6
  281. package/dist/chunks/{persistent-pty-qw85ht6d.js → agent-z24rsk7e.js} +37 -37
  282. package/dist/chunks/{persistent-pty-z63w68vq.js → agent-z63w68vq.js} +2 -2
  283. package/dist/chunks/{persistent-pty-zeh9ct20.js → agent-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{persistent-pty-xjebcb6c.js → agent-zh9a0jmt.js} +9 -9
  285. package/dist/chunks/{persistent-pty-s4mb84p1.js → agent-zqq6ndec.js} +47 -47
  286. package/dist/chunks/{persistent-pty-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{persistent-pty-hnac9jpe.js → agent-zryg9yjn.js} +18 -18
  288. package/dist/chunks/{persistent-pty-9h0hyds4.js → agent-zwmb00wq.js} +17 -17
  289. package/dist/chunks/{persistent-pty-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +76 -76
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +125 -125
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +80 -80
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +92 -92
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +220 -220
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +77 -77
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +82 -82
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +81 -81
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +98 -98
  479. package/dist/model-resolver.js +95 -95
  480. package/dist/model.js +99 -99
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +106 -106
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +119 -119
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +345 -345
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +226 -226
  558. package/dist/project/schema.js +4 -4
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +83 -83
  561. package/dist/provider.js +94 -94
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +84 -84
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +127 -127
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +220 -220
  582. package/dist/session/execution.js +123 -123
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +85 -85
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +228 -228
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +123 -123
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +169 -169
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +149 -149
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +216 -216
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +137 -137
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +104 -104
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +88 -88
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +124 -124
  636. package/dist/tool/plugin/edit.js +115 -115
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +100 -100
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +109 -109
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +4 -4
  653. package/dist/tool.js +16 -16
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +1 -1
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +3 -3
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +1 -1
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +2 -2
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +81 -81
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +7 -7
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +8 -8
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +95 -95
  694. package/package.json +8 -8
  695. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  696. package/dist/chunks/persistent-pty-7h3cdw3p.js +0 -252
  697. package/dist/chunks/persistent-pty-a7qcy6v8.js +0 -26
  698. package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
  699. package/dist/chunks/persistent-pty-mj93e3gy.js +0 -492
  700. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-24dcb14g.js → agent-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-2710q6r3.js → agent-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-359p4xyc.js → agent-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-3asan66x.js → agent-3asan66x.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-53557ph1.js → agent-53557ph1.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-550bvhaj.js → agent-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-6prwharc.js → agent-6prwharc.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-7m9af43g.js → agent-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-822emrt2.js → agent-822emrt2.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-8n3pysct.js → agent-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-922hggd3.js → agent-922hggd3.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-af5trqkr.js → agent-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-afrmfg78.js → agent-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-d9fn303g.js → agent-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-dajrwvna.js → agent-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-dap0rakb.js → agent-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-df08tz66.js → agent-df08tz66.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-dy18nga0.js → agent-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-ec1grn59.js → agent-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-faypxj3z.js → agent-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-fd410y7t.js → agent-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-g86h250q.js → agent-g86h250q.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-gftt206x.js → agent-gftt206x.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-hk9envan.js → agent-hk9envan.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-mp448xyj.js → agent-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-njntx4h6.js → agent-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-q74kybfr.js → agent-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-twg0f83k.js → agent-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-w803qqfp.js → agent-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-wtztk69x.js → agent-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-x61499pn.js → agent-x61499pn.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-y44na4kk.js → agent-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-y8f7s663.js → agent-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-ym463w8f.js → agent-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -3,19 +3,19 @@ import {
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./persistent-pty-2hsgj57k.js";
6
+ } from "./agent-7fqa2d9w.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./agent-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service72,
16
+ Service: () => Service74,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node76
18
+ node: () => node78
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -138,9 +138,9 @@ function initError(providerID) {
138
138
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
139
139
  }
140
140
 
141
- class Service72 extends Context.Service()("@opencode/AISDK") {
141
+ class Service74 extends Context.Service()("@opencode/AISDK") {
142
142
  }
143
- var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
143
+ var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
144
144
  let sdkHooks = [];
145
145
  let languageHooks = [];
146
146
  const languages = new Map;
@@ -178,7 +178,7 @@ var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
178
178
  }
179
179
  return event;
180
180
  });
181
- const service = Service72.of({
181
+ const service = Service74.of({
182
182
  hook: {
183
183
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
184
184
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -819,6 +819,6 @@ function providerErrorMessage(error) {
819
819
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
820
820
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
821
821
  }
822
- var node76 = makeLocationNode({ service: Service72, layer: locationLayer2, deps: [] });
822
+ var node78 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [] });
823
823
 
824
- export { InitError2, Service72, locationLayer2, node76, exports_aisdk };
824
+ export { InitError2, Service74, locationLayer2, node78, exports_aisdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID10
3
- } from "./persistent-pty-kftvnv3j.js";
2
+ ID11
3
+ } from "./agent-81eajdsq.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./persistent-pty-922hggd3.js";
6
+ } from "./agent-922hggd3.js";
7
7
  import {
8
- Info19
9
- } from "./persistent-pty-6n88yxkj.js";
8
+ Info14
9
+ } from "./agent-pb1eahw5.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./persistent-pty-q8pxfdwq.js";
12
+ } from "./agent-6hft2jmv.js";
13
13
  import {
14
14
  latest2,
15
- Service54
16
- } from "./persistent-pty-rr6jacvf.js";
15
+ Service50
16
+ } from "./agent-bkyn6bwe.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./persistent-pty-5daktx2q.js";
19
+ } from "./agent-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./persistent-pty-9rqn6x4v.js";
22
+ } from "./agent-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin19
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin46
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin19 = define({
47
+ var Plugin46 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service54;
50
+ const config = yield* Service50;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin19 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID10.make(configuredDefault));
79
+ editor.default(ID11.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID10.make(id);
85
+ const agentID = ID11.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin19, exports_agent };
164
+ export { Plugin46, exports_agent2 };
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node37
4
- } from "./persistent-pty-78b8afjy.js";
3
+ node50
4
+ } from "./agent-9aaedtqt.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./persistent-pty-4e13r3ts.js";
8
+ } from "./agent-5dr2wz0s.js";
9
9
  import {
10
- ID10,
11
- Service66,
10
+ ID11,
11
+ Service67,
12
12
  node70
13
- } from "./persistent-pty-kftvnv3j.js";
13
+ } from "./agent-81eajdsq.js";
14
14
  import {
15
15
  ID15,
16
16
  OAuth3
17
- } from "./persistent-pty-btpphd88.js";
17
+ } from "./agent-dfmg44zt.js";
18
18
  import {
19
19
  ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service75,
24
- node79
25
- } from "./persistent-pty-jsqr29s7.js";
23
+ Service76,
24
+ node80
25
+ } from "./agent-34gj4vpn.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./persistent-pty-922hggd3.js";
28
+ } from "./agent-922hggd3.js";
29
29
  import {
30
30
  Info32,
31
31
  Ref4,
32
- Service78,
33
- node82
34
- } from "./persistent-pty-n4j23rry.js";
32
+ Service79,
33
+ node83
34
+ } from "./agent-pj88hhxz.js";
35
35
  import {
36
36
  ID13,
37
+ Service75,
38
+ node79
39
+ } from "./agent-7fqa2d9w.js";
40
+ import {
37
41
  Service74,
38
42
  node78
39
- } from "./persistent-pty-2hsgj57k.js";
40
- import {
41
- Service72,
42
- node76
43
- } from "./persistent-pty-jsx9wcxe.js";
43
+ } from "./agent-fwgtty9p.js";
44
44
  import {
45
- Service40,
46
- node44
47
- } from "./persistent-pty-nm55ymfc.js";
45
+ Service43,
46
+ node46
47
+ } from "./agent-psw0wqrt.js";
48
48
  import {
49
- Service69,
50
- node73
51
- } from "./persistent-pty-tfxzrdmk.js";
49
+ Service65,
50
+ node68
51
+ } from "./agent-5544h6er.js";
52
52
  import {
53
- Service62,
54
- node66
55
- } from "./persistent-pty-7fmgbjr3.js";
53
+ Service68,
54
+ node71
55
+ } from "./agent-5taftw3n.js";
56
56
  import {
57
- ID12,
58
- Service73,
59
- node77
60
- } from "./persistent-pty-e84rd1xk.js";
57
+ ID9,
58
+ Service64,
59
+ node67
60
+ } from "./agent-r23bba5b.js";
61
61
  import {
62
- ID7
63
- } from "./persistent-pty-de5mzfxd.js";
62
+ ID12
63
+ } from "./agent-geknskw0.js";
64
64
  import {
65
- Service32,
66
- node35
67
- } from "./persistent-pty-qryrftmh.js";
65
+ Service38,
66
+ node41
67
+ } from "./agent-rvs7jmzp.js";
68
68
  import {
69
- Service68,
70
- node72
71
- } from "./persistent-pty-k1gkpfdk.js";
69
+ Service66,
70
+ node69
71
+ } from "./agent-qby9dwvd.js";
72
72
  import {
73
- Service63,
74
- node67
75
- } from "./persistent-pty-s4mb84p1.js";
73
+ Service61,
74
+ node64
75
+ } from "./agent-zqq6ndec.js";
76
76
  import {
77
- Service53,
78
- node58
79
- } from "./persistent-pty-w18y63wv.js";
77
+ Service40,
78
+ node43
79
+ } from "./agent-ynx1zemv.js";
80
80
  import {
81
81
  Source4,
82
- Service42,
83
- node46
84
- } from "./persistent-pty-zq3sp2de.js";
82
+ Service45,
83
+ node48
84
+ } from "./agent-3g2nmk79.js";
85
85
  import {
86
- Info6,
87
- Service33,
88
- node36
89
- } from "./persistent-pty-encztx8n.js";
86
+ Info8,
87
+ Service44,
88
+ node47
89
+ } from "./agent-r8d6a4tf.js";
90
90
  import {
91
- Service20,
92
- node23
93
- } from "./persistent-pty-41ssmn02.js";
91
+ Service26,
92
+ node29
93
+ } from "./agent-1h68bbz1.js";
94
94
  import {
95
- Service51,
96
- node56
97
- } from "./persistent-pty-5dbxvay1.js";
95
+ Service17,
96
+ node20
97
+ } from "./agent-mjhmz48d.js";
98
98
  import {
99
- Service39,
100
- node43
101
- } from "./persistent-pty-p4a5cx5p.js";
102
- import {
103
- Service41,
104
- node45
105
- } from "./persistent-pty-h4eh15d6.js";
106
- import {
107
- ID4,
108
- Service19,
109
- node22
110
- } from "./persistent-pty-xjbekv6e.js";
99
+ Service25,
100
+ node28
101
+ } from "./agent-np2d4m60.js";
111
102
  import {
112
103
  Service16,
113
104
  node19
114
- } from "./persistent-pty-90y57r1y.js";
105
+ } from "./agent-mf1nywb3.js";
115
106
  import {
116
- StrategyID2,
117
- Info4,
118
- ListEntry3,
107
+ ID3,
119
108
  Service15,
120
109
  node18
121
- } from "./persistent-pty-t808dn5w.js";
110
+ } from "./agent-edf18fwt.js";
122
111
  import {
123
- Service37,
124
- node41
125
- } from "./persistent-pty-gxr7q3nf.js";
112
+ Service22,
113
+ node25
114
+ } from "./agent-xm6kpq0w.js";
115
+ import {
116
+ StrategyID2,
117
+ Info5,
118
+ ListEntry3,
119
+ Service21,
120
+ node24
121
+ } from "./agent-bp4eqg1s.js";
122
+ import {
123
+ Service18,
124
+ node21
125
+ } from "./agent-vg3tvwdk.js";
126
126
  import {
127
127
  __export
128
- } from "./persistent-pty-9rqn6x4v.js";
128
+ } from "./agent-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,30 +143,30 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service66;
147
- const aisdk = yield* Service72;
148
- const providers = yield* Service74;
149
- const models = yield* Service73;
150
- const commands = yield* Service40;
146
+ const agents = yield* Service67;
147
+ const aisdk = yield* Service74;
148
+ const providers = yield* Service75;
149
+ const models = yield* Service64;
150
+ const commands = yield* Service43;
151
151
  const bus = yield* Service82;
152
- const integration = yield* Service75;
153
- const kv = yield* Service69;
154
- const mcp = yield* Service32;
155
- const location = yield* Service78;
156
- const reference = yield* Service42;
157
- const rpc = yield* Service39;
158
- const skill = yield* Service33;
159
- const tools = yield* Service53;
160
- const vcs = yield* Service41;
161
- const websearch = yield* Service19;
162
- const generate = yield* Service37;
163
- const permission = yield* Service63;
164
- const hooks = yield* Service68;
165
- const sessions = yield* Service20;
166
- const persistentPty = yield* Service51;
167
- const locations = yield* Service62;
168
- const worktrees = yield* Service15;
169
- const worktreeStrategies = yield* Service16;
152
+ const integration = yield* Service76;
153
+ const kv = yield* Service65;
154
+ const mcp = yield* Service38;
155
+ const location = yield* Service79;
156
+ const reference = yield* Service45;
157
+ const rpc = yield* Service25;
158
+ const skill = yield* Service44;
159
+ const tools = yield* Service40;
160
+ const vcs = yield* Service16;
161
+ const websearch = yield* Service15;
162
+ const generate = yield* Service18;
163
+ const permission = yield* Service61;
164
+ const hooks = yield* Service66;
165
+ const sessions = yield* Service26;
166
+ const persistentPty = yield* Service17;
167
+ const locations = yield* Service68;
168
+ const worktrees = yield* Service21;
169
+ const worktreeStrategies = yield* Service22;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
171
  const locationInfo = () => new Info32({
172
172
  directory: location.directory,
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID12.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info4);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info5);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
- const location = yield* Service78;
186
- const agents = yield* Service66;
185
+ const location = yield* Service79;
186
+ const agents = yield* Service67;
187
187
  return {
188
188
  location: new Info32({
189
189
  directory: location.directory,
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID10.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
222
- update: (id, update) => editor.update(ID10.make(id), update),
223
- remove: (id) => editor.remove(ID10.make(id))
220
+ get: (id) => mutable(editor.get(ID11.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
222
+ update: (id, update) => editor.update(ID11.make(id), update),
223
+ remove: (id) => editor.remove(ID11.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -268,8 +268,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
268
268
  remove: (id) => editor.remove(ID13.make(id)),
269
269
  models: {
270
270
  set: (id, models) => editor.models.set(ID13.make(id), models),
271
- update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
272
- remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
271
+ update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID9.make(modelID), update),
272
+ remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID9.make(modelID))
273
273
  }
274
274
  });
275
275
  })
@@ -280,12 +280,12 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
280
280
  reload: models.reload,
281
281
  transform: (callback) => models.transform((editor) => callback({
282
282
  list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
283
- get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
284
- update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
285
- remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
283
+ get: (providerID, modelID) => editor.get(ID13.make(providerID), ID9.make(modelID)),
284
+ update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID9.make(modelID), update),
285
+ remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID9.make(modelID)),
286
286
  default: {
287
287
  get: editor.default.get,
288
- set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
288
+ set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID9.make(modelID))
289
289
  },
290
290
  provider: {
291
291
  list: editor.provider.list,
@@ -385,8 +385,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
385
385
  const ref = locationRef(input);
386
386
  if (ref && !isCurrentLocation(ref))
387
387
  return Effect.gen(function* () {
388
- const location = yield* Service78;
389
- const mcp = yield* Service32;
388
+ const location = yield* Service79;
389
+ const mcp = yield* Service38;
390
390
  return {
391
391
  location: new Info32({
392
392
  directory: location.directory,
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
437
437
  callback({
438
438
  list: () => mutable(editor.list()),
439
439
  get: editor.get,
440
- add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
440
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info8)(value)),
441
441
  update: editor.update,
442
442
  remove: editor.remove
443
443
  });
@@ -468,19 +468,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
468
468
  providers: () => response(websearch.providers()),
469
469
  query: (input) => response(websearch.query({
470
470
  query: input.query,
471
- providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
471
+ providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
472
472
  })),
473
473
  reload: websearch.reload,
474
474
  transform: (callback) => websearch.transform((editor) => {
475
475
  callback({
476
476
  add: (definition) => editor.add({
477
- id: ID4.make(definition.id),
477
+ id: ID3.make(definition.id),
478
478
  name: definition.name,
479
479
  execute: definition.execute
480
480
  }),
481
481
  default: {
482
482
  get: editor.default.get,
483
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
483
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
484
484
  }
485
485
  });
486
486
  })
@@ -534,31 +534,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
534
534
  return context;
535
535
  });
536
536
  var requirements3 = LayerNode.group([
537
- node37,
537
+ node50,
538
538
  node70,
539
- node76,
540
539
  node78,
541
- node77,
542
- node44,
543
- node86,
544
540
  node79,
545
- node73,
546
- node35,
547
- node82,
541
+ node67,
548
542
  node46,
543
+ node86,
544
+ node80,
545
+ node68,
546
+ node41,
547
+ node83,
548
+ node48,
549
+ node28,
550
+ node47,
549
551
  node43,
550
- node36,
551
- node58,
552
- node45,
553
- node22,
554
- node18,
555
552
  node19,
556
- node41,
557
- node67,
558
- node72,
559
- node23,
560
- node56,
561
- node66
553
+ node18,
554
+ node24,
555
+ node25,
556
+ node21,
557
+ node64,
558
+ node69,
559
+ node29,
560
+ node20,
561
+ node71
562
562
  ]);
563
563
  function storage2(kv, pluginID) {
564
564
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};