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

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 (794) 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 +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{git-c6ds0c94.js → image-036p5t1s.js} +4 -4
  8. package/dist/chunks/{git-hz84tk5e.js → image-05xfxpq7.js} +8 -8
  9. package/dist/chunks/{git-ph7261hm.js → image-096mz8kq.js} +3 -3
  10. package/dist/chunks/{git-njhqdk9p.js → image-0996nyz8.js} +8 -8
  11. package/dist/chunks/{git-3c60n5rg.js → image-0k7zad8a.js} +12 -12
  12. package/dist/chunks/{git-aamtrqep.js → image-0ke265bw.js} +9 -9
  13. package/dist/chunks/{git-wx3m0z92.js → image-0m3w2t1r.js} +11 -11
  14. package/dist/chunks/{git-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{git-0q0f95c6.js → image-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{git-43nsyqa5.js → image-0r3xy393.js} +23 -23
  17. package/dist/chunks/{git-3cjhgjje.js → image-0tesc0cp.js} +59 -59
  18. package/dist/chunks/{git-288kk2p1.js → image-0zhzd60j.js} +7 -7
  19. package/dist/chunks/{git-ha8vn221.js → image-125x6jc5.js} +13 -13
  20. package/dist/chunks/{git-3pe4e59h.js → image-1361eat1.js} +15 -15
  21. package/dist/chunks/{git-xchesy5b.js → image-13x3xvzj.js} +19 -19
  22. package/dist/chunks/{git-3hj12f9s.js → image-16tkqbq4.js} +12 -12
  23. package/dist/chunks/{git-9znc1w06.js → image-17e5z2kv.js} +44 -44
  24. package/dist/chunks/{git-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{git-hf4whmtg.js → image-1fvpqx3e.js} +1 -1
  26. package/dist/chunks/{git-8hnmhdsn.js → image-1rj7qwbn.js} +23 -23
  27. package/dist/chunks/{git-56gdpj1q.js → image-1ygqh575.js} +9 -9
  28. package/dist/chunks/{git-xdd5m13n.js → image-21mwcfey.js} +19 -19
  29. package/dist/chunks/{git-21r38tys.js → image-21r38tys.js} +1 -1
  30. package/dist/chunks/{git-pqqx5r28.js → image-21xfqssn.js} +28 -28
  31. package/dist/chunks/{git-sk9aqj88.js → image-23gvq6ep.js} +32 -32
  32. package/dist/chunks/{git-2402vzrj.js → image-2402vzrj.js} +1 -1
  33. package/dist/chunks/{git-dy3fdsce.js → image-27q2gfj6.js} +30 -30
  34. package/dist/chunks/{git-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{git-b4etar07.js → image-2b1p80hb.js} +32 -32
  36. package/dist/chunks/{git-tr4gpxdj.js → image-2fg7feb3.js} +10 -10
  37. package/dist/chunks/{git-0vm7ymqn.js → image-2fqe24zy.js} +10 -10
  38. package/dist/chunks/{git-8g9s2qm2.js → image-2gm71543.js} +36 -36
  39. package/dist/chunks/{git-vh4e3tf6.js → image-38rmxb2h.js} +8 -8
  40. package/dist/chunks/{git-3hr1140z.js → image-3e2sbbgt.js} +20 -20
  41. package/dist/chunks/{git-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{git-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{git-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{git-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{git-g2rg0ym0.js → image-3v2q00bj.js} +13 -13
  46. package/dist/chunks/{git-bjn91642.js → image-3ythc6yv.js} +4 -4
  47. package/dist/chunks/{git-ckpezhnz.js → image-43365wyy.js} +28 -28
  48. package/dist/chunks/{git-fkjmw100.js → image-44ke2mar.js} +6 -6
  49. package/dist/chunks/{git-h6r3nrb9.js → image-4dgbcxzg.js} +4 -4
  50. package/dist/chunks/{git-cg9hks8v.js → image-4en9k6ag.js} +20 -20
  51. package/dist/chunks/{git-er2nv8wb.js → image-4r4gs5bv.js} +8 -8
  52. package/dist/chunks/{git-qrvxy8qx.js → image-4y72ap3v.js} +12 -12
  53. package/dist/chunks/{git-4p5t2wp7.js → image-4z1052x1.js} +13 -13
  54. package/dist/chunks/{git-teypzqam.js → image-4zxrr8c3.js} +11 -11
  55. package/dist/chunks/image-511hynh8.js +252 -0
  56. package/dist/chunks/{git-dfvnyc1p.js → image-53md4s8b.js} +12 -12
  57. package/dist/chunks/{git-yffsrks6.js → image-5bds7g24.js} +34 -34
  58. package/dist/chunks/{git-a1bz86dw.js → image-5c4hm403.js} +3 -3
  59. package/dist/chunks/{git-dvn4kdj3.js → image-5cyh5ysx.js} +15 -15
  60. package/dist/chunks/{git-5daktx2q.js → image-5daktx2q.js} +1 -1
  61. package/dist/chunks/{git-aze3g556.js → image-5fkza10m.js} +7 -7
  62. package/dist/chunks/{git-r9hg784z.js → image-5mwyragx.js} +25 -25
  63. package/dist/chunks/{git-wejqvva8.js → image-5n1tag38.js} +16 -16
  64. package/dist/chunks/{git-cdbm2jpq.js → image-5rt7nyka.js} +13 -13
  65. package/dist/chunks/{git-rymrqawx.js → image-5sea6wyy.js} +89 -89
  66. package/dist/chunks/{git-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{git-wb6nw9s2.js → image-61pe7ftv.js} +7 -7
  68. package/dist/chunks/{git-669tq793.js → image-669tq793.js} +1 -1
  69. package/dist/chunks/{git-74b6haq2.js → image-685zzjpb.js} +33 -33
  70. package/dist/chunks/{git-1ns81jp7.js → image-6ae436se.js} +20 -20
  71. package/dist/chunks/{git-x6h9vts0.js → image-6dh17h6r.js} +5 -5
  72. package/dist/chunks/{git-9nxfh24q.js → image-6kyk1s1d.js} +16 -16
  73. package/dist/chunks/{git-6msgmcgs.js → image-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{git-23mw9n3k.js → image-6phjk5y4.js} +41 -41
  75. package/dist/chunks/{git-6ybsm94g.js → image-6q20z57g.js} +16 -16
  76. package/dist/chunks/{git-7vr3dmr2.js → image-6xrxpe8b.js} +13 -13
  77. package/dist/chunks/{git-w2xq192h.js → image-6z0kz2ac.js} +16 -16
  78. package/dist/chunks/{git-2nwjcwjm.js → image-740h8prc.js} +32 -32
  79. package/dist/chunks/{git-63nbkngr.js → image-7422bz05.js} +24 -24
  80. package/dist/chunks/{git-ggjkqpcf.js → image-78pdypyy.js} +15 -15
  81. package/dist/chunks/{git-1p4vxbgh.js → image-799r1xjp.js} +5 -5
  82. package/dist/chunks/{git-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{git-jk15xws4.js → image-7bpxshnk.js} +11 -11
  84. package/dist/chunks/{git-8cyahtjd.js → image-7j5hs8df.js} +4 -4
  85. package/dist/chunks/{git-d3vp4tvv.js → image-7qky9ae7.js} +47 -47
  86. package/dist/chunks/{git-bpjsqt6w.js → image-7v72e2sa.js} +15 -15
  87. package/dist/chunks/{git-ntazb8er.js → image-7yjzmpmm.js} +10 -10
  88. package/dist/chunks/{git-mq533pjk.js → image-86erpfar.js} +23 -23
  89. package/dist/chunks/{git-x039wt3r.js → image-8ads4nte.js} +29 -29
  90. package/dist/chunks/{git-6e6g2mqd.js → image-8arcc1g8.js} +3 -3
  91. package/dist/chunks/{git-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{git-ntf7ng8w.js → image-8mp5am81.js} +12 -12
  93. package/dist/chunks/{git-5s1mhvj6.js → image-8tpzrn2j.js} +14 -14
  94. package/dist/chunks/{git-tw48jm20.js → image-8vzkmd2j.js} +27 -27
  95. package/dist/chunks/{git-wwxvw6cz.js → image-8x7kb0dp.js} +26 -26
  96. package/dist/chunks/{git-p0j3v3px.js → image-9ajz18mq.js} +18 -18
  97. package/dist/chunks/{git-2aet7wja.js → image-9c3np669.js} +8 -8
  98. package/dist/chunks/{git-b8wnyzx7.js → image-9espvn2j.js} +44 -44
  99. package/dist/chunks/{git-v2fn5cje.js → image-9gda8h3b.js} +4 -4
  100. package/dist/chunks/{git-rprjdt61.js → image-9gnetxtg.js} +2 -2
  101. package/dist/chunks/{git-r40wg4tq.js → image-9n5m0pzr.js} +35 -35
  102. package/dist/chunks/{git-v2fywz06.js → image-9q6mkjsj.js} +14 -14
  103. package/dist/chunks/{git-vrqxrqyx.js → image-9qda3fsd.js} +9 -9
  104. package/dist/chunks/{git-q2k0k7gp.js → image-9qtp6n1k.js} +29 -29
  105. package/dist/chunks/{git-nhny46wm.js → image-a2ffvnhx.js} +17 -17
  106. package/dist/chunks/{git-5hx7d1d6.js → image-a694798e.js} +5 -5
  107. package/dist/chunks/{git-aaet6srn.js → image-aaet6srn.js} +2 -2
  108. package/dist/chunks/{git-hfdr1yjj.js → image-ae01ggp0.js} +4 -4
  109. package/dist/chunks/{git-0vrxxr1a.js → image-ajznkaye.js} +34 -34
  110. package/dist/chunks/{git-yxssrz9b.js → image-aszzyynm.js} +11 -11
  111. package/dist/chunks/{git-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{git-z1cbmdk8.js → image-b8hzf7nw.js} +8 -8
  113. package/dist/chunks/{git-xd2eepn7.js → image-bbvn5bpq.js} +23 -23
  114. package/dist/chunks/{git-p402qtyx.js → image-bejcrqds.js} +17 -17
  115. package/dist/chunks/{git-0e4jjwrw.js → image-bjdzf017.js} +24 -24
  116. package/dist/chunks/{git-g1sxm558.js → image-bjmt3h04.js} +8 -8
  117. package/dist/chunks/{git-pce1006a.js → image-c3wa40ms.js} +21 -21
  118. package/dist/chunks/{git-g6kej4xb.js → image-c4056kjb.js} +15 -15
  119. package/dist/chunks/{git-16y6wkws.js → image-c60yd45z.js} +11 -11
  120. package/dist/chunks/{git-8fsvhpfh.js → image-cke3a6ft.js} +8 -8
  121. package/dist/chunks/{git-czfptnv9.js → image-cmwkp3r5.js} +6 -6
  122. package/dist/chunks/{git-c49neaws.js → image-cr5e6c9v.js} +49 -49
  123. package/dist/chunks/{git-r2m716tb.js → image-cwa6csj7.js} +9 -9
  124. package/dist/chunks/{git-2bxa57sj.js → image-d090tx9v.js} +17 -17
  125. package/dist/chunks/{git-ftt4q9pv.js → image-d5y0ycpw.js} +10 -10
  126. package/dist/chunks/{git-618b53ja.js → image-d8hn99j1.js} +20 -20
  127. package/dist/chunks/{git-drmrsq1a.js → image-da8am2av.js} +22 -22
  128. package/dist/chunks/{git-84rbdpxz.js → image-decnw00n.js} +327 -327
  129. package/dist/chunks/{git-vw95j725.js → image-df03p2qx.js} +27 -27
  130. package/dist/chunks/{git-8p4f9s12.js → image-dj2t23y0.js} +2 -2
  131. package/dist/chunks/{git-78v47nsk.js → image-dj9sq318.js} +5 -5
  132. package/dist/chunks/{git-pecsbykn.js → image-djazf891.js} +20 -20
  133. package/dist/chunks/{git-zm1kgnct.js → image-dk1nkhy9.js} +28 -28
  134. package/dist/chunks/{git-w072qfac.js → image-dp32qy3n.js} +27 -27
  135. package/dist/chunks/{git-4r2mk5j3.js → image-dv747h8f.js} +18 -18
  136. package/dist/chunks/{git-bm3dpr67.js → image-e5feqydn.js} +4 -4
  137. package/dist/chunks/{git-1e3e3vry.js → image-e83b4wjw.js} +9 -9
  138. package/dist/chunks/{git-s7fy4fw9.js → image-e8ymqar5.js} +74 -74
  139. package/dist/chunks/{git-vhzwz6jw.js → image-ea64kw3d.js} +17 -17
  140. package/dist/chunks/{git-s8d7rejh.js → image-eaj1djv9.js} +6 -6
  141. package/dist/chunks/{git-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{git-erw5rpbs.js → image-erw5rpbs.js} +2 -2
  143. package/dist/chunks/{git-tafcm9s2.js → image-erxttzdb.js} +11 -11
  144. package/dist/chunks/{git-krbhq476.js → image-etbrhcmb.js} +50 -50
  145. package/dist/chunks/{git-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{git-zr3s38d1.js → image-exftq8yt.js} +14 -14
  147. package/dist/chunks/{git-ehsj7wt5.js → image-f81z5vps.js} +15 -15
  148. package/dist/chunks/{git-wajqq34j.js → image-ffg0s7y6.js} +33 -33
  149. package/dist/chunks/{git-yc72r6y6.js → image-fkj783w2.js} +28 -28
  150. package/dist/chunks/{git-5hv86fpb.js → image-fvgnskq7.js} +12 -12
  151. package/dist/chunks/{git-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{git-hka040n9.js → image-g2dvk4e7.js} +17 -17
  153. package/dist/chunks/{git-c6z42dag.js → image-gby52dfb.js} +31 -31
  154. package/dist/chunks/{git-gqft2nrr.js → image-gcaewnb3.js} +6 -6
  155. package/dist/chunks/{git-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{git-yjptyezs.js → image-gg7pg1rj.js} +5 -5
  157. package/dist/chunks/{git-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{git-5y69b4r6.js → image-gz8ekwtz.js} +11 -11
  159. package/dist/chunks/{git-17peyqa8.js → image-h2mxsdb2.js} +25 -25
  160. package/dist/chunks/{git-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{git-z3t6faa9.js → image-h868bt0t.js} +11 -11
  162. package/dist/chunks/{git-dkgfs7qs.js → image-hare45ya.js} +43 -43
  163. package/dist/chunks/{git-f828m53h.js → image-hdnk95c8.js} +2 -2
  164. package/dist/chunks/{git-sqsnjckg.js → image-her9e4hr.js} +11 -11
  165. package/dist/chunks/{git-zxv2zsm9.js → image-hhw8xstx.js} +9 -9
  166. package/dist/chunks/{git-7parea5t.js → image-hwxt3g9r.js} +36 -36
  167. package/dist/chunks/{git-j56e64zr.js → image-j56e64zr.js} +1 -1
  168. package/dist/chunks/{git-q288btcx.js → image-j59qwfbj.js} +38 -38
  169. package/dist/chunks/{git-a3r4dcrj.js → image-j699j8bt.js} +2 -2
  170. package/dist/chunks/{git-6jqkynh6.js → image-j7t2khjb.js} +14 -14
  171. package/dist/chunks/{git-pmr4s4kc.js → image-j83byb14.js} +4 -4
  172. package/dist/chunks/{git-9gz4yvws.js → image-jdnp2mh3.js} +4 -4
  173. package/dist/chunks/{git-sx705cz4.js → image-jdxnr9v5.js} +16 -16
  174. package/dist/chunks/{git-7qfnj7bd.js → image-jf3nzqf4.js} +9 -9
  175. package/dist/chunks/{git-ras1ee3t.js → image-jgts6fy0.js} +3 -3
  176. package/dist/chunks/{git-kczjb4tf.js → image-jp0sq0c2.js} +20 -20
  177. package/dist/chunks/{git-8xy4ymhm.js → image-jvgf4mts.js} +43 -43
  178. package/dist/chunks/{git-k3c624dm.js → image-k3c624dm.js} +3 -3
  179. package/dist/chunks/{git-fa0xf0qg.js → image-k4msv9rg.js} +25 -25
  180. package/dist/chunks/{git-fzgke8tr.js → image-kfaxk64y.js} +11 -11
  181. package/dist/chunks/{git-4wja9c2w.js → image-kqcs6dfg.js} +10 -10
  182. package/dist/chunks/{git-f5yy2vv1.js → image-kwwk4ft6.js} +9 -9
  183. package/dist/chunks/{git-pv119cyc.js → image-kxb46qvg.js} +9 -9
  184. package/dist/chunks/{git-r04dhbzm.js → image-kxjbraxt.js} +22 -22
  185. package/dist/chunks/{git-pf4sg1bc.js → image-m0bs8e2g.js} +54 -54
  186. package/dist/chunks/{git-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
  187. package/dist/chunks/{git-rhafb4aa.js → image-m2d0j7c0.js} +8 -8
  188. package/dist/chunks/{git-m3fdjcah.js → image-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{git-2689451z.js → image-m4ywmv3t.js} +4 -4
  190. package/dist/chunks/{git-brvw573r.js → image-m7x6mvdf.js} +10 -10
  191. package/dist/chunks/{git-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{git-sez5jh81.js → image-magykp64.js} +4 -4
  193. package/dist/chunks/{git-j028xdjb.js → image-mhkvc446.js} +3 -3
  194. package/dist/chunks/{git-5c0f1prt.js → image-msq0jde0.js} +4 -4
  195. package/dist/chunks/{git-jpd36d6c.js → image-n0bnpkq1.js} +15 -15
  196. package/dist/chunks/{git-wzg7zq6j.js → image-ndqtf2h8.js} +9 -9
  197. package/dist/chunks/{git-6sxa5bvt.js → image-nesvm5v2.js} +20 -20
  198. package/dist/chunks/{git-yjpwaj2n.js → image-njc7fd3x.js} +24 -24
  199. package/dist/chunks/{git-672beszh.js → image-nnjacqg1.js} +3 -3
  200. package/dist/chunks/{git-5scqd8ad.js → image-npx37cxs.js} +28 -28
  201. package/dist/chunks/{git-xkc5gz1n.js → image-nxxwwkwy.js} +11 -11
  202. package/dist/chunks/image-p1y881a7.js +26 -0
  203. package/dist/chunks/{git-tbz0fdvh.js → image-p28j5sbe.js} +5 -5
  204. package/dist/chunks/{git-ebc9nwad.js → image-p2f06z72.js} +11 -11
  205. package/dist/chunks/{git-mp3jt1vp.js → image-p4wnq9w8.js} +18 -18
  206. package/dist/chunks/{git-eyqq4r43.js → image-pb1eahw5.js} +8 -8
  207. package/dist/chunks/{git-p44d8wdy.js → image-pecb0brz.js} +5 -5
  208. package/dist/chunks/{git-3ewed21c.js → image-ph842b28.js} +4 -4
  209. package/dist/chunks/{git-jf362r72.js → image-phnm1pec.js} +3 -3
  210. package/dist/chunks/{git-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{git-jexxy024.js → image-pk2244jm.js} +3 -3
  212. package/dist/chunks/{git-pknna89w.js → image-pknna89w.js} +1 -1
  213. package/dist/chunks/{git-zhq6vg7a.js → image-pstg3rfm.js} +1 -1
  214. package/dist/chunks/{git-sxpyths9.js → image-q27m98z5.js} +3 -3
  215. package/dist/chunks/{git-858mqmds.js → image-q818k922.js} +8 -8
  216. package/dist/chunks/{git-x2d9qy7d.js → image-qdbakdjh.js} +5 -5
  217. package/dist/chunks/{git-0jwsre1p.js → image-qgn6gcr1.js} +5 -5
  218. package/dist/chunks/{git-6dt9rsqm.js → image-qkb9ksse.js} +27 -27
  219. package/dist/chunks/{git-qsdy395h.js → image-qsdy395h.js} +1 -1
  220. package/dist/chunks/{git-64af36b2.js → image-qx38d0n5.js} +11 -11
  221. package/dist/chunks/{git-njs7e820.js → image-r2d10xbt.js} +41 -41
  222. package/dist/chunks/{git-6j8cvwa1.js → image-r9232fht.js} +25 -25
  223. package/dist/chunks/image-rap9a73h.js +18 -0
  224. package/dist/chunks/{git-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{git-8erct5rq.js → image-remj23m8.js} +5 -5
  226. package/dist/chunks/{git-gjcbrjt5.js → image-rfxgs9t3.js} +1 -1
  227. package/dist/chunks/{git-kh9xs558.js → image-rk8wmvgg.js} +9 -9
  228. package/dist/chunks/{git-afdssyjb.js → image-rpg9c19m.js} +4 -4
  229. package/dist/chunks/{git-j63fa09p.js → image-rpp1r6qa.js} +53 -53
  230. package/dist/chunks/{git-9zajbvzp.js → image-rv5rhnwn.js} +6 -6
  231. package/dist/chunks/{git-2mcg4gas.js → image-rwp78atz.js} +6 -6
  232. package/dist/chunks/{git-zyyrtepr.js → image-s7zd2jzd.js} +26 -26
  233. package/dist/chunks/{git-1rh4yqvv.js → image-s93dsjvp.js} +9 -9
  234. package/dist/chunks/{git-ybhbtxjg.js → image-sc186k9x.js} +6 -6
  235. package/dist/chunks/{git-te19744a.js → image-sqp8kdc3.js} +17 -17
  236. package/dist/chunks/{git-0xs9q83d.js → image-ss3mtxdg.js} +4 -4
  237. package/dist/chunks/{git-tkmwgdpd.js → image-sxz6gkc3.js} +4 -4
  238. package/dist/chunks/{git-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{git-6gykz65j.js → image-tb7b58hr.js} +5 -5
  240. package/dist/chunks/{git-p2s4r87m.js → image-tc4mawtk.js} +3 -3
  241. package/dist/chunks/{git-89znhe33.js → image-tcezcvh9.js} +4 -4
  242. package/dist/chunks/{git-j8xg6mrm.js → image-tdfwg5cp.js} +45 -45
  243. package/dist/chunks/{git-tdstcens.js → image-tdstcens.js} +1 -1
  244. package/dist/chunks/{git-er6g6738.js → image-thrv2w6y.js} +5 -5
  245. package/dist/chunks/{git-by82rxdc.js → image-tkt8k2an.js} +23 -23
  246. package/dist/chunks/{git-xffg26zj.js → image-tst491ea.js} +10 -10
  247. package/dist/chunks/{git-zbxcgkb3.js → image-tvqm6ts3.js} +18 -18
  248. package/dist/chunks/{git-tvtrv512.js → image-tvtrv512.js} +1 -1
  249. package/dist/chunks/{git-x5cyaybx.js → image-tvzewt7x.js} +5 -5
  250. package/dist/chunks/{git-zh4jz90y.js → image-v0a3n2n2.js} +34 -34
  251. package/dist/chunks/{git-y0fr9ak9.js → image-v0cj4jgk.js} +95 -95
  252. package/dist/chunks/{git-veqvce7d.js → image-veqvce7d.js} +1 -1
  253. package/dist/chunks/{git-nc19f9d4.js → image-vevjmzcs.js} +22 -22
  254. package/dist/chunks/{git-vzcthcp8.js → image-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{git-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{git-0ft9cg2j.js → image-w4arg62q.js} +4 -4
  257. package/dist/chunks/{git-wd87259q.js → image-wd87259q.js} +1 -1
  258. package/dist/chunks/{git-c42wgx82.js → image-wnt6v6p0.js} +33 -33
  259. package/dist/chunks/{git-h2aa9ksg.js → image-wsw7wh6v.js} +44 -44
  260. package/dist/chunks/{git-ym0qxjj8.js → image-wv1a429p.js} +8 -8
  261. package/dist/chunks/{git-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{git-xgrh65hf.js → image-x1yv39pn.js} +183 -183
  263. package/dist/chunks/{git-pkn2k75h.js → image-x3mn157g.js} +4 -4
  264. package/dist/chunks/{git-drwq78ky.js → image-xfkkasph.js} +4 -4
  265. package/dist/chunks/image-xjfpeq55.js +65 -0
  266. package/dist/chunks/{git-1pp06av9.js → image-xynqawvq.js} +29 -29
  267. package/dist/chunks/{git-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{git-8e1b1gzh.js → image-y38ja4bc.js} +6 -6
  269. package/dist/chunks/{git-4vxbjmaf.js → image-y5ks5t0g.js} +24 -24
  270. package/dist/chunks/{git-y71avatq.js → image-y71avatq.js} +1 -1
  271. package/dist/chunks/{git-vayd41fe.js → image-y79k1xra.js} +33 -33
  272. package/dist/chunks/{git-1hyh35hc.js → image-ybeakdkx.js} +18 -18
  273. package/dist/chunks/{git-ar15xcmb.js → image-ycnbsp3j.js} +8 -8
  274. package/dist/chunks/{git-tjfg9936.js → image-ye2ymfh9.js} +6 -6
  275. package/dist/chunks/{git-fpq9acqp.js → image-yf4jcbx9.js} +6 -6
  276. package/dist/chunks/{git-bqcxmntf.js → image-yk94a6e0.js} +12 -12
  277. package/dist/chunks/{git-r8xr0va3.js → image-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{git-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{git-yrznvahk.js → image-yrznvahk.js} +2 -2
  280. package/dist/chunks/{git-43zf1p2c.js → image-ytqj6kad.js} +5 -5
  281. package/dist/chunks/{git-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{git-6yv4qapz.js → image-z0eq1mse.js} +11 -11
  283. package/dist/chunks/{git-7z7fdcae.js → image-z3ct0j69.js} +24 -24
  284. package/dist/chunks/{git-z63w68vq.js → image-z63w68vq.js} +2 -2
  285. package/dist/chunks/{git-zeh9ct20.js → image-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{git-vf09fb5w.js → image-zgfzjsp4.js} +21 -21
  287. package/dist/chunks/{git-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{git-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  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 +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  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 +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  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 +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +75 -75
  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 +1 -1
  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 +94 -94
  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 +6 -6
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +107 -107
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +104 -104
  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 +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +87 -87
  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 +88 -88
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +125 -125
  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 +97 -97
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +108 -108
  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 +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  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 +3 -3
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  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 +71 -71
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +4 -4
  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 +6 -6
  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 +8 -8
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +89 -89
  560. package/dist/provider.js +98 -98
  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 +93 -93
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +88 -88
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +94 -94
  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 +133 -133
  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 +152 -152
  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 +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +4 -4
  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 +97 -97
  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 +125 -125
  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 +171 -171
  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 +72 -72
  613. package/dist/session/store.js +84 -84
  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 +3 -3
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +219 -219
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +219 -219
  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 +11 -11
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +4 -4
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +107 -107
  630. package/dist/snapshot.js +90 -90
  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 +214 -214
  644. package/dist/tool/plugin/skill.js +112 -112
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +111 -111
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +119 -119
  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 +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  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 +7 -7
  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 +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +79 -79
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +78 -78
  685. package/dist/workspace/driver.js +5 -5
  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 +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/git-53q3ad7v.js +0 -252
  695. package/dist/chunks/git-9a3eyg4n.js +0 -26
  696. package/dist/chunks/git-q509s3k3.js +0 -18
  697. package/dist/chunks/git-ygkrcpmw.js +0 -65
  698. /package/dist/chunks/{git-0mesazry.js → image-0mesazry.js} +0 -0
  699. /package/dist/chunks/{git-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{git-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{git-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{git-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{git-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{git-24dcb14g.js → image-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{git-2710q6r3.js → image-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{git-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{git-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{git-359p4xyc.js → image-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{git-3asan66x.js → image-3asan66x.js} +0 -0
  710. /package/dist/chunks/{git-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{git-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{git-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{git-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{git-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{git-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{git-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{git-53557ph1.js → image-53557ph1.js} +0 -0
  718. /package/dist/chunks/{git-550bvhaj.js → image-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{git-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{git-6prwharc.js → image-6prwharc.js} +0 -0
  721. /package/dist/chunks/{git-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{git-7m9af43g.js → image-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{git-822emrt2.js → image-822emrt2.js} +0 -0
  724. /package/dist/chunks/{git-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{git-8n3pysct.js → image-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{git-922hggd3.js → image-922hggd3.js} +0 -0
  727. /package/dist/chunks/{git-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{git-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{git-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{git-af5trqkr.js → image-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{git-afrmfg78.js → image-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{git-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{git-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{git-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{git-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{git-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{git-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{git-d9fn303g.js → image-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{git-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{git-dajrwvna.js → image-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{git-dap0rakb.js → image-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{git-df08tz66.js → image-df08tz66.js} +0 -0
  743. /package/dist/chunks/{git-dy18nga0.js → image-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{git-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{git-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{git-ec1grn59.js → image-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{git-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{git-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{git-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{git-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{git-faypxj3z.js → image-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{git-fd410y7t.js → image-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{git-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{git-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{git-g86h250q.js → image-g86h250q.js} +0 -0
  756. /package/dist/chunks/{git-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{git-gftt206x.js → image-gftt206x.js} +0 -0
  758. /package/dist/chunks/{git-hjbc5kem.js → image-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{git-hk9envan.js → image-hk9envan.js} +0 -0
  760. /package/dist/chunks/{git-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{git-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{git-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{git-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{git-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{git-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{git-mp448xyj.js → image-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{git-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{git-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{git-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{git-njntx4h6.js → image-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{git-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{git-q74kybfr.js → image-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{git-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{git-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{git-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{git-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{git-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{git-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{git-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{git-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{git-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{git-twg0f83k.js → image-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{git-w803qqfp.js → image-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{git-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{git-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{git-wtztk69x.js → image-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{git-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{git-x61499pn.js → image-x61499pn.js} +0 -0
  789. /package/dist/chunks/{git-y44na4kk.js → image-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{git-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{git-y8f7s663.js → image-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{git-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{git-ym463w8f.js → image-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{git-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./git-922hggd3.js";
3
+ } from "./image-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service31
7
- } from "./git-c49neaws.js";
6
+ Service43
7
+ } from "./image-cr5e6c9v.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./git-2a5m3afh.js";
10
+ } from "./image-2a5m3afh.js";
11
11
  import {
12
- Service55
13
- } from "./git-yjpwaj2n.js";
12
+ Service76
13
+ } from "./image-njc7fd3x.js";
14
14
  import {
15
- Service62
16
- } from "./git-2bxa57sj.js";
15
+ Service56
16
+ } from "./image-d090tx9v.js";
17
17
  import {
18
- Service63
19
- } from "./git-j63fa09p.js";
18
+ Service58
19
+ } from "./image-rpp1r6qa.js";
20
20
  import {
21
- Service40,
21
+ Service25,
22
22
  resolvePath2
23
- } from "./git-p0j3v3px.js";
23
+ } from "./image-9ajz18mq.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./git-fxbjtjnd.js";
29
+ } from "./image-fxbjtjnd.js";
30
30
  import {
31
- Service42,
31
+ Service50,
32
32
  name15
33
- } from "./git-vhzwz6jw.js";
33
+ } from "./image-ea64kw3d.js";
34
34
  import {
35
- NotFoundError4,
36
- Service29
37
- } from "./git-krbhq476.js";
35
+ NotFoundError6,
36
+ Service41
37
+ } from "./image-etbrhcmb.js";
38
38
  import {
39
- Service16
40
- } from "./git-y0fr9ak9.js";
39
+ Service28
40
+ } from "./image-v0cj4jgk.js";
41
41
  import {
42
42
  scan2
43
- } from "./git-9gz4yvws.js";
43
+ } from "./image-jdnp2mh3.js";
44
44
  import {
45
45
  __export
46
- } from "./git-9rqn6x4v.js";
46
+ } from "./image-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input5,
53
- Plugin: () => Plugin24,
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin38,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name5
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name5 = "shell";
59
+ var name3 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input5 = Schema.Struct({
73
+ var Input3 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin24 = {
118
+ var Plugin38 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service16;
122
- const jobs = yield* Service62;
121
+ const sessions = yield* Service28;
122
+ const jobs = yield* Service56;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service55;
125
- const access = yield* Service40;
126
- const shell = yield* Service29;
127
- const shellSelect = yield* Service42;
124
+ const environment = yield* Service76;
125
+ const access = yield* Service25;
126
+ const shell = yield* Service41;
127
+ const shellSelect = yield* Service50;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service63;
130
- const config = yield* Service31;
129
+ const permission = yield* Service58;
130
+ const config = yield* Service43;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin24 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name5,
149
+ action: name3,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin24 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name5,
186
+ name: name3,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input5,
189
+ input: Input3,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin24 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError4({ id: info.id });
208
+ return yield* new NotFoundError6({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name5,
222
+ type: name3,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name5];
252
+ const tool = event.tools[name3];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin24, exports_shell2 };
263
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin38, exports_shell2 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./git-3w5fmr99.js";
4
+ } from "./image-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./git-m3fdjcah.js";
8
+ } from "./image-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./git-9rqn6x4v.js";
11
+ } from "./image-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-z3t6faa9.js";
3
+ } from "./image-h868bt0t.js";
4
4
  import {
5
- Service81
6
- } from "./git-bqcxmntf.js";
5
+ Service82
6
+ } from "./image-yk94a6e0.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./git-vayd41fe.js";
9
+ Event19
10
+ } from "./image-y79k1xra.js";
11
11
  import {
12
- ID16,
12
+ ID13,
13
13
  MethodID2
14
- } from "./git-0vrxxr1a.js";
14
+ } from "./image-ajznkaye.js";
15
15
  import {
16
16
  which2
17
- } from "./git-qaymkmh1.js";
17
+ } from "./image-qaymkmh1.js";
18
18
  import {
19
- ID13
20
- } from "./git-c42wgx82.js";
19
+ ID12
20
+ } from "./image-wnt6v6p0.js";
21
21
  import {
22
22
  iife2
23
- } from "./git-1kg9ymc8.js";
23
+ } from "./image-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./git-tjfg9936.js";
26
+ } from "./image-ye2ymfh9.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID13.azure);
46
+ const configured = yield* configuredSettings2(ID12.azure);
47
47
  const processes = yield* AppProcess.Service;
48
- const bus = yield* Service81;
48
+ const bus = yield* Service82;
49
49
  const tokens = new Map;
50
50
  const loading = Semaphore.makeUnsafe(1);
51
51
  const loaded = {};
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID13.azure,
82
+ integrationID: ID12.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID13.azure,
88
+ integrationID: ID12.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID13.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID13.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID13.azure)
178
+ if (evt.model.providerID !== ID12.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID13.azure });
187
+ }), { providerID: ID12.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID13.azure)
189
+ if (evt.model.providerID !== ID12.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID13.azure });
198
+ }), { providerID: ID12.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service31
3
- } from "./git-c49neaws.js";
2
+ Service43
3
+ } from "./image-cr5e6c9v.js";
4
4
  import {
5
- Service77
6
- } from "./git-1rh4yqvv.js";
5
+ Service66
6
+ } from "./image-s93dsjvp.js";
7
7
  import {
8
8
  observe2
9
- } from "./git-qsdy395h.js";
9
+ } from "./image-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./git-9rqn6x4v.js";
12
+ } from "./image-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin15
18
+ Plugin: () => Plugin32
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin15 = define({
22
+ var Plugin32 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service31;
26
- const image = yield* Service77;
25
+ const config = yield* Service43;
26
+ const image = yield* Service66;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin15 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin15, exports_image };
46
+ export { Plugin32, exports_image };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./git-6e6g2mqd.js";
4
+ } from "./image-8arcc1g8.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./git-3hepkmqq.js";
7
+ } from "./image-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./image-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service82,
17
- node: () => node86
16
+ Service: () => Service57,
17
+ node: () => node59
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service82 extends Context.Service()("@opencode/KV") {
22
+ class Service57 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service82, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
25
25
  const db = (yield* Service83).db;
26
- return Service82.of({
26
+ return Service57.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node86 = makeGlobalNode({ service: Service82, layer, deps: [node87] });
54
+ var node59 = makeGlobalNode({ service: Service57, layer, deps: [node87] });
55
55
 
56
- export { Service82, node86, exports_kv };
56
+ export { Service57, node59, exports_kv };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service59
3
- } from "./git-fpq9acqp.js";
2
+ Service54
3
+ } from "./image-yf4jcbx9.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./git-q509s3k3.js";
6
+ } from "./image-rap9a73h.js";
7
7
  import {
8
- Service29
9
- } from "./git-krbhq476.js";
8
+ Service41
9
+ } from "./image-etbrhcmb.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./git-fxbjtjnd.js";
12
+ } from "./image-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./git-9rqn6x4v.js";
15
+ } from "./image-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service59;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service29), instances.provide(input.session));
25
+ const instances = yield* Service54;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service59
3
- } from "./git-fpq9acqp.js";
2
+ Service54
3
+ } from "./image-yf4jcbx9.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./git-q509s3k3.js";
6
+ } from "./image-rap9a73h.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./git-ybhbtxjg.js";
9
+ } from "./image-sc186k9x.js";
10
10
  import {
11
- Service36
12
- } from "./git-1ns81jp7.js";
11
+ Service49
12
+ } from "./image-6ae436se.js";
13
13
  import {
14
14
  __export
15
- } from "./git-9rqn6x4v.js";
15
+ } from "./image-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service59;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
25
+ const instances = yield* Service54;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./git-88xbtdfr.js";
3
+ } from "./image-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./git-5qd3pb7m.js";
6
+ } from "./image-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./image-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event6,
14
+ Event: () => Event8,
15
15
  Native: () => Native3,
16
- Options: () => Options5,
17
- Service: () => Service32,
16
+ Options: () => Options8,
17
+ Service: () => Service44,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured5,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer15,
22
+ layer: () => layer18,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node35,
25
+ node: () => node47,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event6 = { Updated: FileSystem.Event.Changed };
36
+ var Event8 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options5 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service32 extends Context.Service()("@opencode/Watcher") {
60
+ class Service44 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
65
+ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service32.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service44.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service32.of({ subscribe });
108
+ return Service44.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer15().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service32).subscribe,
134
+ subscribe: Context.get(context, Service44).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service32, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service44, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured5(options) {
168
- return makeGlobalNode({ service: Service32, layer: layer15(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service44, layer: layer18(options), deps: [nativeNode2] });
169
169
  }
170
- var node35 = configured5();
170
+ var node47 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event6, hasNativeBinding2, Native3, Options5, Service32, Test3, layer15, testLayer3, nativeLayer2, nativeNode2, configured5, node35, exports_watcher };
190
+ export { Event8, hasNativeBinding2, Native3, Options8, Service44, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node47, exports_watcher };