@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,20 +1,20 @@
1
1
  import {
2
- ID18,
2
+ ID11,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./file-mutation-x3ykbdq0.js";
5
+ } from "./kv-6m3jg8gc.js";
6
6
  import {
7
7
  merge2
8
- } from "./file-mutation-a5de4bcy.js";
8
+ } from "./kv-yb5nc9wz.js";
9
9
  import {
10
10
  __export
11
- } from "./file-mutation-9rqn6x4v.js";
11
+ } from "./kv-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent2 = {};
15
- __export(exports_agent2, {
16
- AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin44
14
+ var exports_agent = {};
15
+ __export(exports_agent, {
16
+ AgentPlugin: () => exports_agent,
17
+ Plugin: () => Plugin10
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin44 = define({
93
+ var Plugin10 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin44 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID18.make("general"), (item) => {
103
+ editor.update(ID11.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID18.make("explore"), (item) => {
109
+ editor.update(ID11.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin44 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID18.make("compaction"), (item) => {
128
+ editor.update(ID11.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID18.make("title"), (item) => {
133
+ editor.update(ID11.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID18.make("summary"), (item) => {
140
+ editor.update(ID11.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin44 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin44, exports_agent2 };
151
+ export { Plugin10, exports_agent };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./file-mutation-x2fjf6jt.js";
5
+ } from "./kv-1j4wj2wj.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./file-mutation-r8bq8m7e.js";
11
+ } from "./kv-k9x9pwcp.js";
12
12
  import {
13
13
  __export
14
- } from "./file-mutation-9rqn6x4v.js";
14
+ } from "./kv-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80
3
- } from "./file-mutation-f9yn9122.js";
2
+ Service81
3
+ } from "./kv-4ddcvy6e.js";
4
4
  import {
5
5
  key2
6
- } from "./file-mutation-4dgbcxzg.js";
6
+ } from "./kv-4dgbcxzg.js";
7
7
  import {
8
- Event18
9
- } from "./file-mutation-kcm959y1.js";
8
+ Event19
9
+ } from "./kv-ahxxq61c.js";
10
10
  import {
11
- ID13
12
- } from "./file-mutation-8rsrtv6x.js";
11
+ ID14
12
+ } from "./kv-32qkfht5.js";
13
13
  import {
14
- ID12,
15
- Service72
16
- } from "./file-mutation-0nes3kdx.js";
14
+ ID13,
15
+ Service71
16
+ } from "./kv-1gjp40nv.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./file-mutation-xyny64hx.js";
18
+ load2,
19
+ derive2
20
+ } from "./kv-n6vgg671.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID12.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service72;
30
- const bus = yield* Service80;
29
+ const providers = yield* Service71;
30
+ const bus = yield* Service81;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./file-mutation-0nes3kdx.js";
2
+ ID13
3
+ } from "./kv-1gjp40nv.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.integration.transform((editor) => {
20
20
  editor.method.update({
21
- integrationID: ID12.amazonBedrock,
21
+ integrationID: ID13.amazonBedrock,
22
22
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
23
23
  });
24
24
  });
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
12
  Event: () => Event20,
13
- ID: () => ID17,
13
+ ID: () => ID18,
14
14
  Info: () => Info33,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
@@ -18,7 +18,7 @@ __export(exports_schema, {
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID17 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
23
  var Info33 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID17, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  Service64
3
- } from "./file-mutation-a5de4bcy.js";
3
+ } from "./kv-yb5nc9wz.js";
4
4
  import {
5
- ID4,
5
+ ID3,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service31
10
- } from "./file-mutation-my26e0c6.js";
9
+ Service33
10
+ } from "./kv-w8ts9jr1.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
18
- Input: () => Input3,
19
- Output: () => Output3,
20
- Plugin: () => Plugin21,
21
- SkillTool: () => exports_skill2,
22
- description: () => description2,
23
- name: () => name3,
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
+ Input: () => Input11,
19
+ Output: () => Output8,
20
+ Plugin: () => Plugin44,
21
+ SkillTool: () => exports_skill3,
22
+ description: () => description5,
23
+ name: () => name11,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name3 = "skill";
30
- var Input3 = Schema.Struct({
31
- id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name11 = "skill";
30
+ var Input11 = Schema.Struct({
31
+ id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output3 = Schema.Struct({
33
+ var Output8 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description2 = [
38
+ var description5 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description2 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin21 = {
46
+ var Plugin44 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service31;
50
+ const skills = yield* Service33;
51
51
  const permission = yield* Service64;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name3,
53
+ name: name11,
54
54
  options: { codemode: false },
55
- description: description2,
56
- input: Input3,
57
- output: Output3,
55
+ description: description5,
56
+ input: Input11,
57
+ output: Output8,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name3,
64
+ action: name11,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin21 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name3, Input3, Output3, description2, toModelOutput2, Plugin21, exports_skill2 };
82
+ export { name11, Input11, Output8, description5, toModelOutput2, Plugin44, exports_skill3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./file-mutation-qaymkmh1.js";
3
+ } from "./kv-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./file-mutation-5daktx2q.js";
3
+ } from "./kv-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-mutation-922hggd3.js";
6
+ } from "./kv-922hggd3.js";
7
7
  import {
8
- ID4,
8
+ ID3,
9
9
  Name2
10
- } from "./file-mutation-my26e0c6.js";
10
+ } from "./kv-w8ts9jr1.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID4.make(id),
58
+ id: ID3.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-xb3f970q.js";
3
+ } from "./kv-p0mccv6z.js";
4
4
  import {
5
- Service80
6
- } from "./file-mutation-f9yn9122.js";
5
+ Service81
6
+ } from "./kv-4ddcvy6e.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./file-mutation-kcm959y1.js";
9
+ Event19
10
+ } from "./kv-ahxxq61c.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./file-mutation-8rsrtv6x.js";
14
+ } from "./kv-32qkfht5.js";
15
15
  import {
16
- ID12
17
- } from "./file-mutation-0nes3kdx.js";
16
+ ID13
17
+ } from "./kv-1gjp40nv.js";
18
18
  import {
19
- ID11,
19
+ ID12,
20
20
  Family2
21
- } from "./file-mutation-kyvf95r7.js";
21
+ } from "./kv-1bqb4p60.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./file-mutation-pjvnvgmy.js";
24
+ } from "./kv-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 = ID12.make("digitalocean");
31
- var integrationID = ID13.make("digitalocean");
30
+ var providerID = ID13.make("digitalocean");
31
+ var integrationID = ID14.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* Service80;
119
+ const bus = yield* Service81;
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(ID11.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID12.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(Event18.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,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
- Service78,
6
- node82
7
- } from "./file-mutation-xqk8sbne.js";
5
+ Service79,
6
+ node83
7
+ } from "./kv-sjf3tctt.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./file-mutation-2402vzrj.js";
13
+ } from "./kv-2402vzrj.js";
14
14
  import {
15
- Service59,
16
- node61
17
- } from "./file-mutation-s8yyarnz.js";
15
+ Service75,
16
+ node79
17
+ } from "./kv-9030epd1.js";
18
18
  import {
19
19
  __export
20
- } from "./file-mutation-9rqn6x4v.js";
20
+ } from "./kv-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service51,
33
+ Service: () => Service44,
34
34
  isError: () => isError2,
