@opencode/core 0.0.0-dev-20481 → 0.0.0-dev-20483

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +75 -75
  7. package/dist/chunks/{git-41vfag0n.js → file-retention-010svtsv.js} +28 -28
  8. package/dist/chunks/{git-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{git-0h87xbbz.js → file-retention-0pdpn3pq.js} +16 -16
  10. package/dist/chunks/{git-ygdna4kr.js → file-retention-0r3c1bmw.js} +5 -5
  11. package/dist/chunks/{git-p35g2vpz.js → file-retention-0r90g8yp.js} +21 -21
  12. package/dist/chunks/{git-0vbcp93d.js → file-retention-0vbcp93d.js} +2 -2
  13. package/dist/chunks/file-retention-16e93gk9.js +507 -0
  14. package/dist/chunks/{git-vyt0kgkx.js → file-retention-1856z5gp.js} +36 -36
  15. package/dist/chunks/{git-3382x40z.js → file-retention-18k9cajk.js} +4 -4
  16. package/dist/chunks/{git-42a4b5x3.js → file-retention-19m1yqgd.js} +30 -30
  17. package/dist/chunks/{git-5sqh9w00.js → file-retention-19wbe0f4.js} +19 -19
  18. package/dist/chunks/file-retention-1bmzne1w.js +26 -0
  19. package/dist/chunks/{git-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{git-ccksxbyh.js → file-retention-1f27qpcc.js} +40 -40
  21. package/dist/chunks/{git-py47m9dw.js → file-retention-1pd86f1r.js} +10 -10
  22. package/dist/chunks/{git-s59ev0m2.js → file-retention-1q0jybjw.js} +27 -27
  23. package/dist/chunks/{git-nbbbwrsr.js → file-retention-1qa1mw2k.js} +51 -51
  24. package/dist/chunks/{git-v4wtaekh.js → file-retention-1tt22aw3.js} +32 -32
  25. package/dist/chunks/{git-k2f9j3q2.js → file-retention-1tz386xc.js} +22 -22
  26. package/dist/chunks/{git-mfqp6xfm.js → file-retention-1ygqh575.js} +6 -6
  27. package/dist/chunks/{git-pt1c4k6y.js → file-retention-1yxhyg8n.js} +12 -12
  28. package/dist/chunks/{git-hy3hxqkj.js → file-retention-22s53sjq.js} +10 -10
  29. package/dist/chunks/{git-srw1wyee.js → file-retention-23ydc1ae.js} +17 -17
  30. package/dist/chunks/{git-qy6g1rdh.js → file-retention-24etr8ym.js} +20 -20
  31. package/dist/chunks/{git-nte0bfvv.js → file-retention-24y4cr83.js} +26 -26
  32. package/dist/chunks/{git-386dse5s.js → file-retention-26a94np2.js} +45 -45
  33. package/dist/chunks/{git-11schykf.js → file-retention-299t90wb.js} +25 -25
  34. package/dist/chunks/{git-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{git-pkyzxqrp.js → file-retention-2b07cd18.js} +28 -28
  36. package/dist/chunks/{git-b45szw8n.js → file-retention-2dyhgb9n.js} +12 -12
  37. package/dist/chunks/{git-rzgz5kj8.js → file-retention-2e17eh3v.js} +4 -4
  38. package/dist/chunks/{git-wcrrxam5.js → file-retention-2fcdk11z.js} +60 -60
  39. package/dist/chunks/{git-c7x212x9.js → file-retention-2pvxx6w1.js} +5 -5
  40. package/dist/chunks/{git-9zybxyya.js → file-retention-2qasw89v.js} +5 -5
  41. package/dist/chunks/{git-zct2699j.js → file-retention-2s45n8cs.js} +3 -3
  42. package/dist/chunks/{git-cjthjsse.js → file-retention-2x8x7t3a.js} +35 -35
  43. package/dist/chunks/{git-h2b79v29.js → file-retention-3cegwx68.js} +2 -2
  44. package/dist/chunks/{git-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{git-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{git-j712c6ve.js → file-retention-3kbc11ry.js} +11 -11
  47. package/dist/chunks/{git-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{git-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{git-hs4apeen.js → file-retention-3v6j8f05.js} +10 -10
  50. package/dist/chunks/{git-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{git-rpf1qvc3.js → file-retention-44ak30pa.js} +4 -4
  52. package/dist/chunks/{git-my4zabxr.js → file-retention-48kw51zw.js} +3 -3
  53. package/dist/chunks/{git-e351gv9y.js → file-retention-4dhdfeb8.js} +12 -12
  54. package/dist/chunks/{git-2bzy33zx.js → file-retention-4kx9erc0.js} +18 -18
  55. package/dist/chunks/{git-2re9vmfy.js → file-retention-4mat50dd.js} +12 -12
  56. package/dist/chunks/{git-yn5e4dj4.js → file-retention-4mp36x47.js} +9 -9
  57. package/dist/chunks/{git-7dd52q06.js → file-retention-4sq4r2t8.js} +3 -3
  58. package/dist/chunks/{git-4ts7tf6z.js → file-retention-4ts7tf6z.js} +2 -2
  59. package/dist/chunks/{git-cbyyef9c.js → file-retention-4v3k5exv.js} +34 -34
  60. package/dist/chunks/{git-mjymc32g.js → file-retention-50mzsvk4.js} +4 -4
  61. package/dist/chunks/{git-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
  62. package/dist/chunks/{git-8khbh05p.js → file-retention-5cj6t5k8.js} +8 -8
  63. package/dist/chunks/{git-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  64. package/dist/chunks/{git-kaf4gepk.js → file-retention-5fffgman.js} +60 -60
  65. package/dist/chunks/{git-9bbmhm4m.js → file-retention-5nsj1v3b.js} +4 -4
  66. package/dist/chunks/{git-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{git-hc976vhp.js → file-retention-62e165w1.js} +18 -18
  68. package/dist/chunks/{git-83cqqva6.js → file-retention-63b3jkh8.js} +22 -22
  69. package/dist/chunks/{git-v31r4dph.js → file-retention-63r88w2b.js} +11 -11
  70. package/dist/chunks/{git-dherjby8.js → file-retention-6479pxty.js} +5 -5
  71. package/dist/chunks/{git-eeb28w8k.js → file-retention-6517zxh1.js} +15 -15
  72. package/dist/chunks/{git-dcs9hbsv.js → file-retention-664q6xrj.js} +19 -19
  73. package/dist/chunks/{git-669tq793.js → file-retention-669tq793.js} +1 -1
  74. package/dist/chunks/{git-9nytgvc2.js → file-retention-672hp4zj.js} +8 -8
  75. package/dist/chunks/{git-r3hpgepr.js → file-retention-6akfc5px.js} +26 -26
  76. package/dist/chunks/{git-1bypmceh.js → file-retention-6g0d6zmv.js} +16 -16
  77. package/dist/chunks/{git-thf4zxr8.js → file-retention-6pxgffms.js} +5 -5
  78. package/dist/chunks/{git-j8rbgwqz.js → file-retention-6y6b3v79.js} +46 -46
  79. package/dist/chunks/{git-4xpgt2w9.js → file-retention-6yz0wx8n.js} +5 -5
  80. package/dist/chunks/{git-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{git-pbpv9gfz.js → file-retention-7kc72sy1.js} +18 -18
  82. package/dist/chunks/{git-jyt5y1qt.js → file-retention-7np80qm3.js} +2 -2
  83. package/dist/chunks/{git-mjagy123.js → file-retention-7r0r50e5.js} +5 -5
  84. package/dist/chunks/{git-yv9jqw96.js → file-retention-7t9r5z7t.js} +6 -6
  85. package/dist/chunks/{git-1dvck2a7.js → file-retention-84h8c373.js} +2 -2
  86. package/dist/chunks/{git-s26hbv8p.js → file-retention-86qzxe6p.js} +4 -4
  87. package/dist/chunks/{git-habzs87j.js → file-retention-89qfpw9h.js} +22 -22
  88. package/dist/chunks/{git-yvq0e8sz.js → file-retention-8a6ws7jr.js} +9 -9
  89. package/dist/chunks/{git-eaxsg860.js → file-retention-8bx78z2w.js} +15 -15
  90. package/dist/chunks/{git-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{git-trhjxf3d.js → file-retention-8gszwhhd.js} +7 -7
  92. package/dist/chunks/{git-b6reh3hn.js → file-retention-8p4jk4hz.js} +16 -16
  93. package/dist/chunks/{git-7p313m06.js → file-retention-8tx99sfv.js} +28 -28
  94. package/dist/chunks/{git-qthf81rg.js → file-retention-8xf2390s.js} +14 -14
  95. package/dist/chunks/{git-xb4hcye0.js → file-retention-91150f7p.js} +22 -22
  96. package/dist/chunks/{git-q4zhjj5d.js → file-retention-916ecn31.js} +20 -20
  97. package/dist/chunks/{git-1x0zm3dp.js → file-retention-99z2e8tf.js} +21 -21
  98. package/dist/chunks/{git-5azn87gq.js → file-retention-9cgh24rp.js} +29 -29
  99. package/dist/chunks/{git-fsfe74kd.js → file-retention-9ma816y3.js} +27 -27
  100. package/dist/chunks/{git-q2k9hrka.js → file-retention-9phb3768.js} +17 -17
  101. package/dist/chunks/file-retention-9sh4wc5j.js +18 -0
  102. package/dist/chunks/{git-shp8jhta.js → file-retention-9wpkv8d5.js} +1 -1
  103. package/dist/chunks/{git-p9yemd5w.js → file-retention-9ymnkqa3.js} +22 -22
  104. package/dist/chunks/{git-vj4f2rsj.js → file-retention-9z7evyec.js} +24 -24
  105. package/dist/chunks/{git-mvfsc1pv.js → file-retention-a1gpj94z.js} +3 -3
  106. package/dist/chunks/{git-r86bf0fn.js → file-retention-a2c5gk3p.js} +3 -3
  107. package/dist/chunks/{git-17xbj2z7.js → file-retention-a39dgx1a.js} +8 -8
  108. package/dist/chunks/{git-m6x68w8h.js → file-retention-a8fr1h6x.js} +184 -184
  109. package/dist/chunks/{git-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  110. package/dist/chunks/{git-k0m5db98.js → file-retention-b1059kqh.js} +26 -26
  111. package/dist/chunks/{git-zyk1yjk8.js → file-retention-b3f8fkhc.js} +5 -5
  112. package/dist/chunks/{git-dpe144tr.js → file-retention-b47w6h91.js} +13 -13
  113. package/dist/chunks/{git-cfsekr6v.js → file-retention-b4twkq7r.js} +6 -6
  114. package/dist/chunks/{git-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{git-8sme8jv8.js → file-retention-bkb94af5.js} +44 -44
  116. package/dist/chunks/{git-73pa4q01.js → file-retention-byxd618f.js} +24 -24
  117. package/dist/chunks/{git-4wx3j26j.js → file-retention-c4rc6qkb.js} +4 -4
  118. package/dist/chunks/{git-327sg516.js → file-retention-cb03yeca.js} +18 -18
  119. package/dist/chunks/{git-5v41a74b.js → file-retention-cc9f4jmy.js} +9 -9
  120. package/dist/chunks/{git-qpmwgr82.js → file-retention-ceb9zpqz.js} +9 -9
  121. package/dist/chunks/{git-16tfmg9n.js → file-retention-cmp6hdh9.js} +13 -13
  122. package/dist/chunks/{git-1ajx6rf5.js → file-retention-cmwkp3r5.js} +8 -8
  123. package/dist/chunks/{git-wssnkxc5.js → file-retention-cn1yc8yx.js} +36 -36
  124. package/dist/chunks/{git-ap4zckht.js → file-retention-cs1ase73.js} +18 -18
  125. package/dist/chunks/{git-cwa6csj7.js → file-retention-cwa6csj7.js} +2 -2
  126. package/dist/chunks/{git-dfrza52c.js → file-retention-cxpvh0dz.js} +11 -11
  127. package/dist/chunks/{git-9fyj3hys.js → file-retention-cy54bjc2.js} +8 -8
  128. package/dist/chunks/{git-r63za8pc.js → file-retention-d0z5e1mn.js} +32 -32
  129. package/dist/chunks/{git-ftnv5kfd.js → file-retention-d9y2dced.js} +32 -32
  130. package/dist/chunks/{git-pzsynw2j.js → file-retention-da5crynx.js} +8 -8
  131. package/dist/chunks/{git-x661k3y3.js → file-retention-db2wf4at.js} +4 -4
  132. package/dist/chunks/{git-r50xfagt.js → file-retention-dc2qckmf.js} +15 -15
  133. package/dist/chunks/{git-cr0y6bkk.js → file-retention-dgk23zpj.js} +28 -28
  134. package/dist/chunks/{git-zf3n64mb.js → file-retention-dj02fe1d.js} +34 -34
  135. package/dist/chunks/{git-dpkg50ah.js → file-retention-dpkg50ah.js} +1 -1
  136. package/dist/chunks/{git-1zn329az.js → file-retention-dqdxhkv7.js} +9 -9
  137. package/dist/chunks/{git-brvreg6p.js → file-retention-dqetav0t.js} +3 -3
  138. package/dist/chunks/{git-9qd58nx3.js → file-retention-drvshtg5.js} +24 -24
  139. package/dist/chunks/{git-eseyeb0w.js → file-retention-dyrnqeff.js} +14 -14
  140. package/dist/chunks/{git-9750y225.js → file-retention-e4n08x2a.js} +6 -6
  141. package/dist/chunks/{git-apaqd6gh.js → file-retention-e7fybsm5.js} +1 -1
  142. package/dist/chunks/{git-sb1bm0qp.js → file-retention-e7rehdhe.js} +75 -75
  143. package/dist/chunks/{git-272ak889.js → file-retention-e9rrx8nb.js} +17 -17
  144. package/dist/chunks/{git-9t7a50xb.js → file-retention-eaj1djv9.js} +8 -8
  145. package/dist/chunks/{git-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{git-aa8qew8f.js → file-retention-ehy2g33m.js} +26 -26
  147. package/dist/chunks/{git-7r82taj5.js → file-retention-emjm3mg5.js} +20 -20
  148. package/dist/chunks/{git-f95rk2pr.js → file-retention-enpnrszd.js} +28 -28
  149. package/dist/chunks/{git-51f5btjf.js → file-retention-eqkxs06z.js} +6 -6
  150. package/dist/chunks/{git-g9tydsjn.js → file-retention-et5g45k6.js} +11 -11
  151. package/dist/chunks/{git-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  152. package/dist/chunks/{git-vgwj7znc.js → file-retention-evhxnv2q.js} +11 -11
  153. package/dist/chunks/{git-1pfhqsc3.js → file-retention-ez2gdk13.js} +17 -17
  154. package/dist/chunks/{git-zsr4wwhv.js → file-retention-f29mbr7f.js} +4 -4
  155. package/dist/chunks/{git-gvzxnjjj.js → file-retention-f3md509a.js} +18 -18
  156. package/dist/chunks/{git-71az546q.js → file-retention-f75zav2x.js} +2 -2
  157. package/dist/chunks/{git-qgn6gcr1.js → file-retention-fcrkznn8.js} +5 -5
  158. package/dist/chunks/{git-cgyy49aj.js → file-retention-fwyzff2k.js} +15 -15
  159. package/dist/chunks/{git-zvr8tn04.js → file-retention-g2y161wv.js} +8 -8
  160. package/dist/chunks/{git-g5w8qwbj.js → file-retention-g5w8qwbj.js} +1 -1
  161. package/dist/chunks/{git-92hpndrs.js → file-retention-g7b432k9.js} +9 -9
  162. package/dist/chunks/{git-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  163. package/dist/chunks/{git-dqs0vcbf.js → file-retention-gmyr53yh.js} +15 -15
  164. package/dist/chunks/{git-vjbsmafc.js → file-retention-gpvbq4ra.js} +24 -24
  165. package/dist/chunks/{git-s6tbk65m.js → file-retention-gr6b6mj1.js} +11 -11
  166. package/dist/chunks/{git-repk3emw.js → file-retention-gt8adb52.js} +11 -11
  167. package/dist/chunks/{git-xkmy9fvh.js → file-retention-gzfdgjtf.js} +15 -15
  168. package/dist/chunks/{git-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{git-470k3ke5.js → file-retention-h6wrxb9q.js} +28 -28
  170. package/dist/chunks/{git-3gjywyz4.js → file-retention-hb0k09dj.js} +11 -11
  171. package/dist/chunks/{git-8f060hg1.js → file-retention-htp67ewe.js} +11 -11
  172. package/dist/chunks/{git-dvc89yjx.js → file-retention-hz0q9sdq.js} +8 -8
  173. package/dist/chunks/{git-hq153nby.js → file-retention-j1516eyq.js} +24 -24
  174. package/dist/chunks/{git-r4qc49wz.js → file-retention-j4s13nb2.js} +13 -13
  175. package/dist/chunks/{git-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  176. package/dist/chunks/{git-p6tgyf45.js → file-retention-jc1gpg60.js} +5 -5
  177. package/dist/chunks/{git-wb7crd86.js → file-retention-jnk7qm89.js} +13 -13
  178. package/dist/chunks/{git-3gz5rark.js → file-retention-jqp48237.js} +35 -35
  179. package/dist/chunks/{git-9em85dm2.js → file-retention-jx0q4spf.js} +18 -18
  180. package/dist/chunks/{git-z9j6250x.js → file-retention-k5zhfa84.js} +33 -33
  181. package/dist/chunks/{git-9e5bzkjp.js → file-retention-kb9j3d72.js} +3 -3
  182. package/dist/chunks/file-retention-kdgzr6za.js +252 -0
  183. package/dist/chunks/{git-sxtvyy3t.js → file-retention-kgfzxw26.js} +10 -10
  184. package/dist/chunks/{git-qzx8p8d0.js → file-retention-khtp5qmv.js} +20 -20
  185. package/dist/chunks/{git-v252qd0j.js → file-retention-kn16ews1.js} +17 -17
  186. package/dist/chunks/{git-jrjafyr0.js → file-retention-knp96k5g.js} +14 -14
  187. package/dist/chunks/{git-d819pdvd.js → file-retention-kxvjk49k.js} +5 -5
  188. package/dist/chunks/{git-3wpc7sdy.js → file-retention-m2fmqjsg.js} +32 -32
  189. package/dist/chunks/{git-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{git-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{git-jf4axb2c.js → file-retention-mh3pfvhs.js} +3 -3
  192. package/dist/chunks/{git-m9v4343w.js → file-retention-msgz7vnx.js} +21 -21
  193. package/dist/chunks/{git-bydnjh3t.js → file-retention-n37c4crj.js} +9 -9
  194. package/dist/chunks/{git-w8cdx6rt.js → file-retention-n69ahfa0.js} +15 -15
  195. package/dist/chunks/{git-t669c2kt.js → file-retention-nc9ket9e.js} +7 -7
  196. package/dist/chunks/{git-62dyt405.js → file-retention-njg0144m.js} +11 -11
  197. package/dist/chunks/{git-qaeybh9m.js → file-retention-nmpbqy18.js} +6 -6
  198. package/dist/chunks/{git-m0ekd96m.js → file-retention-ntg2j34t.js} +6 -6
  199. package/dist/chunks/{git-cjerh2x3.js → file-retention-nvebafbr.js} +13 -13
  200. package/dist/chunks/{git-hvjr2bj8.js → file-retention-nx5d6twc.js} +46 -46
  201. package/dist/chunks/{git-bpkwba73.js → file-retention-p4qz04xc.js} +48 -48
  202. package/dist/chunks/{git-5hqve3aj.js → file-retention-pb2egvkv.js} +9 -9
  203. package/dist/chunks/{git-qvm0wtrp.js → file-retention-pf3jdx00.js} +5 -5
  204. package/dist/chunks/{git-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{git-pknna89w.js → file-retention-pknna89w.js} +1 -1
  206. package/dist/chunks/{git-gm6nnvxm.js → file-retention-pm3syzdj.js} +28 -28
  207. package/dist/chunks/{git-vyys1dp9.js → file-retention-py5x8axh.js} +8 -8
  208. package/dist/chunks/{git-q0xm7vwc.js → file-retention-q0xm7vwc.js} +2 -2
  209. package/dist/chunks/{git-w4m5k0g7.js → file-retention-q3wbtnjt.js} +9 -9
  210. package/dist/chunks/{git-jvf3yq6v.js → file-retention-q5asdkn4.js} +4 -4
  211. package/dist/chunks/{git-ztzk91w7.js → file-retention-q6e5294y.js} +31 -31
  212. package/dist/chunks/{git-txs8yy3n.js → file-retention-q717ea4v.js} +3 -3
  213. package/dist/chunks/{git-bt3d1ymw.js → file-retention-qeajncbp.js} +18 -18
  214. package/dist/chunks/{git-mx9s3x0a.js → file-retention-qjz171mj.js} +14 -14
  215. package/dist/chunks/{git-4wrkd8nn.js → file-retention-qkpjj9ac.js} +11 -11
  216. package/dist/chunks/{git-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
  217. package/dist/chunks/{git-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  218. package/dist/chunks/{git-4a6jpjer.js → file-retention-qsr9synt.js} +5 -5
  219. package/dist/chunks/{git-zw2wtcws.js → file-retention-qvp3ayyr.js} +4 -4
  220. package/dist/chunks/{git-yhakkn64.js → file-retention-qw26wqbf.js} +11 -11
  221. package/dist/chunks/{git-200bxkj7.js → file-retention-qwvc2n28.js} +28 -28
  222. package/dist/chunks/{git-a3txam13.js → file-retention-r4mw293q.js} +25 -25
  223. package/dist/chunks/{git-02rta1p5.js → file-retention-r5zhkawj.js} +4 -4
  224. package/dist/chunks/{git-pbcn5b8q.js → file-retention-r6km2j76.js} +20 -20
  225. package/dist/chunks/{git-8a37x1ax.js → file-retention-r8ngcrxq.js} +44 -44
  226. package/dist/chunks/{git-tkmwgdpd.js → file-retention-ratrq7cm.js} +7 -7
  227. package/dist/chunks/{git-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{git-xv72df90.js → file-retention-rfx500q8.js} +47 -47
  229. package/dist/chunks/{git-1acjjqhc.js → file-retention-rhraev7y.js} +4 -4
  230. package/dist/chunks/{git-ncnm8wen.js → file-retention-rk1r2hx8.js} +1 -1
  231. package/dist/chunks/{git-tcatf3b6.js → file-retention-rmzxb8wx.js} +43 -43
  232. package/dist/chunks/{git-drnf6xwf.js → file-retention-rqa1jxse.js} +2 -2
  233. package/dist/chunks/{git-6pjm6hxh.js → file-retention-rya9vxen.js} +40 -40
  234. package/dist/chunks/{git-qtxdpptr.js → file-retention-s78w3mx6.js} +32 -32
  235. package/dist/chunks/{git-4ckgtqrh.js → file-retention-s9xxw18e.js} +9 -9
  236. package/dist/chunks/{git-6gna983b.js → file-retention-t3dkts0r.js} +11 -11
  237. package/dist/chunks/{git-qgrdwknr.js → file-retention-taazwa2m.js} +16 -16
  238. package/dist/chunks/{git-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{git-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{git-j1j89z9y.js → file-retention-tctwkzpn.js} +315 -315
  241. package/dist/chunks/{git-tdstcens.js → file-retention-tdstcens.js} +1 -1
  242. package/dist/chunks/{git-0r7m21ea.js → file-retention-tezq3vq8.js} +35 -35
  243. package/dist/chunks/{git-bz7vn164.js → file-retention-tfwaqret.js} +8 -8
  244. package/dist/chunks/{git-4mwhzqns.js → file-retention-tj5rcesx.js} +34 -34
  245. package/dist/chunks/{git-p8k3f31h.js → file-retention-tnwsy8nb.js} +83 -83
  246. package/dist/chunks/{git-1gpb38yh.js → file-retention-twwzjqdf.js} +6 -6
  247. package/dist/chunks/{git-8ndffx4j.js → file-retention-v0es1rhs.js} +7 -7
  248. package/dist/chunks/{git-p558d1j2.js → file-retention-v1gfxk1h.js} +5 -5
  249. package/dist/chunks/{git-3q5fxme7.js → file-retention-v81vxjx2.js} +11 -11
  250. package/dist/chunks/{git-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  251. package/dist/chunks/{git-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{git-tg54efwz.js → file-retention-vzgh18wv.js} +5 -5
  253. package/dist/chunks/{git-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{git-w1eejvng.js → file-retention-w1eejvng.js} +1 -1
  255. package/dist/chunks/{git-bbw36kky.js → file-retention-w2bejqka.js} +22 -22
  256. package/dist/chunks/{git-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{git-bh0zzf2s.js → file-retention-w3x9v1nk.js} +8 -8
  258. package/dist/chunks/{git-wd87259q.js → file-retention-wd87259q.js} +1 -1
  259. package/dist/chunks/{git-5zfwvp2h.js → file-retention-wnk9exdz.js} +6 -6
  260. package/dist/chunks/{git-apm8h6qx.js → file-retention-wvj3jknz.js} +95 -95
  261. package/dist/chunks/{git-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{git-vn72gsba.js → file-retention-xasyx0as.js} +4 -4
  263. package/dist/chunks/{git-j505r7f3.js → file-retention-xevbb3dk.js} +32 -32
  264. package/dist/chunks/{git-vzbxwz1d.js → file-retention-xh27xnk0.js} +11 -11
  265. package/dist/chunks/{git-dmqcgk4z.js → file-retention-xkntkrq7.js} +5 -5
  266. package/dist/chunks/{git-6dmpadww.js → file-retention-xqs03zex.js} +30 -30
  267. package/dist/chunks/{git-03xyy9gs.js → file-retention-xvrdsv0z.js} +8 -8
  268. package/dist/chunks/{git-zqb7t9wr.js → file-retention-xxz7chtq.js} +29 -29
  269. package/dist/chunks/{git-qxjc9qry.js → file-retention-xyafkbt0.js} +3 -3
  270. package/dist/chunks/{git-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{git-yemncvg3.js → file-retention-y1tbwvmr.js} +27 -27
  272. package/dist/chunks/{git-n1n7d1bc.js → file-retention-y43kper9.js} +29 -29
  273. package/dist/chunks/{git-c16f70nq.js → file-retention-yhws0ggv.js} +10 -10
  274. package/dist/chunks/{git-z8dbgj3m.js → file-retention-ymxbsbk4.js} +5 -5
  275. package/dist/chunks/{git-r44petzp.js → file-retention-ynx963a9.js} +12 -12
  276. package/dist/chunks/{git-s5met55r.js → file-retention-ypw91m64.js} +8 -8
  277. package/dist/chunks/{git-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{git-2hstpqf3.js → file-retention-yygvcae8.js} +5 -5
  279. package/dist/chunks/{git-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{git-vd216s12.js → file-retention-z421k0xb.js} +15 -15
  281. package/dist/chunks/{git-gck3dpx1.js → file-retention-zcf427st.js} +34 -34
  282. package/dist/chunks/{git-fr5pxeem.js → file-retention-zn9rd40w.js} +31 -31
  283. package/dist/chunks/{git-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{git-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +74 -74
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +79 -79
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +85 -85
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +132 -132
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +84 -84
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +101 -101
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +115 -115
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +115 -115
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +72 -72
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +344 -344
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +224 -224
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +86 -86
  555. package/dist/provider.js +101 -101
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +95 -95
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +91 -91
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +95 -95
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +133 -133
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  576. package/dist/session/execution.js +127 -127
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +88 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +120 -120
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +123 -123
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +162 -162
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +75 -75
  608. package/dist/session/store.js +87 -87
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +155 -155
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +216 -216
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +107 -107
  624. package/dist/skill.js +112 -112
  625. package/dist/snapshot.js +89 -89
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +128 -128
  630. package/dist/tool/plugin/edit.js +120 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +124 -124
  633. package/dist/tool/plugin/grep.js +124 -124
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +122 -122
  637. package/dist/tool/plugin/question.js +105 -105
  638. package/dist/tool/plugin/read.js +125 -125
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +113 -113
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +110 -110
  643. package/dist/tool/plugin/websearch.js +112 -112
  644. package/dist/tool/plugin/write.js +122 -122
  645. package/dist/tool/read-filesystem.js +100 -100
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +12 -12
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +91 -91
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +84 -84
  671. package/dist/wellknown/plugin.js +78 -78
  672. package/dist/wellknown.js +79 -79
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +8 -8
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +92 -92
  681. package/package.json +8 -8
  682. package/dist/chunks/git-fpbz0h82.js +0 -252
  683. package/dist/chunks/git-fz13pkzb.js +0 -507
  684. package/dist/chunks/git-qc068m1q.js +0 -18
  685. package/dist/chunks/git-rkn1pe94.js +0 -26
  686. /package/dist/chunks/{git-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{git-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{git-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{git-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{git-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{git-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{git-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{git-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{git-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{git-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{git-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{git-3asan66x.js → file-retention-3asan66x.js} +0 -0
  698. /package/dist/chunks/{git-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{git-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{git-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{git-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{git-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{git-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{git-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{git-53557ph1.js → file-retention-53557ph1.js} +0 -0
  706. /package/dist/chunks/{git-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{git-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{git-6prwharc.js → file-retention-6prwharc.js} +0 -0
  709. /package/dist/chunks/{git-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{git-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{git-822emrt2.js → file-retention-822emrt2.js} +0 -0
  712. /package/dist/chunks/{git-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{git-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{git-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{git-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{git-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{git-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{git-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{git-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{git-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{git-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{git-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{git-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{git-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{git-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{git-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{git-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{git-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{git-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{git-df08tz66.js → file-retention-df08tz66.js} +0 -0
  731. /package/dist/chunks/{git-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{git-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{git-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{git-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{git-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{git-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{git-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{git-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{git-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{git-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{git-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{git-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{git-g86h250q.js → file-retention-g86h250q.js} +0 -0
  744. /package/dist/chunks/{git-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{git-gftt206x.js → file-retention-gftt206x.js} +0 -0
  746. /package/dist/chunks/{git-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{git-hk9envan.js → file-retention-hk9envan.js} +0 -0
  748. /package/dist/chunks/{git-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{git-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{git-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{git-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{git-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{git-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{git-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{git-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{git-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{git-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{git-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{git-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{git-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{git-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{git-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{git-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{git-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{git-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{git-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{git-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{git-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{git-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{git-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{git-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{git-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{git-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{git-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{git-x61499pn.js → file-retention-x61499pn.js} +0 -0
  776. /package/dist/chunks/{git-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{git-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{git-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{git-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{git-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{git-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{git-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./git-z5v4ffb3.js";
5
+ } from "./file-retention-z5v4ffb3.js";
6
6
  import {
7
- Service76,
8
- node80
9
- } from "./git-1bypmceh.js";
7
+ Service80,
8
+ node83
9
+ } from "./file-retention-6g0d6zmv.js";
10
10
  import {
11
- Service21,
12
- node24
13
- } from "./git-42a4b5x3.js";
11
+ Service14,
12
+ node16
13
+ } from "./file-retention-19m1yqgd.js";
14
14
  import {
15
15
  __export
16
- } from "./git-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event6,
27
+ Event: () => Event2,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError4,
34
+ NotFoundError: () => NotFoundError2,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service20,
36
+ Service: () => Service13,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node23
40
+ node: () => node15
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event6 = FileSystem.Event;
108
+ var Event2 = FileSystem.Event;
109
109
 
110
- class Service20 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service13 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service76;
115
- const search = yield* Service21;
114
+ const location = yield* Service80;
115
+ const search = yield* Service14;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
129
129
  return yield* Effect.die(new Error("Path escapes the location"));
130
130
  return { absolute, real, directory: location.directory };
131
131
  });
132
- return Service20.of({
132
+ return Service13.of({
133
133
  find: search.find,
134
134
  read: Effect.fn("FileSystem.read")(function* (input) {
135
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
136
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
135
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
136
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
137
137
  if (info.type !== "File")
138
138
  return yield* Effect.die(new Error("Path is not a file"));
139
139
  return {
140
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
140
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
141
141
  mime: FSUtil.mimeType(target.real)
142
142
  };
143
143
  }),
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
166
166
  })
167
167
  });
168
168
  }));
169
- var node23 = makeLocationNode({
170
- service: Service20,
169
+ var node15 = makeLocationNode({
170
+ service: Service13,
171
171
  layer: baseLayer,
172
- deps: [FSUtil.node, node80, node24]
172
+ deps: [FSUtil.node, node83, node16]
173
173
  });
174
174
 
175
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service20, node23, exports_filesystem, Entry2, Match2, Submatch2 };
175
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./git-ec1grn59.js";
3
+ } from "./file-retention-ec1grn59.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
10
10
  __export(exports_retry, {
11
11
  SessionRunnerRetry: () => exports_retry,
12
12
  isRetryable: () => isRetryable2,
13
- make: () => make5,
13
+ make: () => make10,
14
14
  policy: () => policy2
15
15
  });
16
16
  import { isRetryable as isRetryable2 } from "@opencode/ai";
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
60
60
  return { retry: true, attempt, delay: normalized };
61
61
  });
62
62
  });
63
- var make5 = (bus, sessionID) => Effect.gen(function* () {
63
+ var make10 = (bus, sessionID) => Effect.gen(function* () {
64
64
  const decide = yield* policy2(sessionID);
65
65
  const wait = (input) => Effect.gen(function* () {
66
66
  const scheduled = yield* Clock.currentTimeMillis;
@@ -77,4 +77,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
77
77
  return { decide, wait };
78
78
  });
79
79
 
80
- export { isRetryable2, policy2, make5, exports_retry };
80
+ export { isRetryable2, policy2, make10, exports_retry };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service57,
3
- node61
4
- } from "./git-8sme8jv8.js";
2
+ Service59,
3
+ node62
4
+ } from "./file-retention-bkb94af5.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./git-my4zabxr.js";
7
+ } from "./file-retention-48kw51zw.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service43,
17
+ Service: () => Service56,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node45,
19
+ node: () => node59,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service43 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service56 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service43, Effect.gen(function* () {
58
- const resolver = yield* Service57;
59
- return Service43.of({
57
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
58
+ const resolver = yield* Service59;
59
+ return Service56.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node45 = makeLocationNode({ service: Service43, layer, deps: [node61] });
77
+ var node59 = makeLocationNode({ service: Service56, layer, deps: [node62] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service43, resolved2, node45, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service56, resolved2, node59, exports_model };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./git-g5w8qwbj.js";
3
+ } from "./file-retention-g5w8qwbj.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./git-2a5m3afh.js";
5
+ } from "./file-retention-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./git-9rqn6x4v.js";
8
+ } from "./file-retention-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
3
- Service70,
4
- node74
5
- } from "./git-fr5pxeem.js";
2
+ ID10,
3
+ Service67,
4
+ node70
5
+ } from "./file-retention-zn9rd40w.js";
6
6
  import {
7
- ID12,
7
+ ID9,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,23 +14,23 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service68,
18
- node72
19
- } from "./git-j1j89z9y.js";
17
+ Service65,
18
+ node68
19
+ } from "./file-retention-tctwkzpn.js";
20
20
  import {
21
- Service58,
22
- node62
23
- } from "./git-3q5fxme7.js";
21
+ Service60,
22
+ node63
23
+ } from "./file-retention-v81vxjx2.js";
24
24
  import {
25
- ID7,
25
+ ID8,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service59,
29
- node63
30
- } from "./git-cbyyef9c.js";
28
+ Service64,
29
+ node67
30
+ } from "./file-retention-4v3k5exv.js";
31
31
  import {
32
32
  __export
33
- } from "./git-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/model-resolver.ts
36
36
  var exports_model_resolver = {};
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
39
39
  ModelConfigurationError: () => ModelConfigurationError2,
40
40
  ModelInitializationError: () => ModelInitializationError2,
41
41
  ModelResolver: () => exports_model_resolver,
42
- Service: () => Service57,
42
+ Service: () => Service59,
43
43
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
44
44
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
45
45
  UnsupportedPackageError: () => UnsupportedPackageError2,
46
46
  VariantUnavailableError: () => VariantUnavailableError2,
47
47
  fromCatalogModel: () => fromCatalogModel2,
48
48
  hasPackage: () => hasPackage2,
49
- layer: () => layer22,
50
- node: () => node61,
49
+ layer: () => layer21,
50
+ node: () => node62,
51
51
  resolveModel: () => resolveModel2,
52
52
  withVariant: () => withVariant2
53
53
  });
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
57
57
  import { Context, Effect, Layer, Schema, Struct } from "effect";
58
58
  import { Npm } from "@opencode/util/npm";
59
59
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
60
- providerID: ID12,
61
- modelID: ID7,
60
+ providerID: ID9,
61
+ modelID: ID8,
62
62
  variant: VariantID2
63
63
  }) {
64
64
  get message() {
@@ -67,8 +67,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
67
67
  }
68
68
 
69
69
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
70
- providerID: ID12,
71
- modelID: ID7,
70
+ providerID: ID9,
71
+ modelID: ID8,
72
72
  package: Schema.String
73
73
  }) {
74
74
  get message() {
@@ -78,8 +78,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
78
78
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
79
79
 
80
80
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
81
- providerID: ID12,
82
- modelID: ID7,
81
+ providerID: ID9,
82
+ modelID: ID8,
83
83
  package: Schema.String,
84
84
  detail: Schema.String
85
85
  }) {
@@ -89,8 +89,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
89
89
  }
90
90
 
91
91
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
92
- providerID: ID12,
93
- modelID: ID7,
92
+ providerID: ID9,
93
+ modelID: ID8,
94
94
  package: Schema.String,
95
95
  phase: InitializationPhase2,
96
96
  detail: Schema.String
@@ -101,8 +101,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
101
101
  }
102
102
 
103
103
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
104
- providerID: ID12,
105
- modelID: ID7,
104
+ providerID: ID9,
105
+ modelID: ID8,
106
106
  variables: Schema.Array(Schema.String)
107
107
  }) {
108
108
  get message() {
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
111
111
  }
112
112
 
113
113
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
114
- providerID: ID12,
115
- modelID: ID7,
114
+ providerID: ID9,
115
+ modelID: ID8,
116
116
  route: Schema.String
117
117
  }) {
118
118
  get message() {
@@ -120,7 +120,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
120
120
  }
121
121
  }
122
122
 
123
- class Service57 extends Context.Service()("@opencode/ModelResolver") {
123
+ class Service59 extends Context.Service()("@opencode/ModelResolver") {
124
124
  }
125
125
  var withVariant2 = (model, variantID) => {
126
126
  const id = variantID === "default" ? undefined : variantID;
@@ -264,15 +264,15 @@ var causeMessage = (cause) => {
264
264
  };
265
265
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
266
266
  var hasPackage2 = (model) => Boolean(model.package);
267
- var layer22 = Layer.effect(Service57, Effect.gen(function* () {
268
- const providers = yield* Service68;
269
- const models = yield* Service59;
270
- const integrations = yield* Service70;
267
+ var layer21 = Layer.effect(Service59, Effect.gen(function* () {
268
+ const providers = yield* Service65;
269
+ const models = yield* Service64;
270
+ const integrations = yield* Service67;
271
271
  const npm = yield* Npm.Service;
272
- const aisdk = yield* Service58;
272
+ const aisdk = yield* Service60;
273
273
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
274
274
  const provider = yield* providers.get(selected.providerID);
275
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
275
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
276
276
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
277
277
  const selectedVariant = yield* withVariant2(selected, variant);
278
278
  const runtimeInfo = {
@@ -299,7 +299,7 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
299
299
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
300
300
  };
301
301
  });
302
- return Service57.of({
302
+ return Service59.of({
303
303
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
304
304
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
305
305
  if (!selected)
@@ -316,10 +316,10 @@ function usesAPIKeyAuth(packageName) {
316
316
  const name = packageName2(packageName);
317
317
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
318
318
  }
319
- var node61 = makeLocationNode({
320
- service: Service57,
321
- layer: layer22,
322
- deps: [node72, node63, node74, Npm.node, node62]
319
+ var node62 = makeLocationNode({
320
+ service: Service59,
321
+ layer: layer21,
322
+ deps: [node68, node67, node70, Npm.node, node63]
323
323
  });
324
324
 
325
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service57, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node61, exports_model_resolver };
325
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node62, exports_model_resolver };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./git-gvzxnjjj.js";
2
+ Service82,
3
+ node85
4
+ } from "./file-retention-f3md509a.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./git-tazgh4e4.js";
9
+ } from "./file-retention-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./git-3wpc7sdy.js";
12
+ } from "./file-retention-m2fmqjsg.js";
13
13
  import {
14
- Service76,
15
- node80
16
- } from "./git-1bypmceh.js";
14
+ Service80,
15
+ node83
16
+ } from "./file-retention-6g0d6zmv.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./git-rdw6cm16.js";
20
+ } from "./file-retention-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./git-9rqn6x4v.js";
23
+ } from "./file-retention-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info3,
32
+ Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service15,
35
+ Service: () => Service20,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node18
37
+ node: () => node23
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service15 extends Context.Service()("@opencode/Vcs") {
57
+ class Service20 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service15, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service76;
62
- const bus = yield* Service83;
61
+ const location = yield* Service80;
62
+ const bus = yield* Service82;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service15.of({
132
+ return Service20.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node18 = makeLocationNode({
191
- service: Service15,
190
+ var node23 = makeLocationNode({
191
+ service: Service20,
192
192
  layer,
193
- deps: [FSUtil.node, node80, node87]
193
+ deps: [FSUtil.node, node83, node85]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service15, node18, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service20, node23, exports_vcs };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin36,
11
+ Plugin: () => Plugin16,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin36 = {
67
+ var Plugin16 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin36 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin36, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin16, exports_opencode };