@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
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-78b8afjy.js";
3
+ } from "./agent-9aaedtqt.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin38,
11
+ Plugin: () => Plugin7,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint5 = "https://api.tavily.com/search";
18
+ var endpoint4 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin38 = define({
32
+ var Plugin7 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin38 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin38 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin38, exports_tavily };
80
+ export { endpoint4, Plugin7, exports_tavily };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./persistent-pty-3w5fmr99.js";
3
+ } from "./agent-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin41,
11
+ Plugin: () => Plugin10,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin41 = define({
18
+ var Plugin10 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin41, exports_tool_input_repair };
123
+ export { Plugin10, exports_tool_input_repair };
@@ -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/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./persistent-pty-4e13r3ts.js";
4
+ } from "./agent-5dr2wz0s.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./persistent-pty-2402vzrj.js";
11
+ } from "./agent-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./persistent-pty-922hggd3.js";
14
+ } from "./agent-922hggd3.js";
15
15
  import {
16
- Service43,
17
- node47
18
- } from "./persistent-pty-82ahnwkf.js";
16
+ Service46,
17
+ node49
18
+ } from "./agent-xy5p8xg6.js";
19
19
  import {
20
20
  create3
21
- } from "./persistent-pty-rdw6cm16.js";
21
+ } from "./agent-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./persistent-pty-9rqn6x4v.js";
24
+ } from "./agent-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
@@ -31,9 +31,9 @@ __export(exports_reference2, {
31
31
  Info: () => Info9,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service42,
34
+ Service: () => Service45,
35
35
  Source: () => Source4,
36
- node: () => node46
36
+ node: () => node48
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
@@ -45,12 +45,12 @@ var GitSource2 = Reference.GitSource;
45
45
  var Source4 = Reference.Source;
46
46
  var Info9 = Reference.Info;
47
47
 
48
- class Service42 extends Context.Service()("@opencode/Reference") {
48
+ class Service45 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service42, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service82;
53
- const cache = yield* Service43;
53
+ const cache = yield* Service46;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service42.of({
107
+ return Service45.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node46 = makeLocationNode({
116
- service: Service42,
115
+ var node48 = makeLocationNode({
116
+ service: Service45,
117
117
  layer,
118
- deps: [Global.node, node86, node47]
118
+ deps: [Global.node, node86, node49]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source4, Info9, Service42, node46, exports_reference2, Event10 };
121
+ export { LocalSource2, GitSource2, Source4, Info9, Service45, node48, exports_reference2, Event10 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./agent-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -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/mime.ts
6
6
  var exports_mime = {};
@@ -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/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./agent-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info15
13
+ Info: () => Info19
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info15 = Schema.Struct({
30
+ var Info19 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info15, exports_attachment };
34
+ export { Image2, Info19, exports_attachment };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service82
3
- } from "./persistent-pty-4e13r3ts.js";
3
+ } from "./agent-5dr2wz0s.js";
4
4
  import {
5
- Service78
6
- } from "./persistent-pty-n4j23rry.js";
5
+ Service79
6
+ } from "./agent-pj88hhxz.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service32
10
- } from "./persistent-pty-qryrftmh.js";
9
+ Service38
10
+ } from "./agent-rvs7jmzp.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./agent-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command2 = {};
17
- __export(exports_command2, {
18
- CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin48
16
+ var exports_command = {};
17
+ __export(exports_command, {
18
+ CommandPlugin: () => exports_command,
19
+ Plugin: () => Plugin15
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin48 = define({
196
+ var Plugin15 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service78;
200
- const mcp = yield* Service32;
199
+ const location = yield* Service79;
200
+ const mcp = yield* Service38;
201
201
  const bus = yield* Service82;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin48, exports_command2 };
283
+ export { Plugin15, exports_command };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service54
3
- } from "./persistent-pty-rr6jacvf.js";
2
+ Service50
3
+ } from "./agent-bkyn6bwe.js";
4
4
  import {
5
- Service70
6
- } from "./persistent-pty-patgj9rf.js";
5
+ Service41
6
+ } from "./agent-k7myrtme.js";
7
7
  import {
8
8
  observe2
9
- } from "./persistent-pty-qsdy395h.js";
9
+ } from "./agent-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./agent-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin30
18
+ Plugin: () => Plugin34
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin30 = define({
22
+ var Plugin34 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service54;
26
- const image = yield* Service70;
25
+ const config = yield* Service50;
26
+ const image = yield* Service41;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin30 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin30, exports_image };
46
+ export { Plugin34, exports_image };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82
3
- } from "./persistent-pty-4e13r3ts.js";
3
+ } from "./agent-5dr2wz0s.js";
4
4
  import {
5
- Service56,
5
+ Service52,
6
6
  Event12
7
- } from "./persistent-pty-ffw5jcp2.js";
7
+ } from "./agent-fpx40r7k.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin32,
15
+ Plugin: () => Plugin2,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin32 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service82;
24
- const wellknown = yield* Service56;
24
+ const wellknown = yield* Service52;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -45,4 +45,4 @@ var Plugin32 = define({
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin32, exports_plugin };
48
+ export { Plugin2, exports_plugin };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./persistent-pty-w6qqzf7t.js";
5
+ } from "./agent-ak1tpw6q.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./persistent-pty-hmp6wt3x.js";
4
+ } from "./agent-ykcyj6g6.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service82,
8
8
  node86
9
- } from "./persistent-pty-4e13r3ts.js";
9
+ } from "./agent-5dr2wz0s.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./persistent-pty-ec1grn59.js";
12
+ } from "./agent-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./persistent-pty-gftt206x.js";
15
+ } from "./agent-gftt206x.js";
16
16
  import {
17
- update3
18
- } from "./persistent-pty-tbz0fdvh.js";
17
+ update2
18
+ } from "./agent-p28j5sbe.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./persistent-pty-922hggd3.js";
22
+ } from "./agent-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./persistent-pty-dj2t23y0.js";
25
+ } from "./agent-dj2t23y0.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./persistent-pty-5c4hm403.js";
30
+ } from "./agent-5c4hm403.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./persistent-pty-2wzrjk5c.js";
36
+ } from "./agent-m2k0n4kz.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./persistent-pty-gnx4ytbv.js";
42
+ } from "./agent-fab8hzt3.js";
43
43
  import {
44
44
  initialize2
45
- } from "./persistent-pty-92xv3hjf.js";
45
+ } from "./agent-mhh2wvta.js";
46
46
  import {
47
47
  Slug2
48
- } from "./persistent-pty-gebd4c9n.js";
48
+ } from "./agent-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./persistent-pty-9rqn6x4v.js";
51
+ } from "./agent-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node25
58
+ node: () => node31
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -246,7 +246,7 @@ function run(db, event) {
246
246
  updateCompaction: updateMessage,
247
247
  appendMessage
248
248
  };
