@opencode/core 0.0.0-dev-20679 → 0.0.0-dev-20681

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 (780) 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 +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{wellknown-3w57jhwt.js → file-retention-03xyy9gs.js} +8 -8
  8. package/dist/chunks/file-retention-08vhykfc.js +253 -0
  9. package/dist/chunks/{wellknown-3542zzsp.js → file-retention-094k6nq6.js} +16 -16
  10. package/dist/chunks/{wellknown-fegm0bq6.js → file-retention-09fyqd88.js} +22 -22
  11. package/dist/chunks/{wellknown-mqsap6m9.js → file-retention-09hj56x9.js} +35 -35
  12. package/dist/chunks/{wellknown-q5ze5amg.js → file-retention-0aneshm7.js} +17 -17
  13. package/dist/chunks/{wellknown-qpw1s7bc.js → file-retention-0f5x9ggt.js} +4 -4
  14. package/dist/chunks/{wellknown-5b9ryv59.js → file-retention-0mb4avxv.js} +5 -5
  15. package/dist/chunks/{wellknown-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{wellknown-yadpvqa6.js → file-retention-0pgs73yf.js} +44 -44
  17. package/dist/chunks/{wellknown-0emb60td.js → file-retention-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{wellknown-75r8nd2c.js → file-retention-17sdckqj.js} +34 -34
  19. package/dist/chunks/{wellknown-pa8pe2x7.js → file-retention-1ajx6rf5.js} +8 -8
  20. package/dist/chunks/{wellknown-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{wellknown-84h8c373.js → file-retention-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{wellknown-vaawya2s.js → file-retention-1f0b6d85.js} +19 -19
  23. package/dist/chunks/{wellknown-3hw9jnfj.js → file-retention-1ffbm2jk.js} +9 -9
  24. package/dist/chunks/{wellknown-90kht7m5.js → file-retention-1m3hxyx8.js} +46 -46
  25. package/dist/chunks/{wellknown-bsprd9wx.js → file-retention-1n632r5x.js} +6 -6
  26. package/dist/chunks/{wellknown-h6bm7n8h.js → file-retention-205pr9zd.js} +48 -48
  27. package/dist/chunks/{wellknown-6cg192sj.js → file-retention-23kkzav6.js} +15 -15
  28. package/dist/chunks/{wellknown-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{wellknown-z3z4rvt0.js → file-retention-2c25w9p0.js} +4 -4
  30. package/dist/chunks/{wellknown-ygjkz2v0.js → file-retention-2e6ycnq2.js} +4 -4
  31. package/dist/chunks/{wellknown-bq56amyz.js → file-retention-2ma8f05f.js} +24 -24
  32. package/dist/chunks/{wellknown-7t8bdkt7.js → file-retention-2pbjjxkv.js} +13 -13
  33. package/dist/chunks/{wellknown-54f0hksz.js → file-retention-2x9pw9ke.js} +10 -10
  34. package/dist/chunks/{wellknown-19c4es28.js → file-retention-2ymj8j9z.js} +5 -5
  35. package/dist/chunks/{wellknown-at1kfnmk.js → file-retention-30846h32.js} +8 -8
  36. package/dist/chunks/{wellknown-8gnwkc1b.js → file-retention-33kqnb84.js} +15 -15
  37. package/dist/chunks/{wellknown-56gdpj1q.js → file-retention-33w4ejhs.js} +6 -6
  38. package/dist/chunks/{wellknown-k8zgzs4j.js → file-retention-34x5nqhx.js} +7 -7
  39. package/dist/chunks/{wellknown-ytws7ykb.js → file-retention-37p191wt.js} +2 -2
  40. package/dist/chunks/{wellknown-0ryd0fps.js → file-retention-3bc8czyk.js} +5 -5
  41. package/dist/chunks/{wellknown-mhs8r3m2.js → file-retention-3cw3w3a5.js} +30 -30
  42. package/dist/chunks/{wellknown-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{wellknown-he27pt63.js → file-retention-3g8j9he4.js} +1 -1
  44. package/dist/chunks/{wellknown-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{wellknown-2wbvtg9h.js → file-retention-3qhw393j.js} +22 -22
  46. package/dist/chunks/{wellknown-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{wellknown-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{wellknown-4e4hq87t.js → file-retention-3yef2cta.js} +8 -8
  49. package/dist/chunks/{wellknown-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{wellknown-7f4g3nej.js → file-retention-473qxj02.js} +17 -17
  51. package/dist/chunks/{wellknown-xenw0zak.js → file-retention-4ffr5ypj.js} +24 -24
  52. package/dist/chunks/file-retention-4hv31q0j.js +507 -0
  53. package/dist/chunks/{wellknown-9vxetrwd.js → file-retention-4j03jpg8.js} +3 -3
  54. package/dist/chunks/{wellknown-cp4a2zr9.js → file-retention-4jvpaqy4.js} +29 -29
  55. package/dist/chunks/{wellknown-4ts7tf6z.js → file-retention-4ts7tf6z.js} +2 -2
  56. package/dist/chunks/{wellknown-dgnn94pr.js → file-retention-4y79czg2.js} +16 -16
  57. package/dist/chunks/{wellknown-68hsqk7p.js → file-retention-50fv3yjs.js} +20 -20
  58. package/dist/chunks/{wellknown-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
  59. package/dist/chunks/{wellknown-cxbh1760.js → file-retention-57myy5jh.js} +5 -5
  60. package/dist/chunks/{wellknown-m1hk3x7f.js → file-retention-5bvv5wt0.js} +17 -17
  61. package/dist/chunks/{wellknown-805mqyzz.js → file-retention-5cyysqwj.js} +20 -20
  62. package/dist/chunks/{wellknown-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  63. package/dist/chunks/{wellknown-0pdahkpz.js → file-retention-5dxg2j8v.js} +9 -9
  64. package/dist/chunks/{wellknown-qm7jrdpz.js → file-retention-5kw0n2ma.js} +8 -8
  65. package/dist/chunks/{wellknown-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  66. package/dist/chunks/{wellknown-7rpkbad3.js → file-retention-5ryzkr0h.js} +27 -27
  67. package/dist/chunks/{wellknown-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{wellknown-z81wjjn1.js → file-retention-5xrkpdm9.js} +27 -27
  69. package/dist/chunks/{wellknown-mb41hxq8.js → file-retention-64cxtqk4.js} +35 -35
  70. package/dist/chunks/{wellknown-5cg44s47.js → file-retention-64dv7wa4.js} +13 -13
  71. package/dist/chunks/{wellknown-k617rwhp.js → file-retention-64yxt7jn.js} +18 -18
  72. package/dist/chunks/{wellknown-x5qes1kq.js → file-retention-6cj95z3h.js} +31 -31
  73. package/dist/chunks/{wellknown-a4jk14wf.js → file-retention-6dnjeqe6.js} +44 -44
  74. package/dist/chunks/{wellknown-hd32csf9.js → file-retention-6j7shb91.js} +3 -3
  75. package/dist/chunks/{wellknown-0ktxm01m.js → file-retention-6ny0zgt8.js} +17 -17
  76. package/dist/chunks/{wellknown-w0rrsdn6.js → file-retention-6r09hpxq.js} +30 -30
  77. package/dist/chunks/{wellknown-6xb47vfp.js → file-retention-6xb47vfp.js} +1 -1
  78. package/dist/chunks/{wellknown-epwn5jzh.js → file-retention-70he5k1a.js} +20 -20
  79. package/dist/chunks/{wellknown-f75zav2x.js → file-retention-71az546q.js} +2 -2
  80. package/dist/chunks/{wellknown-6eegp3c0.js → file-retention-750g53k3.js} +34 -34
  81. package/dist/chunks/{wellknown-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{wellknown-az3rkwbe.js → file-retention-7c5mdn1c.js} +9 -9
  83. package/dist/chunks/{wellknown-ftcs2r5x.js → file-retention-7jc2cdj1.js} +8 -8
  84. package/dist/chunks/{wellknown-7d6br3mg.js → file-retention-7qnnmmsd.js} +3 -3
  85. package/dist/chunks/{wellknown-vgvkqx5m.js → file-retention-820kspmq.js} +20 -20
  86. package/dist/chunks/{wellknown-tcezcvh9.js → file-retention-89znhe33.js} +4 -4
  87. package/dist/chunks/{wellknown-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{wellknown-5v630bnm.js → file-retention-8h3wwz5z.js} +8 -8
  89. package/dist/chunks/{wellknown-bpz9cye0.js → file-retention-8qyxgmca.js} +14 -14
  90. package/dist/chunks/{wellknown-dd40s8jk.js → file-retention-8rg5szvb.js} +4 -4
  91. package/dist/chunks/{wellknown-b4twkq7r.js → file-retention-8sze2n9a.js} +2 -2
  92. package/dist/chunks/{wellknown-zr67nb1x.js → file-retention-904an80t.js} +18 -18
  93. package/dist/chunks/{wellknown-346bpdxw.js → file-retention-938z0aze.js} +22 -22
  94. package/dist/chunks/{wellknown-a25h4jaw.js → file-retention-94bax37x.js} +43 -43
  95. package/dist/chunks/{wellknown-kb9j3d72.js → file-retention-9e5bzkjp.js} +3 -3
  96. package/dist/chunks/{wellknown-0hkwt15d.js → file-retention-9faykjcc.js} +173 -173
  97. package/dist/chunks/{wellknown-v26071zx.js → file-retention-9fyy27dk.js} +32 -32
  98. package/dist/chunks/{wellknown-tcvz6j51.js → file-retention-9jwk2z16.js} +24 -24
  99. package/dist/chunks/{wellknown-j4ydyyt8.js → file-retention-9qrc8kph.js} +5 -5
  100. package/dist/chunks/{wellknown-afrgtbd2.js → file-retention-9ye852qw.js} +10 -10
  101. package/dist/chunks/{wellknown-33czt5j7.js → file-retention-a1dq5efv.js} +7 -7
  102. package/dist/chunks/{wellknown-d8zex0s9.js → file-retention-a1ekkk6g.js} +11 -11
  103. package/dist/chunks/{wellknown-mmzszc8z.js → file-retention-a2x2qtap.js} +32 -32
  104. package/dist/chunks/{wellknown-y4wym877.js → file-retention-a8skskqr.js} +30 -30
  105. package/dist/chunks/{wellknown-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  106. package/dist/chunks/{wellknown-f5abhewx.js → file-retention-acw72k0x.js} +9 -9
  107. package/dist/chunks/{wellknown-jvjttr1n.js → file-retention-ae3ekk0y.js} +21 -21
  108. package/dist/chunks/{wellknown-vx3jgdek.js → file-retention-arz7hw7x.js} +2 -2
  109. package/dist/chunks/{wellknown-mha52fg8.js → file-retention-b3f8fkhc.js} +5 -5
  110. package/dist/chunks/{wellknown-43kvem2p.js → file-retention-b674v2dg.js} +5 -5
  111. package/dist/chunks/{wellknown-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{wellknown-b8j60jjz.js → file-retention-b929sp55.js} +8 -8
  113. package/dist/chunks/{wellknown-1jj26f9v.js → file-retention-bcb25nnb.js} +19 -19
  114. package/dist/chunks/{wellknown-bzrjq2vy.js → file-retention-bcfhhyy3.js} +11 -11
  115. package/dist/chunks/{wellknown-axhkhwr8.js → file-retention-be4ddzaj.js} +23 -23
  116. package/dist/chunks/{wellknown-80taqy91.js → file-retention-bfzhmb2g.js} +20 -20
  117. package/dist/chunks/{wellknown-6tn7jbdw.js → file-retention-cd4hwype.js} +40 -40
  118. package/dist/chunks/{wellknown-2hteb5fn.js → file-retention-cpqeyayh.js} +6 -6
  119. package/dist/chunks/{wellknown-eeavwd92.js → file-retention-crgh4fce.js} +6 -6
  120. package/dist/chunks/{wellknown-9s1fef2z.js → file-retention-cstv7mkv.js} +12 -12
  121. package/dist/chunks/{wellknown-qmqgtz8f.js → file-retention-cwa6csj7.js} +9 -9
  122. package/dist/chunks/{wellknown-4m6x6rtf.js → file-retention-d1wgwwpz.js} +31 -31
  123. package/dist/chunks/{wellknown-8jvfz5h0.js → file-retention-d3r92nc5.js} +16 -16
  124. package/dist/chunks/{wellknown-qa7075pb.js → file-retention-d9wzmzc3.js} +5 -5
  125. package/dist/chunks/{wellknown-s2qetmaw.js → file-retention-dagpcw60.js} +11 -11
  126. package/dist/chunks/{wellknown-dp7t54vv.js → file-retention-dhxjrn4z.js} +9 -9
  127. package/dist/chunks/{wellknown-hwady861.js → file-retention-dktpvhqt.js} +34 -34
  128. package/dist/chunks/{wellknown-nxm207yx.js → file-retention-dpkg50ah.js} +4 -4
  129. package/dist/chunks/{wellknown-a1g6a9yj.js → file-retention-dpw5yek7.js} +5 -5
  130. package/dist/chunks/{wellknown-mdb6f0mb.js → file-retention-dzbjpkzp.js} +6 -6
  131. package/dist/chunks/{wellknown-tdcgy60y.js → file-retention-dzyv9zyr.js} +11 -11
  132. package/dist/chunks/{wellknown-3n8d9z3h.js → file-retention-edexehs9.js} +22 -22
  133. package/dist/chunks/{wellknown-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{wellknown-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{wellknown-berpeycn.js → file-retention-ey888tbp.js} +15 -15
  136. package/dist/chunks/{wellknown-mtshsn2z.js → file-retention-ey8ksrh3.js} +33 -33
  137. package/dist/chunks/{wellknown-f5gy8qwh.js → file-retention-f5gy8qwh.js} +1 -1
  138. package/dist/chunks/{wellknown-n8gsyc7n.js → file-retention-f76zd4y3.js} +21 -21
  139. package/dist/chunks/{wellknown-k0fb5tp9.js → file-retention-f9nevmwk.js} +11 -11
  140. package/dist/chunks/{wellknown-8s6j0xgj.js → file-retention-fa14k2vq.js} +6 -6
  141. package/dist/chunks/{wellknown-bxx1pwwx.js → file-retention-fa9q739j.js} +16 -16
  142. package/dist/chunks/{wellknown-fs92dzhy.js → file-retention-fda9q8n1.js} +27 -27
  143. package/dist/chunks/{wellknown-h2d4d765.js → file-retention-fqy13z6k.js} +7 -7
  144. package/dist/chunks/{wellknown-9mt24hjb.js → file-retention-g0wmaxy9.js} +25 -25
  145. package/dist/chunks/{wellknown-mqafpt2f.js → file-retention-g2arkee0.js} +1 -1
  146. package/dist/chunks/{wellknown-3agt91nk.js → file-retention-g7bg1e3j.js} +4 -4
  147. package/dist/chunks/{wellknown-4tbrzcn8.js → file-retention-g8pw0xsb.js} +15 -15
  148. package/dist/chunks/{wellknown-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{wellknown-3phfz8pg.js → file-retention-gdgxkkph.js} +14 -14
  150. package/dist/chunks/{wellknown-7qwq6qbk.js → file-retention-gejtnehc.js} +39 -39
  151. package/dist/chunks/{wellknown-wmz9gz0a.js → file-retention-gh5z95q3.js} +2 -2
  152. package/dist/chunks/{wellknown-nx82gf31.js → file-retention-gpdrbh7c.js} +29 -29
  153. package/dist/chunks/{wellknown-w560apy3.js → file-retention-gpk0vexy.js} +17 -17
  154. package/dist/chunks/{wellknown-z25529q4.js → file-retention-gq1kxapj.js} +19 -19
  155. package/dist/chunks/{wellknown-3cegwx68.js → file-retention-h2b79v29.js} +2 -2
  156. package/dist/chunks/{wellknown-rbe4wvb2.js → file-retention-h41w6thw.js} +23 -23
  157. package/dist/chunks/{wellknown-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{wellknown-1d3hf4vh.js → file-retention-hdgxcmab.js} +20 -20
  159. package/dist/chunks/{wellknown-jkg43hkq.js → file-retention-he1kwnjy.js} +15 -15
  160. package/dist/chunks/{wellknown-y54hr7f3.js → file-retention-hes1j7ga.js} +9 -9
  161. package/dist/chunks/{wellknown-bsgbbmse.js → file-retention-hh66qvd1.js} +37 -37
  162. package/dist/chunks/{wellknown-4bsw698e.js → file-retention-hm31tfx1.js} +1 -1
  163. package/dist/chunks/{wellknown-ch7w39rj.js → file-retention-hwgkyev7.js} +10 -10
  164. package/dist/chunks/{wellknown-dn58h0gr.js → file-retention-hwm35mvz.js} +5 -5
  165. package/dist/chunks/{wellknown-nzym5ntr.js → file-retention-j1akhw48.js} +57 -57
  166. package/dist/chunks/{wellknown-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  167. package/dist/chunks/{wellknown-wwswy3cn.js → file-retention-j57qcdj3.js} +22 -22
  168. package/dist/chunks/{wellknown-kgkz97qg.js → file-retention-j7ektg2c.js} +50 -50
  169. package/dist/chunks/{wellknown-jz979h27.js → file-retention-jahc66mj.js} +10 -10
  170. package/dist/chunks/{wellknown-tsbm8v4g.js → file-retention-jbtmhr82.js} +11 -11
  171. package/dist/chunks/{wellknown-kqrgzfyx.js → file-retention-jrpn6x2x.js} +18 -18
  172. package/dist/chunks/{wellknown-rwm5vee1.js → file-retention-jvf3yq6v.js} +4 -4
  173. package/dist/chunks/{wellknown-exzm0cze.js → file-retention-jvm6vmtm.js} +8 -8
  174. package/dist/chunks/{wellknown-xmd7q6j6.js → file-retention-k0v1pxzb.js} +21 -21
  175. package/dist/chunks/{wellknown-yar9by0p.js → file-retention-kd48n5vs.js} +9 -9
  176. package/dist/chunks/{wellknown-wa905199.js → file-retention-kjwsf0xt.js} +7 -7
  177. package/dist/chunks/{wellknown-v08ftd5w.js → file-retention-kpnjtwkv.js} +43 -43
  178. package/dist/chunks/{wellknown-rrjjf3fc.js → file-retention-kqx66hb9.js} +29 -29
  179. package/dist/chunks/{wellknown-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{wellknown-8s2p4g23.js → file-retention-m7g7tjth.js} +24 -24
  181. package/dist/chunks/{wellknown-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{wellknown-exs3g62t.js → file-retention-mbf8d5kt.js} +10 -10
  183. package/dist/chunks/{wellknown-v9rk9z7g.js → file-retention-mbt5cw93.js} +13 -13
  184. package/dist/chunks/{wellknown-w6f70jx8.js → file-retention-mdyte87w.js} +4 -4
  185. package/dist/chunks/{wellknown-r5x6zcsm.js → file-retention-mhkvc446.js} +3 -3
  186. package/dist/chunks/{wellknown-kvvk39gs.js → file-retention-mjymc32g.js} +4 -4
  187. package/dist/chunks/{wellknown-vz0xp14q.js → file-retention-mna3rst0.js} +11 -11
  188. package/dist/chunks/{wellknown-rmpjmpw1.js → file-retention-mv92nc0c.js} +33 -33
  189. package/dist/chunks/{wellknown-3b1e2t2f.js → file-retention-mxt3wcgd.js} +72 -72
  190. package/dist/chunks/{wellknown-addxnjmp.js → file-retention-mxvxcxwy.js} +4 -4
  191. package/dist/chunks/{wellknown-ve1xn75q.js → file-retention-myekv2e1.js} +20 -20
  192. package/dist/chunks/{wellknown-zsr4wwhv.js → file-retention-n1n192bv.js} +4 -4
  193. package/dist/chunks/{wellknown-qbqbaz6q.js → file-retention-n2srvep7.js} +4 -4
  194. package/dist/chunks/{wellknown-n9j73x72.js → file-retention-n37c4crj.js} +9 -9
  195. package/dist/chunks/{wellknown-27yha8rt.js → file-retention-n7m69k8w.js} +23 -23
  196. package/dist/chunks/{wellknown-fn6n174a.js → file-retention-na6tqg4t.js} +17 -17
  197. package/dist/chunks/{wellknown-73280wea.js → file-retention-njby6g43.js} +46 -46
  198. package/dist/chunks/{wellknown-3yjyv8ay.js → file-retention-nncbtphf.js} +26 -26
  199. package/dist/chunks/{wellknown-5pyjqqve.js → file-retention-nqxj0yn4.js} +2 -2
  200. package/dist/chunks/{wellknown-beyp434m.js → file-retention-nxb06eb5.js} +11 -11
  201. package/dist/chunks/{wellknown-tyk1x22e.js → file-retention-pasrzgnm.js} +11 -11
  202. package/dist/chunks/{wellknown-j8m1p4p1.js → file-retention-pgp1nwjn.js} +4 -4
  203. package/dist/chunks/{wellknown-qpsbqnqf.js → file-retention-phm79hns.js} +13 -13
  204. package/dist/chunks/{wellknown-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{wellknown-pknna89w.js → file-retention-pknna89w.js} +1 -1
  206. package/dist/chunks/{wellknown-fkc7as9m.js → file-retention-ptx056q3.js} +18 -18
  207. package/dist/chunks/{wellknown-9ev8g8qb.js → file-retention-pvr6cp49.js} +4 -4
  208. package/dist/chunks/{wellknown-48rr034y.js → file-retention-q01e5agj.js} +41 -41
  209. package/dist/chunks/{wellknown-q0xm7vwc.js → file-retention-q0xm7vwc.js} +2 -2
  210. package/dist/chunks/file-retention-q509s3k3.js +18 -0
  211. package/dist/chunks/{wellknown-68yf1gk3.js → file-retention-q65awyea.js} +93 -93
  212. package/dist/chunks/{wellknown-qgn6gcr1.js → file-retention-qgn6gcr1.js} +1 -1
  213. package/dist/chunks/{wellknown-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{wellknown-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  215. package/dist/chunks/file-retention-qssvdjk7.js +26 -0
  216. package/dist/chunks/{wellknown-r92xrcx3.js → file-retention-r6pqrcmr.js} +27 -27
  217. package/dist/chunks/{wellknown-q7s4wvq2.js → file-retention-r6qhg5cx.js} +18 -18
  218. package/dist/chunks/{wellknown-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{wellknown-thc15jq6.js → file-retention-rf6cmkn1.js} +11 -11
  220. package/dist/chunks/{wellknown-nkf980df.js → file-retention-rhraev7y.js} +4 -4
  221. package/dist/chunks/{wellknown-a166dkph.js → file-retention-rjk8fnxb.js} +32 -32
  222. package/dist/chunks/{wellknown-1f9d60n1.js → file-retention-rzwhqm3a.js} +3 -3
  223. package/dist/chunks/{wellknown-j27a4emc.js → file-retention-s609sw4r.js} +13 -13
  224. package/dist/chunks/{wellknown-p1nvj8z6.js → file-retention-s6d08xqn.js} +8 -8
  225. package/dist/chunks/{wellknown-9t7a50xb.js → file-retention-s8d7rejh.js} +4 -4
  226. package/dist/chunks/{wellknown-ph2e6s98.js → file-retention-sbc7xwzx.js} +39 -39
  227. package/dist/chunks/{wellknown-nvr70z5w.js → file-retention-srm8s2qm.js} +11 -11
  228. package/dist/chunks/{wellknown-kmr16be3.js → file-retention-srq67sk8.js} +5 -5
  229. package/dist/chunks/{wellknown-edrmdtr5.js → file-retention-sxz6gkc3.js} +4 -4
  230. package/dist/chunks/{wellknown-737vdrvj.js → file-retention-t83dx74p.js} +18 -18
  231. package/dist/chunks/{wellknown-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{wellknown-tdstcens.js → file-retention-tdstcens.js} +1 -1
  233. package/dist/chunks/{wellknown-xecxzrdp.js → file-retention-tg7bkhef.js} +7 -7
  234. package/dist/chunks/{wellknown-afjydgk3.js → file-retention-tx92n959.js} +4 -4
  235. package/dist/chunks/{wellknown-pd2x9kgq.js → file-retention-v71jy9y0.js} +11 -11
  236. package/dist/chunks/{wellknown-1yy47k8t.js → file-retention-vbpjx0bg.js} +5 -5
  237. package/dist/chunks/{wellknown-pkb6p7eb.js → file-retention-vczt2j2e.js} +11 -11
  238. package/dist/chunks/{wellknown-prmgem5b.js → file-retention-ve6nm2s5.js} +6 -6
  239. package/dist/chunks/{wellknown-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  240. package/dist/chunks/{wellknown-89r1t2kw.js → file-retention-vnn4j5gh.js} +9 -9
  241. package/dist/chunks/{wellknown-hptfyq97.js → file-retention-vr81r1wp.js} +8 -8
  242. package/dist/chunks/{wellknown-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{wellknown-73hsgnrh.js → file-retention-w14eggg5.js} +15 -15
  244. package/dist/chunks/{wellknown-84txncab.js → file-retention-w1eejvng.js} +5 -5
  245. package/dist/chunks/{wellknown-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{wellknown-4c2df9zx.js → file-retention-w49382pb.js} +8 -8
  247. package/dist/chunks/{wellknown-wd87259q.js → file-retention-wd87259q.js} +1 -1
  248. package/dist/chunks/{wellknown-nen0rqf3.js → file-retention-wknvrshc.js} +18 -18
  249. package/dist/chunks/{wellknown-5pbtm9hs.js → file-retention-wmns5nf0.js} +4 -4
  250. package/dist/chunks/{wellknown-173pmgcq.js → file-retention-wsb67xeh.js} +11 -11
  251. package/dist/chunks/{wellknown-cmmkncq8.js → file-retention-wtdswasp.js} +10 -10
  252. package/dist/chunks/{wellknown-r7f7xh9p.js → file-retention-wtqemd4y.js} +7 -7
  253. package/dist/chunks/{wellknown-04k5f7nv.js → file-retention-x03f1vzf.js} +91 -91
  254. package/dist/chunks/{wellknown-s7v01njr.js → file-retention-x0r517r6.js} +14 -14
  255. package/dist/chunks/{wellknown-xpxptrwk.js → file-retention-x9hm1kyg.js} +25 -25
  256. package/dist/chunks/{wellknown-r6jtefwf.js → file-retention-x9qn77dj.js} +35 -35
  257. package/dist/chunks/{wellknown-ant6vppx.js → file-retention-xdexf0f6.js} +13 -13
  258. package/dist/chunks/{wellknown-m29c2wsb.js → file-retention-xe9nhgdy.js} +30 -30
  259. package/dist/chunks/{wellknown-g5w8qwbj.js → file-retention-xfkkasph.js} +4 -4
  260. package/dist/chunks/{wellknown-xkntkrq7.js → file-retention-xkntkrq7.js} +2 -2
  261. package/dist/chunks/{wellknown-255cfpxb.js → file-retention-xnj07x5h.js} +17 -17
  262. package/dist/chunks/{wellknown-w5zzhgd0.js → file-retention-xsgjgyxe.js} +6 -6
  263. package/dist/chunks/{wellknown-qxjc9qry.js → file-retention-xyafkbt0.js} +3 -3
  264. package/dist/chunks/{wellknown-g5g6qkd8.js → file-retention-y072d9hw.js} +5 -5
  265. package/dist/chunks/{wellknown-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{wellknown-wdz7by7z.js → file-retention-y5chagx8.js} +26 -26
  267. package/dist/chunks/{wellknown-ehx3qmqc.js → file-retention-y5nh7e22.js} +11 -11
  268. package/dist/chunks/{wellknown-fvvpstn0.js → file-retention-yb1jef8c.js} +13 -13
  269. package/dist/chunks/{wellknown-9xg6qs42.js → file-retention-ybqw3e3v.js} +3 -3
  270. package/dist/chunks/{wellknown-7wy8fz1g.js → file-retention-ycw2jfrh.js} +27 -27
  271. package/dist/chunks/{wellknown-t0vq3sxw.js → file-retention-ygrct2xs.js} +26 -26
  272. package/dist/chunks/{wellknown-bhypc13x.js → file-retention-ytkq3k3g.js} +9 -9
  273. package/dist/chunks/{wellknown-drqgrxrt.js → file-retention-yvgnd6da.js} +5 -5
  274. package/dist/chunks/{wellknown-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{wellknown-zbvarpdb.js → file-retention-z9nc9d7h.js} +33 -33
  276. package/dist/chunks/{wellknown-40ekwggk.js → file-retention-zafm009k.js} +4 -4
  277. package/dist/chunks/{wellknown-srpm7hfx.js → file-retention-zcs7pzqw.js} +29 -29
  278. package/dist/chunks/{wellknown-27fb6cga.js → file-retention-zm4ck3vc.js} +17 -17
  279. package/dist/chunks/{wellknown-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{wellknown-ykgyn99t.js → file-retention-zwrdb9pw.js} +18 -18
  281. package/dist/chunks/{wellknown-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{wellknown-yx0rbatw.js → file-retention-zz29563v.js} +24 -24
  283. package/dist/chunks/{wellknown-ha0rea1c.js → file-retention-zzmbjfh5.js} +6 -6
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +70 -70
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +79 -79
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +106 -106
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +83 -83
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +1 -1
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +102 -102
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +76 -76
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +99 -99
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +118 -118
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +3 -3
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +75 -75
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +211 -211
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +2 -2
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +112 -112
  623. package/dist/snapshot.js +91 -91
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +105 -105
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +109 -109
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +16 -16
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +93 -93
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +84 -84
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +98 -98
  679. package/package.json +8 -8
  680. package/dist/chunks/wellknown-52qyp2rz.js +0 -507
  681. package/dist/chunks/wellknown-ctefx7dc.js +0 -18
  682. package/dist/chunks/wellknown-j2e8rp7d.js +0 -253
  683. package/dist/chunks/wellknown-n5wwkbj9.js +0 -26
  684. /package/dist/chunks/{wellknown-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{wellknown-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{wellknown-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{wellknown-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{wellknown-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{wellknown-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{wellknown-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{wellknown-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{wellknown-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{wellknown-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{wellknown-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{wellknown-3asan66x.js → file-retention-3asan66x.js} +0 -0
  696. /package/dist/chunks/{wellknown-3t0ybcrp.js → file-retention-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{wellknown-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{wellknown-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{wellknown-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{wellknown-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{wellknown-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{wellknown-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{wellknown-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{wellknown-53557ph1.js → file-retention-53557ph1.js} +0 -0
  705. /package/dist/chunks/{wellknown-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{wellknown-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{wellknown-6prwharc.js → file-retention-6prwharc.js} +0 -0
  708. /package/dist/chunks/{wellknown-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{wellknown-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{wellknown-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{wellknown-822emrt2.js → file-retention-822emrt2.js} +0 -0
  712. /package/dist/chunks/{wellknown-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{wellknown-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{wellknown-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{wellknown-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{wellknown-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{wellknown-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{wellknown-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{wellknown-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{wellknown-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{wellknown-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{wellknown-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{wellknown-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{wellknown-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{wellknown-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{wellknown-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{wellknown-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{wellknown-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{wellknown-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{wellknown-df08tz66.js → file-retention-df08tz66.js} +0 -0
  731. /package/dist/chunks/{wellknown-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{wellknown-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{wellknown-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{wellknown-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{wellknown-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{wellknown-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{wellknown-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{wellknown-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{wellknown-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{wellknown-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{wellknown-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{wellknown-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{wellknown-g86h250q.js → file-retention-g86h250q.js} +0 -0
  744. /package/dist/chunks/{wellknown-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{wellknown-gftt206x.js → file-retention-gftt206x.js} +0 -0
  746. /package/dist/chunks/{wellknown-hk9envan.js → file-retention-hk9envan.js} +0 -0
  747. /package/dist/chunks/{wellknown-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{wellknown-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{wellknown-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{wellknown-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{wellknown-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{wellknown-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{wellknown-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{wellknown-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{wellknown-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{wellknown-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{wellknown-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{wellknown-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{wellknown-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{wellknown-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{wellknown-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{wellknown-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{wellknown-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{wellknown-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{wellknown-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{wellknown-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{wellknown-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{wellknown-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{wellknown-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{wellknown-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{wellknown-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{wellknown-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{wellknown-x61499pn.js → file-retention-x61499pn.js} +0 -0
  774. /package/dist/chunks/{wellknown-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{wellknown-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{wellknown-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{wellknown-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{wellknown-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{wellknown-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{wellknown-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,82 +1,82 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./wellknown-pkb6p7eb.js";
2
+ Service84,
3
+ node88
4
+ } from "./file-retention-vczt2j2e.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./wellknown-ftcs2r5x.js";
8
+ } from "./file-retention-7jc2cdj1.js";
9
9
  import {
10
10
  create3
11
- } from "./wellknown-rdw6cm16.js";
11
+ } from "./file-retention-rdw6cm16.js";
12
12
  import {
13
13
  ID10,
14
- Service73,
15
- node77
16
- } from "./wellknown-jkg43hkq.js";
14
+ Service66,
15
+ node69
16
+ } from "./file-retention-he1kwnjy.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./wellknown-5t3nmthw.js";
19
+ } from "./file-retention-5t3nmthw.js";
20
20
  import {
21
- Service75,
22
- node79
23
- } from "./wellknown-a166dkph.js";
21
+ Service58,
22
+ node61
23
+ } from "./file-retention-rjk8fnxb.js";
24
24
  import {
25
25
  estimate2
26
- } from "./wellknown-h6vf3j39.js";
26
+ } from "./file-retention-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./wellknown-ec1grn59.js";
29
+ } from "./file-retention-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./wellknown-zsr4wwhv.js";
35
+ } from "./file-retention-n1n192bv.js";
36
36
  import {
37
37
  load5
38
- } from "./wellknown-hptfyq97.js";
38
+ } from "./file-retention-vr81r1wp.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./wellknown-he27pt63.js";
41
+ } from "./file-retention-3g8j9he4.js";
42
42
  import {
43
43
  baseTranscript2,
44
44
  unsupportedParts2,
45
45
  boundImages2,
46
- Service37,
47
- node41
48
- } from "./wellknown-4m6x6rtf.js";
46
+ Service30,
47
+ node33
48
+ } from "./file-retention-d1wgwwpz.js";
49
49
  import {
50
- Service63,
51
- node67
52
- } from "./wellknown-qpsbqnqf.js";
50
+ Service45,
51
+ node48
52
+ } from "./file-retention-phm79hns.js";
53
53
  import {
54
54
  isRetryable2,
55
55
  policy2
56
- } from "./wellknown-mha52fg8.js";
56
+ } from "./file-retention-b3f8fkhc.js";
57
57
  import {
58
58
  toSessionError2,
59
59
  contentFilterError2
60
- } from "./wellknown-5b9ryv59.js";
60
+ } from "./file-retention-0mb4avxv.js";
61
61
  import {
62
62
  calculateCost2,
63
63
  record2,
64
64
  add2
65
- } from "./wellknown-tdstcens.js";
65
+ } from "./file-retention-tdstcens.js";
66
66
  import {
67
67
  __export
68
- } from "./wellknown-9rqn6x4v.js";
68
+ } from "./file-retention-9rqn6x4v.js";
69
69
 
70
70
  // src/session/compaction.ts
71
71
  var exports_compaction2 = {};
72
72
  __export(exports_compaction2, {
73
- Service: () => Service12,
73
+ Service: () => Service11,
74
74
  SessionCompaction: () => exports_compaction2,
75
75
  buildPrompt: () => buildPrompt2,
76
76
  estimateContext: () => estimateContext2,
77
77
  estimatePrompt: () => estimatePrompt2,
78
78
  layer: () => layer7,
79
- node: () => node14,
79
+ node: () => node13,
80
80
  recentUserMessages: () => recentUserMessages2
81
81
  });
82
82
  import {
@@ -92,7 +92,7 @@ import {
92
92
  } from "@opencode/ai";
93
93
  import { makeLocationNode } from "@opencode/util/effect/app-node";
94
94
  import { Context, Effect, Layer, Result, Stream } from "effect";
95
- class Service12 extends Context.Service()("@opencode/SessionCompaction") {
95
+ class Service11 extends Context.Service()("@opencode/SessionCompaction") {
96
96
  }
97
97
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
98
98
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
171
171
  };
172
172
  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.";
173
173
  var LEGACY_HEADING = "## Additional Context";
174
- var layer7 = Layer.effect(Service12, Effect.gen(function* () {
175
- const agents = yield* Service73;
174
+ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
175
+ const agents = yield* Service66;
176
176
  const bus = yield* Service82;
177
177
  const llm = yield* LLMClient.Service;
178
- const catalog = yield* Service75;
179
- const models = yield* Service63;
180
- const db = (yield* Service83).db;
181
- const requests = yield* Service37;
178
+ const catalog = yield* Service58;
179
+ const models = yield* Service45;
180
+ const db = (yield* Service84).db;
181
+ const requests = yield* Service30;
182
182
  const state = create3({
183
183
  name: "session-compaction",
184
184
  initial: () => ({ auto: true, keep: 15000 }),
@@ -472,16 +472,16 @@ ${text}`;
472
472
  }, { metadata: outcome.metadata });
473
473
  return { status: "completed" };
474
474
  });
475
- return Service12.of({
475
+ return Service11.of({
476
476
  transform: state.transform,
477
477
  reload: state.reload,
478
478
  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))))
479
479
  });
480
480
  }));
481
- var node14 = makeLocationNode({
482
- service: Service12,
481
+ var node13 = makeLocationNode({
482
+ service: Service11,
483
483
  layer: layer7,
484
- deps: [node77, node86, node87, llmClient2, node79, node41, node67]
484
+ deps: [node69, node86, node88, llmClient2, node61, node33, node48]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
686
686
  return 0;
687
687
  };
688
688
 
689
- export { Service12, buildPrompt2, layer7, node14, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
689
+ export { Service11, buildPrompt2, layer7, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./wellknown-2axfhc9x.js";
3
+ } from "./file-retention-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error = {};
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./file-retention-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service25,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service25 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service25.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service25, awaitActivation2, exports_service };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  ID11,
3
- Info20,
3
+ Info19,
4
4
  SessionSchema2
5
- } from "./wellknown-vx3jgdek.js";
5
+ } from "./file-retention-arz7hw7x.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./wellknown-z5v4ffb3.js";
8
+ } from "./file-retention-z5v4ffb3.js";
9
9
  import {
10
- Service83,
11
- node87
12
- } from "./wellknown-pkb6p7eb.js";
10
+ Service84,
11
+ node88
12
+ } from "./file-retention-vczt2j2e.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service82,
16
16
  node86
17
- } from "./wellknown-ftcs2r5x.js";
17
+ } from "./file-retention-7jc2cdj1.js";
18
18
  import {
19
- Service81,
20
- node85
21
- } from "./wellknown-mtshsn2z.js";
19
+ Service79,
20
+ node83
21
+ } from "./file-retention-ey8ksrh3.js";
22
22
  import {
23
- Service64,
24
- node68
25
- } from "./wellknown-prmgem5b.js";
23
+ Service43,
24
+ node46
25
+ } from "./file-retention-ve6nm2s5.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./wellknown-ec1grn59.js";
28
+ } from "./file-retention-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./wellknown-kb9j3d72.js";
31
+ } from "./file-retention-9e5bzkjp.js";
32
32
  import {
33
- node66
34
- } from "./wellknown-7rpkbad3.js";
33
+ node47
34
+ } from "./file-retention-5ryzkr0h.js";
35
35
  import {
36
36
  current2
37
- } from "./wellknown-dd40s8jk.js";
37
+ } from "./file-retention-8rg5szvb.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./wellknown-k617rwhp.js";
40
+ } from "./file-retention-64yxt7jn.js";
41
41
  import {
42
42
  Slug2
43
- } from "./wellknown-gebd4c9n.js";
43
+ } from "./file-retention-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node35
47
- } from "./wellknown-1jj26f9v.js";
46
+ node26
47
+ } from "./file-retention-bcb25nnb.js";
48
48
  import {
49
49
  Metadata2,
50
- node63
51
- } from "./wellknown-d8zex0s9.js";
50
+ node40
51
+ } from "./file-retention-a1ekkk6g.js";
52
52
  import {
53
- NotFoundError9,
53
+ NotFoundError7,
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 "./wellknown-bsprd9wx.js";
65
- import {
66
- ListInput5,
67
- Service72,
68
- node76
69
- } from "./wellknown-m1hk3x7f.js";
64
+ } from "./file-retention-1n632r5x.js";
70
65
  import {
71
- Service66,
72
- node70
73
- } from "./wellknown-8jvfz5h0.js";
66
+ ListInput4,
67
+ Service65,
68
+ node68
69
+ } from "./file-retention-5bvv5wt0.js";
74
70
  import {
75
71
  Service60,
76
- node65
77
- } from "./wellknown-7qwq6qbk.js";
72
+ node63
73
+ } from "./file-retention-d3r92nc5.js";
74
+ import {
75
+ Service41,
76
+ node45
77
+ } from "./file-retention-gejtnehc.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./wellknown-5t3nmthw.js";
80
+ } from "./file-retention-5t3nmthw.js";
81
81
  import {
82
- Service38,
83
- node42
84
- } from "./wellknown-3hw9jnfj.js";
82
+ Service31,
83
+ node34
84
+ } from "./file-retention-1ffbm2jk.js";
85
85
  import {
86
86
  generate2
87
- } from "./wellknown-737vdrvj.js";
87
+ } from "./file-retention-t83dx74p.js";
88
88
  import {
89
89
  execute2
90
- } from "./wellknown-4e4hq87t.js";
90
+ } from "./file-retention-3yef2cta.js";
91
91
  import {
92
- Service69,
93
- node73
94
- } from "./wellknown-yar9by0p.js";
92
+ Service46,
93
+ node49
94
+ } from "./file-retention-kd48n5vs.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service31,
100
- node34
101
- } from "./wellknown-nzym5ntr.js";
99
+ Service20,
100
+ node23
101
+ } from "./file-retention-j1akhw48.js";
102
102
  import {
103
- Service46,
104
- node49
105
- } from "./wellknown-4c2df9zx.js";
103
+ Service53,
104
+ node56
105
+ } from "./file-retention-w49382pb.js";
106
106
  import {
107
- make14
108
- } from "./wellknown-mb41hxq8.js";
107
+ make13
108
+ } from "./file-retention-64cxtqk4.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./wellknown-tsbm8v4g.js";
112
+ } from "./file-retention-jbtmhr82.js";
113
113
  import {
114
114
  __export
115
- } from "./wellknown-9rqn6x4v.js";
115
+ } from "./file-retention-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -125,20 +125,20 @@ __export(exports_session, {
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
126
  ID: () => ID11,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info20,
128
+ Info: () => Info19,
129
129
  ListAnchor: () => ListAnchor2,
130
- ListInput: () => ListInput3,
130
+ ListInput: () => ListInput2,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError9,
133
+ NotFoundError: () => NotFoundError7,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service30,
135
+ Service: () => Service19,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node33
141
+ node: () => node22
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput3 = ListInput5;
152
- class Service30 extends Context.Service()("@opencode/Session") {
151
+ var ListInput2 = ListInput4;
152
+ class Service19 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service30, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
- const database = yield* Service83;
156
+ const database = yield* Service84;
157
157
  const db = database.db;
158
158
  const bus = yield* Service82;
159
- const projects = yield* Service81;
160
- const execution = yield* Service60;
159
+ const projects = yield* Service79;
160
+ const execution = yield* Service41;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service38;
163
- const store = yield* Service72;
164
- const instances = yield* Service64;
165
- const moves = yield* Service31;
166
- const jobs = yield* Service66;
167
- const environments = yield* Service46;
168
- const locations = yield* Service69;
169
- const sessions = yield* make14();
162
+ const transport = yield* Service31;
163
+ const store = yield* Service65;
164
+ const instances = yield* Service43;
165
+ const moves = yield* Service20;
166
+ const jobs = yield* Service60;
167
+ const environments = yield* Service53;
168
+ const locations = yield* Service46;
169
+ const sessions = yield* make13();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service30.of({
171
+ const result = Service19.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(Service30, 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 NotFoundError9({ sessionID: input.parentID });
179
+ return yield* new NotFoundError7({ 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(Service30, 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(Service64, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service84, 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(Service64, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service43, 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(Service30, Effect.gen(function* () {
327
327
  });
328
328
  return result;
329
329
  }));
330
- var node33 = Node.makeGlobalNode({
331
- service: Service30,
330
+ var node22 = Node.makeGlobalNode({
331
+ service: Service19,
332
332
  layer,
333
333
  deps: [
334
- node70,
335
- node49,
336
- node87,
334
+ node63,
335
+ node56,
336
+ node88,
337
337
  node86,
338
- node85,
339
- node65,
340
- node42,
338
+ node83,
339
+ node45,
340
+ node34,
341
341
  llmClient2,
342
- node76,
343
342
  node68,
344
- node66,
345
- node34,
346
- node35,
347
- node73,
343
+ node46,
344
+ node47,
345
+ node23,
346
+ node26,
347
+ node49,
348
348
  FSUtil.node,
349
- node63
349
+ node40
350
350
  ]
351
351
  });
352
352
 
353
- export { ListAnchor2, ListInput3, Service30, node33, exports_session };
353
+ export { ListAnchor2, ListInput2, Service19, node22, exports_session };
@@ -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/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -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/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin16
3
+ } from "./file-retention-5kw0n2ma.js";
4
+ import {
5
+ Plugin17
6
+ } from "./file-retention-5dxg2j8v.js";
7
+ import {
8
+ Plugin20
9
+ } from "./file-retention-ytkq3k3g.js";
10
+ import {
11
+ Plugin18
12
+ } from "./file-retention-8h3wwz5z.js";
13
+ import {
14
+ Plugin19
15
+ } from "./file-retention-acw72k0x.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin16,
20
+ Plugin17,
21
+ Plugin20,
22
+ Plugin18,
23
+ Plugin19
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };