@opencode/core 0.0.0-dev-20401 → 0.0.0-dev-20402

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{wellknown-1ap25sbt.js → file-retention-07ehc897.js} +21 -21
  8. package/dist/chunks/{wellknown-h2h81cz1.js → file-retention-07v38qck.js} +16 -16
  9. package/dist/chunks/{wellknown-a6gmg8e2.js → file-retention-08cyycf1.js} +9 -9
  10. package/dist/chunks/{wellknown-q4mn6wkk.js → file-retention-0by5znvt.js} +6 -6
  11. package/dist/chunks/{wellknown-pqvx7e34.js → file-retention-0jy993ce.js} +32 -32
  12. package/dist/chunks/{wellknown-1a854nj1.js → file-retention-0kt9y2yg.js} +3 -3
  13. package/dist/chunks/{wellknown-ca3j46nd.js → file-retention-0mc7b5yt.js} +25 -25
  14. package/dist/chunks/{wellknown-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{wellknown-744r2be4.js → file-retention-0t1hj50p.js} +48 -48
  16. package/dist/chunks/{wellknown-wckr6wjf.js → file-retention-0tpv2kjk.js} +14 -14
  17. package/dist/chunks/{wellknown-tneh0x7b.js → file-retention-0y9112s8.js} +15 -15
  18. package/dist/chunks/{wellknown-z0gc4jcf.js → file-retention-0ydfd3tt.js} +11 -11
  19. package/dist/chunks/{wellknown-8hydgdhp.js → file-retention-16b29q1p.js} +6 -6
  20. package/dist/chunks/{wellknown-r8xr0va3.js → file-retention-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{wellknown-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{wellknown-b3s8px0x.js → file-retention-1h6fgt3y.js} +8 -8
  23. package/dist/chunks/{wellknown-wkh0553f.js → file-retention-1s8bbjk0.js} +22 -22
  24. package/dist/chunks/{wellknown-3zjyq5kp.js → file-retention-1tnfewyb.js} +11 -11
  25. package/dist/chunks/{wellknown-x70jfmtc.js → file-retention-1tp0pegs.js} +9 -9
  26. package/dist/chunks/{wellknown-zggzp6kd.js → file-retention-1v17rnrm.js} +32 -32
  27. package/dist/chunks/{wellknown-jhcj5yx9.js → file-retention-1vp4gevy.js} +14 -14
  28. package/dist/chunks/{wellknown-21r38tys.js → file-retention-21r38tys.js} +1 -1
  29. package/dist/chunks/{wellknown-zsmpz0g2.js → file-retention-23vhgpjn.js} +44 -44
  30. package/dist/chunks/{wellknown-k4tadaxs.js → file-retention-26wtd377.js} +15 -15
  31. package/dist/chunks/{wellknown-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{wellknown-c78bbtc9.js → file-retention-2f0bjgcj.js} +5 -5
  33. package/dist/chunks/{wellknown-1eh65fmh.js → file-retention-2q4jbtx6.js} +14 -14
  34. package/dist/chunks/{wellknown-adcm3a54.js → file-retention-2qr48v8r.js} +12 -12
  35. package/dist/chunks/{wellknown-4e8vs6eh.js → file-retention-30846h32.js} +8 -8
  36. package/dist/chunks/{wellknown-vjjxy6yb.js → file-retention-32ymn5e1.js} +3 -3
  37. package/dist/chunks/{wellknown-bqar0n6y.js → file-retention-382s30hz.js} +5 -5
  38. package/dist/chunks/{wellknown-sy8pvrsp.js → file-retention-3a9d28fc.js} +20 -20
  39. package/dist/chunks/{wellknown-dbf65cva.js → file-retention-3aw7vgta.js} +22 -22
  40. package/dist/chunks/{wellknown-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{wellknown-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{wellknown-ax139gcc.js → file-retention-3m0ax14b.js} +20 -20
  43. package/dist/chunks/{wellknown-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{wellknown-ns267dy3.js → file-retention-3t81ps34.js} +44 -44
  45. package/dist/chunks/{wellknown-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{wellknown-8jjxrpth.js → file-retention-3v25ja2b.js} +12 -12
  47. package/dist/chunks/{wellknown-kydcancx.js → file-retention-3wa3ckeq.js} +5 -5
  48. package/dist/chunks/{wellknown-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{wellknown-ff98bvnp.js → file-retention-4agzmtjj.js} +28 -28
  50. package/dist/chunks/{wellknown-4j4tgtq5.js → file-retention-4j4tgtq5.js} +1 -1
  51. package/dist/chunks/{wellknown-gx58f99x.js → file-retention-4kc82and.js} +13 -13
  52. package/dist/chunks/{wellknown-str9awg2.js → file-retention-4pk7p1z9.js} +23 -23
  53. package/dist/chunks/{wellknown-vp65ztdf.js → file-retention-4q7jz6f3.js} +42 -42
  54. package/dist/chunks/{wellknown-sfkbasvm.js → file-retention-4wct8n2q.js} +6 -6
  55. package/dist/chunks/{wellknown-vv07ew10.js → file-retention-4xykdr3j.js} +5 -5
  56. package/dist/chunks/{wellknown-1xp5crwf.js → file-retention-4ygabsyh.js} +33 -33
  57. package/dist/chunks/{wellknown-qn6tktv7.js → file-retention-5178wfd8.js} +30 -30
  58. package/dist/chunks/{wellknown-vsxynn42.js → file-retention-53ms7kcc.js} +33 -33
  59. package/dist/chunks/{wellknown-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
  60. package/dist/chunks/{wellknown-damkmrvb.js → file-retention-555wn5z1.js} +21 -21
  61. package/dist/chunks/{wellknown-56gdpj1q.js → file-retention-56gdpj1q.js} +2 -2
  62. package/dist/chunks/{wellknown-57ez7d0k.js → file-retention-57ez7d0k.js} +2 -2
  63. package/dist/chunks/{wellknown-e6m8eg10.js → file-retention-5ar0959a.js} +11 -11
  64. package/dist/chunks/{wellknown-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  65. package/dist/chunks/{wellknown-hysx2fj2.js → file-retention-5hd43tkx.js} +30 -30
  66. package/dist/chunks/{wellknown-6yaj9rt4.js → file-retention-5sm82are.js} +6 -6
  67. package/dist/chunks/{wellknown-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{wellknown-y1gke2m2.js → file-retention-5xpznt2d.js} +4 -4
  69. package/dist/chunks/{wellknown-rybxqfgf.js → file-retention-5xychhr1.js} +31 -31
  70. package/dist/chunks/{wellknown-s595vrx0.js → file-retention-61wct4zt.js} +25 -24
  71. package/dist/chunks/{wellknown-669tq793.js → file-retention-669tq793.js} +1 -1
  72. package/dist/chunks/{wellknown-0w11ndwm.js → file-retention-68dcddmz.js} +8 -8
  73. package/dist/chunks/{wellknown-55kxqpgg.js → file-retention-6es9zfpy.js} +34 -34
  74. package/dist/chunks/{wellknown-qm0v3jhh.js → file-retention-6hh8tjw2.js} +7 -7
  75. package/dist/chunks/{wellknown-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{wellknown-xphsq29y.js → file-retention-6psg71na.js} +1 -1
  77. package/dist/chunks/{wellknown-k12yqhfe.js → file-retention-6r9q50nc.js} +17 -17
  78. package/dist/chunks/{wellknown-97qfe4sr.js → file-retention-6x3ncgzs.js} +48 -48
  79. package/dist/chunks/{wellknown-szbq6dpj.js → file-retention-70e78xk1.js} +2 -2
  80. package/dist/chunks/{wellknown-vn5vaeq1.js → file-retention-73880a7e.js} +9 -9
  81. package/dist/chunks/{wellknown-wpsrzqaa.js → file-retention-76tq4jpv.js} +51 -51
  82. package/dist/chunks/{wellknown-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{wellknown-qgn6gcr1.js → file-retention-7dqw4kz8.js} +5 -5
  84. package/dist/chunks/{wellknown-k3zp8qmd.js → file-retention-7q81yew2.js} +12 -12
  85. package/dist/chunks/{wellknown-rmp2r1td.js → file-retention-7qkbk131.js} +11 -11
  86. package/dist/chunks/{wellknown-jexxy024.js → file-retention-7w99qc9d.js} +3 -3
  87. package/dist/chunks/{wellknown-v359qcvd.js → file-retention-8142ayq4.js} +30 -30
  88. package/dist/chunks/{wellknown-84txncab.js → file-retention-84txncab.js} +1 -1
  89. package/dist/chunks/{wellknown-y4aaa54v.js → file-retention-8csa8wgg.js} +28 -28
  90. package/dist/chunks/{wellknown-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{wellknown-bsnpd98z.js → file-retention-8fm7fx0h.js} +1 -1
  92. package/dist/chunks/{wellknown-9534deet.js → file-retention-8g4srgx8.js} +30 -30
  93. package/dist/chunks/{wellknown-gebtr55s.js → file-retention-8ryk0bb9.js} +5 -5
  94. package/dist/chunks/{wellknown-py3kkmfq.js → file-retention-8sze2n9a.js} +6 -6
  95. package/dist/chunks/{wellknown-260gyq39.js → file-retention-8wshxwa8.js} +24 -24
  96. package/dist/chunks/{wellknown-whrrw1yc.js → file-retention-901fz9t0.js} +23 -23
  97. package/dist/chunks/{wellknown-css27r41.js → file-retention-914z0d4t.js} +5 -5
  98. package/dist/chunks/{wellknown-xjjqthj5.js → file-retention-92nsqna1.js} +1 -1
  99. package/dist/chunks/{wellknown-gfvb90ym.js → file-retention-94ek1h2f.js} +2 -2
  100. package/dist/chunks/{wellknown-x9zaehp5.js → file-retention-96kfm23h.js} +8 -8
  101. package/dist/chunks/{wellknown-tnvxdpm3.js → file-retention-9965yrjj.js} +12 -12
  102. package/dist/chunks/{wellknown-wj3fzgk4.js → file-retention-9cvt8pvp.js} +21 -21
  103. package/dist/chunks/{wellknown-wh176n5n.js → file-retention-9zmzhm3z.js} +12 -12
  104. package/dist/chunks/{wellknown-3hrymav8.js → file-retention-a2w2trrv.js} +29 -29
  105. package/dist/chunks/{wellknown-q58mka6k.js → file-retention-a7bcxdzj.js} +9 -9
  106. package/dist/chunks/{wellknown-aqyyhm0b.js → file-retention-a8ymkhm3.js} +15 -15
  107. package/dist/chunks/{wellknown-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  108. package/dist/chunks/{wellknown-ebxxptf3.js → file-retention-ae141jqd.js} +15 -15
  109. package/dist/chunks/{wellknown-0f9afca0.js → file-retention-af04s6ss.js} +5 -5
  110. package/dist/chunks/{wellknown-kf8xccby.js → file-retention-azw3908z.js} +18 -18
  111. package/dist/chunks/{wellknown-g1q8vb0g.js → file-retention-b0a6mgz0.js} +2 -2
  112. package/dist/chunks/{wellknown-tq61de9h.js → file-retention-b34228va.js} +23 -23
  113. package/dist/chunks/{wellknown-a8xwqxmq.js → file-retention-b6c8hgaq.js} +7 -7
  114. package/dist/chunks/{wellknown-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{wellknown-t9ew0xaf.js → file-retention-ba15hegp.js} +12 -12
  116. package/dist/chunks/{wellknown-4e0602pb.js → file-retention-bah76z4e.js} +14 -14
  117. package/dist/chunks/{wellknown-q07vqkz7.js → file-retention-bjc78pkx.js} +5 -5
  118. package/dist/chunks/{wellknown-5phqnecy.js → file-retention-bscb95cy.js} +9 -9
  119. package/dist/chunks/{wellknown-t4nchsx9.js → file-retention-bw7f9m3t.js} +22 -22
  120. package/dist/chunks/{wellknown-mwwxnxty.js → file-retention-c651xxjb.js} +4 -4
  121. package/dist/chunks/{wellknown-k74fhpa0.js → file-retention-car3yqh5.js} +4 -4
  122. package/dist/chunks/{wellknown-scn1m38n.js → file-retention-ccy2pgf3.js} +10 -10
  123. package/dist/chunks/{wellknown-wrvpnekj.js → file-retention-cgsggtpg.js} +89 -89
  124. package/dist/chunks/{wellknown-54tcyq79.js → file-retention-ckecvw8r.js} +2 -2
  125. package/dist/chunks/{wellknown-aan7x28a.js → file-retention-cst1g9ty.js} +91 -91
  126. package/dist/chunks/{wellknown-henaaq5n.js → file-retention-cw1stz9h.js} +17 -17
  127. package/dist/chunks/{wellknown-ncqsayf8.js → file-retention-cx4jqw99.js} +1 -1
  128. package/dist/chunks/{wellknown-zvsfaaqm.js → file-retention-d0xdxexk.js} +32 -32
  129. package/dist/chunks/{wellknown-c765mh8b.js → file-retention-d4he2qe1.js} +9 -9
  130. package/dist/chunks/{wellknown-r7yf4sta.js → file-retention-d5grx31m.js} +9 -9
  131. package/dist/chunks/{wellknown-0v53mg2y.js → file-retention-dfe8djrf.js} +4 -4
  132. package/dist/chunks/{wellknown-sjn3sca5.js → file-retention-dhfqkfjw.js} +27 -27
  133. package/dist/chunks/{wellknown-nap4pwna.js → file-retention-dk1ph2hs.js} +9 -9
  134. package/dist/chunks/{wellknown-xkntkrq7.js → file-retention-dmqcgk4z.js} +5 -5
  135. package/dist/chunks/{wellknown-dnxkq42g.js → file-retention-dnxkq42g.js} +1 -1
  136. package/dist/chunks/{wellknown-e3farn9z.js → file-retention-e75wa3q3.js} +18 -18
  137. package/dist/chunks/{wellknown-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{wellknown-08f2t3aa.js → file-retention-efkdte57.js} +16 -16
  139. package/dist/chunks/{wellknown-b0wk2k2j.js → file-retention-en6tpsg7.js} +7 -7
  140. package/dist/chunks/{wellknown-eep4qv10.js → file-retention-enghkq7s.js} +33 -33
  141. package/dist/chunks/{wellknown-hwa5qdjj.js → file-retention-epdvd4ev.js} +2 -2
  142. package/dist/chunks/{wellknown-1s6gcy5s.js → file-retention-er0xdfmw.js} +43 -43
  143. package/dist/chunks/{wellknown-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{wellknown-n513yaqk.js → file-retention-exx9ekpx.js} +11 -11
  145. package/dist/chunks/{wellknown-rh7p7pce.js → file-retention-f1mm0mp4.js} +18 -18
  146. package/dist/chunks/{wellknown-z8jvdxfg.js → file-retention-f36tabf2.js} +6 -6
  147. package/dist/chunks/{wellknown-nngs6syj.js → file-retention-f3v49yrq.js} +11 -11
  148. package/dist/chunks/{wellknown-2k64ycz1.js → file-retention-f5gy8qwh.js} +8 -8
  149. package/dist/chunks/{wellknown-j594h3t6.js → file-retention-fnge4047.js} +4 -4
  150. package/dist/chunks/{wellknown-c8g3m7qr.js → file-retention-fpn03fpt.js} +20 -20
  151. package/dist/chunks/{wellknown-a2em79jn.js → file-retention-frt7t1he.js} +16 -16
  152. package/dist/chunks/{wellknown-y56ehv6b.js → file-retention-ftjf86m5.js} +2 -2
  153. package/dist/chunks/{wellknown-hsteyg0z.js → file-retention-g2jqna9d.js} +25 -25
  154. package/dist/chunks/{wellknown-rjyargxg.js → file-retention-g9jwfn6x.js} +11 -11
  155. package/dist/chunks/{wellknown-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{wellknown-q4pkjmzp.js → file-retention-gp2fw5da.js} +12 -12
  157. package/dist/chunks/{wellknown-kfr3jwev.js → file-retention-gqbx8pvk.js} +8 -8
  158. package/dist/chunks/{wellknown-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{wellknown-jzmza1h1.js → file-retention-gxjs0nkc.js} +28 -28
  160. package/dist/chunks/{wellknown-atm8t10z.js → file-retention-gztggq6p.js} +5 -5
  161. package/dist/chunks/{wellknown-xywe86jr.js → file-retention-h0ddtxn3.js} +67 -67
  162. package/dist/chunks/{wellknown-kbqjp078.js → file-retention-h4z1mxff.js} +5 -5
  163. package/dist/chunks/{wellknown-p73e7djm.js → file-retention-h67bwh8a.js} +33 -33
  164. package/dist/chunks/{wellknown-h6b02349.js → file-retention-h6b02349.js} +2 -2
  165. package/dist/chunks/{wellknown-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{wellknown-w21bzq9q.js → file-retention-h896pcm5.js} +6 -6
  167. package/dist/chunks/{wellknown-hd8vw2pw.js → file-retention-hd8vw2pw.js} +1 -1
  168. package/dist/chunks/{wellknown-4df3h35c.js → file-retention-hkw967g2.js} +11 -11
  169. package/dist/chunks/{wellknown-5r2av5gd.js → file-retention-hphkqdz5.js} +20 -20
  170. package/dist/chunks/{wellknown-hbgyr91g.js → file-retention-hv3sa1e0.js} +11 -11
  171. package/dist/chunks/{wellknown-e7vk2sgk.js → file-retention-hwhbafy2.js} +15 -15
  172. package/dist/chunks/{wellknown-d57jdqnp.js → file-retention-hyd4csjw.js} +9 -9
  173. package/dist/chunks/{wellknown-f6bdtgrs.js → file-retention-hyt73fgk.js} +19 -19
  174. package/dist/chunks/{wellknown-9qny7dd3.js → file-retention-hznfsya8.js} +22 -22
  175. package/dist/chunks/{wellknown-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  176. package/dist/chunks/{wellknown-0hrf2yhq.js → file-retention-j6c2djjz.js} +3 -3
  177. package/dist/chunks/{wellknown-w4mba9tq.js → file-retention-jdcs44sz.js} +15 -15
  178. package/dist/chunks/{wellknown-7a838fem.js → file-retention-jjctv81n.js} +18 -18
  179. package/dist/chunks/file-retention-jqh9b0xq.js +18 -0
  180. package/dist/chunks/{wellknown-1sa7dz1e.js → file-retention-jqryekp8.js} +12 -12
  181. package/dist/chunks/file-retention-js7f2ndc.js +507 -0
  182. package/dist/chunks/{wellknown-k3c624dm.js → file-retention-k3c624dm.js} +3 -3
  183. package/dist/chunks/{wellknown-71zbrv9g.js → file-retention-k9xjptez.js} +24 -24
  184. package/dist/chunks/{wellknown-akzntyag.js → file-retention-kbq17jxs.js} +17 -17
  185. package/dist/chunks/{wellknown-21t3v64e.js → file-retention-kd88yaz5.js} +36 -36
  186. package/dist/chunks/{wellknown-k25a84m3.js → file-retention-kjwwdp92.js} +28 -28
  187. package/dist/chunks/{wellknown-mj4mdxkv.js → file-retention-kkcecp2w.js} +27 -27
  188. package/dist/chunks/{wellknown-4bm5ja14.js → file-retention-kkp8zx71.js} +4 -4
  189. package/dist/chunks/{wellknown-5mp13bbv.js → file-retention-kp34pf0p.js} +9 -9
  190. package/dist/chunks/{wellknown-vach4kr4.js → file-retention-m12j2t06.js} +14 -14
  191. package/dist/chunks/{wellknown-nscznvay.js → file-retention-m2d0j7c0.js} +9 -9
  192. package/dist/chunks/{wellknown-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
  193. package/dist/chunks/{wellknown-m58kmhef.js → file-retention-m58kmhef.js} +2 -2
  194. package/dist/chunks/{wellknown-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{wellknown-mjymc32g.js → file-retention-magykp64.js} +4 -4
  196. package/dist/chunks/{wellknown-dh75pk8w.js → file-retention-mm5kxf07.js} +8 -8
  197. package/dist/chunks/{wellknown-kg8gd9a1.js → file-retention-mt193r2g.js} +29 -29
  198. package/dist/chunks/{wellknown-kccjvgj9.js → file-retention-n3sb98w8.js} +25 -25
  199. package/dist/chunks/file-retention-n4ksp8v5.js +26 -0
  200. package/dist/chunks/{wellknown-dgeqw13h.js → file-retention-n7hfvk42.js} +1 -1
  201. package/dist/chunks/{wellknown-sf76q7np.js → file-retention-na8089pj.js} +8 -8
  202. package/dist/chunks/{wellknown-hs334ye3.js → file-retention-ndc9tmhz.js} +28 -28
  203. package/dist/chunks/{wellknown-a3r4dcrj.js → file-retention-nng2ktcm.js} +2 -2
  204. package/dist/chunks/{wellknown-1jgmt200.js → file-retention-nvymb3gw.js} +20 -20
  205. package/dist/chunks/{wellknown-dpkg50ah.js → file-retention-nxm207yx.js} +4 -4
  206. package/dist/chunks/{wellknown-0q1f136w.js → file-retention-nxy4r4q2.js} +46 -46
  207. package/dist/chunks/{wellknown-w4arg62q.js → file-retention-p0b4ytnr.js} +6 -6
  208. package/dist/chunks/{wellknown-hsed1dh0.js → file-retention-p4h43hm5.js} +9 -9
  209. package/dist/chunks/{wellknown-h4jx48xg.js → file-retention-p8g5gece.js} +10 -10
  210. package/dist/chunks/{wellknown-tdhe5xga.js → file-retention-pb1eahw5.js} +8 -8
  211. package/dist/chunks/{wellknown-v0kzg6mz.js → file-retention-pfvbrrxt.js} +13 -13
  212. package/dist/chunks/{wellknown-k1s1cxft.js → file-retention-pgk2xcsw.js} +58 -58
  213. package/dist/chunks/{wellknown-6h3wybc7.js → file-retention-phjaars8.js} +6 -6
  214. package/dist/chunks/{wellknown-br0tr5aq.js → file-retention-phstrbs2.js} +8 -8
  215. package/dist/chunks/{wellknown-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  216. package/dist/chunks/{wellknown-cq038mp1.js → file-retention-pkkyf0r9.js} +8 -8
  217. package/dist/chunks/{wellknown-pknna89w.js → file-retention-pknna89w.js} +1 -1
  218. package/dist/chunks/{wellknown-bv20hq7b.js → file-retention-psm6mvq2.js} +23 -23
  219. package/dist/chunks/{wellknown-g4fbrt4z.js → file-retention-ptg1zr2n.js} +5 -5
  220. package/dist/chunks/{wellknown-6kqa1629.js → file-retention-pvx6jnbt.js} +13 -13
  221. package/dist/chunks/file-retention-pwvtcxk6.js +252 -0
  222. package/dist/chunks/{wellknown-7q1q4j24.js → file-retention-pyhnah5r.js} +22 -22
  223. package/dist/chunks/{wellknown-z8qfc15h.js → file-retention-q4qpptcn.js} +23 -23
  224. package/dist/chunks/{wellknown-642recst.js → file-retention-qj12mzv5.js} +12 -12
  225. package/dist/chunks/{wellknown-eq23s0y6.js → file-retention-qn4ba14w.js} +5 -5
  226. package/dist/chunks/{wellknown-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  227. package/dist/chunks/{wellknown-rzs3gq0x.js → file-retention-qvb3nf84.js} +8 -8
  228. package/dist/chunks/{wellknown-r5x6zcsm.js → file-retention-r5x6zcsm.js} +1 -1
  229. package/dist/chunks/{wellknown-bfqjkbr4.js → file-retention-rd456c9t.js} +22 -22
  230. package/dist/chunks/{wellknown-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{wellknown-vys9s7rq.js → file-retention-rfkk6xr1.js} +18 -18
  232. package/dist/chunks/{wellknown-52my5p2r.js → file-retention-rjkh2wef.js} +3 -3
  233. package/dist/chunks/{wellknown-n5hqsxyz.js → file-retention-rjreqr61.js} +24 -24
  234. package/dist/chunks/{wellknown-67cr51g4.js → file-retention-rsper1ey.js} +23 -23
  235. package/dist/chunks/{wellknown-5747269g.js → file-retention-rsrs7t03.js} +4 -4
  236. package/dist/chunks/{wellknown-5bzm3rcx.js → file-retention-s16mhmbj.js} +4 -4
  237. package/dist/chunks/{wellknown-9t7a50xb.js → file-retention-s8d7rejh.js} +4 -4
  238. package/dist/chunks/{wellknown-q2vdjp2s.js → file-retention-t3kdfj5b.js} +9 -9
  239. package/dist/chunks/{wellknown-2bdw8h48.js → file-retention-t5nr2mq2.js} +13 -13
  240. package/dist/chunks/{wellknown-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{wellknown-t12g5egd.js → file-retention-tc5he9wg.js} +43 -43
  242. package/dist/chunks/{wellknown-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{wellknown-ax5feq3k.js → file-retention-tckasdr8.js} +18 -18
  244. package/dist/chunks/{wellknown-tdstcens.js → file-retention-tdstcens.js} +1 -1
  245. package/dist/chunks/{wellknown-t7cg42xb.js → file-retention-tjhbrvq4.js} +13 -13
  246. package/dist/chunks/{wellknown-zj9f3ba2.js → file-retention-tnnwyf4v.js} +13 -13
  247. package/dist/chunks/{wellknown-vc0vbezj.js → file-retention-tqqs58hf.js} +11 -11
  248. package/dist/chunks/{wellknown-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  249. package/dist/chunks/{wellknown-hvv902j1.js → file-retention-tzhaj3et.js} +16 -16
  250. package/dist/chunks/{wellknown-kcg2nfx1.js → file-retention-v1c9ckpm.js} +13 -13
  251. package/dist/chunks/{wellknown-6ebn15x8.js → file-retention-v2yybn63.js} +3 -3
  252. package/dist/chunks/{wellknown-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  253. package/dist/chunks/{wellknown-wt5vxt9k.js → file-retention-vyr41dye.js} +23 -23
  254. package/dist/chunks/{wellknown-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{wellknown-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{wellknown-bn97v1ss.js → file-retention-w1ym612x.js} +1 -1
  257. package/dist/chunks/{wellknown-c231s8ta.js → file-retention-w3bcvcpc.js} +10 -10
  258. package/dist/chunks/{wellknown-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{wellknown-psazpmmj.js → file-retention-wd3x2cqz.js} +2 -2
  260. package/dist/chunks/{wellknown-wd87259q.js → file-retention-wd87259q.js} +1 -1
  261. package/dist/chunks/{wellknown-4hzg1grx.js → file-retention-wgm89zzg.js} +6 -6
  262. package/dist/chunks/{wellknown-768rm808.js → file-retention-wvje6e6q.js} +18 -18
  263. package/dist/chunks/{wellknown-eqntm3rh.js → file-retention-wycphyd6.js} +29 -29
  264. package/dist/chunks/{wellknown-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{wellknown-npn1b5xx.js → file-retention-x2gkbbe6.js} +5 -5
  266. package/dist/chunks/{wellknown-sfe33gz0.js → file-retention-x2t18wqz.js} +8 -8
  267. package/dist/chunks/{wellknown-354df1dc.js → file-retention-x757zt7n.js} +24 -24
  268. package/dist/chunks/{wellknown-jbxd6gbx.js → file-retention-xf1sebn0.js} +11 -11
  269. package/dist/chunks/{wellknown-xfkkasph.js → file-retention-xfkkasph.js} +1 -1
  270. package/dist/chunks/{wellknown-f5xysmby.js → file-retention-xj3m6db3.js} +14 -14
  271. package/dist/chunks/{wellknown-dtq5dwqq.js → file-retention-y042j87z.js} +21 -21
  272. package/dist/chunks/{wellknown-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{wellknown-2x9aqbrw.js → file-retention-y3yyngt1.js} +12 -12
  274. package/dist/chunks/{wellknown-jpqeh2wc.js → file-retention-y5rf7nzv.js} +4 -4
  275. package/dist/chunks/{wellknown-a0gecma7.js → file-retention-ycgx5mwh.js} +14 -14
  276. package/dist/chunks/{wellknown-j02apccs.js → file-retention-yebp4zhw.js} +5 -5
  277. package/dist/chunks/{wellknown-2mqye2yj.js → file-retention-yktqjfap.js} +10 -10
  278. package/dist/chunks/{wellknown-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{wellknown-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
  280. package/dist/chunks/{wellknown-bjtzbw4r.js → file-retention-z07pqspn.js} +3 -3
  281. package/dist/chunks/{wellknown-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{wellknown-d7hrbx3g.js → file-retention-z1h4hzgz.js} +41 -41
  283. package/dist/chunks/{wellknown-h09p1vgn.js → file-retention-z5s5xvpn.js} +16 -16
  284. package/dist/chunks/{wellknown-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
  285. package/dist/chunks/{wellknown-21tvsb8b.js → file-retention-z8bdrrqs.js} +142 -142
  286. package/dist/chunks/{wellknown-kne8f3cn.js → file-retention-zav06jzw.js} +4 -4
  287. package/dist/chunks/{wellknown-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{wellknown-4s51ma40.js → file-retention-zj4ah9h6.js} +17 -17
  289. package/dist/chunks/{wellknown-h5k0xyz2.js → file-retention-znjk7567.js} +15 -15
  290. package/dist/chunks/{wellknown-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{wellknown-3n9eh797.js → file-retention-ztwp6n71.js} +5 -5
  292. package/dist/chunks/{wellknown-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +123 -123
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +120 -120
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +77 -77
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +100 -100
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +222 -222
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +74 -74
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +81 -81
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +85 -85
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +94 -94
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +105 -105
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +120 -120
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +120 -120
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +120 -120
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +2 -2
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +84 -84
  552. package/dist/plugin/verbosity.js +91 -91
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +224 -224
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +84 -84
  565. package/dist/provider.js +93 -93
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +91 -91
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +93 -93
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +1 -1
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +230 -230
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +2 -2
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +209 -209
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +151 -151
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +223 -223
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +215 -215
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +15 -15
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +118 -118
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +116 -116
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +107 -107
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +7 -7
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/wellknown-443fwh93.js +0 -252
  701. package/dist/chunks/wellknown-9sh4wc5j.js +0 -18
  702. package/dist/chunks/wellknown-c6jdrc5c.js +0 -26
  703. package/dist/chunks/wellknown-hm6dp6d2.js +0 -507
  704. /package/dist/chunks/{wellknown-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{wellknown-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{wellknown-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{wellknown-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{wellknown-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{wellknown-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{wellknown-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{wellknown-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{wellknown-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{wellknown-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{wellknown-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{wellknown-3asan66x.js → file-retention-3asan66x.js} +0 -0
  716. /package/dist/chunks/{wellknown-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{wellknown-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{wellknown-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{wellknown-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{wellknown-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{wellknown-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{wellknown-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{wellknown-53557ph1.js → file-retention-53557ph1.js} +0 -0
  724. /package/dist/chunks/{wellknown-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{wellknown-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{wellknown-6prwharc.js → file-retention-6prwharc.js} +0 -0
  727. /package/dist/chunks/{wellknown-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{wellknown-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{wellknown-822emrt2.js → file-retention-822emrt2.js} +0 -0
  730. /package/dist/chunks/{wellknown-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{wellknown-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{wellknown-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{wellknown-922hggd3.js → file-retention-922hggd3.js} +0 -0
  734. /package/dist/chunks/{wellknown-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{wellknown-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{wellknown-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{wellknown-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{wellknown-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{wellknown-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{wellknown-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{wellknown-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{wellknown-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{wellknown-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{wellknown-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{wellknown-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{wellknown-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{wellknown-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{wellknown-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{wellknown-df08tz66.js → file-retention-df08tz66.js} +0 -0
  750. /package/dist/chunks/{wellknown-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{wellknown-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{wellknown-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{wellknown-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{wellknown-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{wellknown-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{wellknown-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{wellknown-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{wellknown-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{wellknown-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{wellknown-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{wellknown-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{wellknown-g86h250q.js → file-retention-g86h250q.js} +0 -0
  763. /package/dist/chunks/{wellknown-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{wellknown-gftt206x.js → file-retention-gftt206x.js} +0 -0
  765. /package/dist/chunks/{wellknown-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{wellknown-hk9envan.js → file-retention-hk9envan.js} +0 -0
  767. /package/dist/chunks/{wellknown-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{wellknown-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{wellknown-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{wellknown-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{wellknown-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{wellknown-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{wellknown-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{wellknown-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{wellknown-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{wellknown-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{wellknown-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{wellknown-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{wellknown-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{wellknown-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{wellknown-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{wellknown-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{wellknown-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{wellknown-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{wellknown-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{wellknown-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{wellknown-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{wellknown-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{wellknown-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{wellknown-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{wellknown-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{wellknown-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{wellknown-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{wellknown-x61499pn.js → file-retention-x61499pn.js} +0 -0
  795. /package/dist/chunks/{wellknown-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{wellknown-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{wellknown-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{wellknown-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{wellknown-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{wellknown-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,68 +1,68 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./wellknown-hbgyr91g.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./wellknown-h09p1vgn.js";
4
+ } from "./file-retention-hv3sa1e0.js";
5
+ import {
6
+ Service82,
7
+ node86
8
+ } from "./file-retention-z5s5xvpn.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./wellknown-5t3nmthw.js";
11
+ } from "./file-retention-5t3nmthw.js";
12
12
  import {
13
13
  create3
14
- } from "./wellknown-rdw6cm16.js";
14
+ } from "./file-retention-rdw6cm16.js";
15
15
  import {
16
16
  estimate2
17
- } from "./wellknown-h6vf3j39.js";
17
+ } from "./file-retention-h6vf3j39.js";
18
18
  import {
19
19
  SessionEvent2
20
- } from "./wellknown-ec1grn59.js";
20
+ } from "./file-retention-ec1grn59.js";
21
21
  import {
22
22
  provenance2,
23
23
  compatible2,
24
24
  isCheckpoint2,
25
25
  encode2
26
- } from "./wellknown-4j4tgtq5.js";
26
+ } from "./file-retention-4j4tgtq5.js";
27
27
  import {
28
28
  load5
29
- } from "./wellknown-kfr3jwev.js";
29
+ } from "./file-retention-gqbx8pvk.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./wellknown-hd8vw2pw.js";
32
+ } from "./file-retention-hd8vw2pw.js";
33
33
  import {
34
34
  baseTranscript2,
35
35
  unsupportedParts2,
36
36
  boundImages2,
37
- Service28,
38
- node32
39
- } from "./wellknown-qn6tktv7.js";
37
+ Service30,
38
+ node33
39
+ } from "./file-retention-5178wfd8.js";
40
40
  import {
41
41
  isRetryable2,
42
42
  policy2
43
- } from "./wellknown-h6b02349.js";
43
+ } from "./file-retention-h6b02349.js";
44
44
  import {
45
45
  toSessionError2
46
- } from "./wellknown-3n9eh797.js";
46
+ } from "./file-retention-ztwp6n71.js";
47
47
  import {
48
48
  calculateCost2,
49
49
  record2,
50
50
  add2
51
- } from "./wellknown-tdstcens.js";
51
+ } from "./file-retention-tdstcens.js";
52
52
  import {
53
53
  __export
54
- } from "./wellknown-9rqn6x4v.js";
54
+ } from "./file-retention-9rqn6x4v.js";
55
55
 
56
56
  // src/session/compaction.ts
57
57
  var exports_compaction2 = {};
58
58
  __export(exports_compaction2, {
59
- Service: () => Service8,
59
+ Service: () => Service10,
60
60
  SessionCompaction: () => exports_compaction2,
61
61
  buildPrompt: () => buildPrompt2,
62
62
  estimateContext: () => estimateContext2,
63
63
  estimatePrompt: () => estimatePrompt2,
64
- layer: () => layer7,
65
- node: () => node10,
64
+ layer: () => layer6,
65
+ node: () => node12,
66
66
  recentUserMessages: () => recentUserMessages2
67
67
  });
68
68
  import {
@@ -78,7 +78,7 @@ import {
78
78
  } from "@opencode/ai";
79
79
  import { makeLocationNode } from "@opencode/util/effect/app-node";
80
80
  import { Context, Effect, Layer, Result, Stream } from "effect";
81
- class Service8 extends Context.Service()("@opencode/SessionCompaction") {
81
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
82
82
  }
83
83
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
84
84
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -157,11 +157,11 @@ var buildPrompt2 = (update, legacy = false) => {
157
157
  };
158
158
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
159
159
  var LEGACY_HEADING = "## Additional Context";
160
- var layer7 = Layer.effect(Service8, Effect.gen(function* () {
161
- const bus = yield* Service83;
160
+ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
161
+ const bus = yield* Service82;
162
162
  const llm = yield* LLMClient.Service;
163
- const db = (yield* Service84).db;
164
- const requests = yield* Service28;
163
+ const db = (yield* Service83).db;
164
+ const requests = yield* Service30;
165
165
  const state = create3({
166
166
  name: "session-compaction",
167
167
  initial: () => ({ auto: true, keep: 15000 }),
@@ -452,16 +452,16 @@ ${text}`;
452
452
  }, { metadata: outcome.metadata });
453
453
  return { status: "completed" };
454
454
  });
455
- return Service8.of({
455
+ return Service10.of({
456
456
  transform: state.transform,
457
457
  reload: state.reload,
458
458
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
459
459
  });
460
460
  }));
461
- var node10 = makeLocationNode({
462
- service: Service8,
463
- layer: layer7,
464
- deps: [node87, node88, llmClient2, node32]
461
+ var node12 = makeLocationNode({
462
+ service: Service10,
463
+ layer: layer6,
464
+ deps: [node86, node87, llmClient2, node33]
465
465
  });
466
466
  var previousCompaction = (messages) => {
467
467
  const [first] = messages;
@@ -666,4 +666,4 @@ var estimateMedia = (mime) => {
666
666
  return 0;
667
667
  };
668
668
 
669
- export { Service8, buildPrompt2, layer7, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
669
+ export { Service10, buildPrompt2, layer6, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./wellknown-ec1grn59.js";
3
+ } from "./file-retention-ec1grn59.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service46,
10
- node: () => node49
9
+ Service: () => Service50,
10
+ node: () => node52
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service46 extends Context.Service()("@opencode/Instance") {
16
+ class Service50 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node49 = LayerNode.unbound(Service46, Node.tags.values.global);
18
+ var node52 = LayerNode.unbound(Service50, Node.tags.values.global);
19
19
 
20
- export { Service46, node49, exports_service2 };
20
+ export { Service50, node52, exports_service2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./wellknown-4j4tgtq5.js";
4
+ } from "./file-retention-4j4tgtq5.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service38
3
- } from "./wellknown-ns267dy3.js";
2
+ Service53
3
+ } from "./file-retention-3t81ps34.js";
4
4
  import {
5
- Service8
6
- } from "./wellknown-p73e7djm.js";
5
+ Service10
6
+ } from "./file-retention-h67bwh8a.js";
7
7
  import {
8
8
  observe2
9
- } from "./wellknown-qsdy395h.js";
9
+ } from "./file-retention-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./wellknown-9rqn6x4v.js";
12
+ } from "./file-retention-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin19
18
+ Plugin: () => Plugin33
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin19 = define({
22
+ var Plugin33 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service38;
26
- const compaction = yield* Service8;
25
+ const config = yield* Service53;
26
+ const compaction = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin19 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin19, exports_compaction };
42
+ export { Plugin33, exports_compaction };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service67
3
- } from "./wellknown-0q1f136w.js";
2
+ Service63
3
+ } from "./file-retention-nxy4r4q2.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./wellknown-4vcrnpx2.js";
7
+ } from "./file-retention-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./wellknown-3v8g72cx.js";
10
+ } from "./file-retention-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input6,
19
+ Input: () => Input8,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin27,
22
+ Plugin: () => Plugin11,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description2,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name6
27
+ name: () => name8
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name6 = "webfetch";
33
+ var name8 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input6 = Schema.Struct({
41
+ var Input8 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input6 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input6.fields.format,
51
+ format: Input8.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin27 = {
95
+ var Plugin11 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service67;
99
+ const permission = yield* Service63;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name6,
101
+ name: name8,
102
102
  options: { codemode: false },
103
- description: description2,
104
- input: Input6,
103
+ description: description4,
104
+ input: Input8,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin27 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name6,
112
+ action: name8,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name6, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input6, Plugin27, extractTextFromHTML2, exports_webfetch };
170
+ export { name8, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input8, Plugin11, extractTextFromHTML2, exports_webfetch };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./wellknown-4hzg1grx.js";
3
+ } from "./file-retention-wgm89zzg.js";
4
4
  import {
5
5
  apply3
6
- } from "./wellknown-0hrf2yhq.js";
6
+ } from "./file-retention-j6c2djjz.js";
7
7
  import {
8
8
  __export
9
- } from "./wellknown-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
13
13
  __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options11,
16
- Service: () => Service84,
16
+ Service: () => Service83,
17
17
  configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
19
  layer: () => layer26,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node88
21
+ node: () => node87
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -32,9 +32,9 @@ var Options11 = Schema.Struct({
32
32
  path: Schema.optional(Schema.String)
33
33
  });
34
34
 
35
- class Service84 extends Context.Service()("@opencode/storage/Database") {
35
+ class Service83 extends Context.Service()("@opencode/storage/Database") {
36
36
  }
37
- var databaseLayer = (lock) => Layer.effect(Service84, Effect.gen(function* () {
37
+ var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
38
38
  const db = yield* makeDatabase;
39
39
  if (supportsTuningPragmas) {
40
40
  yield* db.run("PRAGMA journal_mode = WAL");
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
82
82
  }
83
83
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
84
84
  function configured13(options) {
85
- return makeGlobalNode({ service: Service84, layer: layer26(options), deps: [Global.node] });
85
+ return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
86
86
  }
87
87
  function configuredClient2(client) {
88
88
  return makeGlobalNode({
89
- service: Service84,
89
+ service: Service83,
90
90
  layer: layerFromClient2.pipe(Layer.provide(client)),
91
91
  deps: [Global.node]
92
92
  });
93
93
  }
94
- var node88 = configured13({ path: ":memory:" });
94
+ var node87 = configured13({ path: ":memory:" });
95
95
 
96
- export { Options11, Service84, layer26, layerFromClient2, configured13, configuredClient2, node88, exports_database };
96
+ export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
- Info19,
6
- ID7,
5
+ Info20,
6
+ ID6,
7
7
  Name2
8
- } from "./wellknown-jzmza1h1.js";
8
+ } from "./file-retention-gxjs0nkc.js";
9
9
  import {
10
- Service38
11
- } from "./wellknown-ns267dy3.js";
10
+ Service53
11
+ } from "./file-retention-3t81ps34.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill3 = {};
18
18
  __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin47,
21
+ Plugin: () => Plugin46,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill3
24
24
  });
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin47 = define({
428
+ var Plugin46 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info19.make({
434
- id: ID7.make("opencode"),
433
+ editor.add(Info20.make({
434
+ id: ID6.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info19.make({
441
- id: ID7.make("report"),
440
+ editor.add(Info20.make({
441
+ id: ID6.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service38;
469
+ const config = yield* Service53;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin47, exports_skill3 };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin46, exports_skill3 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  useragent2
3
- } from "./wellknown-bqar0n6y.js";
3
+ } from "./file-retention-382s30hz.js";
4
4
  import {
5
- Service83
6
- } from "./wellknown-h09p1vgn.js";
5
+ Service82
6
+ } from "./file-retention-z5s5xvpn.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./wellknown-henaaq5n.js";
10
+ } from "./file-retention-cw1stz9h.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./wellknown-wj3fzgk4.js";
14
+ } from "./file-retention-9cvt8pvp.js";
15
15
  import {
16
16
  ID13
17
- } from "./wellknown-dbf65cva.js";
17
+ } from "./file-retention-3aw7vgta.js";
18
18
  import {
19
19
  ID12,
20
20
  Family2
21
- } from "./wellknown-dtq5dwqq.js";
21
+ } from "./file-retention-y042j87z.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./wellknown-pjvnvgmy.js";
24
+ } from "./file-retention-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service83;
119
+ const bus = yield* Service82;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service83
3
- } from "./wellknown-h09p1vgn.js";
2
+ Service82
3
+ } from "./file-retention-z5s5xvpn.js";
4
4
  import {
5
- Service49
6
- } from "./wellknown-vsxynn42.js";
5
+ Service37
6
+ } from "./file-retention-53ms7kcc.js";
7
7
  import {
8
- Error5
9
- } from "./wellknown-260gyq39.js";
8
+ Error3
9
+ } from "./file-retention-8wshxwa8.js";
10
10
  import {
11
- Service53
12
- } from "./wellknown-k3zp8qmd.js";
11
+ Service42
12
+ } from "./file-retention-7q81yew2.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./wellknown-vjjxy6yb.js";
15
+ } from "./file-retention-32ymn5e1.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./wellknown-ec1grn59.js";
18
+ } from "./file-retention-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./wellknown-3n9eh797.js";
21
+ } from "./file-retention-ztwp6n71.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./wellknown-tdstcens.js";
24
+ } from "./file-retention-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./wellknown-m58kmhef.js";
27
+ } from "./file-retention-m58kmhef.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./wellknown-h6b02349.js";
30
+ } from "./file-retention-h6b02349.js";
31
31
  import {
32
32
  __export
33
- } from "./wellknown-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
54
  var make3 = Effect.gen(function* () {
55
- const bus = yield* Service83;
55
+ const bus = yield* Service82;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service49;
58
- const toolOutput = yield* Service53;
57
+ const snapshots = yield* Service37;
58
+ const toolOutput = yield* Service42;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error5({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,