35
- node: () => node53,
35
+ node: () => node47,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service51 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service44 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service51, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service78;
106
+ const git = yield* Service79;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service59;
110
- return Service51.of({
109
+ const kv = yield* Service75;
110
+ return Service44.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node53 = makeGlobalNode({
171
- service: Service51,
170
+ var node47 = makeGlobalNode({
171
+ service: Service44,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node61]
173
+ deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node79]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service51, isError2, validateBranch2, node53, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service44, isError2, validateBranch2, node47, exports_repository_cache };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin43
9
+ Plugin: () => Plugin15
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin43 = define({
14
+ var Plugin15 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin43 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin43, exports_mcp_codemode_exclusion };
37
+ export { Plugin15, exports_mcp_codemode_exclusion };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID12,
2
+ ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./file-mutation-0nes3kdx.js";
5
+ } from "./kv-1gjp40nv.js";
6
6
  import {
7
- ID11,
7
+ ID12,
8
8
  VariantID2,
9
9
  Family2,
10
10
  Info25
11
- } from "./file-mutation-kyvf95r7.js";
11
+ } from "./kv-1bqb4p60.js";
12
12
  import {
13
13
  __export
14
- } from "./file-mutation-9rqn6x4v.js";
14
+ } from "./kv-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load2(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load2(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID11.make(id);
97
+ const key = ID12.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -119,10 +119,10 @@ function build(id, remote, baseURL, previous) {
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
121
  return Info25.make({
122
- ...Info25.default(ID12.githubCopilot, id),
122
+ ...Info25.default(ID13.githubCopilot, id),
123
123
  id,
124
- modelID: ID11.make(remote.id),
125
- providerID: ID12.githubCopilot,
124
+ modelID: ID12.make(remote.id),
125
+ providerID: ID13.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load2, derive2, exports_models };
200
+ export { get3, load3, derive3, exports_models2 };