@opencode/core 0.0.0-dev-20487 → 0.0.0-dev-20489

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{git-56qj8wan.js → plugin-08tmw935.js} +5 -5
  8. package/dist/chunks/{git-6g7e4dd5.js → plugin-0bg0bx69.js} +9 -9
  9. package/dist/chunks/{git-cth98fgx.js → plugin-0ghtmzcp.js} +48 -48
  10. package/dist/chunks/{git-qzexb7dd.js → plugin-0he9bta8.js} +12 -12
  11. package/dist/chunks/{git-zfs8ae4p.js → plugin-0me0fk48.js} +4 -4
  12. package/dist/chunks/{git-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{git-73nkehxt.js → plugin-0st2k7bp.js} +8 -8
  14. package/dist/chunks/{git-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{git-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{git-w2h15q85.js → plugin-1pxz8ven.js} +5 -5
  17. package/dist/chunks/{git-pavar7ea.js → plugin-1rpvqjb2.js} +28 -28
  18. package/dist/chunks/{git-5hwzk0w4.js → plugin-1xw4ekgp.js} +26 -26
  19. package/dist/chunks/{git-ff8nr4y0.js → plugin-2920kkda.js} +35 -35
  20. package/dist/chunks/{git-0zghx38h.js → plugin-29eykq4v.js} +15 -15
  21. package/dist/chunks/{git-5hzbnnap.js → plugin-29g2crnb.js} +11 -11
  22. package/dist/chunks/{git-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{git-j5w2yx54.js → plugin-2a6rn6yr.js} +6 -6
  24. package/dist/chunks/{git-tftvtmn6.js → plugin-2sjdad61.js} +30 -30
  25. package/dist/chunks/{git-s8tf1dff.js → plugin-32hdvsd1.js} +9 -9
  26. package/dist/chunks/{git-1ygqh575.js → plugin-33w4ejhs.js} +6 -6
  27. package/dist/chunks/{git-0f7xk5x9.js → plugin-37n8qkst.js} +11 -11
  28. package/dist/chunks/{git-33b8fnsk.js → plugin-3ag6mk8n.js} +6 -6
  29. package/dist/chunks/{git-ep5xej2h.js → plugin-3ah5pgmr.js} +54 -54
  30. package/dist/chunks/{git-h2b79v29.js → plugin-3cegwx68.js} +2 -2
  31. package/dist/chunks/{git-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{git-satpgpy0.js → plugin-3gmgegrq.js} +20 -20
  33. package/dist/chunks/{git-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{git-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{git-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{git-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{git-rf94mawb.js → plugin-42ada8tk.js} +19 -19
  38. package/dist/chunks/{git-9pa8tak9.js → plugin-4a2kvcyx.js} +2 -2
  39. package/dist/chunks/{git-1b4m0bzf.js → plugin-4j4tgtq5.js} +4 -4
  40. package/dist/chunks/{git-p1463psw.js → plugin-4p82swk3.js} +5 -5
  41. package/dist/chunks/{git-2ccvkpx1.js → plugin-4ts7tf6z.js} +2 -2
  42. package/dist/chunks/{git-fm9vx6we.js → plugin-530jjp36.js} +10 -10
  43. package/dist/chunks/{git-gzn9fqyv.js → plugin-53751w34.js} +29 -29
  44. package/dist/chunks/{git-54ma36ye.js → plugin-54ma36ye.js} +1 -1
  45. package/dist/chunks/{git-4rchyh60.js → plugin-552dhgzm.js} +5 -5
  46. package/dist/chunks/{git-6pgc1f5w.js → plugin-58avdj84.js} +12 -12
  47. package/dist/chunks/{git-1by5q0j9.js → plugin-592e04rw.js} +26 -26
  48. package/dist/chunks/{git-qyzaws7n.js → plugin-59t371j7.js} +3 -3
  49. package/dist/chunks/{git-5daktx2q.js → plugin-5daktx2q.js} +1 -1
  50. package/dist/chunks/{git-zbfyanxm.js → plugin-5eqgw8nb.js} +8 -8
  51. package/dist/chunks/{git-e3qxr5gk.js → plugin-5qd3pb7m.js} +2 -2
  52. package/dist/chunks/{git-vgepzxbh.js → plugin-5qwkxp89.js} +4 -4
  53. package/dist/chunks/{git-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
  54. package/dist/chunks/{git-n3qqcskk.js → plugin-5w1jn6g6.js} +33 -33
  55. package/dist/chunks/{git-9ppqf0fm.js → plugin-5xs2yarg.js} +26 -26
  56. package/dist/chunks/plugin-619r8v3y.js +18 -0
  57. package/dist/chunks/{git-6n8y2g7x.js → plugin-62hsdztg.js} +7 -7
  58. package/dist/chunks/{git-669tq793.js → plugin-669tq793.js} +1 -1
  59. package/dist/chunks/{git-yj5m20h0.js → plugin-6b8kbxwq.js} +9 -9
  60. package/dist/chunks/{git-q6jj9914.js → plugin-6nam3y6a.js} +21 -21
  61. package/dist/chunks/{git-vc5agm35.js → plugin-6ncs3jcp.js} +39 -39
  62. package/dist/chunks/{git-qqm7ywwe.js → plugin-6ne101av.js} +16 -16
  63. package/dist/chunks/{git-1k4dr7g1.js → plugin-6vge9h39.js} +27 -27
  64. package/dist/chunks/{git-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{git-tczj4wcr.js → plugin-7bwettt8.js} +8 -8
  66. package/dist/chunks/{git-2c3eq8z5.js → plugin-7cr7kbfa.js} +1 -1
  67. package/dist/chunks/{git-fcrkznn8.js → plugin-7dqw4kz8.js} +5 -5
  68. package/dist/chunks/{git-c243x79n.js → plugin-7k9nbph5.js} +35 -35
  69. package/dist/chunks/{git-pp3qghtd.js → plugin-7mvfv48b.js} +5 -5
  70. package/dist/chunks/{git-2vp5hvvb.js → plugin-7sjb06ew.js} +7 -7
  71. package/dist/chunks/{git-g5kmhmn4.js → plugin-7x15szr3.js} +11 -11
  72. package/dist/chunks/{git-1dvck2a7.js → plugin-84h8c373.js} +2 -2
  73. package/dist/chunks/{git-xb9d739d.js → plugin-88wfbx9b.js} +32 -32
  74. package/dist/chunks/{git-q9zb0ecv.js → plugin-8am2xe2c.js} +91 -91
  75. package/dist/chunks/{git-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
  76. package/dist/chunks/{git-0x70nm0y.js → plugin-8wvbgzhc.js} +9 -9
  77. package/dist/chunks/{git-9vtq88j9.js → plugin-8x81hhm0.js} +33 -33
  78. package/dist/chunks/{git-v2mjd211.js → plugin-9bk9cnp5.js} +37 -37
  79. package/dist/chunks/{git-hj210d1a.js → plugin-9ck34fdg.js} +7 -7
  80. package/dist/chunks/{git-6mhn18hh.js → plugin-9dbt7z73.js} +17 -17
  81. package/dist/chunks/{git-sa28a9tf.js → plugin-9f659gft.js} +9 -9
  82. package/dist/chunks/{git-1hya600g.js → plugin-9j62v1na.js} +5 -5
  83. package/dist/chunks/{git-g1d57xsd.js → plugin-9m5s7xmk.js} +32 -32
  84. package/dist/chunks/{git-nr6gcs3w.js → plugin-9njedpex.js} +8 -8
  85. package/dist/chunks/plugin-9pk6az91.js +26 -0
  86. package/dist/chunks/{git-99d0s71v.js → plugin-9tv1ghsx.js} +4 -4
  87. package/dist/chunks/{git-5dcjqgan.js → plugin-9v7q5m1c.js} +12 -12
  88. package/dist/chunks/{git-edgxv28b.js → plugin-a1tj4w97.js} +15 -15
  89. package/dist/chunks/{git-1j8ev5c3.js → plugin-a546qe5c.js} +24 -24
  90. package/dist/chunks/{git-2pnhn36q.js → plugin-a8bn8zg0.js} +21 -21
  91. package/dist/chunks/{git-b131bxh3.js → plugin-a9bdmzgt.js} +24 -24
  92. package/dist/chunks/{git-aaet6srn.js → plugin-aaet6srn.js} +2 -2
  93. package/dist/chunks/{git-xezz0ntz.js → plugin-aby4nxsj.js} +26 -26
  94. package/dist/chunks/{git-szbzmdkq.js → plugin-aepc0ehj.js} +28 -28
  95. package/dist/chunks/{git-6jr8kha2.js → plugin-afabwxgp.js} +8 -8
  96. package/dist/chunks/{git-k18ytf7m.js → plugin-ak9msbxp.js} +6 -6
  97. package/dist/chunks/{git-b43h1dzc.js → plugin-aqcsk7k7.js} +12 -12
  98. package/dist/chunks/{git-d7jaa4wg.js → plugin-aqg4cax4.js} +8 -8
  99. package/dist/chunks/{git-rjw6hp1j.js → plugin-b00njkv4.js} +23 -23
  100. package/dist/chunks/{git-scgrse2b.js → plugin-b3f8fkhc.js} +5 -5
  101. package/dist/chunks/{git-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{git-6vabwvmw.js → plugin-b6h23dgp.js} +14 -14
  103. package/dist/chunks/{git-4t94svg8.js → plugin-bh48mnt2.js} +26 -26
  104. package/dist/chunks/{git-b0ze2mb8.js → plugin-bn6g6p4n.js} +10 -10
  105. package/dist/chunks/{git-n79tw6se.js → plugin-bqq66rcm.js} +4 -4
  106. package/dist/chunks/{git-143qq2q9.js → plugin-btfhnvjh.js} +3 -3
  107. package/dist/chunks/{git-94pjbwqw.js → plugin-bwwwqt94.js} +10 -10
  108. package/dist/chunks/{git-2m6x7dk2.js → plugin-bxwnqnzf.js} +24 -24
  109. package/dist/chunks/{git-nr6bfqmd.js → plugin-bz068n2q.js} +27 -27
  110. package/dist/chunks/{git-mnraq51s.js → plugin-c59ctwfg.js} +23 -23
  111. package/dist/chunks/{git-m99rkf63.js → plugin-c7s4vxbp.js} +5 -5
  112. package/dist/chunks/{git-11wpxp25.js → plugin-cfymty4z.js} +35 -35
  113. package/dist/chunks/{git-v7qe61cb.js → plugin-cn6q53zc.js} +11 -11
  114. package/dist/chunks/{git-2p5y98w0.js → plugin-cnvcdvk7.js} +6 -6
  115. package/dist/chunks/{git-ph842b28.js → plugin-dbmc5gjs.js} +4 -4
  116. package/dist/chunks/{git-qmqgtz8f.js → plugin-djszqvmq.js} +9 -9
  117. package/dist/chunks/{git-zm2ry5m5.js → plugin-dmrh8gvy.js} +28 -28
  118. package/dist/chunks/{git-y71avatq.js → plugin-dpkg50ah.js} +4 -4
  119. package/dist/chunks/{git-1f2q55ad.js → plugin-e2ts7srd.js} +23 -23
  120. package/dist/chunks/{git-1phwnavf.js → plugin-e4qyxvqk.js} +11 -11
  121. package/dist/chunks/{git-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
  122. package/dist/chunks/{git-f5gy8qwh.js → plugin-eneefzjq.js} +8 -8
  123. package/dist/chunks/{git-0t098hqn.js → plugin-engkm2d6.js} +5 -5
  124. package/dist/chunks/{git-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{git-71az546q.js → plugin-f75zav2x.js} +2 -2
  126. package/dist/chunks/{git-gsnyd5qq.js → plugin-fy55jrv2.js} +7 -7
  127. package/dist/chunks/{git-c8s4yex5.js → plugin-g0eqw7vj.js} +16 -16
  128. package/dist/chunks/{git-r3vcwrv4.js → plugin-g2qsvwwh.js} +29 -29
  129. package/dist/chunks/{git-1bvxe6eh.js → plugin-g3khgvgp.js} +58 -58
  130. package/dist/chunks/{git-0bbrpfc7.js → plugin-g5nesaam.js} +11 -11
  131. package/dist/chunks/{git-h017z5nv.js → plugin-g6tzv9ct.js} +13 -13
  132. package/dist/chunks/{git-wmnssb6q.js → plugin-g7pyd2xg.js} +22 -22
  133. package/dist/chunks/{git-bh00h86y.js → plugin-g99crknm.js} +22 -22
  134. package/dist/chunks/{git-nrkx522j.js → plugin-gcbvw9h7.js} +329 -329
  135. package/dist/chunks/{git-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{git-wnpk5cj0.js → plugin-gdgk23je.js} +11 -11
  137. package/dist/chunks/{git-8f95w5kh.js → plugin-gf5746j9.js} +11 -11
  138. package/dist/chunks/{git-56espktj.js → plugin-gkj81yr6.js} +18 -18
  139. package/dist/chunks/{git-gv1782g9.js → plugin-gm6expwy.js} +15 -15
  140. package/dist/chunks/{git-524eer23.js → plugin-gvf59224.js} +10 -10
  141. package/dist/chunks/{git-xvvg8evz.js → plugin-gxer4289.js} +2 -2
  142. package/dist/chunks/{git-w24kdg89.js → plugin-gy1e9esd.js} +18 -18
  143. package/dist/chunks/{git-d7tmzpbn.js → plugin-h2mrpd9j.js} +47 -47
  144. package/dist/chunks/{git-2bc3cxj7.js → plugin-h3gq0wn1.js} +51 -51
  145. package/dist/chunks/{git-tc14gx3q.js → plugin-h4ckqw4f.js} +11 -11
  146. package/dist/chunks/{git-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{git-631zgpvt.js → plugin-h7zfyhdd.js} +13 -13
  148. package/dist/chunks/{git-325sge2s.js → plugin-hd8vw2pw.js} +1 -1
  149. package/dist/chunks/{git-pttd3nzj.js → plugin-hgqax4q6.js} +23 -23
  150. package/dist/chunks/{git-m4qj4fpw.js → plugin-hgt7erew.js} +11 -11
  151. package/dist/chunks/{git-gca7nrd2.js → plugin-hh2jxtdr.js} +70 -70
  152. package/dist/chunks/{git-j56e64zr.js → plugin-j56e64zr.js} +1 -1
  153. package/dist/chunks/{git-vvwn34gm.js → plugin-jagbr6h4.js} +21 -21
  154. package/dist/chunks/{git-8vpe69nk.js → plugin-jebqk7jw.js} +27 -27
  155. package/dist/chunks/{git-njerjs8t.js → plugin-jgaj827t.js} +29 -29
  156. package/dist/chunks/{git-3j8n7zh4.js → plugin-jhmdvha7.js} +14 -14
  157. package/dist/chunks/{git-gtczcmth.js → plugin-js7acmhb.js} +3 -3
  158. package/dist/chunks/{git-bn8r8h40.js → plugin-jvq0khv9.js} +18 -18
  159. package/dist/chunks/{git-x661k3y3.js → plugin-k22b66k8.js} +4 -4
  160. package/dist/chunks/{git-s3s036sb.js → plugin-k3kq5fdz.js} +3 -3
  161. package/dist/chunks/{git-n7m60htf.js → plugin-k4wmp9nh.js} +37 -37
  162. package/dist/chunks/{git-d7rqbc4v.js → plugin-k9wzpze3.js} +32 -32
  163. package/dist/chunks/{git-9e5bzkjp.js → plugin-kb9j3d72.js} +3 -3
  164. package/dist/chunks/{git-rrjhvgg4.js → plugin-keq0amzm.js} +13 -13
  165. package/dist/chunks/{git-n1mcftb7.js → plugin-kh2dz1qf.js} +13 -13
  166. package/dist/chunks/{git-w2dybhf4.js → plugin-knqt1fk3.js} +3 -3
  167. package/dist/chunks/{git-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
  168. package/dist/chunks/{git-m64hph1b.js → plugin-m6g91zyk.js} +15 -15
  169. package/dist/chunks/{git-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{git-0w8cbt7c.js → plugin-maheee0q.js} +35 -35
  171. package/dist/chunks/{git-jdnhh2g6.js → plugin-mdwkzxwq.js} +34 -34
  172. package/dist/chunks/{git-73tb2d7t.js → plugin-mhkvc446.js} +3 -3
  173. package/dist/chunks/{git-s5qxm7c2.js → plugin-mhnyy3p3.js} +11 -11
  174. package/dist/chunks/{git-nf3bc7kp.js → plugin-mmha00yr.js} +23 -23
  175. package/dist/chunks/{git-6xkwkya9.js → plugin-mpfqpskx.js} +12 -12
  176. package/dist/chunks/{git-9cnxfjke.js → plugin-mzpqzxtj.js} +22 -22
  177. package/dist/chunks/{git-nkh99vgj.js → plugin-n0qch2gr.js} +15 -15
  178. package/dist/chunks/{git-4etvww50.js → plugin-n389n8yy.js} +188 -188
  179. package/dist/chunks/{git-5y9w058m.js → plugin-n7fvg6tv.js} +8 -8
  180. package/dist/chunks/{git-938vy3my.js → plugin-na8rrp7m.js} +35 -35
  181. package/dist/chunks/{git-yfeh97mb.js → plugin-ndp479ha.js} +27 -27
  182. package/dist/chunks/{git-hjndax5w.js → plugin-nge6e8t3.js} +20 -20
  183. package/dist/chunks/{git-vwwdt11q.js → plugin-nje5s9z6.js} +13 -13
  184. package/dist/chunks/{git-c2kekdpx.js → plugin-ns6nxdj3.js} +1 -1
  185. package/dist/chunks/{git-5yzzbxa7.js → plugin-p37cw4rj.js} +8 -8
  186. package/dist/chunks/{git-7eb1d2yt.js → plugin-p4k59x61.js} +30 -30
  187. package/dist/chunks/{git-bf0bx9gk.js → plugin-p8v7gray.js} +6 -6
  188. package/dist/chunks/{git-p79yms0y.js → plugin-p9dr31ta.js} +10 -10
  189. package/dist/chunks/plugin-pjqdv965.js +253 -0
  190. package/dist/chunks/{git-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{git-pknna89w.js → plugin-pknna89w.js} +1 -1
  192. package/dist/chunks/{git-e8tr3786.js → plugin-pn55wrwy.js} +33 -33
  193. package/dist/chunks/{git-nj62jbws.js → plugin-pr301zdv.js} +63 -63
  194. package/dist/chunks/{git-0jq9fyba.js → plugin-prq7hedt.js} +2 -2
  195. package/dist/chunks/{git-1ycnedvv.js → plugin-pt41nrzb.js} +31 -31
  196. package/dist/chunks/{git-8zhmd018.js → plugin-pte6hzve.js} +36 -36
  197. package/dist/chunks/{git-xdj3jjdd.js → plugin-py01hhmc.js} +11 -11
  198. package/dist/chunks/{git-py3kkmfq.js → plugin-py3kkmfq.js} +2 -2
  199. package/dist/chunks/{git-0j77ygfz.js → plugin-q0xm7vwc.js} +6 -6
  200. package/dist/chunks/{git-bsbz52zb.js → plugin-q4aqwj73.js} +24 -24
  201. package/dist/chunks/{git-yev3q7x9.js → plugin-q553k2y0.js} +18 -18
  202. package/dist/chunks/{git-vs1y934m.js → plugin-q5sv98z1.js} +15 -15
  203. package/dist/chunks/{git-y9ehdwpk.js → plugin-qe2mh3tq.js} +6 -6
  204. package/dist/chunks/{git-q4g8h7yf.js → plugin-qes05c22.js} +44 -44
  205. package/dist/chunks/{git-bzt0dk37.js → plugin-qf3mq4ra.js} +26 -26
  206. package/dist/chunks/{git-rrt2er56.js → plugin-qj72p9h2.js} +3 -3
  207. package/dist/chunks/{git-s1mk6ccd.js → plugin-qkb64swz.js} +11 -11
  208. package/dist/chunks/{git-b27vhd2z.js → plugin-qm0v3jhh.js} +7 -7
  209. package/dist/chunks/{git-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{git-qsdy395h.js → plugin-qsdy395h.js} +1 -1
  211. package/dist/chunks/{git-2hr5nhwa.js → plugin-qvb3nf84.js} +8 -8
  212. package/dist/chunks/{git-x2rw7g36.js → plugin-qvreyy9g.js} +5 -5
  213. package/dist/chunks/{git-p45atnv4.js → plugin-r2s5mzj1.js} +12 -12
  214. package/dist/chunks/{git-h79qd4dv.js → plugin-r44petzp.js} +12 -12
  215. package/dist/chunks/{git-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{git-nk6rbrgr.js → plugin-rghnzapf.js} +23 -23
  217. package/dist/chunks/{git-zftzqrxt.js → plugin-rhwq70n6.js} +11 -11
  218. package/dist/chunks/{git-ztjvgwme.js → plugin-rkse2x0j.js} +19 -19
  219. package/dist/chunks/{git-pt5yrvtv.js → plugin-s2rhz4ah.js} +3 -3
  220. package/dist/chunks/{git-50bccm45.js → plugin-s4vv33mq.js} +34 -34
  221. package/dist/chunks/{git-thtvf947.js → plugin-s66tm1sq.js} +5 -5
  222. package/dist/chunks/{git-mzytx70b.js → plugin-seybfen1.js} +89 -89
  223. package/dist/chunks/{git-m5eggbga.js → plugin-sjhf83m2.js} +8 -8
  224. package/dist/chunks/{git-g1sxm558.js → plugin-sk5hrgtc.js} +8 -8
  225. package/dist/chunks/{git-3jda838f.js → plugin-snnkctvy.js} +16 -16
  226. package/dist/chunks/{git-2003xh4j.js → plugin-sqmzwr9m.js} +9 -9
  227. package/dist/chunks/{git-29mm1gn9.js → plugin-svykb2th.js} +35 -35
  228. package/dist/chunks/{git-m70sbz6t.js → plugin-t7n9q6bq.js} +4 -4
  229. package/dist/chunks/{git-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{git-73apqjm5.js → plugin-tbdf39ae.js} +19 -19
  231. package/dist/chunks/{git-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{git-tdstcens.js → plugin-tdstcens.js} +1 -1
  233. package/dist/chunks/{git-7zqvbyaq.js → plugin-te665yay.js} +17 -17
  234. package/dist/chunks/{git-cwz9jdg6.js → plugin-ttn9g19g.js} +17 -17
  235. package/dist/chunks/{git-2bw54qtz.js → plugin-vdgc7sk8.js} +3 -3
  236. package/dist/chunks/{git-veqvce7d.js → plugin-veqvce7d.js} +1 -1
  237. package/dist/chunks/{git-4c9fjdh1.js → plugin-vjx4dhe3.js} +11 -11
  238. package/dist/chunks/{git-zn3xdhgm.js → plugin-vpgtgc27.js} +4 -4
  239. package/dist/chunks/{git-8fnsfksf.js → plugin-vxh2w9az.js} +22 -22
  240. package/dist/chunks/{git-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
  241. package/dist/chunks/{git-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{git-84txncab.js → plugin-w1eejvng.js} +5 -5
  243. package/dist/chunks/{git-rr03d8em.js → plugin-w224pj40.js} +22 -22
  244. package/dist/chunks/{git-pfebza6x.js → plugin-w25fr9f9.js} +29 -29
  245. package/dist/chunks/{git-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{git-jgf0bwqe.js → plugin-w43yw030.js} +5 -5
  247. package/dist/chunks/{git-ys8thrvz.js → plugin-w4dx7hzn.js} +3 -3
  248. package/dist/chunks/{git-tbj8krrj.js → plugin-w758s7nv.js} +43 -43
  249. package/dist/chunks/{git-nyfw82fd.js → plugin-w81m6cf9.js} +15 -15
  250. package/dist/chunks/{git-1174b0hx.js → plugin-w8zxs343.js} +16 -16
  251. package/dist/chunks/{git-16apfsbq.js → plugin-wbhkz6w4.js} +15 -15
  252. package/dist/chunks/{git-dx0zancp.js → plugin-wc1qr0sj.js} +8 -8
  253. package/dist/chunks/{git-wd87259q.js → plugin-wd87259q.js} +1 -1
  254. package/dist/chunks/{git-8pm5vmt4.js → plugin-whbvrzaq.js} +17 -17
  255. package/dist/chunks/{git-ab3b0rew.js → plugin-wpfn465e.js} +4 -4
  256. package/dist/chunks/{git-6pf3my43.js → plugin-wpvpdrjr.js} +4 -4
  257. package/dist/chunks/{git-at2w5gta.js → plugin-wsw9xjjb.js} +29 -29
  258. package/dist/chunks/{git-s8d7rejh.js → plugin-wv396vej.js} +8 -8
  259. package/dist/chunks/{git-x1ezjp6w.js → plugin-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{git-xfkkasph.js → plugin-xfkkasph.js} +1 -1
  261. package/dist/chunks/{git-tkh413by.js → plugin-xk6sbjp1.js} +9 -9
  262. package/dist/chunks/{git-dmqcgk4z.js → plugin-xkntkrq7.js} +5 -5
  263. package/dist/chunks/{git-wgwzc84g.js → plugin-xn3aq1vn.js} +46 -46
  264. package/dist/chunks/{git-yg4x4cvm.js → plugin-xp6rvhe2.js} +9 -9
  265. package/dist/chunks/{git-475q9svy.js → plugin-xqb26yp8.js} +12 -12
  266. package/dist/chunks/{git-wa9061eh.js → plugin-xqkkqd5t.js} +3 -3
  267. package/dist/chunks/{git-qxjc9qry.js → plugin-xyafkbt0.js} +3 -3
  268. package/dist/chunks/{git-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{git-9mdv1d98.js → plugin-y5f3qdbg.js} +9 -9
  270. package/dist/chunks/{git-w1ad28wa.js → plugin-y6kccm89.js} +8 -8
  271. package/dist/chunks/{git-7gd3hzpr.js → plugin-y7cqqg6m.js} +21 -21
  272. package/dist/chunks/{git-db35ckwp.js → plugin-ydgym1xa.js} +17 -17
  273. package/dist/chunks/{git-2k9fjx65.js → plugin-ygdna4kr.js} +5 -5
  274. package/dist/chunks/{git-yp2x3t23.js → plugin-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{git-yrhqyw5v.js → plugin-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{git-1e03kyp0.js → plugin-yssjxqzx.js} +8 -8
  277. package/dist/chunks/{git-fsse434c.js → plugin-ywp84kpb.js} +9 -9
  278. package/dist/chunks/{git-gz56ec1j.js → plugin-yy6k95dt.js} +42 -42
  279. package/dist/chunks/{git-avae2qkj.js → plugin-yz16v67g.js} +16 -16
  280. package/dist/chunks/{git-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{git-em4qz8cs.js → plugin-z6e4akrq.js} +10 -10
  282. package/dist/chunks/{git-3pnse8ed.js → plugin-zpd5qt32.js} +12 -12
  283. package/dist/chunks/{git-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{git-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{git-h6310vsd.js → plugin-zy43x3f1.js} +4 -4
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +85 -85
  291. package/dist/config/discovery.js +82 -82
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +99 -99
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +205 -205
  296. package/dist/config/plugin/compaction.js +154 -154
  297. package/dist/config/plugin/compatibility.js +134 -134
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +114 -114
  301. package/dist/config/plugin/instruction.js +88 -88
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +123 -123
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +102 -102
  309. package/dist/config/plugin/skill.js +133 -133
  310. package/dist/config/plugin/snapshot.js +114 -114
  311. package/dist/config/plugin/source.js +113 -113
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +85 -85
  320. package/dist/database/database.js +66 -66
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration.gen.js +49 -49
  386. package/dist/database/migration.js +51 -51
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +76 -76
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +93 -93
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +74 -74
  410. package/dist/file-access.js +104 -104
  411. package/dist/file-mutation.js +94 -94
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +218 -218
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +103 -103
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +102 -102
  424. package/dist/form.js +86 -86
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +87 -87
  427. package/dist/generate.js +99 -99
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +91 -91
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +85 -85
  453. package/dist/instructions/builtins.js +87 -87
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +87 -87
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +73 -73
  460. package/dist/location-activity.js +134 -134
  461. package/dist/location-lifecycle.js +107 -107
  462. package/dist/location-service-map.js +86 -86
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +87 -87
  465. package/dist/managed-policy.js +5 -5
  466. package/dist/mcp/client.js +91 -91
  467. package/dist/mcp/index.js +109 -109
  468. package/dist/mcp/instructions.js +129 -129
  469. package/dist/mcp/oauth.js +78 -78
  470. package/dist/mcp/stdio.js +90 -90
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +91 -91
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +102 -102
  475. package/dist/models-dev.js +107 -107
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +80 -80
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +117 -117
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +75 -75
  485. package/dist/plugin/agent.js +102 -102
  486. package/dist/plugin/command.js +100 -100
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +96 -96
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +102 -102
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  499. package/dist/plugin/provider/azure.js +117 -117
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +93 -93
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -112
  506. package/dist/plugin/provider/digitalocean.js +93 -93
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +95 -95
  511. package/dist/plugin/provider/gitlab.js +93 -93
  512. package/dist/plugin/provider/google-vertex.js +90 -90
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +78 -78
  515. package/dist/plugin/provider/lmstudio.js +113 -113
  516. package/dist/plugin/provider/modal.js +92 -92
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +115 -115
  519. package/dist/plugin/provider/openai.js +93 -93
  520. package/dist/plugin/provider/opencode.js +96 -96
  521. package/dist/plugin/provider/openrouter.js +91 -91
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +79 -79
  524. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  525. package/dist/plugin/provider/sap-ai-core.js +91 -91
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +90 -90
  530. package/dist/plugin/provider/vllm.js +115 -115
  531. package/dist/plugin/provider/xai.js +91 -91
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +74 -74
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -342
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +2 -2
  541. package/dist/plugin/vcs/git.js +86 -86
  542. package/dist/plugin/vcs/hg.js +86 -86
  543. package/dist/plugin/verbosity.js +93 -93
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +222 -222
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +88 -88
  556. package/dist/provider.js +101 -101
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +97 -97
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +89 -89
  562. package/dist/repository-cache.js +81 -81
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +95 -95
  566. package/dist/rpc.js +86 -86
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +74 -74
  570. package/dist/session/compaction.js +133 -133
  571. package/dist/session/context.js +153 -153
  572. package/dist/session/diff.js +88 -88
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +217 -217
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +152 -152
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +79 -79
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +97 -97
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +120 -120
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +86 -86
  591. package/dist/session/prompt.js +105 -105
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +90 -90
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +222 -222
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +98 -98
  599. package/dist/session/runner/publish-llm-event.js +113 -113
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +123 -123
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -164
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +103 -103
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +201 -201
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +155 -155
  614. package/dist/session/to-session-error.js +111 -111
  615. package/dist/session/transfer.js +213 -213
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +132 -132
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +107 -107
  625. package/dist/skill.js +110 -110
  626. package/dist/snapshot.js +89 -89
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +126 -126
  631. package/dist/tool/plugin/edit.js +118 -118
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +124 -124
  634. package/dist/tool/plugin/grep.js +124 -124
  635. package/dist/tool/plugin/mcp-resource.js +117 -117
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +120 -120
  638. package/dist/tool/plugin/question.js +103 -103
  639. package/dist/tool/plugin/read.js +125 -125
  640. package/dist/tool/plugin/shell.js +204 -204
  641. package/dist/tool/plugin/skill.js +113 -113
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +112 -112
  644. package/dist/tool/plugin/websearch.js +112 -112
  645. package/dist/tool/plugin/write.js +120 -120
  646. package/dist/tool/read-filesystem.js +100 -100
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +12 -12
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +92 -92
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +91 -91
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +89 -89
  671. package/dist/websearch.js +84 -84
  672. package/dist/wellknown/plugin.js +76 -76
  673. package/dist/wellknown.js +79 -79
  674. package/dist/workspace/driver.js +5 -5
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +80 -80
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +89 -89
  681. package/dist/worktree.js +96 -96
  682. package/package.json +8 -8
  683. package/dist/chunks/git-1x11rq2a.js +0 -18
  684. package/dist/chunks/git-j2kychf2.js +0 -26
  685. package/dist/chunks/git-q2cxkkpz.js +0 -253
  686. /package/dist/chunks/{git-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{git-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{git-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{git-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{git-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{git-24dcb14g.js → plugin-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{git-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{git-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{git-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{git-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{git-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{git-3asan66x.js → plugin-3asan66x.js} +0 -0
  698. /package/dist/chunks/{git-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{git-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{git-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{git-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{git-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{git-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{git-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{git-53557ph1.js → plugin-53557ph1.js} +0 -0
  706. /package/dist/chunks/{git-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{git-6prwharc.js → plugin-6prwharc.js} +0 -0
  708. /package/dist/chunks/{git-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{git-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{git-822emrt2.js → plugin-822emrt2.js} +0 -0
  711. /package/dist/chunks/{git-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{git-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{git-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{git-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{git-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{git-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{git-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{git-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{git-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{git-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{git-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{git-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{git-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{git-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{git-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{git-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{git-dajrwvna.js → plugin-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{git-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{git-df08tz66.js → plugin-df08tz66.js} +0 -0
  730. /package/dist/chunks/{git-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{git-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{git-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{git-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{git-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{git-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{git-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{git-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{git-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{git-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{git-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{git-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{git-g86h250q.js → plugin-g86h250q.js} +0 -0
  743. /package/dist/chunks/{git-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{git-gftt206x.js → plugin-gftt206x.js} +0 -0
  745. /package/dist/chunks/{git-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{git-hk9envan.js → plugin-hk9envan.js} +0 -0
  747. /package/dist/chunks/{git-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{git-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{git-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{git-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{git-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{git-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{git-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{git-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{git-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{git-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{git-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{git-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{git-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{git-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{git-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{git-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{git-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{git-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{git-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{git-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{git-sk3qaz4a.js → plugin-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{git-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{git-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{git-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{git-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{git-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{git-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{git-x61499pn.js → plugin-x61499pn.js} +0 -0
  775. /package/dist/chunks/{git-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{git-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{git-y8f7s663.js → plugin-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{git-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{git-ym463w8f.js → plugin-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{git-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{git-z9919s4g.js → plugin-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./git-p45atnv4.js";
2
+ Service83,
3
+ node87
4
+ } from "./plugin-r2s5mzj1.js";
5
5
  import {
6
- Service29,
7
- node32
8
- } from "./git-ep5xej2h.js";
6
+ Service37,
7
+ node40
8
+ } from "./plugin-3ah5pgmr.js";
9
9
  import {
10
- Service63,
11
- node67
12
- } from "./git-nj62jbws.js";
10
+ Service68,
11
+ node70
12
+ } from "./plugin-pr301zdv.js";
13
13
  import {
14
- Service39,
15
- node41
16
- } from "./git-wmnssb6q.js";
14
+ Service49,
15
+ node51
16
+ } from "./plugin-g7pyd2xg.js";
17
17
  import {
18
18
  __export
19
- } from "./git-9rqn6x4v.js";
19
+ } from "./plugin-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service24,
26
- layer: () => layer12,
25
+ Service: () => Service31,
26
+ layer: () => layer13,
27
27
  name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node27
29
+ node: () => node35
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service24 extends Context.Service()("@opencode/McpTool") {
38
+ class Service31 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service24, Effect.gen(function* () {
41
- const mcp = yield* Service29;
42
- const tools = yield* Service39;
43
- const bus = yield* Service80;
44
- const permission = yield* Service63;
40
+ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
41
+ const mcp = yield* Service37;
42
+ const tools = yield* Service49;
43
+ const bus = yield* Service83;
44
+ const permission = yield* Service68;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node27 = makeLocationNode({
124
- service: Service24,
125
- layer: layer12,
126
- deps: [node41, node32, node84, node67]
123
+ var node35 = makeLocationNode({
124
+ service: Service31,
125
+ layer: layer13,
126
+ deps: [node51, node40, node87, node70]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service24, layer12, node27, exports_mcp3 };
129
+ export { namespace2, name13, Service31, layer13, node35, exports_mcp3 };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service74
3
- } from "./git-njerjs8t.js";
2
+ Service64
3
+ } from "./plugin-jgaj827t.js";
4
4
  import {
5
- Service63
6
- } from "./git-nj62jbws.js";
5
+ Service68
6
+ } from "./plugin-pr301zdv.js";
7
7
  import {
8
- ID5,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service59
14
- } from "./git-8vpe69nk.js";
13
+ Service26
14
+ } from "./plugin-jebqk7jw.js";
15
15
  import {
16
16
  __export
17
- } from "./git-9rqn6x4v.js";
17
+ } from "./plugin-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input2,
22
+ Input: () => Input9,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin21,
24
+ Plugin: () => Plugin10,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description2,
27
- name: () => name2
26
+ description: () => description4,
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name2 = "websearch";
32
+ var name9 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input2 = Schema.Struct({
42
+ var Input9 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID5,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin21 = {
49
+ var Plugin10 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service63;
53
- const forms = yield* Service74;
54
- const websearch = yield* Service59;
52
+ const permission = yield* Service68;
53
+ const forms = yield* Service64;
54
+ const websearch = yield* Service26;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name2,
56
+ name: name9,
57
57
  options: { codemode: false },
58
- description: description2,
59
- input: Input2,
58
+ description: description4,
59
+ input: Input9,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name2,
63
+ action: name9,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name2];
179
+ delete event.tools[name9];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name2, NO_RESULTS2, description2, Input2, Plugin21, exports_websearch };
187
+ export { name9, NO_RESULTS2, description4, Input9, Plugin10, exports_websearch };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./git-p45atnv4.js";
2
+ Service83,
3
+ node87
4
+ } from "./plugin-r2s5mzj1.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./git-rdw6cm16.js";
8
+ } from "./plugin-rdw6cm16.js";
9
9
  import {
10
- Service77,
11
- node81
12
- } from "./git-c8s4yex5.js";
10
+ Service79,
11
+ node83
12
+ } from "./plugin-g0eqw7vj.js";
13
13
  import {
14
14
  rewrite2,
15
- ID12,
15
+ ID7,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service72,
20
- node76,
21
- Event17
22
- } from "./git-29mm1gn9.js";
19
+ Service61,
20
+ node63,
21
+ Event12
22
+ } from "./plugin-svykb2th.js";
23
23
  import {
24
24
  __export
25
- } from "./git-9rqn6x4v.js";
25
+ } from "./plugin-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,26 +30,26 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event16,
33
+ Event: () => Event11,
34
34
  Family: () => Family2,
35
- ID: () => ID11,
36
- Info: () => Info20,
35
+ ID: () => ID6,
36
+ Info: () => Info14,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service71,
40
+ Service: () => Service59,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node75,
45
- parse: () => parse5
44
+ node: () => node61,
45
+ parse: () => parse4
46
46
  });
47
47
  import { Model } from "@opencode/schema/model";
48
48
  import { Context, Effect, Layer, Stream } from "effect";
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import { freeze } from "immer";
51
- import { Event as Event16 } from "@opencode/schema/model";
52
- var ID11 = Model.ID;
51
+ import { Event as Event11 } from "@opencode/schema/model";
52
+ var ID6 = Model.ID;
53
53
  var VariantID2 = Model.VariantID;
54
54
  var Family2 = Model.Family;
55
55
  var ReasoningField2 = Model.ReasoningField;
@@ -65,14 +65,14 @@ var mergeCapabilities2 = (config, base) => {
65
65
  };
66
66
  var Cost2 = Model.Cost;
67
67
  var Ref2 = Model.Ref;
68
- var Info20 = Model.Info;
68
+ var Info14 = Model.Info;
69
69
 
70
- class Service71 extends Context.Service()("@opencode/Model") {
70
+ class Service59 extends Context.Service()("@opencode/Model") {
71
71
  }
72
- var layer = Layer.effect(Service71, Effect.gen(function* () {
73
- const providers = yield* Service72;
74
- const bus = yield* Service80;
75
- const location = yield* Service77;
72
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
73
+ const providers = yield* Service61;
74
+ const bus = yield* Service83;
75
+ const location = yield* Service79;
76
76
  let input;
77
77
  const state = create3({
78
78
  name: "model",
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
117
117
  const models = writable(providerID);
118
118
  if (!models)
119
119
  return;
120
- const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
120
+ const model = draft(providerID, modelID) ?? Info14.default(providerID, modelID);
121
121
  update(model);
122
122
  model.id = modelID;
123
123
  model.providerID = providerID;
@@ -206,8 +206,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
206
206
  location: { directory: location.directory, workspaceID: location.workspaceID }
207
207
  });
208
208
  });
209
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
210
- return Service71.of({
209
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
210
+ return Service59.of({
211
211
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
212
212
  reload,
213
213
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
226
226
  })
227
227
  });
228
228
  }));
229
- var node75 = makeLocationNode({ service: Service71, layer, deps: [node76, node84, node81] });
229
+ var node61 = makeLocationNode({ service: Service59, layer, deps: [node63, node87, node83] });
230
230
  function compatibility2(input) {
231
231
  if (typeof input === "string")
232
232
  return { reasoningField: input };
@@ -234,12 +234,12 @@ function compatibility2(input) {
234
234
  return;
235
235
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
236
236
  }
237
- function parse5(input) {
237
+ function parse4(input) {
238
238
  const index = input.indexOf("/");
239
239
  return {
240
- providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
241
- modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
240
+ providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
241
+ modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
242
242
  };
243
243
  }
244
244
 
245
- export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service71, node75, compatibility2, parse5, exports_model2, Event16 };
245
+ export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info14, Service59, node61, compatibility2, parse4, exports_model2, Event11 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./git-rdw6cm16.js";
3
+ } from "./plugin-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./git-qaymkmh1.js";
6
+ } from "./plugin-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./plugin-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options7,
15
- Service: () => Service55,
14
+ Options: () => Options6,
15
+ Service: () => Service50,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured7,
18
+ configured: () => configured6,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node57,
24
+ node: () => node52,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve3
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options7 = Schema.Struct({
46
+ var Options6 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service55 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service50 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service55.of({
202
+ return Service50.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured7(options) {
210
- return makeLocationNode({ service: Service55, layer: layer(options), deps: [Global.node] });
209
+ function configured6(options) {
210
+ return makeLocationNode({ service: Service50, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node57 = configured7();
212
+ var node52 = configured6();
213
213
 
214
- export { Options7, Service55, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node57, exports_select };
214
+ export { Options6, Service50, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured6, node52, exports_select };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service74
3
- } from "./git-njerjs8t.js";
2
+ Service64
3
+ } from "./plugin-jgaj827t.js";
4
4
  import {
5
- Service63
6
- } from "./git-nj62jbws.js";
5
+ Service68
6
+ } from "./plugin-pr301zdv.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./plugin-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service74;
57
- const permission = yield* Service63;
56
+ const forms = yield* Service64;
57
+ const permission = yield* Service68;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./plugin-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: () => Service36,
10
- node: () => node38
9
+ Service: () => Service47,
10
+ node: () => node49
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 Service36 extends Context.Service()("@opencode/Instance") {
16
+ class Service47 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node38 = LayerNode.unbound(Service36, Node.tags.values.global);
18
+ var node49 = LayerNode.unbound(Service47, Node.tags.values.global);
19
19
 
20
- export { Service36, node38, exports_service2 };
20
+ export { Service47, node49, exports_service2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./git-z5v4ffb3.js";
3
+ } from "./plugin-z5v4ffb3.js";
4
4
  import {
5
- Service77,
6
- node81
7
- } from "./git-c8s4yex5.js";
5
+ Service79,
6
+ node83
7
+ } from "./plugin-g0eqw7vj.js";
8
8
  import {
9
- Service47,
10
- node49
11
- } from "./git-3j8n7zh4.js";
9
+ Service76,
10
+ node79
11
+ } from "./plugin-jhmdvha7.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./git-tcezcvh9.js";
15
+ } from "./plugin-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./git-9rqn6x4v.js";
18
+ } from "./plugin-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options2,
25
- Service: () => Service13,
26
- configured: () => configured2,
24
+ Options: () => Options3,
25
+ Service: () => Service21,
26
+ configured: () => configured3,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer8,
29
- node: () => node15,
28
+ layer: () => layer9,
29
+ node: () => node23,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options2 = Schema.Struct({
38
+ var Options3 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service13 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service21 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service13, Effect.gen(function* () {
62
- const location = yield* Service77;
63
- const ripgrep = yield* Service47;
61
+ var ripgrepLayer2 = Layer.effect(Service21, Effect.gen(function* () {
62
+ const location = yield* Service79;
63
+ const ripgrep = yield* Service76;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service13, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service13.of({
108
+ return Service21.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service13, Effect.gen(function* () {
116
- const location = yield* Service77;
115
+ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
116
+ const location = yield* Service79;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service13, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service13.of({
129
+ return Service21.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service13.of({
134
+ return Service21.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service13, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service77;
177
+ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service79;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured2(options) {
186
- return makeLocationNode({ service: Service13, layer: layer8(options), deps: [node81, node49] });
185
+ function configured3(options) {
186
+ return makeLocationNode({ service: Service21, layer: layer9(options), deps: [node83, node79] });
187
187
  }
188
- var node15 = configured2();
188
+ var node23 = configured3();
189
189
 
190
- export { Options2, Service13, ripgrepLayer2, fffLayer2, layer8, configured2, node15, exports_search };
190
+ export { Options3, Service21, ripgrepLayer2, fffLayer2, layer9, configured3, node23, exports_search };