249
- yield* update3(adapter, event);
249
+ yield* update2(adapter, event);
250
250
  });
251
251
  }
252
252
  function insertMessage(db, event, message) {
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
458
458
  return publishSessionUsage(db, bus, event.data.sessionID);
459
459
  }), Effect.forkScoped({ startImmediately: true }));
460
460
  }));
461
- var node25 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node87] });
461
+ var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node87] });
462
462
 
463
- export { SessionAlreadyProjected2, node25, exports_projector };
463
+ export { SessionAlreadyProjected2, node31, exports_projector };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error4,
9
+ Error: () => Error5,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make17,
14
- node: () => node55,
13
+ make: () => make21,
14
+ node: () => node77,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make17 = (driver) => driver;
32
+ var make21 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node55 = registryNode2({});
47
+ var node77 = registryNode2({});
48
48
 
49
- export { Binding2, Error4, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node55, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node77, exports_driver };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./persistent-pty-hmp6wt3x.js";
4
+ } from "./agent-ykcyj6g6.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./persistent-pty-3hepkmqq.js";
7
+ } from "./agent-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service69,
17
- node: () => node73
16
+ Service: () => Service65,
17
+ node: () => node68
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service69 extends Context.Service()("@opencode/KV") {
22
+ class Service65 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service69, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
25
25
  const db = (yield* Service83).db;
26
- return Service69.of({
26
+ return Service65.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node73 = makeGlobalNode({ service: Service69, layer, deps: [node87] });
54
+ var node68 = makeGlobalNode({ service: Service65, layer, deps: [node87] });
55
55
 
56
- export { Service69, node73, exports_kv };
56
+ export { Service65, node68, exports_kv };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service70
3
- } from "./persistent-pty-patgj9rf.js";
2
+ Service41
3
+ } from "./agent-k7myrtme.js";
4
4
  import {
5
- Service60
6
- } from "./persistent-pty-tegs1ycp.js";
5
+ Service57
6
+ } from "./agent-eqkxs06z.js";
7
7
  import {
8
8
  detect2
9
- } from "./persistent-pty-3smtnn6g.js";
9
+ } from "./agent-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./persistent-pty-dxj72tfx.js";
12
+ } from "./agent-rap9a73h.js";
13
13
  import {
14
- Service68
15
- } from "./persistent-pty-k1gkpfdk.js";
14
+ Service66
15
+ } from "./agent-qby9dwvd.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./persistent-pty-ybhbtxjg.js";
19
+ } from "./agent-2e96adxv.js";
20
20
  import {
21
21
  prepare3,
22
- Service33
23
- } from "./persistent-pty-encztx8n.js";
22
+ Service44
23
+ } from "./agent-r8d6a4tf.js";
24
24
  import {
25
25
  __export
26
- } from "./persistent-pty-9rqn6x4v.js";
26
+ } from "./agent-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service60;
42
+ const instances = yield* Service57;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service68;
45
+ const hooks = yield* Service66;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service33;
64
+ const skillService = yield* Service44;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service70;
129
+ const image = yield* Service41;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));