@opencode/core 0.0.0-dev-20577 → 0.0.0-dev-20578

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 (779) 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 +75 -75
  7. package/dist/chunks/{command-r0wedrkd.js → plugin-04d3ggy7.js} +17 -17
  8. package/dist/chunks/{command-s3qw8jyq.js → plugin-06fncbhs.js} +18 -18
  9. package/dist/chunks/{command-afdssyjb.js → plugin-06x8he3q.js} +4 -4
  10. package/dist/chunks/{command-jyrncrt6.js → plugin-09djgkn9.js} +20 -20
  11. package/dist/chunks/{command-y6k2xs97.js → plugin-0a04tq27.js} +1 -1
  12. package/dist/chunks/{command-48cj2z6f.js → plugin-0d0dy0b8.js} +18 -18
  13. package/dist/chunks/{command-1zc1gz4g.js → plugin-0grfgy22.js} +12 -12
  14. package/dist/chunks/{command-q0xm7vwc.js → plugin-0j77ygfz.js} +6 -6
  15. package/dist/chunks/{command-qgn6gcr1.js → plugin-0jwsre1p.js} +5 -5
  16. package/dist/chunks/{command-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{command-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{command-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{command-1dvck2a7.js → plugin-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{command-22qzwdfx.js → plugin-1eznydrh.js} +14 -14
  21. package/dist/chunks/{command-gh22p3be.js → plugin-1hxtq9m9.js} +24 -24
  22. package/dist/chunks/{command-hphxefgw.js → plugin-1m06e57m.js} +10 -10
  23. package/dist/chunks/{command-jaa0b0hs.js → plugin-1x0vprbs.js} +17 -17
  24. package/dist/chunks/{command-1ygqh575.js → plugin-1ygqh575.js} +2 -2
  25. package/dist/chunks/{command-ry3ffff2.js → plugin-24creq0d.js} +10 -10
  26. package/dist/chunks/{command-dfajfnkg.js → plugin-28z24pfh.js} +32 -32
  27. package/dist/chunks/{command-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{command-4ts7tf6z.js → plugin-2ccvkpx1.js} +2 -2
  29. package/dist/chunks/{command-v04mbsyc.js → plugin-2dcw1sfe.js} +7 -7
  30. package/dist/chunks/{command-43ya1ftk.js → plugin-2ex9tkzb.js} +32 -32
  31. package/dist/chunks/{command-tet8e841.js → plugin-2m5wdzz9.js} +4 -4
  32. package/dist/chunks/{command-04jjrec1.js → plugin-2p0jthwz.js} +13 -13
  33. package/dist/chunks/{command-n0pywpq4.js → plugin-2p5y98w0.js} +6 -6
  34. package/dist/chunks/{command-mjymc32g.js → plugin-2pnhn36q.js} +21 -21
  35. package/dist/chunks/{command-h9rj7vgp.js → plugin-30hx8gy4.js} +11 -11
  36. package/dist/chunks/{command-kp93eabn.js → plugin-34bd8zqa.js} +15 -15
  37. package/dist/chunks/{command-j34dxvpb.js → plugin-35ng7dkh.js} +5 -5
  38. package/dist/chunks/{command-yp6aabyp.js → plugin-371g5ft3.js} +22 -22
  39. package/dist/chunks/{command-mq1114ms.js → plugin-39sy8z68.js} +14 -14
  40. package/dist/chunks/{command-tfrvwkgh.js → plugin-3ary6tpn.js} +10 -10
  41. package/dist/chunks/{command-gh3sjhhn.js → plugin-3d32k6hr.js} +11 -11
  42. package/dist/chunks/{command-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{command-a03229d4.js → plugin-3g98wrjp.js} +13 -13
  44. package/dist/chunks/{command-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{command-62yts832.js → plugin-3n0emgyf.js} +29 -29
  46. package/dist/chunks/{command-wq97ata3.js → plugin-3r80836k.js} +31 -31
  47. package/dist/chunks/{command-qkj8hkyk.js → plugin-3rt7qeq2.js} +43 -43
  48. package/dist/chunks/{command-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{command-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{command-s9de47m6.js → plugin-3x5wnmsa.js} +12 -12
  51. package/dist/chunks/{command-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{command-e55nq1dx.js → plugin-41japfwg.js} +19 -19
  53. package/dist/chunks/{command-zeh40njd.js → plugin-43r5tmwz.js} +167 -167
  54. package/dist/chunks/{command-m9bwhd6g.js → plugin-4bcaa4pk.js} +23 -23
  55. package/dist/chunks/{command-1n8tchc4.js → plugin-4fsvs0r5.js} +14 -14
  56. package/dist/chunks/{command-cb8p8a9z.js → plugin-4hmze3tg.js} +9 -9
  57. package/dist/chunks/{command-39yjv8hn.js → plugin-4r3ynae4.js} +44 -44
  58. package/dist/chunks/{command-0sqmrpn2.js → plugin-51nd9ekg.js} +18 -18
  59. package/dist/chunks/{command-54ma36ye.js → plugin-54ma36ye.js} +1 -1
  60. package/dist/chunks/{command-gpygzsz4.js → plugin-5anybvrp.js} +15 -15
  61. package/dist/chunks/{command-5daktx2q.js → plugin-5daktx2q.js} +1 -1
  62. package/dist/chunks/{command-zsr4wwhv.js → plugin-5dkn69vz.js} +4 -4
  63. package/dist/chunks/{command-3ac3enw2.js → plugin-5egfvsg2.js} +27 -27
  64. package/dist/chunks/{command-9xs2qmrx.js → plugin-5g4drkc8.js} +13 -13
  65. package/dist/chunks/{command-j0gyfj28.js → plugin-5h261f6e.js} +42 -42
  66. package/dist/chunks/{command-66c3eymz.js → plugin-5kyzh40n.js} +5 -5
  67. package/dist/chunks/{command-6q6vmr50.js → plugin-5p2w852e.js} +6 -6
  68. package/dist/chunks/{command-9898pk67.js → plugin-5q82qb79.js} +24 -24
  69. package/dist/chunks/{command-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{command-5yzzbxa7.js → plugin-5yzzbxa7.js} +1 -1
  71. package/dist/chunks/{command-q43fwr5x.js → plugin-61rwkfw7.js} +13 -13
  72. package/dist/chunks/{command-0vsnxwjm.js → plugin-62kmmg0k.js} +3 -3
  73. package/dist/chunks/{command-669tq793.js → plugin-669tq793.js} +1 -1
  74. package/dist/chunks/{command-fp6k91eh.js → plugin-68vrpgj2.js} +29 -29
  75. package/dist/chunks/{command-s9spdbfy.js → plugin-69hdsgk8.js} +32 -32
  76. package/dist/chunks/{command-e3ecsdy8.js → plugin-69mqpp93.js} +22 -22
  77. package/dist/chunks/{command-s1jqa0rv.js → plugin-6arwdhpr.js} +23 -23
  78. package/dist/chunks/{command-fpecnkgp.js → plugin-6g7e4dd5.js} +5 -5
  79. package/dist/chunks/{command-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
  80. package/dist/chunks/{command-qkr42znk.js → plugin-6zy4stt8.js} +9 -9
  81. package/dist/chunks/{command-71az546q.js → plugin-71az546q.js} +2 -2
  82. package/dist/chunks/{command-hbqne9jm.js → plugin-76g71pff.js} +48 -48
  83. package/dist/chunks/{command-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{command-srkatn7d.js → plugin-7qgmcsxr.js} +21 -21
  85. package/dist/chunks/{command-j74e336s.js → plugin-7raxn3d9.js} +13 -13
  86. package/dist/chunks/{command-6kz41x2h.js → plugin-7t4975xj.js} +5 -5
  87. package/dist/chunks/{command-03xyy9gs.js → plugin-7y3n75t2.js} +11 -11
  88. package/dist/chunks/{command-9fn597ry.js → plugin-81vaem42.js} +8 -8
  89. package/dist/chunks/{command-3haxx6pm.js → plugin-84fx5zbw.js} +22 -22
  90. package/dist/chunks/{command-84txncab.js → plugin-84txncab.js} +1 -1
  91. package/dist/chunks/{command-873y03zv.js → plugin-8c8v92hd.js} +17 -17
  92. package/dist/chunks/{command-4yhhdjvm.js → plugin-8cqakzrt.js} +14 -14
  93. package/dist/chunks/{command-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{command-xcng2btc.js → plugin-8dsxej7q.js} +5 -5
  95. package/dist/chunks/{command-b9xnfexb.js → plugin-8etvpd78.js} +1 -1
  96. package/dist/chunks/{command-mydvvph4.js → plugin-8mq6ch7h.js} +19 -19
  97. package/dist/chunks/{command-cmkc9sfw.js → plugin-8q4vwcbd.js} +33 -33
  98. package/dist/chunks/{command-gs3s1a1g.js → plugin-8s4zq5p9.js} +4 -4
  99. package/dist/chunks/{command-py3kkmfq.js → plugin-8sze2n9a.js} +6 -6
  100. package/dist/chunks/{command-yr7n59b3.js → plugin-90wqxygs.js} +11 -11
  101. package/dist/chunks/{command-swwzfrs7.js → plugin-947pvy6h.js} +3 -3
  102. package/dist/chunks/{command-124e8td1.js → plugin-9c1yxwsv.js} +11 -11
  103. package/dist/chunks/{command-9e5bzkjp.js → plugin-9e5bzkjp.js} +3 -3
  104. package/dist/chunks/{command-4gm9b3mc.js → plugin-9jww82ap.js} +87 -87
  105. package/dist/chunks/{command-hbj68pgm.js → plugin-9przwesc.js} +37 -37
  106. package/dist/chunks/{command-ehq1cete.js → plugin-9s85hpde.js} +3 -3
  107. package/dist/chunks/{command-0y86tmwb.js → plugin-9szwjyee.js} +6 -6
  108. package/dist/chunks/{command-f3e4f3ew.js → plugin-9tnt1thx.js} +15 -15
  109. package/dist/chunks/{command-4v7ngy20.js → plugin-a3c7ahw6.js} +4 -4
  110. package/dist/chunks/{command-aaet6srn.js → plugin-aaet6srn.js} +2 -2
  111. package/dist/chunks/{command-yvd9mjph.js → plugin-acqz3eas.js} +18 -18
  112. package/dist/chunks/{command-5w6ne2rj.js → plugin-afc78eap.js} +10 -10
  113. package/dist/chunks/{command-rscwbd1b.js → plugin-agw9xp4d.js} +18 -18
  114. package/dist/chunks/{command-jsf24svj.js → plugin-ak7e9zsb.js} +43 -43
  115. package/dist/chunks/{command-dm4vbrvx.js → plugin-aphb00ew.js} +2 -2
  116. package/dist/chunks/{command-359sf8pg.js → plugin-aqs4ydsz.js} +26 -26
  117. package/dist/chunks/{command-69j91c1q.js → plugin-aryyw1nk.js} +8 -8
  118. package/dist/chunks/{command-364yjtd9.js → plugin-ay3mx084.js} +11 -11
  119. package/dist/chunks/{command-8rqycdgd.js → plugin-b27vhd2z.js} +7 -7
  120. package/dist/chunks/{command-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{command-kfmjg78y.js → plugin-b7fettsd.js} +4 -4
  122. package/dist/chunks/{command-rawzh9f5.js → plugin-bxq680aw.js} +27 -27
  123. package/dist/chunks/plugin-by5v678g.js +18 -0
  124. package/dist/chunks/{command-15nnh4s6.js → plugin-c1gr2zd3.js} +3 -3
  125. package/dist/chunks/{command-dm5ssyfm.js → plugin-c1vsqjm1.js} +39 -39
  126. package/dist/chunks/{command-mj9cksj0.js → plugin-c7jwjaks.js} +24 -24
  127. package/dist/chunks/{command-y6vx5mph.js → plugin-cepe0qf7.js} +39 -39
  128. package/dist/chunks/{command-sh0fsxwf.js → plugin-cfz5gkc0.js} +11 -11
  129. package/dist/chunks/{command-79qaa2kf.js → plugin-cpneeje0.js} +9 -9
  130. package/dist/chunks/{command-xhvk1hh0.js → plugin-cwwytgmc.js} +4 -4
  131. package/dist/chunks/{command-vqjs8hv7.js → plugin-d10hb995.js} +24 -24
  132. package/dist/chunks/{command-w9czef0s.js → plugin-da0rp3w3.js} +7 -7
  133. package/dist/chunks/{command-6etn2fpm.js → plugin-djz46489.js} +15 -15
  134. package/dist/chunks/{command-5pyjqqve.js → plugin-drnf6xwf.js} +2 -2
  135. package/dist/chunks/{command-bkwxdpdb.js → plugin-ds421k4t.js} +5 -5
  136. package/dist/chunks/{command-9p61zhgr.js → plugin-dx92dk9v.js} +13 -13
  137. package/dist/chunks/{command-759ca8qw.js → plugin-dyrgthp5.js} +11 -11
  138. package/dist/chunks/{command-5qd3pb7m.js → plugin-e3qxr5gk.js} +2 -2
  139. package/dist/chunks/{command-rjq8wmvv.js → plugin-e4g6rnfs.js} +9 -9
  140. package/dist/chunks/{command-zz9x0err.js → plugin-e5nrtag5.js} +25 -25
  141. package/dist/chunks/{command-ys3m2q03.js → plugin-e6tayz2r.js} +47 -47
  142. package/dist/chunks/{command-090p1w3a.js → plugin-e9txt9vy.js} +5 -5
  143. package/dist/chunks/{command-vkfdnwpx.js → plugin-eahhehpg.js} +4 -4
  144. package/dist/chunks/{command-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
  145. package/dist/chunks/{command-2zqhm02j.js → plugin-ef7p9trg.js} +9 -9
  146. package/dist/chunks/{command-a1gpj94z.js → plugin-eq1pz5kg.js} +3 -3
  147. package/dist/chunks/{command-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{command-4m4650rm.js → plugin-ext61gvm.js} +15 -15
  149. package/dist/chunks/{command-6gwd6jt4.js → plugin-f8147smy.js} +5 -5
  150. package/dist/chunks/{command-zytxgpcz.js → plugin-fdf2r7px.js} +24 -24
  151. package/dist/chunks/{command-wmh05qp9.js → plugin-fnwaevmq.js} +24 -24
  152. package/dist/chunks/{command-2rx8305r.js → plugin-fq3v9e4w.js} +23 -23
  153. package/dist/chunks/{command-xbvc458q.js → plugin-fwdyap71.js} +8 -8
  154. package/dist/chunks/{command-44wsf4p6.js → plugin-fz79dkc7.js} +8 -8
  155. package/dist/chunks/plugin-g93t3hq1.js +26 -0
  156. package/dist/chunks/{command-xeqfr83e.js → plugin-gahzhxn8.js} +22 -22
  157. package/dist/chunks/{command-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{command-g53c9fq7.js → plugin-gfwqja43.js} +5 -5
  159. package/dist/chunks/{command-h2b79v29.js → plugin-h2b79v29.js} +2 -2
  160. package/dist/chunks/{command-tgdgvz5m.js → plugin-h4cyradc.js} +12 -12
  161. package/dist/chunks/{command-ncnm8wen.js → plugin-h5w29vws.js} +1 -1
  162. package/dist/chunks/{command-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{command-14tdwscn.js → plugin-h8ft0m90.js} +17 -17
  164. package/dist/chunks/{command-13dwg0c6.js → plugin-h92akkf0.js} +137 -137
  165. package/dist/chunks/{command-qgma0hvn.js → plugin-hahjxtze.js} +7 -7
  166. package/dist/chunks/{command-s4tt0pef.js → plugin-hcd320rf.js} +3 -3
  167. package/dist/chunks/{command-1d727dm9.js → plugin-hqe3s9vz.js} +303 -303
  168. package/dist/chunks/{command-51rych25.js → plugin-hz0mzm96.js} +64 -64
  169. package/dist/chunks/{command-qh49khd6.js → plugin-j2zjmsnh.js} +6 -6
  170. package/dist/chunks/{command-j56e64zr.js → plugin-j56e64zr.js} +1 -1
  171. package/dist/chunks/{command-n71h44cm.js → plugin-j730n9rv.js} +22 -22
  172. package/dist/chunks/{command-denjr0qg.js → plugin-jav2p7n3.js} +3 -3
  173. package/dist/chunks/{command-4ampwn7w.js → plugin-jgj04qff.js} +13 -13
  174. package/dist/chunks/{command-edajgpnh.js → plugin-js9gsb9m.js} +11 -11
  175. package/dist/chunks/{command-261teatt.js → plugin-k0r5d45h.js} +5 -5
  176. package/dist/chunks/{command-rt384jmm.js → plugin-k618byr3.js} +19 -19
  177. package/dist/chunks/{command-en9mxp96.js → plugin-k70p9jzb.js} +9 -9
  178. package/dist/chunks/{command-kb6vbnxp.js → plugin-kb6vbnxp.js} +1 -1
  179. package/dist/chunks/{command-9kr67f7m.js → plugin-kem2dng2.js} +33 -33
  180. package/dist/chunks/{command-43krc4bk.js → plugin-khhk3gee.js} +9 -9
  181. package/dist/chunks/{command-dssbfrwz.js → plugin-kjdm35cs.js} +5 -5
  182. package/dist/chunks/{command-k2srk8cp.js → plugin-kk5na4ms.js} +3 -3
  183. package/dist/chunks/{command-8htcd2rv.js → plugin-kqzb879x.js} +29 -29
  184. package/dist/chunks/{command-cg85h34c.js → plugin-ksr3qje0.js} +4 -4
  185. package/dist/chunks/{command-gq98prpa.js → plugin-ktyrkyt5.js} +13 -13
  186. package/dist/chunks/{command-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{command-tj3amwcq.js → plugin-m4wv7hmr.js} +17 -17
  188. package/dist/chunks/{command-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{command-kz5zsevx.js → plugin-mccvx0ph.js} +6 -6
  190. package/dist/chunks/{command-c2qavkps.js → plugin-mdvte9fh.js} +11 -11
  191. package/dist/chunks/{command-7pjv18ns.js → plugin-mk89bcdm.js} +7 -7
  192. package/dist/chunks/{command-w7620n11.js → plugin-mmq86yx8.js} +28 -28
  193. package/dist/chunks/{command-vx3jgdek.js → plugin-my4zabxr.js} +3 -3
  194. package/dist/chunks/{command-r8ys1pjh.js → plugin-n11bbmz5.js} +4 -4
  195. package/dist/chunks/{command-k1qrnqst.js → plugin-nj1j17x6.js} +8 -8
  196. package/dist/chunks/{command-0e74cksd.js → plugin-nnjbqqpn.js} +7 -7
  197. package/dist/chunks/{command-0xf97k36.js → plugin-nqa2gsff.js} +11 -11
  198. package/dist/chunks/{command-dpkg50ah.js → plugin-nxm207yx.js} +4 -4
  199. package/dist/chunks/{command-q36shhmj.js → plugin-nxnchq8r.js} +14 -14
  200. package/dist/chunks/{command-q1dr63v1.js → plugin-nzh5psd4.js} +9 -9
  201. package/dist/chunks/{command-m0kkpct9.js → plugin-pcfe7wwq.js} +5 -5
  202. package/dist/chunks/{command-a2ccr785.js → plugin-pfpr1sg6.js} +15 -15
  203. package/dist/chunks/{command-f18tyt2v.js → plugin-pfybfzrt.js} +21 -21
  204. package/dist/chunks/{command-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{command-pknna89w.js → plugin-pknna89w.js} +1 -1
  206. package/dist/chunks/{command-vps92m75.js → plugin-pnkbpv6t.js} +9 -9
  207. package/dist/chunks/{command-hwc5fhjs.js → plugin-q41hpyd6.js} +35 -35
  208. package/dist/chunks/{command-6238m7q1.js → plugin-q5fbr5p5.js} +5 -5
  209. package/dist/chunks/{command-bgtt2kw4.js → plugin-q9nhy42k.js} +33 -33
  210. package/dist/chunks/{command-f2hjv5fy.js → plugin-qce0q5sw.js} +5 -5
  211. package/dist/chunks/{command-f62qkzqr.js → plugin-qdbakdjh.js} +5 -5
  212. package/dist/chunks/{command-s6grk335.js → plugin-qj2xshqj.js} +36 -36
  213. package/dist/chunks/{command-hdy9dvcx.js → plugin-qj750ez4.js} +4 -4
  214. package/dist/chunks/{command-18htcbrq.js → plugin-qkn17avs.js} +9 -9
  215. package/dist/chunks/{command-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{command-ygdna4kr.js → plugin-qne3fa44.js} +5 -5
  217. package/dist/chunks/{command-kenkf5s7.js → plugin-qq2xhrb8.js} +55 -55
  218. package/dist/chunks/{command-zfs8ae4p.js → plugin-qr25pfvb.js} +4 -4
  219. package/dist/chunks/{command-qsdy395h.js → plugin-qsdy395h.js} +1 -1
  220. package/dist/chunks/{command-qxjc9qry.js → plugin-qxjc9qry.js} +3 -3
  221. package/dist/chunks/{command-scgrse2b.js → plugin-qygbw77c.js} +5 -5
  222. package/dist/chunks/{command-jb4r1kxp.js → plugin-r9f8m4wv.js} +16 -16
  223. package/dist/chunks/{command-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{command-evpm7vcg.js → plugin-rk6z8b2s.js} +33 -33
  225. package/dist/chunks/{command-2g0f3sn5.js → plugin-s607qcgc.js} +22 -22
  226. package/dist/chunks/{command-b1enpsaa.js → plugin-sqhwqkv8.js} +22 -22
  227. package/dist/chunks/{command-a2w70vx4.js → plugin-sr4k8heh.js} +14 -14
  228. package/dist/chunks/{command-cb72tr97.js → plugin-svf1j9mj.js} +27 -27
  229. package/dist/chunks/{command-aaz61dev.js → plugin-sw2ky0ak.js} +21 -21
  230. package/dist/chunks/{command-93ygb5af.js → plugin-sxzvkvgj.js} +6 -6
  231. package/dist/chunks/{command-ck8npcm5.js → plugin-t01ewf6t.js} +11 -11
  232. package/dist/chunks/{command-vmmvzryc.js → plugin-t03g005h.js} +11 -11
  233. package/dist/chunks/{command-s8d7rejh.js → plugin-t550f9t1.js} +4 -4
  234. package/dist/chunks/{command-t2pgk753.js → plugin-t5n9kkmz.js} +3 -3
  235. package/dist/chunks/{command-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{command-rkrkq154.js → plugin-tc91rda6.js} +9 -9
  237. package/dist/chunks/{command-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{command-tdstcens.js → plugin-tdstcens.js} +1 -1
  239. package/dist/chunks/{command-tsjzc549.js → plugin-tefzd8kx.js} +30 -30
  240. package/dist/chunks/{command-09e69a7b.js → plugin-ty9x2hpf.js} +18 -18
  241. package/dist/chunks/{command-t18afxp3.js → plugin-v9b8r7m3.js} +12 -12
  242. package/dist/chunks/{command-h9hcchbf.js → plugin-v9gryrmc.js} +82 -82
  243. package/dist/chunks/{command-veqvce7d.js → plugin-veqvce7d.js} +1 -1
  244. package/dist/chunks/{command-hndmfkfz.js → plugin-vvr3dw31.js} +10 -10
  245. package/dist/chunks/{command-j6zg015w.js → plugin-vx4r8km3.js} +35 -35
  246. package/dist/chunks/{command-nf8njrqz.js → plugin-vynkv33f.js} +13 -13
  247. package/dist/chunks/{command-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{command-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{command-bsprd9wx.js → plugin-w05x0cfw.js} +9 -9
  250. package/dist/chunks/{command-qp3v07n2.js → plugin-w1ad28wa.js} +5 -5
  251. package/dist/chunks/{command-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{command-7rbxqkgq.js → plugin-w7m571bh.js} +32 -32
  253. package/dist/chunks/{command-qfaf6res.js → plugin-w808e159.js} +20 -20
  254. package/dist/chunks/{command-wd87259q.js → plugin-wd87259q.js} +1 -1
  255. package/dist/chunks/{command-mac87736.js → plugin-wp1hpspq.js} +6 -6
  256. package/dist/chunks/{command-addxnjmp.js → plugin-x661k3y3.js} +4 -4
  257. package/dist/chunks/{command-930nf9me.js → plugin-x88jpnpr.js} +18 -18
  258. package/dist/chunks/{command-xfkkasph.js → plugin-xfkkasph.js} +1 -1
  259. package/dist/chunks/{command-xkntkrq7.js → plugin-xkntkrq7.js} +2 -2
  260. package/dist/chunks/{command-nz49q0p3.js → plugin-xkt82cda.js} +22 -22
  261. package/dist/chunks/{command-max5zner.js → plugin-xqsx1vwf.js} +34 -34
  262. package/dist/chunks/{command-k5vew2r0.js → plugin-xt0fd68y.js} +19 -19
  263. package/dist/chunks/{command-krz37b5z.js → plugin-xw9z83sh.js} +55 -55
  264. package/dist/chunks/{command-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{command-117ga8q0.js → plugin-y630p9sc.js} +25 -25
  266. package/dist/chunks/{command-r1g3ttfx.js → plugin-y7nnagj6.js} +32 -32
  267. package/dist/chunks/{command-fkscjsp5.js → plugin-ydkmjtsm.js} +11 -11
  268. package/dist/chunks/{command-jfvphnye.js → plugin-ydrgdh5s.js} +22 -22
  269. package/dist/chunks/{command-8fgecypx.js → plugin-yfh8cgan.js} +9 -9
  270. package/dist/chunks/{command-agq9zd11.js → plugin-ygkw9vpb.js} +15 -15
  271. package/dist/chunks/{command-r8xr0va3.js → plugin-yp2x3t23.js} +4 -4
  272. package/dist/chunks/{command-r9w3djhf.js → plugin-yr715y08.js} +2 -2
  273. package/dist/chunks/{command-qqdfvssg.js → plugin-yrh23yf8.js} +17 -17
  274. package/dist/chunks/{command-2avtt150.js → plugin-yrqbh8b0.js} +19 -19
  275. package/dist/chunks/{command-2y035twn.js → plugin-yt1qgzdm.js} +10 -10
  276. package/dist/chunks/{command-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{command-q8ejgrh7.js → plugin-z4ev155g.js} +11 -11
  278. package/dist/chunks/{command-rkrj05tv.js → plugin-z5rqpkns.js} +35 -35
  279. package/dist/chunks/{command-kt2w57dr.js → plugin-zdpsxmh8.js} +38 -38
  280. package/dist/chunks/{command-jkwx8shz.js → plugin-zg6rd06s.js} +11 -11
  281. package/dist/chunks/{command-1ytwep67.js → plugin-znfvst1a.js} +3 -3
  282. package/dist/chunks/{command-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{command-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{command-pz4bzxx2.js → plugin-zz5k72w4.js} +22 -22
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +79 -79
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +203 -203
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +113 -113
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +117 -117
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +97 -97
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +98 -98
  423. package/dist/form.js +74 -74
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +8 -8
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +83 -83
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +83 -83
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +92 -87
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +96 -96
  474. package/dist/models-dev.js +101 -101
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +90 -90
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +3 -3
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +1 -1
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +115 -115
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +113 -113
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +113 -113
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +70 -70
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +132 -132
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +341 -341
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +2 -2
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +91 -91
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +4 -4
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +82 -82
  554. package/dist/provider.js +95 -95
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +99 -99
  558. package/dist/reference/instructions.js +87 -87
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +129 -129
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +90 -90
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +93 -93
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +222 -222
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +209 -209
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +105 -105
  623. package/dist/skill.js +114 -114
  624. package/dist/snapshot.js +87 -87
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +1 -1
  635. package/dist/tool/plugin/patch.js +120 -120
  636. package/dist/tool/plugin/question.js +105 -105
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +111 -111
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +112 -112
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  648. package/dist/types/mcp/oauth.d.ts +1 -10
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +91 -91
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +80 -80
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +79 -79
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +98 -98
  681. package/package.json +8 -8
  682. package/dist/chunks/command-1x11rq2a.js +0 -18
  683. package/dist/chunks/command-bb7jf4d3.js +0 -26
  684. /package/dist/chunks/{command-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{command-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{command-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{command-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{command-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{command-24dcb14g.js → plugin-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{command-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{command-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{command-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{command-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{command-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{command-3asan66x.js → plugin-3asan66x.js} +0 -0
  696. /package/dist/chunks/{command-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{command-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{command-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{command-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{command-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{command-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{command-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{command-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{command-53557ph1.js → plugin-53557ph1.js} +0 -0
  705. /package/dist/chunks/{command-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{command-6prwharc.js → plugin-6prwharc.js} +0 -0
  707. /package/dist/chunks/{command-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{command-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{command-822emrt2.js → plugin-822emrt2.js} +0 -0
  710. /package/dist/chunks/{command-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{command-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{command-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{command-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{command-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{command-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{command-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{command-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{command-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{command-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{command-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{command-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{command-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{command-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{command-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{command-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{command-dajrwvna.js → plugin-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{command-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{command-df08tz66.js → plugin-df08tz66.js} +0 -0
  729. /package/dist/chunks/{command-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{command-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{command-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{command-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{command-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{command-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{command-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{command-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{command-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{command-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{command-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{command-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{command-g86h250q.js → plugin-g86h250q.js} +0 -0
  742. /package/dist/chunks/{command-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{command-gftt206x.js → plugin-gftt206x.js} +0 -0
  744. /package/dist/chunks/{command-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{command-hk9envan.js → plugin-hk9envan.js} +0 -0
  746. /package/dist/chunks/{command-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{command-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{command-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{command-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{command-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{command-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{command-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{command-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{command-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{command-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{command-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{command-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{command-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{command-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{command-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{command-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{command-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{command-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{command-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{command-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{command-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{command-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{command-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{command-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{command-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{command-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{command-x61499pn.js → plugin-x61499pn.js} +0 -0
  773. /package/dist/chunks/{command-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{command-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{command-y8f7s663.js → plugin-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{command-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{command-ym463w8f.js → plugin-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{command-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{command-z9919s4g.js → plugin-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service84
3
- } from "./command-k2srk8cp.js";
3
+ } from "./plugin-kk5na4ms.js";
4
4
  import {
5
- Service83
6
- } from "./command-mq1114ms.js";
5
+ Service82
6
+ } from "./plugin-39sy8z68.js";
7
7
  import {
8
- Service60
9
- } from "./command-93ygb5af.js";
8
+ Service42
9
+ } from "./plugin-sxzvkvgj.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./command-vzs5sf6e.js";
12
+ } from "./plugin-vzs5sf6e.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./command-gftt206x.js";
15
+ } from "./plugin-gftt206x.js";
16
16
  import {
17
- NotFoundError9,
17
+ NotFoundError6,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./command-bsprd9wx.js";
23
+ } from "./plugin-w05x0cfw.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./command-ec1grn59.js";
26
+ } from "./plugin-ec1grn59.js";
27
27
  import {
28
- Service67
29
- } from "./command-q36shhmj.js";
28
+ Service56
29
+ } from "./plugin-nxnchq8r.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service61
34
- } from "./command-3ac3enw2.js";
33
+ Service41
34
+ } from "./plugin-5egfvsg2.js";
35
35
  import {
36
- Service57
37
- } from "./command-dm5ssyfm.js";
36
+ Service38
37
+ } from "./plugin-c1vsqjm1.js";
38
38
  import {
39
39
  prepare2
40
- } from "./command-4yhhdjvm.js";
40
+ } from "./plugin-8cqakzrt.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./command-2avtt150.js";
45
+ } from "./plugin-yrqbh8b0.js";
46
46
  import {
47
47
  start2
48
- } from "./command-8fgecypx.js";
48
+ } from "./plugin-yfh8cgan.js";
49
49
  import {
50
50
  get4
51
- } from "./command-cb8p8a9z.js";
51
+ } from "./plugin-4hmze3tg.js";
52
52
  import {
53
53
  __export
54
- } from "./command-9rqn6x4v.js";
54
+ } from "./plugin-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service83;
66
+ const bus = yield* Service82;
67
67
  const database = yield* Service84;
68
- const store = yield* Service67;
69
- const instances = yield* Service60;
70
- const execution = yield* Service57;
71
- const admission = yield* Service61;
68
+ const store = yield* Service56;
69
+ const instances = yield* Service42;
70
+ const execution = yield* Service38;
71
+ const admission = yield* Service41;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError9({ sessionID });
77
+ return yield* new NotFoundError6({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service60, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service42, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service60, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service42, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service60, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service42, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service60, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service84, database), Effect.provideService(Service82, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service60, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service82, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service46
3
- } from "./command-y6vx5mph.js";
2
+ Service66
3
+ } from "./plugin-cepe0qf7.js";
4
4
  import {
5
- Service72
6
- } from "./command-vps92m75.js";
5
+ Service51
6
+ } from "./plugin-pnkbpv6t.js";
7
7
  import {
8
8
  observe2
9
- } from "./command-qsdy395h.js";
9
+ } from "./plugin-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./plugin-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin36
18
+ Plugin: () => Plugin28
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin36 = define({
22
+ var Plugin28 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service46;
26
- const image = yield* Service72;
25
+ const config = yield* Service66;
26
+ const image = yield* Service51;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin36 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin36, exports_image };
46
+ export { Plugin28, exports_image };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./command-mq1114ms.js";
2
+ Service82,
3
+ node85
4
+ } from "./plugin-39sy8z68.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./command-rdw6cm16.js";
8
+ } from "./plugin-rdw6cm16.js";
9
9
  import {
10
- Service78,
10
+ Service79,
11
11
  node82
12
- } from "./command-edajgpnh.js";
12
+ } from "./plugin-js9gsb9m.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID12,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
19
  Service75,
20
- node79,
20
+ node78,
21
21
  Event17
22
- } from "./command-nz49q0p3.js";
22
+ } from "./plugin-xkt82cda.js";
23
23
  import {
24
24
  __export
25
- } from "./command-9rqn6x4v.js";
25
+ } from "./plugin-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -32,8 +32,8 @@ __export(exports_model2, {
32
32
  Cost: () => Cost2,
33
33
  Event: () => Event16,
34
34
  Family: () => Family2,
35
- ID: () => ID12,
36
- Info: () => Info21,
35
+ ID: () => ID11,
36
+ Info: () => Info20,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
@@ -41,7 +41,7 @@ __export(exports_model2, {
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node78,
44
+ node: () => node77,
45
45
  parse: () => parse5
46
46
  });
47
47
  import { Model } from "@opencode/schema/model";
@@ -49,7 +49,7 @@ import { Context, Effect, Layer, Stream } from "effect";
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import { freeze } from "immer";
51
51
  import { Event as Event16 } from "@opencode/schema/model";
52
- var ID12 = Model.ID;
52
+ var ID11 = Model.ID;
53
53
  var VariantID2 = Model.VariantID;
54
54
  var Family2 = Model.Family;
55
55
  var ReasoningField2 = Model.ReasoningField;
@@ -65,14 +65,14 @@ var mergeCapabilities2 = (config, base) => {
65
65
  };
66
66
  var Cost2 = Model.Cost;
67
67
  var Ref2 = Model.Ref;
68
- var Info21 = Model.Info;
68
+ var Info20 = Model.Info;
69
69
 
70
70
  class Service74 extends Context.Service()("@opencode/Model") {
71
71
  }
72
72
  var layer = Layer.effect(Service74, Effect.gen(function* () {
73
73
  const providers = yield* Service75;
74
- const bus = yield* Service83;
75
- const location = yield* Service78;
74
+ const bus = yield* Service82;
75
+ const location = yield* Service79;
76
76
  let input;
77
77
  const state = create3({
78
78
  name: "model",
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
117
117
  const models = writable(providerID);
118
118
  if (!models)
119
119
  return;
120
- const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
120
+ const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
121
121
  update(model);
122
122
  model.id = modelID;
123
123
  model.providerID = providerID;
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
226
226
  })
227
227
  });
228
228
  }));
229
- var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node87, node82] });
229
+ var node77 = makeLocationNode({ service: Service74, layer, deps: [node78, node85, node82] });
230
230
  function compatibility2(input) {
231
231
  if (typeof input === "string")
232
232
  return { reasoningField: input };
@@ -237,9 +237,9 @@ function compatibility2(input) {
237
237
  function parse5(input) {
238
238
  const index = input.indexOf("/");
239
239
  return {
240
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
241
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
240
+ providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
241
+ modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
242
242
  };
243
243
  }
244
244
 
245
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service74, node78, compatibility2, parse5, exports_model2, Event16 };
245
+ export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service74, node77, compatibility2, parse5, exports_model2, Event16 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service60
3
- } from "./command-93ygb5af.js";
2
+ Service42
3
+ } from "./plugin-sxzvkvgj.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./command-1x11rq2a.js";
6
+ } from "./plugin-by5v678g.js";
7
7
  import {
8
- Service32
9
- } from "./command-ys3m2q03.js";
8
+ Service62
9
+ } from "./plugin-e6tayz2r.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./command-vzs5sf6e.js";
12
+ } from "./plugin-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./command-9rqn6x4v.js";
15
+ } from "./plugin-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service60;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service32), instances.provide(input.session));
25
+ const instances = yield* Service42;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service62), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./command-k2srk8cp.js";
4
+ } from "./plugin-kk5na4ms.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./command-71az546q.js";
7
+ } from "./plugin-71az546q.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./plugin-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID9,
17
- Info: () => Info17,
16
+ ID: () => ID8,
17
+ Info: () => Info9,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service66,
21
- node: () => node69
20
+ Service: () => Service55,
21
+ node: () => node57
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID9 = PermissionSaved.ID;
29
- var Info17 = PermissionSaved.Info;
28
+ var ID8 = PermissionSaved.ID;
29
+ var Info9 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service66 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service55 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service66, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID9.create(),
60
+ id: ID8.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service66.of({ list, add, remove });
69
+ return Service55.of({ list, add, remove });
70
70
  }));
71
- var node69 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
71
+ var node57 = makeGlobalNode({ service: Service55, layer, deps: [node88] });
72
72
 
73
- export { ID9, Info17, ListInput4, AddInput2, Service66, node69, exports_saved };
73
+ export { ID8, Info9, ListInput4, AddInput2, Service55, node57, exports_saved };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make18
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make18 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make18 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make18, exports_run_coordinator };
92
+ export { make16, exports_run_coordinator };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./command-dpkg50ah.js";
3
+ } from "./plugin-nxm207yx.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./plugin-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-5w6ne2rj.js";
3
+ } from "./plugin-afc78eap.js";
4
4
  import {
5
- Service83
6
- } from "./command-mq1114ms.js";
5
+ Service82
6
+ } from "./plugin-39sy8z68.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./command-wq97ata3.js";
9
+ Event19
10
+ } from "./plugin-3r80836k.js";
11
11
  import {
12
- ID14,
12
+ ID13,
13
13
  MethodID2
14
- } from "./command-pz4bzxx2.js";
14
+ } from "./plugin-zz5k72w4.js";
15
15
  import {
16
- ID13
17
- } from "./command-nz49q0p3.js";
16
+ ID12
17
+ } from "./plugin-xkt82cda.js";
18
18
  import {
19
- ID12,
19
+ ID11,
20
20
  Family2
21
- } from "./command-jfvphnye.js";
21
+ } from "./plugin-ydrgdh5s.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./command-pjvnvgmy.js";
24
+ } from "./plugin-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
30
- var providerID = ID13.make("digitalocean");
31
- var integrationID = ID14.make("digitalocean");
30
+ var providerID = ID12.make("digitalocean");
31
+ var integrationID = ID13.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service83;
119
+ const bus = yield* Service82;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID12.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID11.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service84
3
- } from "./command-k2srk8cp.js";
3
+ } from "./plugin-kk5na4ms.js";
4
4
  import {
5
- Service83
6
- } from "./command-mq1114ms.js";
5
+ Service82
6
+ } from "./plugin-39sy8z68.js";
7
7
  import {
8
- Service60
9
- } from "./command-93ygb5af.js";
8
+ Service42
9
+ } from "./plugin-sxzvkvgj.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./command-z5v4ffb3.js";
12
+ } from "./plugin-z5v4ffb3.js";
13
13
  import {
14
14
  ID5,
15
- Service38
16
- } from "./command-0sqmrpn2.js";
15
+ Service37
16
+ } from "./plugin-51nd9ekg.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./command-ec1grn59.js";
19
+ } from "./plugin-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./command-gftt206x.js";
22
+ } from "./plugin-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./command-bsprd9wx.js";
25
+ } from "./plugin-w05x0cfw.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./command-9e5bzkjp.js";
28
+ } from "./plugin-9e5bzkjp.js";
29
29
  import {
30
30
  __export
31
- } from "./command-9rqn6x4v.js";
31
+ } from "./plugin-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -41,11 +41,11 @@ __export(exports_revert, {
41
41
  import { and, asc, eq, gt } from "drizzle-orm";
42
42
  import { Effect, Schema } from "effect";
43
43
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
44
- const instances = yield* Service60;
44
+ const instances = yield* Service42;
45
45
  const database = yield* Service84;
46
- const bus = yield* Service83;
46
+ const bus = yield* Service82;
47
47
  return yield* Effect.gen(function* () {
48
- const snapshot = yield* Service38;
48
+ const snapshot = yield* Service37;
49
49
  const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
50
50
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
51
51
  const restore = new Map;
@@ -73,10 +73,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  }).pipe(instances.provide(input.session));
74
74
  });
75
75
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
76
- const instances = yield* Service60;
77
- const bus = yield* Service83;
76
+ const instances = yield* Service42;
77
+ const bus = yield* Service82;
78
78
  yield* Effect.gen(function* () {
79
- const snapshot = yield* Service38;
79
+ const snapshot = yield* Service37;
80
80
  if (!session.revert)
81
81
  return;
82
82
  const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service46
3
- } from "./command-y6vx5mph.js";
2
+ Service66
3
+ } from "./plugin-cepe0qf7.js";
4
4
  import {
5
- Service30
6
- } from "./command-39yjv8hn.js";
5
+ Service29
6
+ } from "./plugin-4r3ynae4.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./plugin-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin33,
15
+ Plugin: () => Plugin19,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin33 = define({
20
+ var Plugin19 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service46;
28
- const mcp = yield* Service30;
27
+ const config = yield* Service66;
28
+ const mcp = yield* Service29;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin33, register2, exports_mcp2 };
49
+ export { Plugin19, register2, exports_mcp2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./command-ym463w8f.js";
3
+ } from "./plugin-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({