@opencode/core 0.0.0-dev-19627 → 0.0.0-dev-19629

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{file-mutation-06dxphr1.js → kv-06dxphr1.js} +1 -1
  8. package/dist/chunks/{file-mutation-t1eg3y3w.js → kv-0fqqwfme.js} +13 -13
  9. package/dist/chunks/{file-mutation-91sxxkcr.js → kv-0jdwemc3.js} +5 -5
  10. package/dist/chunks/{file-mutation-qz3sdwq7.js → kv-0kxjg0q6.js} +4 -4
  11. package/dist/chunks/{file-mutation-7ycsd0tm.js → kv-0mesg93d.js} +16 -16
  12. package/dist/chunks/{file-mutation-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-mutation-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{file-mutation-4sy6x2w1.js → kv-0v0g3rme.js} +11 -11
  15. package/dist/chunks/{file-mutation-3aaqwtv7.js → kv-0xbae0ch.js} +44 -44
  16. package/dist/chunks/{file-mutation-q5rhn9x0.js → kv-13q063b0.js} +13 -13
  17. package/dist/chunks/{file-mutation-mvfsc1pv.js → kv-1bbkgx8g.js} +3 -3
  18. package/dist/chunks/{file-mutation-kyvf95r7.js → kv-1bqb4p60.js} +26 -26
  19. package/dist/chunks/{file-mutation-jfya27vc.js → kv-1cy0dveg.js} +11 -11
  20. package/dist/chunks/{file-mutation-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{file-mutation-rmkqwdpg.js → kv-1dd4vm50.js} +94 -94
  22. package/dist/chunks/{file-mutation-0nes3kdx.js → kv-1gjp40nv.js} +26 -26
  23. package/dist/chunks/{file-mutation-cr1q0w15.js → kv-1hepnvy6.js} +18 -18
  24. package/dist/chunks/{file-mutation-x2fjf6jt.js → kv-1j4wj2wj.js} +1 -1
  25. package/dist/chunks/{file-mutation-gcavn3wx.js → kv-1nwxscpy.js} +5 -5
  26. package/dist/chunks/{file-mutation-56gdpj1q.js → kv-1ygqh575.js} +9 -9
  27. package/dist/chunks/{file-mutation-21r38tys.js → kv-21r38tys.js} +1 -1
  28. package/dist/chunks/{file-mutation-xx8we5ps.js → kv-23wc2maw.js} +4 -4
  29. package/dist/chunks/{file-mutation-2402vzrj.js → kv-2402vzrj.js} +1 -1
  30. package/dist/chunks/{file-mutation-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{file-mutation-5p8vcd02.js → kv-2czm2xf1.js} +30 -30
  32. package/dist/chunks/{file-mutation-gh317mre.js → kv-2k6xrwva.js} +22 -22
  33. package/dist/chunks/{file-mutation-7dqw4kz8.js → kv-2k8khapm.js} +5 -5
  34. package/dist/chunks/{file-mutation-dmgsj5zc.js → kv-2qzhajv7.js} +27 -27
  35. package/dist/chunks/{file-mutation-5fxvnth9.js → kv-2wtgfcw5.js} +8 -8
  36. package/dist/chunks/{file-mutation-g1sxm558.js → kv-30846h32.js} +4 -4
  37. package/dist/chunks/{file-mutation-d4fjsvxd.js → kv-30jdby9k.js} +34 -34
  38. package/dist/chunks/{file-mutation-8rsrtv6x.js → kv-32qkfht5.js} +20 -20
  39. package/dist/chunks/{file-mutation-1306karf.js → kv-34vv8vke.js} +40 -40
  40. package/dist/chunks/{file-mutation-k6v14n43.js → kv-372jp7zc.js} +17 -17
  41. package/dist/chunks/{file-mutation-dzrq5311.js → kv-3em56y7w.js} +9 -9
  42. package/dist/chunks/{file-mutation-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  43. package/dist/chunks/kv-3fehqr8e.js +474 -0
  44. package/dist/chunks/{file-mutation-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{file-mutation-tgft0wfk.js → kv-3kth0658.js} +28 -28
  46. package/dist/chunks/{file-mutation-gcwb3twc.js → kv-3r7dg8e2.js} +33 -33
  47. package/dist/chunks/{file-mutation-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{file-mutation-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{file-mutation-f9yn9122.js → kv-4ddcvy6e.js} +16 -16
  50. package/dist/chunks/{file-mutation-4dgbcxzg.js → kv-4dgbcxzg.js} +1 -1
  51. package/dist/chunks/{file-mutation-gw4zmj2g.js → kv-4e0pntr6.js} +27 -27
  52. package/dist/chunks/{file-mutation-6zwemvqm.js → kv-4hrje9fh.js} +26 -26
  53. package/dist/chunks/{file-mutation-wa2k838w.js → kv-4m9ebp8q.js} +10 -10
  54. package/dist/chunks/{file-mutation-18db4y5c.js → kv-4nd1vhcc.js} +23 -23
  55. package/dist/chunks/{file-mutation-6k7rtajw.js → kv-527k0vp5.js} +30 -30
  56. package/dist/chunks/{file-mutation-pvp0xbtq.js → kv-542nn9ke.js} +5 -5
  57. package/dist/chunks/{file-mutation-5c4hm403.js → kv-5c4hm403.js} +3 -3
  58. package/dist/chunks/{file-mutation-5daktx2q.js → kv-5daktx2q.js} +1 -1
  59. package/dist/chunks/{file-mutation-k9vs72wj.js → kv-5dcwpk27.js} +11 -11
  60. package/dist/chunks/{file-mutation-0j4wr494.js → kv-5hjmcfpt.js} +15 -15
  61. package/dist/chunks/{file-mutation-eqfn3g5k.js → kv-5mt5zsn7.js} +21 -21
  62. package/dist/chunks/{file-mutation-c175xrn1.js → kv-5nqxz0mf.js} +32 -32
  63. package/dist/chunks/{file-mutation-7w3s9kd0.js → kv-5qkxfyep.js} +4 -4
  64. package/dist/chunks/{file-mutation-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{file-mutation-hfvv3mv3.js → kv-5tgy5hp4.js} +29 -29
  66. package/dist/chunks/{file-mutation-0j569f3z.js → kv-5v79k2nc.js} +3 -3
  67. package/dist/chunks/{file-mutation-cmwkp3r5.js → kv-5yzzbxa7.js} +8 -8
  68. package/dist/chunks/{file-mutation-rr1pnw44.js → kv-63zbbs1j.js} +8 -8
  69. package/dist/chunks/{file-mutation-669tq793.js → kv-669tq793.js} +1 -1
  70. package/dist/chunks/{file-mutation-h71w788e.js → kv-6hjx5zpb.js} +9 -9
  71. package/dist/chunks/{file-mutation-x3ykbdq0.js → kv-6m3jg8gc.js} +24 -24
  72. package/dist/chunks/{file-mutation-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{file-mutation-azma9pmk.js → kv-6sh9twb3.js} +18 -18
  74. package/dist/chunks/{file-mutation-xqhhrdfp.js → kv-6tpe83gt.js} +22 -22
  75. package/dist/chunks/{file-mutation-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{file-mutation-0tncbqge.js → kv-7ncyt31b.js} +34 -34
  77. package/dist/chunks/{file-mutation-pcwvymat.js → kv-7qqyjhvb.js} +15 -15
  78. package/dist/chunks/{file-mutation-x1r77kwh.js → kv-7w0zh5tk.js} +3 -3
  79. package/dist/chunks/{file-mutation-sr25wdwa.js → kv-7zc61v3j.js} +19 -19
  80. package/dist/chunks/{file-mutation-3nmkgzqt.js → kv-81p48be3.js} +3 -3
  81. package/dist/chunks/{file-mutation-qebawg89.js → kv-81swgkk7.js} +5 -5
  82. package/dist/chunks/{file-mutation-3fz3b278.js → kv-8b82hca9.js} +26 -26
  83. package/dist/chunks/{file-mutation-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{file-mutation-1c76g24z.js → kv-8hh8nk77.js} +6 -6
  85. package/dist/chunks/{file-mutation-10s3487r.js → kv-8kqwd5pg.js} +17 -17
  86. package/dist/chunks/{file-mutation-sqeh6kv1.js → kv-8ngqmhjn.js} +20 -20
  87. package/dist/chunks/{file-mutation-nw2nz702.js → kv-8s8mxddj.js} +4 -4
  88. package/dist/chunks/{file-mutation-t5vtrxv1.js → kv-8syrtys8.js} +20 -20
  89. package/dist/chunks/{file-mutation-7hg3t1ht.js → kv-8tt0ytjn.js} +21 -21
  90. package/dist/chunks/{file-mutation-es3fm114.js → kv-8yvyc9sz.js} +1 -1
  91. package/dist/chunks/{file-mutation-s8yyarnz.js → kv-9030epd1.js} +13 -13
  92. package/dist/chunks/{file-mutation-0c0n109p.js → kv-90ymhmgy.js} +31 -31
  93. package/dist/chunks/{file-mutation-sxzvkvgj.js → kv-93ygb5af.js} +6 -6
  94. package/dist/chunks/{file-mutation-5bbsmdtr.js → kv-95g476w1.js} +4 -4
  95. package/dist/chunks/{file-mutation-7k05wx0c.js → kv-95q9m7a4.js} +13 -13
  96. package/dist/chunks/{file-mutation-yphy50z6.js → kv-9esays49.js} +23 -23
  97. package/dist/chunks/{file-mutation-4afm2zz7.js → kv-9f8ak43h.js} +43 -43
  98. package/dist/chunks/{file-mutation-9x4ccdjv.js → kv-9gm7t8wy.js} +177 -177
  99. package/dist/chunks/{file-mutation-9nygvg6d.js → kv-9mwzt4fq.js} +11 -11
  100. package/dist/chunks/kv-9zdhvgqs.js +18 -0
  101. package/dist/chunks/{file-mutation-jwbqhvyy.js → kv-a1a50ys5.js} +5 -5
  102. package/dist/chunks/{file-mutation-s5ech5g2.js → kv-a5wfw340.js} +30 -30
  103. package/dist/chunks/{file-mutation-qj8eh1ht.js → kv-a8bn8zg0.js} +4 -4
  104. package/dist/chunks/{file-mutation-aaet6srn.js → kv-aaet6srn.js} +2 -2
  105. package/dist/chunks/{file-mutation-qxmaq0sm.js → kv-ahd542yp.js} +8 -8
  106. package/dist/chunks/{file-mutation-kcm959y1.js → kv-ahxxq61c.js} +28 -28
  107. package/dist/chunks/{file-mutation-yf98xpe6.js → kv-aphhdr9a.js} +9 -9
  108. package/dist/chunks/{file-mutation-13c44461.js → kv-at2jt8b6.js} +24 -24
  109. package/dist/chunks/{file-mutation-nng2ktcm.js → kv-b09hzw3k.js} +2 -2
  110. package/dist/chunks/{file-mutation-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{file-mutation-24b9aadw.js → kv-bdh9mrz4.js} +12 -12
  112. package/dist/chunks/{file-mutation-x121vean.js → kv-bqns2xeb.js} +6 -6
  113. package/dist/chunks/{file-mutation-tzz76ghp.js → kv-bwx7yfz9.js} +3 -3
  114. package/dist/chunks/{file-mutation-bz85s9hh.js → kv-bz85s9hh.js} +1 -1
  115. package/dist/chunks/{file-mutation-ajwqadgf.js → kv-c2zwhayg.js} +15 -15
  116. package/dist/chunks/{file-mutation-ac5xk54v.js → kv-c3zqkckj.js} +23 -23
  117. package/dist/chunks/{file-mutation-5sj81wm5.js → kv-c78bbtc9.js} +5 -5
  118. package/dist/chunks/{file-mutation-yqf3qraq.js → kv-ca4srnk3.js} +8 -8
  119. package/dist/chunks/{file-mutation-ns5krr68.js → kv-cw8kd3he.js} +5 -5
  120. package/dist/chunks/{file-mutation-2h5ctm2z.js → kv-cz7ybxbg.js} +86 -86
  121. package/dist/chunks/{file-mutation-ddg0keqc.js → kv-dbjhyg4p.js} +7 -7
  122. package/dist/chunks/{file-mutation-v3fdhb9p.js → kv-dd0kn80g.js} +33 -33
  123. package/dist/chunks/{file-mutation-nap3yrea.js → kv-ddaa640a.js} +47 -47
  124. package/dist/chunks/{file-mutation-30n84348.js → kv-df5t2j38.js} +11 -11
  125. package/dist/chunks/{file-mutation-dj2t23y0.js → kv-dj2t23y0.js} +2 -2
  126. package/dist/chunks/{file-mutation-wdzhm1dy.js → kv-dk8y6tpb.js} +20 -20
  127. package/dist/chunks/{file-mutation-z76rvear.js → kv-dkbfs573.js} +4 -4
  128. package/dist/chunks/{file-mutation-wc8c3q07.js → kv-dr13ydbw.js} +11 -11
  129. package/dist/chunks/{file-mutation-ssz2ek6x.js → kv-dwqd4fec.js} +11 -11
  130. package/dist/chunks/{file-mutation-tbb58408.js → kv-dysy2d9a.js} +47 -47
  131. package/dist/chunks/{file-mutation-pf2ava87.js → kv-e0xcq4mb.js} +17 -17
  132. package/dist/chunks/{file-mutation-e5nv3ght.js → kv-e5nv3ght.js} +2 -2
  133. package/dist/chunks/{file-mutation-k9avtbwf.js → kv-e5xpd6yj.js} +6 -6
  134. package/dist/chunks/{file-mutation-hjt4xg1x.js → kv-e82z9tr0.js} +7 -7
  135. package/dist/chunks/{file-mutation-v0x321vx.js → kv-e9cyw18g.js} +38 -38
  136. package/dist/chunks/{file-mutation-xe94yqgp.js → kv-ec3p188n.js} +4 -4
  137. package/dist/chunks/{file-mutation-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{file-mutation-t3swkhbg.js → kv-eq23s0y6.js} +5 -5
  139. package/dist/chunks/{file-mutation-gmp12gr6.js → kv-eqsf0vrq.js} +14 -14
  140. package/dist/chunks/{file-mutation-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{file-mutation-gj014zr3.js → kv-f65qawn9.js} +18 -18
  142. package/dist/chunks/{file-mutation-06x8he3q.js → kv-f73rjn58.js} +4 -4
  143. package/dist/chunks/{file-mutation-ryrj46hv.js → kv-f8xn5mp1.js} +15 -15
  144. package/dist/chunks/{file-mutation-tv17mb0q.js → kv-feadmf2k.js} +7 -7
  145. package/dist/chunks/{file-mutation-pcvnxmb4.js → kv-fj47jftw.js} +17 -17
  146. package/dist/chunks/{file-mutation-bvdx5xp3.js → kv-fm2ehgba.js} +16 -16
  147. package/dist/chunks/{file-mutation-the10gxd.js → kv-fmvxt08z.js} +18 -18
  148. package/dist/chunks/{file-mutation-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{file-mutation-eajyy5ey.js → kv-fy685n2s.js} +41 -41
  150. package/dist/chunks/{file-mutation-4g2m7ccv.js → kv-g2p206kf.js} +25 -25
  151. package/dist/chunks/{file-mutation-kjfdeayr.js → kv-g2y161wv.js} +8 -8
  152. package/dist/chunks/{file-mutation-a46v4e4v.js → kv-g8d3gcyj.js} +7 -7
  153. package/dist/chunks/{file-mutation-2n0epbhs.js → kv-g9sd7rfb.js} +3 -3
  154. package/dist/chunks/{file-mutation-5kh97ynp.js → kv-gcddavgz.js} +44 -44
  155. package/dist/chunks/{file-mutation-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{file-mutation-czzymjv3.js → kv-gf2azzj7.js} +43 -43
  157. package/dist/chunks/{file-mutation-698497kr.js → kv-ggyk9197.js} +18 -18
  158. package/dist/chunks/{file-mutation-r8s4q6ph.js → kv-gk3xegv2.js} +9 -9
  159. package/dist/chunks/{file-mutation-r1jcp9he.js → kv-gqvs4pn0.js} +37 -37
  160. package/dist/chunks/{file-mutation-j7jqt5tj.js → kv-gs9jkpg2.js} +8 -8
  161. package/dist/chunks/{file-mutation-yyb7tjpc.js → kv-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{file-mutation-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
  163. package/dist/chunks/{file-mutation-dp45y3n1.js → kv-h29ec78n.js} +20 -20
  164. package/dist/chunks/{file-mutation-xrv8p737.js → kv-h5y9zjhm.js} +31 -31
  165. package/dist/chunks/{file-mutation-9y2fz4rr.js → kv-h6nf8f2s.js} +13 -13
  166. package/dist/chunks/{file-mutation-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{file-mutation-hdnk95c8.js → kv-hdnk95c8.js} +2 -2
  168. package/dist/chunks/{file-mutation-synq1jy2.js → kv-hqaqsecz.js} +13 -13
  169. package/dist/chunks/{file-mutation-11n3wfat.js → kv-hwdqbtk8.js} +20 -20
  170. package/dist/chunks/kv-hxa7m5za.js +4 -0
  171. package/dist/chunks/{file-mutation-pes8w8r9.js → kv-hyn19ewr.js} +28 -28
  172. package/dist/chunks/{file-mutation-j56e64zr.js → kv-j56e64zr.js} +1 -1
  173. package/dist/chunks/{file-mutation-6h3wybc7.js → kv-jp5d52r3.js} +6 -6
  174. package/dist/chunks/{file-mutation-a3k5zcqz.js → kv-k00jvwze.js} +30 -30
  175. package/dist/chunks/{file-mutation-48r4agm7.js → kv-k7fvcj83.js} +21 -21
  176. package/dist/chunks/{file-mutation-r8bq8m7e.js → kv-k9x9pwcp.js} +3 -3
  177. package/dist/chunks/{file-mutation-tds7k197.js → kv-knnr3ffb.js} +2 -2
  178. package/dist/chunks/{file-mutation-n8j5ecm5.js → kv-kwpsrvng.js} +4 -4
  179. package/dist/chunks/{file-mutation-06xhg51a.js → kv-kywwpdnb.js} +30 -30
  180. package/dist/chunks/{file-mutation-7rtzrs6z.js → kv-m0f726mn.js} +23 -23
  181. package/dist/chunks/{file-mutation-m0jqrx5p.js → kv-m0jqrx5p.js} +2 -2
  182. package/dist/chunks/{file-mutation-z2ab2b6j.js → kv-m7jrkp26.js} +11 -11
  183. package/dist/chunks/{file-mutation-03nfxjzw.js → kv-m8m3zpqy.js} +30 -30
  184. package/dist/chunks/{file-mutation-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{file-mutation-c5rw5aek.js → kv-matxb2xk.js} +5 -5
  186. package/dist/chunks/{file-mutation-5bdbc12f.js → kv-mnbh32fx.js} +6 -6
  187. package/dist/chunks/{file-mutation-xyny64hx.js → kv-n6vgg671.js} +20 -20
  188. package/dist/chunks/{file-mutation-2fhwbkrm.js → kv-nbrmnvm6.js} +28 -28
  189. package/dist/chunks/{file-mutation-cpy6gm2a.js → kv-nqnxh7mc.js} +4 -4
  190. package/dist/chunks/{file-mutation-xb3f970q.js → kv-p0mccv6z.js} +10 -10
  191. package/dist/chunks/{file-mutation-g87vc5p1.js → kv-pdmffqas.js} +16 -16
  192. package/dist/chunks/{file-mutation-dcq050h0.js → kv-pe51b52v.js} +32 -32
  193. package/dist/chunks/{file-mutation-ynjpqawr.js → kv-pgwmtx9h.js} +11 -11
  194. package/dist/chunks/{file-mutation-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/kv-pjwrvnpv.js +247 -0
  196. package/dist/chunks/{file-mutation-pknna89w.js → kv-pknna89w.js} +1 -1
  197. package/dist/chunks/{file-mutation-ve4pfa0n.js → kv-pmr4s4kc.js} +4 -4
  198. package/dist/chunks/{file-mutation-cyx09s2a.js → kv-pprr9hht.js} +12 -12
  199. package/dist/chunks/{file-mutation-h23j7wn7.js → kv-prshwy6f.js} +10 -10
  200. package/dist/chunks/{file-mutation-6804x6mf.js → kv-q07v9h9y.js} +22 -22
  201. package/dist/chunks/{file-mutation-j4p8w3kg.js → kv-qffs32b2.js} +37 -37
  202. package/dist/chunks/{file-mutation-qsdy395h.js → kv-qsdy395h.js} +1 -1
  203. package/dist/chunks/{file-mutation-qkxympve.js → kv-qxn9n16s.js} +49 -49
  204. package/dist/chunks/{file-mutation-hdh38a9b.js → kv-r00cs8xe.js} +9 -9
  205. package/dist/chunks/{file-mutation-a04y0etw.js → kv-r1d8brym.js} +21 -21
  206. package/dist/chunks/{file-mutation-c765mh8b.js → kv-r2m716tb.js} +5 -5
  207. package/dist/chunks/{file-mutation-1acjjqhc.js → kv-r8xr0va3.js} +4 -4
  208. package/dist/chunks/{file-mutation-r9mregkx.js → kv-r9mregkx.js} +2 -2
  209. package/dist/chunks/{file-mutation-2py7vkgw.js → kv-rd8yq3pc.js} +6 -6
  210. package/dist/chunks/{file-mutation-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{file-mutation-s8d7rejh.js → kv-rhjbct0v.js} +4 -4
  212. package/dist/chunks/{file-mutation-3qgtx68d.js → kv-rhzsrfv2.js} +17 -17
  213. package/dist/chunks/{file-mutation-2tvcbkwg.js → kv-rmjmtd11.js} +10 -10
  214. package/dist/chunks/{file-mutation-gr1f03ws.js → kv-rpjgfq5s.js} +9 -9
  215. package/dist/chunks/{file-mutation-dwvb776c.js → kv-rwp9jh2s.js} +20 -20
  216. package/dist/chunks/{file-mutation-ayex3wth.js → kv-s2vfe9rb.js} +25 -25
  217. package/dist/chunks/{file-mutation-qr8mshgh.js → kv-s30dnwqx.js} +30 -30
  218. package/dist/chunks/{file-mutation-rdwnzddt.js → kv-s5smtsjm.js} +40 -40
  219. package/dist/chunks/{file-mutation-qb9x24v0.js → kv-shpbz5ss.js} +18 -18
  220. package/dist/chunks/{file-mutation-xqk8sbne.js → kv-sjf3tctt.js} +12 -12
  221. package/dist/chunks/{file-mutation-8fk85gr8.js → kv-t2e73jsf.js} +4 -4
  222. package/dist/chunks/{file-mutation-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  223. package/dist/chunks/{file-mutation-eg6djbbr.js → kv-tc99cfes.js} +30 -30
  224. package/dist/chunks/{file-mutation-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
  225. package/dist/chunks/{file-mutation-tdstcens.js → kv-tdstcens.js} +1 -1
  226. package/dist/chunks/{file-mutation-aychzs8s.js → kv-tshc7g5p.js} +14 -14
  227. package/dist/chunks/{file-mutation-qyqjfx9x.js → kv-tsmrpsr3.js} +18 -18
  228. package/dist/chunks/{file-mutation-tvtrv512.js → kv-tvtrv512.js} +1 -1
  229. package/dist/chunks/{file-mutation-rf848q2s.js → kv-v712pcm8.js} +8 -8
  230. package/dist/chunks/{file-mutation-k86shhx4.js → kv-v8q1sw48.js} +13 -13
  231. package/dist/chunks/{file-mutation-jxwjknq3.js → kv-v9wse47b.js} +5 -5
  232. package/dist/chunks/{file-mutation-veqvce7d.js → kv-veqvce7d.js} +1 -1
  233. package/dist/chunks/{file-mutation-ekezzs5q.js → kv-vngnfmgt.js} +5 -5
  234. package/dist/chunks/{file-mutation-g9nckgd1.js → kv-vxc69cc3.js} +29 -29
  235. package/dist/chunks/{file-mutation-1x1ag7qp.js → kv-vy06sfs5.js} +15 -15
  236. package/dist/chunks/{file-mutation-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
  237. package/dist/chunks/{file-mutation-rz5kv9fq.js → kv-w2tpxd08.js} +17 -17
  238. package/dist/chunks/{file-mutation-2v6a2rnj.js → kv-w35smk9y.js} +12 -12
  239. package/dist/chunks/{file-mutation-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  240. package/dist/chunks/{file-mutation-x2c9waxa.js → kv-w7s1kwgb.js} +8 -8
  241. package/dist/chunks/{file-mutation-my26e0c6.js → kv-w8ts9jr1.js} +28 -28
  242. package/dist/chunks/{file-mutation-635mjk8g.js → kv-w9y6ap5g.js} +28 -28
  243. package/dist/chunks/{file-mutation-89smrnyf.js → kv-wcge806m.js} +4 -4
  244. package/dist/chunks/{file-mutation-wd87259q.js → kv-wd87259q.js} +1 -1
  245. package/dist/chunks/{file-mutation-7v7yaejn.js → kv-wmvxdcxf.js} +10 -10
  246. package/dist/chunks/{file-mutation-jdcpnvpf.js → kv-wqbc9es3.js} +9 -9
  247. package/dist/chunks/{file-mutation-yce1w55j.js → kv-wtfafaw2.js} +9 -9
  248. package/dist/chunks/{file-mutation-0tbwr05t.js → kv-ww506ezs.js} +10 -10
  249. package/dist/chunks/{file-mutation-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  250. package/dist/chunks/{file-mutation-vtfn81vb.js → kv-x1pmkwqz.js} +13 -13
  251. package/dist/chunks/{file-mutation-h85ccg7e.js → kv-x3z5bnde.js} +4 -4
  252. package/dist/chunks/{file-mutation-rw337v24.js → kv-x4ksm1tj.js} +9 -9
  253. package/dist/chunks/{file-mutation-f7j90zp2.js → kv-xk747vep.js} +9 -9
  254. package/dist/chunks/{file-mutation-p2f53c8e.js → kv-xky1335j.js} +41 -41
  255. package/dist/chunks/{file-mutation-wejf0rdp.js → kv-xrz9vnwt.js} +69 -69
  256. package/dist/chunks/{file-mutation-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  257. package/dist/chunks/{file-mutation-2qcp78kg.js → kv-y47czx5y.js} +17 -17
  258. package/dist/chunks/{file-mutation-25jpqk5v.js → kv-y4naaajn.js} +11 -11
  259. package/dist/chunks/{file-mutation-7w99qc9d.js → kv-y6f0p4jw.js} +2 -2
  260. package/dist/chunks/{file-mutation-y71avatq.js → kv-y71avatq.js} +1 -1
  261. package/dist/chunks/{file-mutation-a5de4bcy.js → kv-yb5nc9wz.js} +37 -37
  262. package/dist/chunks/{file-mutation-3ar42wrm.js → kv-ynj7eg78.js} +21 -21
  263. package/dist/chunks/kv-yp2eeyxk.js +26 -0
  264. package/dist/chunks/{file-mutation-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
  265. package/dist/chunks/{file-mutation-yrznvahk.js → kv-yrznvahk.js} +2 -2
  266. package/dist/chunks/{file-mutation-tcdc8g31.js → kv-ywepdr4j.js} +9 -9
  267. package/dist/chunks/{file-mutation-bqnv8r25.js → kv-ywywtd2f.js} +9 -9
  268. package/dist/chunks/{file-mutation-ktak12d4.js → kv-yygyxej2.js} +16 -16
  269. package/dist/chunks/{file-mutation-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  270. package/dist/chunks/{file-mutation-x5h3w8zq.js → kv-z225y43a.js} +26 -26
  271. package/dist/chunks/{file-mutation-7nam6z95.js → kv-z2p1zgek.js} +8 -8
  272. package/dist/chunks/{file-mutation-6fkjc3gv.js → kv-z5bw8km2.js} +24 -24
  273. package/dist/chunks/{file-mutation-z63w68vq.js → kv-z63w68vq.js} +2 -2
  274. package/dist/chunks/{file-mutation-91t2kvk6.js → kv-za2awsd1.js} +17 -17
  275. package/dist/chunks/{file-mutation-xza6172n.js → kv-zanxcczd.js} +5 -5
  276. package/dist/chunks/{file-mutation-rq775frq.js → kv-zeh9ct20.js} +2 -2
  277. package/dist/chunks/{file-mutation-7avp506j.js → kv-zj36n4ch.js} +58 -58
  278. package/dist/chunks/{file-mutation-9fsxynh3.js → kv-zjp75jv5.js} +8 -8
  279. package/dist/chunks/{file-mutation-ky2zf32z.js → kv-zk1ywxhw.js} +11 -11
  280. package/dist/chunks/{file-mutation-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{file-mutation-z1jek54d.js → kv-zs5x0rfp.js} +5 -5
  282. package/dist/chunks/{file-mutation-82adjhvd.js → kv-ztawzxhp.js} +8 -8
  283. package/dist/chunks/{file-mutation-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +84 -84
  288. package/dist/config/discovery.js +81 -81
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +105 -105
  291. package/dist/config/plugin/agent.js +124 -124
  292. package/dist/config/plugin/command.js +212 -212
  293. package/dist/config/plugin/compaction.js +158 -158
  294. package/dist/config/plugin/compatibility.js +140 -140
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +123 -123
  297. package/dist/config/plugin/image.js +122 -122
  298. package/dist/config/plugin/instruction.js +89 -89
  299. package/dist/config/plugin/location-watcher.js +124 -124
  300. package/dist/config/plugin/mcp.js +131 -131
  301. package/dist/config/plugin/policy.js +122 -122
  302. package/dist/config/plugin/provider.js +122 -122
  303. package/dist/config/plugin/reference.js +124 -124
  304. package/dist/config/plugin/shell.js +122 -122
  305. package/dist/config/plugin/skill-file.js +101 -101
  306. package/dist/config/plugin/skill.js +143 -143
  307. package/dist/config/plugin/snapshot.js +122 -122
  308. package/dist/config/plugin/source.js +121 -121
  309. package/dist/config/plugin/tool-output.js +124 -124
  310. package/dist/config/plugin/websearch.js +121 -121
  311. package/dist/config/plugin/worktree.js +124 -124
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +127 -127
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +78 -78
  317. package/dist/database/database.js +69 -69
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration.gen.js +48 -48
  382. package/dist/database/migration.js +50 -50
  383. package/dist/database/path.js +2 -2
  384. package/dist/database/schema.gen.js +1 -1
  385. package/dist/database/schema.sql.js +1 -1
  386. package/dist/database/sqlite.bun.js +1 -1
  387. package/dist/database/sqlite.js +1 -1
  388. package/dist/database/sqlite.node.js +1 -1
  389. package/dist/database/sqlite.workerd.js +1 -1
  390. package/dist/database/v1-migration.bun.js +78 -78
  391. package/dist/database/v1-migration.js +1 -1
  392. package/dist/effect/app-node-builder.js +362 -362
  393. package/dist/effect/app-node-platform.js +2 -2
  394. package/dist/effect/keyed-mutex.js +1 -1
  395. package/dist/effect/websocket-constructor.js +1 -1
  396. package/dist/environment/driver.js +1 -1
  397. package/dist/environment/environment.js +92 -92
  398. package/dist/environment/exec-defaults.js +2 -2
  399. package/dist/environment/files.js +1 -1
  400. package/dist/environment/index.js +94 -94
  401. package/dist/environment/local.js +2 -2
  402. package/dist/environment/memory.js +2 -2
  403. package/dist/environment/unavailable.js +1 -1
  404. package/dist/event/sql.js +1 -1
  405. package/dist/event-logger.js +73 -73
  406. package/dist/file-access.js +103 -103
  407. package/dist/file-mutation.js +93 -93
  408. package/dist/file-retention.js +1 -1
  409. package/dist/file.js +1 -1
  410. package/dist/filesystem/fff.bun.js +2 -2
  411. package/dist/filesystem/fff.js +1 -1
  412. package/dist/filesystem/fff.node.js +2 -2
  413. package/dist/filesystem/fff.workerd.js +2 -2
  414. package/dist/filesystem/ignore.js +1 -1
  415. package/dist/filesystem/location-watcher-policy.js +4 -4
  416. package/dist/filesystem/location-watcher.js +225 -225
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +102 -102
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +101 -101
  422. package/dist/form.js +81 -81
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +86 -86
  425. package/dist/generate.js +104 -104
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +98 -98
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/id/id.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 +353 -353
  451. package/dist/instruction-discovery.js +84 -84
  452. package/dist/instructions/builtins.js +86 -86
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +81 -81
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +72 -72
  459. package/dist/location-activity.js +133 -133
  460. package/dist/location-mutation.js +103 -103
  461. package/dist/location-service-map.js +85 -85
  462. package/dist/location-services.js +350 -350
  463. package/dist/location.js +84 -84
  464. package/dist/mcp/client.js +90 -90
  465. package/dist/mcp/index.js +101 -101
  466. package/dist/mcp/instructions.js +126 -126
  467. package/dist/mcp/oauth.js +74 -74
  468. package/dist/mcp/stdio.js +89 -89
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +98 -98
  471. package/dist/model-resolver.js +97 -97
  472. package/dist/model.js +95 -95
  473. package/dist/models-dev.js +106 -106
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +79 -79
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +104 -104
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +87 -87
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +74 -74
  483. package/dist/plugin/agent.js +103 -103
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +3 -3
  486. package/dist/plugin/host.js +216 -216
  487. package/dist/plugin/instance.js +5 -5
  488. package/dist/plugin/internal.js +325 -325
  489. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  490. package/dist/plugin/models-dev.js +95 -95
  491. package/dist/plugin/module.js +7 -7
  492. package/dist/plugin/optimize.js +2 -2
  493. package/dist/plugin/plan.js +101 -101
  494. package/dist/plugin/promise.js +1 -1
  495. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  496. package/dist/plugin/provider/azure.js +121 -121
  497. package/dist/plugin/provider/cerebras.js +1 -1
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +118 -118
  502. package/dist/plugin/provider/digitalocean.js +92 -92
  503. package/dist/plugin/provider/dynamic.js +2 -2
  504. package/dist/plugin/provider/factory.js +1 -1
  505. package/dist/plugin/provider/gateway.js +2 -2
  506. package/dist/plugin/provider/github-copilot.js +92 -92
  507. package/dist/plugin/provider/gitlab.js +90 -90
  508. package/dist/plugin/provider/google-vertex.js +89 -89
  509. package/dist/plugin/provider/kilo.js +1 -1
  510. package/dist/plugin/provider/llmgateway.js +76 -76
  511. package/dist/plugin/provider/lmstudio.js +121 -121
  512. package/dist/plugin/provider/modal.js +91 -91
  513. package/dist/plugin/provider/nvidia.js +1 -1
  514. package/dist/plugin/provider/ollama.js +121 -121
  515. package/dist/plugin/provider/openai.js +91 -91
  516. package/dist/plugin/provider/opencode.js +92 -92
  517. package/dist/plugin/provider/openrouter.js +90 -90
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/poe.js +77 -77
  520. package/dist/plugin/provider/sap-ai-core.js +90 -90
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +89 -89
  525. package/dist/plugin/provider/vllm.js +121 -121
  526. package/dist/plugin/provider/xai.js +90 -90
  527. package/dist/plugin/provider/zenmux.js +1 -1
  528. package/dist/plugin/provider.js +157 -157
  529. package/dist/plugin/sdk.js +75 -75
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +140 -140
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +344 -344
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/vcs/git.js +85 -85
  536. package/dist/plugin/vcs/hg.js +85 -85
  537. package/dist/plugin/warming.js +120 -120
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +9 -9
  541. package/dist/plugin/websearch/mcp.js +6 -6
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin/websearch/tinyfish.js +8 -8
  545. package/dist/plugin.js +227 -227
  546. package/dist/project/schema.js +4 -4
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +87 -87
  549. package/dist/provider.js +94 -94
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +97 -97
  554. package/dist/reference/instructions.js +88 -88
  555. package/dist/reference.js +90 -90
  556. package/dist/repository-cache.js +80 -80
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +96 -96
  560. package/dist/rpc.js +85 -85
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +73 -73
  563. package/dist/session/compaction.js +132 -132
  564. package/dist/session/context.js +150 -150
  565. package/dist/session/diff.js +87 -87
  566. package/dist/session/environment.js +5 -5
  567. package/dist/session/error.js +5 -5
  568. package/dist/session/event.js +1 -1
  569. package/dist/session/execution/restart.js +221 -221
  570. package/dist/session/execution.js +125 -125
  571. package/dist/session/generate.js +151 -151
  572. package/dist/session/history.js +13 -13
  573. package/dist/session/inbox.js +89 -89
  574. package/dist/session/info.js +3 -3
  575. package/dist/session/instruction-entry.js +78 -78
  576. package/dist/session/instruction-state.js +8 -8
  577. package/dist/session/instructions.js +96 -96
  578. package/dist/session/message-updater.js +2 -2
  579. package/dist/session/message.js +1 -1
  580. package/dist/session/model-request.js +117 -117
  581. package/dist/session/model-transport.js +9 -9
  582. package/dist/session/move.js +129 -129
  583. package/dist/session/projector.js +85 -85
  584. package/dist/session/prompt.js +104 -104
  585. package/dist/session/provider-context.js +1 -1
  586. package/dist/session/revert.js +89 -89
  587. package/dist/session/run-coordinator.js +3 -3
  588. package/dist/session/runner/index.js +3 -3
  589. package/dist/session/runner/llm.js +228 -228
  590. package/dist/session/runner/max-steps.js +1 -1
  591. package/dist/session/runner/model.js +97 -97
  592. package/dist/session/runner/publish-llm-event.js +3 -3
  593. package/dist/session/runner/retry.js +113 -113
  594. package/dist/session/runner/step.js +124 -124
  595. package/dist/session/runner/to-llm-message.js +2 -2
  596. package/dist/session/schema.js +3 -3
  597. package/dist/session/session.js +171 -171
  598. package/dist/session/shell.js +137 -137
  599. package/dist/session/skill.js +102 -102
  600. package/dist/session/sql.js +5 -5
  601. package/dist/session/stats.js +74 -74
  602. package/dist/session/store.js +84 -84
  603. package/dist/session/subagent-completion.js +1 -1
  604. package/dist/session/subagent-job.js +208 -208
  605. package/dist/session/system-prompt.js +5 -5
  606. package/dist/session/title.js +154 -154
  607. package/dist/session/to-session-error.js +110 -110
  608. package/dist/session/transfer.js +219 -219
  609. package/dist/session/usage.js +1 -1
  610. package/dist/session.js +214 -214
  611. package/dist/shell/parse.js +6 -6
  612. package/dist/shell/result.js +1 -1
  613. package/dist/shell/scan.js +1 -1
  614. package/dist/shell/select.js +13 -13
  615. package/dist/shell.js +139 -139
  616. package/dist/skill/discovery.js +6 -6
  617. package/dist/skill/instructions.js +104 -104
  618. package/dist/skill.js +111 -111
  619. package/dist/snapshot.js +90 -90
  620. package/dist/state.js +1 -1
  621. package/dist/tool/html-markdown.js +1 -1
  622. package/dist/tool/http-body.js +1 -1
  623. package/dist/tool/mcp.js +125 -125
  624. package/dist/tool/plugin/edit.js +119 -119
  625. package/dist/tool/plugin/file-diff.js +1 -1
  626. package/dist/tool/plugin/glob.js +123 -123
  627. package/dist/tool/plugin/grep.js +123 -123
  628. package/dist/tool/plugin/opencode.js +3 -3
  629. package/dist/tool/plugin/patch.js +121 -121
  630. package/dist/tool/plugin/question.js +102 -102
  631. package/dist/tool/plugin/read.js +124 -124
  632. package/dist/tool/plugin/shell.js +213 -213
  633. package/dist/tool/plugin/skill.js +112 -112
  634. package/dist/tool/plugin/subagent.js +213 -213
  635. package/dist/tool/plugin/webfetch.js +111 -111
  636. package/dist/tool/plugin/websearch.js +109 -109
  637. package/dist/tool/plugin/write.js +121 -121
  638. package/dist/tool/read-filesystem.js +99 -99
  639. package/dist/tool/runtime.js +1 -1
  640. package/dist/tool-output.js +8 -8
  641. package/dist/tool.js +11 -11
  642. package/dist/util/error-summary.js +1 -1
  643. package/dist/util/error.js +1 -1
  644. package/dist/util/git-executable.js +2 -2
  645. package/dist/util/iife.js +1 -1
  646. package/dist/util/lazy.js +1 -1
  647. package/dist/util/slug.js +1 -1
  648. package/dist/util/token.js +1 -1
  649. package/dist/util/which.js +1 -1
  650. package/dist/util/wildcard.js +1 -1
  651. package/dist/v1/config/agent.js +5 -5
  652. package/dist/v1/config/attachment.js +4 -4
  653. package/dist/v1/config/command.js +5 -5
  654. package/dist/v1/config/config.js +16 -16
  655. package/dist/v1/config/error.js +2 -2
  656. package/dist/v1/config/formatter.js +3 -3
  657. package/dist/v1/config/layout.js +1 -1
  658. package/dist/v1/config/lsp.js +3 -3
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +91 -91
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/v1/config/server.js +2 -2
  666. package/dist/v1/config/skills.js +3 -3
  667. package/dist/v1/permission.js +1 -1
  668. package/dist/variant.js +90 -90
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +88 -88
  671. package/dist/websearch.js +81 -81
  672. package/dist/wellknown/plugin.js +75 -75
  673. package/dist/wellknown.js +78 -78
  674. package/dist/workspace/driver.js +5 -5
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +79 -79
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +88 -88
  681. package/dist/worktree.js +97 -97
  682. package/package.json +8 -8
  683. package/dist/chunks/file-mutation-0mesazry.js +0 -4
  684. package/dist/chunks/file-mutation-11z0rz4y.js +0 -247
  685. package/dist/chunks/file-mutation-d1y9ts6h.js +0 -474
  686. package/dist/chunks/file-mutation-ht5y0zrb.js +0 -18
  687. package/dist/chunks/file-mutation-rjhhx3kh.js +0 -26
  688. /package/dist/chunks/{file-mutation-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{file-mutation-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{file-mutation-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{file-mutation-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{file-mutation-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{file-mutation-24dcb14g.js → kv-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{file-mutation-2710q6r3.js → kv-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{file-mutation-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{file-mutation-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{file-mutation-359p4xyc.js → kv-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{file-mutation-3asan66x.js → kv-3asan66x.js} +0 -0
  699. /package/dist/chunks/{file-mutation-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-mutation-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-mutation-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-mutation-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-mutation-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{file-mutation-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{file-mutation-53557ph1.js → kv-53557ph1.js} +0 -0
  707. /package/dist/chunks/{file-mutation-550bvhaj.js → kv-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{file-mutation-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{file-mutation-6prwharc.js → kv-6prwharc.js} +0 -0
  710. /package/dist/chunks/{file-mutation-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{file-mutation-7m9af43g.js → kv-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{file-mutation-822emrt2.js → kv-822emrt2.js} +0 -0
  713. /package/dist/chunks/{file-mutation-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{file-mutation-8n3pysct.js → kv-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{file-mutation-922hggd3.js → kv-922hggd3.js} +0 -0
  716. /package/dist/chunks/{file-mutation-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{file-mutation-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{file-mutation-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{file-mutation-af5trqkr.js → kv-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{file-mutation-afrmfg78.js → kv-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{file-mutation-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{file-mutation-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{file-mutation-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{file-mutation-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{file-mutation-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{file-mutation-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{file-mutation-d9fn303g.js → kv-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{file-mutation-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{file-mutation-dajrwvna.js → kv-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{file-mutation-dap0rakb.js → kv-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{file-mutation-df08tz66.js → kv-df08tz66.js} +0 -0
  732. /package/dist/chunks/{file-mutation-dy18nga0.js → kv-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{file-mutation-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{file-mutation-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{file-mutation-ec1grn59.js → kv-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{file-mutation-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{file-mutation-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{file-mutation-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{file-mutation-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{file-mutation-faypxj3z.js → kv-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{file-mutation-fd410y7t.js → kv-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{file-mutation-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{file-mutation-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{file-mutation-g86h250q.js → kv-g86h250q.js} +0 -0
  745. /package/dist/chunks/{file-mutation-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{file-mutation-gftt206x.js → kv-gftt206x.js} +0 -0
  747. /package/dist/chunks/{file-mutation-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{file-mutation-hk9envan.js → kv-hk9envan.js} +0 -0
  749. /package/dist/chunks/{file-mutation-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{file-mutation-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{file-mutation-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{file-mutation-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{file-mutation-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{file-mutation-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{file-mutation-mp448xyj.js → kv-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{file-mutation-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{file-mutation-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{file-mutation-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{file-mutation-njntx4h6.js → kv-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{file-mutation-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{file-mutation-q74kybfr.js → kv-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{file-mutation-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{file-mutation-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{file-mutation-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{file-mutation-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{file-mutation-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{file-mutation-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{file-mutation-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{file-mutation-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{file-mutation-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{file-mutation-twg0f83k.js → kv-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{file-mutation-w803qqfp.js → kv-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{file-mutation-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  774. /package/dist/chunks/{file-mutation-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{file-mutation-wtztk69x.js → kv-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{file-mutation-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{file-mutation-x61499pn.js → kv-x61499pn.js} +0 -0
  778. /package/dist/chunks/{file-mutation-y44na4kk.js → kv-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{file-mutation-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{file-mutation-y8f7s663.js → kv-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{file-mutation-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{file-mutation-ym463w8f.js → kv-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{file-mutation-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service54
7
- } from "./file-mutation-4afm2zz7.js";
6
+ Service39
7
+ } from "./kv-9f8ak43h.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-mutation-2a5m3afh.js";
10
+ } from "./kv-2a5m3afh.js";
11
11
  import {
12
- Service61
13
- } from "./file-mutation-6fkjc3gv.js";
12
+ Service50
13
+ } from "./kv-z5bw8km2.js";
14
14
  import {
15
- Service43
16
- } from "./file-mutation-2qcp78kg.js";
15
+ Service61
16
+ } from "./kv-y47czx5y.js";
17
17
  import {
18
18
  Service64
19
- } from "./file-mutation-a5de4bcy.js";
19
+ } from "./kv-yb5nc9wz.js";
20
20
  import {
21
- Service63,
21
+ Service54,
22
22
  resolvePath2
23
- } from "./file-mutation-7ycsd0tm.js";
23
+ } from "./kv-0mesg93d.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-mutation-fxbjtjnd.js";
29
+ } from "./kv-fxbjtjnd.js";
30
30
  import {
31
- Service58,
31
+ Service48,
32
32
  name15
33
- } from "./file-mutation-gj014zr3.js";
33
+ } from "./kv-f65qawn9.js";
34
34
  import {
35
- NotFoundError7,
36
- Service52
37
- } from "./file-mutation-qkxympve.js";
35
+ NotFoundError5,
36
+ Service34
37
+ } from "./kv-qxn9n16s.js";
38
38
  import {
39
- Service21
40
- } from "./file-mutation-rmkqwdpg.js";
39
+ Service19
40
+ } from "./kv-1dd4vm50.js";
41
41
  import {
42
42
  scan2
43
- } from "./file-mutation-5bbsmdtr.js";
43
+ } from "./kv-95g476w1.js";
44
44
  import {
45
45
  __export
46
- } from "./file-mutation-9rqn6x4v.js";
46
+ } from "./kv-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input5,
53
- Plugin: () => Plugin23,
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin35,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name5
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name5 = "shell";
59
+ var name3 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input5 = Schema.Struct({
73
+ var Input3 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin23 = {
118
+ var Plugin35 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service21;
122
- const jobs = yield* Service43;
121
+ const sessions = yield* Service19;
122
+ const jobs = yield* Service61;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service61;
125
- const access = yield* Service63;
126
- const shell = yield* Service52;
127
- const shellSelect = yield* Service58;
124
+ const environment = yield* Service50;
125
+ const access = yield* Service54;
126
+ const shell = yield* Service34;
127
+ const shellSelect = yield* Service48;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
129
  const permission = yield* Service64;
130
- const config = yield* Service54;
130
+ const config = yield* Service39;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin23 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name5,
149
+ action: name3,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin23 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name5,
186
+ name: name3,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input5,
189
+ input: Input3,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin23 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError7({ id: info.id });
208
+ return yield* new NotFoundError5({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name5,
222
+ type: name3,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name5];
252
+ const tool = event.tools[name3];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin23, exports_shell2 };
263
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin35, exports_shell2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service81
3
- } from "./file-mutation-ynjpqawr.js";
2
+ Service82
3
+ } from "./kv-pgwmtx9h.js";
4
4
  import {
5
- Service80
6
- } from "./file-mutation-f9yn9122.js";
5
+ Service81
6
+ } from "./kv-4ddcvy6e.js";
7
7
  import {
8
- Service42
9
- } from "./file-mutation-sxzvkvgj.js";
8
+ Service60
9
+ } from "./kv-93ygb5af.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./file-mutation-922hggd3.js";
12
+ } from "./kv-922hggd3.js";
13
13
  import {
14
- ID5,
15
- Service36
16
- } from "./file-mutation-dcq050h0.js";
14
+ ID4,
15
+ Service37
16
+ } from "./kv-pe51b52v.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-mutation-ec1grn59.js";
19
+ } from "./kv-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./file-mutation-gftt206x.js";
22
+ } from "./kv-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./file-mutation-k9avtbwf.js";
25
+ } from "./kv-e5xpd6yj.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./file-mutation-5c4hm403.js";
28
+ } from "./kv-5c4hm403.js";
29
29
  import {
30
30
  __export
31
- } from "./file-mutation-9rqn6x4v.js";
31
+ } from "./kv-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service42;
46
- const database = yield* Service81;
47
- const bus = yield* Service80;
45
+ const instances = yield* Service60;
46
+ const database = yield* Service82;
47
+ const bus = yield* Service81;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service36;
50
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service37;
50
+ const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service42;
78
- const bus = yield* Service80;
77
+ const instances = yield* Service60;
78
+ const bus = yield* Service81;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service36;
80
+ const snapshot = yield* Service37;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID5.make(message.snapshot.start));
114
+ files.set(file, ID4.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./file-mutation-56gdpj1q.js";
3
+ } from "./kv-1ygqh575.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin36,
11
+ Plugin: () => Plugin6,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint2 = "https://mcp.exa.ai/mcp";
18
+ var endpoint4 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin36 = define({
30
+ var Plugin6 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin36 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint2);
52
+ const url = new URL(endpoint4);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint2, Plugin36, exports_exa };
83
+ export { endpoint4, Plugin6, exports_exa };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command5 = {};
7
- __export(exports_command5, {
8
- ConfigCommandV1: () => exports_command5,
9
- Info: () => Info20
6
+ var exports_command4 = {};
7
+ __export(exports_command4, {
8
+ ConfigCommandV1: () => exports_command4,
9
+ Info: () => Info15
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info20 = Schema.Struct({
12
+ var Info15 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info20 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info20, exports_command5 };
21
+ export { Info15, exports_command4 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./file-mutation-0nes3kdx.js";
3
+ } from "./kv-1gjp40nv.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./file-mutation-kyvf95r7.js";
6
+ } from "./kv-1bqb4p60.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
@@ -1,52 +1,52 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./file-mutation-f9yn9122.js";
2
+ Service81,
3
+ node85
4
+ } from "./kv-4ddcvy6e.js";
5
5
  import {
6
- node57
7
- } from "./file-mutation-xqhhrdfp.js";
6
+ node43
7
+ } from "./kv-6tpe83gt.js";
8
8
  import {
9
- Service4,
9
+ Service5,
10
10
  node6
11
- } from "./file-mutation-18db4y5c.js";
11
+ } from "./kv-4nd1vhcc.js";
12
12
  import {
13
- Service28
14
- } from "./file-mutation-ht5y0zrb.js";
13
+ Service30
14
+ } from "./kv-9zdhvgqs.js";
15
15
  import {
16
- node21,
17
- ID3
18
- } from "./file-mutation-6804x6mf.js";
16
+ node18,
17
+ ID2
18
+ } from "./kv-q07v9h9y.js";
19
19
  import {
20
- Service5,
21
- node7
22
- } from "./file-mutation-cmwkp3r5.js";
20
+ Service2,
21
+ node3
22
+ } from "./kv-5yzzbxa7.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./file-mutation-d1y9ts6h.js";
26
+ } from "./kv-3fehqr8e.js";
27
27
  import {
28
- make10,
28
+ make6,
29
29
  LoadError2
30
- } from "./file-mutation-5fxvnth9.js";
30
+ } from "./kv-2wtgfcw5.js";
31
31
  import {
32
32
  Updated2,
33
- Service11,
34
- node13
35
- } from "./file-mutation-7k05wx0c.js";
33
+ Service3,
34
+ node4
35
+ } from "./kv-95q9m7a4.js";
36
36
  import {
37
- Service6,
38
- node8
39
- } from "./file-mutation-h71w788e.js";
37
+ Service4,
38
+ node5
39
+ } from "./kv-6hjx5zpb.js";
40
40
  import {
41
41
  __export
42
- } from "./file-mutation-9rqn6x4v.js";
42
+ } from "./kv-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
46
46
  __export(exports_supervisor, {
47
47
  PluginSupervisor: () => exports_supervisor,
48
- layer: () => layer4,
49
- node: () => node5
48
+ layer: () => layer3,
49
+ node: () => node2
50
50
  });
51
51
  import { Event } from "@opencode/schema/config";
52
52
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
115
115
  failures: [
116
116
  ...failures.values(),
117
117
  ...ordered.filter(duplicate).map((plugin) => ({
118
- id: ID3.make(plugin.id),
118
+ id: ID2.make(plugin.id),
119
119
  source: plugin.source ?? { type: "builtin" },
120
120
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
121
121
  features: { server: true, ...plugin.features }
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
124
124
  pending: [...pending]
125
125
  };
126
126
  });
127
- var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service28;
129
- const sdk = yield* Service11;
130
- const instance = yield* Service5;
131
- const sources = yield* Service4;
132
- const modules = yield* make10();
133
- const bus = yield* Service80;
134
- const updates = yield* Service6;
127
+ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
128
+ const registry = yield* Service30;
129
+ const sdk = yield* Service3;
130
+ const instance = yield* Service2;
131
+ const sources = yield* Service5;
132
+ const modules = yield* make6();
133
+ const bus = yield* Service81;
134
+ const updates = yield* Service4;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node21,
210
- node13,
211
- node7,
209
+ node18,
210
+ node4,
211
+ node3,
212
212
  node6,
213
- node8,
214
- node84,
213
+ node5,
214
+ node85,
215
215
  Npm.node,
216
- node57,
216
+ node43,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -221,6 +221,6 @@ function pluginSource(target) {
221
221
  return { type: "local", path: target };
222
222
  return { type: "package", target };
223
223
  }
224
- var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
224
+ var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
225
 
226
- export { layer4, node5, exports_supervisor };
226
+ export { layer3, node2, exports_supervisor };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};