@opencode/core 0.0.0-dev-20423 → 0.0.0-dev-20425

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 (804) 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 +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-access-ndmv45hp.js → command-08rawchj.js} +3 -3
  8. package/dist/chunks/{file-access-6dgwpzzh.js → command-09nnxt9p.js} +25 -25
  9. package/dist/chunks/{file-access-y4z5w0q3.js → command-0gys68wh.js} +20 -20
  10. package/dist/chunks/{file-access-93ygb5af.js → command-0hf9g8pg.js} +6 -6
  11. package/dist/chunks/{file-access-q0xm7vwc.js → command-0j77ygfz.js} +6 -6
  12. package/dist/chunks/{file-access-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-access-0vbcp93d.js → command-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{file-access-n57qrn3a.js → command-0w1gqsy8.js} +4 -4
  15. package/dist/chunks/{file-access-mhsta9mw.js → command-0yc0bfdq.js} +5 -5
  16. package/dist/chunks/{file-access-69qt02rp.js → command-125a3gzs.js} +1 -1
  17. package/dist/chunks/{file-access-587pgjr5.js → command-12vfn7rq.js} +16 -16
  18. package/dist/chunks/{file-access-8jngx5jr.js → command-15nv6dks.js} +33 -33
  19. package/dist/chunks/{file-access-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{file-access-ffmntvx6.js → command-1rvfxwwy.js} +16 -16
  21. package/dist/chunks/{file-access-21r38tys.js → command-21r38tys.js} +1 -1
  22. package/dist/chunks/{file-access-w876dfzh.js → command-22adywx4.js} +35 -35
  23. package/dist/chunks/{file-access-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{file-access-4ts7tf6z.js → command-2ccvkpx1.js} +2 -2
  25. package/dist/chunks/{file-access-ys1n1pef.js → command-2f06s3ns.js} +11 -11
  26. package/dist/chunks/{file-access-k70p9jzb.js → command-2j5hbwxg.js} +9 -9
  27. package/dist/chunks/{file-access-0ft9cg2j.js → command-2jmaghvr.js} +4 -4
  28. package/dist/chunks/{file-access-0maqqwr3.js → command-2ss4kerk.js} +11 -11
  29. package/dist/chunks/{file-access-rmk2c50f.js → command-2vgzs72b.js} +5 -5
  30. package/dist/chunks/{file-access-5xzgptxk.js → command-2ztps42y.js} +4 -4
  31. package/dist/chunks/{file-access-8d4fr1yn.js → command-32qqfmzq.js} +11 -11
  32. package/dist/chunks/{file-access-3rymjx9g.js → command-392y4h0x.js} +16 -16
  33. package/dist/chunks/{file-access-px76j0pk.js → command-3b9qt4hj.js} +9 -9
  34. package/dist/chunks/{file-access-h2b79v29.js → command-3cegwx68.js} +2 -2
  35. package/dist/chunks/{file-access-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{file-access-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{file-access-p42hj8p8.js → command-3hfr6h8q.js} +8 -8
  38. package/dist/chunks/{file-access-dbfpw9fe.js → command-3pcwt893.js} +3 -3
  39. package/dist/chunks/{file-access-ezk3vef6.js → command-3r3hs3sk.js} +9 -9
  40. package/dist/chunks/{file-access-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{file-access-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{file-access-3v5tjer0.js → command-3v5tjer0.js} +2 -2
  43. package/dist/chunks/{file-access-jmmkndc6.js → command-3yhkhgds.js} +28 -28
  44. package/dist/chunks/{file-access-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{file-access-svgvjres.js → command-435p94mv.js} +15 -15
  46. package/dist/chunks/{file-access-hnr8f6ws.js → command-44pdqs77.js} +4 -4
  47. package/dist/chunks/{file-access-15nepkqg.js → command-4c2df9zx.js} +8 -8
  48. package/dist/chunks/{file-access-jafprmqk.js → command-4ep12pyx.js} +30 -30
  49. package/dist/chunks/{file-access-b5nepgw1.js → command-4rsgbdp7.js} +45 -45
  50. package/dist/chunks/{file-access-djvcp36f.js → command-4s1v5szb.js} +24 -24
  51. package/dist/chunks/{file-access-xp36mjrh.js → command-4tmhkwhh.js} +32 -32
  52. package/dist/chunks/{file-access-054bnrcz.js → command-4v12cqac.js} +12 -12
  53. package/dist/chunks/{file-access-j4rw0q04.js → command-4xjmh1rg.js} +18 -18
  54. package/dist/chunks/{file-access-54ma36ye.js → command-54ma36ye.js} +1 -1
  55. package/dist/chunks/{file-access-bt85z86c.js → command-569pzwc8.js} +15 -15
  56. package/dist/chunks/{file-access-56gdpj1q.js → command-56gdpj1q.js} +2 -2
  57. package/dist/chunks/{file-access-5daktx2q.js → command-5daktx2q.js} +1 -1
  58. package/dist/chunks/{file-access-h7f3g3sa.js → command-5dhr1a59.js} +16 -16
  59. package/dist/chunks/{file-access-1garg717.js → command-5dkrrsy6.js} +11 -11
  60. package/dist/chunks/{file-access-y1r30anr.js → command-5qfqt7q0.js} +8 -8
  61. package/dist/chunks/{file-access-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{file-access-9vmwh205.js → command-60cawxsn.js} +3 -3
  63. package/dist/chunks/{file-access-yk435ynq.js → command-654bmfkb.js} +4 -4
  64. package/dist/chunks/{file-access-46sp6zbs.js → command-65j7h7z0.js} +29 -29
  65. package/dist/chunks/{file-access-1dth1b1r.js → command-65zh2nvj.js} +15 -15
  66. package/dist/chunks/{file-access-669tq793.js → command-669tq793.js} +1 -1
  67. package/dist/chunks/{file-access-jw80jp6b.js → command-6sr3ve8g.js} +21 -21
  68. package/dist/chunks/{file-access-288g8677.js → command-6t2wbhs5.js} +4 -4
  69. package/dist/chunks/{file-access-22d7tj50.js → command-6tj04ent.js} +9 -9
  70. package/dist/chunks/{file-access-m6qrnzrr.js → command-6z9y85k1.js} +12 -12
  71. package/dist/chunks/{file-access-vhw7yaa4.js → command-70h48ehn.js} +3 -3
  72. package/dist/chunks/{file-access-dg8dy2wg.js → command-7699xt8c.js} +27 -27
  73. package/dist/chunks/{file-access-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{file-access-qgn6gcr1.js → command-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{file-access-6ygnexhm.js → command-7fsqtpfs.js} +5 -5
  76. package/dist/chunks/{file-access-c1sht665.js → command-7ggg3cvf.js} +42 -42
  77. package/dist/chunks/{file-access-r5mpbhf6.js → command-7ghtgw7y.js} +11 -11
  78. package/dist/chunks/{file-access-w66xp1pe.js → command-7gjme12f.js} +10 -10
  79. package/dist/chunks/{file-access-07x4qw17.js → command-7nk06whx.js} +48 -48
  80. package/dist/chunks/{file-access-s5a4scn6.js → command-7skj7b3t.js} +11 -11
  81. package/dist/chunks/{file-access-k1byq2gr.js → command-7zextwbv.js} +43 -43
  82. package/dist/chunks/{file-access-q9gdr54j.js → command-82n2gc37.js} +9 -9
  83. package/dist/chunks/{file-access-1m0tad6c.js → command-83zswggx.js} +11 -11
  84. package/dist/chunks/{file-access-1dvck2a7.js → command-84h8c373.js} +2 -2
  85. package/dist/chunks/{file-access-84txncab.js → command-84txncab.js} +1 -1
  86. package/dist/chunks/{file-access-e2mpdzhr.js → command-86efd22a.js} +6 -6
  87. package/dist/chunks/{file-access-y3mhqy61.js → command-86qnsy51.js} +5 -5
  88. package/dist/chunks/{file-access-ynzcn0sg.js → command-88npvcs0.js} +33 -33
  89. package/dist/chunks/{file-access-ae464gx1.js → command-8c3xbmtc.js} +8 -8
  90. package/dist/chunks/{file-access-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{file-access-43ka91pa.js → command-8pzy0y0s.js} +11 -11
  92. package/dist/chunks/{file-access-ynx1p25z.js → command-8xf89zsp.js} +2 -2
  93. package/dist/chunks/command-9hjw92a0.js +26 -0
  94. package/dist/chunks/{file-access-8ank75fn.js → command-9jbvj98d.js} +8 -8
  95. package/dist/chunks/{file-access-apk1tfew.js → command-9n47bnwc.js} +45 -19
  96. package/dist/chunks/{file-access-qcxzt1z7.js → command-9tmvx2dr.js} +16 -16
  97. package/dist/chunks/{file-access-1kxeax12.js → command-9yeatzar.js} +4 -4
  98. package/dist/chunks/{file-access-af6t3a03.js → command-9ynvqa68.js} +6 -6
  99. package/dist/chunks/{file-access-tkmwgdpd.js → command-a46v4e4v.js} +7 -7
  100. package/dist/chunks/{file-access-h8t7xzdm.js → command-a6wxqygz.js} +22 -22
  101. package/dist/chunks/{file-access-4xsrjhze.js → command-a8wbw237.js} +5 -5
  102. package/dist/chunks/{file-access-aaet6srn.js → command-aaet6srn.js} +2 -2
  103. package/dist/chunks/{file-access-5f009fwt.js → command-apvpadp8.js} +45 -45
  104. package/dist/chunks/{file-access-wecqtg5s.js → command-b3f8fkhc.js} +5 -5
  105. package/dist/chunks/{file-access-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{file-access-zd30eb5w.js → command-b7b4ctej.js} +5 -5
  107. package/dist/chunks/{file-access-tzgjc6jt.js → command-b983vmxa.js} +23 -23
  108. package/dist/chunks/{file-access-phxk36rp.js → command-c4v9k59t.js} +28 -28
  109. package/dist/chunks/{file-access-4hrvpbem.js → command-c6ttkmc3.js} +4 -4
  110. package/dist/chunks/{file-access-6cgtmdw1.js → command-cbvt3nfp.js} +11 -11
  111. package/dist/chunks/{file-access-43qgvbm9.js → command-cgk007dh.js} +22 -22
  112. package/dist/chunks/{file-access-1cjqvqy6.js → command-cvw89d3k.js} +25 -25
  113. package/dist/chunks/{file-access-yertzaey.js → command-d7hcd0ym.js} +11 -11
  114. package/dist/chunks/{file-access-v91tw74e.js → command-darx1emg.js} +11 -11
  115. package/dist/chunks/{file-access-3jf042qv.js → command-dcqe2tda.js} +44 -44
  116. package/dist/chunks/{file-access-bct739vz.js → command-dfe8djrf.js} +4 -4
  117. package/dist/chunks/{file-access-dpkg50ah.js → command-dpkg50ah.js} +1 -1
  118. package/dist/chunks/{file-access-78jsw4m4.js → command-dq0akw48.js} +22 -22
  119. package/dist/chunks/{file-access-47jkzegy.js → command-dsr2y3g9.js} +5 -5
  120. package/dist/chunks/{file-access-tksfqv8e.js → command-dw95s81m.js} +27 -27
  121. package/dist/chunks/{file-access-eph4bszk.js → command-e1m5s5bn.js} +2 -2
  122. package/dist/chunks/{file-access-b6eekeg6.js → command-e3p960dv.js} +3 -3
  123. package/dist/chunks/{file-access-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
  124. package/dist/chunks/{file-access-eex14ffc.js → command-e4nkqe78.js} +31 -31
  125. package/dist/chunks/{file-access-et0rkxxj.js → command-e7710hd6.js} +8 -8
  126. package/dist/chunks/{file-access-xh77m8eb.js → command-ebq0q0d7.js} +4 -4
  127. package/dist/chunks/{file-access-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{file-access-qjz9g255.js → command-ennp2fy0.js} +44 -44
  129. package/dist/chunks/{file-access-sn8z9k01.js → command-eps6q5xj.js} +13 -13
  130. package/dist/chunks/{file-access-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{file-access-y6mjvh6p.js → command-eyhtqccb.js} +9 -9
  132. package/dist/chunks/{file-access-ennsf284.js → command-ez4dssjv.js} +15 -15
  133. package/dist/chunks/{file-access-tjwy6fh9.js → command-ezespax2.js} +315 -315
  134. package/dist/chunks/{file-access-bbxmjh93.js → command-f03kf16x.js} +3 -3
  135. package/dist/chunks/{file-access-v211f8gj.js → command-f69ve3h4.js} +16 -16
  136. package/dist/chunks/{file-access-71az546q.js → command-f75zav2x.js} +2 -2
  137. package/dist/chunks/{file-access-dkn8r4r6.js → command-ffh69xw9.js} +8 -8
  138. package/dist/chunks/{file-access-0x34zjfk.js → command-fjegnp40.js} +14 -14
  139. package/dist/chunks/{file-access-nks5f63d.js → command-fjp52ft7.js} +46 -46
  140. package/dist/chunks/{file-access-xkqsw4zh.js → command-fpq7b0ys.js} +8 -8
  141. package/dist/chunks/{file-access-9y6p8gkk.js → command-g53rxf0r.js} +5 -5
  142. package/dist/chunks/{file-access-y2j62e7h.js → command-g602k23t.js} +11 -11
  143. package/dist/chunks/{file-access-4432mf64.js → command-gbr9d7vf.js} +23 -23
  144. package/dist/chunks/{file-access-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{file-access-m92djcax.js → command-gfkmrq4p.js} +22 -22
  146. package/dist/chunks/{file-access-89rb888m.js → command-ghaqbwqb.js} +16 -16
  147. package/dist/chunks/{file-access-c765mh8b.js → command-gjwgx2c5.js} +9 -9
  148. package/dist/chunks/{file-access-70kv65rg.js → command-gtkdm2kv.js} +80 -80
  149. package/dist/chunks/{file-access-s06my820.js → command-gzxs6px7.js} +22 -22
  150. package/dist/chunks/{file-access-gm258srw.js → command-h3njkt71.js} +13 -13
  151. package/dist/chunks/{file-access-g7ewk93y.js → command-h6t4ec3e.js} +27 -27
  152. package/dist/chunks/{file-access-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{file-access-b3180kyy.js → command-h81fdr4s.js} +24 -24
  154. package/dist/chunks/{file-access-tzwh8jpw.js → command-h9th01k5.js} +9 -9
  155. package/dist/chunks/{file-access-pd7gvt3w.js → command-h9wp8z5w.js} +4 -4
  156. package/dist/chunks/{file-access-7zydptxx.js → command-hfdbewx1.js} +6 -6
  157. package/dist/chunks/{file-access-jzzgdak2.js → command-hpa0c1fz.js} +5 -5
  158. package/dist/chunks/{file-access-9bnev7a1.js → command-hs8jsmzr.js} +20 -20
  159. package/dist/chunks/command-ht5y0zrb.js +18 -0
  160. package/dist/chunks/{file-access-m8frsg49.js → command-htx2nwm0.js} +21 -21
  161. package/dist/chunks/{file-access-jeg27h1n.js → command-hv340q6g.js} +10 -10
  162. package/dist/chunks/{file-access-hxr59w64.js → command-j02g5jt1.js} +22 -22
  163. package/dist/chunks/{file-access-6jv65q7g.js → command-j1qpxjvn.js} +14 -14
  164. package/dist/chunks/{file-access-g6yfr6ja.js → command-j29a7fks.js} +5 -5
  165. package/dist/chunks/{file-access-ytav440t.js → command-j4z1869k.js} +17 -17
  166. package/dist/chunks/{file-access-j56e64zr.js → command-j56e64zr.js} +1 -1
  167. package/dist/chunks/{file-access-jewzahs7.js → command-jewzahs7.js} +1 -1
  168. package/dist/chunks/{file-access-68yjs0jb.js → command-jfh4v34s.js} +24 -24
  169. package/dist/chunks/{file-access-b4twkq7r.js → command-jktqzjpa.js} +4 -4
  170. package/dist/chunks/{file-access-p5wv9msv.js → command-jkxz06wq.js} +6 -6
  171. package/dist/chunks/{file-access-8q7xev84.js → command-jqnhh969.js} +8 -8
  172. package/dist/chunks/{file-access-a6h4nhc6.js → command-k2736hxg.js} +3 -3
  173. package/dist/chunks/{file-access-ym15945z.js → command-k89vh9jf.js} +21 -21
  174. package/dist/chunks/{file-access-91z5rg67.js → command-k8b1rdw7.js} +6 -6
  175. package/dist/chunks/{file-access-16v1444e.js → command-k8zgzs4j.js} +7 -7
  176. package/dist/chunks/{file-access-33fsjrfc.js → command-ka0m6rdf.js} +21 -21
  177. package/dist/chunks/{file-access-m7b5ps2s.js → command-ka2772re.js} +11 -11
  178. package/dist/chunks/{file-access-9e5bzkjp.js → command-kb9j3d72.js} +3 -3
  179. package/dist/chunks/{file-access-k93tk05c.js → command-kcaq6mcn.js} +17 -17
  180. package/dist/chunks/{file-access-n7cst2s3.js → command-kh012ppf.js} +69 -69
  181. package/dist/chunks/{file-access-59s176qy.js → command-kk5zk3a0.js} +3 -3
  182. package/dist/chunks/{file-access-vhd5ymgm.js → command-kxv9wf7h.js} +14 -14
  183. package/dist/chunks/{file-access-wasxgqrf.js → command-m01y6ttg.js} +13 -13
  184. package/dist/chunks/{file-access-m3fdjcah.js → command-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{file-access-m58kmhef.js → command-m58kmhef.js} +2 -2
  186. package/dist/chunks/{file-access-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{file-access-mazbtkaa.js → command-mazbtkaa.js} +2 -2
  188. package/dist/chunks/{file-access-zc5g640q.js → command-mjqndqed.js} +5 -5
  189. package/dist/chunks/{file-access-29kk78yn.js → command-mnwrr1qs.js} +5 -5
  190. package/dist/chunks/{file-access-addxnjmp.js → command-mpk0rfs5.js} +4 -4
  191. package/dist/chunks/{file-access-skhcq9z8.js → command-mqafpt2f.js} +1 -1
  192. package/dist/chunks/{file-access-qmjvrsyr.js → command-mtk52xmd.js} +3 -3
  193. package/dist/chunks/{file-access-a1gpj94z.js → command-mvfsc1pv.js} +3 -3
  194. package/dist/chunks/{file-access-3c019r4e.js → command-n0pywpq4.js} +6 -6
  195. package/dist/chunks/{file-access-cbckqvqg.js → command-nf0mv796.js} +10 -10
  196. package/dist/chunks/{file-access-dxa0ydqz.js → command-nnxgyx76.js} +26 -26
  197. package/dist/chunks/{file-access-fyecwx5s.js → command-npmb1mqa.js} +27 -27
  198. package/dist/chunks/{file-access-6dy6aana.js → command-nynp1wzk.js} +29 -29
  199. package/dist/chunks/{file-access-k3c624dm.js → command-nzks3jc8.js} +3 -3
  200. package/dist/chunks/{file-access-j899q2e9.js → command-p5pf3enj.js} +23 -23
  201. package/dist/chunks/{file-access-aej0er4j.js → command-p72k79qf.js} +15 -15
  202. package/dist/chunks/{file-access-40x2t3h9.js → command-paae1hnn.js} +29 -29
  203. package/dist/chunks/{file-access-47cwrk07.js → command-pd1qyk1g.js} +22 -22
  204. package/dist/chunks/{file-access-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{file-access-pknna89w.js → command-pknna89w.js} +1 -1
  206. package/dist/chunks/{file-access-fqcgpcra.js → command-prq7hedt.js} +9 -9
  207. package/dist/chunks/{file-access-29tbwe98.js → command-ps47t8qh.js} +21 -21
  208. package/dist/chunks/{file-access-0e0js3rh.js → command-py3n4qdw.js} +18 -18
  209. package/dist/chunks/{file-access-f0mwhmn1.js → command-py4awywk.js} +8 -8
  210. package/dist/chunks/{file-access-mycw3te0.js → command-q03fcfcz.js} +16 -16
  211. package/dist/chunks/{file-access-tjseg5r3.js → command-q1xs28w9.js} +13 -13
  212. package/dist/chunks/{file-access-vs96cb1a.js → command-q3ezd169.js} +10 -10
  213. package/dist/chunks/{file-access-2htbg7xg.js → command-qe6tj4d9.js} +30 -30
  214. package/dist/chunks/{file-access-sxsbdwhb.js → command-qfcmt2yh.js} +9 -9
  215. package/dist/chunks/{file-access-qnc92qwc.js → command-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{file-access-qsdy395h.js → command-qsdy395h.js} +1 -1
  217. package/dist/chunks/{file-access-xs2bmay3.js → command-qw2yw8z7.js} +19 -19
  218. package/dist/chunks/{file-access-d8mzv3s6.js → command-r71rh3b2.js} +20 -20
  219. package/dist/chunks/{file-access-2jyv8ggx.js → command-r7cqnzm4.js} +24 -24
  220. package/dist/chunks/{file-access-r651jaea.js → command-r7fzpv87.js} +46 -46
  221. package/dist/chunks/{file-access-r8xr0va3.js → command-r8xr0va3.js} +1 -1
  222. package/dist/chunks/{file-access-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{file-access-afdssyjb.js → command-rpg9c19m.js} +4 -4
  224. package/dist/chunks/{file-access-z6t04ysw.js → command-rv5kyjjz.js} +6 -6
  225. package/dist/chunks/{file-access-zfs8ae4p.js → command-rx9ava5n.js} +4 -4
  226. package/dist/chunks/{file-access-8mb668b9.js → command-ryr1jwcc.js} +9 -9
  227. package/dist/chunks/{file-access-gvzs7mpe.js → command-s1pfhd0y.js} +13 -13
  228. package/dist/chunks/{file-access-whtwaam7.js → command-s22d9hak.js} +17 -17
  229. package/dist/chunks/{file-access-d171acjh.js → command-s7wf03n2.js} +11 -11
  230. package/dist/chunks/{file-access-b4mn66r8.js → command-s7xm0994.js} +24 -24
  231. package/dist/chunks/{file-access-s8d7rejh.js → command-s8d7rejh.js} +1 -1
  232. package/dist/chunks/command-sftyyjfb.js +252 -0
  233. package/dist/chunks/{file-access-81mx0dd4.js → command-shxgfbnt.js} +7 -7
  234. package/dist/chunks/{file-access-8p7e9d70.js → command-sjtp893p.js} +17 -17
  235. package/dist/chunks/{file-access-wr5v5dbh.js → command-t8gtdgqz.js} +7 -7
  236. package/dist/chunks/{file-access-zmj7yvkd.js → command-t8w8mjvs.js} +12 -12
  237. package/dist/chunks/{file-access-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{file-access-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{file-access-tdstcens.js → command-tdstcens.js} +1 -1
  240. package/dist/chunks/{file-access-ymkdd6f8.js → command-teep55cb.js} +18 -18
  241. package/dist/chunks/{file-access-8kwjs46x.js → command-tjvfc3yx.js} +18 -18
  242. package/dist/chunks/{file-access-447efrsq.js → command-tnvqwdy0.js} +10 -10
  243. package/dist/chunks/{file-access-tvtrv512.js → command-tvtrv512.js} +1 -1
  244. package/dist/chunks/{file-access-9pas2tb1.js → command-v2tfw1yv.js} +10 -10
  245. package/dist/chunks/{file-access-veqvce7d.js → command-veqvce7d.js} +1 -1
  246. package/dist/chunks/{file-access-32wjb5vy.js → command-vjbk48r7.js} +26 -26
  247. package/dist/chunks/{file-access-rkhbev71.js → command-vskhrygy.js} +11 -11
  248. package/dist/chunks/{file-access-5yv40649.js → command-vtk5qamb.js} +10 -10
  249. package/dist/chunks/{file-access-6d6skgds.js → command-vy7jzsr4.js} +16 -16
  250. package/dist/chunks/{file-access-10a0p2jb.js → command-vz9sc8m2.js} +13 -13
  251. package/dist/chunks/{file-access-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{file-access-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{file-access-h2qz4qj9.js → command-w08nn5n9.js} +13 -13
  254. package/dist/chunks/{file-access-4xp53jne.js → command-w17djjzg.js} +14 -14
  255. package/dist/chunks/{file-access-g5w8qwbj.js → command-w19d8598.js} +7 -7
  256. package/dist/chunks/{file-access-yraf8j13.js → command-w3hsnjjz.js} +23 -23
  257. package/dist/chunks/{file-access-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{file-access-nkbqs3g6.js → command-w5ystqj3.js} +3 -3
  259. package/dist/chunks/{file-access-tfzffy3q.js → command-wbsxrhdw.js} +11 -11
  260. package/dist/chunks/{file-access-a9vcwp68.js → command-wcw9m44b.js} +42 -42
  261. package/dist/chunks/{file-access-wd87259q.js → command-wd87259q.js} +1 -1
  262. package/dist/chunks/{file-access-07esrmkr.js → command-whhdfx7x.js} +13 -13
  263. package/dist/chunks/{file-access-6z5zeb5k.js → command-wnfrb3a9.js} +15 -15
  264. package/dist/chunks/{file-access-ehtcgea1.js → command-wyjbmczw.js} +14 -14
  265. package/dist/chunks/{file-access-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{file-access-tj22pfav.js → command-xa8sx6te.js} +34 -34
  267. package/dist/chunks/{file-access-cggxzdeq.js → command-xerakxap.js} +82 -82
  268. package/dist/chunks/{file-access-d9245fkk.js → command-xf862nsz.js} +18 -18
  269. package/dist/chunks/{file-access-rwk1fma6.js → command-xjbtjqdb.js} +18 -18
  270. package/dist/chunks/{file-access-xkntkrq7.js → command-xkntkrq7.js} +2 -2
  271. package/dist/chunks/{file-access-dkfn8ta6.js → command-xq9zaz6f.js} +20 -20
  272. package/dist/chunks/{file-access-0k4n424v.js → command-xs6tw54q.js} +57 -57
  273. package/dist/chunks/{file-access-6sf57f13.js → command-xxvyy5kb.js} +12 -12
  274. package/dist/chunks/{file-access-j5xd1zzt.js → command-y0m37wb8.js} +38 -38
  275. package/dist/chunks/{file-access-dwvzh0g2.js → command-y10wk092.js} +7 -7
  276. package/dist/chunks/{file-access-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{file-access-rk7s9xkn.js → command-y5rf7nzv.js} +4 -4
  278. package/dist/chunks/{file-access-3emr59yt.js → command-yf10kn3d.js} +8 -8
  279. package/dist/chunks/{file-access-2bh420nq.js → command-yjxvec77.js} +20 -20
  280. package/dist/chunks/{file-access-8q91hsbg.js → command-ynn332gn.js} +10 -10
  281. package/dist/chunks/{file-access-xxt1k2vd.js → command-ynyq5a7a.js} +17 -17
  282. package/dist/chunks/{file-access-8jx1rcbm.js → command-yp0e5902.js} +31 -31
  283. package/dist/chunks/{file-access-fdtxgpnc.js → command-ypa0y62e.js} +10 -10
  284. package/dist/chunks/{file-access-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  285. package/dist/chunks/{file-access-n66sb98d.js → command-ytfj295e.js} +159 -159
  286. package/dist/chunks/{file-access-fa4m3wax.js → command-ytws7ykb.js} +2 -2
  287. package/dist/chunks/{file-access-x0v4zbf6.js → command-yv60n1xn.js} +5 -5
  288. package/dist/chunks/{file-access-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  289. package/dist/chunks/{file-access-543tcfte.js → command-zfme70y8.js} +2 -2
  290. package/dist/chunks/{file-access-5tat9ppm.js → command-znsx74x0.js} +1 -1
  291. package/dist/chunks/{file-access-p3vbarsn.js → command-zqvjtgwh.js} +23 -23
  292. package/dist/chunks/{file-access-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  293. package/dist/chunks/{file-access-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +9 -9
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +81 -81
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +79 -79
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +367 -367
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +228 -228
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +99 -99
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +104 -100
  433. package/dist/form.js +84 -84
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +101 -101
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +87 -87
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +129 -129
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +82 -82
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +129 -129
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +103 -103
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +117 -117
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +100 -100
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +1 -1
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +124 -124
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +93 -93
  530. package/dist/plugin/provider/opencode.js +96 -96
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +354 -354
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +6 -6
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +230 -230
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +93 -93
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +87 -87
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +133 -133
  581. package/dist/session/context.js +151 -151
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +222 -222
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +152 -152
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +1 -1
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +215 -215
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +217 -217
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +93 -93
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +128 -128
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +118 -118
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +120 -120
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +123 -123
  650. package/dist/tool/plugin/shell.js +218 -218
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +108 -108
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +116 -116
  656. package/dist/tool/read-filesystem.js +98 -98
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +12 -12
  660. package/dist/types/filesystem.d.ts +15 -1
  661. package/dist/types/instance.d.ts +1 -1
  662. package/dist/types/plugin/internal.d.ts +1 -1
  663. package/dist/types/plugin/supervisor.d.ts +1 -1
  664. package/dist/util/error-summary.js +1 -1
  665. package/dist/util/error.js +1 -1
  666. package/dist/util/git-executable.js +2 -2
  667. package/dist/util/iife.js +1 -1
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +7 -7
  674. package/dist/v1/config/attachment.js +4 -4
  675. package/dist/v1/config/command.js +5 -5
  676. package/dist/v1/config/config.js +16 -16
  677. package/dist/v1/config/error.js +4 -4
  678. package/dist/v1/config/formatter.js +5 -5
  679. package/dist/v1/config/layout.js +1 -1
  680. package/dist/v1/config/lsp.js +3 -3
  681. package/dist/v1/config/mcp.js +4 -4
  682. package/dist/v1/config/migrate.js +92 -92
  683. package/dist/v1/config/permission.js +7 -7
  684. package/dist/v1/config/plugin.js +3 -3
  685. package/dist/v1/config/provider-options.js +1 -1
  686. package/dist/v1/config/provider.js +4 -4
  687. package/dist/v1/config/server.js +2 -2
  688. package/dist/v1/config/skills.js +3 -3
  689. package/dist/variant.js +93 -93
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +89 -89
  692. package/dist/websearch.js +82 -82
  693. package/dist/wellknown/plugin.js +76 -76
  694. package/dist/wellknown.js +81 -81
  695. package/dist/workspace/driver.js +3 -3
  696. package/dist/workspace/sql.js +1 -1
  697. package/dist/workspace.js +74 -74
  698. package/dist/worktree/directory.js +2 -2
  699. package/dist/worktree/git.js +8 -8
  700. package/dist/worktree/sql.js +5 -5
  701. package/dist/worktree/strategies.js +89 -89
  702. package/dist/worktree.js +94 -94
  703. package/package.json +8 -8
  704. package/dist/chunks/file-access-619r8v3y.js +0 -18
  705. package/dist/chunks/file-access-ccba3199.js +0 -26
  706. package/dist/chunks/file-access-q8av8z97.js +0 -252
  707. package/dist/types/util/identifier.d.ts +0 -1
  708. package/dist/util/identifier.js +0 -5
  709. /package/dist/chunks/{file-access-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  710. /package/dist/chunks/{file-access-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  711. /package/dist/chunks/{file-access-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  712. /package/dist/chunks/{file-access-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  713. /package/dist/chunks/{file-access-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  714. /package/dist/chunks/{file-access-24dcb14g.js → command-24dcb14g.js} +0 -0
  715. /package/dist/chunks/{file-access-2710q6r3.js → command-2710q6r3.js} +0 -0
  716. /package/dist/chunks/{file-access-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  717. /package/dist/chunks/{file-access-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  718. /package/dist/chunks/{file-access-34c7v6d4.js → command-34c7v6d4.js} +0 -0
  719. /package/dist/chunks/{file-access-359p4xyc.js → command-359p4xyc.js} +0 -0
  720. /package/dist/chunks/{file-access-3asan66x.js → command-3asan66x.js} +0 -0
  721. /package/dist/chunks/{file-access-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  722. /package/dist/chunks/{file-access-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  723. /package/dist/chunks/{file-access-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  724. /package/dist/chunks/{file-access-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  725. /package/dist/chunks/{file-access-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  726. /package/dist/chunks/{file-access-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  727. /package/dist/chunks/{file-access-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  728. /package/dist/chunks/{file-access-53557ph1.js → command-53557ph1.js} +0 -0
  729. /package/dist/chunks/{file-access-550bvhaj.js → command-550bvhaj.js} +0 -0
  730. /package/dist/chunks/{file-access-6prwharc.js → command-6prwharc.js} +0 -0
  731. /package/dist/chunks/{file-access-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  732. /package/dist/chunks/{file-access-7m9af43g.js → command-7m9af43g.js} +0 -0
  733. /package/dist/chunks/{file-access-822emrt2.js → command-822emrt2.js} +0 -0
  734. /package/dist/chunks/{file-access-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  735. /package/dist/chunks/{file-access-8n3pysct.js → command-8n3pysct.js} +0 -0
  736. /package/dist/chunks/{file-access-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  737. /package/dist/chunks/{file-access-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{file-access-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{file-access-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{file-access-af5trqkr.js → command-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{file-access-afrmfg78.js → command-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{file-access-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{file-access-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{file-access-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{file-access-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{file-access-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{file-access-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{file-access-d9fn303g.js → command-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{file-access-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{file-access-dajrwvna.js → command-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{file-access-dap0rakb.js → command-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{file-access-df08tz66.js → command-df08tz66.js} +0 -0
  753. /package/dist/chunks/{file-access-dy18nga0.js → command-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{file-access-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{file-access-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{file-access-ec1grn59.js → command-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{file-access-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{file-access-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{file-access-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{file-access-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{file-access-faypxj3z.js → command-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{file-access-fd410y7t.js → command-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{file-access-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{file-access-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{file-access-g86h250q.js → command-g86h250q.js} +0 -0
  766. /package/dist/chunks/{file-access-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{file-access-gftt206x.js → command-gftt206x.js} +0 -0
  768. /package/dist/chunks/{file-access-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{file-access-hk9envan.js → command-hk9envan.js} +0 -0
  770. /package/dist/chunks/{file-access-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{file-access-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{file-access-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{file-access-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{file-access-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{file-access-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{file-access-mp448xyj.js → command-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{file-access-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{file-access-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{file-access-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{file-access-njntx4h6.js → command-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{file-access-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{file-access-q74kybfr.js → command-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{file-access-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{file-access-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{file-access-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{file-access-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{file-access-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{file-access-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{file-access-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{file-access-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{file-access-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{file-access-w803qqfp.js → command-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{file-access-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{file-access-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{file-access-wtztk69x.js → command-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{file-access-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{file-access-x61499pn.js → command-x61499pn.js} +0 -0
  798. /package/dist/chunks/{file-access-y44na4kk.js → command-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{file-access-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{file-access-y8f7s663.js → command-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{file-access-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{file-access-ym463w8f.js → command-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{file-access-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  804. /package/dist/chunks/{file-access-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-access-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node86
7
- } from "./file-access-zc5g640q.js";
7
+ } from "./command-mjqndqed.js";
8
8
  import {
9
9
  Slug2
10
- } from "./file-access-gebd4c9n.js";
10
+ } from "./command-gebd4c9n.js";
11
11
  import {
12
12
  Service84,
13
13
  node88
14
- } from "./file-access-qmjvrsyr.js";
14
+ } from "./command-mtk52xmd.js";
15
15
  import {
16
16
  Service83,
17
17
  node87
18
- } from "./file-access-yk435ynq.js";
18
+ } from "./command-654bmfkb.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./file-access-h2b79v29.js";
21
+ } from "./command-3cegwx68.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./file-access-1dvck2a7.js";
24
+ } from "./command-84h8c373.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./file-access-y1r30anr.js";
28
+ } from "./command-5qfqt7q0.js";
29
29
  import {
30
30
  Ref4
31
- } from "./file-access-ynx1p25z.js";
31
+ } from "./command-8xf89zsp.js";
32
32
  import {
33
33
  Service64,
34
34
  node67
35
- } from "./file-access-eph4bszk.js";
35
+ } from "./command-e1m5s5bn.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./file-access-0vbcp93d.js";
39
+ } from "./command-0vbcp93d.js";
40
40
  import {
41
41
  make13
42
- } from "./file-access-nkbqs3g6.js";
42
+ } from "./command-w5ystqj3.js";
43
43
  import {
44
- Service16
45
- } from "./file-access-4xp53jne.js";
44
+ Service22
45
+ } from "./command-w17djjzg.js";
46
46
  import {
47
47
  __export
48
- } from "./file-access-9rqn6x4v.js";
48
+ } from "./command-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
53
53
  CreateInput: () => CreateInput3,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event4,
56
+ Event: () => Event6,
57
57
  Info: () => Info4,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service15,
63
+ Service: () => Service21,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node18
68
+ node: () => node24
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -94,11 +94,11 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event4 = Worktree.Event;
97
+ var Event6 = Worktree.Event;
98
98
 
99
- class Service15 extends Context.Service()("@opencode/Worktree") {
99
+ class Service21 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service15, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service84;
104
104
  const db = database.db;
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service16).get();
123
+ return Context.get(context, Service22).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event4.Updated, { projectID });
127
+ yield* bus.publish(Event6.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service15.of({
254
+ return Service21.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,8 +261,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node18 = Node.makeGlobalNode({
265
- service: Service15,
264
+ var node24 = Node.makeGlobalNode({
265
+ service: Service21,
266
266
  layer,
267
267
  deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node67]
268
268
  });
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service15, node18, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service21, node24, exports_worktree2, OperationError2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-access-yk435ynq.js";
4
+ } from "./command-654bmfkb.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./file-access-ynx1p25z.js";
8
+ } from "./command-8xf89zsp.js";
9
9
  import {
10
- Service55,
10
+ Service47,
11
11
  login2,
12
- node59
13
- } from "./file-access-xs2bmay3.js";
12
+ node50
13
+ } from "./command-qw2yw8z7.js";
14
14
  import {
15
15
  lazy2
16
- } from "./file-access-88xbtdfr.js";
16
+ } from "./command-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./file-access-9rqn6x4v.js";
19
+ } from "./command-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
@@ -24,13 +24,13 @@ __export(exports_pty, {
24
24
  CreateInput: () => CreateInput2,
25
25
  Event: () => Event3,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID3,
28
- Info: () => Info3,
27
+ ID: () => ID2,
28
+ Info: () => Info2,
29
29
  NotFoundError: () => NotFoundError2,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service14,
31
+ Service: () => Service16,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node17
33
+ node: () => node18
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
@@ -39,27 +39,27 @@ import { Event as Event3 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID3 = Pty.ID;
43
- var Info3 = Pty.Info;
42
+ var ID2 = Pty.ID;
43
+ var Info2 = Pty.Info;
44
44
  var CreateInput2 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
47
  class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID3
48
+ ptyID: ID2
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID3
53
+ ptyID: ID2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service14 extends Context.Service()("@opencode/Pty") {
57
+ class Service16 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service14, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
60
60
  const bus = yield* Service83;
61
61
  const location = yield* Service80;
62
- const shell = yield* Service55;
62
+ const shell = yield* Service47;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID3.ascending();
125
+ const id = ID2.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service14.of({ list, get, create, update, remove, write, attach });
270
+ return Service16.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node17 = makeLocationNode({
273
- service: Service14,
272
+ var node18 = makeLocationNode({
273
+ service: Service16,
274
274
  layer,
275
- deps: [node87, node84, node59]
275
+ deps: [node87, node84, node50]
276
276
  });
277
277
 
278
- export { ID3, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node17, exports_pty, Event3 };
278
+ export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service16, node18, exports_pty, Event3 };
@@ -2,17 +2,17 @@ import {
2
2
  Service64,
3
3
  node67,
4
4
  canonical3
5
- } from "./file-access-eph4bszk.js";
5
+ } from "./command-e1m5s5bn.js";
6
6
  import {
7
- Service60,
8
- node63
9
- } from "./file-access-93ygb5af.js";
7
+ Service53,
8
+ node56
9
+ } from "./command-0hf9g8pg.js";
10
10
  import {
11
- Service18
12
- } from "./file-access-dg8dy2wg.js";
11
+ Service14
12
+ } from "./command-7699xt8c.js";
13
13
  import {
14
14
  layer2
15
- } from "./file-access-q8av8z97.js";
15
+ } from "./command-sftyyjfb.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service18);
30
+ const lifecycle = Context.get(exit.value, Service14);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,7 +54,7 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node63.replace(Layer.succeed(Service60, {
57
+ node56.replace(Layer.succeed(Service53, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info26,
8
+ Info: () => Info12,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info26 = SessionProviderContext.Info;
22
+ var Info12 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info26, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info12, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./file-access-6dy6aana.js";
3
+ } from "./command-nynp1wzk.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./file-access-tksfqv8e.js";
6
+ } from "./command-dw95s81m.js";
7
7
  import {
8
8
  __export
9
- } from "./file-access-9rqn6x4v.js";
9
+ } from "./command-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve3
15
+ resolve: () => resolve2
16
16
  });
17
- function resolve3(model, supports = [{ type: "effort" }]) {
17
+ function resolve2(model, supports = [{ type: "effort" }]) {
18
18
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
19
19
  if (!protocol)
20
20
  return [];
@@ -510,4 +510,4 @@ var PROTOCOLS = {
510
510
  [aisdk2("@ai-sdk/cohere")]: cohere
511
511
  };
512
512
 
513
- export { resolve3, exports_variant };
513
+ export { resolve2, exports_variant };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-access-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info18
13
+ Info: () => Info16
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info18 = Schema.Struct({
30
+ var Info16 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info18, exports_attachment };
34
+ export { Image2, Info16, exports_attachment };
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./file-access-yk435ynq.js";
5
+ } from "./command-654bmfkb.js";
6
6
  import {
7
- Service76,
8
- node79
9
- } from "./file-access-8q91hsbg.js";
7
+ Service70,
8
+ node73
9
+ } from "./command-ynn332gn.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service48,
22
+ Service: () => Service68,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node51,
26
- resolve: () => resolve2
25
+ node: () => node71,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service48 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service68 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service48, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service76;
80
+ const kv = yield* Service70;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event15.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service48.of({
115
+ return Service68.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event15.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event15.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node51 = makeGlobalNode({ service: Service48, layer, deps: [httpClient, node79, node87] });
146
+ var node71 = makeGlobalNode({ service: Service68, layer, deps: [httpClient, node73, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service48, Event11, inspect2, resolve2, node51, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service68, Event15, inspect2, resolve4, node71, exports_wellknown };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./command-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service28,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service28 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service28.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service28, awaitActivation2, exports_service };
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./file-access-s8d7rejh.js";
6
+ } from "./command-s8d7rejh.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./file-access-0k4n424v.js";
9
+ } from "./command-xs6tw54q.js";
10
10
  import {
11
- Service36,
12
- node39
13
- } from "./file-access-nks5f63d.js";
11
+ Service34,
12
+ node36
13
+ } from "./command-fjp52ft7.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./file-access-46sp6zbs.js";
16
+ name13
17
+ } from "./command-65j7h7z0.js";
18
18
  import {
19
19
  __export
20
- } from "./file-access-9rqn6x4v.js";
20
+ } from "./command-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions4 = {};
24
- __export(exports_instructions4, {
25
- McpInstructions: () => exports_instructions4,
26
- Service: () => Service33,
27
- layer: () => layer13,
28
- node: () => node37
23
+ var exports_instructions3 = {};
24
+ __export(exports_instructions3, {
25
+ McpInstructions: () => exports_instructions3,
26
+ Service: () => Service31,
27
+ layer: () => layer12,
28
+ node: () => node33
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,11 +61,11 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service33 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service31 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer13 = Layer.effect(Service33, Effect.gen(function* () {
67
- const mcp = yield* Service36;
68
- return Service33.of({
66
+ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
67
+ const mcp = yield* Service34;
68
+ return Service31.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
70
  const source = (value) => make21({
71
71
  key: Key3.make("core/mcp-guidance"),
@@ -86,7 +86,7 @@ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node37 = makeLocationNode({ service: Service33, layer: layer13, deps: [node39] });
99
+ var node33 = makeLocationNode({ service: Service31, layer: layer12, deps: [node36] });
100
100
 
101
- export { Service33, layer13, node37, exports_instructions4 };
101
+ export { Service31, layer12, node33, exports_instructions3 };
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service36
6
- } from "./file-access-nks5f63d.js";
5
+ Service34
6
+ } from "./command-fjp52ft7.js";
7
7
  import {
8
- Service70
9
- } from "./file-access-0k4n424v.js";
8
+ Service56
9
+ } from "./command-xs6tw54q.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin5
18
+ Plugin: () => Plugin31
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin5 = {
22
+ var Plugin31 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service36;
26
- const permission = yield* Service70;
25
+ const mcp = yield* Service34;
26
+ const permission = yield* Service56;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin5 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin5, exports_mcp_resource };
96
+ export { Plugin31, exports_mcp_resource };