@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,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-mutation-2a5m3afh.js";
3
+ } from "./kv-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-mutation-922hggd3.js";
6
+ } from "./kv-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./file-mutation-aychzs8s.js";
8
+ Service77
9
+ } from "./kv-tshc7g5p.js";
10
10
  import {
11
- Service61
12
- } from "./file-mutation-6fkjc3gv.js";
11
+ Service50
12
+ } from "./kv-z5bw8km2.js";
13
13
  import {
14
- Service18
15
- } from "./file-mutation-cr1q0w15.js";
14
+ Service49
15
+ } from "./kv-1hepnvy6.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./file-mutation-x5h3w8zq.js";
21
+ } from "./kv-z225y43a.js";
22
22
  import {
23
23
  Service64
24
- } from "./file-mutation-a5de4bcy.js";
24
+ } from "./kv-yb5nc9wz.js";
25
25
  import {
26
- Service63
27
- } from "./file-mutation-7ycsd0tm.js";
26
+ Service54
27
+ } from "./kv-0mesg93d.js";
28
28
  import {
29
29
  __export
30
- } from "./file-mutation-9rqn6x4v.js";
30
+ } from "./kv-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input2,
37
- Output: () => Output2,
38
- Plugin: () => Plugin20,
39
- name: () => name2,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input9,
37
+ Output: () => Output6,
38
+ Plugin: () => Plugin41,
39
+ name: () => name9,
40
+ toModelContent: () => toModelContent5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name2 = "glob";
46
- var Input2 = Schema.Struct({
45
+ var name9 = "glob";
46
+ var Input9 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input2 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output2 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output6 = Schema.Array(Entry2);
59
+ var toModelContent5 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin20 = {
66
+ var Plugin41 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service61;
70
- const ripgrep = yield* Service18;
71
- const location = yield* Service76;
72
- const access = yield* Service63;
69
+ const environment = yield* Service50;
70
+ const ripgrep = yield* Service49;
71
+ const location = yield* Service77;
72
+ const access = yield* Service54;
73
73
  const permission = yield* Service64;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name2,
75
+ name: name9,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input2,
79
- output: Output2,
78
+ input: Input9,
79
+ output: Output6,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name2,
86
+ action: name9,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin20 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name2, Input2, Output2, toModelContent2, Plugin20, exports_glob };
128
+ export { name9, Input9, Output6, toModelContent5, Plugin41, exports_glob };
@@ -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/mime.ts
6
6
  var exports_mime = {};
@@ -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/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,30 +1,30 @@
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
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./file-mutation-2710q6r3.js";
8
+ } from "./kv-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./file-mutation-y71avatq.js";
11
+ } from "./kv-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./file-mutation-9rqn6x4v.js";
14
+ } from "./kv-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service80,
21
+ Service: () => Service81,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node84,
27
+ node: () => node85,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service80 extends Context.Service()("@opencode/Bus") {
79
+ class Service81 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service80,
84
- deps: [node85],
85
- layer: Layer.effect(Service80, Effect.gen(function* () {
83
+ service: Service81,
84
+ deps: [node86],
85
+ layer: Layer.effect(Service81, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -93,7 +93,7 @@ function configured12(options) {
93
93
  const projectors = new Map;
94
94
  const listeners = new Array;
95
95
  const durableLocks = makeUnsafe2();
96
- const { db } = yield* Service81;
96
+ const { db } = yield* Service82;
97
97
  const logReadPageSize = options?.logReadPageSize ?? 512;
98
98
  const persist = options?.persist ?? false;
99
99
  const sessions = new Map;
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service80.of({
528
+ return Service81.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node84 = configured12();
542
+ var node85 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service80, configured12, node84, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service81, configured12, node85, exports_bus };
@@ -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/integration/connection.ts
6
6
  var exports_connection = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./file-mutation-aychzs8s.js";
5
+ Service77
6
+ } from "./kv-tshc7g5p.js";
7
7
  import {
8
- Service63
9
- } from "./file-mutation-7ycsd0tm.js";
8
+ Service54
9
+ } from "./kv-0mesg93d.js";
10
10
  import {
11
- Service9
12
- } from "./file-mutation-eqfn3g5k.js";
11
+ Service10
12
+ } from "./kv-5mt5zsn7.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./file-mutation-2a5m3afh.js";
15
+ } from "./kv-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service10
27
- } from "./file-mutation-ajwqadgf.js";
26
+ Service8
27
+ } from "./kv-c2zwhayg.js";
28
28
  import {
29
29
  __export
30
- } from "./file-mutation-9rqn6x4v.js";
30
+ } from "./kv-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input6,
36
- Plugin: () => Plugin24,
35
+ Input: () => Input12,
36
+ Plugin: () => Plugin45,
37
37
  ReadTool: () => exports_read,
