@opencode/core 0.0.0-dev-19895 → 0.0.0-dev-19896

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{image-38rmxb2h.js → file-00af4kh8.js} +8 -8
  8. package/dist/chunks/{image-7422bz05.js → file-0493g1vy.js} +24 -24
  9. package/dist/chunks/{image-0m3w2t1r.js → file-04k65yr5.js} +11 -11
  10. package/dist/chunks/{image-nxxwwkwy.js → file-0e9pe9hx.js} +11 -11
  11. package/dist/chunks/{image-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{image-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{image-23gvq6ep.js → file-0qad3ttb.js} +32 -32
  14. package/dist/chunks/{image-p2f06z72.js → file-0wtnvkaq.js} +9 -9
  15. package/dist/chunks/{image-rk8wmvgg.js → file-0z78d6d4.js} +9 -9
  16. package/dist/chunks/{image-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{image-9q6mkjsj.js → file-1hbpk5ma.js} +12 -12
  18. package/dist/chunks/{image-c3wa40ms.js → file-1v56nqpw.js} +19 -19
  19. package/dist/chunks/{image-1ygqh575.js → file-1ygqh575.js} +2 -2
  20. package/dist/chunks/{image-21r38tys.js → file-21r38tys.js} +1 -1
  21. package/dist/chunks/{image-kqcs6dfg.js → file-24ez7j11.js} +13 -13
  22. package/dist/chunks/{image-0zhzd60j.js → file-285smrwa.js} +7 -7
  23. package/dist/chunks/{image-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{image-4z1052x1.js → file-2dw84gmp.js} +9 -9
  25. package/dist/chunks/{image-bjmt3h04.js → file-2eegacq4.js} +8 -8
  26. package/dist/chunks/{image-17e5z2kv.js → file-2jwpwh9n.js} +44 -44
  27. package/dist/chunks/{image-ph842b28.js → file-2k71kv7p.js} +4 -4
  28. package/dist/chunks/{image-df03p2qx.js → file-2kj4nmmg.js} +25 -25
  29. package/dist/chunks/{image-tc4mawtk.js → file-2mvmpsyq.js} +3 -3
  30. package/dist/chunks/{image-kwwk4ft6.js → file-2nr7b2rh.js} +9 -9
  31. package/dist/chunks/{image-125x6jc5.js → file-2rk3cq7y.js} +13 -13
  32. package/dist/chunks/{image-ae01ggp0.js → file-2tfmgkzg.js} +4 -4
  33. package/dist/chunks/{image-2fqe24zy.js → file-2wz5cap4.js} +10 -10
  34. package/dist/chunks/{image-8arcc1g8.js → file-2zqpyx7j.js} +11 -11
  35. package/dist/chunks/{image-zgfzjsp4.js → file-3149hxjv.js} +22 -22
  36. package/dist/chunks/{image-her9e4hr.js → file-3a13mzqq.js} +11 -11
  37. package/dist/chunks/{image-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{image-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{image-5rt7nyka.js → file-3hpdt92y.js} +10 -10
  40. package/dist/chunks/{image-qdbakdjh.js → file-3j9bgvtg.js} +5 -5
  41. package/dist/chunks/{image-sc186k9x.js → file-3ktbe3hf.js} +6 -6
  42. package/dist/chunks/{image-43365wyy.js → file-3n6mfbkh.js} +25 -25
  43. package/dist/chunks/{image-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{image-z3ct0j69.js → file-3t889vdt.js} +24 -24
  45. package/dist/chunks/{image-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{image-3ythc6yv.js → file-3ythc6yv.js} +1 -1
  47. package/dist/chunks/{image-yk94a6e0.js → file-4091at3p.js} +16 -16
  48. package/dist/chunks/{image-ss3mtxdg.js → file-40cw0428.js} +4 -4
  49. package/dist/chunks/{image-qx38d0n5.js → file-42yzn4t5.js} +11 -11
  50. package/dist/chunks/{image-4dgbcxzg.js → file-44h5tttr.js} +4 -4
  51. package/dist/chunks/{image-y79k1xra.js → file-4brxhqy9.js} +33 -33
  52. package/dist/chunks/{image-etbrhcmb.js → file-4ecc57dw.js} +50 -50
  53. package/dist/chunks/{image-pstg3rfm.js → file-4jc5c4h4.js} +1 -1
  54. package/dist/chunks/{image-21xfqssn.js → file-4kqngsvt.js} +28 -28
  55. package/dist/chunks/{image-dp32qy3n.js → file-4mg090da.js} +27 -27
  56. package/dist/chunks/{image-x3mn157g.js → file-4nwvt2ek.js} +4 -4
  57. package/dist/chunks/{image-9ajz18mq.js → file-4whbgcxk.js} +18 -18
  58. package/dist/chunks/{image-5bds7g24.js → file-4zn875z0.js} +32 -32
  59. package/dist/chunks/{image-gg7pg1rj.js → file-510m7gjw.js} +5 -5
  60. package/dist/chunks/{image-gby52dfb.js → file-53bvc5b3.js} +28 -28
  61. package/dist/chunks/{image-05xfxpq7.js → file-56m60q16.js} +8 -8
  62. package/dist/chunks/{image-0ke265bw.js → file-57ez7d0k.js} +5 -5
  63. package/dist/chunks/{image-exftq8yt.js → file-58b9fvpm.js} +18 -18
  64. package/dist/chunks/{image-5mwyragx.js → file-5a3rkb7m.js} +33 -33
  65. package/dist/chunks/{image-5c4hm403.js → file-5c4hm403.js} +3 -3
  66. package/dist/chunks/{image-5daktx2q.js → file-5daktx2q.js} +1 -1
  67. package/dist/chunks/{image-685zzjpb.js → file-5eh7kyv5.js} +33 -33
  68. package/dist/chunks/{image-6dh17h6r.js → file-5n76hmjp.js} +5 -5
  69. package/dist/chunks/{image-y38ja4bc.js → file-5sdemcz3.js} +8 -8
  70. package/dist/chunks/{image-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{image-e5feqydn.js → file-5y2rckg7.js} +6 -6
  72. package/dist/chunks/{image-a2ffvnhx.js → file-5ydw7gt2.js} +17 -17
  73. package/dist/chunks/{image-5cyh5ysx.js → file-636j21cx.js} +15 -15
  74. package/dist/chunks/{image-1fvpqx3e.js → file-63nnbv2k.js} +1 -1
  75. package/dist/chunks/{image-xjfpeq55.js → file-64tp9nsp.js} +28 -28
  76. package/dist/chunks/{image-669tq793.js → file-669tq793.js} +1 -1
  77. package/dist/chunks/{image-dk1nkhy9.js → file-6dmrh5a8.js} +28 -28
  78. package/dist/chunks/{image-f81z5vps.js → file-6gchxkvz.js} +14 -14
  79. package/dist/chunks/{image-2402vzrj.js → file-6h73sxmp.js} +5 -5
  80. package/dist/chunks/{image-27q2gfj6.js → file-6hkwt5ks.js} +30 -30
  81. package/dist/chunks/{image-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  82. package/dist/chunks/{image-6phjk5y4.js → file-6t8a2cxv.js} +38 -38
  83. package/dist/chunks/{image-86erpfar.js → file-6xapaz12.js} +26 -26
  84. package/dist/chunks/{image-mhkvc446.js → file-73tb2d7t.js} +3 -3
  85. package/dist/chunks/{image-r2d10xbt.js → file-78ghsz8c.js} +43 -43
  86. package/dist/chunks/{image-3e2sbbgt.js → file-7ahgtxs9.js} +21 -21
  87. package/dist/chunks/{image-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  88. package/dist/chunks/{image-cke3a6ft.js → file-7bsn99y2.js} +8 -8
  89. package/dist/chunks/{image-78pdypyy.js → file-7qcewr7x.js} +15 -15
  90. package/dist/chunks/{image-decnw00n.js → file-7ygdg4wh.js} +305 -305
  91. package/dist/chunks/{image-rpp1r6qa.js → file-7ynk84wd.js} +57 -57
  92. package/dist/chunks/{image-d5y0ycpw.js → file-829kak1e.js} +10 -10
  93. package/dist/chunks/{image-7v72e2sa.js → file-852d7py8.js} +15 -15
  94. package/dist/chunks/{image-jf3nzqf4.js → file-85czmsy6.js} +9 -9
  95. package/dist/chunks/{image-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{image-ajznkaye.js → file-8pryv8c2.js} +28 -28
  97. package/dist/chunks/file-96byh0hv.js +252 -0
  98. package/dist/chunks/{image-1361eat1.js → file-96vdq9fw.js} +9 -9
  99. package/dist/chunks/{image-x1yv39pn.js → file-9cvk2t4j.js} +168 -168
  100. package/dist/chunks/{image-nnjacqg1.js → file-9d4g2rgm.js} +3 -3
  101. package/dist/chunks/{image-tb7b58hr.js → file-9m9h8fve.js} +5 -5
  102. package/dist/chunks/{image-npx37cxs.js → file-9xqd5pe1.js} +28 -28
  103. package/dist/chunks/{image-y5ks5t0g.js → file-a313qmz8.js} +25 -25
  104. package/dist/chunks/{image-kxjbraxt.js → file-a7atmr7r.js} +22 -22
  105. package/dist/chunks/{image-aaet6srn.js → file-aaet6srn.js} +2 -2
  106. package/dist/chunks/{image-j83byb14.js → file-an7cqtb7.js} +4 -4
  107. package/dist/chunks/{image-erxttzdb.js → file-as3hmkts.js} +12 -12
  108. package/dist/chunks/{image-hhw8xstx.js → file-atwefz46.js} +3 -3
  109. package/dist/chunks/{image-8ads4nte.js → file-ayykrmcz.js} +32 -32
  110. package/dist/chunks/{image-sqp8kdc3.js → file-b1ers0rt.js} +15 -15
  111. package/dist/chunks/{image-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{image-jgts6fy0.js → file-bade5gr5.js} +3 -3
  113. package/dist/chunks/{image-13x3xvzj.js → file-bcnbwanc.js} +19 -19
  114. package/dist/chunks/{image-m4ywmv3t.js → file-bem8brcd.js} +4 -4
  115. package/dist/chunks/{image-036p5t1s.js → file-bp02r99k.js} +4 -4
  116. package/dist/chunks/{image-9qtp6n1k.js → file-bv2epnby.js} +30 -30
  117. package/dist/chunks/{image-phnm1pec.js → file-bwm9bx21.js} +3 -3
  118. package/dist/chunks/{image-ytqj6kad.js → file-bypvmvbc.js} +5 -5
  119. package/dist/chunks/{image-pb1eahw5.js → file-c1495ybz.js} +5 -5
  120. package/dist/chunks/{image-yf4jcbx9.js → file-ccfa4wxs.js} +6 -6
  121. package/dist/chunks/{image-cmwkp3r5.js → file-cmwkp3r5.js} +1 -1
  122. package/dist/chunks/{image-cwa6csj7.js → file-cwa6csj7.js} +2 -2
  123. package/dist/chunks/{image-21mwcfey.js → file-d0edxsh7.js} +19 -19
  124. package/dist/chunks/{image-n0bnpkq1.js → file-d1j0qnxw.js} +15 -15
  125. package/dist/chunks/{image-6kyk1s1d.js → file-d5jzmsg2.js} +13 -13
  126. package/dist/chunks/{image-tkt8k2an.js → file-d7fqxd0w.js} +20 -20
  127. package/dist/chunks/{image-qkb9ksse.js → file-d7w252zj.js} +27 -27
  128. package/dist/chunks/{image-6q20z57g.js → file-d93gxzhm.js} +14 -14
  129. package/dist/chunks/{image-5n1tag38.js → file-de9ewzfh.js} +13 -13
  130. package/dist/chunks/{image-2fg7feb3.js → file-df6g96g5.js} +5 -5
  131. package/dist/chunks/{image-dj2t23y0.js → file-dj2t23y0.js} +2 -2
  132. package/dist/chunks/{image-gcaewnb3.js → file-dj631km8.js} +6 -6
  133. package/dist/chunks/{image-9n5m0pzr.js → file-djqf8388.js} +34 -34
  134. package/dist/chunks/{image-v0cj4jgk.js → file-dkm5q57s.js} +95 -95
  135. package/dist/chunks/{image-e83b4wjw.js → file-dkn9b9f5.js} +9 -9
  136. package/dist/chunks/{image-y71avatq.js → file-dpkg50ah.js} +4 -4
  137. package/dist/chunks/{image-tvqm6ts3.js → file-dq8nh84r.js} +16 -16
  138. package/dist/chunks/{image-bbvn5bpq.js → file-dqezrhz2.js} +25 -25
  139. package/dist/chunks/file-dxj72tfx.js +18 -0
  140. package/dist/chunks/{image-g2dvk4e7.js → file-e8mvkq4k.js} +17 -17
  141. package/dist/chunks/{image-61pe7ftv.js → file-e8nv9k1e.js} +7 -7
  142. package/dist/chunks/{image-pecb0brz.js → file-ead3g9p8.js} +5 -5
  143. package/dist/chunks/{image-eaj1djv9.js → file-eaj1djv9.js} +1 -1
  144. package/dist/chunks/{image-7qky9ae7.js → file-ee73fed3.js} +47 -47
  145. package/dist/chunks/{image-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{image-j59qwfbj.js → file-eq0qfh2k.js} +34 -34
  147. package/dist/chunks/{image-erw5rpbs.js → file-erw5rpbs.js} +2 -2
  148. package/dist/chunks/{image-7yjzmpmm.js → file-et91bqp9.js} +10 -10
  149. package/dist/chunks/{image-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{image-dj9sq318.js → file-evbgk2k8.js} +5 -5
  151. package/dist/chunks/{image-jdnp2mh3.js → file-evsjhyqp.js} +4 -4
  152. package/dist/chunks/{image-magykp64.js → file-f3ngv102.js} +4 -4
  153. package/dist/chunks/{image-kfaxk64y.js → file-f8e7pbj3.js} +11 -11
  154. package/dist/chunks/{image-qgn6gcr1.js → file-fcrkznn8.js} +5 -5
  155. package/dist/chunks/{image-p4wnq9w8.js → file-fr6sv4wz.js} +15 -15
  156. package/dist/chunks/{image-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  157. package/dist/chunks/{image-0k7zad8a.js → file-g0bdsd7s.js} +7 -7
  158. package/dist/chunks/{image-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{image-096mz8kq.js → file-gfnjd6a9.js} +5 -5
  160. package/dist/chunks/{image-v0a3n2n2.js → file-gghxsv2g.js} +32 -32
  161. package/dist/chunks/{image-hare45ya.js → file-gkbem5z3.js} +31 -31
  162. package/dist/chunks/{image-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{image-hwxt3g9r.js → file-gw23creq.js} +33 -33
  164. package/dist/chunks/{image-rwp78atz.js → file-h0qt5e5y.js} +3 -3
  165. package/dist/chunks/{image-wnt6v6p0.js → file-h1a82ttv.js} +35 -35
  166. package/dist/chunks/{image-k4msv9rg.js → file-h41rq5z1.js} +25 -25
  167. package/dist/chunks/{image-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{image-q818k922.js → file-h85dz378.js} +8 -8
  169. package/dist/chunks/{image-9gda8h3b.js → file-haa19701.js} +4 -4
  170. package/dist/chunks/{image-hdnk95c8.js → file-hdnk95c8.js} +2 -2
  171. package/dist/chunks/{image-nesvm5v2.js → file-hg6thggv.js} +23 -23
  172. package/dist/chunks/{image-9gnetxtg.js → file-hp7eqkgq.js} +2 -2
  173. package/dist/chunks/{image-ybeakdkx.js → file-hx99ev5f.js} +15 -15
  174. package/dist/chunks/{image-8vzkmd2j.js → file-j33mnh1x.js} +24 -24
  175. package/dist/chunks/{image-ffg0s7y6.js → file-j381zx68.js} +35 -35
  176. package/dist/chunks/{image-j56e64zr.js → file-j56e64zr.js} +1 -1
  177. package/dist/chunks/{image-j7t2khjb.js → file-j7t2khjb.js} +3 -3
  178. package/dist/chunks/{image-j699j8bt.js → file-jca4demv.js} +2 -2
  179. package/dist/chunks/{image-e8ymqar5.js → file-jcemy7wp.js} +74 -74
  180. package/dist/chunks/{image-sxz6gkc3.js → file-jfqtm2ew.js} +7 -7
  181. package/dist/chunks/{image-2b1p80hb.js → file-jjpeq0x6.js} +19 -19
  182. package/dist/chunks/{image-djazf891.js → file-k13v7s70.js} +20 -20
  183. package/dist/chunks/{image-thrv2w6y.js → file-k2ceccft.js} +5 -5
  184. package/dist/chunks/{image-fvgnskq7.js → file-k53nzgjr.js} +17 -17
  185. package/dist/chunks/{image-2gm71543.js → file-k56qavf2.js} +36 -36
  186. package/dist/chunks/{image-44ke2mar.js → file-k9kj6xed.js} +6 -6
  187. package/dist/chunks/{image-16tkqbq4.js → file-kvxz1nnx.js} +12 -12
  188. package/dist/chunks/{image-fkj783w2.js → file-kztag27a.js} +26 -26
  189. package/dist/chunks/{image-m0jqrx5p.js → file-m0jqrx5p.js} +2 -2
  190. package/dist/chunks/{image-m3fdjcah.js → file-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{image-ycnbsp3j.js → file-m6nr1r89.js} +11 -11
  192. package/dist/chunks/{image-m0bs8e2g.js → file-m7e4enkd.js} +43 -43
  193. package/dist/chunks/{image-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{image-8tpzrn2j.js → file-mhstgcjq.js} +11 -11
  195. package/dist/chunks/{image-7bpxshnk.js → file-mxvdmhxd.js} +11 -11
  196. package/dist/chunks/{image-8x7kb0dp.js → file-mzgjcq6e.js} +23 -23
  197. package/dist/chunks/{image-0996nyz8.js → file-n37c4crj.js} +2 -2
  198. package/dist/chunks/{image-4en9k6ag.js → file-n9hnzybb.js} +23 -23
  199. package/dist/chunks/{image-0r3xy393.js → file-nbep77rb.js} +18 -18
  200. package/dist/chunks/{image-ndqtf2h8.js → file-ndqtf2h8.js} +1 -1
  201. package/dist/chunks/{image-m2d0j7c0.js → file-nscznvay.js} +9 -9
  202. package/dist/chunks/{image-rfxgs9t3.js → file-nwswft9z.js} +1 -1
  203. package/dist/chunks/{image-k3c624dm.js → file-nzks3jc8.js} +3 -3
  204. package/dist/chunks/{image-1rj7qwbn.js → file-p11pfbbp.js} +20 -20
  205. package/dist/chunks/{image-p28j5sbe.js → file-p28j5sbe.js} +2 -2
  206. package/dist/chunks/{image-ye2ymfh9.js → file-p41fbzgp.js} +6 -6
  207. package/dist/chunks/{image-s7zd2jzd.js → file-p8s1tbxz.js} +29 -29
  208. package/dist/chunks/{image-dv747h8f.js → file-p8tq6xht.js} +16 -16
  209. package/dist/chunks/{image-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{image-pknna89w.js → file-pknna89w.js} +1 -1
  211. package/dist/chunks/{image-tst491ea.js → file-pq65tk6f.js} +10 -10
  212. package/dist/chunks/{image-s93dsjvp.js → file-px76j0pk.js} +9 -9
  213. package/dist/chunks/{image-pk2244jm.js → file-q3t37ft6.js} +3 -3
  214. package/dist/chunks/{image-d8hn99j1.js → file-qkxsz2mg.js} +15 -15
  215. package/dist/chunks/{image-qsdy395h.js → file-qsdy395h.js} +1 -1
  216. package/dist/chunks/{image-b8hzf7nw.js → file-r4xn8cgd.js} +5 -5
  217. package/dist/chunks/{image-cr5e6c9v.js → file-r52efjxa.js} +46 -46
  218. package/dist/chunks/{image-rdw6cm16.js → file-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{image-yp2x3t23.js → file-rhraev7y.js} +4 -4
  220. package/dist/chunks/{image-w4arg62q.js → file-rph3zd4r.js} +4 -4
  221. package/dist/chunks/{image-da8am2av.js → file-rtkpxbf2.js} +22 -22
  222. package/dist/chunks/{image-9espvn2j.js → file-ry1kfgw7.js} +28 -28
  223. package/dist/chunks/{image-3v2q00bj.js → file-s0bk0r1z.js} +13 -13
  224. package/dist/chunks/{image-d090tx9v.js → file-s6c03qyq.js} +17 -17
  225. package/dist/chunks/{image-r9232fht.js → file-s7y6nykf.js} +20 -20
  226. package/dist/chunks/{image-bejcrqds.js → file-safzyg6n.js} +14 -14
  227. package/dist/chunks/{image-remj23m8.js → file-sw35dprj.js} +5 -5
  228. package/dist/chunks/{image-7j5hs8df.js → file-t1q5pb01.js} +4 -4
  229. package/dist/chunks/{image-53md4s8b.js → file-t4ep399p.js} +12 -12
  230. package/dist/chunks/{image-4zxrr8c3.js → file-t69pkn8h.js} +14 -14
  231. package/dist/chunks/{image-0tesc0cp.js → file-tac0hfxd.js} +59 -59
  232. package/dist/chunks/{image-9qda3fsd.js → file-targrq6s.js} +9 -9
  233. package/dist/chunks/{image-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{image-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{image-tdstcens.js → file-tdstcens.js} +1 -1
  236. package/dist/chunks/{image-bjdzf017.js → file-tkmzzze4.js} +21 -21
  237. package/dist/chunks/{image-rpg9c19m.js → file-ttqh24zm.js} +4 -4
  238. package/dist/chunks/{image-h2mxsdb2.js → file-ttzf9e0x.js} +28 -28
  239. package/dist/chunks/{image-c4056kjb.js → file-tv8tew1t.js} +20 -20
  240. package/dist/chunks/{image-tvtrv512.js → file-tvtrv512.js} +1 -1
  241. package/dist/chunks/{image-6xrxpe8b.js → file-tzdy52s7.js} +13 -13
  242. package/dist/chunks/{image-rv5rhnwn.js → file-v5gzehfd.js} +6 -6
  243. package/dist/chunks/{image-4y72ap3v.js → file-vadan2xk.js} +12 -12
  244. package/dist/chunks/{image-veqvce7d.js → file-veqvce7d.js} +1 -1
  245. package/dist/chunks/{image-gz8ekwtz.js → file-vsmvdy9p.js} +11 -11
  246. package/dist/chunks/{image-z0eq1mse.js → file-vtm79yg5.js} +11 -11
  247. package/dist/chunks/{image-vevjmzcs.js → file-vx7aa5m2.js} +22 -22
  248. package/dist/chunks/{image-m7x6mvdf.js → file-vy9gj3hz.js} +7 -7
  249. package/dist/chunks/{image-a694798e.js → file-vykevjvn.js} +5 -5
  250. package/dist/chunks/{image-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{image-jdxnr9v5.js → file-w1ezb4ke.js} +14 -14
  252. package/dist/chunks/{image-msq0jde0.js → file-w1k39n5e.js} +4 -4
  253. package/dist/chunks/{image-wv1a429p.js → file-w2a5z8kt.js} +8 -8
  254. package/dist/chunks/{image-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{image-kxb46qvg.js → file-w8vgje9p.js} +7 -7
  256. package/dist/chunks/{image-c60yd45z.js → file-w9nahaws.js} +11 -11
  257. package/dist/chunks/{image-wd87259q.js → file-wd87259q.js} +1 -1
  258. package/dist/chunks/{image-jvgf4mts.js → file-wf5bnb3c.js} +37 -37
  259. package/dist/chunks/{image-h868bt0t.js → file-wrxzva30.js} +10 -10
  260. package/dist/chunks/{image-wsw7wh6v.js → file-x00jkr1b.js} +42 -42
  261. package/dist/chunks/{image-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/file-xb0ahqs4.js +26 -0
  263. package/dist/chunks/{image-xynqawvq.js → file-xfhar90w.js} +16 -16
  264. package/dist/chunks/{image-xfkkasph.js → file-xfkkasph.js} +1 -1
  265. package/dist/chunks/{image-6ae436se.js → file-xgj79bh7.js} +19 -19
  266. package/dist/chunks/{image-tvzewt7x.js → file-xhd31qk1.js} +5 -5
  267. package/dist/chunks/{image-ea64kw3d.js → file-xm7z07hf.js} +19 -19
  268. package/dist/chunks/{image-8mp5am81.js → file-xqc9z03y.js} +12 -12
  269. package/dist/chunks/{image-5fkza10m.js → file-xvfb9kxe.js} +5 -5
  270. package/dist/chunks/{image-tdfwg5cp.js → file-xxnqwd1r.js} +37 -37
  271. package/dist/chunks/{image-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{image-jp0sq0c2.js → file-y1s26r5f.js} +19 -19
  273. package/dist/chunks/{image-799r1xjp.js → file-y3qff3a1.js} +5 -5
  274. package/dist/chunks/{image-740h8prc.js → file-y9heqbmp.js} +24 -24
  275. package/dist/chunks/{image-q27m98z5.js → file-ygwg1shg.js} +6 -6
  276. package/dist/chunks/{image-njc7fd3x.js → file-ymd9ngfh.js} +24 -24
  277. package/dist/chunks/{image-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{image-aszzyynm.js → file-yrn7vwjt.js} +11 -11
  279. package/dist/chunks/{image-yrznvahk.js → file-yrznvahk.js} +2 -2
  280. package/dist/chunks/{image-9c3np669.js → file-yvvvp4gn.js} +8 -8
  281. package/dist/chunks/{image-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{image-z63w68vq.js → file-z63w68vq.js} +2 -2
  283. package/dist/chunks/{image-6z0kz2ac.js → file-z9k7j840.js} +16 -16
  284. package/dist/chunks/{image-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{image-5sea6wyy.js → file-zhgmxcrc.js} +85 -85
  286. package/dist/chunks/{image-4r4gs5bv.js → file-zpyz6kjf.js} +8 -8
  287. package/dist/chunks/{image-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{image-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +3 -3
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +120 -120
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +123 -123
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +96 -96
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +97 -97
  428. package/dist/form.js +81 -81
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +100 -100
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +99 -99
  473. package/dist/mcp/instructions.js +123 -123
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +95 -95
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -112
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +99 -99
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/compaction.js +130 -130
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +1 -1
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +73 -73
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +138 -138
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +347 -347
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +2 -2
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +2 -2
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +4 -4
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +4 -4
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +83 -83
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +85 -85
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +86 -86
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +3 -3
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +131 -131
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +223 -223
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +87 -87
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +76 -76
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +95 -95
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +123 -123
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +74 -74
  613. package/dist/session/store.js +86 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +153 -153
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +222 -222
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +217 -217
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +105 -105
  630. package/dist/snapshot.js +92 -92
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +121 -121
  638. package/dist/tool/plugin/grep.js +121 -121
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +109 -109
  647. package/dist/tool/plugin/websearch.js +113 -113
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +3 -3
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +1 -1
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +90 -90
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +86 -86
  682. package/dist/websearch.js +79 -79
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +8 -8
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +93 -93
  693. package/package.json +8 -8
  694. package/dist/chunks/image-511hynh8.js +0 -252
  695. package/dist/chunks/image-p1y881a7.js +0 -26
  696. package/dist/chunks/image-rap9a73h.js +0 -18
  697. /package/dist/chunks/{image-0mesazry.js → file-0mesazry.js} +0 -0
  698. /package/dist/chunks/{image-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{image-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{image-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{image-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{image-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{image-24dcb14g.js → file-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{image-2710q6r3.js → file-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{image-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{image-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{image-359p4xyc.js → file-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{image-3asan66x.js → file-3asan66x.js} +0 -0
  709. /package/dist/chunks/{image-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{image-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{image-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{image-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{image-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{image-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{image-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{image-53557ph1.js → file-53557ph1.js} +0 -0
  717. /package/dist/chunks/{image-550bvhaj.js → file-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{image-5qd3pb7m.js → file-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{image-6prwharc.js → file-6prwharc.js} +0 -0
  720. /package/dist/chunks/{image-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{image-7m9af43g.js → file-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{image-822emrt2.js → file-822emrt2.js} +0 -0
  723. /package/dist/chunks/{image-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{image-8n3pysct.js → file-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{image-922hggd3.js → file-922hggd3.js} +0 -0
  726. /package/dist/chunks/{image-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{image-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{image-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{image-af5trqkr.js → file-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{image-afrmfg78.js → file-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{image-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{image-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{image-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{image-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{image-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{image-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{image-d9fn303g.js → file-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{image-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{image-dajrwvna.js → file-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{image-dap0rakb.js → file-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{image-df08tz66.js → file-df08tz66.js} +0 -0
  742. /package/dist/chunks/{image-dy18nga0.js → file-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{image-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{image-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{image-ec1grn59.js → file-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{image-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{image-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{image-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{image-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{image-faypxj3z.js → file-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{image-fd410y7t.js → file-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{image-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{image-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{image-g86h250q.js → file-g86h250q.js} +0 -0
  755. /package/dist/chunks/{image-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{image-gftt206x.js → file-gftt206x.js} +0 -0
  757. /package/dist/chunks/{image-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{image-hk9envan.js → file-hk9envan.js} +0 -0
  759. /package/dist/chunks/{image-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{image-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{image-jjkms2e6.js → file-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{image-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{image-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{image-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{image-mp448xyj.js → file-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{image-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{image-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{image-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{image-njntx4h6.js → file-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{image-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{image-q74kybfr.js → file-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{image-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{image-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{image-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{image-qg3g05ea.js → file-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{image-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{image-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{image-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{image-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{image-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{image-twg0f83k.js → file-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{image-w803qqfp.js → file-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{image-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{image-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{image-wtztk69x.js → file-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{image-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{image-x61499pn.js → file-x61499pn.js} +0 -0
  788. /package/dist/chunks/{image-y44na4kk.js → file-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{image-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{image-y8f7s663.js → file-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{image-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{image-ym463w8f.js → file-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{image-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./file-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: () => Plugin42,
11
+ Plugin: () => Plugin20,
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 Plugin42 = {
67
+ var Plugin20 = {
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 Plugin42 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin42, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin20, exports_opencode };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./image-8arcc1g8.js";
5
- import {
6
- latestSequence2,
7
2
  Service82,
8
3
  node86
9
- } from "./image-yk94a6e0.js";
4
+ } from "./file-2zqpyx7j.js";
5
+ import {
6
+ latestSequence2,
7
+ Service81,
8
+ node85
9
+ } from "./file-4091at3p.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./image-5t3nmthw.js";
12
+ } from "./file-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./image-ec1grn59.js";
15
+ } from "./file-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./image-4r4gs5bv.js";
18
+ } from "./file-zpyz6kjf.js";
19
19
  import {
20
- Service60,
21
- node62
22
- } from "./image-fvgnskq7.js";
20
+ Service75,
21
+ node79
22
+ } from "./file-k53nzgjr.js";
23
23
  import {
24
- Service30,
25
- node33
26
- } from "./image-5sea6wyy.js";
24
+ Service28,
25
+ node32
26
+ } from "./file-zhgmxcrc.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./image-tdstcens.js";
30
+ } from "./file-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./image-9rqn6x4v.js";
33
+ } from "./file-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
41
  layer: () => layer3,
42
- node: () => node3
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
- const bus = yield* Service82;
61
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
+ const bus = yield* Service81;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service30;
65
- const store = yield* Service60;
66
- const db = (yield* Service83).db;
64
+ const context = yield* Service28;
65
+ const store = yield* Service75;
66
+ const db = (yield* Service82).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service2.of({ generate });
148
+ return Service3.of({ generate });
149
149
  }));
150
- var node3 = makeLocationNode({
151
- service: Service2,
150
+ var node4 = makeLocationNode({
151
+ service: Service3,
152
152
  layer: layer3,
153
- deps: [node86, llmClient2, node33, node62, node87]
153
+ deps: [node85, llmClient2, node32, node79, node86]
154
154
  });
155
155
 
156
- export { Service2, isUntitled2, layer3, node3, exports_title };
156
+ export { Service3, isUntitled2, layer3, node4, exports_title };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./image-wnt6v6p0.js";
2
+ ID9
3
+ } from "./file-h1a82ttv.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID12.make(id);
27
+ const providerID = ID9.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID13,
3
- Service71
4
- } from "./image-ajznkaye.js";
2
+ ID10,
3
+ Service67
4
+ } from "./file-8pryv8c2.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service71;
12
+ const integrations = yield* Service67;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID13.make(item.provider.id)))
22
+ if (!configured.has(ID10.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./image-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
- Info15
6
- } from "./image-magykp64.js";
5
+ Info18
6
+ } from "./file-f3ngv102.js";
7
7
  import {
8
8
  __export
9
- } from "./image-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info15)
47
+ permission: Schema.optional(Info18)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service54,
10
- node: () => node56
9
+ Service: () => Service56,
10
+ node: () => node60
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service54 extends Context.Service()("@opencode/Instance") {
16
+ class Service56 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node56 = LayerNode.unbound(Service54, Node.tags.values.global);
18
+ var node60 = LayerNode.unbound(Service56, Node.tags.values.global);
19
19
 
20
- export { Service54, node56, exports_service2 };
20
+ export { Service56, node60, exports_service2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./image-rdw6cm16.js";
3
+ } from "./file-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-h868bt0t.js";
3
+ } from "./file-wrxzva30.js";
4
4
  import {
5
- Service82
6
- } from "./image-yk94a6e0.js";
5
+ Service81
6
+ } from "./file-4091at3p.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./image-y79k1xra.js";
9
+ Event17
10
+ } from "./file-4brxhqy9.js";
11
11
  import {
12
- ID13,
12
+ ID10,
13
13
  MethodID2
14
- } from "./image-ajznkaye.js";
14
+ } from "./file-8pryv8c2.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./image-pjvnvgmy.js";
18
+ } from "./file-pjvnvgmy.js";
19
19
  import {
20
- ID12,
20
+ ID9,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./image-wnt6v6p0.js";
23
+ } from "./file-h1a82ttv.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID13.make("openai"),
47
+ integrationID: ID10.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID13.make("openai"),
120
+ integrationID: ID10.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,10 +159,10 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin2 = define({
162
+ var OpenAIPlugin3 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service82;
165
+ const bus = yield* Service81;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.provider.transform((providers) => {
181
- const item = providers.get(ID12.openai);
181
+ const item = providers.get(ID9.openai);
182
182
  if (!item)
183
183
  return;
184
184
  const account = chatgpt?.metadata?.accountID;
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
197
197
  });
198
198
  });
199
199
  yield* ctx.model.transform((models) => {
200
- for (const model of models.list(ID12.openai)) {
200
+ for (const model of models.list(ID9.openai)) {
201
201
  models.update(model.providerID, model.id, (draft) => {
202
202
  if (!chatgpt)
203
203
  return;
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
225
225
  evt.baseURL = codexBaseURL;
226
226
  evt.headers.originator = "opencode";
227
227
  evt.headers["session-id"] = evt.sessionID;
228
- }), { providerID: ID12.openai });
228
+ }), { providerID: ID9.openai });
229
229
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
230
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
231
231
  })
232
232
  });
233
233
  function headers(contentType, app) {
@@ -318,4 +318,4 @@ function claim(token) {
318
318
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
319
319
  }
320
320
 
321
- export { OpenAIPlugin2 };
321
+ export { OpenAIPlugin3 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
- Info18,
6
- ID5,
5
+ Info10,
6
+ ID7,
7
7
  Name2
8
- } from "./image-6ae436se.js";
8
+ } from "./file-xgj79bh7.js";
9
9
  import {
10
- Service43
11
- } from "./image-cr5e6c9v.js";
10
+ Service61
11
+ } from "./file-r52efjxa.js";
12
12
  import {
13
13
  __export
14
- } from "./image-9rqn6x4v.js";
14
+ } from "./file-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill = {};
18
18
  __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin14,
21
+ Plugin: () => Plugin10,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill
24
24
  });
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin14 = define({
428
+ var Plugin10 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info18.make({
434
- id: ID5.make("opencode"),
433
+ editor.add(Info10.make({
434
+ id: ID7.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info18.make({
441
- id: ID5.make("report"),
440
+ editor.add(Info10.make({
441
+ id: ID7.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service43;
469
+ const config = yield* Service61;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin14, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin10, exports_skill };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./image-bejcrqds.js";
2
+ Service79,
3
+ node83
4
+ } from "./file-safzyg6n.js";
5
5
  import {
6
6
  Key4,
7
7
  make21,
8
8
  combine2
9
- } from "./image-eaj1djv9.js";
9
+ } from "./file-eaj1djv9.js";
10
10
  import {
11
11
  __export
12
- } from "./image-9rqn6x4v.js";
12
+ } from "./file-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service34,
19
- node: () => node37
18
+ Service: () => Service30,
19
+ node: () => node34
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service34 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service34, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service78;
29
- return Service34.of({
28
+ const location = yield* Service79;
29
+ return Service30.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
31
  make21({
32
32
  key: Key4.make("core/environment"),
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node37 = makeLocationNode({ service: Service34, layer, deps: [Global.node, node82] });
64
+ var node34 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node83] });
65
65
 
66
- export { Service34, node37, exports_builtins };
66
+ export { Service30, node34, exports_builtins };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./image-yk94a6e0.js";
2
+ Service81,
3
+ node85
4
+ } from "./file-4091at3p.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./image-tazgh4e4.js";
9
+ } from "./file-tazgh4e4.js";
10
10
  import {
11
- Service78,
12
- node82
13
- } from "./image-bejcrqds.js";
11
+ Service79,
12
+ node83
13
+ } from "./file-safzyg6n.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./image-rdw6cm16.js";
17
+ } from "./file-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./image-9rqn6x4v.js";
20
+ } from "./file-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -28,9 +28,9 @@ __export(exports_vcs, {
28
28
  FileStatus: () => FileStatus2,
29
29
  Info: () => Info4,
30
30
  Mode: () => Mode2,
31
- Service: () => Service18,
31
+ Service: () => Service19,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node21
33
+ node: () => node22
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service18 extends Context.Service()("@opencode/Vcs") {
48
+ class Service19 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service18, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service78;
53
- const bus = yield* Service82;
52
+ const location = yield* Service79;
53
+ const bus = yield* Service81;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  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 }));
120
120
  }
121
- return Service18.of({
121
+ return Service19.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node21 = makeLocationNode({
168
- service: Service18,
167
+ var node22 = makeLocationNode({
168
+ service: Service19,
169
169
  layer,
170
- deps: [FSUtil.node, node82, node86]
170
+ deps: [FSUtil.node, node83, node85]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service18, node21, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service19, node22, exports_vcs };