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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (810) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{image-jexxy024.js → command-08rawchj.js} +3 -3
  8. package/dist/chunks/{image-nsfzc1qf.js → command-09nnxt9p.js} +26 -26
  9. package/dist/chunks/{image-ra8smtek.js → command-0gys68wh.js} +20 -20
  10. package/dist/chunks/{image-prmgem5b.js → command-0hf9g8pg.js} +6 -6
  11. package/dist/chunks/command-0j77ygfz.js +25 -0
  12. package/dist/chunks/{image-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{image-gv6a8nnw.js → command-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{image-jj72jhew.js → command-0w1gqsy8.js} +6 -6
  15. package/dist/chunks/{image-zeffrx5b.js → command-0yc0bfdq.js} +5 -5
  16. package/dist/chunks/{image-syx3683f.js → command-125a3gzs.js} +1 -1
  17. package/dist/chunks/{image-e1vxf24z.js → command-12vfn7rq.js} +20 -20
  18. package/dist/chunks/{image-ts4697w6.js → command-15nv6dks.js} +33 -33
  19. package/dist/chunks/{image-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{image-x1dwmb2w.js → command-1rvfxwwy.js} +16 -16
  21. package/dist/chunks/{image-21r38tys.js → command-21r38tys.js} +1 -1
  22. package/dist/chunks/{image-7w5kah94.js → command-22adywx4.js} +33 -33
  23. package/dist/chunks/{image-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{image-yrznvahk.js → command-2ccvkpx1.js} +2 -2
  25. package/dist/chunks/{image-69hv900b.js → command-2f06s3ns.js} +11 -11
  26. package/dist/chunks/{image-h7ygw6q4.js → command-2j5hbwxg.js} +9 -9
  27. package/dist/chunks/{image-kxpygcw9.js → command-2jmaghvr.js} +4 -4
  28. package/dist/chunks/{image-vgxhzj35.js → command-2ss4kerk.js} +11 -11
  29. package/dist/chunks/{image-v6ghzfeb.js → command-2vgzs72b.js} +5 -5
  30. package/dist/chunks/{image-rr741bpx.js → command-2ztps42y.js} +4 -4
  31. package/dist/chunks/{image-9352f8b0.js → command-32qqfmzq.js} +9 -9
  32. package/dist/chunks/{image-zqerc4cv.js → command-392y4h0x.js} +20 -20
  33. package/dist/chunks/{image-xdrba4jw.js → command-3b9qt4hj.js} +9 -9
  34. package/dist/chunks/{image-psazpmmj.js → command-3cegwx68.js} +2 -2
  35. package/dist/chunks/{image-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{image-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{image-g0445xdp.js → command-3hfr6h8q.js} +8 -8
  38. package/dist/chunks/{image-wrbnapbr.js → command-3pcwt893.js} +3 -3
  39. package/dist/chunks/{image-4txpgtd5.js → command-3r3hs3sk.js} +6 -6
  40. package/dist/chunks/{image-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{image-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{image-57ez7d0k.js → command-3v5tjer0.js} +2 -2
  43. package/dist/chunks/{image-f2ra6ejh.js → command-3yhkhgds.js} +24 -24
  44. package/dist/chunks/{image-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{image-ave9n0d8.js → command-435p94mv.js} +15 -15
  46. package/dist/chunks/{image-hehaxqkv.js → command-44pdqs77.js} +4 -4
  47. package/dist/chunks/{image-x5c3aeq5.js → command-4c2df9zx.js} +8 -8
  48. package/dist/chunks/{image-4m5fa9e1.js → command-4ep12pyx.js} +30 -30
  49. package/dist/chunks/{image-92pqcnfv.js → command-4rsgbdp7.js} +43 -43
  50. package/dist/chunks/{image-1vsy90zb.js → command-4s1v5szb.js} +24 -24
  51. package/dist/chunks/{image-pq8fxsmn.js → command-4tmhkwhh.js} +34 -34
  52. package/dist/chunks/{image-bdw71yz3.js → command-4v12cqac.js} +12 -12
  53. package/dist/chunks/{image-a8vt68jm.js → command-4xjmh1rg.js} +18 -18
  54. package/dist/chunks/{image-r94pvvab.js → command-54ma36ye.js} +4 -4
  55. package/dist/chunks/{image-fz0jyhtj.js → command-569pzwc8.js} +24 -24
  56. package/dist/chunks/{image-33w4ejhs.js → command-56gdpj1q.js} +6 -6
  57. package/dist/chunks/{image-5daktx2q.js → command-5daktx2q.js} +1 -1
  58. package/dist/chunks/{image-yvq70187.js → command-5dhr1a59.js} +16 -16
  59. package/dist/chunks/{image-e1gx0x5b.js → command-5dkrrsy6.js} +11 -11
  60. package/dist/chunks/{image-2smhrpmj.js → command-5qfqt7q0.js} +8 -8
  61. package/dist/chunks/{image-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{image-aj1p7gt3.js → command-60cawxsn.js} +6 -6
  63. package/dist/chunks/{image-dweptn8x.js → command-654bmfkb.js} +4 -4
  64. package/dist/chunks/{image-ffpqsr69.js → command-65j7h7z0.js} +22 -22
  65. package/dist/chunks/{image-2ptzyb5x.js → command-65zh2nvj.js} +17 -17
  66. package/dist/chunks/{image-669tq793.js → command-669tq793.js} +1 -1
  67. package/dist/chunks/{image-f3ngv102.js → command-6sr3ve8g.js} +21 -21
  68. package/dist/chunks/{image-bczcn6w4.js → command-6t2wbhs5.js} +4 -4
  69. package/dist/chunks/{image-pf9vtx43.js → command-6tj04ent.js} +12 -12
  70. package/dist/chunks/{image-08cc3crx.js → command-6z9y85k1.js} +12 -12
  71. package/dist/chunks/{image-qytp0p6t.js → command-70h48ehn.js} +3 -3
  72. package/dist/chunks/{image-y4f6tqdt.js → command-7699xt8c.js} +24 -24
  73. package/dist/chunks/{image-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{image-7dqw4kz8.js → command-7dqw4kz8.js} +1 -1
  75. package/dist/chunks/{image-3fh5m38b.js → command-7fsqtpfs.js} +5 -5
  76. package/dist/chunks/{image-jr6nesqj.js → command-7ggg3cvf.js} +43 -43
  77. package/dist/chunks/{image-12htfbcb.js → command-7ghtgw7y.js} +11 -11
  78. package/dist/chunks/{image-m6fsgx1c.js → command-7gjme12f.js} +10 -10
  79. package/dist/chunks/{image-yc4m8b4c.js → command-7nk06whx.js} +48 -48
  80. package/dist/chunks/{image-3pbjq009.js → command-7skj7b3t.js} +11 -11
  81. package/dist/chunks/{image-3pemy4mj.js → command-7zextwbv.js} +43 -43
  82. package/dist/chunks/{image-sadm9mde.js → command-82n2gc37.js} +9 -9
  83. package/dist/chunks/{image-2ffw9mnr.js → command-83zswggx.js} +11 -11
  84. package/dist/chunks/{image-gfvb90ym.js → command-84h8c373.js} +2 -2
  85. package/dist/chunks/{image-84txncab.js → command-84txncab.js} +1 -1
  86. package/dist/chunks/{image-xzbn3rqq.js → command-86efd22a.js} +6 -6
  87. package/dist/chunks/{image-jr7yx8jc.js → command-86qnsy51.js} +5 -5
  88. package/dist/chunks/{image-4a1xd2mc.js → command-88npvcs0.js} +29 -29
  89. package/dist/chunks/{image-wabfeqb8.js → command-8c3xbmtc.js} +8 -8
  90. package/dist/chunks/{image-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{image-w6s43q3f.js → command-8pzy0y0s.js} +11 -11
  92. package/dist/chunks/{image-z8dtv2mk.js → command-8xf89zsp.js} +2 -2
  93. package/dist/chunks/command-9hjw92a0.js +26 -0
  94. package/dist/chunks/{image-4w5f3qm5.js → command-9jbvj98d.js} +8 -8
  95. package/dist/chunks/{image-spr7x8vd.js → command-9n47bnwc.js} +54 -28
  96. package/dist/chunks/{image-7npnsjne.js → command-9tmvx2dr.js} +14 -14
  97. package/dist/chunks/{image-8tr76t7q.js → command-9yeatzar.js} +4 -4
  98. package/dist/chunks/{image-1gn2b5rd.js → command-9ynvqa68.js} +6 -6
  99. package/dist/chunks/{image-b27vhd2z.js → command-a46v4e4v.js} +4 -4
  100. package/dist/chunks/{image-44zg68ra.js → command-a6wxqygz.js} +25 -25
  101. package/dist/chunks/{image-eeyn7p3y.js → command-a8wbw237.js} +5 -5
  102. package/dist/chunks/{image-aaet6srn.js → command-aaet6srn.js} +2 -2
  103. package/dist/chunks/{image-gq3rpds4.js → command-apvpadp8.js} +40 -40
  104. package/dist/chunks/{image-qygbw77c.js → command-b3f8fkhc.js} +5 -5
  105. package/dist/chunks/{image-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{image-3bc8czyk.js → command-b7b4ctej.js} +5 -5
  107. package/dist/chunks/{image-k0cjby8k.js → command-b983vmxa.js} +33 -33
  108. package/dist/chunks/{image-bkhvbshk.js → command-c4v9k59t.js} +28 -28
  109. package/dist/chunks/{image-ygwcwb09.js → command-c6ttkmc3.js} +4 -4
  110. package/dist/chunks/{image-zm1zrekh.js → command-cbvt3nfp.js} +11 -11
  111. package/dist/chunks/{image-z844dt8c.js → command-cgk007dh.js} +11 -11
  112. package/dist/chunks/{image-y6bxn8ge.js → command-cvw89d3k.js} +18 -18
  113. package/dist/chunks/{image-tpew0fxa.js → command-d7hcd0ym.js} +11 -11
  114. package/dist/chunks/{image-aphn2g51.js → command-darx1emg.js} +9 -9
  115. package/dist/chunks/{image-1sayd3qa.js → command-dcqe2tda.js} +44 -44
  116. package/dist/chunks/{image-t9zs3egg.js → command-dfe8djrf.js} +4 -4
  117. package/dist/chunks/{image-nxm207yx.js → command-dpkg50ah.js} +4 -4
  118. package/dist/chunks/{image-j6x1e07f.js → command-dq0akw48.js} +16 -16
  119. package/dist/chunks/{image-0r7yqxbf.js → command-dsr2y3g9.js} +5 -5
  120. package/dist/chunks/{image-csx9mte4.js → command-dw95s81m.js} +23 -23
  121. package/dist/chunks/{image-dhzxrwkg.js → command-e1m5s5bn.js} +9 -9
  122. package/dist/chunks/{image-1h2tf2pz.js → command-e3p960dv.js} +5 -5
  123. package/dist/chunks/{image-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
  124. package/dist/chunks/{image-w4y2qeev.js → command-e4nkqe78.js} +33 -33
  125. package/dist/chunks/{image-etzz3kcr.js → command-e7710hd6.js} +8 -8
  126. package/dist/chunks/{image-4pdbz8wr.js → command-ebq0q0d7.js} +4 -4
  127. package/dist/chunks/{image-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{image-eh21xe1z.js → command-ennp2fy0.js} +44 -44
  129. package/dist/chunks/{image-zen14cpe.js → command-eps6q5xj.js} +14 -14
  130. package/dist/chunks/{image-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{image-vjjxy6yb.js → command-eyhtqccb.js} +7 -7
  132. package/dist/chunks/{image-anz9cf4w.js → command-ez4dssjv.js} +15 -15
  133. package/dist/chunks/{image-n6gsfqsz.js → command-ezespax2.js} +313 -313
  134. package/dist/chunks/{image-yfs06vqd.js → command-f03kf16x.js} +3 -3
  135. package/dist/chunks/{image-3yscd9tq.js → command-f69ve3h4.js} +16 -16
  136. package/dist/chunks/{image-54tcyq79.js → command-f75zav2x.js} +2 -2
  137. package/dist/chunks/{image-n6bdjd7t.js → command-ffh69xw9.js} +8 -8
  138. package/dist/chunks/{image-g6em3hs7.js → command-fjegnp40.js} +14 -14
  139. package/dist/chunks/{image-pf2g5091.js → command-fjp52ft7.js} +45 -45
  140. package/dist/chunks/{image-189xa6nw.js → command-fpq7b0ys.js} +8 -8
  141. package/dist/chunks/{image-g80d2raz.js → command-g53rxf0r.js} +5 -5
  142. package/dist/chunks/{image-vev74ge2.js → command-g602k23t.js} +11 -11
  143. package/dist/chunks/{image-98ya4gjh.js → command-gbr9d7vf.js} +24 -24
  144. package/dist/chunks/{image-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{image-e72dvkew.js → command-gfkmrq4p.js} +25 -25
  146. package/dist/chunks/{image-asb7s1px.js → command-ghaqbwqb.js} +18 -18
  147. package/dist/chunks/{image-cpneeje0.js → command-gjwgx2c5.js} +9 -9
  148. package/dist/chunks/{image-pxye9d3v.js → command-gtkdm2kv.js} +73 -73
  149. package/dist/chunks/{image-3dsy9998.js → command-gzxs6px7.js} +24 -24
  150. package/dist/chunks/{image-410wgjg3.js → command-h3njkt71.js} +13 -13
  151. package/dist/chunks/{image-edxf7q0v.js → command-h6t4ec3e.js} +33 -33
  152. package/dist/chunks/{image-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{image-vq5ej43a.js → command-h81fdr4s.js} +28 -28
  154. package/dist/chunks/{image-ngwfcb89.js → command-h9th01k5.js} +13 -13
  155. package/dist/chunks/{image-f29mbr7f.js → command-h9wp8z5w.js} +4 -4
  156. package/dist/chunks/{image-sez2zsv2.js → command-hfdbewx1.js} +3 -3
  157. package/dist/chunks/{image-3w0fmcng.js → command-hpa0c1fz.js} +5 -5
  158. package/dist/chunks/{image-z8a1da1q.js → command-hs8jsmzr.js} +20 -20
  159. package/dist/chunks/command-ht5y0zrb.js +18 -0
  160. package/dist/chunks/{image-qww8dk20.js → command-htx2nwm0.js} +17 -17
  161. package/dist/chunks/{image-thwj5qp5.js → command-hv340q6g.js} +10 -10
  162. package/dist/chunks/{image-abq6qjef.js → command-j02g5jt1.js} +22 -22
  163. package/dist/chunks/{image-x7g19880.js → command-j1qpxjvn.js} +14 -14
  164. package/dist/chunks/{image-hkfg6fzm.js → command-j29a7fks.js} +5 -5
  165. package/dist/chunks/{image-xpb82v70.js → command-j4z1869k.js} +20 -20
  166. package/dist/chunks/{image-j56e64zr.js → command-j56e64zr.js} +1 -1
  167. package/dist/chunks/{image-a89e0tac.js → command-jewzahs7.js} +4 -4
  168. package/dist/chunks/{image-s349tpfq.js → command-jfh4v34s.js} +24 -24
  169. package/dist/chunks/{image-py3kkmfq.js → command-jktqzjpa.js} +8 -8
  170. package/dist/chunks/{image-gbp3tmc2.js → command-jkxz06wq.js} +9 -9
  171. package/dist/chunks/{image-zrr907e3.js → command-jqnhh969.js} +8 -8
  172. package/dist/chunks/{image-ma9b7dad.js → command-k2736hxg.js} +3 -3
  173. package/dist/chunks/{image-vq4s12sx.js → command-k89vh9jf.js} +25 -25
  174. package/dist/chunks/{image-h9bcwp57.js → command-k8b1rdw7.js} +6 -6
  175. package/dist/chunks/{image-jv14matq.js → command-k8zgzs4j.js} +7 -7
  176. package/dist/chunks/{image-rpg9mwd2.js → command-ka0m6rdf.js} +23 -23
  177. package/dist/chunks/{image-6mk64feq.js → command-ka2772re.js} +11 -11
  178. package/dist/chunks/{image-bjtzbw4r.js → command-kb9j3d72.js} +3 -3
  179. package/dist/chunks/{image-e8syvjy6.js → command-kcaq6mcn.js} +15 -15
  180. package/dist/chunks/{image-wp2da0y2.js → command-kh012ppf.js} +65 -65
  181. package/dist/chunks/{image-98rjzhgf.js → command-kk5zk3a0.js} +3 -3
  182. package/dist/chunks/{image-8v60zwy0.js → command-kxv9wf7h.js} +14 -14
  183. package/dist/chunks/{image-5e9ex5tq.js → command-m01y6ttg.js} +13 -13
  184. package/dist/chunks/{image-m3fdjcah.js → command-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{image-m58kmhef.js → command-m58kmhef.js} +2 -2
  186. package/dist/chunks/{image-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{image-zeh9ct20.js → command-mazbtkaa.js} +2 -2
  188. package/dist/chunks/{image-3p6vpnrg.js → command-mjqndqed.js} +5 -5
  189. package/dist/chunks/{image-44vdmdsx.js → command-mnwrr1qs.js} +5 -5
  190. package/dist/chunks/{image-dnxkq42g.js → command-mpk0rfs5.js} +4 -4
  191. package/dist/chunks/{image-jmhnkzbv.js → command-mqafpt2f.js} +1 -1
  192. package/dist/chunks/{image-wzbyfwsn.js → command-mtk52xmd.js} +3 -3
  193. package/dist/chunks/{image-eq1pz5kg.js → command-mvfsc1pv.js} +3 -3
  194. package/dist/chunks/{image-nrbk2kv0.js → command-n0pywpq4.js} +6 -6
  195. package/dist/chunks/{image-7hdbg4yw.js → command-nf0mv796.js} +13 -13
  196. package/dist/chunks/{image-87sgw6dv.js → command-nnxgyx76.js} +24 -24
  197. package/dist/chunks/{image-chn746cp.js → command-npmb1mqa.js} +27 -27
  198. package/dist/chunks/{image-8c98pape.js → command-nynp1wzk.js} +23 -23
  199. package/dist/chunks/{image-nzks3jc8.js → command-nzks3jc8.js} +3 -3
  200. package/dist/chunks/{image-74s3n81d.js → command-p5pf3enj.js} +29 -29
  201. package/dist/chunks/{image-xtf7vn19.js → command-p72k79qf.js} +15 -15
  202. package/dist/chunks/{image-09vgy7d7.js → command-paae1hnn.js} +18 -18
  203. package/dist/chunks/{image-nr1s5933.js → command-pd1qyk1g.js} +24 -24
  204. package/dist/chunks/{image-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{image-pknna89w.js → command-pknna89w.js} +1 -1
  206. package/dist/chunks/{image-sc24egzq.js → command-prq7hedt.js} +9 -9
  207. package/dist/chunks/{image-bey9aa5n.js → command-ps47t8qh.js} +21 -21
  208. package/dist/chunks/{image-8bzcbfjx.js → command-py3n4qdw.js} +20 -20
  209. package/dist/chunks/{image-7j5e6wjq.js → command-py4awywk.js} +5 -5
  210. package/dist/chunks/{image-hfz95zw3.js → command-q03fcfcz.js} +16 -16
  211. package/dist/chunks/{image-apxd6vqt.js → command-q1xs28w9.js} +13 -13
  212. package/dist/chunks/{image-g9698bze.js → command-q3ezd169.js} +10 -10
  213. package/dist/chunks/{image-6dcamqcs.js → command-qe6tj4d9.js} +32 -32
  214. package/dist/chunks/{image-94be766r.js → command-qfcmt2yh.js} +9 -9
  215. package/dist/chunks/{image-6msgmcgs.js → command-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{image-qsdy395h.js → command-qsdy395h.js} +1 -1
  217. package/dist/chunks/{image-ydz4e7k1.js → command-qw2yw8z7.js} +19 -19
  218. package/dist/chunks/{image-nn1s08mm.js → command-r71rh3b2.js} +20 -20
  219. package/dist/chunks/{image-tbe0yh0n.js → command-r7cqnzm4.js} +24 -24
  220. package/dist/chunks/{image-257x5s3c.js → command-r7fzpv87.js} +44 -44
  221. package/dist/chunks/{image-rhraev7y.js → command-r8xr0va3.js} +4 -4
  222. package/dist/chunks/{image-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{image-rwm5vee1.js → command-rpg9c19m.js} +4 -4
  224. package/dist/chunks/{image-q6hzchqe.js → command-rv5kyjjz.js} +6 -6
  225. package/dist/chunks/{image-y1gke2m2.js → command-rx9ava5n.js} +4 -4
  226. package/dist/chunks/{image-63pd56y5.js → command-ryr1jwcc.js} +12 -12
  227. package/dist/chunks/{image-0vwyq9fa.js → command-s1pfhd0y.js} +11 -11
  228. package/dist/chunks/{image-rc92zmyt.js → command-s22d9hak.js} +17 -17
  229. package/dist/chunks/{image-2gw8ssgq.js → command-s7wf03n2.js} +11 -11
  230. package/dist/chunks/{image-87yk6njf.js → command-s7xm0994.js} +24 -24
  231. package/dist/chunks/{image-9t7a50xb.js → command-s8d7rejh.js} +4 -4
  232. package/dist/chunks/command-sftyyjfb.js +252 -0
  233. package/dist/chunks/{image-zd755v0h.js → command-shxgfbnt.js} +7 -7
  234. package/dist/chunks/{image-vrpbqt8c.js → command-sjtp893p.js} +12 -12
  235. package/dist/chunks/{image-h6n47w4x.js → command-t8gtdgqz.js} +7 -7
  236. package/dist/chunks/{image-j9eqrz8s.js → command-t8w8mjvs.js} +15 -15
  237. package/dist/chunks/{image-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{image-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{image-tdstcens.js → command-tdstcens.js} +1 -1
  240. package/dist/chunks/{image-awarry27.js → command-teep55cb.js} +18 -18
  241. package/dist/chunks/{image-cm4676z0.js → command-tjvfc3yx.js} +20 -20
  242. package/dist/chunks/{image-4xj83bvy.js → command-tnvqwdy0.js} +10 -10
  243. package/dist/chunks/{image-tvtrv512.js → command-tvtrv512.js} +1 -1
  244. package/dist/chunks/{image-zxwpcx7f.js → command-v2tfw1yv.js} +6 -6
  245. package/dist/chunks/{image-veqvce7d.js → command-veqvce7d.js} +1 -1
  246. package/dist/chunks/{image-fdv5t5g0.js → command-vjbk48r7.js} +26 -26
  247. package/dist/chunks/{image-m50qhwfm.js → command-vskhrygy.js} +11 -11
  248. package/dist/chunks/{image-nkh7xb07.js → command-vtk5qamb.js} +13 -13
  249. package/dist/chunks/{image-1yce9yd2.js → command-vy7jzsr4.js} +12 -12
  250. package/dist/chunks/{image-44nyv85r.js → command-vz9sc8m2.js} +15 -15
  251. package/dist/chunks/{image-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{image-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{image-dz3gce22.js → command-w08nn5n9.js} +13 -13
  254. package/dist/chunks/{image-jfr8p1nc.js → command-w17djjzg.js} +14 -14
  255. package/dist/chunks/{image-xfkkasph.js → command-w19d8598.js} +5 -5
  256. package/dist/chunks/{image-5esmevc9.js → command-w3hsnjjz.js} +12 -12
  257. package/dist/chunks/{image-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{image-39wagmdt.js → command-w5ystqj3.js} +3 -3
  259. package/dist/chunks/{image-s7vn0b15.js → command-wbsxrhdw.js} +4 -4
  260. package/dist/chunks/{image-wkkjk60x.js → command-wcw9m44b.js} +35 -35
  261. package/dist/chunks/{image-wd87259q.js → command-wd87259q.js} +1 -1
  262. package/dist/chunks/{image-mk3zm8w3.js → command-whhdfx7x.js} +13 -13
  263. package/dist/chunks/{image-v08hbz58.js → command-wnfrb3a9.js} +15 -15
  264. package/dist/chunks/{image-v4ya61sm.js → command-wyjbmczw.js} +17 -17
  265. package/dist/chunks/{image-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{image-54pn5t4s.js → command-xa8sx6te.js} +37 -37
  267. package/dist/chunks/{image-9pgc1ftw.js → command-xerakxap.js} +79 -79
  268. package/dist/chunks/{image-yzyn3x45.js → command-xf862nsz.js} +12 -12
  269. package/dist/chunks/{image-v9463pt3.js → command-xjbtjqdb.js} +17 -17
  270. package/dist/chunks/{image-xkntkrq7.js → command-xkntkrq7.js} +2 -2
  271. package/dist/chunks/{image-e3ygdm6b.js → command-xq9zaz6f.js} +20 -20
  272. package/dist/chunks/{image-kma0a23x.js → command-xs6tw54q.js} +47 -47
  273. package/dist/chunks/{image-m9b9fvvz.js → command-xxvyy5kb.js} +12 -12
  274. package/dist/chunks/{image-9fxxshwk.js → command-y0m37wb8.js} +38 -38
  275. package/dist/chunks/{image-qq8x5mwt.js → command-y10wk092.js} +7 -7
  276. package/dist/chunks/{image-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{image-ywxndyv1.js → command-y5rf7nzv.js} +4 -4
  278. package/dist/chunks/{image-56b3zt1s.js → command-yf10kn3d.js} +8 -8
  279. package/dist/chunks/{image-fjzghbfh.js → command-yjxvec77.js} +25 -25
  280. package/dist/chunks/{image-vdjkcp1a.js → command-ynn332gn.js} +10 -10
  281. package/dist/chunks/{image-xd3taepx.js → command-ynyq5a7a.js} +17 -17
  282. package/dist/chunks/{image-51rzsxjq.js → command-yp0e5902.js} +34 -34
  283. package/dist/chunks/{image-qcv1wgnv.js → command-ypa0y62e.js} +10 -10
  284. package/dist/chunks/{image-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  285. package/dist/chunks/{image-wxfthr7h.js → command-ytfj295e.js} +154 -154
  286. package/dist/chunks/{image-2yv7jqsy.js → command-ytws7ykb.js} +2 -2
  287. package/dist/chunks/{image-1mr17jyd.js → command-yv60n1xn.js} +5 -5
  288. package/dist/chunks/{image-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  289. package/dist/chunks/{image-922hggd3.js → command-z5v4ffb3.js} +1 -11
  290. package/dist/chunks/{image-a3r4dcrj.js → command-zfme70y8.js} +2 -2
  291. package/dist/chunks/{image-rk1r2hx8.js → command-znsx74x0.js} +1 -1
  292. package/dist/chunks/{image-d8sh9q4a.js → command-zqvjtgwh.js} +25 -25
  293. package/dist/chunks/{image-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  294. package/dist/chunks/{image-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +9 -9
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +77 -77
  300. package/dist/config/discovery.js +82 -82
  301. package/dist/config/markdown.js +1 -1
  302. package/dist/config/normalize.js +106 -106
  303. package/dist/config/plugin/agent.js +125 -125
  304. package/dist/config/plugin/command.js +215 -215
  305. package/dist/config/plugin/compaction.js +161 -161
  306. package/dist/config/plugin/compatibility.js +141 -141
  307. package/dist/config/plugin/entry-observer.js +1 -1
  308. package/dist/config/plugin/formatter.js +124 -124
  309. package/dist/config/plugin/image.js +123 -123
  310. package/dist/config/plugin/instruction.js +90 -90
  311. package/dist/config/plugin/location-watcher.js +125 -125
  312. package/dist/config/plugin/mcp.js +132 -132
  313. package/dist/config/plugin/policy.js +124 -124
  314. package/dist/config/plugin/provider.js +123 -123
  315. package/dist/config/plugin/reference.js +125 -125
  316. package/dist/config/plugin/shell.js +125 -125
  317. package/dist/config/plugin/skill-file.js +102 -102
  318. package/dist/config/plugin/skill.js +144 -144
  319. package/dist/config/plugin/snapshot.js +123 -123
  320. package/dist/config/plugin/source.js +126 -126
  321. package/dist/config/plugin/tool-output.js +125 -125
  322. package/dist/config/plugin/websearch.js +124 -124
  323. package/dist/config/plugin/worktree.js +125 -125
  324. package/dist/config/variable.js +3 -3
  325. package/dist/config/watch.js +1 -1
  326. package/dist/config.js +128 -128
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +81 -81
  329. package/dist/database/database.js +66 -66
  330. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +15 -15
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +16 -16
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration.gen.js +49 -49
  395. package/dist/database/migration.js +51 -51
  396. package/dist/database/path.js +2 -2
  397. package/dist/database/schema.gen.js +1 -1
  398. package/dist/database/schema.sql.js +1 -1
  399. package/dist/database/sqlite.bun.js +1 -1
  400. package/dist/database/sqlite.js +1 -1
  401. package/dist/database/sqlite.node.js +1 -1
  402. package/dist/database/sqlite.workerd.js +1 -1
  403. package/dist/database/v1-migration.bun.js +76 -76
  404. package/dist/database/v1-migration.js +1 -1
  405. package/dist/effect/app-node-builder.js +372 -372
  406. package/dist/effect/app-node-platform.js +2 -2
  407. package/dist/effect/keyed-mutex.js +3 -3
  408. package/dist/effect/websocket-constructor.js +1 -1
  409. package/dist/environment/driver.js +1 -1
  410. package/dist/environment/environment.js +93 -93
  411. package/dist/environment/exec-defaults.js +2 -2
  412. package/dist/environment/files.js +1 -1
  413. package/dist/environment/index.js +95 -95
  414. package/dist/environment/local.js +2 -2
  415. package/dist/environment/memory.js +2 -2
  416. package/dist/environment/unavailable.js +1 -1
  417. package/dist/event/sql.js +1 -1
  418. package/dist/event-logger.js +70 -70
  419. package/dist/file-access.js +104 -104
  420. package/dist/file-mutation.js +94 -94
  421. package/dist/file-retention.js +1 -1
  422. package/dist/filesystem/fff.bun.js +2 -2
  423. package/dist/filesystem/fff.js +1 -1
  424. package/dist/filesystem/fff.node.js +2 -2
  425. package/dist/filesystem/fff.workerd.js +2 -2
  426. package/dist/filesystem/ignore.js +1 -1
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +228 -228
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +103 -103
  431. package/dist/filesystem/watcher-binding.js +3 -3
  432. package/dist/filesystem/watcher.js +15 -15
  433. package/dist/filesystem.js +110 -106
  434. package/dist/form.js +78 -78
  435. package/dist/formatter/builtins.js +4 -4
  436. package/dist/formatter.js +89 -89
  437. package/dist/generate.js +101 -101
  438. package/dist/git.js +6 -6
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +18 -20
  446. package/dist/github-copilot/models.js +91 -91
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/id/id.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +363 -363
  463. package/dist/instruction-discovery.js +85 -85
  464. package/dist/instructions/builtins.js +87 -87
  465. package/dist/instructions/index.js +3 -3
  466. package/dist/integration/connection.js +3 -3
  467. package/dist/integration.js +85 -85
  468. package/dist/job.js +79 -79
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +73 -73
  471. package/dist/location-activity.js +132 -132
  472. package/dist/location-lifecycle.js +107 -107
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +81 -81
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +107 -107
  479. package/dist/mcp/instructions.js +127 -127
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +91 -91
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +98 -98
  486. package/dist/models-dev.js +101 -101
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +80 -80
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +111 -111
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +82 -82
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +104 -104
  497. package/dist/plugin/command.js +102 -102
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +219 -219
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +335 -335
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +124 -124
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/chatgpt.js +93 -93
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +95 -95
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +78 -78
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +95 -95
  531. package/dist/plugin/provider/opencode.js +96 -96
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +79 -79
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +163 -163
  545. package/dist/plugin/sdk.js +72 -72
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +352 -352
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +6 -6
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +4 -4
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +4 -4
  562. package/dist/plugin/websearch/tinyfish.js +8 -8
  563. package/dist/plugin.js +230 -230
  564. package/dist/project/schema.js +2 -2
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +80 -80
  567. package/dist/provider.js +97 -97
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +97 -97
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +91 -91
  573. package/dist/repository-cache.js +79 -79
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +97 -97
  577. package/dist/rpc.js +82 -82
  578. package/dist/schema.js +2 -4
  579. package/dist/session/affinity.js +3 -3
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +131 -131
  582. package/dist/session/context.js +153 -153
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +5 -5
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +219 -219
  588. package/dist/session/execution.js +128 -128
  589. package/dist/session/generate.js +152 -152
  590. package/dist/session/history.js +15 -15
  591. package/dist/session/inbox.js +88 -88
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +77 -77
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +2 -2
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +120 -120
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +126 -126
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +232 -232
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +4 -4
  612. package/dist/session/runner/step.js +124 -124
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +172 -172
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +105 -105
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +85 -85
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +211 -211
  623. package/dist/session/system-prompt.js +3 -3
  624. package/dist/session/title.js +157 -157
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +212 -212
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +213 -213
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +13 -13
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +110 -110
  637. package/dist/snapshot.js +93 -93
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +124 -124
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +117 -117
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +103 -103
  650. package/dist/tool/plugin/read.js +125 -125
  651. package/dist/tool/plugin/shell.js +218 -218
  652. package/dist/tool/plugin/skill.js +113 -113
  653. package/dist/tool/plugin/subagent.js +220 -220
  654. package/dist/tool/plugin/webfetch.js +108 -108
  655. package/dist/tool/plugin/websearch.js +108 -108
  656. package/dist/tool/plugin/write.js +120 -120
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +16 -16
  661. package/dist/types/filesystem.d.ts +15 -1
  662. package/dist/types/github-copilot/copilot-provider.d.ts +0 -1
  663. package/dist/types/instance.d.ts +1 -1
  664. package/dist/types/plugin/internal.d.ts +1 -1
  665. package/dist/types/plugin/supervisor.d.ts +1 -1
  666. package/dist/types/schema.d.ts +0 -21
  667. package/dist/types/v1/config/error.d.ts +48 -1433
  668. package/dist/util/error-summary.js +1 -1
  669. package/dist/util/error.js +1 -1
  670. package/dist/util/git-executable.js +2 -2
  671. package/dist/util/iife.js +1 -1
  672. package/dist/util/lazy.js +1 -1
  673. package/dist/util/slug.js +1 -1
  674. package/dist/util/token.js +1 -1
  675. package/dist/util/which.js +1 -1
  676. package/dist/util/wildcard.js +1 -1
  677. package/dist/v1/config/agent.js +7 -7
  678. package/dist/v1/config/attachment.js +4 -4
  679. package/dist/v1/config/command.js +3 -3
  680. package/dist/v1/config/config.js +16 -16
  681. package/dist/v1/config/error.js +5 -13
  682. package/dist/v1/config/formatter.js +5 -5
  683. package/dist/v1/config/layout.js +1 -1
  684. package/dist/v1/config/lsp.js +3 -3
  685. package/dist/v1/config/mcp.js +4 -4
  686. package/dist/v1/config/migrate.js +92 -92
  687. package/dist/v1/config/permission.js +7 -7
  688. package/dist/v1/config/plugin.js +1 -1
  689. package/dist/v1/config/provider-options.js +1 -1
  690. package/dist/v1/config/provider.js +4 -4
  691. package/dist/v1/config/server.js +2 -2
  692. package/dist/v1/config/skills.js +3 -3
  693. package/dist/variant.js +91 -91
  694. package/dist/vcs/patch.js +1 -1
  695. package/dist/vcs.js +89 -89
  696. package/dist/websearch.js +84 -84
  697. package/dist/wellknown/plugin.js +76 -76
  698. package/dist/wellknown.js +81 -81
  699. package/dist/workspace/driver.js +5 -5
  700. package/dist/workspace/sql.js +1 -1
  701. package/dist/workspace.js +78 -78
  702. package/dist/worktree/directory.js +2 -2
  703. package/dist/worktree/git.js +8 -8
  704. package/dist/worktree/sql.js +5 -5
  705. package/dist/worktree/strategies.js +89 -89
  706. package/dist/worktree.js +96 -96
  707. package/package.json +8 -8
  708. package/dist/chunks/image-2g0vd6zq.js +0 -26
  709. package/dist/chunks/image-qc068m1q.js +0 -18
  710. package/dist/chunks/image-y8w35d73.js +0 -252
  711. package/dist/chunks/image-z63w68vq.js +0 -46
  712. package/dist/types/util/identifier.d.ts +0 -1
  713. package/dist/types/v1/permission.d.ts +0 -27
  714. package/dist/util/identifier.js +0 -5
  715. package/dist/v1/permission.js +0 -51
  716. /package/dist/chunks/{image-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  717. /package/dist/chunks/{image-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  718. /package/dist/chunks/{image-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  719. /package/dist/chunks/{image-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  720. /package/dist/chunks/{image-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  721. /package/dist/chunks/{image-24dcb14g.js → command-24dcb14g.js} +0 -0
  722. /package/dist/chunks/{image-2710q6r3.js → command-2710q6r3.js} +0 -0
  723. /package/dist/chunks/{image-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  724. /package/dist/chunks/{image-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  725. /package/dist/chunks/{image-34c7v6d4.js → command-34c7v6d4.js} +0 -0
  726. /package/dist/chunks/{image-359p4xyc.js → command-359p4xyc.js} +0 -0
  727. /package/dist/chunks/{image-3asan66x.js → command-3asan66x.js} +0 -0
  728. /package/dist/chunks/{image-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  729. /package/dist/chunks/{image-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  730. /package/dist/chunks/{image-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  731. /package/dist/chunks/{image-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  732. /package/dist/chunks/{image-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  733. /package/dist/chunks/{image-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  734. /package/dist/chunks/{image-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  735. /package/dist/chunks/{image-53557ph1.js → command-53557ph1.js} +0 -0
  736. /package/dist/chunks/{image-550bvhaj.js → command-550bvhaj.js} +0 -0
  737. /package/dist/chunks/{image-6prwharc.js → command-6prwharc.js} +0 -0
  738. /package/dist/chunks/{image-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  739. /package/dist/chunks/{image-7m9af43g.js → command-7m9af43g.js} +0 -0
  740. /package/dist/chunks/{image-822emrt2.js → command-822emrt2.js} +0 -0
  741. /package/dist/chunks/{image-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  742. /package/dist/chunks/{image-8n3pysct.js → command-8n3pysct.js} +0 -0
  743. /package/dist/chunks/{image-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  744. /package/dist/chunks/{image-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  745. /package/dist/chunks/{image-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  746. /package/dist/chunks/{image-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  747. /package/dist/chunks/{image-af5trqkr.js → command-af5trqkr.js} +0 -0
  748. /package/dist/chunks/{image-afrmfg78.js → command-afrmfg78.js} +0 -0
  749. /package/dist/chunks/{image-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  750. /package/dist/chunks/{image-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  751. /package/dist/chunks/{image-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  752. /package/dist/chunks/{image-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  753. /package/dist/chunks/{image-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  754. /package/dist/chunks/{image-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  755. /package/dist/chunks/{image-d9fn303g.js → command-d9fn303g.js} +0 -0
  756. /package/dist/chunks/{image-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  757. /package/dist/chunks/{image-dajrwvna.js → command-dajrwvna.js} +0 -0
  758. /package/dist/chunks/{image-dap0rakb.js → command-dap0rakb.js} +0 -0
  759. /package/dist/chunks/{image-df08tz66.js → command-df08tz66.js} +0 -0
  760. /package/dist/chunks/{image-dy18nga0.js → command-dy18nga0.js} +0 -0
  761. /package/dist/chunks/{image-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  762. /package/dist/chunks/{image-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  763. /package/dist/chunks/{image-ec1grn59.js → command-ec1grn59.js} +0 -0
  764. /package/dist/chunks/{image-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  765. /package/dist/chunks/{image-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  766. /package/dist/chunks/{image-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  767. /package/dist/chunks/{image-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  768. /package/dist/chunks/{image-faypxj3z.js → command-faypxj3z.js} +0 -0
  769. /package/dist/chunks/{image-fd410y7t.js → command-fd410y7t.js} +0 -0
  770. /package/dist/chunks/{image-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  771. /package/dist/chunks/{image-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  772. /package/dist/chunks/{image-g86h250q.js → command-g86h250q.js} +0 -0
  773. /package/dist/chunks/{image-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  774. /package/dist/chunks/{image-gftt206x.js → command-gftt206x.js} +0 -0
  775. /package/dist/chunks/{image-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  776. /package/dist/chunks/{image-hk9envan.js → command-hk9envan.js} +0 -0
  777. /package/dist/chunks/{image-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  778. /package/dist/chunks/{image-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  779. /package/dist/chunks/{image-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  780. /package/dist/chunks/{image-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  781. /package/dist/chunks/{image-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  782. /package/dist/chunks/{image-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  783. /package/dist/chunks/{image-mp448xyj.js → command-mp448xyj.js} +0 -0
  784. /package/dist/chunks/{image-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  785. /package/dist/chunks/{image-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  786. /package/dist/chunks/{image-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  787. /package/dist/chunks/{image-njntx4h6.js → command-njntx4h6.js} +0 -0
  788. /package/dist/chunks/{image-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  789. /package/dist/chunks/{image-q74kybfr.js → command-q74kybfr.js} +0 -0
  790. /package/dist/chunks/{image-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  791. /package/dist/chunks/{image-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  792. /package/dist/chunks/{image-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  793. /package/dist/chunks/{image-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  794. /package/dist/chunks/{image-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  795. /package/dist/chunks/{image-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  796. /package/dist/chunks/{image-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  797. /package/dist/chunks/{image-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  798. /package/dist/chunks/{image-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  799. /package/dist/chunks/{image-w803qqfp.js → command-w803qqfp.js} +0 -0
  800. /package/dist/chunks/{image-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  801. /package/dist/chunks/{image-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  802. /package/dist/chunks/{image-wtztk69x.js → command-wtztk69x.js} +0 -0
  803. /package/dist/chunks/{image-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  804. /package/dist/chunks/{image-x61499pn.js → command-x61499pn.js} +0 -0
  805. /package/dist/chunks/{image-y44na4kk.js → command-y44na4kk.js} +0 -0
  806. /package/dist/chunks/{image-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  807. /package/dist/chunks/{image-y8f7s663.js → command-y8f7s663.js} +0 -0
  808. /package/dist/chunks/{image-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  809. /package/dist/chunks/{image-ym463w8f.js → command-ym463w8f.js} +0 -0
  810. /package/dist/chunks/{image-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./image-dweptn8x.js";
4
+ } from "./command-654bmfkb.js";
5
5
  import {
6
6
  create3
7
- } from "./image-rdw6cm16.js";
7
+ } from "./command-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./image-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event11,
16
+ Event: () => Event10,
17
17
  ExecutionError: () => ExecutionError2,
18
18
  Info: () => Info9,
19
- NotFoundError: () => NotFoundError6,
19
+ NotFoundError: () => NotFoundError7,
20
20
  Service: () => Service50,
21
- layer: () => layer19,
21
+ layer: () => layer18,
22
22
  node: () => node54
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event11 } from "@opencode/schema/command";
27
+ import { Event as Event10 } from "@opencode/schema/command";
28
28
  var Info9 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -41,7 +41,7 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
41
41
 
42
42
  class Service50 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer19 = Layer.effect(Service50, Effect.gen(function* () {
44
+ var layer18 = Layer.effect(Service50, Effect.gen(function* () {
45
45
  const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
@@ -66,14 +66,14 @@ var layer19 = Layer.effect(Service50, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
74
  var node54 = makeLocationNode({
75
75
  service: Service50,
76
- layer: layer19,
76
+ layer: layer18,
77
77
  deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info9, NotFoundError6, ExecutionError2, Service50, layer19, node54, exports_command4, Event11 };
89
+ export { Info9, NotFoundError7, ExecutionError2, Service50, layer18, node54, exports_command4, Event10 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service83
3
- } from "./image-dweptn8x.js";
3
+ } from "./command-654bmfkb.js";
4
4
  import {
5
- Service40
6
- } from "./image-fdv5t5g0.js";
5
+ Service75
6
+ } from "./command-vjbk48r7.js";
7
7
  import {
8
- Error2
9
- } from "./image-e72dvkew.js";
8
+ Error3
9
+ } from "./command-gfkmrq4p.js";
10
10
  import {
11
- Service53
12
- } from "./image-08cc3crx.js";
11
+ Service48
12
+ } from "./command-6z9y85k1.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./image-vjjxy6yb.js";
15
+ } from "./command-eyhtqccb.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./image-ec1grn59.js";
18
+ } from "./command-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./image-1mr17jyd.js";
21
+ } from "./command-yv60n1xn.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./image-tdstcens.js";
24
+ } from "./command-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./image-m58kmhef.js";
27
+ } from "./command-m58kmhef.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./image-qygbw77c.js";
30
+ } from "./command-b3f8fkhc.js";
31
31
  import {
32
32
  __export
33
- } from "./image-9rqn6x4v.js";
33
+ } from "./command-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
54
54
  var make9 = Effect.gen(function* () {
55
55
  const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service40;
58
- const toolOutput = yield* Service53;
57
+ const snapshots = yield* Service75;
58
+ const toolOutput = yield* Service48;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error2({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./image-gftt206x.js";
3
+ } from "./command-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-wabfeqb8.js";
3
+ } from "./command-8c3xbmtc.js";
4
4
  import {
5
5
  Service83
6
- } from "./image-dweptn8x.js";
6
+ } from "./command-654bmfkb.js";
7
7
  import {
8
- ID16,
8
+ ID14,
9
9
  OAuth3,
10
10
  Event20,
11
- Service78
12
- } from "./image-e1vxf24z.js";
11
+ Service74
12
+ } from "./command-12vfn7rq.js";
13
13
  import {
14
14
  key2
15
- } from "./image-dnxkq42g.js";
15
+ } from "./command-mpk0rfs5.js";
16
16
  import {
17
- ID14,
17
+ ID12,
18
18
  MethodID2
19
- } from "./image-87sgw6dv.js";
19
+ } from "./command-nnxgyx76.js";
20
20
  import {
21
- ID13,
21
+ ID11,
22
22
  mergeOverlay2
23
- } from "./image-8c98pape.js";
23
+ } from "./command-nynp1wzk.js";
24
24
  import {
25
- ID12,
25
+ ID10,
26
26
  VariantID2,
27
- Info26
28
- } from "./image-csx9mte4.js";
27
+ Info25
28
+ } from "./command-dw95s81m.js";
29
29
  import {
30
30
  success2,
31
31
  error2
32
- } from "./image-pjvnvgmy.js";
32
+ } from "./command-pjvnvgmy.js";
33
33
 
34
34
  // src/plugin/provider/chatgpt.ts
35
35
  import { define } from "@opencode/plugin/effect/plugin";
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
41
41
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
42
42
  var resource = "https://api.openai.com/v1";
43
43
  var tokenSharingScope = "chatgpt.tokens.use.direct";
44
- var providerID = ID13.openai;
45
- var integrationID = ID14.make("openai");
44
+ var providerID = ID11.openai;
45
+ var integrationID = ID12.make("openai");
46
46
  var methodID = MethodID2.make("chatgpt-token-sharing");
47
47
  var modelCacheKey = (clientID) => `models:${clientID}`;
48
48
  var fallbackModels = new Set([
@@ -172,7 +172,7 @@ var ChatGPTPlugin2 = define({
172
172
  id: "opencode.provider.chatgpt",
173
173
  effect: Effect.fn(function* (ctx) {
174
174
  const bus = yield* Service83;
175
- const credentials = yield* Service78;
175
+ const credentials = yield* Service74;
176
176
  const loading = Semaphore.makeUnsafe(1);
177
177
  let chatgpt;
178
178
  let available;
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
194
194
  yield* ctx.integration.transform((editor) => {
195
195
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
196
196
  });
197
- yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
197
+ yield* Effect.forEach(yield* credentials.list(ID12.make("openai")), (entry) => {
198
198
  const value = entry.value;
199
199
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
200
200
  return Effect.void;
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
259
259
  });
260
260
  const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
261
261
  const connection = source;
262
- const credential = connection?.type === "credential" ? (yield* credentials.get(ID16.make(connection.id)))?.value : undefined;
262
+ const credential = connection?.type === "credential" ? (yield* credentials.get(ID14.make(connection.id)))?.value : undefined;
263
263
  if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
264
264
  return;
265
265
  const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
338
338
  const found = byID.get(model.modelID);
339
339
  return found ? [deriveModel(found, model)] : [];
340
340
  }),
341
- ...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info26.default(ID13.openai, ID12.make(model.slug))))
341
+ ...remote.filter((model) => !known.has(ID10.make(model.slug))).map((model) => deriveModel(model, Info25.default(ID11.openai, ID10.make(model.slug))))
342
342
  ];
343
343
  }
344
344
  function deriveModel(remote, previous) {
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./image-dweptn8x.js";
4
+ } from "./command-654bmfkb.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./image-z8dtv2mk.js";
8
+ } from "./command-8xf89zsp.js";
9
9
  import {
10
- ID10,
11
- Service69,
12
- node73
13
- } from "./image-s349tpfq.js";
10
+ ID8,
11
+ Service59,
12
+ node62
13
+ } from "./command-jfh4v34s.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./image-vjjxy6yb.js";
16
+ } from "./command-eyhtqccb.js";
17
17
  import {
18
- Service68,
19
- node72
20
- } from "./image-7npnsjne.js";
18
+ Service58,
19
+ node61
20
+ } from "./command-9tmvx2dr.js";
21
21
  import {
22
22
  match2
23
- } from "./image-y1fvbwt7.js";
23
+ } from "./command-y1fvbwt7.js";
24
24
  import {
25
- Service67,
26
- node71
27
- } from "./image-e8syvjy6.js";
25
+ Service57,
26
+ node60
27
+ } from "./command-kcaq6mcn.js";
28
28
  import {
29
- Service72,
30
- node76
31
- } from "./image-4w5f3qm5.js";
29
+ Service63,
30
+ node66
31
+ } from "./command-9jbvj98d.js";
32
32
  import {
33
33
  __export
34
- } from "./image-9rqn6x4v.js";
34
+ } from "./command-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
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: () => Event14,
46
- ID: () => ID8,
45
+ Event: () => Event11,
46
+ ID: () => ID6,
47
47
  NotFoundError: () => NotFoundError8,
48
- Permission: () => exports_permission2,
48
+ Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule3,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service66,
54
+ Service: () => Service56,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node70
58
+ node: () => node59
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 Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event14 } 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";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID8 = Permission.ID;
67
+ var ID6 = 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: ID8.pipe(Schema.optional),
80
+ id: ID6.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID10.pipe(Schema.optional)
82
+ agent: ID8.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID8,
85
+ requestID: ID6,
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: ID8,
90
+ id: ID6,
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: ID8
114
+ requestID: ID6
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 Service66 extends Context.Service()("@opencode/Permission") {
128
+ class Service56 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service66, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
132
  const location = yield* Service80;
133
- const agents = yield* Service69;
134
- const sessions = yield* Service68;
135
- const saved = yield* Service67;
136
- const hooks = yield* Service72;
133
+ const agents = yield* Service59;
134
+ const sessions = yield* Service58;
135
+ const saved = yield* Service57;
136
+ const hooks = yield* Service63;
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(Service66, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID8.create(),
189
+ id: input.id ?? ID6.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID8.create(), effect: "deny" };
214
+ return { id: input.id ?? ID6.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(Service66, 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 Service66.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service56.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node70 = makeLocationNode({
303
- service: Service66,
302
+ var node59 = makeLocationNode({
303
+ service: Service56,
304
304
  layer,
305
- deps: [node87, node84, node73, node72, node71, node76]
305
+ deps: [node87, node84, node62, node61, node60, node66]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service66, node70, exports_permission2, Rule3, Ruleset2, Event14 };
308
+ export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service56, node59, exports_permission, Rule2, Ruleset2, Event11 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service54
3
- } from "./image-9fxxshwk.js";
2
+ Service66
3
+ } from "./command-y0m37wb8.js";
4
4
  import {
5
- Service47
6
- } from "./image-56b3zt1s.js";
5
+ Service17
6
+ } from "./command-yf10kn3d.js";
7
7
  import {
8
8
  match2
9
- } from "./image-y1fvbwt7.js";
9
+ } from "./command-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./image-qsdy395h.js";
12
+ } from "./command-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./image-9rqn6x4v.js";
15
+ } from "./command-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin45
21
+ Plugin: () => Plugin18
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin45 = define({
25
+ var Plugin18 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service54;
29
- const managed = yield* Service47;
28
+ const config = yield* Service66;
29
+ const managed = yield* Service17;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin45 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin45, exports_policy };
60
+ export { Plugin18, exports_policy };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./image-dweptn8x.js";
4
+ } from "./command-654bmfkb.js";
5
5
  import {
6
6
  Event20,
7
- Service78,
8
- node82
9
- } from "./image-e1vxf24z.js";
7
+ Service74,
8
+ node77
9
+ } from "./command-12vfn7rq.js";
10
10
  import {
11
- Service55,
12
- node59
13
- } from "./image-tbe0yh0n.js";
11
+ Service67,
12
+ node70
13
+ } from "./command-r7cqnzm4.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./image-922hggd3.js";
16
+ } from "./command-z5v4ffb3.js";
17
17
  import {
18
18
  Service80,
19
19
  node84
20
- } from "./image-z8dtv2mk.js";
20
+ } from "./command-8xf89zsp.js";
21
21
  import {
22
22
  substitute2
23
- } from "./image-yrznvahk.js";
23
+ } from "./command-2ccvkpx1.js";
24
24
  import {
25
25
  normalize2
26
- } from "./image-87yk6njf.js";
26
+ } from "./command-s7xm0994.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./image-qytp0p6t.js";
30
+ } from "./command-70h48ehn.js";
31
31
  import {
32
32
  plan2
33
- } from "./image-j56e64zr.js";
33
+ } from "./command-j56e64zr.js";
34
34
  import {
35
- Service56,
36
- Event13,
37
- node60
38
- } from "./image-z8a1da1q.js";
35
+ Service68,
36
+ Event15,
37
+ node71
38
+ } from "./command-hs8jsmzr.js";
39
39
  import {
40
40
  __export
41
- } from "./image-9rqn6x4v.js";
41
+ } from "./command-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service54,
47
+ Options: () => Options8,
48
+ Service: () => Service66,
49
49
  Test: () => Test2,
50
- configured: () => configured8,
50
+ configured: () => configured9,
51
51
  latest: () => latest2,
52
- layer: () => layer20,
53
- node: () => node58,
52
+ layer: () => layer23,
53
+ node: () => node69,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options7 = Schema.Struct({
67
+ var Options8 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service54 extends Context.Service()("@opencode/Config") {
74
+ class Service66 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service54, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service66, service), Context.add(Test2, service));
93
93
  }));
94
- var layer20 = (options) => Layer.effect(Service54, Effect.gen(function* () {
94
+ var layer23 = (options) => Layer.effect(Service66, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
96
  const location = yield* Service80;
97
- const watcher = yield* Service55;
97
+ const watcher = yield* Service67;
98
98
  const bus = yield* Service83;
99
- const credentials = yield* Service78;
99
+ const credentials = yield* Service74;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service56;
101
+ const wellknown = yield* Service68;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -222,7 +222,7 @@ var layer20 = (options) => Layer.effect(Service54, Effect.gen(function* () {
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
224
  yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service54, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service54.of({
253
+ return Service66.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer20 = (options) => Layer.effect(Service54, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured8(options) {
265
+ function configured9(options) {
266
266
  return makeLocationNode({
267
- service: Service54,
268
- layer: layer20(options),
269
- deps: [node59, node87, FSUtil.node, Global.node, node84, node82, node60]
267
+ service: Service66,
268
+ layer: layer23(options),
269
+ deps: [node70, node87, FSUtil.node, Global.node, node84, node77, node71]
270
270
  });
271
271
  }
272
- var node58 = configured8();
272
+ var node69 = configured9();
273
273
 
274
- export { latest2, Options7, Service54, Test2, testLayer2, layer20, configured8, node58, exports_config };
274
+ export { latest2, Options8, Service66, Test2, testLayer2, layer23, configured9, node69, exports_config };