@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,45 +1,45 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./file-mutation-ynjpqawr.js";
2
+ Service82,
3
+ node86
4
+ } from "./kv-pgwmtx9h.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service80,
8
- node84
9
- } from "./file-mutation-f9yn9122.js";
7
+ Service81,
8
+ node85
9
+ } from "./kv-4ddcvy6e.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./file-mutation-5t3nmthw.js";
12
+ } from "./kv-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./file-mutation-ec1grn59.js";
15
+ } from "./kv-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./file-mutation-9fsxynh3.js";
18
+ } from "./kv-zjp75jv5.js";
19
19
  import {
20
- Service65,
20
+ Service66,
21
21
  node69
22
- } from "./file-mutation-g87vc5p1.js";
22
+ } from "./kv-pdmffqas.js";
23
23
  import {
24
- Service23,
25
- node27
26
- } from "./file-mutation-2h5ctm2z.js";
24
+ Service21,
25
+ node25
26
+ } from "./kv-cz7ybxbg.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./file-mutation-tdstcens.js";
30
+ } from "./kv-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./file-mutation-9rqn6x4v.js";
33
+ } from "./kv-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service3,
38
+ Service: () => Service11,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node4
41
+ layer: () => layer6,
42
+ node: () => node13
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service3 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service11 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
- const bus = yield* Service80;
61
+ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
62
+ const bus = yield* Service81;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service23;
65
- const store = yield* Service65;
66
- const db = (yield* Service81).db;
64
+ const context = yield* Service21;
65
+ const store = yield* Service66;
66
+ const db = (yield* Service82).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service3.of({ generate });
148
+ return Service11.of({ generate });
149
149
  }));
150
- var node4 = makeLocationNode({
151
- service: Service3,
152
- layer: layer3,
153
- deps: [node84, llmClient2, node27, node69, node85]
150
+ var node13 = makeLocationNode({
151
+ service: Service11,
152
+ layer: layer6,
153
+ deps: [node85, llmClient2, node25, node69, node86]
154
154
  });
155
155
 
156
- export { Service3, isUntitled2, layer3, node4, exports_title };
156
+ export { Service11, isUntitled2, layer6, node13, exports_title };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service54
3
- } from "./file-mutation-4afm2zz7.js";
2
+ Service39
3
+ } from "./kv-9f8ak43h.js";
4
4
  import {
5
- Service34
6
- } from "./file-mutation-rdwnzddt.js";
5
+ Service25
6
+ } from "./kv-s5smtsjm.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp = {};
13
- __export(exports_mcp, {
14
- ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin7,
12
+ var exports_mcp2 = {};
13
+ __export(exports_mcp2, {
14
+ ConfigMcpPlugin: () => exports_mcp2,
15
+ Plugin: () => Plugin22,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin7 = define({
20
+ var Plugin22 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service54;
28
- const mcp = yield* Service34;
27
+ const config = yield* Service39;
28
+ const mcp = yield* Service25;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin7, register2, exports_mcp };
49
+ export { Plugin22, register2, exports_mcp2 };
@@ -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/util/token.ts
6
6
  var exports_token = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./file-mutation-qfa1cgps.js";
3
+ } from "./kv-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./file-mutation-dj2t23y0.js";
6
+ } from "./kv-dj2t23y0.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service69,
9
- node73
10
- } from "./file-mutation-3aaqwtv7.js";
8
+ Service62,
9
+ node65
10
+ } from "./kv-0xbae0ch.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./file-mutation-7w99qc9d.js";
13
+ } from "./kv-y6f0p4jw.js";
14
14
  import {
15
15
  __export
16
- } from "./file-mutation-9rqn6x4v.js";
16
+ } from "./kv-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service41,
25
+ Service: () => Service59,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node43,
31
+ node: () => node62,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service59 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  websocket: options.websocket ?? false
74
74
  });
