@opencode/core 0.0.0-dev-19446 → 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 +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{skill-sacvkn4e.js → file-retention-01z5yxwd.js} +5 -5
  9. package/dist/chunks/{skill-nrw4td2n.js → file-retention-02dn0gj9.js} +3 -3
  10. package/dist/chunks/{skill-g5x3p52g.js → file-retention-03vdvqz5.js} +8 -8
  11. package/dist/chunks/{skill-w1k39n5e.js → file-retention-06dxphr1.js} +4 -4
  12. package/dist/chunks/{skill-q7y8k7bj.js → file-retention-07n10xmz.js} +6 -6
  13. package/dist/chunks/{skill-6yqy0e4g.js → file-retention-07vp4eyz.js} +85 -85
  14. package/dist/chunks/{skill-ahycpabw.js → file-retention-096ebvky.js} +27 -27
  15. package/dist/chunks/{skill-dz69mbbk.js → file-retention-0cehhtm7.js} +6 -6
  16. package/dist/chunks/{skill-vc3kmvr8.js → file-retention-0f2q25am.js} +13 -13
  17. package/dist/chunks/{skill-703jyx7f.js → file-retention-0h54jqbs.js} +8 -8
  18. package/dist/chunks/{skill-g7rz0sxb.js → file-retention-0hqrfwhm.js} +6 -6
  19. package/dist/chunks/{skill-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  20. package/dist/chunks/{skill-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  21. package/dist/chunks/{skill-p31wqd2s.js → file-retention-0swpfrb6.js} +16 -16
  22. package/dist/chunks/{skill-xpm1fec2.js → file-retention-0t37s3gb.js} +10 -10
  23. package/dist/chunks/{skill-qx0n0hnh.js → file-retention-0vnpdrzz.js} +21 -21
  24. package/dist/chunks/{skill-ccf3t0a5.js → file-retention-10mpg1ev.js} +22 -22
  25. package/dist/chunks/{skill-rh63tm4e.js → file-retention-1awm1f41.js} +14 -14
  26. package/dist/chunks/{skill-zqa4xgzf.js → file-retention-1bv5gv1b.js} +4 -4
  27. package/dist/chunks/{skill-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  28. package/dist/chunks/{skill-wzw8h0en.js → file-retention-1f6hy9rq.js} +19 -19
  29. package/dist/chunks/{skill-kw3wbhtp.js → file-retention-1gjj1166.js} +18 -18
  30. package/dist/chunks/{skill-xnc6bxth.js → file-retention-1rev7gxe.js} +10 -10
  31. package/dist/chunks/{skill-pj4qz0sj.js → file-retention-21ph0r93.js} +14 -14
  32. package/dist/chunks/{skill-21r38tys.js → file-retention-21r38tys.js} +1 -1
  33. package/dist/chunks/{skill-06p9s07g.js → file-retention-21y16wm3.js} +16 -16
  34. package/dist/chunks/{skill-eksyn7fm.js → file-retention-22hd0j66.js} +6 -6
  35. package/dist/chunks/{skill-6h73sxmp.js → file-retention-2402vzrj.js} +5 -5
  36. package/dist/chunks/{skill-81swgkk7.js → file-retention-27rr2vyz.js} +9 -9
  37. package/dist/chunks/{skill-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{skill-89vwjast.js → file-retention-2ce14n3m.js} +3 -3
  39. package/dist/chunks/{skill-hb7yy7na.js → file-retention-2e96adxv.js} +3 -3
  40. package/dist/chunks/{skill-mpgj7yzy.js → file-retention-2ehqxkpw.js} +12 -12
  41. package/dist/chunks/{skill-6vaz6wbx.js → file-retention-2j4n21tp.js} +24 -24
  42. package/dist/chunks/{skill-38pmhpq9.js → file-retention-2mjmkh9s.js} +7 -7
  43. package/dist/chunks/{skill-sq391nww.js → file-retention-2n1m09z1.js} +50 -50
  44. package/dist/chunks/{skill-04q3dmd9.js → file-retention-2rq070n9.js} +11 -11
  45. package/dist/chunks/{skill-m9wbqshr.js → file-retention-2vjdmk3d.js} +4 -4
  46. package/dist/chunks/{skill-0sxgj3q6.js → file-retention-39ndxgpe.js} +33 -33
  47. package/dist/chunks/{skill-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{skill-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{skill-5f0r7wn2.js → file-retention-3hxd2pas.js} +9 -9
  50. package/dist/chunks/{skill-ey3r30py.js → file-retention-3rdyp2e9.js} +15 -15
  51. package/dist/chunks/{skill-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{skill-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{skill-8xhx5x0e.js → file-retention-3xh7thmg.js} +21 -21
  54. package/dist/chunks/{skill-9kt49dv5.js → file-retention-43k15f45.js} +4 -4
  55. package/dist/chunks/{skill-1w82hygq.js → file-retention-44pwjz7h.js} +7 -7
  56. package/dist/chunks/{skill-6dd0fr5r.js → file-retention-4cbsgq64.js} +9 -9
  57. package/dist/chunks/{skill-h5vwbggd.js → file-retention-4mfjr29g.js} +11 -11
  58. package/dist/chunks/{skill-g17w5wg1.js → file-retention-4ns3h2re.js} +6 -6
  59. package/dist/chunks/{skill-dph9w4m5.js → file-retention-50qymgqy.js} +22 -22
  60. package/dist/chunks/{skill-tv2zb7b5.js → file-retention-50tj1fna.js} +12 -12
  61. package/dist/chunks/{skill-ecxazetx.js → file-retention-53an9qaw.js} +9 -9
  62. package/dist/chunks/{skill-c7yqmbpx.js → file-retention-555ky206.js} +10 -10
  63. package/dist/chunks/{skill-56gdpj1q.js → file-retention-56gdpj1q.js} +2 -2
  64. package/dist/chunks/{skill-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  65. package/dist/chunks/{skill-58ez0xmy.js → file-retention-5s16absr.js} +1 -1
  66. package/dist/chunks/{skill-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{skill-vphs0ems.js → file-retention-5xcyjzx9.js} +32 -32
  68. package/dist/chunks/file-retention-619r8v3y.js +18 -0
  69. package/dist/chunks/{skill-669tq793.js → file-retention-669tq793.js} +1 -1
  70. package/dist/chunks/{skill-hzbw9fn5.js → file-retention-6h729pt7.js} +25 -25
  71. package/dist/chunks/{skill-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{skill-427v0r19.js → file-retention-6s5ftx64.js} +27 -27
  73. package/dist/chunks/{skill-vy7x5tbn.js → file-retention-6tsrzwz7.js} +7 -7
  74. package/dist/chunks/{skill-k5ge3013.js → file-retention-6xvefnve.js} +20 -20
  75. package/dist/chunks/{skill-cfx2hezr.js → file-retention-70rp2wwb.js} +21 -21
  76. package/dist/chunks/{skill-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
  77. package/dist/chunks/{skill-21zrd450.js → file-retention-7afqphx4.js} +28 -28
  78. package/dist/chunks/{skill-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{skill-esafk7q3.js → file-retention-7dqw4kz8.js} +5 -5
  80. package/dist/chunks/{skill-536cph44.js → file-retention-7gmgk224.js} +30 -30
  81. package/dist/chunks/{skill-v7cfskca.js → file-retention-7h3vxbq8.js} +22 -22
  82. package/dist/chunks/{skill-fgp06zs4.js → file-retention-7hc658wz.js} +34 -34
  83. package/dist/chunks/{skill-smn8xsvq.js → file-retention-7kn0j7vj.js} +23 -23
  84. package/dist/chunks/{skill-tm7zr4pr.js → file-retention-7sqxeqwy.js} +4 -4
  85. package/dist/chunks/{skill-aqrcawhr.js → file-retention-7sza4df7.js} +13 -13
  86. package/dist/chunks/{skill-2f04pwep.js → file-retention-7w99qc9d.js} +3 -3
  87. package/dist/chunks/{skill-km9mpse9.js → file-retention-8273cdnn.js} +12 -12
  88. package/dist/chunks/{skill-5efzqhr2.js → file-retention-869zy1ww.js} +11 -11
  89. package/dist/chunks/{skill-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{skill-8y2nn4c7.js → file-retention-8kma1xxh.js} +20 -20
  91. package/dist/chunks/{skill-hkj6fxjk.js → file-retention-8kvrn2j1.js} +6 -6
  92. package/dist/chunks/{skill-485rp6r9.js → file-retention-8p08r1qg.js} +23 -23
  93. package/dist/chunks/{skill-dj2t23y0.js → file-retention-8p4f9s12.js} +2 -2
  94. package/dist/chunks/{skill-x6pyv2yz.js → file-retention-8ryk0bb9.js} +5 -5
  95. package/dist/chunks/{skill-yavve3w1.js → file-retention-8tn92620.js} +11 -11
  96. package/dist/chunks/{skill-073yvgp4.js → file-retention-8wwtrzd2.js} +11 -11
  97. package/dist/chunks/{skill-pea6dbqf.js → file-retention-8x2v7k4j.js} +54 -54
  98. package/dist/chunks/{skill-g7hsbyvn.js → file-retention-9486j81v.js} +9 -9
  99. package/dist/chunks/{skill-00mqm9kf.js → file-retention-96yt6zt0.js} +1 -1
  100. package/dist/chunks/{skill-4qzgagaa.js → file-retention-9vgqcaan.js} +17 -17
  101. package/dist/chunks/{skill-5c4hm403.js → file-retention-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{skill-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  103. package/dist/chunks/{skill-rrjahgq1.js → file-retention-aaxyspyh.js} +19 -19
  104. package/dist/chunks/{skill-273bqgwm.js → file-retention-ac89cwr5.js} +9 -9
  105. package/dist/chunks/{skill-tjsj89dc.js → file-retention-af4kcksd.js} +9 -9
  106. package/dist/chunks/{skill-fbvn2b0m.js → file-retention-afqmc9k2.js} +17 -17
  107. package/dist/chunks/{skill-cwxy8s66.js → file-retention-ah47jct0.js} +173 -173
  108. package/dist/chunks/{skill-4gv65rh6.js → file-retention-arezx02c.js} +45 -45
  109. package/dist/chunks/{skill-gknhvrra.js → file-retention-aw7a9nw5.js} +5 -5
  110. package/dist/chunks/{skill-4ksjm71c.js → file-retention-b0k29y2c.js} +15 -15
  111. package/dist/chunks/{skill-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{skill-pmr4s4kc.js → file-retention-bct739vz.js} +4 -4
  113. package/dist/chunks/{skill-b0awdqvx.js → file-retention-bdqrk2vk.js} +7 -7
  114. package/dist/chunks/{skill-d2azexz5.js → file-retention-bvbz56nf.js} +11 -11
  115. package/dist/chunks/{skill-m16b28xc.js → file-retention-bw6ad3ce.js} +7 -7
  116. package/dist/chunks/{skill-asqmdnzm.js → file-retention-c28eb4sz.js} +19 -19
  117. package/dist/chunks/{skill-x1hekaqh.js → file-retention-c95d7h9p.js} +18 -18
  118. package/dist/chunks/{skill-bgn62fr8.js → file-retention-cat71d1r.js} +8 -8
  119. package/dist/chunks/{skill-kvvk39gs.js → file-retention-cavr175a.js} +4 -4
  120. package/dist/chunks/{skill-m0jqrx5p.js → file-retention-cfpkc3c9.js} +2 -2
  121. package/dist/chunks/{skill-c2fa0gjs.js → file-retention-cjg4xdhd.js} +10 -10
  122. package/dist/chunks/{skill-2tfmgkzg.js → file-retention-cq37gk0t.js} +4 -4
  123. package/dist/chunks/{skill-wvx86wgz.js → file-retention-crnty030.js} +12 -12
  124. package/dist/chunks/{skill-rfnzy394.js → file-retention-d50f2zf5.js} +1 -1
  125. package/dist/chunks/{skill-nymmp31y.js → file-retention-d93f29dp.js} +8 -8
  126. package/dist/chunks/{skill-sd6b6aez.js → file-retention-dak94xbq.js} +4 -4
  127. package/dist/chunks/{skill-f75rfffy.js → file-retention-dfj54ch4.js} +17 -17
  128. package/dist/chunks/{skill-cxv3b682.js → file-retention-dgj0dq1g.js} +8 -8
  129. package/dist/chunks/{skill-rtathh62.js → file-retention-dh35ypn5.js} +8 -8
  130. package/dist/chunks/{skill-0222smgd.js → file-retention-dm0r48f7.js} +9 -9
  131. package/dist/chunks/{skill-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{skill-vwdfkczd.js → file-retention-e1zd518x.js} +15 -15
  133. package/dist/chunks/{skill-yattrjvx.js → file-retention-ebpnnjbe.js} +60 -60
  134. package/dist/chunks/{skill-qfrge5cf.js → file-retention-ekz5bwcn.js} +37 -37
  135. package/dist/chunks/{skill-ttqh24zm.js → file-retention-embw8kgh.js} +4 -4
  136. package/dist/chunks/{skill-fkhf9ky0.js → file-retention-emcapr5g.js} +20 -20
  137. package/dist/chunks/{skill-6y8mdthe.js → file-retention-epn8kvkh.js} +15 -15
  138. package/dist/chunks/{skill-cxjx4k2f.js → file-retention-erc452cp.js} +11 -11
  139. package/dist/chunks/{skill-jbyvhchy.js → file-retention-etpxg0rn.js} +80 -80
  140. package/dist/chunks/{skill-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{skill-qjc9h60s.js → file-retention-f3qh1r3p.js} +8 -8
  142. package/dist/chunks/{skill-hdnk95c8.js → file-retention-f828m53h.js} +2 -2
  143. package/dist/chunks/{skill-4066mr2m.js → file-retention-f8q7mv7a.js} +1 -1
  144. package/dist/chunks/{skill-tdh80rdv.js → file-retention-fa7a5kmm.js} +10 -10
  145. package/dist/chunks/{skill-kmv022h3.js → file-retention-fgh0kbhd.js} +1 -1
  146. package/dist/chunks/{skill-p1wf2k30.js → file-retention-fjmrr6sh.js} +9 -9
  147. package/dist/chunks/{skill-05b1y4dr.js → file-retention-frwpyczr.js} +4 -4
  148. package/dist/chunks/{skill-37jpxhaq.js → file-retention-fs2pkz11.js} +24 -24
  149. package/dist/chunks/{skill-3h5xskan.js → file-retention-fsnnn25x.js} +5 -5
  150. package/dist/chunks/{skill-15zevn5w.js → file-retention-fvanntqq.js} +6 -6
  151. package/dist/chunks/{skill-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{skill-z7xj2rat.js → file-retention-fygdb7h7.js} +3 -3
  153. package/dist/chunks/{skill-b7fqsxev.js → file-retention-fzg7178x.js} +24 -24
  154. package/dist/chunks/{skill-z9nm54ts.js → file-retention-g47eftgs.js} +9 -9
  155. package/dist/chunks/{skill-0s2ms6dh.js → file-retention-g76ncgrf.js} +9 -9
  156. package/dist/chunks/{skill-xn9jxgmv.js → file-retention-g8jasmdt.js} +8 -8
  157. package/dist/chunks/{skill-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{skill-37tpcphx.js → file-retention-gf6kms5r.js} +28 -28
  159. package/dist/chunks/{skill-bwkch31r.js → file-retention-gnwa8js5.js} +10 -10
  160. package/dist/chunks/{skill-n1rxvz2x.js → file-retention-gsnhw10k.js} +30 -30
  161. package/dist/chunks/{skill-crptryd9.js → file-retention-gsx0ryk4.js} +9 -9
  162. package/dist/chunks/{skill-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{skill-fx4shqry.js → file-retention-gw2ymje7.js} +32 -32
  164. package/dist/chunks/{skill-wh6nx8gk.js → file-retention-gyg8dfc2.js} +4 -4
  165. package/dist/chunks/{skill-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{skill-9rszdcmw.js → file-retention-h0r85tvv.js} +11 -11
  167. package/dist/chunks/{skill-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  168. package/dist/chunks/file-retention-hs9vagrq.js +22 -0
  169. package/dist/chunks/{skill-4hhf61nd.js → file-retention-j07qhehd.js} +34 -34
  170. package/dist/chunks/{skill-n95r7dn6.js → file-retention-j0z6kjp0.js} +49 -49
  171. package/dist/chunks/{skill-xpbqh003.js → file-retention-j2n4dsrb.js} +11 -11
  172. package/dist/chunks/{skill-a6yex81s.js → file-retention-j4m03wzn.js} +13 -13
  173. package/dist/chunks/{skill-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  174. package/dist/chunks/{skill-8xttkpaf.js → file-retention-j9d0ywkw.js} +11 -11
  175. package/dist/chunks/file-retention-jhe81125.js +462 -0
  176. package/dist/chunks/{skill-y7zhbg8e.js → file-retention-jhrth04p.js} +22 -22
  177. package/dist/chunks/{skill-1x7w021c.js → file-retention-jw5zxnhe.js} +8 -8
  178. package/dist/chunks/{skill-c3kepfq8.js → file-retention-k16ay38w.js} +1 -1
  179. package/dist/chunks/file-retention-k39k42nb.js +247 -0
  180. package/dist/chunks/{skill-cr3aetdn.js → file-retention-kbmsdr00.js} +26 -26
  181. package/dist/chunks/{skill-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
  182. package/dist/chunks/{skill-ewezmb4f.js → file-retention-kksxa1cq.js} +41 -41
  183. package/dist/chunks/{skill-5g6sb6sw.js → file-retention-km74qb37.js} +27 -27
  184. package/dist/chunks/{skill-5m7j8hm9.js → file-retention-kmbf06zj.js} +19 -19
  185. package/dist/chunks/{skill-8pybqfp6.js → file-retention-krm7e7dw.js} +20 -20
  186. package/dist/chunks/{skill-79r1wrqa.js → file-retention-ksz0h0wp.js} +1 -1
  187. package/dist/chunks/{skill-748gj6gn.js → file-retention-kwqs22xk.js} +6 -6
  188. package/dist/chunks/{skill-t69nnh3p.js → file-retention-m27pyyd3.js} +8 -8
  189. package/dist/chunks/{skill-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{skill-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
  191. package/dist/chunks/{skill-116g6ysg.js → file-retention-mmxganfs.js} +4 -4
  192. package/dist/chunks/{skill-kb1mepd1.js → file-retention-mn59ba1z.js} +26 -26
  193. package/dist/chunks/{skill-mn5tqr63.js → file-retention-mn5tqr63.js} +2 -2
  194. package/dist/chunks/{skill-mvfsc1pv.js → file-retention-mvfsc1pv.js} +1 -1
  195. package/dist/chunks/{skill-827nqb10.js → file-retention-n1d91sft.js} +10 -10
  196. package/dist/chunks/{skill-d46kpj6a.js → file-retention-n2sd6q17.js} +37 -37
  197. package/dist/chunks/{skill-rz0qknjf.js → file-retention-n76fdqym.js} +5 -5
  198. package/dist/chunks/{skill-90qmd7bg.js → file-retention-n92f50s8.js} +11 -11
  199. package/dist/chunks/{skill-vccwxyms.js → file-retention-nfq246yx.js} +12 -12
  200. package/dist/chunks/{skill-f0tca92g.js → file-retention-nhahagkd.js} +2 -2
  201. package/dist/chunks/{skill-m2951qy5.js → file-retention-nhph57h8.js} +18 -18
  202. package/dist/chunks/{skill-nhy5jxhy.js → file-retention-nhy5jxhy.js} +1 -1
  203. package/dist/chunks/{skill-cdj9q7e3.js → file-retention-nkr2m8gd.js} +14 -14
  204. package/dist/chunks/{skill-m0mxmb48.js → file-retention-npgs9cj4.js} +25 -25
  205. package/dist/chunks/{skill-s8zy8myc.js → file-retention-p44d8wdy.js} +5 -5
  206. package/dist/chunks/{skill-sqvf8rgk.js → file-retention-p6q9533y.js} +46 -46
  207. package/dist/chunks/{skill-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{skill-pknna89w.js → file-retention-pknna89w.js} +1 -1
  209. package/dist/chunks/{skill-ht5s5k2z.js → file-retention-pn64wmq6.js} +18 -18
  210. package/dist/chunks/{skill-52pmyg9z.js → file-retention-ppna41xj.js} +24 -24
  211. package/dist/chunks/{skill-59y1j56r.js → file-retention-ptj67sqd.js} +25 -25
  212. package/dist/chunks/{skill-cw06aj2p.js → file-retention-pv1zy8m3.js} +30 -30
  213. package/dist/chunks/{skill-skegxwkp.js → file-retention-q5besymn.js} +7 -7
  214. package/dist/chunks/{skill-fdamjsg4.js → file-retention-qcpabzqj.js} +10 -10
  215. package/dist/chunks/{skill-t97t2t7r.js → file-retention-qek8dtx8.js} +11 -11
  216. package/dist/chunks/{skill-jc5zh87m.js → file-retention-qhh22kz2.js} +24 -24
  217. package/dist/chunks/{skill-q2s1vy6g.js → file-retention-qmyyxapx.js} +5 -5
  218. package/dist/chunks/{skill-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  219. package/dist/chunks/{skill-bgxcxs0p.js → file-retention-qte5z7bc.js} +5 -5
  220. package/dist/chunks/{skill-fdwb90kk.js → file-retention-qtwbjpms.js} +37 -37
  221. package/dist/chunks/{skill-ahgm1r24.js → file-retention-qwqrj6wy.js} +20 -20
  222. package/dist/chunks/{skill-w16ds23h.js → file-retention-qymdde0s.js} +33 -33
  223. package/dist/chunks/{skill-7cxe0w6q.js → file-retention-qyrhphfh.js} +3 -3
  224. package/dist/chunks/{skill-2y5et45e.js → file-retention-r0hxv64b.js} +19 -19
  225. package/dist/chunks/{skill-yddgxcp4.js → file-retention-r1wdcgzk.js} +5 -5
  226. package/dist/chunks/{skill-cq17aevt.js → file-retention-r453yw66.js} +38 -38
  227. package/dist/chunks/{skill-dcj77ap2.js → file-retention-r9babyk8.js} +1 -1
  228. package/dist/chunks/{skill-r9mregkx.js → file-retention-r9mregkx.js} +2 -2
  229. package/dist/chunks/{skill-62a0qfn1.js → file-retention-rc7zd1wa.js} +33 -33
  230. package/dist/chunks/{skill-eaj1djv9.js → file-retention-rhjbct0v.js} +8 -8
  231. package/dist/chunks/{skill-g8d3gcyj.js → file-retention-ryr25ayn.js} +7 -7
  232. package/dist/chunks/{skill-c0e85pqa.js → file-retention-s1ad6w9q.js} +20 -20
  233. package/dist/chunks/{skill-ztpcpx2k.js → file-retention-s5rvfnyx.js} +23 -23
  234. package/dist/chunks/{skill-frzkm7eq.js → file-retention-srjznz14.js} +18 -18
  235. package/dist/chunks/{skill-mvqrx4s2.js → file-retention-sw1efyn5.js} +11 -11
  236. package/dist/chunks/{skill-p1p8k1ef.js → file-retention-t7z3zppm.js} +2 -2
  237. package/dist/chunks/{skill-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{skill-89znhe33.js → file-retention-tcezcvh9.js} +4 -4
  239. package/dist/chunks/{skill-tdstcens.js → file-retention-tdstcens.js} +1 -1
  240. package/dist/chunks/{skill-76myzc3f.js → file-retention-tfngb0ww.js} +4 -4
  241. package/dist/chunks/{skill-c78bbtc9.js → file-retention-tn0aqsam.js} +5 -5
  242. package/dist/chunks/{skill-k3m7ejjg.js → file-retention-tpf4g67y.js} +32 -32
  243. package/dist/chunks/{skill-6kcsr840.js → file-retention-tprh6xrh.js} +17 -17
  244. package/dist/chunks/{skill-0y5eb3hv.js → file-retention-tqgn9w63.js} +13 -13
  245. package/dist/chunks/{skill-2vfz407x.js → file-retention-tr8f0wtm.js} +25 -25
  246. package/dist/chunks/{skill-snm4v5fs.js → file-retention-trfd6fkk.js} +30 -30
  247. package/dist/chunks/{skill-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  248. package/dist/chunks/{skill-p72z5xx6.js → file-retention-v68haqbh.js} +2 -2
  249. package/dist/chunks/{skill-ecrv93z9.js → file-retention-v8jfbz3g.js} +6 -6
  250. package/dist/chunks/{skill-hbf770qa.js → file-retention-vaxvpga0.js} +15 -15
  251. package/dist/chunks/{skill-ba8tn576.js → file-retention-vd83qvgk.js} +16 -16
  252. package/dist/chunks/{skill-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  253. package/dist/chunks/{skill-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{skill-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{skill-jcvp1ydt.js → file-retention-wb19mssj.js} +25 -25
  256. package/dist/chunks/{skill-wd87259q.js → file-retention-wd87259q.js} +1 -1
  257. package/dist/chunks/{skill-cjgwzec5.js → file-retention-wpewnqw5.js} +8 -8
  258. package/dist/chunks/{skill-1ge3p48e.js → file-retention-wvehkrpd.js} +15 -15
  259. package/dist/chunks/{skill-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{skill-prp2s7ks.js → file-retention-xegz7fxd.js} +5 -5
  261. package/dist/chunks/{skill-y16xxa45.js → file-retention-xejffc0d.js} +22 -22
  262. package/dist/chunks/{skill-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{skill-dv96pvfp.js → file-retention-y772rwhv.js} +18 -18
  264. package/dist/chunks/{skill-bsq7y6bp.js → file-retention-y9qg9czc.js} +17 -17
  265. package/dist/chunks/{skill-9z7kng03.js → file-retention-ycdsf1jf.js} +47 -47
  266. package/dist/chunks/{skill-t4tq2a7p.js → file-retention-ydh6k28s.js} +26 -26
  267. package/dist/chunks/{skill-tkr4f2t1.js → file-retention-yk6wg77b.js} +39 -39
  268. package/dist/chunks/{skill-r8xr0va3.js → file-retention-yp2x3t23.js} +4 -4
  269. package/dist/chunks/{skill-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{skill-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
  271. package/dist/chunks/{skill-bpqahvg7.js → file-retention-ytx9308a.js} +8 -8
  272. package/dist/chunks/{skill-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{skill-4sjc8vp5.js → file-retention-z3ndh4jt.js} +9 -9
  274. package/dist/chunks/{skill-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
  275. package/dist/chunks/{skill-qcfsefxz.js → file-retention-z69s9t6b.js} +5 -5
  276. package/dist/chunks/{skill-fxjtq7wv.js → file-retention-z7x0xt50.js} +15 -15
  277. package/dist/chunks/{skill-xrsf5jnj.js → file-retention-z80kxeh4.js} +24 -24
  278. package/dist/chunks/{skill-tgw0t7t4.js → file-retention-za681ws6.js} +13 -13
  279. package/dist/chunks/{skill-nhnj3r8x.js → file-retention-za77p82n.js} +6 -6
  280. package/dist/chunks/{skill-zvt67h1h.js → file-retention-zb0sdjym.js} +43 -43
  281. package/dist/chunks/{skill-snkxabjd.js → file-retention-zcwm7cjd.js} +24 -24
  282. package/dist/chunks/{skill-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{skill-868tn2h5.js → file-retention-zk0xr9z7.js} +4 -4
  284. package/dist/chunks/{skill-nec87jdd.js → file-retention-zps6r183.js} +2 -2
  285. package/dist/chunks/{skill-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{skill-mbfa63ez.js → file-retention-zwsa7mgc.js} +16 -16
  287. package/dist/chunks/{skill-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +79 -79
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +113 -113
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +83 -83
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +124 -124
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +134 -134
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +111 -111
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +88 -88
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +100 -100
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +84 -84
  427. package/dist/generate.js +93 -93
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +353 -353
  453. package/dist/instruction-discovery.js +81 -81
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +86 -86
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +128 -128
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +120 -120
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +10 -10
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +106 -106
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +94 -94
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +68 -68
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +131 -131
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +339 -339
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +83 -83
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +88 -88
  560. package/dist/reference/instructions.js +82 -82
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +127 -127
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +3 -3
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +216 -216
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +75 -75
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +108 -108
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +167 -167
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +149 -149
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +15 -15
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +100 -100
  623. package/dist/skill.js +105 -105
  624. package/dist/snapshot.js +84 -84
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +119 -119
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +115 -115
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +206 -206
  638. package/dist/tool/plugin/skill.js +104 -104
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +105 -105
  641. package/dist/tool/plugin/websearch.js +103 -103
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +72 -72
  676. package/dist/wellknown.js +79 -79
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +5 -5
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/skill-e8mq09xw.js +0 -462
  687. package/dist/chunks/skill-nhb97n4t.js +0 -22
  688. package/dist/chunks/skill-pf31ssb9.js +0 -18
  689. package/dist/chunks/skill-taebzevr.js +0 -247
  690. /package/dist/chunks/{skill-0mesazry.js → file-retention-0mesazry.js} +0 -0
  691. /package/dist/chunks/{skill-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{skill-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{skill-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{skill-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{skill-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{skill-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{skill-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{skill-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{skill-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{skill-3asan66x.js → file-retention-3asan66x.js} +0 -0
  701. /package/dist/chunks/{skill-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{skill-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{skill-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{skill-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{skill-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{skill-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{skill-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{skill-53557ph1.js → file-retention-53557ph1.js} +0 -0
  709. /package/dist/chunks/{skill-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{skill-6prwharc.js → file-retention-6prwharc.js} +0 -0
  711. /package/dist/chunks/{skill-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{skill-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{skill-822emrt2.js → file-retention-822emrt2.js} +0 -0
  714. /package/dist/chunks/{skill-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{skill-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{skill-922hggd3.js → file-retention-922hggd3.js} +0 -0
  717. /package/dist/chunks/{skill-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{skill-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{skill-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{skill-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{skill-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{skill-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{skill-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{skill-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{skill-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{skill-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{skill-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{skill-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{skill-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{skill-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{skill-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{skill-df08tz66.js → file-retention-df08tz66.js} +0 -0
  733. /package/dist/chunks/{skill-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{skill-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{skill-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{skill-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{skill-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{skill-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{skill-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{skill-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{skill-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{skill-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{skill-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{skill-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{skill-g86h250q.js → file-retention-g86h250q.js} +0 -0
  746. /package/dist/chunks/{skill-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{skill-gftt206x.js → file-retention-gftt206x.js} +0 -0
  748. /package/dist/chunks/{skill-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{skill-hk9envan.js → file-retention-hk9envan.js} +0 -0
  750. /package/dist/chunks/{skill-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{skill-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{skill-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{skill-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{skill-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{skill-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{skill-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{skill-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{skill-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{skill-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{skill-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{skill-paphc93g.js → file-retention-paphc93g.js} +0 -0
  762. /package/dist/chunks/{skill-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{skill-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{skill-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{skill-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{skill-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{skill-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{skill-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{skill-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{skill-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{skill-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{skill-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{skill-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{skill-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{skill-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{skill-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{skill-x61499pn.js → file-retention-x61499pn.js} +0 -0
  778. /package/dist/chunks/{skill-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{skill-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{skill-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{skill-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{skill-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./skill-89vwjast.js";
3
+ } from "./file-retention-2ce14n3m.js";
4
4
  import {
5
5
  Service79
6
- } from "./skill-m9wbqshr.js";
6
+ } from "./file-retention-2vjdmk3d.js";
7
7
  import {
8
- Service56
9
- } from "./skill-ecrv93z9.js";
8
+ Service49
9
+ } from "./file-retention-v8jfbz3g.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./skill-922hggd3.js";
12
+ } from "./file-retention-922hggd3.js";
13
13
  import {
14
- ID4,
15
- Service28
16
- } from "./skill-52pmyg9z.js";
14
+ ID5,
15
+ Service36
16
+ } from "./file-retention-ppna41xj.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./skill-ec1grn59.js";
19
+ } from "./file-retention-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./skill-gftt206x.js";
22
+ } from "./file-retention-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./skill-hb7yy7na.js";
25
+ } from "./file-retention-2e96adxv.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./skill-5c4hm403.js";
28
+ } from "./file-retention-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./skill-9rqn6x4v.js";
31
+ } from "./file-retention-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service56;
45
+ const instances = yield* Service49;
46
46
  const database = yield* Service80;
47
47
  const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service28;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service36;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service56;
77
+ const instances = yield* Service49;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service28;
80
+ const snapshot = yield* Service36;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./skill-m9wbqshr.js";
4
+ } from "./file-retention-2vjdmk3d.js";
5
5
  import {
6
- Service71,
7
- node76
8
- } from "./skill-f75rfffy.js";
6
+ Service69,
7
+ node73
8
+ } from "./file-retention-dfj54ch4.js";
9
9
  import {
10
10
  ID2
11
- } from "./skill-0mesazry.js";
11
+ } from "./file-retention-0mesazry.js";
12
12
  import {
13
- Service78,
13
+ Service42,
14
14
  login2,
15
- node83
16
- } from "./skill-qx0n0hnh.js";
15
+ node46
16
+ } from "./file-retention-0vnpdrzz.js";
17
17
  import {
18
18
  lazy2
19
- } from "./skill-88xbtdfr.js";
19
+ } from "./file-retention-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./skill-9rqn6x4v.js";
22
+ } from "./file-retention-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
27
  CreateInput: () => CreateInput2,
28
- Event: () => Event2,
28
+ Event: () => Event3,
29
29
  ExitedError: () => ExitedError2,
30
30
  Info: () => Info2,
31
31
  NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service13,
33
+ Service: () => Service15,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node16
35
+ node: () => node18
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event2 } from "@opencode/schema/pty";
40
+ import { Event as Event3 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service13 extends Context.Service()("@opencode/Pty") {
58
+ class Service15 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service13, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
61
61
  const bus = yield* Service79;
62
- const location = yield* Service71;
63
- const shell = yield* Service78;
62
+ const location = yield* Service69;
63
+ const shell = yield* Service42;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service13.of({ list, get, create, update, remove, write, attach });
271
+ return Service15.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node16 = makeLocationNode({
274
- service: Service13,
273
+ var node18 = makeLocationNode({
274
+ service: Service15,
275
275
  layer,
276
- deps: [node84, node76, node83]
276
+ deps: [node84, node73, node46]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node16, exports_pty, Event2 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node18, exports_pty, Event3 };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./skill-922hggd3.js";
5
+ } from "./file-retention-922hggd3.js";
6
6
  import {
7
- Service49,
8
- node54
9
- } from "./skill-snkxabjd.js";
7
+ Service68,
8
+ node72
9
+ } from "./file-retention-zcwm7cjd.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./skill-8d7r5vzw.js";
12
+ } from "./file-retention-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./skill-9rqn6x4v.js";
15
+ } from "./file-retention-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error3,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service39,
24
- node: () => node43
23
+ Service: () => Service66,
24
+ node: () => node70
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service39 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service66 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error3({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service39, Effect.gen(function* () {
67
- const environment = yield* Service49;
66
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
67
+ const environment = yield* Service68;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service39.of({
95
+ return Service66.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node43 = makeLocationNode({ service: Service39, layer, deps: [node54, RipgrepBinary2.node] });
178
+ var node70 = makeLocationNode({ service: Service66, layer, deps: [node72, RipgrepBinary2.node] });
179
179
 
180
- export { Error3, InvalidPatternError2, Service39, node43, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service66, node70, exports_ripgrep };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79
3
- } from "./skill-m9wbqshr.js";
3
+ } from "./file-retention-2vjdmk3d.js";
4
4
  import {
5
- Service71
6
- } from "./skill-f75rfffy.js";
5
+ Service69
6
+ } from "./file-retention-dfj54ch4.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service27
10
- } from "./skill-sq391nww.js";
9
+ Service33
10
+ } from "./file-retention-2n1m09z1.js";
11
11
  import {
12
12
  __export
13
- } from "./skill-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
17
17
  __export(exports_command2, {
18
18
  CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin42
19
+ Plugin: () => Plugin34
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin42 = define({
196
+ var Plugin34 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service71;
200
- const mcp = yield* Service27;
199
+ const location = yield* Service69;
200
+ const mcp = yield* Service33;
201
201
  const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin42, exports_command2 };
283
+ export { Plugin34, exports_command2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./skill-t69nnh3p.js";
4
+ } from "./file-retention-m27pyyd3.js";
5
5
  import {
6
6
  __export
7
- } from "./skill-9rqn6x4v.js";
7
+ } from "./file-retention-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names4,
10
+ names: () => names3,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names4() {
44
+ function names3() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names4, paths2, exports_protected };
63
+ export { isHome2, names3, paths2, exports_protected };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./skill-0paq2nw3.js";
4
+ } from "./file-retention-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./skill-t69nnh3p.js";
7
+ } from "./file-retention-m27pyyd3.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./skill-rh63tm4e.js";
11
+ } from "./file-retention-1awm1f41.js";
12
12
  import {
13
13
  __export
14
- } from "./skill-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./skill-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./skill-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info14
13
+ Info: () => Info17
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info14 = Schema.Struct({
30
+ var Info17 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info14, exports_attachment };
34
+ export { Image2, Info17, exports_attachment };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service71
3
- } from "./skill-f75rfffy.js";
2
+ Service69
3
+ } from "./file-retention-dfj54ch4.js";
4
4
  import {
5
- Service49
6
- } from "./skill-snkxabjd.js";
5
+ Service68
6
+ } from "./file-retention-zcwm7cjd.js";
7
7
  import {
8
- Service48,
8
+ Service67,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./skill-tgw0t7t4.js";
11
+ } from "./file-retention-za681ws6.js";
12
12
  import {
13
- Service36
14
- } from "./skill-m2951qy5.js";
13
+ Service13
14
+ } from "./file-retention-nhph57h8.js";
15
15
  import {
16
- Service66
17
- } from "./skill-n95r7dn6.js";
16
+ Service59
17
+ } from "./file-retention-j0z6kjp0.js";
18
18
  import {
19
- Service51,
19
+ Service16,
20
20
  resolvePath2
21
- } from "./skill-kw3wbhtp.js";
21
+ } from "./file-retention-1gjj1166.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./skill-6prwharc.js";
24
+ } from "./file-retention-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./skill-9rqn6x4v.js";
27
+ } from "./file-retention-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
- Input: () => Input10,
34
- Output: () => Output6,
35
- Plugin: () => Plugin12,
36
- name: () => name10
33
+ Input: () => Input5,
34
+ Output: () => Output2,
35
+ Plugin: () => Plugin7,
36
+ name: () => name5
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name10 = "edit";
43
- var Input10 = Schema.Struct({
42
+ var name5 = "edit";
43
+ var Input5 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input10 = 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 Output2 = 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 Plugin12 = {
106
+ var Plugin7 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service51;
110
- const fileMutation = yield* Service48;
111
- const environment = yield* Service49;
112
- const formatter = yield* Service36;
113
- const location = yield* Service71;
114
- const permission = yield* Service66;
109
+ const access = yield* Service16;
110
+ const fileMutation = yield* Service67;
111
+ const environment = yield* Service68;
112
+ const formatter = yield* Service13;
113
+ const location = yield* Service69;
114
+ const permission = yield* Service59;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name10,
116
+ name: name5,
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
- input: Input10,
120
- output: Output6,
119
+ input: Input5,
120
+ output: Output2,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin12 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name10, Input10, Output6, Plugin12, exports_edit };
197
+ export { name5, Input5, Output2, Plugin7, exports_edit };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service79
3
- } from "./skill-m9wbqshr.js";
3
+ } from "./file-retention-2vjdmk3d.js";
4
4
  import {
5
- Service28
6
- } from "./skill-52pmyg9z.js";
5
+ Service36
6
+ } from "./file-retention-ppna41xj.js";
7
7
  import {
8
- Error4
9
- } from "./skill-37jpxhaq.js";
8
+ Error3
9
+ } from "./file-retention-fs2pkz11.js";
10
10
  import {
11
- Service76
12
- } from "./skill-vccwxyms.js";
11
+ Service41
12
+ } from "./file-retention-nfq246yx.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./skill-hb7yy7na.js";
15
+ } from "./file-retention-2e96adxv.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./skill-ec1grn59.js";
18
+ } from "./file-retention-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./skill-zqa4xgzf.js";
21
+ } from "./file-retention-1bv5gv1b.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./skill-tdstcens.js";
24
+ } from "./file-retention-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./skill-h03wrkyp.js";
27
+ } from "./file-retention-h03wrkyp.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./skill-7cxe0w6q.js";
30
+ } from "./file-retention-qyrhphfh.js";
31
31
  import {
32
32
  __export
33
- } from "./skill-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
54
54
  var make3 = Effect.gen(function* () {
55
55
  const bus = yield* Service79;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service28;
58
- const toolOutput = yield* Service76;
57
+ const snapshots = yield* Service36;
58
+ const toolOutput = yield* Service41;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
70
70
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
71
71
  const executeTool = (call) => {
72
72
  if (input.prepared.request.toolChoice?.type === "none")
73
- return new Error4({ message: "Tools are disabled after the maximum agent steps" });
73
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
74
  return input.prepared.executeTool({
75
75
  sessionID: input.sessionID,
76
76
  agent: input.agent,