@opencode/core 0.0.0-dev-20784 → 0.0.0-dev-20787

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +70 -70
  7. package/dist/chunks/{file-retention-n7chjqa1.js → mime-027wet4k.js} +18 -18
  8. package/dist/chunks/{file-retention-9r9w78qs.js → mime-02rhty21.js} +10 -10
  9. package/dist/chunks/{file-retention-t8g2rvm9.js → mime-043vq6jw.js} +9 -9
  10. package/dist/chunks/{file-retention-xdqkszf6.js → mime-06svym02.js} +20 -20
  11. package/dist/chunks/{file-retention-6mbzp12p.js → mime-0caw9ff2.js} +40 -40
  12. package/dist/chunks/{file-retention-gz086qgb.js → mime-0cdge0jb.js} +9 -9
  13. package/dist/chunks/{file-retention-rtg4wmet.js → mime-0h0j16kf.js} +2 -2
  14. package/dist/chunks/{file-retention-909p1r3q.js → mime-0hf9g8pg.js} +6 -6
  15. package/dist/chunks/{file-retention-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{file-retention-3pa89wpn.js → mime-0r44031v.js} +4 -4
  17. package/dist/chunks/{file-retention-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{file-retention-4bzbvhwk.js → mime-119kcbn4.js} +14 -14
  19. package/dist/chunks/{file-retention-37ea9c2d.js → mime-166kng33.js} +8 -8
  20. package/dist/chunks/{file-retention-yp2x3t23.js → mime-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{file-retention-1dvck2a7.js → mime-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{file-retention-bjx1sjef.js → mime-1ffvrpkg.js} +6 -6
  23. package/dist/chunks/{file-retention-m91gvp7t.js → mime-1fmrbde1.js} +4 -4
  24. package/dist/chunks/{file-retention-tk14y25j.js → mime-1pxz8ven.js} +5 -5
  25. package/dist/chunks/{file-retention-x47gwdav.js → mime-1rt8m1ja.js} +11 -11
  26. package/dist/chunks/{file-retention-cd70q2ry.js → mime-22ew7zjk.js} +24 -24
  27. package/dist/chunks/{file-retention-sww10ew7.js → mime-25bt1wpa.js} +13 -13
  28. package/dist/chunks/{file-retention-ecv6s6zk.js → mime-2a4kwaqe.js} +21 -21
  29. package/dist/chunks/{file-retention-t5ae1t4b.js → mime-2a8fhf6b.js} +22 -22
  30. package/dist/chunks/{file-retention-7dqw4kz8.js → mime-2k8khapm.js} +5 -5
  31. package/dist/chunks/{file-retention-75w0f5x3.js → mime-2tzxhtg5.js} +6 -6
  32. package/dist/chunks/{file-retention-2vvh33eb.js → mime-2vvh33eb.js} +2 -2
  33. package/dist/chunks/{file-retention-7pj8drkf.js → mime-2wjj0fs1.js} +20 -20
  34. package/dist/chunks/{file-retention-hnra3d6s.js → mime-2y6me16a.js} +5 -5
  35. package/dist/chunks/{file-retention-hq6c81g9.js → mime-2zgyweca.js} +11 -11
  36. package/dist/chunks/{file-retention-h7s7r6s9.js → mime-31xfzrxg.js} +5 -5
  37. package/dist/chunks/{file-retention-qsxkee9e.js → mime-39p60x63.js} +12 -12
  38. package/dist/chunks/{file-retention-spqcpneg.js → mime-3c019r4e.js} +6 -6
  39. package/dist/chunks/mime-3cr89ktw.js +26 -0
  40. package/dist/chunks/{file-retention-eynxa54k.js → mime-3f0qz8hp.js} +42 -42
  41. package/dist/chunks/{file-retention-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{file-retention-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{file-retention-3hwn7j4h.js → mime-3hwn7j4h.js} +2 -2
  44. package/dist/chunks/{file-retention-291fq28g.js → mime-3rh0t8ax.js} +49 -49
  45. package/dist/chunks/{file-retention-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{file-retention-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{file-retention-qf6etae5.js → mime-3yaz0sw4.js} +8 -8
  48. package/dist/chunks/{file-retention-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{file-retention-9hy1eatw.js → mime-474fe47g.js} +6 -6
  50. package/dist/chunks/{file-retention-85xxa1xb.js → mime-4a2kvcyx.js} +2 -2
  51. package/dist/chunks/{file-retention-5dkn69vz.js → mime-4j4tgtq5.js} +4 -4
  52. package/dist/chunks/{file-retention-5shkaybx.js → mime-4qe3v82z.js} +18 -18
  53. package/dist/chunks/{file-retention-gw2k9m0t.js → mime-4r678tgn.js} +51 -51
  54. package/dist/chunks/{file-retention-2ccvkpx1.js → mime-4ts7tf6z.js} +2 -2
  55. package/dist/chunks/{file-retention-641gya88.js → mime-51q7kv5k.js} +3 -3
  56. package/dist/chunks/{file-retention-54ma36ye.js → mime-54ma36ye.js} +1 -1
  57. package/dist/chunks/{file-retention-4x8je4cs.js → mime-555m9css.js} +30 -30
  58. package/dist/chunks/{file-retention-azanj09g.js → mime-5d64x3an.js} +9 -9
  59. package/dist/chunks/{file-retention-m8q1dgfp.js → mime-5fw1pe9s.js} +5 -5
  60. package/dist/chunks/{file-retention-0rfmeyxn.js → mime-5jnhywy7.js} +11 -11
  61. package/dist/chunks/{file-retention-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{file-retention-nb1wrey8.js → mime-5p7mbjgr.js} +32 -32
  63. package/dist/chunks/{file-retention-e3qxr5gk.js → mime-5qd3pb7m.js} +2 -2
  64. package/dist/chunks/{file-retention-xwfqprxb.js → mime-5r9tjx33.js} +11 -11
  65. package/dist/chunks/{file-retention-zrnmd36g.js → mime-64p0dc34.js} +7 -7
  66. package/dist/chunks/mime-69df29ex.js +253 -0
  67. package/dist/chunks/{file-retention-fm2qvscf.js → mime-6hh8tjw2.js} +4 -4
  68. package/dist/chunks/{file-retention-90ncnea0.js → mime-6n4qmm4z.js} +15 -15
  69. package/dist/chunks/{file-retention-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{file-retention-71az546q.js → mime-71az546q.js} +2 -2
  71. package/dist/chunks/{file-retention-72sxpf59.js → mime-72sxpf59.js} +3 -3
  72. package/dist/chunks/{file-retention-ycd7fagt.js → mime-76v4hyh5.js} +24 -24
  73. package/dist/chunks/{file-retention-k3wcbxqn.js → mime-78ap8ptf.js} +11 -11
  74. package/dist/chunks/{file-retention-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{file-retention-2908y79c.js → mime-7gefn60q.js} +14 -14
  76. package/dist/chunks/{file-retention-ymh22vxa.js → mime-7gz4zf6g.js} +8 -8
  77. package/dist/chunks/{file-retention-phxa5z0e.js → mime-7nrehf5e.js} +7 -7
  78. package/dist/chunks/{file-retention-eyhnzkb4.js → mime-7tyef49m.js} +8 -8
  79. package/dist/chunks/{file-retention-ath3g41k.js → mime-7yf5bkbq.js} +43 -43
  80. package/dist/chunks/{file-retention-e80jqawr.js → mime-84q7187x.js} +35 -35
  81. package/dist/chunks/{file-retention-w1eejvng.js → mime-84txncab.js} +5 -5
  82. package/dist/chunks/{file-retention-a9kdv268.js → mime-86bpe89k.js} +15 -15
  83. package/dist/chunks/{file-retention-8sd5y0hb.js → mime-89axc63h.js} +26 -26
  84. package/dist/chunks/{file-retention-e4nca66s.js → mime-8fe25v87.js} +4 -4
  85. package/dist/chunks/{file-retention-7j5w12p9.js → mime-8kp6mxwf.js} +35 -35
  86. package/dist/chunks/{file-retention-8m6m0r52.js → mime-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{file-retention-v7rdbjkx.js → mime-8npmv51p.js} +45 -45
  88. package/dist/chunks/{file-retention-ek3n6pab.js → mime-8qhkxqz0.js} +16 -16
  89. package/dist/chunks/{file-retention-mmsbfapg.js → mime-8spw8k1s.js} +1 -1
  90. package/dist/chunks/{file-retention-ks6sgrkr.js → mime-92gkf13j.js} +4 -4
  91. package/dist/chunks/{file-retention-9e5bzkjp.js → mime-9e5bzkjp.js} +3 -3
  92. package/dist/chunks/{file-retention-banfh6zd.js → mime-9j7s670v.js} +17 -17
  93. package/dist/chunks/{file-retention-7kk9evys.js → mime-9khw333n.js} +18 -18
  94. package/dist/chunks/{file-retention-5526gnt0.js → mime-9npg7sgn.js} +30 -30
  95. package/dist/chunks/{file-retention-xnyn0jx3.js → mime-9p5s5qkh.js} +16 -16
  96. package/dist/chunks/{file-retention-sd2fp9ec.js → mime-9vyb4gb4.js} +20 -20
  97. package/dist/chunks/{file-retention-y497myth.js → mime-agkwbcw7.js} +3 -3
  98. package/dist/chunks/{file-retention-15vdfc9c.js → mime-am9t0yx5.js} +5 -5
  99. package/dist/chunks/{file-retention-226karrg.js → mime-athh32y1.js} +32 -32
  100. package/dist/chunks/{file-retention-t3kgvaqg.js → mime-azxjp3dp.js} +24 -24
  101. package/dist/chunks/{file-retention-2ekw743c.js → mime-b296qpte.js} +1 -1
  102. package/dist/chunks/{file-retention-b3f8fkhc.js → mime-b3f8fkhc.js} +2 -2
  103. package/dist/chunks/{file-retention-jjenqzg1.js → mime-b8g0b6fs.js} +39 -39
  104. package/dist/chunks/{file-retention-vwpcpzep.js → mime-bc9tah8j.js} +8 -8
  105. package/dist/chunks/{file-retention-2w2dfs1b.js → mime-bg30q172.js} +15 -15
  106. package/dist/chunks/{file-retention-2hg7qvzt.js → mime-bgs9y14h.js} +5 -5
  107. package/dist/chunks/{file-retention-pgdn5y71.js → mime-bkrd29jn.js} +22 -22
  108. package/dist/chunks/{file-retention-thygzj8s.js → mime-bmcasqcw.js} +36 -36
  109. package/dist/chunks/{file-retention-h5qdgnb5.js → mime-bmcshxbz.js} +24 -24
  110. package/dist/chunks/{file-retention-4zeyygbb.js → mime-bsedjk5j.js} +11 -11
  111. package/dist/chunks/{file-retention-ba07h9gm.js → mime-btfhnvjh.js} +3 -3
  112. package/dist/chunks/{file-retention-s4wwhvjv.js → mime-c2hzm904.js} +21 -21
  113. package/dist/chunks/{file-retention-dwaxmk1s.js → mime-cbep1waf.js} +20 -20
  114. package/dist/chunks/{file-retention-ck45pw9k.js → mime-ckvhbccj.js} +5 -5
  115. package/dist/chunks/{file-retention-9j1mbtc1.js → mime-cvpz6d4t.js} +15 -15
  116. package/dist/chunks/{file-retention-54vb1344.js → mime-cw9hs8vb.js} +35 -35
  117. package/dist/chunks/{file-retention-fjh3s92b.js → mime-cwxspmwx.js} +15 -15
  118. package/dist/chunks/{file-retention-ryndta0d.js → mime-cz82p42g.js} +42 -42
  119. package/dist/chunks/{file-retention-hs4w86ex.js → mime-d1hg4edt.js} +7 -7
  120. package/dist/chunks/{file-retention-4re51v5c.js → mime-ddx03t81.js} +88 -88
  121. package/dist/chunks/{file-retention-6wh776qa.js → mime-djg0yxrp.js} +3 -3
  122. package/dist/chunks/{file-retention-81fjg4yx.js → mime-dktjxkrs.js} +12 -12
  123. package/dist/chunks/{file-retention-kkymj4jt.js → mime-dn9rb59v.js} +19 -19
  124. package/dist/chunks/{file-retention-76g80x4f.js → mime-dq5t6pd6.js} +3 -3
  125. package/dist/chunks/{file-retention-57b9ws8p.js → mime-drwq78ky.js} +5 -5
  126. package/dist/chunks/{file-retention-k430jzx8.js → mime-dvnbbf9e.js} +17 -17
  127. package/dist/chunks/{file-retention-z71twgyp.js → mime-e8vkwm2v.js} +5 -5
  128. package/dist/chunks/{file-retention-s8d7rejh.js → mime-eaj1djv9.js} +6 -6
  129. package/dist/chunks/{file-retention-eej6y6fw.js → mime-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{file-retention-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{file-retention-enqcm95t.js → mime-ejthmgn4.js} +33 -33
  132. package/dist/chunks/{file-retention-xc914k0j.js → mime-eq7febrf.js} +24 -24
  133. package/dist/chunks/{file-retention-jtmhc97q.js → mime-exydzexz.js} +59 -59
  134. package/dist/chunks/{file-retention-k79tzb9n.js → mime-fdms3n6w.js} +9 -9
  135. package/dist/chunks/{file-retention-hrh521yf.js → mime-fh2psg6v.js} +11 -11
  136. package/dist/chunks/{file-retention-bzn6nda8.js → mime-fkej15m0.js} +11 -11
  137. package/dist/chunks/{file-retention-2mqvqnd5.js → mime-fmgyvksq.js} +15 -15
  138. package/dist/chunks/{file-retention-vytaj533.js → mime-fyg8yg6h.js} +28 -28
  139. package/dist/chunks/{file-retention-5xtgfte3.js → mime-g0445xdp.js} +6 -6
  140. package/dist/chunks/{file-retention-hn2ax6sd.js → mime-g1dne7vm.js} +18 -18
  141. package/dist/chunks/{file-retention-sfczn6wa.js → mime-g1z3w466.js} +11 -11
  142. package/dist/chunks/{file-retention-x799tqys.js → mime-g2pj49kc.js} +15 -15
  143. package/dist/chunks/{file-retention-d7x0sh0y.js → mime-g686f6pq.js} +9 -9
  144. package/dist/chunks/{file-retention-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{file-retention-1k45a421.js → mime-gh3y8pm2.js} +13 -13
  146. package/dist/chunks/{file-retention-6gaajhts.js → mime-gj914s14.js} +13 -13
  147. package/dist/chunks/{file-retention-gk8qb678.js → mime-gk8qb678.js} +1 -1
  148. package/dist/chunks/{file-retention-32y4ehgv.js → mime-gqxd2p8g.js} +11 -11
  149. package/dist/chunks/{file-retention-0e3qe3yy.js → mime-gs1jyngd.js} +22 -22
  150. package/dist/chunks/{file-retention-kksd5aqz.js → mime-gtzzrxfe.js} +23 -23
  151. package/dist/chunks/{file-retention-vcn79w6t.js → mime-gxgkqch3.js} +3 -3
  152. package/dist/chunks/{file-retention-h2b79v29.js → mime-h2b79v29.js} +2 -2
  153. package/dist/chunks/{file-retention-btmq9cxd.js → mime-h3f2yjd6.js} +17 -17
  154. package/dist/chunks/{file-retention-pdetw647.js → mime-h5qrb2fe.js} +11 -11
  155. package/dist/chunks/{file-retention-d6w343vm.js → mime-h5yjbcg8.js} +21 -21
  156. package/dist/chunks/{file-retention-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{file-retention-ka5c30pq.js → mime-h77dp10q.js} +20 -20
  158. package/dist/chunks/{file-retention-mx7expm3.js → mime-hbgztc69.js} +14 -14
  159. package/dist/chunks/{file-retention-ynmknp8q.js → mime-hcv80w8f.js} +11 -11
  160. package/dist/chunks/{file-retention-t171g2rj.js → mime-hex8zqpz.js} +15 -15
  161. package/dist/chunks/{file-retention-mm2pt0qe.js → mime-hgf4dt9s.js} +20 -20
  162. package/dist/chunks/{file-retention-fkrcgtjd.js → mime-hgfer15g.js} +9 -9
  163. package/dist/chunks/{file-retention-hgz4x7wa.js → mime-hgz4x7wa.js} +1 -1
  164. package/dist/chunks/{file-retention-d580n77m.js → mime-hj508e7e.js} +11 -11
  165. package/dist/chunks/{file-retention-fgjzfnyp.js → mime-hr6fafxf.js} +5 -5
  166. package/dist/chunks/{file-retention-y6nv3cb4.js → mime-hrt380bf.js} +23 -23
  167. package/dist/chunks/{file-retention-35p49r4v.js → mime-hrvxfe8q.js} +33 -33
  168. package/dist/chunks/mime-ht5y0zrb.js +18 -0
  169. package/dist/chunks/{file-retention-gfe3ax2q.js → mime-j4my293e.js} +3 -3
  170. package/dist/chunks/{file-retention-j56e64zr.js → mime-j56e64zr.js} +1 -1
  171. package/dist/chunks/{file-retention-qthw6f29.js → mime-jfahkm5h.js} +11 -11
  172. package/dist/chunks/{file-retention-700ev8gh.js → mime-jky4ye9c.js} +37 -37
  173. package/dist/chunks/{file-retention-f8d5qev0.js → mime-jpxm8prz.js} +10 -10
  174. package/dist/chunks/{file-retention-1f2vccss.js → mime-jq7vh08d.js} +43 -43
  175. package/dist/chunks/{file-retention-e4ma86vn.js → mime-jwz9xay8.js} +10 -10
  176. package/dist/chunks/{file-retention-kne8f3cn.js → mime-k76fn4kw.js} +4 -4
  177. package/dist/chunks/{file-retention-5w8jzqx5.js → mime-k8k1q94h.js} +5 -5
  178. package/dist/chunks/mime-k9byb1f6.js +513 -0
  179. package/dist/chunks/{file-retention-b2tc811h.js → mime-khxfz34n.js} +7 -7
  180. package/dist/chunks/{file-retention-0y4k1x12.js → mime-km9wxv53.js} +16 -16
  181. package/dist/chunks/{file-retention-pmwpe40e.js → mime-m0r31qfn.js} +4 -4
  182. package/dist/chunks/{file-retention-xrmap3r6.js → mime-m1p4hsbp.js} +4 -4
  183. package/dist/chunks/{file-retention-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{file-retention-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{file-retention-md08r0z8.js → mime-ma1dyg6s.js} +24 -24
  186. package/dist/chunks/{file-retention-nge58cm1.js → mime-mj1ev22k.js} +13 -13
  187. package/dist/chunks/{file-retention-fhx5vk7x.js → mime-mw0d6578.js} +18 -18
  188. package/dist/chunks/{file-retention-x0q3bb0r.js → mime-n8jrms90.js} +33 -33
  189. package/dist/chunks/{file-retention-ab8h52gf.js → mime-nbjv7f5k.js} +27 -27
  190. package/dist/chunks/{file-retention-azy71b5p.js → mime-nshegbx5.js} +10 -10
  191. package/dist/chunks/{file-retention-msa89gt8.js → mime-ntmqqprx.js} +9 -9
  192. package/dist/chunks/{file-retention-hs6v00ac.js → mime-nvk5447c.js} +11 -11
  193. package/dist/chunks/{file-retention-frf5w0nt.js → mime-nxf150ty.js} +15 -15
  194. package/dist/chunks/{file-retention-7me7tz75.js → mime-nypq18gz.js} +6 -6
  195. package/dist/chunks/{file-retention-rr9cc36v.js → mime-p2108z5q.js} +11 -11
  196. package/dist/chunks/{file-retention-xhr4eg5m.js → mime-p6r9gt0e.js} +15 -15
  197. package/dist/chunks/{file-retention-y5y4kes7.js → mime-paqvwarx.js} +22 -22
  198. package/dist/chunks/{file-retention-zfs8ae4p.js → mime-pgsrtt9v.js} +4 -4
  199. package/dist/chunks/{file-retention-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{file-retention-pknna89w.js → mime-pknna89w.js} +1 -1
  201. package/dist/chunks/{file-retention-my8b67cc.js → mime-pm3fjw9d.js} +11 -11
  202. package/dist/chunks/{file-retention-m6y8pydv.js → mime-pm8zwzej.js} +4 -4
  203. package/dist/chunks/{file-retention-5z9rmvjz.js → mime-pp6w2n40.js} +69 -69
  204. package/dist/chunks/{file-retention-88pgeajf.js → mime-pt2ghbdz.js} +6 -6
  205. package/dist/chunks/{file-retention-btwe4kze.js → mime-ptyhp8x2.js} +5 -5
  206. package/dist/chunks/{file-retention-5g380qbr.js → mime-pw45mt5g.js} +29 -29
  207. package/dist/chunks/{file-retention-84wx499v.js → mime-pwg95dhw.js} +27 -27
  208. package/dist/chunks/{file-retention-0j77ygfz.js → mime-q0xm7vwc.js} +6 -6
  209. package/dist/chunks/{file-retention-dwe8s81y.js → mime-qdj621en.js} +10 -10
  210. package/dist/chunks/{file-retention-v97fnpgb.js → mime-qmkkptsn.js} +5 -5
  211. package/dist/chunks/{file-retention-qmqgtz8f.js → mime-qmqgtz8f.js} +2 -2
  212. package/dist/chunks/{file-retention-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{file-retention-qsdy395h.js → mime-qsdy395h.js} +1 -1
  214. package/dist/chunks/{file-retention-nqj1gben.js → mime-qz30qjnb.js} +36 -36
  215. package/dist/chunks/{file-retention-r2z489rp.js → mime-r2z489rp.js} +1 -1
  216. package/dist/chunks/{file-retention-vczmck8z.js → mime-r67c82cp.js} +13 -13
  217. package/dist/chunks/{file-retention-5sn004hq.js → mime-r8cdb8d1.js} +19 -19
  218. package/dist/chunks/{file-retention-vbrars45.js → mime-rbpvdgf0.js} +8 -8
  219. package/dist/chunks/{file-retention-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{file-retention-d7zv88p4.js → mime-rj535w0r.js} +21 -21
  221. package/dist/chunks/{file-retention-1p07q0wb.js → mime-rkprpv83.js} +4 -4
  222. package/dist/chunks/{file-retention-bbcm0tyt.js → mime-rm79vesf.js} +89 -89
  223. package/dist/chunks/{file-retention-2n9hdwqs.js → mime-rnfpy8wk.js} +27 -27
  224. package/dist/chunks/{file-retention-z3db4tjk.js → mime-rskec7mq.js} +23 -23
  225. package/dist/chunks/{file-retention-85snt3vs.js → mime-rvtvv650.js} +177 -177
  226. package/dist/chunks/{file-retention-ac7rwfbv.js → mime-rxsvjrcp.js} +7 -7
  227. package/dist/chunks/{file-retention-998r05vw.js → mime-s9rk4g4r.js} +46 -46
  228. package/dist/chunks/{file-retention-mvsrg00e.js → mime-sdp1rx2v.js} +32 -32
  229. package/dist/chunks/{file-retention-r2ktrraj.js → mime-seewk876.js} +9 -9
  230. package/dist/chunks/{file-retention-ytt0bby0.js → mime-sfjpyg4a.js} +10 -10
  231. package/dist/chunks/{file-retention-z7qtbqvc.js → mime-sh2d2d9q.js} +18 -18
  232. package/dist/chunks/{file-retention-xhvwjgs8.js → mime-t0157md9.js} +44 -44
  233. package/dist/chunks/{file-retention-xxy9zgkz.js → mime-t2rmr46s.js} +31 -31
  234. package/dist/chunks/{file-retention-g7kzsnmy.js → mime-t7a6mr3j.js} +23 -23
  235. package/dist/chunks/{file-retention-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{file-retention-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{file-retention-76rvckpe.js → mime-tdqj5rj9.js} +5 -5
  238. package/dist/chunks/{file-retention-tdstcens.js → mime-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-retention-0sdx5hkx.js → mime-tparn3vn.js} +18 -18
  240. package/dist/chunks/{file-retention-7fdjvgwr.js → mime-tvqmtm4q.js} +4 -4
  241. package/dist/chunks/{file-retention-2j3kqcde.js → mime-tw0x9r6k.js} +25 -25
  242. package/dist/chunks/{file-retention-5fec3t3w.js → mime-txm3e8qz.js} +9 -9
  243. package/dist/chunks/{file-retention-tyytaxap.js → mime-tyytaxap.js} +1 -1
  244. package/dist/chunks/{file-retention-4434d9q2.js → mime-v0es1rhs.js} +9 -9
  245. package/dist/chunks/{file-retention-q4dve0yc.js → mime-v63n2ckv.js} +14 -14
  246. package/dist/chunks/{file-retention-v7p4zvkq.js → mime-v7p4zvkq.js} +2 -2
  247. package/dist/chunks/{file-retention-h9pnpq88.js → mime-ve85v3xb.js} +4 -4
  248. package/dist/chunks/{file-retention-veqvce7d.js → mime-veqvce7d.js} +1 -1
  249. package/dist/chunks/{file-retention-wx15gkxh.js → mime-vqjg70nz.js} +14 -14
  250. package/dist/chunks/{file-retention-hp90m9cj.js → mime-vvh8wk4a.js} +32 -32
  251. package/dist/chunks/{file-retention-wsq1jxfe.js → mime-vyw2z53s.js} +32 -32
  252. package/dist/chunks/{file-retention-4wnyxfvg.js → mime-vz5w0m48.js} +4 -4
  253. package/dist/chunks/{file-retention-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{file-retention-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{file-retention-wd87259q.js → mime-wd87259q.js} +1 -1
  256. package/dist/chunks/{file-retention-waztmdc6.js → mime-wmtpy0s3.js} +20 -20
  257. package/dist/chunks/{file-retention-g95216pe.js → mime-wppa2pay.js} +42 -42
  258. package/dist/chunks/{file-retention-7cxxxtha.js → mime-wrcfn0vf.js} +55 -55
  259. package/dist/chunks/{file-retention-a0pnfrft.js → mime-x44zd53x.js} +31 -31
  260. package/dist/chunks/{file-retention-adm4qcea.js → mime-x4zw4aa2.js} +32 -32
  261. package/dist/chunks/{file-retention-mcp2qyd7.js → mime-xfsxdr6e.js} +23 -23
  262. package/dist/chunks/{file-retention-jhdf29st.js → mime-xt4njr3s.js} +1 -1
  263. package/dist/chunks/{file-retention-q3qqjc4j.js → mime-xzg29whq.js} +10 -10
  264. package/dist/chunks/{file-retention-j4hxg427.js → mime-xzyak3pr.js} +4 -4
  265. package/dist/chunks/{file-retention-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-retention-wcdwbs26.js → mime-y60y4p2q.js} +17 -17
  267. package/dist/chunks/{file-retention-fshxsajn.js → mime-y6ecqznf.js} +30 -30
  268. package/dist/chunks/{file-retention-dpkg50ah.js → mime-y71avatq.js} +4 -4
  269. package/dist/chunks/{file-retention-01m0edtj.js → mime-yerhakjb.js} +11 -11
  270. package/dist/chunks/{file-retention-2k9fjx65.js → mime-ygdna4kr.js} +5 -5
  271. package/dist/chunks/{file-retention-0crjjxxx.js → mime-yh544exa.js} +18 -18
  272. package/dist/chunks/{file-retention-wy0w7taj.js → mime-ym3gh3rk.js} +23 -23
  273. package/dist/chunks/{file-retention-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{file-retention-hymc8p36.js → mime-z4x1pac8.js} +8 -8
  275. package/dist/chunks/{file-retention-sf9ed94r.js → mime-z7r5j9y4.js} +17 -17
  276. package/dist/chunks/{file-retention-ea9a622x.js → mime-z8g8xkam.js} +17 -17
  277. package/dist/chunks/{file-retention-bkxyw0dr.js → mime-zab19jja.js} +9 -9
  278. package/dist/chunks/{file-retention-a310axxt.js → mime-znvvnn0n.js} +18 -18
  279. package/dist/chunks/{file-retention-87bzfwd4.js → mime-zp1tmv74.js} +9 -9
  280. package/dist/chunks/{file-retention-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{file-retention-pq6k9xjj.js → mime-zt8we9d1.js} +4 -4
  282. package/dist/chunks/{file-retention-pr54a62y.js → mime-zvgv897q.js} +27 -27
  283. package/dist/chunks/{file-retention-3y377wv9.js → mime-zw2hpfmh.js} +4 -4
  284. package/dist/chunks/{file-retention-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +11 -11
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +84 -84
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -100
  293. package/dist/config/plugin/agent.js +117 -117
  294. package/dist/config/plugin/command.js +206 -206
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +135 -135
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +117 -117
  300. package/dist/config/plugin/instruction.js +91 -91
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +118 -118
  304. package/dist/config/plugin/provider.js +117 -117
  305. package/dist/config/plugin/reference.js +119 -119
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +103 -103
  308. package/dist/config/plugin/skill.js +138 -138
  309. package/dist/config/plugin/snapshot.js +117 -117
  310. package/dist/config/plugin/source.js +120 -120
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +118 -118
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +122 -122
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +86 -86
  319. package/dist/database/database.js +67 -67
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration.gen.js +50 -50
  386. package/dist/database/migration.js +52 -52
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +77 -77
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +366 -366
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -94
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +71 -71
  410. package/dist/file-access.js +105 -105
  411. package/dist/file-mutation.js +95 -95
  412. package/dist/file-retention.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/location-watcher-policy.js +2 -2
  418. package/dist/filesystem/location-watcher.js +219 -219
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +104 -104
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +103 -103
  424. package/dist/form.js +85 -85
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +106 -106
  428. package/dist/git.js +10 -10
  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 +100 -100
  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/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +357 -357
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +88 -88
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +90 -90
  457. package/dist/job.js +79 -79
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -74
  460. package/dist/location-activity.js +132 -132
  461. package/dist/location-lifecycle.js +108 -108
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +354 -354
  464. package/dist/location.js +90 -90
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +92 -92
  467. package/dist/mcp/index.js +110 -110
  468. package/dist/mcp/instructions.js +130 -130
  469. package/dist/mcp/oauth.js +79 -79
  470. package/dist/mcp/stdio.js +91 -91
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +100 -100
  473. package/dist/model-resolver.js +99 -99
  474. package/dist/model.js +103 -103
  475. package/dist/models-dev.js +108 -108
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +118 -118
  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 +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -76
  485. package/dist/plugin/agent.js +75 -75
  486. package/dist/plugin/command.js +101 -101
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -212
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +329 -329
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -97
  494. package/dist/plugin/module.js +118 -118
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +103 -103
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -95
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -113
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +94 -94
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +96 -96
  511. package/dist/plugin/provider/gitlab.js +94 -94
  512. package/dist/plugin/provider/google-vertex.js +114 -114
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +79 -79
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/local.js +114 -114
  517. package/dist/plugin/provider/modal.js +93 -93
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai.js +94 -94
  522. package/dist/plugin/provider/opencode.js +98 -98
  523. package/dist/plugin/provider/openrouter.js +92 -92
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +80 -80
  526. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  527. package/dist/plugin/provider/sap-ai-core.js +92 -92
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  530. package/dist/plugin/provider/vercel.js +91 -91
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +92 -92
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +159 -159
  535. package/dist/plugin/sdk.js +77 -77
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +135 -135
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +348 -348
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +87 -87
  543. package/dist/plugin/vcs/hg.js +87 -87
  544. package/dist/plugin/verbosity.js +94 -94
  545. package/dist/plugin/warming.js +115 -115
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +223 -223
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +91 -91
  557. package/dist/provider.js +102 -102
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +100 -100
  561. package/dist/reference/instructions.js +90 -90
  562. package/dist/reference.js +92 -92
  563. package/dist/repository-cache.js +82 -82
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +96 -96
  567. package/dist/rpc.js +87 -87
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +75 -75
  571. package/dist/session/compaction.js +136 -136
  572. package/dist/session/context.js +154 -154
  573. package/dist/session/diff.js +89 -89
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +215 -215
  578. package/dist/session/execution.js +128 -128
  579. package/dist/session/generate.js +155 -155
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +80 -80
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +98 -98
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +121 -121
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +130 -130
  591. package/dist/session/projector.js +87 -87
  592. package/dist/session/prompt.js +106 -106
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +91 -91
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +225 -225
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +99 -99
  600. package/dist/session/runner/publish-llm-event.js +114 -114
  601. package/dist/session/runner/retry.js +2 -2
  602. package/dist/session/runner/step.js +126 -126
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +165 -165
  606. package/dist/session/shell.js +131 -131
  607. package/dist/session/skill.js +104 -104
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +74 -74
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +206 -206
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +158 -158
  615. package/dist/session/to-session-error.js +112 -112
  616. package/dist/session/transfer.js +211 -211
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +210 -210
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +7 -7
  623. package/dist/shell.js +131 -131
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +108 -108
  626. package/dist/skill.js +107 -107
  627. package/dist/snapshot.js +94 -94
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +129 -129
  632. package/dist/tool/plugin/edit.js +121 -121
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +125 -125
  635. package/dist/tool/plugin/grep.js +125 -125
  636. package/dist/tool/plugin/mcp-resource.js +118 -118
  637. package/dist/tool/plugin/opencode.js +110 -110
  638. package/dist/tool/plugin/patch.js +121 -121
  639. package/dist/tool/plugin/question.js +106 -106
  640. package/dist/tool/plugin/read.js +126 -126
  641. package/dist/tool/plugin/shell.js +211 -211
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +211 -211
  644. package/dist/tool/plugin/webfetch.js +113 -113
  645. package/dist/tool/plugin/websearch.js +115 -115
  646. package/dist/tool/plugin/write.js +123 -123
  647. package/dist/tool/read-filesystem.js +101 -101
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +7 -7
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +93 -93
  665. package/dist/v1/config/permission.js +7 -7
  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/variant.js +92 -92
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +90 -90
  672. package/dist/websearch.js +81 -81
  673. package/dist/wellknown/plugin.js +77 -77
  674. package/dist/wellknown.js +80 -80
  675. package/dist/workspace/driver.js +3 -3
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +81 -81
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +90 -90
  682. package/dist/worktree.js +99 -99
  683. package/package.json +8 -8
  684. package/dist/chunks/file-retention-02wkw50e.js +0 -513
  685. package/dist/chunks/file-retention-dxj72tfx.js +0 -18
  686. package/dist/chunks/file-retention-f2fj5fz0.js +0 -253
  687. package/dist/chunks/file-retention-nxaxcbj9.js +0 -26
  688. /package/dist/chunks/{file-retention-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{file-retention-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{file-retention-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{file-retention-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{file-retention-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{file-retention-24dcb14g.js → mime-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{file-retention-2710q6r3.js → mime-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{file-retention-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{file-retention-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{file-retention-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
  698. /package/dist/chunks/{file-retention-359p4xyc.js → mime-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{file-retention-3asan66x.js → mime-3asan66x.js} +0 -0
  700. /package/dist/chunks/{file-retention-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{file-retention-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{file-retention-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{file-retention-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{file-retention-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{file-retention-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{file-retention-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{file-retention-53557ph1.js → mime-53557ph1.js} +0 -0
  708. /package/dist/chunks/{file-retention-550bvhaj.js → mime-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{file-retention-6prwharc.js → mime-6prwharc.js} +0 -0
  710. /package/dist/chunks/{file-retention-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{file-retention-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{file-retention-7m9af43g.js → mime-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{file-retention-822emrt2.js → mime-822emrt2.js} +0 -0
  714. /package/dist/chunks/{file-retention-84wd9syh.js → mime-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{file-retention-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{file-retention-8n3pysct.js → mime-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{file-retention-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{file-retention-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{file-retention-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{file-retention-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{file-retention-af5trqkr.js → mime-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{file-retention-afrmfg78.js → mime-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{file-retention-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{file-retention-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{file-retention-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{file-retention-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{file-retention-bw78ga2c.js → mime-bw78ga2c.js} +0 -0
  728. /package/dist/chunks/{file-retention-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{file-retention-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{file-retention-d9fn303g.js → mime-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{file-retention-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{file-retention-dajrwvna.js → mime-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{file-retention-dap0rakb.js → mime-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{file-retention-df08tz66.js → mime-df08tz66.js} +0 -0
  735. /package/dist/chunks/{file-retention-dy18nga0.js → mime-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{file-retention-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{file-retention-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{file-retention-ec1grn59.js → mime-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{file-retention-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{file-retention-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{file-retention-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{file-retention-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{file-retention-faypxj3z.js → mime-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{file-retention-fd410y7t.js → mime-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{file-retention-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{file-retention-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-retention-g86h250q.js → mime-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-retention-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-retention-gftt206x.js → mime-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-retention-hk9envan.js → mime-hk9envan.js} +0 -0
  751. /package/dist/chunks/{file-retention-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{file-retention-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{file-retention-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{file-retention-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{file-retention-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{file-retention-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{file-retention-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{file-retention-mp448xyj.js → mime-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{file-retention-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{file-retention-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{file-retention-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{file-retention-njntx4h6.js → mime-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{file-retention-pyv0edze.js → mime-pyv0edze.js} +0 -0
  764. /package/dist/chunks/{file-retention-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{file-retention-q74kybfr.js → mime-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{file-retention-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{file-retention-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{file-retention-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{file-retention-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{file-retention-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{file-retention-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{file-retention-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{file-retention-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{file-retention-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
  775. /package/dist/chunks/{file-retention-w803qqfp.js → mime-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{file-retention-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{file-retention-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{file-retention-wtztk69x.js → mime-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{file-retention-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{file-retention-x61499pn.js → mime-x61499pn.js} +0 -0
  781. /package/dist/chunks/{file-retention-y44na4kk.js → mime-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{file-retention-y8f7s663.js → mime-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{file-retention-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{file-retention-ym463w8f.js → mime-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{file-retention-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
  786. /package/dist/chunks/{file-retention-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-retention-m6y8pydv.js";
4
+ } from "./mime-pm8zwzej.js";
5
5
  import {
6
6
  create3
7
- } from "./file-retention-rdw6cm16.js";
7
+ } from "./mime-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./file-retention-jtmhc97q.js";
10
+ } from "./mime-exydzexz.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./mime-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event8,
21
- ID: () => ID5,
22
- Info: () => Info6,
20
+ Event: () => Event9,
21
+ ID: () => ID6,
22
+ Info: () => Info7,
23
23
  Name: () => Name2,
24
24
  Service: () => Service40,
25
25
  Skill: () => exports_skill5,
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event8 } from "@opencode/schema/skill";
37
+ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source3 = Skill.Source;
42
- var Info6 = Skill.Info;
43
- var ID5 = Skill.ID;
42
+ var Info7 = Skill.Info;
43
+ var ID6 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -80,19 +80,19 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID5.make(id)),
83
+ get: (id) => editor.skills.get(ID6.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID5.make(id));
88
+ const current = editor.skills.get(ID6.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID5.make(id);
92
+ current.id = ID6.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID5.make(id));
95
+ editor.skills.delete(ID6.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
@@ -114,4 +114,4 @@ var node43 = makeLocationNode({
114
114
  deps: [node88]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID5, Name2, available2, toModelOutput3, prepare3, Service40, node43, exports_skill5, Event8 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID6, Name2, available2, toModelOutput3, prepare3, Service40, node43, exports_skill5, Event9 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./mime-z5v4ffb3.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./file-retention-gfe3ax2q.js";
7
+ } from "./mime-j4my293e.js";
8
8
  import {
9
9
  Service84,
10
10
  node88
11
- } from "./file-retention-m6y8pydv.js";
11
+ } from "./mime-pm8zwzej.js";
12
12
  import {
13
- Service80,
14
- node84
15
- } from "./file-retention-81fjg4yx.js";
13
+ Service83,
14
+ node87
15
+ } from "./mime-dktjxkrs.js";
16
16
  import {
17
- ID15,
17
+ ID18,
18
18
  Current3,
19
- Info25,
19
+ Info29,
20
20
  UpdateInput4,
21
- Event18,
21
+ Event21,
22
22
  Vcs3
23
- } from "./file-retention-4434d9q2.js";
23
+ } from "./mime-v0es1rhs.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./file-retention-h2b79v29.js";
27
+ } from "./mime-h2b79v29.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./file-retention-1dvck2a7.js";
30
+ } from "./mime-1dvck2a7.js";
31
31
  import {
32
32
  __export
33
- } from "./file-retention-9rqn6x4v.js";
33
+ } from "./mime-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID14,
40
- Info: () => Info24,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID17,
40
+ Info: () => Info28,
41
+ NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service79,
43
+ Service: () => Service82,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node83,
46
+ node: () => node86,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID14 = ID15;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info24 = Info25;
61
+ var Info28 = Info29;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID14
64
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service79 extends Context.Service()("@opencode/Project") {
75
+ class Service82 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,9 +95,9 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service79, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service80;
100
+ const git = yield* Service83;
101
101
  const proc = yield* AppProcess.Service;
102
102
  const bus = yield* Service84;
103
103
  const db = (yield* Service85).db;
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event18.Updated, fromRow(row));
111
+ yield* bus.publish(Event21.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID14.global,
148
+ previous: project.previous ?? ID17.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
168
168
  time_updated: Date.now()
169
169
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
170
170
  if (!row)
171
- return yield* new NotFoundError10({ projectID: input.projectID });
171
+ return yield* new NotFoundError11({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event18.Updated, project);
173
+ yield* bus.publish(Event21.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event18.Updated, fromRow(row));
184
+ yield* bus.publish(Event21.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID14.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID14.make(root) : undefined;
223
+ return root ? ID17.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID14.make(node) : undefined;
239
+ return node ? ID17.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID14.global,
248
+ id: id ?? ID17.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID14.global,
265
+ id: id ?? ID17.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID14.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service79.of({ list, update, activate, resolve });
285
+ return Service82.of({ list, update, activate, resolve });
286
286
  }));
287
- var node83 = makeGlobalNode({
288
- service: Service79,
287
+ var node86 = makeGlobalNode({
288
+ service: Service82,
289
289
  layer,
290
- deps: [node88, node89, FSUtil.node, node84, AppProcess.node]
290
+ deps: [node88, node89, FSUtil.node, node87, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID14, Vcs2, Current2, Info24, UpdateInput3, NotFoundError10, root2, Service79, node83, exports_project };
293
+ export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service82, node86, exports_project };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service66
4
- } from "./file-retention-1f2vccss.js";
3
+ Service48
4
+ } from "./mime-jq7vh08d.js";
5
5
  import {
6
6
  __export
7
- } from "./file-retention-9rqn6x4v.js";
7
+ } from "./mime-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin8,
12
+ Plugin: () => Plugin29,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin8 = define({
22
+ var Plugin29 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service66;
25
+ const config = yield* Service48;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin8 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin8, exports_warming };
99
+ export { Plugin29, exports_warming };
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID9,
3
- Info12,
2
+ ID15,
3
+ Info24,
4
4
  SessionSchema2
5
- } from "./file-retention-ba07h9gm.js";
5
+ } from "./mime-btfhnvjh.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./file-retention-z5v4ffb3.js";
8
+ } from "./mime-z5v4ffb3.js";
9
9
  import {
10
10
  Service85,
11
11
  node89
12
- } from "./file-retention-gfe3ax2q.js";
12
+ } from "./mime-j4my293e.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service84,
16
16
  node88
17
- } from "./file-retention-m6y8pydv.js";
17
+ } from "./mime-pm8zwzej.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./file-retention-ryndta0d.js";
19
+ Service82,
20
+ node86
21
+ } from "./mime-cz82p42g.js";
22
22
  import {
23
- Service46,
24
- node48
25
- } from "./file-retention-909p1r3q.js";
23
+ Service53,
24
+ node56
25
+ } from "./mime-0hf9g8pg.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./file-retention-ec1grn59.js";
28
+ } from "./mime-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./file-retention-9e5bzkjp.js";
31
+ } from "./mime-9e5bzkjp.js";
32
32
  import {
33
- node46
34
- } from "./file-retention-xdqkszf6.js";
33
+ node55
34
+ } from "./mime-06svym02.js";
35
35
  import {
36
36
  current2
37
- } from "./file-retention-zfs8ae4p.js";
37
+ } from "./mime-pgsrtt9v.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./file-retention-2mqvqnd5.js";
40
+ } from "./mime-fmgyvksq.js";
41
41
  import {
42
42
  Slug2
43
- } from "./file-retention-gebd4c9n.js";
43
+ } from "./mime-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node32
47
- } from "./file-retention-0crjjxxx.js";
46
+ node31
47
+ } from "./mime-yh544exa.js";
48
48
  import {
49
49
  Metadata2,
50
- node61
51
- } from "./file-retention-hrh521yf.js";
50
+ node45
51
+ } from "./mime-fh2psg6v.js";
52
52
  import {
53
- NotFoundError8,
53
+ NotFoundError9,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./file-retention-t8g2rvm9.js";
64
+ } from "./mime-043vq6jw.js";
65
65
  import {
66
66
  ListInput5,
67
- Service56,
68
- node58
69
- } from "./file-retention-mx7expm3.js";
67
+ Service73,
68
+ node77
69
+ } from "./mime-hbgztc69.js";
70
70
  import {
71
- Service47,
72
- node49
73
- } from "./file-retention-xnyn0jx3.js";
71
+ Service56,
72
+ node59
73
+ } from "./mime-9p5s5qkh.js";
74
74
  import {
75
- Service42,
76
- node45
77
- } from "./file-retention-700ev8gh.js";
75
+ Service50,
76
+ node54
77
+ } from "./mime-jky4ye9c.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./file-retention-2vvh33eb.js";
80
+ } from "./mime-2vvh33eb.js";
81
81
  import {
82
- Service35,
83
- node38
84
- } from "./file-retention-pdetw647.js";
82
+ Service32,
83
+ node35
84
+ } from "./mime-h5qrb2fe.js";
85
85
  import {
86
86
  generate2
87
- } from "./file-retention-0y4k1x12.js";
87
+ } from "./mime-km9wxv53.js";
88
88
  import {
89
89
  execute2
90
- } from "./file-retention-hymc8p36.js";
90
+ } from "./mime-z4x1pac8.js";
91
91
  import {
92
- Service52,
93
- node54
94
- } from "./file-retention-rr9cc36v.js";
92
+ Service70,
93
+ node74
94
+ } from "./mime-p2108z5q.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service28,
100
- node31
101
- } from "./file-retention-7cxxxtha.js";
99
+ Service21,
100
+ node24
101
+ } from "./mime-wrcfn0vf.js";
102
102
  import {
103
- Service51,
104
- node53
105
- } from "./file-retention-vwpcpzep.js";
103
+ Service46,
104
+ node50
105
+ } from "./mime-bc9tah8j.js";
106
106
  import {
107
- make13
108
- } from "./file-retention-35p49r4v.js";
107
+ make12
108
+ } from "./mime-hrvxfe8q.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./file-retention-x47gwdav.js";
112
+ } from "./mime-1rt8m1ja.js";
113
113
  import {
114
114
  __export
115
- } from "./file-retention-9rqn6x4v.js";
115
+ } from "./mime-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID9,
126
+ ID: () => ID15,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info12,
128
+ Info: () => Info24,
129
129
  ListAnchor: () => ListAnchor2,
130
130
  ListInput: () => ListInput3,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError8,
133
+ NotFoundError: () => NotFoundError9,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service27,
135
+ Service: () => Service20,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node30
141
+ node: () => node23
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -149,26 +149,26 @@ import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
151
  var ListInput3 = ListInput5;
152
- class Service27 extends Context.Service()("@opencode/Session") {
152
+ class Service20 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service27, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service85;
157
157
  const db = database.db;
158
158
  const bus = yield* Service84;
159
- const projects = yield* Service79;
160
- const execution = yield* Service42;
159
+ const projects = yield* Service82;
160
+ const execution = yield* Service50;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service35;
163
- const store = yield* Service56;
164
- const instances = yield* Service46;
165
- const moves = yield* Service28;
166
- const jobs = yield* Service47;
167
- const environments = yield* Service51;
168
- const locations = yield* Service52;
169
- const sessions = yield* make13();
162
+ const transport = yield* Service32;
163
+ const store = yield* Service73;
164
+ const instances = yield* Service53;
165
+ const moves = yield* Service21;
166
+ const jobs = yield* Service56;
167
+ const environments = yield* Service46;
168
+ const locations = yield* Service70;
169
+ const sessions = yield* make12();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service27.of({
171
+ const result = Service20.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
176
176
  return recorded;
177
177
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
178
178
  if (input.parentID && parent === undefined)
179
- return yield* new NotFoundError8({ sessionID: input.parentID });
179
+ return yield* new NotFoundError9({ sessionID: input.parentID });
180
180
  const location = parent?.location ?? input.location;
181
181
  if (location === undefined)
182
182
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service46, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service53, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
327
327
  });
328
328
  return result;
329
329
  }));
330
- var node30 = Node.makeGlobalNode({
331
- service: Service27,
330
+ var node23 = Node.makeGlobalNode({
331
+ service: Service20,
332
332
  layer,
333
333
  deps: [
334
- node49,
335
- node53,
334
+ node59,
335
+ node50,
336
336
  node89,
337
337
  node88,
338
- node83,
339
- node45,
340
- node38,
338
+ node86,
339
+ node54,
340
+ node35,
341
341
  llmClient2,
342
- node58,
343
- node48,
344
- node46,
342
+ node77,
343
+ node56,
344
+ node55,
345
+ node24,
345
346
  node31,
346
- node32,
347
- node54,
347
+ node74,
348
348
  FSUtil.node,
349
- node61
349
+ node45
350
350
  ]
351
351
  });
352
352
 
353
- export { ListAnchor2, ListInput3, Service27, node30, exports_session };
353
+ export { ListAnchor2, ListInput3, Service20, node23, exports_session };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./file-retention-226karrg.js";
3
+ } from "./mime-athh32y1.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./file-retention-mvsrg00e.js";
6
+ } from "./mime-sdp1rx2v.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};