75
- var layer = Layer.effect(Service41, Effect.gen(function* () {
76
- const resolver = yield* Service69;
77
- return Service41.of({
75
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
76
+ const resolver = yield* Service62;
77
+ return Service59.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node43 = makeLocationNode({ service: Service41, layer, deps: [node73] });
95
+ var node62 = makeLocationNode({ service: Service59, layer, deps: [node65] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service41, resolved2, node43, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service59, resolved2, node62, exports_model };
@@ -1,10 +1,10 @@
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
6
  __export
7
- } from "./file-mutation-9rqn6x4v.js";
7
+ } from "./kv-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event18,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
19
  ID: () => ID15,
20
- Info: () => Info30,
20
+ Info: () => Info29,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
23
+ NotFoundError: () => NotFoundError9,
24
24
  Reply: () => Reply3,
25
- Service: () => Service75,
25
+ Service: () => Service73,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node79,
28
+ layer: () => layer24,
29
+ node: () => node77,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
38
  var ID15 = Form.ID;
39
- var Info30 = Form.Info;
39
+ var Info29 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,7 +44,7 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
47
+ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
48
  id: ID15
49
49
  }) {
50
50
  get message() {
@@ -79,15 +79,15 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service75 extends Context.Service()("@opencode/Form") {
82
+ class Service73 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service75, Effect.gen(function* () {
85
- const bus = yield* Service80;
84
+ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
85
+ const bus = yield* Service81;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
92
  const id = input.id ?? ID15.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service75, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service75.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service73.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node79 = makeLocationNode({ service: Service75, layer: layer25, deps: [node84] });
158
+ var node77 = makeLocationNode({ service: Service73, layer: layer24, deps: [node85] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer25, node79, validateAnswer2, validateFields2, exports_form, Event19 };
310
+ export { ID15, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service73, layer24, node77, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -0,0 +1,4 @@
1
+ // src/pty/schema.ts
2
+ import { ID as ID5 } from "@opencode/schema/pty";
3
+
4
+ export { ID5 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node66
5
- } from "./file-mutation-xb3f970q.js";
4
+ node73
5
+ } from "./kv-p0mccv6z.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./file-mutation-06dxphr1.js";
9
+ } from "./kv-06dxphr1.js";
10
10
  import {
11
11
  Service67,
12
- node71
13
- } from "./file-mutation-g1sxm558.js";
12
+ node70
13
+ } from "./kv-30846h32.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./file-mutation-a5de4bcy.js";
16
+ } from "./kv-yb5nc9wz.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./file-mutation-r8s4q6ph.js";
19
+ } from "./kv-gk3xegv2.js";
20
20
  import {
21
21
  Error3
22
- } from "./file-mutation-dwvb776c.js";
22
+ } from "./kv-rwp9jh2s.js";
23
23
  import {
24
- Service27,
25
- node31
26
- } from "./file-mutation-30n84348.js";
24
+ Service29,
25
+ node33
26
+ } from "./kv-df5t2j38.js";
27
27
  import {
28
- make15
29
- } from "./file-mutation-hjt4xg1x.js";
28
+ make13
29
+ } from "./kv-e82z9tr0.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./file-mutation-bz85s9hh.js";
32
+ } from "./kv-bz85s9hh.js";
33
33
  import {
34
34
  __export
35
- } from "./file-mutation-9rqn6x4v.js";
35
+ } from "./kv-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service26,
40
+ Service: () => Service27,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer10,
45
- node: () => node30,
44
+ layer: () => layer14,
45
+ node: () => node31,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer10 = Layer.effect(Service26, Effect.gen(function* () {
155
+ var layer14 = Layer.effect(Service27, Effect.gen(function* () {
156
156
  const hooks = yield* Service67;
157
- const transport = yield* Service27;
157
+ const transport = yield* Service29;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -244,17 +244,17 @@ var layer10 = Layer.effect(Service26, Effect.gen(function* () {
244
244
  };
245
245
  });
246
246
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
247
- return Service26.of({
247
+ return Service27.of({
248
248
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
249
249
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
250
250
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
251
251
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
252
252
  });
253
253
  }));
254
- var node30 = makeLocationNode({
255
- service: Service26,
256
- layer: layer10,
257
- deps: [node71, node31, node66]
254
+ var node31 = makeLocationNode({
255
+ service: Service27,
256
+ layer: layer14,
257
+ deps: [node70, node33, node73]
258
258
  });
259
259
 
260
- export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer10, node30, exports_model_request };
260
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer14, node31, exports_model_request };
@@ -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/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./file-mutation-fxgpk5d8.js";
3
+ } from "./kv-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./file-mutation-g4wezp1m.js";
6
+ } from "./kv-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./file-mutation-x61499pn.js";
9
+ } from "./kv-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./file-mutation-af5trqkr.js";
12
+ } from "./kv-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./file-mutation-afrmfg78.js";
15
+ } from "./kv-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./file-mutation-x0ckcb58.js";
18
+ } from "./kv-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service61
3
- } from "./file-mutation-6fkjc3gv.js";
2
+ Service50
3
+ } from "./kv-z5bw8km2.js";
4
4
  import {
5
- Service60,
5
+ Service15,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./file-mutation-t1eg3y3w.js";
8
+ } from "./kv-0fqqwfme.js";
9
9
  import {
10
- Service14
11
- } from "./file-mutation-1x1ag7qp.js";
10
+ Service18
11
+ } from "./kv-vy06sfs5.js";
12
12
  import {
13
13
  Service64
14
- } from "./file-mutation-a5de4bcy.js";
14
+ } from "./kv-yb5nc9wz.js";
15
15
  import {
16
- Service63
17
- } from "./file-mutation-7ycsd0tm.js";
16
+ Service54
17
+ } from "./kv-0mesg93d.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./file-mutation-6prwharc.js";
20
+ } from "./kv-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./file-mutation-9rqn6x4v.js";
23
+ } from "./kv-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input10,
29
- Output: () => Output7,
30
- Plugin: () => Plugin29,
28
+ Input: () => Input8,
29
+ Output: () => Output5,
30
+ Plugin: () => Plugin40,
31
31
  WriteTool: () => exports_write,
32
- name: () => name10,
33
- toModelContent: () => toModelContent5
32
+ name: () => name8,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name10 = "write";
39
- var Input10 = Schema.Struct({
38
+ var name8 = "write";
39
+ var Input8 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output7 = Schema.Struct({
45
+ var Output5 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin29 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin40 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service63;
56
- const fileMutation = yield* Service60;
57
- const environment = yield* Service61;
58
- const formatter = yield* Service14;
55
+ const access = yield* Service54;
56
+ const fileMutation = yield* Service15;
57
+ const environment = yield* Service50;
58
+ const formatter = yield* Service18;
59
59
  const permission = yield* Service64;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name10,
61
+ name: name8,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input10,
69
- output: Output7,
68
+ input: Input8,
69
+ output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name10, Input10, Output7, toModelContent5, Plugin29, exports_write };
101
+ export { name8, Input8, Output5, toModelContent4, Plugin40, exports_write };