@opencode/core 0.0.0-dev-19447 → 0.0.0-dev-19448

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +77 -77
  8. package/dist/chunks/{state-z7xb9rwf.js → file-retention-01z5yxwd.js} +5 -5
  9. package/dist/chunks/{state-z3w2ebh5.js → file-retention-02dn0gj9.js} +3 -3
  10. package/dist/chunks/{state-fwqtep5n.js → file-retention-03vdvqz5.js} +11 -11
  11. package/dist/chunks/{state-bccb6npm.js → file-retention-06dxphr1.js} +4 -4
  12. package/dist/chunks/{state-zh8xyr5z.js → file-retention-07n10xmz.js} +3 -3
  13. package/dist/chunks/{state-sf9n3m03.js → file-retention-07vp4eyz.js} +79 -79
  14. package/dist/chunks/{state-yjrwatts.js → file-retention-096ebvky.js} +24 -24
  15. package/dist/chunks/{state-k685xtze.js → file-retention-0cehhtm7.js} +6 -6
  16. package/dist/chunks/{state-hv30yv51.js → file-retention-0f2q25am.js} +13 -13
  17. package/dist/chunks/{state-qtkzm0vp.js → file-retention-0h54jqbs.js} +8 -8
  18. package/dist/chunks/{state-7m8aa493.js → file-retention-0hqrfwhm.js} +2 -2
  19. package/dist/chunks/file-retention-0mesazry.js +4 -0
  20. package/dist/chunks/{state-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  21. package/dist/chunks/{state-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  22. package/dist/chunks/{state-xspgg4sy.js → file-retention-0swpfrb6.js} +15 -15
  23. package/dist/chunks/{state-n33trdnk.js → file-retention-0t37s3gb.js} +8 -8
  24. package/dist/chunks/{state-mdzsfjay.js → file-retention-0vnpdrzz.js} +21 -21
  25. package/dist/chunks/{state-y8w077mg.js → file-retention-10mpg1ev.js} +24 -24
  26. package/dist/chunks/{state-yvmq8qxx.js → file-retention-1awm1f41.js} +10 -10
  27. package/dist/chunks/{state-qt279kmq.js → file-retention-1bv5gv1b.js} +4 -4
  28. package/dist/chunks/{state-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  29. package/dist/chunks/{state-rez2rx9y.js → file-retention-1f6hy9rq.js} +13 -13
  30. package/dist/chunks/{state-ghn57zes.js → file-retention-1gjj1166.js} +18 -18
  31. package/dist/chunks/{state-nstjqxq4.js → file-retention-1rev7gxe.js} +10 -10
  32. package/dist/chunks/{state-a8daj8er.js → file-retention-21ph0r93.js} +17 -17
  33. package/dist/chunks/{state-21r38tys.js → file-retention-21r38tys.js} +1 -1
  34. package/dist/chunks/{state-ft5ddddr.js → file-retention-21y16wm3.js} +11 -11
  35. package/dist/chunks/{state-hgwdew3c.js → file-retention-22hd0j66.js} +6 -6
  36. package/dist/chunks/{state-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
  37. package/dist/chunks/{state-rk0rec3h.js → file-retention-27rr2vyz.js} +7 -7
  38. package/dist/chunks/{state-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  39. package/dist/chunks/{state-gv04f4x2.js → file-retention-2ce14n3m.js} +3 -3
  40. package/dist/chunks/{state-bjmdedkt.js → file-retention-2e96adxv.js} +9 -9
  41. package/dist/chunks/{state-pcfbqvzv.js → file-retention-2ehqxkpw.js} +18 -18
  42. package/dist/chunks/{state-q01tve33.js → file-retention-2j4n21tp.js} +24 -24
  43. package/dist/chunks/{state-n4gt17cv.js → file-retention-2mjmkh9s.js} +7 -7
  44. package/dist/chunks/{state-wp6vn9tt.js → file-retention-2n1m09z1.js} +43 -43
  45. package/dist/chunks/{state-630nmsgx.js → file-retention-2rq070n9.js} +8 -8
  46. package/dist/chunks/{state-egaqz5a1.js → file-retention-2vjdmk3d.js} +4 -4
  47. package/dist/chunks/{state-j2hxc3t3.js → file-retention-39ndxgpe.js} +36 -36
  48. package/dist/chunks/{state-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{state-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{state-r7abcrtk.js → file-retention-3hxd2pas.js} +9 -9
  51. package/dist/chunks/{state-g2kcfwq1.js → file-retention-3rdyp2e9.js} +17 -17
  52. package/dist/chunks/{state-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  53. package/dist/chunks/{state-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{state-4r0p8j9m.js → file-retention-3xh7thmg.js} +24 -24
  55. package/dist/chunks/{state-0n9gyfew.js → file-retention-43k15f45.js} +4 -4
  56. package/dist/chunks/{state-2a04vspk.js → file-retention-44pwjz7h.js} +10 -10
  57. package/dist/chunks/{state-vcjhp4qm.js → file-retention-4cbsgq64.js} +9 -9
  58. package/dist/chunks/{state-pvv5xcv6.js → file-retention-4mfjr29g.js} +11 -11
  59. package/dist/chunks/{state-mvfdckk2.js → file-retention-4ns3h2re.js} +4 -4
  60. package/dist/chunks/{state-py1bxw50.js → file-retention-50qymgqy.js} +25 -25
  61. package/dist/chunks/{state-q6kb9sck.js → file-retention-50tj1fna.js} +12 -12
  62. package/dist/chunks/{state-n5rrarpp.js → file-retention-53an9qaw.js} +9 -9
  63. package/dist/chunks/{state-kf7j6cg9.js → file-retention-555ky206.js} +10 -10
  64. package/dist/chunks/{state-56gdpj1q.js → file-retention-56gdpj1q.js} +2 -2
  65. package/dist/chunks/{state-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  66. package/dist/chunks/{state-rknfjh7e.js → file-retention-5s16absr.js} +1 -1
  67. package/dist/chunks/{state-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{state-hp2hfxry.js → file-retention-5xcyjzx9.js} +30 -30
  69. package/dist/chunks/file-retention-619r8v3y.js +18 -0
  70. package/dist/chunks/{state-669tq793.js → file-retention-669tq793.js} +1 -1
  71. package/dist/chunks/{state-rne9htfb.js → file-retention-6h729pt7.js} +25 -25
  72. package/dist/chunks/{state-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{state-hf8gcg7x.js → file-retention-6s5ftx64.js} +22 -22
  74. package/dist/chunks/{state-fn0qbmzq.js → file-retention-6tsrzwz7.js} +5 -5
  75. package/dist/chunks/{state-w00e6xjq.js → file-retention-6xvefnve.js} +20 -20
  76. package/dist/chunks/{state-w7spaet8.js → file-retention-70rp2wwb.js} +16 -16
  77. package/dist/chunks/{state-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
  78. package/dist/chunks/{state-371rq13y.js → file-retention-7afqphx4.js} +30 -30
  79. package/dist/chunks/{state-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{state-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
  81. package/dist/chunks/{state-88m64g4a.js → file-retention-7gmgk224.js} +28 -28
  82. package/dist/chunks/{state-741rac0p.js → file-retention-7h3vxbq8.js} +24 -24
  83. package/dist/chunks/{state-eqk324jh.js → file-retention-7hc658wz.js} +43 -43
  84. package/dist/chunks/{state-2xf2qswm.js → file-retention-7kn0j7vj.js} +20 -20
  85. package/dist/chunks/{state-d8nc1xcx.js → file-retention-7sqxeqwy.js} +4 -4
  86. package/dist/chunks/{state-bq8a1h3r.js → file-retention-7sza4df7.js} +13 -13
  87. package/dist/chunks/{state-pc9p5g4e.js → file-retention-8273cdnn.js} +16 -16
  88. package/dist/chunks/{state-69z021zb.js → file-retention-869zy1ww.js} +11 -11
  89. package/dist/chunks/{state-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{state-7vg8dtx8.js → file-retention-8kma1xxh.js} +17 -17
  91. package/dist/chunks/{state-d5drqwgr.js → file-retention-8kvrn2j1.js} +6 -6
  92. package/dist/chunks/{state-2c7dx6p2.js → file-retention-8p08r1qg.js} +23 -23
  93. package/dist/chunks/{state-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
  94. package/dist/chunks/{state-9w4ppqge.js → file-retention-8ryk0bb9.js} +5 -5
  95. package/dist/chunks/{state-20d64x48.js → file-retention-8tn92620.js} +11 -11
  96. package/dist/chunks/{state-vqyfcyyq.js → file-retention-8wwtrzd2.js} +11 -11
  97. package/dist/chunks/{state-zrx4sfag.js → file-retention-8x2v7k4j.js} +54 -54
  98. package/dist/chunks/{state-6xcfd9ra.js → file-retention-9486j81v.js} +9 -9
  99. package/dist/chunks/{state-83x6p9kd.js → file-retention-96yt6zt0.js} +1 -1
  100. package/dist/chunks/{state-w6sqmgkm.js → file-retention-9vgqcaan.js} +17 -17
  101. package/dist/chunks/{state-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{state-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  103. package/dist/chunks/{state-qham2r5k.js → file-retention-aaxyspyh.js} +12 -12
  104. package/dist/chunks/{state-hydn0fzr.js → file-retention-ac89cwr5.js} +9 -9
  105. package/dist/chunks/{state-d09006c3.js → file-retention-af4kcksd.js} +9 -9
  106. package/dist/chunks/{state-e0jg44ag.js → file-retention-afqmc9k2.js} +16 -16
  107. package/dist/chunks/{state-bfrr9zkb.js → file-retention-ah47jct0.js} +144 -144
  108. package/dist/chunks/{state-1dsbh3ng.js → file-retention-arezx02c.js} +43 -43
  109. package/dist/chunks/{state-589ed8en.js → file-retention-aw7a9nw5.js} +5 -5
  110. package/dist/chunks/{state-adas53zv.js → file-retention-b0k29y2c.js} +15 -15
  111. package/dist/chunks/{state-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{state-3j8sdtpz.js → file-retention-bct739vz.js} +4 -4
  113. package/dist/chunks/{state-n8c291r7.js → file-retention-bdqrk2vk.js} +6 -6
  114. package/dist/chunks/{state-cdtt9ez6.js → file-retention-bvbz56nf.js} +17 -17
  115. package/dist/chunks/{state-whj48kk1.js → file-retention-bw6ad3ce.js} +7 -7
  116. package/dist/chunks/{state-e25hakt3.js → file-retention-c28eb4sz.js} +24 -24
  117. package/dist/chunks/{state-m3raks5k.js → file-retention-c95d7h9p.js} +18 -18
  118. package/dist/chunks/{state-26sztzag.js → file-retention-cat71d1r.js} +8 -8
  119. package/dist/chunks/{state-5wtwrezn.js → file-retention-cavr175a.js} +21 -21
  120. package/dist/chunks/{state-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
  121. package/dist/chunks/{state-hzm9egg4.js → file-retention-cjg4xdhd.js} +11 -11
  122. package/dist/chunks/{state-cq37gk0t.js → file-retention-cq37gk0t.js} +4 -4
  123. package/dist/chunks/{state-yqvvfgxe.js → file-retention-crnty030.js} +15 -15
  124. package/dist/chunks/{state-t23qze4t.js → file-retention-d50f2zf5.js} +1 -1
  125. package/dist/chunks/{state-s6xtjvjv.js → file-retention-d93f29dp.js} +8 -8
  126. package/dist/chunks/{state-vgstyqk1.js → file-retention-dak94xbq.js} +4 -4
  127. package/dist/chunks/{state-8rgwsr78.js → file-retention-dfj54ch4.js} +16 -16
  128. package/dist/chunks/{state-7b15y959.js → file-retention-dgj0dq1g.js} +8 -8
  129. package/dist/chunks/{state-bw0vgseb.js → file-retention-dh35ypn5.js} +5 -5
  130. package/dist/chunks/{state-nk5bqcmm.js → file-retention-dm0r48f7.js} +6 -6
  131. package/dist/chunks/{state-dpkg50ah.js → file-retention-dpkg50ah.js} +1 -1
  132. package/dist/chunks/{state-8n4kyv5a.js → file-retention-e1zd518x.js} +17 -17
  133. package/dist/chunks/{state-zhg3k1bt.js → file-retention-ebpnnjbe.js} +59 -59
  134. package/dist/chunks/{state-xmwwwpgj.js → file-retention-ekz5bwcn.js} +35 -35
  135. package/dist/chunks/{state-ag4rn41e.js → file-retention-embw8kgh.js} +4 -4
  136. package/dist/chunks/{state-5jv30jb5.js → file-retention-emcapr5g.js} +15 -15
  137. package/dist/chunks/{state-v0n7m6cm.js → file-retention-epn8kvkh.js} +15 -15
  138. package/dist/chunks/{state-wwr1ex90.js → file-retention-erc452cp.js} +11 -11
  139. package/dist/chunks/{state-z2t22we9.js → file-retention-etpxg0rn.js} +79 -79
  140. package/dist/chunks/{state-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{state-4apk1xby.js → file-retention-f3qh1r3p.js} +8 -8
  142. package/dist/chunks/{state-f828m53h.js → file-retention-f828m53h.js} +2 -2
  143. package/dist/chunks/{state-t8mcaem5.js → file-retention-f8q7mv7a.js} +1 -1
  144. package/dist/chunks/{state-mwjh8pk4.js → file-retention-fa7a5kmm.js} +10 -10
  145. package/dist/chunks/{state-gt0cxfk7.js → file-retention-fgh0kbhd.js} +1 -1
  146. package/dist/chunks/{state-t0x5rdq8.js → file-retention-fjmrr6sh.js} +9 -9
  147. package/dist/chunks/{state-zfznrpx1.js → file-retention-frwpyczr.js} +4 -4
  148. package/dist/chunks/{state-kjmahcfy.js → file-retention-fs2pkz11.js} +24 -24
  149. package/dist/chunks/{state-73v7pdd7.js → file-retention-fsnnn25x.js} +8 -8
  150. package/dist/chunks/{state-qqtwvk4z.js → file-retention-fvanntqq.js} +6 -6
  151. package/dist/chunks/{state-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{state-jhetwysa.js → file-retention-fygdb7h7.js} +3 -3
  153. package/dist/chunks/{state-wfhhx5kx.js → file-retention-fzg7178x.js} +24 -24
  154. package/dist/chunks/{state-sygp3w95.js → file-retention-g47eftgs.js} +9 -9
  155. package/dist/chunks/{state-0648k9gm.js → file-retention-g76ncgrf.js} +9 -9
  156. package/dist/chunks/{state-8hgfhrm0.js → file-retention-g8jasmdt.js} +11 -11
  157. package/dist/chunks/{state-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{state-69gqtgnz.js → file-retention-gf6kms5r.js} +26 -26
  159. package/dist/chunks/{state-nxk9db36.js → file-retention-gnwa8js5.js} +5 -5
  160. package/dist/chunks/{state-nqh9s1ag.js → file-retention-gsnhw10k.js} +30 -30
  161. package/dist/chunks/{state-2bt6bea8.js → file-retention-gsx0ryk4.js} +9 -9
  162. package/dist/chunks/{state-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{state-0s202vxj.js → file-retention-gw2ymje7.js} +32 -32
  164. package/dist/chunks/{state-1av7y6ck.js → file-retention-gyg8dfc2.js} +4 -4
  165. package/dist/chunks/{state-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{state-eqkthcn2.js → file-retention-h0r85tvv.js} +11 -11
  167. package/dist/chunks/{state-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  168. package/dist/chunks/file-retention-hs9vagrq.js +22 -0
  169. package/dist/chunks/{state-4b08hh7s.js → file-retention-j07qhehd.js} +36 -36
  170. package/dist/chunks/{state-k1mmad3q.js → file-retention-j0z6kjp0.js} +54 -54
  171. package/dist/chunks/{state-9m226mrz.js → file-retention-j2n4dsrb.js} +8 -8
  172. package/dist/chunks/{state-tjxnqq6b.js → file-retention-j4m03wzn.js} +13 -13
  173. package/dist/chunks/{state-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  174. package/dist/chunks/{state-05a7kx7a.js → file-retention-j9d0ywkw.js} +11 -11
  175. package/dist/chunks/{state-3cvmtvgn.js → file-retention-jhe81125.js} +271 -271
  176. package/dist/chunks/{state-s71e30v8.js → file-retention-jhrth04p.js} +20 -20
  177. package/dist/chunks/{state-dj9214gk.js → file-retention-jw5zxnhe.js} +8 -8
  178. package/dist/chunks/{state-5nsrms9d.js → file-retention-k16ay38w.js} +1 -1
  179. package/dist/chunks/file-retention-k39k42nb.js +247 -0
  180. package/dist/chunks/{state-dm2tk95h.js → file-retention-kbmsdr00.js} +26 -26
  181. package/dist/chunks/{state-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
  182. package/dist/chunks/{state-18rb28sc.js → file-retention-kksxa1cq.js} +31 -31
  183. package/dist/chunks/{state-6wmqk8tg.js → file-retention-km74qb37.js} +32 -32
  184. package/dist/chunks/{state-9jz16955.js → file-retention-kmbf06zj.js} +19 -19
  185. package/dist/chunks/{state-gd44rrza.js → file-retention-krm7e7dw.js} +20 -20
  186. package/dist/chunks/{state-zxwpk2nb.js → file-retention-ksz0h0wp.js} +1 -1
  187. package/dist/chunks/{state-ymtr76dy.js → file-retention-kwqs22xk.js} +6 -6
  188. package/dist/chunks/{state-c7ecgrk6.js → file-retention-m27pyyd3.js} +6 -6
  189. package/dist/chunks/{state-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{state-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
  191. package/dist/chunks/{state-t02ee0r6.js → file-retention-mmxganfs.js} +4 -4
  192. package/dist/chunks/{state-r7y3b39c.js → file-retention-mn59ba1z.js} +26 -26
  193. package/dist/chunks/{state-b1hwkhhg.js → file-retention-mn5tqr63.js} +8 -8
  194. package/dist/chunks/{state-r5x6zcsm.js → file-retention-mvfsc1pv.js} +3 -3
  195. package/dist/chunks/{state-fxpw1b1v.js → file-retention-n1d91sft.js} +7 -7
  196. package/dist/chunks/{state-71qjf0b8.js → file-retention-n2sd6q17.js} +38 -38
  197. package/dist/chunks/{state-4mkcvr19.js → file-retention-n76fdqym.js} +5 -5
  198. package/dist/chunks/{state-jv1rjkwz.js → file-retention-n92f50s8.js} +9 -9
  199. package/dist/chunks/{state-fkd2ewj5.js → file-retention-nfq246yx.js} +12 -12
  200. package/dist/chunks/{state-2k6pebmx.js → file-retention-nhahagkd.js} +10 -10
  201. package/dist/chunks/{state-nha5c8v7.js → file-retention-nhph57h8.js} +15 -15
  202. package/dist/chunks/{state-e82z9tr0.js → file-retention-nhy5jxhy.js} +7 -7
  203. package/dist/chunks/{state-t1k5mf8a.js → file-retention-nkr2m8gd.js} +13 -13
  204. package/dist/chunks/{state-vfd9tqdg.js → file-retention-npgs9cj4.js} +25 -25
  205. package/dist/chunks/{state-d2aac7k2.js → file-retention-p44d8wdy.js} +5 -5
  206. package/dist/chunks/{state-qre08jc7.js → file-retention-p6q9533y.js} +46 -46
  207. package/dist/chunks/{state-j935v87r.js → file-retention-paphc93g.js} +2 -2
  208. package/dist/chunks/{state-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{state-pknna89w.js → file-retention-pknna89w.js} +1 -1
  210. package/dist/chunks/{state-f6yt6dgc.js → file-retention-pn64wmq6.js} +20 -20
  211. package/dist/chunks/{state-3bjt6tyc.js → file-retention-ppna41xj.js} +25 -25
  212. package/dist/chunks/{state-2ejv1vgm.js → file-retention-ptj67sqd.js} +11 -11
  213. package/dist/chunks/{state-8zz7gbde.js → file-retention-pv1zy8m3.js} +9 -9
  214. package/dist/chunks/{state-szp4egx7.js → file-retention-q5besymn.js} +7 -7
  215. package/dist/chunks/{state-sakk5q3t.js → file-retention-qcpabzqj.js} +10 -10
  216. package/dist/chunks/{state-nrs119em.js → file-retention-qek8dtx8.js} +16 -16
  217. package/dist/chunks/{state-3gccbha0.js → file-retention-qhh22kz2.js} +24 -24
  218. package/dist/chunks/{state-9kt8rvst.js → file-retention-qmyyxapx.js} +3 -3
  219. package/dist/chunks/{state-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  220. package/dist/chunks/{state-vmq7ehpy.js → file-retention-qte5z7bc.js} +5 -5
  221. package/dist/chunks/{state-7vt79aw3.js → file-retention-qtwbjpms.js} +35 -35
  222. package/dist/chunks/{state-5mgyr71h.js → file-retention-qwqrj6wy.js} +15 -15
  223. package/dist/chunks/{state-ptcns195.js → file-retention-qymdde0s.js} +33 -33
  224. package/dist/chunks/{state-y0gzpn3q.js → file-retention-qyrhphfh.js} +6 -6
  225. package/dist/chunks/{state-80ajb4ze.js → file-retention-r0hxv64b.js} +18 -18
  226. package/dist/chunks/{state-yddgxcp4.js → file-retention-r1wdcgzk.js} +5 -5
  227. package/dist/chunks/{state-5mxf2g3h.js → file-retention-r453yw66.js} +35 -35
  228. package/dist/chunks/{state-1wxb385z.js → file-retention-r9babyk8.js} +1 -1
  229. package/dist/chunks/{state-r9mregkx.js → file-retention-r9mregkx.js} +2 -2
  230. package/dist/chunks/{state-zcypt17g.js → file-retention-rc7zd1wa.js} +34 -34
  231. package/dist/chunks/{state-rhjbct0v.js → file-retention-rhjbct0v.js} +1 -1
  232. package/dist/chunks/{state-ratrq7cm.js → file-retention-ryr25ayn.js} +4 -4
  233. package/dist/chunks/{state-xw1aq7ry.js → file-retention-s1ad6w9q.js} +20 -20
  234. package/dist/chunks/{state-08j3z4gr.js → file-retention-s5rvfnyx.js} +34 -34
  235. package/dist/chunks/{state-8eevnfmp.js → file-retention-srjznz14.js} +14 -14
  236. package/dist/chunks/{state-0epz30wj.js → file-retention-sw1efyn5.js} +11 -11
  237. package/dist/chunks/{state-xya91wz4.js → file-retention-t7z3zppm.js} +2 -2
  238. package/dist/chunks/{state-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{state-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{state-tdstcens.js → file-retention-tdstcens.js} +1 -1
  241. package/dist/chunks/{state-sgfkh1bp.js → file-retention-tfngb0ww.js} +4 -4
  242. package/dist/chunks/{state-3w2b2yj4.js → file-retention-tn0aqsam.js} +5 -5
  243. package/dist/chunks/{state-zcszxaec.js → file-retention-tpf4g67y.js} +24 -24
  244. package/dist/chunks/{state-cca5jwjt.js → file-retention-tprh6xrh.js} +15 -15
  245. package/dist/chunks/{state-p5c842fr.js → file-retention-tqgn9w63.js} +11 -11
  246. package/dist/chunks/{state-6mzje07h.js → file-retention-tr8f0wtm.js} +27 -27
  247. package/dist/chunks/{state-h5y3ggrz.js → file-retention-trfd6fkk.js} +30 -30
  248. package/dist/chunks/{state-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  249. package/dist/chunks/{state-v68haqbh.js → file-retention-v68haqbh.js} +2 -2
  250. package/dist/chunks/{state-wmnxc830.js → file-retention-v8jfbz3g.js} +6 -6
  251. package/dist/chunks/{state-61gfw7vb.js → file-retention-vaxvpga0.js} +13 -13
  252. package/dist/chunks/{state-yc6ba066.js → file-retention-vd83qvgk.js} +16 -16
  253. package/dist/chunks/{state-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  254. package/dist/chunks/{state-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{state-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{state-xvcx3c16.js → file-retention-wb19mssj.js} +23 -23
  257. package/dist/chunks/{state-wd87259q.js → file-retention-wd87259q.js} +1 -1
  258. package/dist/chunks/{state-5m22982g.js → file-retention-wpewnqw5.js} +8 -8
  259. package/dist/chunks/{state-3ysw30zh.js → file-retention-wvehkrpd.js} +15 -15
  260. package/dist/chunks/{state-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{state-2vvhwkt5.js → file-retention-xegz7fxd.js} +3 -3
  262. package/dist/chunks/{state-xt6fp642.js → file-retention-xejffc0d.js} +21 -21
  263. package/dist/chunks/{state-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{state-2qv402zs.js → file-retention-y772rwhv.js} +26 -26
  265. package/dist/chunks/{state-v110bm42.js → file-retention-y9qg9czc.js} +13 -13
  266. package/dist/chunks/{state-9kxz69xd.js → file-retention-ycdsf1jf.js} +45 -45
  267. package/dist/chunks/{state-qwft8tw5.js → file-retention-ydh6k28s.js} +20 -20
  268. package/dist/chunks/{state-xy44egkm.js → file-retention-yk6wg77b.js} +39 -39
  269. package/dist/chunks/{state-f2n192rq.js → file-retention-yp2x3t23.js} +4 -4
  270. package/dist/chunks/{state-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{state-s4enseaf.js → file-retention-yrznvahk.js} +2 -2
  272. package/dist/chunks/{state-ddx3tg71.js → file-retention-ytx9308a.js} +8 -8
  273. package/dist/chunks/{state-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{state-3swjnzyz.js → file-retention-z3ndh4jt.js} +9 -9
  275. package/dist/chunks/{state-29x78va6.js → file-retention-z63w68vq.js} +6 -6
  276. package/dist/chunks/{state-en74w496.js → file-retention-z69s9t6b.js} +5 -5
  277. package/dist/chunks/{state-7cp8re23.js → file-retention-z7x0xt50.js} +15 -15
  278. package/dist/chunks/{state-2hwvj3p4.js → file-retention-z80kxeh4.js} +20 -20
  279. package/dist/chunks/{state-1wd5x2dp.js → file-retention-za681ws6.js} +13 -13
  280. package/dist/chunks/{state-020j3mp2.js → file-retention-za77p82n.js} +6 -6
  281. package/dist/chunks/{state-sbv6zvrh.js → file-retention-zb0sdjym.js} +43 -43
  282. package/dist/chunks/{state-jaynhz0w.js → file-retention-zcwm7cjd.js} +24 -24
  283. package/dist/chunks/{state-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{state-nx4sh7k4.js → file-retention-zk0xr9z7.js} +4 -4
  285. package/dist/chunks/{state-930xmq4h.js → file-retention-zps6r183.js} +2 -2
  286. package/dist/chunks/{state-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{state-ghf4fa8m.js → file-retention-zwsa7mgc.js} +16 -16
  288. package/dist/chunks/{state-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +77 -77
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +122 -122
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +114 -114
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +111 -111
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +100 -100
  425. package/dist/form.js +78 -78
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +93 -93
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +81 -81
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +74 -74
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +128 -128
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +103 -103
  469. package/dist/mcp/instructions.js +116 -116
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +108 -108
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +131 -131
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +339 -339
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +6 -6
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +94 -94
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +91 -91
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +125 -125
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +216 -216
  576. package/dist/session/execution.js +124 -124
  577. package/dist/session/generate.js +148 -148
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +88 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +88 -88
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +1 -1
  603. package/dist/session/session.js +167 -167
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +149 -149
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +210 -210
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +209 -209
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +15 -15
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +109 -109
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +98 -98
  637. package/dist/tool/plugin/read.js +119 -119
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +106 -106
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +83 -83
  675. package/dist/websearch.js +80 -80
  676. package/dist/wellknown/plugin.js +72 -72
  677. package/dist/wellknown.js +79 -79
  678. package/dist/workspace/driver.js +3 -3
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +89 -89
  686. package/package.json +8 -8
  687. package/dist/chunks/state-26rhzh90.js +0 -247
  688. package/dist/chunks/state-h47he10w.js +0 -4
  689. package/dist/chunks/state-p2m6ahm5.js +0 -22
  690. package/dist/chunks/state-vnkjks7b.js +0 -18
  691. /package/dist/chunks/{state-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{state-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{state-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{state-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{state-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{state-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{state-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{state-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{state-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{state-3asan66x.js → file-retention-3asan66x.js} +0 -0
  701. /package/dist/chunks/{state-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{state-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{state-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{state-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{state-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{state-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{state-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{state-53557ph1.js → file-retention-53557ph1.js} +0 -0
  709. /package/dist/chunks/{state-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{state-6prwharc.js → file-retention-6prwharc.js} +0 -0
  711. /package/dist/chunks/{state-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{state-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{state-7w99qc9d.js → file-retention-7w99qc9d.js} +0 -0
  714. /package/dist/chunks/{state-822emrt2.js → file-retention-822emrt2.js} +0 -0
  715. /package/dist/chunks/{state-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{state-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{state-922hggd3.js → file-retention-922hggd3.js} +0 -0
  718. /package/dist/chunks/{state-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{state-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{state-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{state-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{state-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{state-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{state-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{state-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{state-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{state-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{state-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{state-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{state-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{state-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{state-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{state-df08tz66.js → file-retention-df08tz66.js} +0 -0
  734. /package/dist/chunks/{state-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{state-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{state-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{state-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{state-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{state-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{state-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{state-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{state-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{state-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{state-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{state-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{state-g86h250q.js → file-retention-g86h250q.js} +0 -0
  747. /package/dist/chunks/{state-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{state-gftt206x.js → file-retention-gftt206x.js} +0 -0
  749. /package/dist/chunks/{state-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{state-hk9envan.js → file-retention-hk9envan.js} +0 -0
  751. /package/dist/chunks/{state-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{state-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{state-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{state-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{state-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{state-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{state-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{state-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{state-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{state-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{state-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{state-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{state-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{state-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{state-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{state-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{state-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{state-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{state-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{state-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{state-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{state-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{state-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{state-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{state-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{state-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{state-x61499pn.js → file-retention-x61499pn.js} +0 -0
  778. /package/dist/chunks/{state-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{state-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{state-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{state-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{state-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./state-gv04f4x2.js";
4
+ } from "./file-retention-2ce14n3m.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./state-egaqz5a1.js";
8
+ } from "./file-retention-2vjdmk3d.js";
9
9
  import {
10
- Service34,
11
- node37
12
- } from "./state-w6sqmgkm.js";
10
+ Service51,
11
+ node54
12
+ } from "./file-retention-9vgqcaan.js";
13
13
  import {
14
- Service32,
15
- node35
16
- } from "./state-wmnxc830.js";
14
+ Service49,
15
+ node52
16
+ } from "./file-retention-v8jfbz3g.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./state-ec1grn59.js";
19
+ } from "./file-retention-ec1grn59.js";
20
20
  import {
21
- make15
22
- } from "./state-f2n192rq.js";
21
+ make16
22
+ } from "./file-retention-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service29
26
- } from "./state-ag4rn41e.js";
25
+ Service47
26
+ } from "./file-retention-embw8kgh.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./state-bjmdedkt.js";
29
+ } from "./file-retention-2e96adxv.js";
30
30
  import {
31
- Service45,
32
- node49
33
- } from "./state-pc9p5g4e.js";
31
+ Service61,
32
+ node65
33
+ } from "./file-retention-8273cdnn.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./state-qt279kmq.js";
36
+ } from "./file-retention-1bv5gv1b.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./state-wfhhx5kx.js";
39
+ } from "./file-retention-fzg7178x.js";
40
40
  import {
41
41
  __export
42
- } from "./state-9rqn6x4v.js";
42
+ } from "./file-retention-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service28,
47
+ Service: () => Service46,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer14,
50
- node: () => node32,
51
- noopLayer: () => noopLayer2,
49
+ layer: () => layer19,
50
+ node: () => node50,
51
+ noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service28 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service46 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer14 = Layer.effect(Service28, Effect.gen(function* () {
69
- const store = yield* Service45;
70
- const instances = yield* Service32;
68
+ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
69
+ const store = yield* Service61;
70
+ const instances = yield* Service49;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service34;
72
+ const jobs = yield* Service51;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service29.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service47.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make15({
91
+ const coordinator = yield* make16({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service28.of({
112
+ return Service46.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node32 = makeGlobalNode({
132
- service: Service28,
133
- layer: layer14,
134
- deps: [node49, node35, node84, node85, node37]
131
+ var node50 = makeGlobalNode({
132
+ service: Service46,
133
+ layer: layer19,
134
+ deps: [node65, node52, node84, node85, node54]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service28, Service28.of({
136
+ var noopLayer3 = Layer.succeed(Service46, Service46.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service28, Service28.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service28, terminal2, layer14, node32, noopLayer2, exports_execution };
145
+ export { Service46, terminal2, layer19, node50, noopLayer3, exports_execution };
@@ -1,8 +1,8 @@
1
1
  import {
2
- ID17,
2
+ ID18,
3
3
  isAISDK2,
4
4
  packageName2
5
- } from "./state-c7ecgrk6.js";
5
+ } from "./file-retention-m27pyyd3.js";
6
6
 
7
7
  // src/plugin/provider/google-vertex.ts
8
8
  import { Effect } from "effect";
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
39
39
  for (const item of evt.provider.list()) {
40
40
  if (!isAISDK2(item.provider.package))
41
41
  continue;
42
- if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID17.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
42
+ if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID18.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
43
43
  continue;
44
44
  const project = resolveProject(item.provider.settings ?? {});
45
45
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
56
56
  }
57
57
  });
58
58
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
59
- if (evt.model.providerID === ID17.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
59
+ if (evt.model.providerID === ID18.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
60
60
  evt.options.fetch = authFetch(evt.options.fetch);
61
61
  return;
62
62
  }
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
87
87
  });
88
88
  }));
89
89
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
90
- if (evt.model.providerID !== ID17.googleVertex)
90
+ if (evt.model.providerID !== ID18.googleVertex)
91
91
  return;
92
92
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
93
93
  }));
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service64
3
- } from "./state-1dsbh3ng.js";
2
+ Service53
3
+ } from "./file-retention-arezx02c.js";
4
4
  import {
5
5
  Service10
6
- } from "./state-s71e30v8.js";
6
+ } from "./file-retention-jhrth04p.js";
7
7
  import {
8
8
  observe2
9
- } from "./state-qsdy395h.js";
9
+ } from "./file-retention-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./file-retention-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin24
18
+ Plugin: () => Plugin30
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin24 = define({
22
+ var Plugin30 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service64;
25
+ const config = yield* Service53;
26
26
  const compaction = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
@@ -39,4 +39,4 @@ var Plugin24 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin24, exports_compaction };
42
+ export { Plugin30, exports_compaction };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./state-gd4qta3r.js";
3
+ } from "./file-retention-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./state-tvtrv512.js";
6
+ } from "./file-retention-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./state-kg06axw8.js";
9
+ } from "./file-retention-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./file-retention-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service63,
21
+ Service: () => Service41,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node67
23
+ node: () => node45
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service63 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service41 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service63, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service63.of({
125
+ return Service41.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node67 = makeLocationNode({
143
- service: Service63,
142
+ var node45 = makeLocationNode({
143
+ service: Service41,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service63, node67, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service41, node45, exports_tool_output2 };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./state-egaqz5a1.js";
5
+ } from "./file-retention-2vjdmk3d.js";
6
6
  import {
7
7
  __export
8
- } from "./state-9rqn6x4v.js";
8
+ } from "./file-retention-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service5,
14
+ Service: () => Service12,
15
15
  Updated: () => Updated2,
16
- layer: () => layer6,
17
- node: () => node8
16
+ layer: () => layer7,
17
+ node: () => node15
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service12 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer6 = Layer.effect(Service5, Effect.gen(function* () {
25
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
26
26
  const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service12.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node8 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node84] });
36
+ var node15 = makeGlobalNode({ service: Service12, layer: layer7, deps: [node84] });
37
37
 
38
- export { Updated2, Service5, layer6, node8, exports_sdk };
38
+ export { Updated2, Service12, layer7, node15, exports_sdk };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service72,
3
- node77
4
- } from "./state-8rgwsr78.js";
2
+ Service69,
3
+ node73
4
+ } from "./file-retention-dfj54ch4.js";
5
5
  import {
6
6
  create3
7
- } from "./state-kg06axw8.js";
7
+ } from "./file-retention-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./state-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service51,
17
- node: () => node55
16
+ Service: () => Service13,
17
+ node: () => node16
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service51 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service13 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service51, Effect.gen(function* () {
27
- const location = yield* Service72;
26
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
27
+ const location = yield* Service69;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service51.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service13.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node55 = makeLocationNode({
91
- service: Service51,
90
+ var node16 = makeLocationNode({
91
+ service: Service13,
92
92
  layer,
93
- deps: [node77, AppProcess.node]
93
+ deps: [node73, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service51, node55, exports_formatter2 };
96
+ export { Service13, node16, exports_formatter2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make13,
10
- render: () => render2
9
+ make: () => make14,
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make13(tools) {
33
- return render2(system_default, tools);
32
+ function make14(tools) {
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make13, render2, exports_system_prompt };
50
+ export { make14, render3, exports_system_prompt };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-hzm9egg4.js";
3
+ } from "./file-retention-cjg4xdhd.js";
4
4
  import {
5
5
  Service79
6
- } from "./state-egaqz5a1.js";
6
+ } from "./file-retention-2vjdmk3d.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./state-88m64g4a.js";
9
+ Event19
10
+ } from "./file-retention-7gmgk224.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./state-8zz7gbde.js";
14
+ } from "./file-retention-pv1zy8m3.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./state-pjvnvgmy.js";
18
+ } from "./file-retention-pjvnvgmy.js";
19
19
  import {
20
- ID17,
20
+ ID18,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./state-c7ecgrk6.js";
23
+ } from "./file-retention-m27pyyd3.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -159,7 +159,7 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin3 = define({
162
+ var OpenAIPlugin2 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
165
  const bus = yield* Service79;
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID17.openai);
181
+ const item = evt.provider.get(ID18.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -222,9 +222,9 @@ var OpenAIPlugin3 = define({
222
222
  evt.baseURL = codexBaseURL;
223
223
  evt.headers.originator = "opencode";
224
224
  evt.headers["session-id"] = evt.sessionID;
225
- }), { providerID: ID17.openai });
225
+ }), { providerID: ID18.openai });
226
226
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
227
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
228
228
  })
229
229
  });
230
230
  function headers(contentType, app) {
@@ -315,4 +315,4 @@ function claim(token) {
315
315
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
316
316
  }
317
317
 
318
- export { OpenAIPlugin3 };
318
+ export { OpenAIPlugin2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./state-922hggd3.js";
4
+ } from "./file-retention-922hggd3.js";
5
5
  import {
6
- Service72,
7
- node77
8
- } from "./state-8rgwsr78.js";
6
+ Service69,
7
+ node73
8
+ } from "./file-retention-dfj54ch4.js";
9
9
  import {
10
- Service57,
11
- node61
12
- } from "./state-hp2hfxry.js";
10
+ Service18,
11
+ node21
12
+ } from "./file-retention-5xcyjzx9.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./file-retention-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
19
19
  __export(exports_filesystem, {
20
- Content: () => Content3,
20
+ Content: () => Content2,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event12,
24
+ Event: () => Event4,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput5,
29
+ ListInput: () => ListInput2,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service56,
32
+ Service: () => Service17,
33
33
  Submatch: () => Submatch2,
34
- node: () => node60
34
+ node: () => node20
35
35
  });
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
37
37
  import path from "path";
@@ -42,14 +42,14 @@ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@openco
42
42
  var ReadInput2 = Schema.Struct({
43
43
  path: RelativePath2
44
44
  });
45
- var Content3 = Schema.Struct({
45
+ var Content2 = Schema.Struct({
46
46
  uri: Schema.String,
47
47
  name: Schema.String.pipe(Schema.optional),
48
48
  content: Schema.String,
49
49
  encoding: Schema.Literals(["utf8", "base64"]),
50
50
  mime: Schema.String
51
51
  }).annotate({ identifier: "FileSystem.Content" });
52
- var ListInput5 = Schema.Struct({
52
+ var ListInput2 = Schema.Struct({
53
53
  path: Schema.String.pipe(Schema.optional)
54
54
  });
55
55
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event12 = FileSystem.Event;
75
+ var Event4 = FileSystem.Event;
76
76
 
77
- class Service56 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service17 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service72;
82
- const search = yield* Service57;
81
+ const location = yield* Service69;
82
+ const search = yield* Service18;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service56.of({
93
+ return Service17.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node60 = makeLocationNode({
126
- service: Service56,
125
+ var node20 = makeLocationNode({
126
+ service: Service17,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node77, node61]
128
+ deps: [FSUtil.node, node73, node21]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event12, Service56, node60, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node20, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./state-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info18,
12
+ Info: () => Info14,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };