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

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 (798) 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 +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{command-npmb1mqa.js → schema-00hg8mdp.js} +35 -35
  8. package/dist/chunks/{command-dfe8djrf.js → schema-00z3vp5f.js} +4 -4
  9. package/dist/chunks/{command-nf0mv796.js → schema-01jce939.js} +13 -13
  10. package/dist/chunks/{command-7skj7b3t.js → schema-03xyy9gs.js} +11 -11
  11. package/dist/chunks/{command-3yhkhgds.js → schema-076g5gtq.js} +25 -25
  12. package/dist/chunks/{command-4s1v5szb.js → schema-0a25p3r5.js} +25 -25
  13. package/dist/chunks/{command-8xf89zsp.js → schema-0dfv3dc6.js} +14 -14
  14. package/dist/chunks/{command-xjbtjqdb.js → schema-0e8fjg4b.js} +19 -19
  15. package/dist/chunks/{command-9yeatzar.js → schema-0fk84ear.js} +4 -4
  16. package/dist/chunks/{command-p5pf3enj.js → schema-0jcwpj80.js} +26 -26
  17. package/dist/chunks/{command-r7cqnzm4.js → schema-0mc57tk4.js} +24 -24
  18. package/dist/chunks/{command-6z9y85k1.js → schema-0msk7f2d.js} +12 -12
  19. package/dist/chunks/{command-tjvfc3yx.js → schema-0ns8nkzq.js} +18 -18
  20. package/dist/chunks/{command-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  21. package/dist/chunks/{command-ryr1jwcc.js → schema-0ppje3yj.js} +13 -13
  22. package/dist/chunks/{command-s1pfhd0y.js → schema-0tfh6cbg.js} +13 -13
  23. package/dist/chunks/{command-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
  24. package/dist/chunks/{command-jfh4v34s.js → schema-164n2a8b.js} +27 -27
  25. package/dist/chunks/{command-r8xr0va3.js → schema-1acjjqhc.js} +4 -4
  26. package/dist/chunks/{command-q3ezd169.js → schema-1cm1abtm.js} +10 -10
  27. package/dist/chunks/{command-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  28. package/dist/chunks/{command-5dhr1a59.js → schema-1dfjj4a2.js} +24 -24
  29. package/dist/chunks/{command-84h8c373.js → schema-1dvck2a7.js} +2 -2
  30. package/dist/chunks/{command-paae1hnn.js → schema-1f62gqxs.js} +26 -26
  31. package/dist/chunks/{command-cbvt3nfp.js → schema-1mr0tf63.js} +11 -11
  32. package/dist/chunks/{command-21r38tys.js → schema-21r38tys.js} +1 -1
  33. package/dist/chunks/{command-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{command-5dkrrsy6.js → schema-2dhyt72p.js} +11 -11
  35. package/dist/chunks/{command-2j5hbwxg.js → schema-2j5hbwxg.js} +2 -2
  36. package/dist/chunks/{command-wbsxrhdw.js → schema-2ndfqft8.js} +18 -18
  37. package/dist/chunks/{command-b7b4ctej.js → schema-2p623br6.js} +5 -5
  38. package/dist/chunks/{command-ynyq5a7a.js → schema-2v8phk0m.js} +25 -25
  39. package/dist/chunks/{command-j02g5jt1.js → schema-2vkncht2.js} +26 -26
  40. package/dist/chunks/{command-yp0e5902.js → schema-2yjg5v3n.js} +36 -36
  41. package/dist/chunks/{command-yjxvec77.js → schema-33s4cs7k.js} +17 -17
  42. package/dist/chunks/{command-4rsgbdp7.js → schema-3av0r9g0.js} +43 -43
  43. package/dist/chunks/{command-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{command-7zextwbv.js → schema-3g00cn95.js} +43 -43
  45. package/dist/chunks/{command-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{command-4v12cqac.js → schema-3jtvz2c8.js} +18 -18
  47. package/dist/chunks/{command-9tmvx2dr.js → schema-3p0qyp3j.js} +17 -17
  48. package/dist/chunks/{command-0hf9g8pg.js → schema-3ppptnan.js} +6 -6
  49. package/dist/chunks/{command-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{command-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{command-3v5tjer0.js → schema-3v5tjer0.js} +2 -2
  52. package/dist/chunks/{command-4c2df9zx.js → schema-3ymztgxb.js} +8 -8
  53. package/dist/chunks/{command-shxgfbnt.js → schema-3yvx2c16.js} +7 -7
  54. package/dist/chunks/{command-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  55. package/dist/chunks/{command-mqafpt2f.js → schema-44w1d694.js} +1 -1
  56. package/dist/chunks/{command-9jbvj98d.js → schema-4a0nv7mx.js} +8 -8
  57. package/dist/chunks/{command-2ccvkpx1.js → schema-4ts7tf6z.js} +2 -2
  58. package/dist/chunks/{command-teep55cb.js → schema-50qbwwxg.js} +18 -18
  59. package/dist/chunks/{command-gzxs6px7.js → schema-51eyhnsv.js} +26 -26
  60. package/dist/chunks/{command-54ma36ye.js → schema-54ma36ye.js} +1 -1
  61. package/dist/chunks/{command-ez4dssjv.js → schema-5agx6kaf.js} +18 -18
  62. package/dist/chunks/{command-qw2yw8z7.js → schema-5atn9wfq.js} +22 -22
  63. package/dist/chunks/{command-5daktx2q.js → schema-5daktx2q.js} +1 -1
  64. package/dist/chunks/{command-htx2nwm0.js → schema-5gn7zxfa.js} +21 -21
  65. package/dist/chunks/{command-392y4h0x.js → schema-5jpgchb0.js} +21 -21
  66. package/dist/chunks/{command-tnvqwdy0.js → schema-5k2jxtxf.js} +10 -10
  67. package/dist/chunks/{command-ypa0y62e.js → schema-5nxa4r0r.js} +10 -10
  68. package/dist/chunks/{command-7699xt8c.js → schema-5pmpx3tn.js} +36 -36
  69. package/dist/chunks/{command-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
  70. package/dist/chunks/{command-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{command-ka2772re.js → schema-5w9cwpmd.js} +8 -8
  72. package/dist/chunks/{command-c4v9k59t.js → schema-5wk64npe.js} +28 -28
  73. package/dist/chunks/{command-xa8sx6te.js → schema-613r56za.js} +42 -42
  74. package/dist/chunks/{command-669tq793.js → schema-669tq793.js} +1 -1
  75. package/dist/chunks/{command-zqvjtgwh.js → schema-66x1gf3g.js} +26 -26
  76. package/dist/chunks/{command-ennp2fy0.js → schema-6ew4nd0q.js} +44 -44
  77. package/dist/chunks/{command-gtkdm2kv.js → schema-6k5d2hav.js} +89 -89
  78. package/dist/chunks/{command-e4nkqe78.js → schema-6mf5w0g3.js} +31 -31
  79. package/dist/chunks/{command-darx1emg.js → schema-6nmnvwva.js} +9 -9
  80. package/dist/chunks/{command-435p94mv.js → schema-6vgan4aw.js} +19 -19
  81. package/dist/chunks/{command-j29a7fks.js → schema-6yz0wx8n.js} +5 -5
  82. package/dist/chunks/{command-f75zav2x.js → schema-71az546q.js} +2 -2
  83. package/dist/chunks/{command-h6t4ec3e.js → schema-74sfygzs.js} +38 -38
  84. package/dist/chunks/{command-jqnhh969.js → schema-75re34rt.js} +10 -10
  85. package/dist/chunks/{command-ezespax2.js → schema-790j68qn.js} +321 -321
  86. package/dist/chunks/{command-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{command-7dqw4kz8.js → schema-7dqw4kz8.js} +1 -1
  88. package/dist/chunks/{command-wcw9m44b.js → schema-7ekw9ay4.js} +43 -43
  89. package/dist/chunks/{command-mnwrr1qs.js → schema-7hp7v40b.js} +5 -5
  90. package/dist/chunks/{command-a46v4e4v.js → schema-7sbkp4xb.js} +4 -4
  91. package/dist/chunks/{command-ka0m6rdf.js → schema-7sf05c4f.js} +24 -24
  92. package/dist/chunks/{command-fpq7b0ys.js → schema-7szz14f0.js} +8 -8
  93. package/dist/chunks/{command-t8gtdgqz.js → schema-7xjhysdy.js} +9 -9
  94. package/dist/chunks/{command-84txncab.js → schema-84txncab.js} +1 -1
  95. package/dist/chunks/{command-eyhtqccb.js → schema-884bfwk0.js} +7 -7
  96. package/dist/chunks/{command-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  97. package/dist/chunks/{command-kk5zk3a0.js → schema-8gbsj511.js} +3 -3
  98. package/dist/chunks/{command-1rvfxwwy.js → schema-8nst9j1y.js} +16 -16
  99. package/dist/chunks/{command-ghaqbwqb.js → schema-8wha04vy.js} +13 -13
  100. package/dist/chunks/{command-3r3hs3sk.js → schema-8wjfwe4f.js} +6 -6
  101. package/dist/chunks/{command-rv5kyjjz.js → schema-908m4j2d.js} +6 -6
  102. package/dist/chunks/{command-65zh2nvj.js → schema-91q34nvd.js} +17 -17
  103. package/dist/chunks/{command-2vgzs72b.js → schema-9b00c1fb.js} +5 -5
  104. package/dist/chunks/{command-vy7jzsr4.js → schema-9bqmr884.js} +15 -15
  105. package/dist/chunks/{command-g602k23t.js → schema-9cqw126c.js} +13 -13
  106. package/dist/chunks/{command-kb9j3d72.js → schema-9e5bzkjp.js} +3 -3
  107. package/dist/chunks/{command-5qfqt7q0.js → schema-a1hhf2r6.js} +23 -23
  108. package/dist/chunks/{command-3b9qt4hj.js → schema-a7bcxdzj.js} +9 -9
  109. package/dist/chunks/{command-jewzahs7.js → schema-a89e0tac.js} +4 -4
  110. package/dist/chunks/{command-ps47t8qh.js → schema-a8kgewhr.js} +24 -24
  111. package/dist/chunks/{command-70h48ehn.js → schema-a8m135tr.js} +5 -5
  112. package/dist/chunks/{command-aaet6srn.js → schema-aaet6srn.js} +2 -2
  113. package/dist/chunks/{command-2jmaghvr.js → schema-ab9238g2.js} +6 -6
  114. package/dist/chunks/{command-7ghtgw7y.js → schema-acmb6w5b.js} +11 -11
  115. package/dist/chunks/{command-kcaq6mcn.js → schema-acv9cqfs.js} +18 -18
  116. package/dist/chunks/{command-2ztps42y.js → schema-arhaqhb4.js} +4 -4
  117. package/dist/chunks/{command-y10wk092.js → schema-b0awdqvx.js} +6 -6
  118. package/dist/chunks/{command-2ss4kerk.js → schema-b2jc6q54.js} +11 -11
  119. package/dist/chunks/{command-b3f8fkhc.js → schema-b3f8fkhc.js} +2 -2
  120. package/dist/chunks/{command-vjbk48r7.js → schema-b49zbxty.js} +33 -33
  121. package/dist/chunks/{command-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  122. package/dist/chunks/schema-bng5gf7f.js +252 -0
  123. package/dist/chunks/{command-15nv6dks.js → schema-btnx3k07.js} +35 -35
  124. package/dist/chunks/{command-88npvcs0.js → schema-btt5ky6n.js} +40 -40
  125. package/dist/chunks/schema-bvmv4qm1.js +26 -0
  126. package/dist/chunks/{command-hs8jsmzr.js → schema-bzd62h0k.js} +23 -23
  127. package/dist/chunks/{command-m01y6ttg.js → schema-c358x8ws.js} +15 -15
  128. package/dist/chunks/{command-82n2gc37.js → schema-c3r8r2c7.js} +9 -9
  129. package/dist/chunks/{command-mtk52xmd.js → schema-cd1hpav8.js} +11 -11
  130. package/dist/chunks/{command-apvpadp8.js → schema-ce128ryg.js} +54 -54
  131. package/dist/chunks/{command-w17djjzg.js → schema-cgw81b0z.js} +21 -21
  132. package/dist/chunks/{command-vz9sc8m2.js → schema-chrxq3ex.js} +16 -16
  133. package/dist/chunks/{command-gbr9d7vf.js → schema-cshgsf68.js} +23 -23
  134. package/dist/chunks/{command-e3p960dv.js → schema-cxrcevmg.js} +3 -3
  135. package/dist/chunks/{command-3hfr6h8q.js → schema-czfptnv9.js} +8 -8
  136. package/dist/chunks/{command-yf10kn3d.js → schema-d2094b0z.js} +8 -8
  137. package/dist/chunks/{command-dw95s81m.js → schema-d87tmwdg.js} +29 -29
  138. package/dist/chunks/{command-e7710hd6.js → schema-dhtadd1m.js} +8 -8
  139. package/dist/chunks/{command-32qqfmzq.js → schema-dk3fapr1.js} +8 -8
  140. package/dist/chunks/{command-xkntkrq7.js → schema-dmqcgk4z.js} +5 -5
  141. package/dist/chunks/{command-mpk0rfs5.js → schema-dnxkq42g.js} +4 -4
  142. package/dist/chunks/{command-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
  143. package/dist/chunks/{command-7gjme12f.js → schema-drf7jsh9.js} +12 -12
  144. package/dist/chunks/{command-w5ystqj3.js → schema-dyvwp316.js} +8 -8
  145. package/dist/chunks/{command-r71rh3b2.js → schema-e31x7ahd.js} +22 -22
  146. package/dist/chunks/{command-h81fdr4s.js → schema-ebpmbt03.js} +35 -35
  147. package/dist/chunks/{command-xerakxap.js → schema-ed1pdgvd.js} +92 -92
  148. package/dist/chunks/{command-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  149. package/dist/chunks/{command-k89vh9jf.js → schema-en1ae6kt.js} +30 -30
  150. package/dist/chunks/{command-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{command-86efd22a.js → schema-evgg74h5.js} +6 -6
  152. package/dist/chunks/{command-whhdfx7x.js → schema-f28an6tq.js} +15 -15
  153. package/dist/chunks/{command-h9wp8z5w.js → schema-f29mbr7f.js} +4 -4
  154. package/dist/chunks/{command-xq9zaz6f.js → schema-f2jhgqeb.js} +24 -24
  155. package/dist/chunks/{command-pd1qyk1g.js → schema-f9jvv9fd.js} +27 -27
  156. package/dist/chunks/{command-xxvyy5kb.js → schema-fa2nx576.js} +12 -12
  157. package/dist/chunks/{command-12vfn7rq.js → schema-fcmr8hvx.js} +29 -29
  158. package/dist/chunks/{command-8c3xbmtc.js → schema-ffb4je5h.js} +11 -11
  159. package/dist/chunks/{command-wnfrb3a9.js → schema-fk0bqkbn.js} +18 -18
  160. package/dist/chunks/{command-9n47bnwc.js → schema-g2axpq5m.js} +30 -30
  161. package/dist/chunks/{command-zfme70y8.js → schema-ga0xt9e2.js} +2 -2
  162. package/dist/chunks/{command-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  163. package/dist/chunks/{command-sjtp893p.js → schema-gqx7042s.js} +20 -20
  164. package/dist/chunks/{command-rpg9c19m.js → schema-gst7axd9.js} +4 -4
  165. package/dist/chunks/{command-y0m37wb8.js → schema-gtz8s5m7.js} +46 -46
  166. package/dist/chunks/schema-gyce5qg1.js +18 -0
  167. package/dist/chunks/{command-w3hsnjjz.js → schema-h23hyb4a.js} +12 -12
  168. package/dist/chunks/{command-3cegwx68.js → schema-h2b79v29.js} +2 -2
  169. package/dist/chunks/{command-q1xs28w9.js → schema-h4c8g149.js} +13 -13
  170. package/dist/chunks/{command-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  171. package/dist/chunks/{command-n0pywpq4.js → schema-h7w9m21h.js} +6 -6
  172. package/dist/chunks/{command-ffh69xw9.js → schema-hc7nmvs9.js} +8 -8
  173. package/dist/chunks/{command-dq0akw48.js → schema-hpxy8090.js} +31 -31
  174. package/dist/chunks/{command-mvfsc1pv.js → schema-j028xdjb.js} +3 -3
  175. package/dist/chunks/{command-0gys68wh.js → schema-j0drmkjr.js} +25 -25
  176. package/dist/chunks/{command-hv340q6g.js → schema-j1z04ftp.js} +10 -10
  177. package/dist/chunks/{command-v2tfw1yv.js → schema-j34d9wvd.js} +12 -12
  178. package/dist/chunks/{command-j56e64zr.js → schema-j56e64zr.js} +1 -1
  179. package/dist/chunks/{command-s7xm0994.js → schema-jeacqz11.js} +24 -24
  180. package/dist/chunks/{command-6tj04ent.js → schema-jhymbn69.js} +9 -9
  181. package/dist/chunks/{command-60cawxsn.js → schema-jm3yycek.js} +3 -3
  182. package/dist/chunks/{command-fjegnp40.js → schema-k2maas8p.js} +14 -14
  183. package/dist/chunks/{command-nzks3jc8.js → schema-k3c624dm.js} +3 -3
  184. package/dist/chunks/{command-08rawchj.js → schema-k6yq57aq.js} +2 -2
  185. package/dist/chunks/{command-vtk5qamb.js → schema-knrf1btg.js} +7 -7
  186. package/dist/chunks/{command-hpa0c1fz.js → schema-kpfrge9a.js} +5 -5
  187. package/dist/chunks/{command-4xjmh1rg.js → schema-kx3tazm0.js} +22 -22
  188. package/dist/chunks/{command-cvw89d3k.js → schema-m0jvvp9j.js} +23 -23
  189. package/dist/chunks/{command-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{command-m58kmhef.js → schema-m58kmhef.js} +2 -2
  191. package/dist/chunks/{command-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{command-qfcmt2yh.js → schema-m9xh49tw.js} +6 -6
  193. package/dist/chunks/{command-mazbtkaa.js → schema-mazbtkaa.js} +2 -2
  194. package/dist/chunks/{command-654bmfkb.js → schema-mdqp54e4.js} +16 -16
  195. package/dist/chunks/{command-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
  196. package/dist/chunks/{command-6sr3ve8g.js → schema-mjymc32g.js} +21 -21
  197. package/dist/chunks/{command-0w1gqsy8.js → schema-mqzwkyay.js} +6 -6
  198. package/dist/chunks/{command-a8wbw237.js → schema-mszav1c8.js} +5 -5
  199. package/dist/chunks/{command-ytws7ykb.js → schema-myhy7sh9.js} +2 -2
  200. package/dist/chunks/{command-7fsqtpfs.js → schema-n6bzx4yk.js} +5 -5
  201. package/dist/chunks/{command-h9th01k5.js → schema-n9ape9rz.js} +9 -9
  202. package/dist/chunks/{command-86qnsy51.js → schema-nam3yqey.js} +5 -5
  203. package/dist/chunks/{command-h3njkt71.js → schema-ncnxs0cm.js} +17 -17
  204. package/dist/chunks/{command-2f06s3ns.js → schema-njy42cgf.js} +11 -11
  205. package/dist/chunks/{command-nynp1wzk.js → schema-nscs897a.js} +29 -29
  206. package/dist/chunks/{command-ynn332gn.js → schema-nxentx58.js} +13 -13
  207. package/dist/chunks/{command-4ep12pyx.js → schema-p1s1983h.js} +32 -32
  208. package/dist/chunks/{command-83zswggx.js → schema-p2s1jj4p.js} +11 -11
  209. package/dist/chunks/{command-k2736hxg.js → schema-p9xxkds4.js} +3 -3
  210. package/dist/chunks/{command-s22d9hak.js → schema-pcmm8ydh.js} +23 -23
  211. package/dist/chunks/{command-y5rf7nzv.js → schema-pgp1nwjn.js} +4 -4
  212. package/dist/chunks/{command-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{command-65j7h7z0.js → schema-pk5j9peg.js} +32 -32
  214. package/dist/chunks/{command-pknna89w.js → schema-pknna89w.js} +1 -1
  215. package/dist/chunks/{command-p72k79qf.js → schema-pnafm5rd.js} +17 -17
  216. package/dist/chunks/{command-jktqzjpa.js → schema-py3kkmfq.js} +8 -8
  217. package/dist/chunks/{command-ytfj295e.js → schema-pyy44cbc.js} +177 -177
  218. package/dist/chunks/{command-0j77ygfz.js → schema-q0xm7vwc.js} +6 -6
  219. package/dist/chunks/{command-9ynvqa68.js → schema-q2hf1xmk.js} +8 -8
  220. package/dist/chunks/{command-wyjbmczw.js → schema-q2q20c0d.js} +17 -17
  221. package/dist/chunks/{command-09nnxt9p.js → schema-qfhvag9a.js} +22 -22
  222. package/dist/chunks/{command-7nk06whx.js → schema-qhgb43ta.js} +48 -48
  223. package/dist/chunks/{command-k8zgzs4j.js → schema-qmf8xmg7.js} +7 -7
  224. package/dist/chunks/{command-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
  225. package/dist/chunks/{command-qsdy395h.js → schema-qsdy395h.js} +1 -1
  226. package/dist/chunks/{command-b983vmxa.js → schema-qwhmp407.js} +35 -35
  227. package/dist/chunks/{command-vskhrygy.js → schema-qzrkvpeb.js} +11 -11
  228. package/dist/chunks/{command-mjqndqed.js → schema-r44petzp.js} +12 -12
  229. package/dist/chunks/{command-eps6q5xj.js → schema-r4h4t1nf.js} +16 -16
  230. package/dist/chunks/{command-jkxz06wq.js → schema-r832v3f0.js} +9 -9
  231. package/dist/chunks/{command-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  232. package/dist/chunks/{command-gjwgx2c5.js → schema-rey5gbxv.js} +9 -9
  233. package/dist/chunks/{command-j4z1869k.js → schema-rhty04x1.js} +17 -17
  234. package/dist/chunks/{command-znsx74x0.js → schema-rk1r2hx8.js} +1 -1
  235. package/dist/chunks/{command-c6ttkmc3.js → schema-rtwmwkb1.js} +4 -4
  236. package/dist/chunks/{command-qe6tj4d9.js → schema-rvw4nqpr.js} +35 -35
  237. package/dist/chunks/{command-8pzy0y0s.js → schema-ry36hy20.js} +11 -11
  238. package/dist/chunks/{command-a6wxqygz.js → schema-s077a73h.js} +25 -25
  239. package/dist/chunks/{command-s8d7rejh.js → schema-s8d7rejh.js} +1 -1
  240. package/dist/chunks/{command-kh012ppf.js → schema-sdexfqp0.js} +63 -63
  241. package/dist/chunks/{command-dcqe2tda.js → schema-sk3dx986.js} +47 -47
  242. package/dist/chunks/{command-d7hcd0ym.js → schema-smwxesx6.js} +11 -11
  243. package/dist/chunks/{command-569pzwc8.js → schema-sseg7a2b.js} +29 -29
  244. package/dist/chunks/{command-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{command-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  246. package/dist/chunks/{command-tdstcens.js → schema-tdstcens.js} +1 -1
  247. package/dist/chunks/{command-w08nn5n9.js → schema-tfbfrq56.js} +13 -13
  248. package/dist/chunks/{command-g53rxf0r.js → schema-tm55b6qc.js} +5 -5
  249. package/dist/chunks/{command-tvtrv512.js → schema-tvtrv512.js} +1 -1
  250. package/dist/chunks/{command-yv60n1xn.js → schema-tyfhy1xa.js} +5 -5
  251. package/dist/chunks/{command-xs6tw54q.js → schema-v65w0t96.js} +53 -53
  252. package/dist/chunks/{command-3pcwt893.js → schema-v978r2zh.js} +3 -3
  253. package/dist/chunks/{command-ebq0q0d7.js → schema-vap9bzaw.js} +4 -4
  254. package/dist/chunks/{command-veqvce7d.js → schema-veqvce7d.js} +1 -1
  255. package/dist/chunks/{command-f69ve3h4.js → schema-ver7ymjs.js} +18 -18
  256. package/dist/chunks/{command-7ggg3cvf.js → schema-vt1v0sxt.js} +50 -50
  257. package/dist/chunks/{command-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{command-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{command-nnxgyx76.js → schema-w2pt7pe3.js} +27 -27
  260. package/dist/chunks/{command-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{command-hfdbewx1.js → schema-w55xx4k1.js} +6 -6
  262. package/dist/chunks/{command-q03fcfcz.js → schema-wcantn69.js} +15 -15
  263. package/dist/chunks/{command-wd87259q.js → schema-wd87259q.js} +1 -1
  264. package/dist/chunks/{command-py4awywk.js → schema-wp2jv443.js} +5 -5
  265. package/dist/chunks/{command-fjp52ft7.js → schema-wpk418tb.js} +54 -54
  266. package/dist/chunks/{command-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{command-r7fzpv87.js → schema-x254e9t3.js} +43 -43
  268. package/dist/chunks/{command-gfkmrq4p.js → schema-x6rmv6e6.js} +25 -25
  269. package/dist/chunks/{command-k8b1rdw7.js → schema-xakdp5s2.js} +8 -8
  270. package/dist/chunks/{command-w19d8598.js → schema-xfkkasph.js} +5 -5
  271. package/dist/chunks/{command-22adywx4.js → schema-xkf0j60n.js} +34 -34
  272. package/dist/chunks/{command-e1m5s5bn.js → schema-xkw3h4yy.js} +2 -2
  273. package/dist/chunks/{command-f03kf16x.js → schema-xmqeavvf.js} +3 -3
  274. package/dist/chunks/{command-0yc0bfdq.js → schema-xmx5bapj.js} +5 -5
  275. package/dist/chunks/{command-prq7hedt.js → schema-xrpg47n6.js} +9 -9
  276. package/dist/chunks/{command-44pdqs77.js → schema-xxndcd6m.js} +4 -4
  277. package/dist/chunks/{command-t8w8mjvs.js → schema-y0aje2pb.js} +12 -12
  278. package/dist/chunks/{command-125a3gzs.js → schema-y0kv9337.js} +1 -1
  279. package/dist/chunks/{command-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  280. package/dist/chunks/{command-j1qpxjvn.js → schema-y23bhd53.js} +11 -11
  281. package/dist/chunks/{command-6t2wbhs5.js → schema-y853g6y0.js} +4 -4
  282. package/dist/chunks/{command-cgk007dh.js → schema-ygrbgkqb.js} +11 -11
  283. package/dist/chunks/{command-kxv9wf7h.js → schema-yh7gpy6m.js} +15 -15
  284. package/dist/chunks/{command-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  285. package/dist/chunks/{command-py3n4qdw.js → schema-ytswgsqe.js} +30 -30
  286. package/dist/chunks/{command-xf862nsz.js → schema-yze7y2ew.js} +25 -25
  287. package/dist/chunks/{command-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  288. package/dist/chunks/{command-dsr2y3g9.js → schema-z6c3x22d.js} +5 -5
  289. package/dist/chunks/{command-4tmhkwhh.js → schema-z892f7j6.js} +34 -34
  290. package/dist/chunks/{command-s7wf03n2.js → schema-z8k62dd3.js} +11 -11
  291. package/dist/chunks/{command-rx9ava5n.js → schema-zfs8ae4p.js} +4 -4
  292. package/dist/chunks/{command-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  293. package/dist/chunks/{command-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +11 -11
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +83 -83
  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 +128 -128
  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 +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  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 +81 -81
  328. package/dist/database/database.js +70 -70
  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 +79 -79
  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 +74 -74
  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 +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +106 -106
  433. package/dist/form.js +80 -80
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +10 -10
  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 +91 -91
  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 +85 -85
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  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 +85 -85
  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 +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +98 -98
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  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 +88 -88
  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 +3 -3
  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 +4 -4
  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 +95 -95
  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 +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  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 +6 -6
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +4 -4
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  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 +84 -84
  566. package/dist/provider.js +97 -97
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +97 -97
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +89 -89
  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 +129 -129
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +225 -225
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +90 -90
  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 +93 -93
  595. package/dist/session/message-updater.js +4 -4
  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 +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +230 -230
  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 +2 -2
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +3 -3
  614. package/dist/session/session.js +172 -172
  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 +75 -75
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +209 -209
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +151 -151
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +222 -222
  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 +15 -15
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +2 -2
  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 +124 -124
  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 +122 -122
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +216 -216
  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 +112 -112
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +118 -118
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +1 -1
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +87 -87
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/command-9hjw92a0.js +0 -26
  701. package/dist/chunks/command-ht5y0zrb.js +0 -18
  702. package/dist/chunks/command-sftyyjfb.js +0 -252
  703. /package/dist/chunks/{command-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{command-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{command-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{command-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{command-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{command-24dcb14g.js → schema-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{command-2710q6r3.js → schema-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{command-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{command-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{command-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{command-359p4xyc.js → schema-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{command-3asan66x.js → schema-3asan66x.js} +0 -0
  715. /package/dist/chunks/{command-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{command-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{command-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{command-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{command-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{command-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{command-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{command-53557ph1.js → schema-53557ph1.js} +0 -0
  723. /package/dist/chunks/{command-550bvhaj.js → schema-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{command-6prwharc.js → schema-6prwharc.js} +0 -0
  725. /package/dist/chunks/{command-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{command-7m9af43g.js → schema-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{command-822emrt2.js → schema-822emrt2.js} +0 -0
  728. /package/dist/chunks/{command-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{command-8n3pysct.js → schema-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{command-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{command-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{command-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{command-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{command-af5trqkr.js → schema-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{command-afrmfg78.js → schema-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{command-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{command-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{command-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{command-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{command-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{command-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{command-d9fn303g.js → schema-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{command-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{command-dajrwvna.js → schema-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{command-dap0rakb.js → schema-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{command-df08tz66.js → schema-df08tz66.js} +0 -0
  747. /package/dist/chunks/{command-dy18nga0.js → schema-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{command-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{command-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{command-ec1grn59.js → schema-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{command-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{command-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{command-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{command-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{command-faypxj3z.js → schema-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{command-fd410y7t.js → schema-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{command-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{command-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{command-g86h250q.js → schema-g86h250q.js} +0 -0
  760. /package/dist/chunks/{command-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{command-gftt206x.js → schema-gftt206x.js} +0 -0
  762. /package/dist/chunks/{command-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{command-hk9envan.js → schema-hk9envan.js} +0 -0
  764. /package/dist/chunks/{command-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{command-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{command-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{command-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{command-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{command-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{command-mp448xyj.js → schema-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{command-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{command-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{command-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{command-njntx4h6.js → schema-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{command-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{command-q74kybfr.js → schema-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{command-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{command-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{command-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{command-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{command-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{command-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{command-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{command-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{command-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{command-w803qqfp.js → schema-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{command-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{command-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{command-wtztk69x.js → schema-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{command-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{command-x61499pn.js → schema-x61499pn.js} +0 -0
  792. /package/dist/chunks/{command-y44na4kk.js → schema-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{command-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{command-y8f7s663.js → schema-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{command-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{command-ym463w8f.js → schema-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{command-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  798. /package/dist/chunks/{command-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service61,
3
- node64
4
- } from "./command-ennp2fy0.js";
2
+ Service72,
3
+ node76
4
+ } from "./schema-6ew4nd0q.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./command-08rawchj.js";
7
+ } from "./schema-k6yq57aq.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service55,
17
+ Service: () => Service39,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node58,
19
+ node: () => node41,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service55 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service39 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service55, Effect.gen(function* () {
58
- const resolver = yield* Service61;
59
- return Service55.of({
57
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
58
+ const resolver = yield* Service72;
59
+ return Service39.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node58 = makeLocationNode({ service: Service55, layer, deps: [node64] });
77
+ var node41 = makeLocationNode({ service: Service39, layer, deps: [node76] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service55, resolved2, node58, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service39, resolved2, node41, exports_model };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID11
3
- } from "./command-nynp1wzk.js";
2
+ ID13
3
+ } from "./schema-nscs897a.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID11.googleVertex)
62
+ if (evt.model.providerID !== ID13.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./command-eyhtqccb.js";
4
+ } from "./schema-884bfwk0.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./command-xs6tw54q.js";
8
+ } from "./schema-v65w0t96.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./command-nnxgyx76.js";
11
+ } from "./schema-w2pt7pe3.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./command-ennp2fy0.js";
19
+ } from "./schema-6ew4nd0q.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./command-w08nn5n9.js";
23
+ } from "./schema-tfbfrq56.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,70 +1,70 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./command-654bmfkb.js";
2
+ Service82,
3
+ node86
4
+ } from "./schema-mdqp54e4.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./command-8xf89zsp.js";
6
+ Service79,
7
+ node83
8
+ } from "./schema-0dfv3dc6.js";
9
9
  import {
10
- ID8,
11
- Service59,
12
- node62
13
- } from "./command-jfh4v34s.js";
10
+ ID10,
11
+ Service69,
12
+ node73
13
+ } from "./schema-164n2a8b.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./command-eyhtqccb.js";
16
+ } from "./schema-884bfwk0.js";
17
17
  import {
18
- Service58,
19
- node61
20
- } from "./command-9tmvx2dr.js";
18
+ Service67,
19
+ node70
20
+ } from "./schema-3p0qyp3j.js";
21
21
  import {
22
22
  match2
23
- } from "./command-y1fvbwt7.js";
23
+ } from "./schema-y1fvbwt7.js";
24
24
  import {
25
- Service57,
26
- node60
27
- } from "./command-kcaq6mcn.js";
25
+ Service66,
26
+ node69
27
+ } from "./schema-acv9cqfs.js";
28
28
  import {
29
- Service63,
30
- node66
31
- } from "./command-9jbvj98d.js";
29
+ Service68,
30
+ node71
31
+ } from "./schema-4a0nv7mx.js";
32
32
  import {
33
33
  __export
34
- } from "./command-9rqn6x4v.js";
34
+ } from "./schema-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event11,
46
- ID: () => ID6,
45
+ Event: () => Event13,
46
+ ID: () => ID7,
47
47
  NotFoundError: () => NotFoundError8,
48
- Permission: () => exports_permission,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule2,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service56,
54
+ Service: () => Service65,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node59
58
+ node: () => node68
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event11 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID6 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID6.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID8.pipe(Schema.optional)
82
+ agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID6,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID6,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID6
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service56 extends Context.Service()("@opencode/Permission") {
128
+ class Service65 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service56, Effect.gen(function* () {
131
- const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service59;
134
- const sessions = yield* Service58;
135
- const saved = yield* Service57;
136
- const hooks = yield* Service63;
130
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
131
+ const bus = yield* Service82;
132
+ const location = yield* Service79;
133
+ const agents = yield* Service69;
134
+ const sessions = yield* Service67;
135
+ const saved = yield* Service66;
136
+ const hooks = yield* Service68;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID6.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID6.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service56.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service65.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node59 = makeLocationNode({
303
- service: Service56,
302
+ var node68 = makeLocationNode({
303
+ service: Service65,
304
304
  layer,
305
- deps: [node87, node84, node62, node61, node60, node66]
305
+ deps: [node86, node83, node73, node70, node69, node71]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service56, node59, exports_permission, Rule2, Ruleset2, Event11 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node68, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID11
3
- } from "./command-nynp1wzk.js";
2
+ ID13
3
+ } from "./schema-nscs897a.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID11.make(id);
27
+ const providerID = ID13.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID11
3
- } from "./command-nynp1wzk.js";
2
+ ID13
3
+ } from "./schema-nscs897a.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./command-86efd22a.js";
6
+ } from "./schema-evgg74h5.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID11.make("cloudflare-ai-gateway");
13
+ var providerID = ID13.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./command-ym463w8f.js";
3
+ } from "./schema-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./command-654bmfkb.js";
2
+ Service82,
3
+ node86
4
+ } from "./schema-mdqp54e4.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./command-tazgh4e4.js";
9
+ } from "./schema-tazgh4e4.js";
10
10
  import {
11
- Service80,
12
- node84
13
- } from "./command-8xf89zsp.js";
11
+ Service79,
12
+ node83
13
+ } from "./schema-0dfv3dc6.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./command-rdw6cm16.js";
17
+ } from "./schema-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./command-9rqn6x4v.js";
20
+ } from "./schema-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info8,
29
+ Info: () => Info6,
30
30
  Mode: () => Mode2,
31
31
  Service: () => Service44,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node47
33
+ node: () => node46
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -49,8 +49,8 @@ class Service44 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
50
  var layer = Layer.effect(Service44, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service80;
53
- const bus = yield* Service83;
52
+ const location = yield* Service79;
53
+ const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node47 = makeLocationNode({
167
+ var node46 = makeLocationNode({
168
168
  service: Service44,
169
169
  layer,
170
- deps: [FSUtil.node, node84, node87]
170
+ deps: [FSUtil.node, node83, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info8, Mode2, DiffError2, Service44, node47, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, Service44, node46, exports_vcs };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./command-654bmfkb.js";
2
+ Service82,
3
+ node86
4
+ } from "./schema-mdqp54e4.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./command-8xf89zsp.js";
6
+ Service79,
7
+ node83
8
+ } from "./schema-0dfv3dc6.js";
9
9
  import {
10
- Service77,
11
- node80
12
- } from "./command-ps47t8qh.js";
10
+ Service60,
11
+ node62
12
+ } from "./schema-a8kgewhr.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./command-gd4qta3r.js";
15
+ } from "./schema-gd4qta3r.js";
16
16
  import {
17
- Service47,
17
+ Service50,
18
18
  args2,
19
- node50
20
- } from "./command-qw2yw8z7.js";
19
+ node52
20
+ } from "./schema-5atn9wfq.js";
21
21
  import {
22
- Service63,
23
- node66
24
- } from "./command-9jbvj98d.js";
22
+ Service68,
23
+ node71
24
+ } from "./schema-4a0nv7mx.js";
25
25
  import {
26
- Service46,
27
- node49
28
- } from "./command-4c2df9zx.js";
26
+ Service25,
27
+ node28
28
+ } from "./schema-3ymztgxb.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./command-08rawchj.js";
31
+ } from "./schema-k6yq57aq.js";
32
32
  import {
33
33
  latest2,
34
- Service66,
35
- node69
36
- } from "./command-y0m37wb8.js";
34
+ Service47,
35
+ node49
36
+ } from "./schema-gtz8s5m7.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./command-6z9y85k1.js";
40
+ } from "./schema-0msk7f2d.js";
41
41
  import {
42
42
  __export
43
- } from "./command-9rqn6x4v.js";
43
+ } from "./schema-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError6,
49
+ NotFoundError: () => NotFoundError3,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service45,
51
+ Service: () => Service24,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node48
54
+ node: () => node27
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service45 extends Context.Service()("@opencode/Shell") {
74
+ class Service24 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service45, Effect.gen(function* () {
91
- const bus = yield* Service83;
92
- const location = yield* Service80;
90
+ var layer = () => Layer.effect(Service24, Effect.gen(function* () {
91
+ const bus = yield* Service82;
92
+ const location = yield* Service79;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service47;
95
- const environment = yield* Service77;
96
- const hooks = yield* Service63;
97
- const environments = yield* Service46;
98
- const config = yield* Service66;
94
+ const shell = yield* Service50;
95
+ const environment = yield* Service60;
96
+ const hooks = yield* Service68;
97
+ const environments = yield* Service25;
98
+ const config = yield* Service47;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError6({ id });
119
+ return yield* new NotFoundError3({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError6({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError3({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service45.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service24.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node48 = makeLocationNode({
329
- service: Service45,
328
+ var node27 = makeLocationNode({
329
+ service: Service24,
330
330
  layer: layer(),
331
331
  deps: [
332
- node87,
333
- node84,
332
+ node86,
333
+ node83,
334
334
  Global.node,
335
- node50,
336
- node80,
337
- node66,
335
+ node52,
336
+ node62,
337
+ node71,
338
+ node28,
338
339
  node49,
339
- node69,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service45, cleanup2, node48, exports_shell4 };
344
+ export { NotFoundError3, RETENTION2, DIRECTORY2, Service24, cleanup2, node27, exports_shell4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./command-hjbc5kem.js";
3
+ } from "./schema-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};