@opencode/core 0.0.0-dev-19676 → 0.0.0-dev-19677

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{mime-csf2jhsg.js → command-06dxphr1.js} +4 -4
  8. package/dist/chunks/{mime-fka8s72p.js → command-0gbtp71g.js} +17 -17
  9. package/dist/chunks/{mime-2k8khapm.js → command-0jwsre1p.js} +5 -5
  10. package/dist/chunks/{mime-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{mime-0q0f95c6.js → command-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{mime-dv7jba04.js → command-0qescp40.js} +1 -1
  13. package/dist/chunks/{mime-9wp7cw93.js → command-0rbej475.js} +16 -16
  14. package/dist/chunks/{mime-6vjs791k.js → command-0t3f5f2j.js} +24 -24
  15. package/dist/chunks/{mime-9tpvgkm4.js → command-0v94nfhm.js} +9 -9
  16. package/dist/chunks/{mime-vv2e8ggb.js → command-0vgngd9g.js} +26 -26
  17. package/dist/chunks/{mime-e6d6pdps.js → command-10jtetaj.js} +4 -4
  18. package/dist/chunks/{mime-pzbdg5ae.js → command-12fr5h43.js} +4 -4
  19. package/dist/chunks/{mime-pk5h2d3g.js → command-162dzd26.js} +4 -4
  20. package/dist/chunks/{mime-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{mime-tphheadp.js → command-1hpee78n.js} +10 -10
  22. package/dist/chunks/{mime-1bx7pb99.js → command-1jzmnccz.js} +8 -8
  23. package/dist/chunks/{mime-zshjmg5c.js → command-1qsftg3h.js} +23 -23
  24. package/dist/chunks/{mime-qst8j85x.js → command-1sjdykg9.js} +18 -18
  25. package/dist/chunks/{mime-q5ptgr8r.js → command-1v7c51ma.js} +12 -12
  26. package/dist/chunks/{mime-vx1605wv.js → command-1w4m95ye.js} +2 -2
  27. package/dist/chunks/command-1x11rq2a.js +18 -0
  28. package/dist/chunks/{mime-56gdpj1q.js → command-1ygqh575.js} +9 -9
  29. package/dist/chunks/{mime-4jpncxq3.js → command-205fktxw.js} +10 -10
  30. package/dist/chunks/{mime-21r38tys.js → command-21r38tys.js} +1 -1
  31. package/dist/chunks/{mime-0p4r5z7z.js → command-2277p7za.js} +3 -3
  32. package/dist/chunks/{mime-2402vzrj.js → command-2402vzrj.js} +1 -1
  33. package/dist/chunks/{mime-hefg7mzt.js → command-24k4k4wx.js} +20 -20
  34. package/dist/chunks/{mime-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{mime-dfg0bpnz.js → command-2ehyz9hr.js} +11 -11
  36. package/dist/chunks/{mime-dys6fa9v.js → command-2s9v5q2j.js} +6 -6
  37. package/dist/chunks/{mime-50px0bpn.js → command-2sgz0h5a.js} +6 -6
  38. package/dist/chunks/{mime-bg2g1xyx.js → command-2zsjkq9g.js} +20 -20
  39. package/dist/chunks/{mime-xhj2ag2n.js → command-30bm9ajm.js} +16 -16
  40. package/dist/chunks/{mime-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{mime-6jhr0q17.js → command-3h2szgxz.js} +6 -6
  42. package/dist/chunks/{mime-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{mime-9cg1cz13.js → command-3pzavtjr.js} +14 -14
  44. package/dist/chunks/{mime-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{mime-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{mime-2qp6y8xf.js → command-3w0fmcng.js} +5 -5
  47. package/dist/chunks/{mime-yp7kb132.js → command-41h8t21e.js} +5 -5
  48. package/dist/chunks/{mime-qqevf9na.js → command-45j2k0pw.js} +24 -24
  49. package/dist/chunks/{mime-d3xmts5k.js → command-467dymen.js} +29 -29
  50. package/dist/chunks/{mime-k7p6gza5.js → command-46pvzydw.js} +23 -23
  51. package/dist/chunks/{mime-cjwramev.js → command-4d8evfpc.js} +6 -6
  52. package/dist/chunks/{mime-h6r3nrb9.js → command-4dgbcxzg.js} +4 -4
  53. package/dist/chunks/{mime-1s8fjf9r.js → command-4dq01fp5.js} +11 -11
  54. package/dist/chunks/{mime-na6wbzjd.js → command-4jv5ref6.js} +79 -79
  55. package/dist/chunks/{mime-yn99wfgb.js → command-4sbvrcej.js} +17 -17
  56. package/dist/chunks/{mime-x2q6da39.js → command-4w1whx26.js} +4 -4
  57. package/dist/chunks/{mime-x233q2fk.js → command-53tjwt9g.js} +44 -44
  58. package/dist/chunks/{mime-57ez7d0k.js → command-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{mime-5daktx2q.js → command-5daktx2q.js} +1 -1
  60. package/dist/chunks/{mime-49g88a08.js → command-5mffgv55.js} +2 -2
  61. package/dist/chunks/{mime-1a6p2twq.js → command-5q02cxx3.js} +4 -4
  62. package/dist/chunks/{mime-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
  63. package/dist/chunks/{mime-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{mime-xf04dma3.js → command-5vcsb3kk.js} +32 -32
  65. package/dist/chunks/{mime-31besbt1.js → command-666pnfkr.js} +16 -16
  66. package/dist/chunks/{mime-669tq793.js → command-669tq793.js} +1 -1
  67. package/dist/chunks/{mime-tt83xs7d.js → command-68wccpr5.js} +25 -25
  68. package/dist/chunks/{mime-4416c72h.js → command-69a0df8h.js} +10 -10
  69. package/dist/chunks/{mime-89bb6baa.js → command-69j91c1q.js} +8 -8
  70. package/dist/chunks/{mime-6msgmcgs.js → command-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{mime-bbe2nkwj.js → command-6xmmm4dq.js} +15 -15
  72. package/dist/chunks/{mime-v5anqx5b.js → command-6yyja3sr.js} +9 -9
  73. package/dist/chunks/{mime-35bpgycj.js → command-7262bdbz.js} +13 -13
  74. package/dist/chunks/{mime-mvfsc1pv.js → command-73tb2d7t.js} +3 -3
  75. package/dist/chunks/{mime-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{mime-zhq7v0p7.js → command-7d93j08s.js} +7 -7
  77. package/dist/chunks/{mime-2zjw9q23.js → command-7hj3xbrc.js} +21 -21
  78. package/dist/chunks/{mime-3aemhp6x.js → command-7htbj526.js} +28 -28
  79. package/dist/chunks/{mime-04tfxcdr.js → command-7p3xftwe.js} +12 -12
  80. package/dist/chunks/{mime-78rkm6ft.js → command-7q2zmtmd.js} +13 -13
  81. package/dist/chunks/{mime-1765dzhp.js → command-7v69ty2b.js} +22 -22
  82. package/dist/chunks/{mime-bk4n5516.js → command-7wdpv7yx.js} +16 -16
  83. package/dist/chunks/{mime-rqv9ygtn.js → command-7wxbqxph.js} +22 -22
  84. package/dist/chunks/{mime-qvwwf4fp.js → command-840wgd2q.js} +24 -24
  85. package/dist/chunks/{mime-859cc6bp.js → command-84q2vxed.js} +23 -23
  86. package/dist/chunks/{mime-92atbx3b.js → command-8977mvv6.js} +11 -11
  87. package/dist/chunks/{mime-1zpnajcw.js → command-8a8wdyzn.js} +11 -11
  88. package/dist/chunks/{mime-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{mime-8p4f9s12.js → command-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{mime-8phwd4yj.js → command-8phwd4yj.js} +2 -2
  91. package/dist/chunks/command-95efmqcm.js +247 -0
  92. package/dist/chunks/{mime-21rnv1zr.js → command-96hc392c.js} +6 -6
  93. package/dist/chunks/{mime-e5b7myd9.js → command-9esbgk1q.js} +4 -4
  94. package/dist/chunks/{mime-de09dxhj.js → command-9fzyx5wt.js} +1 -1
  95. package/dist/chunks/{mime-1v6wmkfd.js → command-9g3kc011.js} +5 -5
  96. package/dist/chunks/{mime-9r7qax81.js → command-9hcft21q.js} +11 -11
  97. package/dist/chunks/{mime-3hfr6h8q.js → command-9hn6k4tm.js} +8 -8
  98. package/dist/chunks/{mime-fejzv7cs.js → command-9pj1fj9p.js} +13 -13
  99. package/dist/chunks/{mime-d1mtykxg.js → command-9r15s34d.js} +6 -6
  100. package/dist/chunks/{mime-mkhs8n3r.js → command-9r59gk3z.js} +6 -6
  101. package/dist/chunks/{mime-7jws6rem.js → command-9s6fqtph.js} +302 -302
  102. package/dist/chunks/{mime-y2yt4szk.js → command-9y0w708y.js} +8 -8
  103. package/dist/chunks/{mime-af04s6ss.js → command-a1a50ys5.js} +5 -5
  104. package/dist/chunks/{mime-a1bz86dw.js → command-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{mime-0aa0h9xn.js → command-a6aqwg0c.js} +1 -1
  106. package/dist/chunks/{mime-aaet6srn.js → command-aaet6srn.js} +2 -2
  107. package/dist/chunks/{mime-dtqm20v3.js → command-ahh5tn9t.js} +6 -6
  108. package/dist/chunks/{mime-03vjrbdx.js → command-akdr1yx1.js} +9 -9
  109. package/dist/chunks/{mime-d9age9tx.js → command-at45qxm4.js} +2 -2
  110. package/dist/chunks/{mime-ewpsdr79.js → command-b2aemhvb.js} +15 -15
  111. package/dist/chunks/{mime-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{mime-aya75d5a.js → command-b7td26qf.js} +9 -9
  113. package/dist/chunks/{mime-px5d9yap.js → command-b9g9100q.js} +8 -8
  114. package/dist/chunks/{mime-vkxpz7g2.js → command-bajakh74.js} +4 -4
  115. package/dist/chunks/{mime-f8vcdpta.js → command-bbzxkx14.js} +28 -28
  116. package/dist/chunks/{mime-zn83cexa.js → command-ber7v889.js} +8 -8
  117. package/dist/chunks/{mime-mkf4aqmw.js → command-bja92bag.js} +18 -18
  118. package/dist/chunks/{mime-rvws15xt.js → command-bxvsvvek.js} +9 -9
  119. package/dist/chunks/{mime-ts2x07a1.js → command-bz85s9hh.js} +1 -1
  120. package/dist/chunks/{mime-rw2tks3h.js → command-c18bwgtt.js} +23 -23
  121. package/dist/chunks/{mime-nszcs87g.js → command-c492wyyq.js} +7 -7
  122. package/dist/chunks/{mime-azt3m59k.js → command-c89895qa.js} +22 -22
  123. package/dist/chunks/command-ca6m86r2.js +26 -0
  124. package/dist/chunks/{mime-2pnhn36q.js → command-cavr175a.js} +21 -21
  125. package/dist/chunks/{mime-cfpkc3c9.js → command-cfpkc3c9.js} +2 -2
  126. package/dist/chunks/{mime-7hx8j49b.js → command-cnkwk6vd.js} +13 -13
  127. package/dist/chunks/{mime-dab9gdbe.js → command-cq2x0peb.js} +4 -4
  128. package/dist/chunks/{mime-ex7fm8gg.js → command-cy3cnjq8.js} +4 -4
  129. package/dist/chunks/{mime-65ay1smp.js → command-cykmh698.js} +23 -23
  130. package/dist/chunks/{mime-dyte7aq0.js → command-d1sy02nx.js} +37 -37
  131. package/dist/chunks/{mime-yqz1tghx.js → command-d24a1m55.js} +14 -14
  132. package/dist/chunks/{mime-ny4f3s0v.js → command-dfzezczs.js} +1 -1
  133. package/dist/chunks/{mime-2n5k2cty.js → command-dmajge55.js} +27 -27
  134. package/dist/chunks/{mime-drwq78ky.js → command-drwq78ky.js} +1 -1
  135. package/dist/chunks/{mime-d89gs2xh.js → command-dsk9gyby.js} +6 -6
  136. package/dist/chunks/{mime-sat34sqy.js → command-dy775f0c.js} +12 -12
  137. package/dist/chunks/{mime-tprcptpe.js → command-e01edj6k.js} +36 -36
  138. package/dist/chunks/{mime-kb5bv2n4.js → command-e2a7kn3r.js} +35 -35
  139. package/dist/chunks/{mime-d5zrkzmf.js → command-e3bagrz8.js} +3 -3
  140. package/dist/chunks/{mime-4vy2cx8a.js → command-ecywet7n.js} +30 -30
  141. package/dist/chunks/{mime-pn533w1y.js → command-eeq2162a.js} +86 -86
  142. package/dist/chunks/{mime-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{mime-4b3a3k2s.js → command-ek5xzf05.js} +24 -24
  144. package/dist/chunks/{mime-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{mime-b9spxxcf.js → command-ez8ghmhr.js} +6 -6
  146. package/dist/chunks/{mime-xj9vawve.js → command-f6jpff70.js} +16 -16
  147. package/dist/chunks/{mime-f828m53h.js → command-f828m53h.js} +2 -2
  148. package/dist/chunks/{mime-kdq8v965.js → command-fdms3n6w.js} +9 -9
  149. package/dist/chunks/{mime-jfqtm2ew.js → command-fdv30zvt.js} +7 -7
  150. package/dist/chunks/{mime-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{mime-stxr33d1.js → command-fza673sd.js} +8 -8
  152. package/dist/chunks/{mime-zyr433b0.js → command-g8jasmdt.js} +11 -11
  153. package/dist/chunks/{mime-1qzraqgc.js → command-g97kwpg6.js} +43 -43
  154. package/dist/chunks/command-gbadjzag.js +4 -0
  155. package/dist/chunks/{mime-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{mime-ebd70zp7.js → command-gfcakcdp.js} +3 -3
  157. package/dist/chunks/{mime-5qmhr9cv.js → command-ghzty3dd.js} +24 -24
  158. package/dist/chunks/{mime-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{mime-wa5xcfdj.js → command-gw8w5vjt.js} +28 -28
  160. package/dist/chunks/{mime-h03wrkyp.js → command-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{mime-et3m3hv9.js → command-h0jpty9f.js} +11 -11
  162. package/dist/chunks/{mime-pbpjca3p.js → command-h3kwk8y9.js} +7 -7
  163. package/dist/chunks/{mime-dzw83ac5.js → command-h5m7e0fe.js} +9 -9
  164. package/dist/chunks/{mime-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{mime-cswecm5v.js → command-h9ammvhv.js} +24 -24
  166. package/dist/chunks/{mime-rqd9fwpe.js → command-h9r75fxg.js} +1 -1
  167. package/dist/chunks/{mime-11qgt1va.js → command-ha607pgt.js} +6 -6
  168. package/dist/chunks/{mime-9jq91ht4.js → command-hatahbqr.js} +23 -23
  169. package/dist/chunks/{mime-c6s0q70p.js → command-hjm0k3fp.js} +2 -2
  170. package/dist/chunks/{mime-mqb6w0rk.js → command-hy1f76q1.js} +4 -4
  171. package/dist/chunks/{mime-h1957gbp.js → command-j4d74nk7.js} +35 -35
  172. package/dist/chunks/{mime-j56e64zr.js → command-j56e64zr.js} +1 -1
  173. package/dist/chunks/{mime-me1tt2vw.js → command-j7qr8k9e.js} +11 -11
  174. package/dist/chunks/{mime-k3gnzxs0.js → command-jppvw2tx.js} +5 -5
  175. package/dist/chunks/{mime-8htb71ed.js → command-jv9wq4h1.js} +15 -15
  176. package/dist/chunks/{mime-w93avjv0.js → command-k6zsgamj.js} +8 -8
  177. package/dist/chunks/{mime-4bfa0ewn.js → command-kfep38wt.js} +51 -51
  178. package/dist/chunks/{mime-b4ahrz2h.js → command-khnzgmt2.js} +24 -24
  179. package/dist/chunks/{mime-s6wmy0wz.js → command-km6ktv04.js} +6 -6
  180. package/dist/chunks/{mime-knb7evpn.js → command-knb7evpn.js} +2 -2
  181. package/dist/chunks/{mime-h4c27ev9.js → command-kwqsq9eb.js} +1 -1
  182. package/dist/chunks/{mime-tqkrwgse.js → command-ky3seynh.js} +2 -2
  183. package/dist/chunks/{mime-e6yqvfab.js → command-kzm1fy32.js} +17 -17
  184. package/dist/chunks/{mime-gnrjfmn5.js → command-m728j35j.js} +10 -10
  185. package/dist/chunks/{mime-cfzsy5dn.js → command-m8hf639e.js} +8 -8
  186. package/dist/chunks/{mime-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{mime-b1vqta1q.js → command-mrwc1hpc.js} +6 -6
  188. package/dist/chunks/{mime-hnbtvde1.js → command-mx4gtjsx.js} +17 -17
  189. package/dist/chunks/{mime-1mc3rdpb.js → command-n2jgbhgk.js} +11 -11
  190. package/dist/chunks/{mime-p8z9n6pf.js → command-n8fcz8br.js} +5 -5
  191. package/dist/chunks/{mime-3wkg3shk.js → command-n9gqnw48.js} +24 -24
  192. package/dist/chunks/{mime-6rhtevmb.js → command-nwkv3axv.js} +8 -8
  193. package/dist/chunks/{mime-khwtb84z.js → command-p04t4jyd.js} +5 -5
  194. package/dist/chunks/{mime-wpdxnz6z.js → command-p5t2wdxk.js} +11 -11
  195. package/dist/chunks/{mime-pky3fvqk.js → command-p7kdkvkh.js} +22 -22
  196. package/dist/chunks/{mime-dv2t2cas.js → command-pb15jk6q.js} +24 -24
  197. package/dist/chunks/{mime-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{mime-t8pjkv49.js → command-pka3f0bn.js} +23 -23
  199. package/dist/chunks/{mime-pknna89w.js → command-pknna89w.js} +1 -1
  200. package/dist/chunks/{mime-2f2be1sz.js → command-q1hc292q.js} +11 -11
  201. package/dist/chunks/{mime-ddt2bs9e.js → command-q5asdkn4.js} +4 -4
  202. package/dist/chunks/{mime-w22xa3ag.js → command-q68zbz63.js} +8 -8
  203. package/dist/chunks/{mime-c82sf4kt.js → command-qa89xvga.js} +43 -43
  204. package/dist/chunks/{mime-xgtksw21.js → command-qhvr2jea.js} +4 -4
  205. package/dist/chunks/{mime-yr3ynvqg.js → command-qj8dptrs.js} +50 -50
  206. package/dist/chunks/{mime-cpqxnny0.js → command-qnga3n65.js} +18 -18
  207. package/dist/chunks/{mime-cgxdsxqf.js → command-qnt9sasj.js} +8 -8
  208. package/dist/chunks/{mime-qsdy395h.js → command-qsdy395h.js} +1 -1
  209. package/dist/chunks/{mime-5d607bsg.js → command-r2m716tb.js} +9 -9
  210. package/dist/chunks/{mime-x3ws3syc.js → command-r7fwjr8e.js} +47 -47
  211. package/dist/chunks/{mime-z8jfcem0.js → command-rc7jd0ep.js} +11 -11
  212. package/dist/chunks/{mime-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{mime-j3s2z371.js → command-rhafb4aa.js} +9 -9
  214. package/dist/chunks/{mime-9xx6hc8d.js → command-rqr91q1p.js} +24 -24
  215. package/dist/chunks/{mime-ysv8z11j.js → command-rqz3bkzt.js} +8 -8
  216. package/dist/chunks/{mime-gq9ay3kp.js → command-rre36xp5.js} +13 -13
  217. package/dist/chunks/{mime-d338qq6w.js → command-s57hh4xa.js} +62 -62
  218. package/dist/chunks/{mime-9w5xwdkh.js → command-s86fxarf.js} +18 -18
  219. package/dist/chunks/{mime-xvw106k3.js → command-seydkqn5.js} +4 -4
  220. package/dist/chunks/{mime-w3byk4vz.js → command-sgve36kw.js} +134 -134
  221. package/dist/chunks/{mime-18e56dsp.js → command-shh6fz4q.js} +4 -4
  222. package/dist/chunks/{mime-7s5w9y6x.js → command-sj80jspt.js} +35 -35
  223. package/dist/chunks/{mime-vme96mrp.js → command-stnkqxxq.js} +13 -13
  224. package/dist/chunks/{mime-bnf67f0t.js → command-t23rfjnq.js} +6 -6
  225. package/dist/chunks/{mime-0gdmqesm.js → command-t550f9t1.js} +4 -4
  226. package/dist/chunks/{mime-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{mime-wgcccx00.js → command-tbvzjzzt.js} +41 -41
  228. package/dist/chunks/{mime-89znhe33.js → command-tcezcvh9.js} +4 -4
  229. package/dist/chunks/{mime-mjhwwr1h.js → command-tcy8tav0.js} +8 -8
  230. package/dist/chunks/{mime-tvjtxmeb.js → command-td2jtkpf.js} +16 -16
  231. package/dist/chunks/{mime-tdstcens.js → command-tdstcens.js} +1 -1
  232. package/dist/chunks/{mime-5mc1avxv.js → command-tfdat96q.js} +9 -9
  233. package/dist/chunks/{mime-jenzj19r.js → command-tk1ghjnq.js} +3 -3
  234. package/dist/chunks/{mime-v9shbp9h.js → command-tqxxrrwb.js} +30 -30
  235. package/dist/chunks/{mime-tvtrv512.js → command-tvtrv512.js} +1 -1
  236. package/dist/chunks/{mime-02w4s5j2.js → command-v10a7mjz.js} +26 -26
  237. package/dist/chunks/{mime-veqvce7d.js → command-veqvce7d.js} +1 -1
  238. package/dist/chunks/{mime-x1q5t1cj.js → command-vry016k2.js} +20 -20
  239. package/dist/chunks/{mime-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  240. package/dist/chunks/{mime-sarbwdm8.js → command-vzjsab6x.js} +11 -11
  241. package/dist/chunks/{mime-wryja361.js → command-w2xdsg80.js} +9 -9
  242. package/dist/chunks/{mime-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{mime-ttvrg1dv.js → command-w9037jm3.js} +30 -30
  244. package/dist/chunks/{mime-jm4d1k5k.js → command-wbhg106y.js} +24 -24
  245. package/dist/chunks/{mime-8m9832bt.js → command-wd5s8d9s.js} +31 -31
  246. package/dist/chunks/{mime-wd87259q.js → command-wd87259q.js} +1 -1
  247. package/dist/chunks/{mime-7tbaktnp.js → command-wevghkec.js} +24 -24
  248. package/dist/chunks/{mime-gyv66jpz.js → command-wmnva1mv.js} +3 -3
  249. package/dist/chunks/{mime-ky8k1321.js → command-wmqsncpr.js} +12 -12
  250. package/dist/chunks/{mime-6217hwpf.js → command-wpsghzwe.js} +20 -20
  251. package/dist/chunks/{mime-vwpcvpsn.js → command-wpxh4773.js} +27 -27
  252. package/dist/chunks/{mime-g70g2r7n.js → command-wtvb9gzx.js} +9 -9
  253. package/dist/chunks/{mime-p8vshhkt.js → command-wxffcvth.js} +9 -9
  254. package/dist/chunks/{mime-s5a290ta.js → command-x0dfaghg.js} +13 -13
  255. package/dist/chunks/{mime-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{mime-59zrdmmg.js → command-xd79hgjq.js} +17 -17
  257. package/dist/chunks/{mime-khfmzn3h.js → command-xf7eefbk.js} +9 -9
  258. package/dist/chunks/{mime-nknd4ny9.js → command-xmzstg3h.js} +7 -7
  259. package/dist/chunks/{mime-ggj56nfp.js → command-xnq8y3wp.js} +8 -8
  260. package/dist/chunks/{mime-658y826x.js → command-xw6050bm.js} +17 -17
  261. package/dist/chunks/{mime-nvxqht09.js → command-xxynqx5z.js} +3 -3
  262. package/dist/chunks/{mime-db3cn5xg.js → command-y10xyzsy.js} +3 -3
  263. package/dist/chunks/{mime-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{mime-dpkg50ah.js → command-y71avatq.js} +4 -4
  265. package/dist/chunks/{mime-d1b248br.js → command-y8nmaz64.js} +6 -6
  266. package/dist/chunks/{mime-6s8mww07.js → command-yaf95dqt.js} +11 -11
  267. package/dist/chunks/{mime-wbkyxrgf.js → command-yjptyezs.js} +5 -5
  268. package/dist/chunks/{mime-f2n192rq.js → command-yp2x3t23.js} +4 -4
  269. package/dist/chunks/{mime-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{mime-s4enseaf.js → command-yrznvahk.js} +2 -2
  271. package/dist/chunks/{mime-2593zg0c.js → command-ytvz0vpx.js} +29 -29
  272. package/dist/chunks/{mime-was7srj9.js → command-yy3gmdz3.js} +8 -8
  273. package/dist/chunks/{mime-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{mime-29x78va6.js → command-z63w68vq.js} +6 -6
  275. package/dist/chunks/{mime-4d0m0hwd.js → command-z9kmesag.js} +46 -46
  276. package/dist/chunks/{mime-zqcrhym3.js → command-zam46q7w.js} +11 -11
  277. package/dist/chunks/{mime-mbhmg47f.js → command-zch60zmd.js} +11 -11
  278. package/dist/chunks/{mime-hag8cqx7.js → command-zeays675.js} +16 -16
  279. package/dist/chunks/{mime-zeh9ct20.js → command-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{mime-0szpgk4d.js → command-zgsp9d7f.js} +31 -31
  281. package/dist/chunks/{mime-p3p972wa.js → command-zk8c4w5t.js} +5 -5
  282. package/dist/chunks/{mime-veh1f6j0.js → command-zmnepbn3.js} +7 -7
  283. package/dist/chunks/{mime-nagyd8v8.js → command-zr1jw1p3.js} +29 -29
  284. package/dist/chunks/{mime-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{mime-5b28hma2.js → command-zveb96hb.js} +29 -29
  286. package/dist/chunks/{mime-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +84 -84
  291. package/dist/config/discovery.js +83 -83
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +124 -124
  295. package/dist/config/plugin/command.js +212 -212
  296. package/dist/config/plugin/compaction.js +158 -158
  297. package/dist/config/plugin/compatibility.js +140 -140
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +122 -122
  303. package/dist/config/plugin/mcp.js +131 -131
  304. package/dist/config/plugin/policy.js +122 -122
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +124 -124
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +141 -141
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +125 -125
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +123 -123
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +127 -127
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +78 -78
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +92 -92
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +93 -93
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.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/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +223 -223
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +107 -107
  425. package/dist/form.js +79 -79
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +104 -104
  429. package/dist/git.js +6 -6
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +90 -90
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +355 -355
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +83 -83
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +103 -103
  464. package/dist/location-service-map.js +85 -85
  465. package/dist/location-services.js +352 -352
  466. package/dist/location.js +80 -80
  467. package/dist/mcp/client.js +90 -90
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +126 -126
  470. package/dist/mcp/oauth.js +77 -77
  471. package/dist/mcp/stdio.js +89 -89
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +90 -90
  474. package/dist/model-resolver.js +97 -97
  475. package/dist/model.js +97 -97
  476. package/dist/models-dev.js +106 -106
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +81 -81
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +112 -112
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +103 -103
  487. package/dist/plugin/command.js +100 -100
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +216 -216
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +327 -327
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +95 -95
  495. package/dist/plugin/module.js +5 -5
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +101 -101
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  500. package/dist/plugin/provider/azure.js +121 -121
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +118 -118
  506. package/dist/plugin/provider/digitalocean.js +92 -92
  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 +92 -92
  511. package/dist/plugin/provider/gitlab.js +90 -90
  512. package/dist/plugin/provider/google-vertex.js +89 -89
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +121 -121
  516. package/dist/plugin/provider/modal.js +91 -91
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +121 -121
  519. package/dist/plugin/provider/openai.js +91 -91
  520. package/dist/plugin/provider/opencode.js +92 -92
  521. package/dist/plugin/provider/openrouter.js +90 -90
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  525. package/dist/plugin/provider/sap-ai-core.js +90 -90
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +89 -89
  530. package/dist/plugin/provider/vllm.js +121 -121
  531. package/dist/plugin/provider/xai.js +90 -90
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +158 -158
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +140 -140
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +344 -344
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +85 -85
  541. package/dist/plugin/vcs/hg.js +85 -85
  542. package/dist/plugin/warming.js +120 -120
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +223 -223
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +79 -79
  554. package/dist/provider.js +96 -96
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +95 -95
  559. package/dist/reference/instructions.js +88 -88
  560. package/dist/reference.js +90 -90
  561. package/dist/repository-cache.js +80 -80
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +94 -94
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +130 -130
  569. package/dist/session/context.js +150 -150
  570. package/dist/session/diff.js +87 -87
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +151 -151
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +76 -76
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +117 -117
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +104 -104
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +89 -89
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +228 -228
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +97 -97
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +113 -113
  599. package/dist/session/runner/step.js +124 -124
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +137 -137
  604. package/dist/session/skill.js +102 -102
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +86 -86
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +206 -206
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +152 -152
  612. package/dist/session/to-session-error.js +110 -110
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +218 -218
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +15 -15
  620. package/dist/shell.js +139 -139
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +104 -104
  623. package/dist/skill.js +111 -111
  624. package/dist/snapshot.js +88 -88
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +125 -125
  629. package/dist/tool/plugin/edit.js +119 -119
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +115 -115
  632. package/dist/tool/plugin/grep.js +123 -123
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +119 -119
  635. package/dist/tool/plugin/question.js +102 -102
  636. package/dist/tool/plugin/read.js +124 -124
  637. package/dist/tool/plugin/shell.js +215 -215
  638. package/dist/tool/plugin/skill.js +112 -112
  639. package/dist/tool/plugin/subagent.js +215 -215
  640. package/dist/tool/plugin/webfetch.js +111 -111
  641. package/dist/tool/plugin/websearch.js +113 -113
  642. package/dist/tool/plugin/write.js +121 -121
  643. package/dist/tool/read-filesystem.js +99 -99
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +91 -91
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/variant.js +92 -92
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +88 -88
  676. package/dist/websearch.js +81 -81
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +80 -80
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +79 -79
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +10 -10
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +88 -88
  686. package/dist/worktree.js +95 -95
  687. package/package.json +8 -8
  688. package/dist/chunks/mime-0mesazry.js +0 -4
  689. package/dist/chunks/mime-4v7qdvcn.js +0 -18
  690. package/dist/chunks/mime-mggzc1am.js +0 -26
  691. package/dist/chunks/mime-twjzhaa3.js +0 -247
  692. /package/dist/chunks/{mime-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{mime-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{mime-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{mime-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{mime-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{mime-24dcb14g.js → command-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{mime-2710q6r3.js → command-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{mime-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{mime-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{mime-359p4xyc.js → command-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{mime-3asan66x.js → command-3asan66x.js} +0 -0
  703. /package/dist/chunks/{mime-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{mime-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{mime-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{mime-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{mime-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{mime-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{mime-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{mime-53557ph1.js → command-53557ph1.js} +0 -0
  711. /package/dist/chunks/{mime-550bvhaj.js → command-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{mime-6prwharc.js → command-6prwharc.js} +0 -0
  713. /package/dist/chunks/{mime-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{mime-7m9af43g.js → command-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{mime-822emrt2.js → command-822emrt2.js} +0 -0
  716. /package/dist/chunks/{mime-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{mime-8n3pysct.js → command-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{mime-922hggd3.js → command-922hggd3.js} +0 -0
  719. /package/dist/chunks/{mime-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{mime-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{mime-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{mime-af5trqkr.js → command-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{mime-afrmfg78.js → command-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{mime-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{mime-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{mime-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{mime-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{mime-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{mime-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{mime-d9fn303g.js → command-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{mime-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{mime-dajrwvna.js → command-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{mime-dap0rakb.js → command-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{mime-df08tz66.js → command-df08tz66.js} +0 -0
  735. /package/dist/chunks/{mime-dy18nga0.js → command-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{mime-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{mime-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{mime-ec1grn59.js → command-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{mime-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{mime-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{mime-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{mime-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{mime-faypxj3z.js → command-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{mime-fd410y7t.js → command-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{mime-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{mime-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{mime-g86h250q.js → command-g86h250q.js} +0 -0
  748. /package/dist/chunks/{mime-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{mime-gftt206x.js → command-gftt206x.js} +0 -0
  750. /package/dist/chunks/{mime-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{mime-hk9envan.js → command-hk9envan.js} +0 -0
  752. /package/dist/chunks/{mime-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{mime-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{mime-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{mime-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{mime-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{mime-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{mime-mp448xyj.js → command-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{mime-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{mime-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{mime-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{mime-njntx4h6.js → command-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{mime-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{mime-q74kybfr.js → command-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{mime-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{mime-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{mime-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{mime-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{mime-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{mime-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{mime-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{mime-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{mime-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{mime-twg0f83k.js → command-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{mime-w803qqfp.js → command-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{mime-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{mime-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{mime-wtztk69x.js → command-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{mime-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{mime-x61499pn.js → command-x61499pn.js} +0 -0
  781. /package/dist/chunks/{mime-y44na4kk.js → command-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{mime-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{mime-y8f7s663.js → command-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{mime-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{mime-ym463w8f.js → command-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{mime-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node65
4
- } from "./mime-6s8mww07.js";
3
+ node72
4
+ } from "./command-yaf95dqt.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./mime-pk5h2d3g.js";
8
+ } from "./command-162dzd26.js";
9
9
  import {
10
- ID8,
11
- Service50,
12
- node52
13
- } from "./mime-qqevf9na.js";
10
+ ID10,
11
+ Service64,
12
+ node67
13
+ } from "./command-45j2k0pw.js";
14
14
  import {
15
- ID15,
15
+ ID16,
16
16
  OAuth3
17
- } from "./mime-xj9vawve.js";
17
+ } from "./command-f6jpff70.js";
18
18
  import {
19
19
  ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service75,
24
- node79
25
- } from "./mime-pky3fvqk.js";
23
+ Service71,
24
+ node75
25
+ } from "./command-p7kdkvkh.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./mime-922hggd3.js";
28
+ } from "./command-922hggd3.js";
29
29
  import {
30
30
  Info32,
31
31
  Ref4,
32
32
  Service78,
33
33
  node82
34
- } from "./mime-d9age9tx.js";
34
+ } from "./command-at45qxm4.js";
35
35
  import {
36
36
  ID13,
37
- Service74,
38
- node78
39
- } from "./mime-t8pjkv49.js";
37
+ Service70,
38
+ node74
39
+ } from "./command-pka3f0bn.js";
40
+ import {
41
+ Service60,
42
+ node63
43
+ } from "./command-tfdat96q.js";
44
+ import {
45
+ Service51,
46
+ node54
47
+ } from "./command-wbhg106y.js";
40
48
  import {
41
49
  Service73,
42
50
  node77
43
- } from "./mime-5mc1avxv.js";
51
+ } from "./command-m728j35j.js";
44
52
  import {
45
- Service31,
46
- node34
47
- } from "./mime-jm4d1k5k.js";
48
- import {
49
- Service62,
50
- node64
51
- } from "./mime-gnrjfmn5.js";
52
- import {
53
- Service65,
54
- node68
55
- } from "./mime-px5d9yap.js";
53
+ Service77,
54
+ node81
55
+ } from "./command-b9g9100q.js";
56
56
  import {
57
57
  ID12,
58
- Service72,
59
- node76
60
- } from "./mime-1765dzhp.js";
58
+ Service69,
59
+ node73
60
+ } from "./command-7v69ty2b.js";
61
61
  import {
62
- ID11
63
- } from "./mime-vv2e8ggb.js";
62
+ ID7
63
+ } from "./command-0vgngd9g.js";
64
64
  import {
65
- Service25,
66
- node28
67
- } from "./mime-x233q2fk.js";
65
+ Service30,
66
+ node33
67
+ } from "./command-53tjwt9g.js";
68
68
  import {
69
- Service57,
70
- node59
71
- } from "./mime-y2yt4szk.js";
69
+ Service65,
70
+ node68
71
+ } from "./command-9y0w708y.js";
72
72
  import {
73
- Service47,
74
- node49
75
- } from "./mime-4bfa0ewn.js";
73
+ Service61,
74
+ node64
75
+ } from "./command-kfep38wt.js";
76
76
  import {
77
- Service33,
78
- node36
79
- } from "./mime-qvwwf4fp.js";
77
+ Service31,
78
+ node34
79
+ } from "./command-840wgd2q.js";
80
80
  import {
81
- Source3,
82
- Service30,
83
- node33
84
- } from "./mime-02w4s5j2.js";
81
+ Source4,
82
+ Service48,
83
+ node51
84
+ } from "./command-v10a7mjz.js";
85
+ import {
86
+ Info5,
87
+ Service35,
88
+ node38
89
+ } from "./command-ek5xzf05.js";
85
90
  import {
86
- Info9,
87
- Service46,
88
- node48
89
- } from "./mime-4b3a3k2s.js";
91
+ Service18,
92
+ node21
93
+ } from "./command-eeq2162a.js";
90
94
  import {
91
95
  Service17,
92
96
  node20
93
- } from "./mime-pn533w1y.js";
94
- import {
95
- Service45,
96
- node47
97
- } from "./mime-2n5k2cty.js";
97
+ } from "./command-dmajge55.js";
98
98
  import {
99
99
  Service16,
100
100
  node19
101
- } from "./mime-xvw106k3.js";
101
+ } from "./command-seydkqn5.js";
102
102
  import {
103
- Service43,
104
- node45
105
- } from "./mime-xhj2ag2n.js";
103
+ Service15,
104
+ node18
105
+ } from "./command-30bm9ajm.js";
106
106
  import {
107
- ID10,
108
- Service61,
109
- node63
110
- } from "./mime-rw2tks3h.js";
107
+ ID4,
108
+ Service36,
109
+ node39
110
+ } from "./command-c18bwgtt.js";
111
111
  import {
112
- Service64,
113
- node67
114
- } from "./mime-9wp7cw93.js";
112
+ Service76,
113
+ node80
114
+ } from "./command-0rbej475.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info24,
117
+ Info31,
118
118
  ListEntry3,
119
- Service63,
120
- node66
121
- } from "./mime-h1957gbp.js";
119
+ Service75,
120
+ node79
121
+ } from "./command-j4d74nk7.js";
122
122
  import {
123
- Service15,
124
- node18
125
- } from "./mime-tt83xs7d.js";
123
+ Service39,
124
+ node42
125
+ } from "./command-68wccpr5.js";
126
126
  import {
127
127
  __export
128
- } from "./mime-9rqn6x4v.js";
128
+ } from "./command-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,30 +143,30 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service50;
147
- const aisdk = yield* Service73;
148
- const providers = yield* Service74;
149
- const models = yield* Service72;
150
- const commands = yield* Service31;
146
+ const agents = yield* Service64;
147
+ const aisdk = yield* Service60;
148
+ const providers = yield* Service70;
149
+ const models = yield* Service69;
150
+ const commands = yield* Service51;
151
151
  const bus = yield* Service81;
152
- const integration = yield* Service75;
153
- const kv = yield* Service62;
154
- const mcp = yield* Service25;
152
+ const integration = yield* Service71;
153
+ const kv = yield* Service73;
154
+ const mcp = yield* Service30;
155
155
  const location = yield* Service78;
156
- const reference = yield* Service30;
156
+ const reference = yield* Service48;
157
157
  const rpc = yield* Service16;
158
- const skill = yield* Service46;
159
- const tools = yield* Service33;
160
- const vcs = yield* Service43;
161
- const websearch = yield* Service61;
162
- const generate = yield* Service15;
163
- const permission = yield* Service47;
164
- const hooks = yield* Service57;
165
- const sessions = yield* Service17;
166
- const persistentPty = yield* Service45;
167
- const locations = yield* Service65;
168
- const worktrees = yield* Service63;
169
- const worktreeStrategies = yield* Service64;
158
+ const skill = yield* Service35;
159
+ const tools = yield* Service31;
160
+ const vcs = yield* Service15;
161
+ const websearch = yield* Service36;
162
+ const generate = yield* Service39;
163
+ const permission = yield* Service61;
164
+ const hooks = yield* Service65;
165
+ const sessions = yield* Service18;
166
+ const persistentPty = yield* Service17;
167
+ const locations = yield* Service77;
168
+ const worktrees = yield* Service75;
169
+ const worktreeStrategies = yield* Service76;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
171
  const locationInfo = () => new Info32({
172
172
  directory: location.directory,
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info24);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info31);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
185
  const location = yield* Service78;
186
- const agents = yield* Service50;
186
+ const agents = yield* Service64;
187
187
  return {
188
188
  location: new Info32({
189
189
  directory: location.directory,
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID8.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID8.make(id)),
222
- update: (id, update) => editor.update(ID8.make(id), update),
223
- remove: (id) => editor.remove(ID8.make(id))
220
+ get: (id) => mutable(editor.get(ID10.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
222
+ update: (id, update) => editor.update(ID10.make(id), update),
223
+ remove: (id) => editor.remove(ID10.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  get: (id) => editor.get(ID13.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID16.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
267
  update: (id, update) => editor.update(ID13.make(id), update),
268
268
  remove: (id) => editor.remove(ID13.make(id)),
@@ -364,7 +364,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
364
364
  reload: integration.reload,
365
365
  connection: {
366
366
  active: (id) => integration.connection.active(ID14.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection)
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection)
368
368
  },
369
369
  transform: (callback) => integration.transform((editor) => {
370
370
  callback({
@@ -386,7 +386,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
386
386
  if (ref && !isCurrentLocation(ref))
387
387
  return Effect.gen(function* () {
388
388
  const location = yield* Service78;
389
- const mcp = yield* Service25;
389
+ const mcp = yield* Service30;
390
390
  return {
391
391
  location: new Info32({
392
392
  directory: location.directory,
@@ -423,7 +423,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
423
423
  reload: reference.reload,
424
424
  transform: (callback) => reference.transform((editor) => {
425
425
  callback({
426
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
426
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
427
427
  remove: editor.remove,
428
428
  list: editor.list,
429
429
  get: editor.get
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
437
437
  callback({
438
438
  list: () => mutable(editor.list()),
439
439
  get: editor.get,
440
- add: (value) => editor.add(Schema.decodeUnknownSync(Info9)(value)),
440
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info5)(value)),
441
441
  update: editor.update,
442
442
  remove: editor.remove
443
443
  });
@@ -467,19 +467,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
467
467
  providers: () => response(websearch.providers()),
468
468
  query: (input) => response(websearch.query({
469
469
  query: input.query,
470
- providerID: input.providerID === undefined ? undefined : ID10.make(input.providerID)
470
+ providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
471
471
  })),
472
472
  reload: websearch.reload,
473
473
  transform: (callback) => websearch.transform((editor) => {
474
474
  callback({
475
475
  add: (definition) => editor.add({
476
- id: ID10.make(definition.id),
476
+ id: ID4.make(definition.id),
477
477
  name: definition.name,
478
478
  execute: definition.execute
479
479
  }),
480
480
  default: {
481
481
  get: editor.default.get,
482
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID10.make(selection))
482
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
483
483
  }
484
484
  });
485
485
  })
@@ -533,31 +533,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
533
533
  return context;
534
534
  });
535
535
  var requirements3 = LayerNode.group([
536
- node65,
537
- node52,
538
- node77,
539
- node78,
540
- node76,
541
- node34,
536
+ node72,
537
+ node67,
538
+ node63,
539
+ node74,
540
+ node73,
541
+ node54,
542
542
  node85,
543
- node79,
544
- node64,
545
- node28,
546
- node82,
543
+ node75,
544
+ node77,
547
545
  node33,
546
+ node82,
547
+ node51,
548
548
  node19,
549
- node48,
550
- node36,
551
- node45,
552
- node63,
553
- node66,
554
- node67,
549
+ node38,
550
+ node34,
555
551
  node18,
556
- node49,
557
- node59,
552
+ node39,
553
+ node79,
554
+ node80,
555
+ node42,
556
+ node64,
557
+ node68,
558
+ node21,
558
559
  node20,
559
- node47,
560
- node68
560
+ node81
561
561
  ]);
562
562
  function storage2(kv, pluginID) {
563
563
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin42
9
+ Plugin: () => Plugin12
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin42 = define({
14
+ var Plugin12 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin42 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin42, exports_mcp_codemode_exclusion };
37
+ export { Plugin12, exports_mcp_codemode_exclusion };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./mime-2a5m3afh.js";
3
+ } from "./command-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./mime-922hggd3.js";
6
+ } from "./command-922hggd3.js";
7
7
  import {
8
8
  Service78
9
- } from "./mime-d9age9tx.js";
9
+ } from "./command-at45qxm4.js";
10
10
  import {
11
- Service69
12
- } from "./mime-2zjw9q23.js";
11
+ Service42
12
+ } from "./command-7hj3xbrc.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service68
16
- } from "./mime-9cg1cz13.js";
15
+ Service41
16
+ } from "./command-3pzavtjr.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry4,
21
+ Entry2,
22
22
  Match2
23
- } from "./mime-d3xmts5k.js";
23
+ } from "./command-467dymen.js";
24
24
  import {
25
- Service47
26
- } from "./mime-4bfa0ewn.js";
25
+ Service61
26
+ } from "./command-kfep38wt.js";
27
27
  import {
28
- Service42
29
- } from "./mime-bbe2nkwj.js";
28
+ Service50
29
+ } from "./command-6xmmm4dq.js";
30
30
  import {
31
31
  __export
32
- } from "./mime-9rqn6x4v.js";
32
+ } from "./command-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input10,
39
- Output: () => Output7,
40
- Plugin: () => Plugin11,
41
- name: () => name10,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input12,
39
+ Output: () => Output8,
40
+ Plugin: () => Plugin46,
41
+ name: () => name12,
42
+ toModelContent: () => toModelContent6
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name10 = "grep";
48
- var Input10 = Schema.Struct({
47
+ var name12 = "grep";
48
+ var Input12 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output7 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output8 = Schema.Array(Match2);
69
+ var toModelContent6 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin11 = {
86
+ var Plugin46 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service69;
90
- const ripgrep = yield* Service68;
89
+ const environment = yield* Service42;
90
+ const ripgrep = yield* Service41;
91
91
  const location = yield* Service78;
92
- const access = yield* Service42;
93
- const permission = yield* Service47;
92
+ const access = yield* Service50;
93
+ const permission = yield* Service61;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name10,
95
+ name: name12,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input10,
99
- output: Output7,
98
+ input: Input12,
99
+ output: Output8,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name10,
105
+ action: name12,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin11 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry4.make({
139
+ entry: Entry2.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin11 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent6(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin11 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name10, Input10, Output7, toModelContent5, Plugin11, exports_grep };
157
+ export { name12, Input12, Output8, toModelContent6, Plugin46, exports_grep };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service59
3
- } from "./mime-cswecm5v.js";
2
+ Service44
3
+ } from "./command-h9ammvhv.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./mime-0gdmqesm.js";
6
+ } from "./command-t550f9t1.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./mime-922hggd3.js";
9
+ } from "./command-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service32
13
- } from "./mime-6vjs791k.js";
12
+ Service45
13
+ } from "./command-0t3f5f2j.js";
14
14
  import {
15
15
  Service78
16
- } from "./mime-d9age9tx.js";
16
+ } from "./command-at45qxm4.js";
17
17
  import {
18
18
  __export
19
- } from "./mime-9rqn6x4v.js";
19
+ } from "./command-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin30
25
+ Plugin: () => Plugin33
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin30 = define({
32
+ var Plugin33 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service32;
35
+ const discovery = yield* Service45;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
41
  const location = yield* Service78;
42
- const watcher = yield* Service59;
42
+ const watcher = yield* Service44;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin30, exports_instruction };
117
+ export { Plugin33, exports_instruction };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service81
3
- } from "./mime-pk5h2d3g.js";
3
+ } from "./command-162dzd26.js";
4
4
  import {
5
- Service44,
6
- Event7
7
- } from "./mime-4vy2cx8a.js";
5
+ Service68,
6
+ Event14
7
+ } from "./command-ecywet7n.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service44;
32
+ const modelsDev = yield* Service68;
33
33
  const bus = yield* Service81;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
59
59
  });
60
60
  }
61
61
  });
62
- yield* bus.subscribe(Event7.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
62
+ yield* bus.subscribe(Event14.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
63
63
  })
64
64
  });
65
65
  function environmentNames(provider) {