@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,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./wellknown-qaymkmh1.js";
3
+ } from "./file-retention-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path 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/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service48
3
- } from "./wellknown-epwn5jzh.js";
2
+ Service56
3
+ } from "./file-retention-70he5k1a.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./wellknown-9t7a50xb.js";
6
+ } from "./file-retention-s8d7rejh.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./wellknown-z5v4ffb3.js";
9
+ } from "./file-retention-z5v4ffb3.js";
10
10
  import {
11
11
  File2,
12
- Service57
13
- } from "./wellknown-tcvz6j51.js";
12
+ Service32
13
+ } from "./file-retention-9jwk2z16.js";
14
14
  import {
15
- Service80
16
- } from "./wellknown-bxx1pwwx.js";
15
+ Service78
16
+ } from "./file-retention-fa9q739j.js";
17
17
  import {
18
18
  __export
19
- } from "./wellknown-9rqn6x4v.js";
19
+ } from "./file-retention-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin4
25
+ Plugin: () => Plugin33
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
30
30
  import { sameDirectory } from "@opencode/util/path";
31
31
  import { dirname, join } from "path";
32
32
  import { Effect, PubSub, Semaphore, Stream } from "effect";
33
- var Plugin4 = define({
33
+ var Plugin33 = define({
34
34
  id: "opencode.config.instruction",
35
35
  effect: Effect.fn(function* () {
36
- const discovery = yield* Service57;
36
+ const discovery = yield* Service32;
37
37
  if (!discovery.project && !discovery.global)
38
38
  return;
39
39
  yield* Effect.gen(function* () {
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
- const location = yield* Service80;
43
- const watcher = yield* Service48;
42
+ const location = yield* Service78;
43
+ const watcher = yield* Service56;
44
44
  const changes = yield* PubSub.sliding(1);
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  const start = yield* fs.resolve(location.directory);
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
115
115
  return [start, ...ancestorDirectories(dirname(start), stop)];
116
116
  }
117
117
 
118
- export { Plugin4, exports_instruction };
118
+ export { Plugin33, exports_instruction };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./wellknown-pkb6p7eb.js";
5
+ Service84,
6
+ node88
7
+ } from "./file-retention-vczt2j2e.js";
8
8
  import {
9
9
  Service82,
10
10
  node86
11
- } from "./wellknown-ftcs2r5x.js";
11
+ } from "./file-retention-7jc2cdj1.js";
12
12
  import {
13
- Service84,
14
- node88
15
- } from "./wellknown-9s1fef2z.js";
13
+ Service80,
14
+ node84
15
+ } from "./file-retention-cstv7mkv.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
- Info29,
19
+ Info28,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./wellknown-xecxzrdp.js";
23
+ } from "./file-retention-tg7bkhef.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./wellknown-3cegwx68.js";
27
+ } from "./file-retention-h2b79v29.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./wellknown-84h8c373.js";
30
+ } from "./file-retention-1dvck2a7.js";
31
31
  import {
32
32
  __export
33
- } from "./wellknown-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
39
  ID: () => ID17,
40
- Info: () => Info28,
41
- NotFoundError: () => NotFoundError11,
40
+ Info: () => Info27,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service81,
43
+ Service: () => Service79,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node85,
46
+ node: () => node83,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -58,10 +58,10 @@ import { Hash } from "@opencode/util/hash";
58
58
  var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info28 = Info29;
61
+ var Info27 = Info28;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
65
  projectID: ID17
66
66
  }) {
67
67
  }
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service81 extends Context.Service()("@opencode/Project") {
75
+ class Service79 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,12 +95,12 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service81, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service84;
100
+ const git = yield* Service80;
101
101
  const proc = yield* AppProcess.Service;
102
102
  const bus = yield* Service82;
103
- const db = (yield* Service83).db;
103
+ const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
106
106
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event21.Updated, fromRow(row));
111
+ yield* bus.publish(Event20.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
168
168
  time_updated: Date.now()
169
169
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
170
170
  if (!row)
171
- return yield* new NotFoundError11({ projectID: input.projectID });
171
+ return yield* new NotFoundError10({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event21.Updated, project);
173
+ yield* bus.publish(Event20.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,7 +181,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event21.Updated, fromRow(row));
184
+ yield* bus.publish(Event20.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
187
  return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service81.of({ list, update, activate, resolve });
285
+ return Service79.of({ list, update, activate, resolve });
286
286
  }));
