@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,28 +1,28 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./persistent-pty-4e13r3ts.js";
4
+ } from "./agent-5dr2wz0s.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./persistent-pty-n4j23rry.js";
6
+ Service79,
7
+ node83
8
+ } from "./agent-pj88hhxz.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./persistent-pty-ec1grn59.js";
11
+ } from "./agent-ec1grn59.js";
12
12
  import {
13
- Service64,
14
- node68
15
- } from "./persistent-pty-x5x7kcgs.js";
13
+ Service62,
14
+ node65
15
+ } from "./agent-x9hcbvs5.js";
16
16
  import {
17
17
  __export
18
- } from "./persistent-pty-9rqn6x4v.js";
18
+ } from "./agent-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service5,
23
+ Service: () => Service7,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node7
25
+ node: () => node9
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service5 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service7 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service5, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
38
38
  const bus = yield* Service82;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service64;
41
- const location = yield* Service78;
40
+ const store = yield* Service62;
41
+ const location = yield* Service79;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service5.of({ load });
87
+ return Service7.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node7 = makeLocationNode({
98
+ var node9 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node86, FSUtil.node, node82, node68]
101
+ deps: [node86, FSUtil.node, node83, node65]
102
102
  });
103
103
 
104
- export { Service5, node7, exports_instructions };
104
+ export { Service7, node9, exports_instructions };
@@ -1,38 +1,38 @@
1
1
  import {
2
- Service78
3
- } from "./persistent-pty-n4j23rry.js";
2
+ Service79
3
+ } from "./agent-pj88hhxz.js";
4
4
  import {
5
- Service48
6
- } from "./persistent-pty-4pxrwfad.js";
5
+ Service72
6
+ } from "./agent-vfyx1xy1.js";
7
7
  import {
8
- Service45,
8
+ Service19,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./persistent-pty-65w3833t.js";
11
+ } from "./agent-p3gycn8b.js";
12
12
  import {
13
13
  Service14
14
- } from "./persistent-pty-t4nhm12y.js";
14
+ } from "./agent-2dd34nca.js";
15
15
  import {
16
- Service63
17
- } from "./persistent-pty-s4mb84p1.js";
16
+ Service61
17
+ } from "./agent-zqq6ndec.js";
18
18
  import {
19
- Service18,
19
+ Service13,
20
20
  resolvePath2
21
- } from "./persistent-pty-hnac9jpe.js";
21
+ } from "./agent-zryg9yjn.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./persistent-pty-6prwharc.js";
24
+ } from "./agent-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./persistent-pty-9rqn6x4v.js";
27
+ } from "./agent-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
33
  Input: () => Input9,