38
- name: () => name6,
39
- toModelContent: () => toModelContent3
38
+ name: () => name12,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name6 = "read";
45
+ var name12 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input6 = LocationInput;
56
+ var Input12 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin24 = {
58
+ var Plugin45 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service10;
62
- const access = yield* Service63;
63
- const sessionInstructions = yield* Service9;
61
+ const reader = yield* Service8;
62
+ const access = yield* Service54;
63
+ const sessionInstructions = yield* Service10;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service76;
65
+ const location = yield* Service77;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name6,
67
+ name: name12,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input6,
70
+ input: Input12,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin24 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent3(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent3 = (path, offset, output) => {
147
+ var toModelContent6 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name6, Input6, Plugin24, toModelContent3, exports_read };
183
+ export { name12, Input12, Plugin45, toModelContent6, exports_read };
@@ -1,24 +1,24 @@
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
- Service59,
7
- node61
8
- } from "./file-mutation-s8yyarnz.js";
6
+ Service75,
7
+ node79
8
+ } from "./kv-9030epd1.js";
9
9
  import {
10
10
  create3
11
- } from "./file-mutation-rdw6cm16.js";
11
+ } from "./kv-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./file-mutation-9rqn6x4v.js";
14
+ } from "./kv-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event8,
21
- ID: () => ID6,
20
+ Event: () => Event11,
21
+ ID: () => ID7,
22
22
  Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service37,
31
+ Service: () => Service53,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node40
33
+ node: () => node57
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event8 } from "@opencode/schema/websearch";
41
- var ID6 = WebSearch.ID;
40
+ import { Event as Event11 } from "@opencode/schema/websearch";
41
+ var ID7 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID6
53
+ providerID: ID7
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID6,
61
+ providerID: ID7,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service37 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service53 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service37, Effect.gen(function* () {
69
- const bus = yield* Service80;
70
- const kv = yield* Service59;
68
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
69
+ const bus = yield* Service81;
70
+ const kv = yield* Service75;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service37.of({
127
+ return Service53.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node40 = makeLocationNode({
188
- service: Service37,
187
+ var node57 = makeLocationNode({
188
+ service: Service53,
189
189
  layer,
190
- deps: [node84, node61]
190
+ deps: [node85, node79]
191
191
  });
192
192
 
193
- export { ID6, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service37, node40, exports_websearch3, Event8 };
193
+ export { ID7, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service53, node57, exports_websearch3, Event11 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./file-mutation-0nes3kdx.js";
4
+ } from "./kv-1gjp40nv.js";
5
5
  import {
6
6
  latest2,
7
- Service54
8
- } from "./file-mutation-4afm2zz7.js";
7
+ Service39
8
+ } from "./kv-9f8ak43h.js";
9
9
  import {
10
10
  resolve4
11
- } from "./file-mutation-2n0epbhs.js";
11
+ } from "./kv-g9sd7rfb.js";
12
12
  import {
13
13
  observe2
14
- } from "./file-mutation-qsdy395h.js";
14
+ } from "./kv-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./file-mutation-9rqn6x4v.js";
17
+ } from "./kv-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin15
23
+ Plugin: () => Plugin19
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin15 = define({
28
+ var Plugin19 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service54;
31
+ const config = yield* Service39;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -200,4 +200,4 @@ function configuredProviders(entries) {
200
200
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
201
201
  }
202
202
 
203
- export { Plugin15, exports_provider };
203
+ export { Plugin19, exports_provider };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service55,
3
- node57
4
- } from "./file-mutation-xqhhrdfp.js";
2
+ Service40,
3
+ node43
4
+ } from "./kv-6tpe83gt.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./file-mutation-aychzs8s.js";
6
+ Service77,
7
+ node81
8
+ } from "./kv-tshc7g5p.js";
9
9
  import {
10
- Service54,
11
- node56
12
- } from "./file-mutation-4afm2zz7.js";
10
+ Service39,
11
+ node42
12
+ } from "./kv-9f8ak43h.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./file-mutation-zxq2ej10.js";
16
+ } from "./kv-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./file-mutation-9rqn6x4v.js";
19
+ } from "./kv-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service4,
25
+ Service: () => Service5,
26
26
  empty: () => empty2,
27
27
  layer: () => layer5,
28
28
  node: () => node6
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service5 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service54;
40
- const watcher = yield* Service55;
38
+ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
39
+ const config = yield* Service39;
40
+ const watcher = yield* Service40;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service76;
42
+ const location = yield* Service77;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service4.of({
61
+ return Service5.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -71,13 +71,13 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
71
71
  });
72
72
  }));
73
73
  var node6 = makeLocationNode({
74
- service: Service4,
74
+ service: Service5,
75
75
  layer: layer5,
76
- deps: [node56, FSUtil.node, node57, node80]
76
+ deps: [node42, FSUtil.node, node43, node81]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.of({
79
+ service: Service5,
80
+ layer: Layer.succeed(Service5, Service5.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service4, layer5, node6, empty2, exports_source };
140
+ export { Service5, layer5, node6, empty2, exports_source };