287
- var node85 = makeGlobalNode({
288
- service: Service81,
287
+ var node83 = makeGlobalNode({
288
+ service: Service79,
289
289
  layer,
290
- deps: [node86, node87, FSUtil.node, node88, AppProcess.node]
290
+ deps: [node86, node88, FSUtil.node, node84, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
293
+ export { ID17, Vcs2, Current2, Info27, UpdateInput3, NotFoundError10, root2, Service79, node83, exports_project };
@@ -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/managed-policy.ts
6
6
  var exports_managed_policy = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./wellknown-ftcs2r5x.js";
4
+ } from "./file-retention-7jc2cdj1.js";
5
5
  import {
6
6
  create3
7
- } from "./wellknown-rdw6cm16.js";
7
+ } from "./file-retention-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command5 = {};
14
14
  __export(exports_command5, {
15
15
  Command: () => exports_command5,
16
- Event: () => Event12,
16
+ Event: () => Event21,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info15,
19
- NotFoundError: () => NotFoundError7,
20
- Service: () => Service58,
21
- layer: () => layer20,
22
- node: () => node62
18
+ Info: () => Info29,
19
+ NotFoundError: () => NotFoundError11,
20
+ Service: () => Service81,
21
+ layer: () => layer25,
22
+ node: () => node85
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event12 } from "@opencode/schema/command";
28
- var Info15 = Command.Info;
27
+ import { Event as Event21 } from "@opencode/schema/command";
28
+ var Info29 = Command.Info;
29
29
 
30
- class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service58 extends Context.Service()("@opencode/Command") {
42
+ class Service81 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer20 = Layer.effect(Service58, Effect.gen(function* () {
44
+ var layer25 = Layer.effect(Service81, Effect.gen(function* () {
45
45
  const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service58, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info15.make({
54
+ const info = (definition) => Info29.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service58.of({
58
+ return Service81.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer20 = Layer.effect(Service58, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node62 = makeLocationNode({
75
- service: Service58,
76
- layer: layer20,
74
+ var node85 = makeLocationNode({
75
+ service: Service81,
76
+ layer: layer25,
77
77
  deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info15, NotFoundError7, ExecutionError2, Service58, layer20, node62, exports_command5, Event12 };
89
+ export { Info29, NotFoundError11, ExecutionError2, Service81, layer25, node85, exports_command5, Event21 };
@@ -1,22 +1,22 @@
1
1
  import {
2
- ID13,
2
+ ID12,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./wellknown-y4wym877.js";
7
+ } from "./file-retention-a8skskqr.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service67,
17
+ Service: () => Service51,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node71
19
+ node: () => node54
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID13,
154
+ providerID: ID12,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service67 extends Context.Service()("@opencode/AISDK") {
162
+ class Service51 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service67, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service51, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service67, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service67.of({
202
+ const service = Service51.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node71 = makeLocationNode({ service: Service67, layer: locationLayer2, deps: [] });
877
+ var node54 = makeLocationNode({ service: Service51, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service67, locationLayer2, node71, exports_aisdk };
879
+ export { InitError2, Service51, locationLayer2, node54, exports_aisdk };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./wellknown-5daktx2q.js";
3
+ } from "./file-retention-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./wellknown-z5v4ffb3.js";
6
+ } from "./file-retention-z5v4ffb3.js";
7
7
  import {
8
- ID6,
8
+ ID5,
9
9
  Name2
10
- } from "./wellknown-8s2p4g23.js";
10
+ } from "./file-retention-m7g7tjth.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
62
62
  return {
63
63
  _tag: "Parsed",
64
64
  skill: {
65
- id: ID6.make(id),
65
+ id: ID5.make(id),
66
66
  name: Name2.make(frontmatter.name ?? id),
67
67
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
68
68
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./wellknown-mtshsn2z.js";
2
+ Service79,
3
+ node83
4
+ } from "./file-retention-ey8ksrh3.js";
5
5
  import {
6
6
  __export
7
- } from "./wellknown-9rqn6x4v.js";
7
+ } from "./file-retention-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info27,
12
+ Info: () => Info26,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service80,
15
+ Service: () => Service78,
16
16
  boundNode: () => boundNode2,
17
- node: () => node84,
17
+ node: () => node82,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service80 extends Context.Service()("@opencode/Location") {
24
+ class Service78 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node84 = LayerNode.unbound(Service80, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
- const project = yield* Service81;
26
+ var node82 = LayerNode.unbound(Service78, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
28
+ const project = yield* Service79;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service80.of({
30
+ return Service78.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service80,
38
+ service: Service78,
39
39
  layer: layer(ref),
40
- deps: [node85]
40
+ deps: [node83]
41
41
  });
42
42
 
43
- export { Info27, Ref4, response2, Service80, node84, boundNode2, exports_location };
43
+ export { Info26, Ref4, response2, Service78, node82, boundNode2, exports_location };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
- Service80
6
- } from "./wellknown-bxx1pwwx.js";
5
+ Service78
6
+ } from "./file-retention-fa9q739j.js";
7
7
  import {
8
- Service29
9
- } from "./wellknown-ykgyn99t.js";
8
+ Service13
9
+ } from "./file-retention-zwrdb9pw.js";
10
10
  import {
11
- Service11
12
- } from "./wellknown-z25529q4.js";
11
+ Service5
12
+ } from "./file-retention-gq1kxapj.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./wellknown-2a5m3afh.js";
15
+ } from "./file-retention-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service8
27
- } from "./wellknown-0ktxm01m.js";
26
+ Service6
27
+ } from "./file-retention-6ny0zgt8.js";
28
28
  import {
29
29
  __export
30
- } from "./wellknown-9rqn6x4v.js";
30
+ } from "./file-retention-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input10,
36
- Plugin: () => Plugin29,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin6,
37
37
  ReadTool: () => exports_read,
38
- name: () => name10,
39
- toModelContent: () => toModelContent6
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name10 = "read";
45
+ var name6 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input10 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin29 = {
58
+ var Plugin6 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service8;
62
- const access = yield* Service29;
63
- const sessionInstructions = yield* Service11;
61
+ const reader = yield* Service6;
62
+ const access = yield* Service13;
63
+ const sessionInstructions = yield* Service5;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service80;
65
+ const location = yield* Service78;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name10,
67
+ name: name6,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input10,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin29 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent6(result.path, input.offset, result.output),
116
+ content: toModelContent4(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent6 = (path, offset, output) => {
149
+ var toModelContent4 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent6 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name10, Input10, Plugin29, toModelContent6, exports_read };
185
+ export { name6, Input6, Plugin6, toModelContent4, exports_read };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service47
4
- } from "./wellknown-yadpvqa6.js";
3
+ Service55
4
+ } from "./file-retention-0pgs73yf.js";
5
5
  import {
6
6
  __export
7
- } from "./wellknown-9rqn6x4v.js";
7
+ } from "./file-retention-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin43,
12
+ Plugin: () => Plugin26,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin43 = define({
22
+ var Plugin26 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service47;
25
+ const config = yield* Service55;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin43 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin43, exports_warming };
99
+ export { Plugin26, exports_warming };