34
- Output: () => Output6,
35
- Plugin: () => Plugin9,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin27,
36
36
  name: () => name9
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin9 = {
106
+ var Plugin27 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service18;
110
- const fileMutation = yield* Service45;
111
- const environment = yield* Service48;
109
+ const access = yield* Service13;
110
+ const fileMutation = yield* Service19;
111
+ const environment = yield* Service72;
112
112
  const formatter = yield* Service14;
113
- const location = yield* Service78;
114
- const permission = yield* Service63;
113
+ const location = yield* Service79;
114
+ const permission = yield* Service61;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
116
  name: name9,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
119
  input: Input9,
120
- output: Output6,
120
+ output: Output7,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin9 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name9, Input9, Output6, Plugin9, exports_edit };
197
+ export { name9, Input9, Output7, Plugin27, exports_edit };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service54
4
- } from "./persistent-pty-rr6jacvf.js";
3
+ Service50
4
+ } from "./agent-bkyn6bwe.js";
5
5
  import {
6
6
  observe2
7
- } from "./persistent-pty-qsdy395h.js";
7
+ } from "./agent-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin17
16
+ Plugin: () => Plugin37
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin17 = define({
20
+ var Plugin37 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service54;
23
+ const config = yield* Service50;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin17 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin17, exports_websearch2 };
35
+ export { Plugin37, exports_websearch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./persistent-pty-e84rd1xk.js";
2
+ ID9
3
+ } from "./agent-r23bba5b.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID9.make("gpt-5-chat-latest"), ID9.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -0,0 +1,252 @@
1
+ import {
2
+ node70
3
+ } from "./agent-81eajdsq.js";
4
+ import {
5
+ node82
6
+ } from "./agent-ptadzx8h.js";
7
+ import {
8
+ node80
9
+ } from "./agent-34gj4vpn.js";
10
+ import {
11
+ node83,
12
+ boundNode2
13
+ } from "./agent-pj88hhxz.js";
14
+ import {
15
+ node79
16
+ } from "./agent-7fqa2d9w.js";
17
+ import {
18
+ node78
19
+ } from "./agent-fwgtty9p.js";
20
+ import {
21
+ node67
22
+ } from "./agent-r23bba5b.js";
23
+ import {
24
+ node46
25
+ } from "./agent-psw0wqrt.js";
26
+ import {
27
+ configured7,
28
+ node54
29
+ } from "./agent-bkyn6bwe.js";
30
+ import {
31
+ node75
32
+ } from "./agent-vfyx1xy1.js";
33
+ import {
34
+ node22
35
+ } from "./agent-p3gycn8b.js";
36
+ import {
37
+ node16
38
+ } from "./agent-2dd34nca.js";
39
+ import {
40
+ node73
41
+ } from "./agent-cqtv3ntd.js";
42
+ import {
43
+ node72
44
+ } from "./agent-q06j225y.js";
45
+ import {
46
+ node63
47
+ } from "./agent-ww76mnf4.js";
48
+ import {
49
+ node21
50
+ } from "./agent-vg3tvwdk.js";
51
+ import {
52
+ node44
53
+ } from "./agent-k7myrtme.js";
54
+ import {
55
+ node41
56
+ } from "./agent-rvs7jmzp.js";
57
+ import {
58
+ Service57,
59
+ node60
60
+ } from "./agent-eqkxs06z.js";
61
+ import {
62
+ node36
63
+ } from "./agent-mhh2wvta.js";
64
+ import {
65
+ node69
66
+ } from "./agent-qby9dwvd.js";
67
+ import {
68
+ node64
69
+ } from "./agent-zqq6ndec.js";
70
+ import {
71
+ node61
72
+ } from "./agent-y68y97fv.js";
73
+ import {
74
+ configured5,
75
+ node45
76
+ } from "./agent-xr4jxd3n.js";
77
+ import {
78
+ node34
79
+ } from "./agent-kcjc17br.js";
80
+ import {
81
+ node43
82
+ } from "./agent-ynx1zemv.js";
83
+ import {
84
+ node38
85
+ } from "./agent-2ajemesj.js";
86
+ import {
87
+ node48
88
+ } from "./agent-3g2nmk79.js";
89
+ import {
90
+ node35
91
+ } from "./agent-esjpzfqh.js";
92
+ import {
93
+ node47
94
+ } from "./agent-r8d6a4tf.js";
95
+ import {
96
+ node33
97
+ } from "./agent-kbsfj81n.js";
98
+ import {
99
+ node32
100
+ } from "./agent-b7b1bvw5.js";
101
+ import {
102
+ node42
103
+ } from "./agent-hvge4a7b.js";
104
+ import {
105
+ node57
106
+ } from "./agent-1qyqkqe4.js";
107
+ import {
108
+ node53
109
+ } from "./agent-2gbsvbx5.js";
110
+ import {
111
+ node51
112
+ } from "./agent-vwpw6jr3.js";
113
+ import {
114
+ node28
115
+ } from "./agent-np2d4m60.js";
116
+ import {
117
+ node19
118
+ } from "./agent-mf1nywb3.js";
119
+ import {
120
+ node18
121
+ } from "./agent-edf18fwt.js";
122
+ import {
123
+ node25
124
+ } from "./agent-xm6kpq0w.js";
125
+ import {
126
+ node17
127
+ } from "./agent-d6jhtwvw.js";
128
+ import {
129
+ node2
130
+ } from "./agent-vgmb0hzp.js";
131
+ import {
132
+ Service24,
133
+ node27
134
+ } from "./agent-q2q7z127.js";
135
+ import {
136
+ node15
137
+ } from "./agent-zryg9yjn.js";
138
+ import {
139
+ node8,
140
+ bound2
141
+ } from "./agent-pa8pe2x7.js";
142
+ import {
143
+ node11
144
+ } from "./agent-348gb89b.js";
145
+ import {
146
+ node9
147
+ } from "./agent-dv7xn15p.js";
148
+ import {
149
+ node10
150
+ } from "./agent-m0cf690c.js";
151
+ import {
152
+ node5
153
+ } from "./agent-1mhtqdf9.js";
154
+ import {
155
+ node23
156
+ } from "./agent-gxzbat11.js";
157
+ import {
158
+ node4
159
+ } from "./agent-cwp77bqy.js";
160
+ import {
161
+ node3
162
+ } from "./agent-nv0zfvs3.js";
163
+ import {
164
+ __export
165
+ } from "./agent-9rqn6x4v.js";
166
+
167
+ // src/instance.ts
168
+ var exports_instance = {};
169
+ __export(exports_instance, {
170
+ Instance: () => exports_instance,
171
+ Service: () => Service57,
172
+ graph: () => graph2,
173
+ layer: () => layer2,
174
+ node: () => node60
175
+ });
176
+ import { Context, Effect, Layer } from "effect";
177
+ import { LayerNode } from "@opencode/util/effect/layer-node";
178
+ import { Node } from "@opencode/util/effect/app-node";
179
+ var nodes = [
180
+ node83,
181
+ node27,
182
+ node75,
183
+ node54,
184
+ node70,
185
+ node46,
186
+ node48,
187
+ node28,
188
+ node18,
189
+ node80,
190
+ node79,
191
+ node67,
192
+ node63,
193
+ node78,
194
+ node17,
195
+ node69,
196
+ node8,
197
+ node5,
198
+ node25,
199
+ node73,
200
+ node72,
201
+ node57,
202
+ node23,
203
+ node51,
204
+ node47,
205
+ node34,
206
+ node45,
207
+ node15,
208
+ node22,
209
+ node16,
210
+ node41,
211
+ node64,
212
+ node43,
213
+ node53,
214
+ node44,
215
+ node33,
216
+ node35,
217
+ node36,
218
+ node82,
219
+ node21,
220
+ node10,
221
+ node38,
222
+ node9,
223
+ node61,
224
+ node11,
225
+ node4,
226
+ node32,
227
+ node42,
228
+ node3,
229
+ node19,
230
+ node2
231
+ ];
232
+ var graph2 = LayerNode.group(nodes);
233
+ var vanillaReplacements = [
234
+ node54.replace(configured7({ project: false, global: false })),
235
+ node45.replace(configured5({ project: false, global: false }))
236
+ ];
237
+ function layer2(ref, options = {}) {
238
+ const startedAt = performance.now();
239
+ const replacements = [
240
+ ...options.discovery === false ? vanillaReplacements : [],
241
+ ...options.replacements ?? [],
242
+ node83.replace(boundNode2(ref, { discovery: options.discovery })),
243
+ node8.replace(bound2(options.plugins ?? []))
244
+ ];
245
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service24).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
246
+ directory: ref.directory,
247
+ workspaceID: ref.workspaceID,
248
+ durationMs: Math.round(performance.now() - startedAt)
249
+ })));
250
+ }
251
+
252
+ export { graph2, layer2, exports_instance };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./persistent-pty-4e13r3ts.js";
4
+ } from "./agent-5dr2wz0s.js";
5
5
  import {
6
- Service69,
7
- node73
8
- } from "./persistent-pty-tfxzrdmk.js";
6
+ Service65,
7
+ node68
8
+ } from "./agent-5544h6er.js";
9
9
  import {
10
10
  create3
11
- } from "./persistent-pty-rdw6cm16.js";
11
+ } from "./agent-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./agent-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event6,
21
- ID: () => ID4,
20
+ Event: () => Event3,
21
+ ID: () => ID3,
22
22
  Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service19,
31
+ Service: () => Service15,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node22
33
+ node: () => node18
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event6 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event3 } from "@opencode/schema/websearch";
41
+ var ID3 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID3
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID3,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service19 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service15 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service19, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
69
69
  const bus = yield* Service82;
70
- const kv = yield* Service69;
70
+ const kv = yield* Service65;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service19.of({
127
+ return Service15.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node22 = makeLocationNode({
188
- service: Service19,
187
+ var node18 = makeLocationNode({
188
+ service: Service15,
189
189
  layer,
190
- deps: [node86, node73]
190
+ deps: [node86, node68]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service19, node22, exports_websearch3, Event6 };
193
+ export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service15, node18, exports_websearch3, Event3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./persistent-pty-qaymkmh1.js";
3
+ } from "./agent-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./agent-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./persistent-pty-jexxy024.js";
6
+ } from "./agent-7w99qc9d.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./persistent-pty-ybhbtxjg.js";
9
+ } from "./agent-2e96adxv.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./persistent-pty-eaj1djv9.js";
13
+ } from "./agent-rhjbct0v.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./persistent-pty-5c4hm403.js";
16
+ } from "./agent-5c4hm403.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./persistent-pty-gnx4ytbv.js";
20
+ } from "./agent-fab8hzt3.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./persistent-pty-06dxphr1.js";
25
+ } from "./agent-msq0jde0.js";
26
26
  import {
27
27
  __export
28
- } from "./persistent-pty-9rqn6x4v.js";
28
+ } from "./agent-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service60,
10
- node: () => node64
9
+ Service: () => Service57,
10
+ node: () => node60
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service60 extends Context.Service()("@opencode/Instance") {
16
+ class Service57 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node64 = LayerNode.unbound(Service60, Node.tags.values.global);
18
+ var node60 = LayerNode.unbound(Service57, Node.tags.values.global);
19
19
 
20
- export { Service60, node64, exports_service2 };
20
+ export { Service57, node60, exports_service2 };