@opencode/core 0.0.0-dev-19976 → 0.0.0-dev-19977

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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 +68 -68
  7. package/dist/chunks/{workspace-dfe8djrf.js → vcs-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{workspace-jzj5fe77.js → vcs-026mxvrw.js} +24 -24
  9. package/dist/chunks/{workspace-j71eb661.js → vcs-02egfabs.js} +14 -14
  10. package/dist/chunks/{workspace-rxxp0mym.js → vcs-04zx5mpa.js} +1 -1
  11. package/dist/chunks/{workspace-y9c8ds6g.js → vcs-0b9vs59q.js} +1 -1
  12. package/dist/chunks/{workspace-qkp1k0b9.js → vcs-0csvndr3.js} +3 -3
  13. package/dist/chunks/{workspace-9bkpwrqx.js → vcs-0cvxc6ms.js} +38 -38
  14. package/dist/chunks/{workspace-phbsj0j2.js → vcs-0gyx6ezr.js} +16 -16
  15. package/dist/chunks/{workspace-37sfe3bm.js → vcs-0mm9aq32.js} +11 -11
  16. package/dist/chunks/{workspace-hc5h1fwz.js → vcs-0p47j88a.js} +11 -11
  17. package/dist/chunks/{workspace-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{workspace-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{workspace-gfrjm2xz.js → vcs-14604q16.js} +20 -20
  20. package/dist/chunks/{workspace-8z45c87w.js → vcs-1571dsgn.js} +12 -12
  21. package/dist/chunks/{workspace-shh6fz4q.js → vcs-18e56dsp.js} +4 -4
  22. package/dist/chunks/{workspace-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{workspace-dn1jy3t2.js → vcs-1enqjbtj.js} +9 -9
  24. package/dist/chunks/{workspace-xygf558z.js → vcs-1gx19wx1.js} +13 -13
  25. package/dist/chunks/{workspace-xqrhjvfz.js → vcs-1scs63j0.js} +22 -22
  26. package/dist/chunks/{workspace-dkkf29sp.js → vcs-1wy7xpcm.js} +10 -10
  27. package/dist/chunks/{workspace-1y9dt3g7.js → vcs-21jmns5z.js} +54 -54
  28. package/dist/chunks/{workspace-21r38tys.js → vcs-21r38tys.js} +1 -1
  29. package/dist/chunks/{workspace-c05v4fnx.js → vcs-22a20jna.js} +31 -31
  30. package/dist/chunks/{workspace-6h73sxmp.js → vcs-2402vzrj.js} +5 -5
  31. package/dist/chunks/{workspace-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{workspace-jttm2z5k.js → vcs-2m91t0br.js} +133 -133
  33. package/dist/chunks/{workspace-6y1vxjf5.js → vcs-2n0f0xad.js} +18 -18
  34. package/dist/chunks/{workspace-h05xe26f.js → vcs-2ndbjpj7.js} +2 -2
  35. package/dist/chunks/{workspace-r02e4wv6.js → vcs-31a459na.js} +11 -11
  36. package/dist/chunks/{workspace-hsg668p1.js → vcs-31ckz9nn.js} +16 -16
  37. package/dist/chunks/{workspace-g9avfrxv.js → vcs-31dgsdk7.js} +9 -9
  38. package/dist/chunks/{workspace-sttw4gkc.js → vcs-34d507gh.js} +33 -33
  39. package/dist/chunks/{workspace-2cmnwcq0.js → vcs-35qq722n.js} +7 -7
  40. package/dist/chunks/{workspace-vhv5xdae.js → vcs-36k6dezp.js} +9 -9
  41. package/dist/chunks/{workspace-en40pvpc.js → vcs-3790xwfd.js} +25 -25
  42. package/dist/chunks/{workspace-3w2b2yj4.js → vcs-37s12vcn.js} +5 -5
  43. package/dist/chunks/{workspace-277eer69.js → vcs-3ewed21c.js} +4 -4
  44. package/dist/chunks/{workspace-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{workspace-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  46. package/dist/chunks/vcs-3p71wzhx.js +252 -0
  47. package/dist/chunks/{workspace-cs700ddv.js → vcs-3qjhd3zm.js} +11 -11
  48. package/dist/chunks/{workspace-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{workspace-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{workspace-tjszthyy.js → vcs-47r4vyk3.js} +8 -8
  51. package/dist/chunks/{workspace-y39x7n9b.js → vcs-4c8cjtxr.js} +6 -6
  52. package/dist/chunks/{workspace-w068zxwj.js → vcs-4fp0tc5q.js} +17 -17
  53. package/dist/chunks/{workspace-ns9v291x.js → vcs-4mj78ng4.js} +1 -1
  54. package/dist/chunks/{workspace-njpe9gsc.js → vcs-4s7kcajh.js} +17 -17
  55. package/dist/chunks/{workspace-1ygqh575.js → vcs-56gdpj1q.js} +9 -9
  56. package/dist/chunks/{workspace-57ez7d0k.js → vcs-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{workspace-t8djmwwn.js → vcs-5b5g75gf.js} +8 -8
  58. package/dist/chunks/{workspace-csf2jhsg.js → vcs-5c0f1prt.js} +4 -4
  59. package/dist/chunks/{workspace-5daktx2q.js → vcs-5daktx2q.js} +1 -1
  60. package/dist/chunks/{workspace-qqveq5z9.js → vcs-5g96j2vd.js} +8 -8
  61. package/dist/chunks/{workspace-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
  62. package/dist/chunks/{workspace-dnk3rzs1.js → vcs-5sb1zc5g.js} +15 -15
  63. package/dist/chunks/{workspace-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{workspace-9t3w81t2.js → vcs-5xjstr01.js} +20 -20
  65. package/dist/chunks/{workspace-6r6sqe9n.js → vcs-5ypy0aps.js} +3 -3
  66. package/dist/chunks/{workspace-qnye80mc.js → vcs-5zdtcgy0.js} +38 -38
  67. package/dist/chunks/{workspace-kfpry7jw.js → vcs-5zr8nydg.js} +32 -32
  68. package/dist/chunks/vcs-619r8v3y.js +18 -0
  69. package/dist/chunks/{workspace-jck03djw.js → vcs-636n1fx9.js} +24 -24
  70. package/dist/chunks/{workspace-n7hq9y22.js → vcs-65gfcbyz.js} +29 -29
  71. package/dist/chunks/{workspace-669tq793.js → vcs-669tq793.js} +1 -1
  72. package/dist/chunks/{workspace-jy1x85rx.js → vcs-6mm913p5.js} +4 -4
  73. package/dist/chunks/{workspace-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{workspace-k55f3hcm.js → vcs-6mwa2s17.js} +10 -10
  75. package/dist/chunks/{workspace-frq37dj9.js → vcs-6vx8265g.js} +24 -24
  76. package/dist/chunks/{workspace-6878ajz3.js → vcs-6xyj4q8a.js} +9 -9
  77. package/dist/chunks/{workspace-drkc87kz.js → vcs-70rtrpe7.js} +11 -11
  78. package/dist/chunks/{workspace-p7gtrmqp.js → vcs-73sq42y9.js} +4 -4
  79. package/dist/chunks/{workspace-9pkkzrmj.js → vcs-762r0j46.js} +5 -5
  80. package/dist/chunks/{workspace-nhkza4qs.js → vcs-77n73x0z.js} +14 -14
  81. package/dist/chunks/{workspace-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{workspace-ex4wm9dq.js → vcs-7f4kevra.js} +30 -30
  83. package/dist/chunks/{workspace-a3afvmqg.js → vcs-7hgdmm2q.js} +7 -7
  84. package/dist/chunks/{workspace-egmeyekh.js → vcs-7jmzt1bp.js} +20 -20
  85. package/dist/chunks/{workspace-0z7rzftk.js → vcs-7pej1m6n.js} +6 -6
  86. package/dist/chunks/{workspace-ed6ewr6r.js → vcs-7z1m1xqn.js} +8 -8
  87. package/dist/chunks/{workspace-8j6z6d32.js → vcs-88b3bgew.js} +22 -22
  88. package/dist/chunks/{workspace-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{workspace-cm5z7ssw.js → vcs-8g3cnzmf.js} +13 -13
  90. package/dist/chunks/{workspace-8p4f9s12.js → vcs-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{workspace-fb08vzds.js → vcs-8vbzfqqc.js} +31 -31
  92. package/dist/chunks/{workspace-jbnhwg68.js → vcs-91p43skh.js} +3 -3
  93. package/dist/chunks/{workspace-dj97z1h1.js → vcs-93pp14as.js} +11 -11
  94. package/dist/chunks/{workspace-dnq79vah.js → vcs-9c1r8673.js} +10 -10
  95. package/dist/chunks/{workspace-a1bz86dw.js → vcs-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{workspace-4nj4bn9q.js → vcs-a3ftg8j6.js} +9 -9
  97. package/dist/chunks/{workspace-g97bb4fb.js → vcs-a3r4dcrj.js} +2 -2
  98. package/dist/chunks/{workspace-evstn2e1.js → vcs-a4gexze1.js} +20 -20
  99. package/dist/chunks/{workspace-aaet6srn.js → vcs-aaet6srn.js} +2 -2
  100. package/dist/chunks/{workspace-nz40v0xg.js → vcs-aee8h6x3.js} +15 -15
  101. package/dist/chunks/{workspace-jdhqnsv9.js → vcs-arcxrr1g.js} +24 -24
  102. package/dist/chunks/{workspace-57sydnee.js → vcs-at3m1tvy.js} +18 -18
  103. package/dist/chunks/{workspace-1407x5yq.js → vcs-b4fb1g87.js} +6 -6
  104. package/dist/chunks/{workspace-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{workspace-8hyqnzhe.js → vcs-bjtgrew5.js} +50 -50
  106. package/dist/chunks/{workspace-gjmk74th.js → vcs-bw9zjykr.js} +6 -6
  107. package/dist/chunks/{workspace-6m0tgnv5.js → vcs-bzmv9v1t.js} +35 -35
  108. package/dist/chunks/{workspace-v2gb0a2b.js → vcs-c3065vva.js} +3 -3
  109. package/dist/chunks/{workspace-za2m9gf5.js → vcs-c9jrejd8.js} +24 -24
  110. package/dist/chunks/{workspace-89ad7fzy.js → vcs-ca5qybfk.js} +9 -9
  111. package/dist/chunks/{workspace-axmvebxj.js → vcs-cavr175a.js} +21 -21
  112. package/dist/chunks/{workspace-68arvhxb.js → vcs-ce4c0a8t.js} +7 -7
  113. package/dist/chunks/{workspace-cfpkc3c9.js → vcs-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{workspace-cq37gk0t.js → vcs-cq37gk0t.js} +4 -4
  115. package/dist/chunks/{workspace-q37hvqsc.js → vcs-cr17rqga.js} +9 -9
  116. package/dist/chunks/{workspace-r2m716tb.js → vcs-d4he2qe1.js} +9 -9
  117. package/dist/chunks/{workspace-m2333cga.js → vcs-d7r387ef.js} +6 -6
  118. package/dist/chunks/{workspace-v2mh11m3.js → vcs-dedh1m42.js} +20 -20
  119. package/dist/chunks/{workspace-kkkjbbh2.js → vcs-dgpaqazm.js} +6 -6
  120. package/dist/chunks/{workspace-m7a66szm.js → vcs-dnrd96kf.js} +20 -20
  121. package/dist/chunks/{workspace-wnf5egzc.js → vcs-dpewnr59.js} +9 -9
  122. package/dist/chunks/{workspace-y9k1g73x.js → vcs-e1j0qnan.js} +3 -3
  123. package/dist/chunks/{workspace-9fc3v4re.js → vcs-e6fmpsdj.js} +4 -4
  124. package/dist/chunks/{workspace-7b0gpmec.js → vcs-ea198e8q.js} +16 -16
  125. package/dist/chunks/{workspace-ehe4wzqm.js → vcs-ebfttpxm.js} +11 -11
  126. package/dist/chunks/{workspace-0jrsc0d0.js → vcs-ebt3yecv.js} +24 -24
  127. package/dist/chunks/{workspace-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{workspace-qft4n94x.js → vcs-eg9s2d14.js} +3 -3
  129. package/dist/chunks/{workspace-3nenj1by.js → vcs-ehyhzm66.js} +11 -11
  130. package/dist/chunks/{workspace-s8ah00f6.js → vcs-ejsjeqcn.js} +6 -6
  131. package/dist/chunks/{workspace-7rce4ag1.js → vcs-eq9pbqr9.js} +10 -10
  132. package/dist/chunks/{workspace-erw5rpbs.js → vcs-erw5rpbs.js} +2 -2
  133. package/dist/chunks/{workspace-jd2q17ad.js → vcs-esp4rdvc.js} +11 -11
  134. package/dist/chunks/{workspace-ppygek1b.js → vcs-esww11we.js} +16 -16
  135. package/dist/chunks/{workspace-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{workspace-724bb6xm.js → vcs-eveqffnf.js} +24 -24
  137. package/dist/chunks/{workspace-33k257v5.js → vcs-ewtse9cq.js} +17 -17
  138. package/dist/chunks/{workspace-f7djnycc.js → vcs-f0xae989.js} +15 -15
  139. package/dist/chunks/{workspace-yx53t0r1.js → vcs-f47ks197.js} +21 -21
  140. package/dist/chunks/{workspace-hpew3xwe.js → vcs-f501bh8q.js} +1 -1
  141. package/dist/chunks/{workspace-zymwz594.js → vcs-f6mdpyt7.js} +47 -47
  142. package/dist/chunks/{workspace-axm728m5.js → vcs-f7f62ppg.js} +41 -41
  143. package/dist/chunks/{workspace-f828m53h.js → vcs-f828m53h.js} +2 -2
  144. package/dist/chunks/{workspace-gy8jtxss.js → vcs-fmb18yvb.js} +18 -18
  145. package/dist/chunks/{workspace-qz49fwgp.js → vcs-fng9e0je.js} +6 -6
  146. package/dist/chunks/{workspace-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{workspace-a46v4e4v.js → vcs-g8d3gcyj.js} +7 -7
  148. package/dist/chunks/{workspace-f32czd11.js → vcs-g8jasmdt.js} +11 -11
  149. package/dist/chunks/{workspace-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{workspace-7yg3y2sd.js → vcs-gkpeh6zm.js} +11 -11
  151. package/dist/chunks/{workspace-9v1v9bph.js → vcs-gqf37yrc.js} +4 -4
  152. package/dist/chunks/{workspace-x9m6b332.js → vcs-grhn0qhx.js} +5 -5
  153. package/dist/chunks/{workspace-yf10kn3d.js → vcs-gs4tkc79.js} +8 -8
  154. package/dist/chunks/{workspace-9zmsvm50.js → vcs-gtmm17wr.js} +24 -24
  155. package/dist/chunks/{workspace-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{workspace-5bkw2dcb.js → vcs-h1smzm8e.js} +9 -9
  157. package/dist/chunks/{workspace-v9bkd1yb.js → vcs-h3emgna1.js} +21 -21
  158. package/dist/chunks/{workspace-h6r3nrb9.js → vcs-h6r3nrb9.js} +1 -1
  159. package/dist/chunks/{workspace-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{workspace-tx1r3w21.js → vcs-hh877wqm.js} +10 -10
  161. package/dist/chunks/{workspace-txw29g1t.js → vcs-hn09sy8b.js} +4 -4
  162. package/dist/chunks/{workspace-hnr5yq9h.js → vcs-hnr5yq9h.js} +2 -2
  163. package/dist/chunks/{workspace-7h57f7d7.js → vcs-hy8nah29.js} +35 -35
  164. package/dist/chunks/{workspace-whtf8zfp.js → vcs-j0c0jrrq.js} +9 -9
  165. package/dist/chunks/{workspace-j56e64zr.js → vcs-j56e64zr.js} +1 -1
  166. package/dist/chunks/{workspace-m1xzdp0d.js → vcs-ja7awhpc.js} +21 -21
  167. package/dist/chunks/{workspace-5epte933.js → vcs-jexxy024.js} +3 -3
  168. package/dist/chunks/{workspace-cskcxkdr.js → vcs-jfmt6x2y.js} +11 -11
  169. package/dist/chunks/{workspace-6qa9hb0h.js → vcs-jg9pn0ks.js} +16 -16
  170. package/dist/chunks/{workspace-eatsc6yh.js → vcs-jqgys1dy.js} +10 -10
  171. package/dist/chunks/{workspace-ersf5sn4.js → vcs-jspmbzq8.js} +10 -10
  172. package/dist/chunks/{workspace-qby9dwvd.js → vcs-k1gkpfdk.js} +8 -8
  173. package/dist/chunks/{workspace-pm8erawn.js → vcs-kbxs9t8f.js} +11 -11
  174. package/dist/chunks/{workspace-zn2rtdne.js → vcs-krjf62r2.js} +6 -6
  175. package/dist/chunks/{workspace-64prggvs.js → vcs-krw5nhfk.js} +33 -33
  176. package/dist/chunks/{workspace-zcaw5wve.js → vcs-kt8hxg6p.js} +16 -16
  177. package/dist/chunks/{workspace-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{workspace-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{workspace-sx7xb6j6.js → vcs-mgj4p8m4.js} +14 -14
  180. package/dist/chunks/{workspace-vkt5fbj2.js → vcs-mm5kxf07.js} +8 -8
  181. package/dist/chunks/{workspace-k9kj6xed.js → vcs-mmr7bq34.js} +4 -4
  182. package/dist/chunks/{workspace-6ky7efr6.js → vcs-mn77zb4p.js} +70 -70
  183. package/dist/chunks/{workspace-8vabvz82.js → vcs-mp0zv96f.js} +13 -13
  184. package/dist/chunks/{workspace-p0ar7mqv.js → vcs-mqxthytd.js} +11 -11
  185. package/dist/chunks/{workspace-95aphakr.js → vcs-mxqk8fax.js} +8 -8
  186. package/dist/chunks/{workspace-6bstxtt3.js → vcs-n2havasm.js} +13 -13
  187. package/dist/chunks/{workspace-vs1j1ez4.js → vcs-n64bhgvh.js} +11 -11
  188. package/dist/chunks/{workspace-438fgj0f.js → vcs-ncne3zzx.js} +20 -20
  189. package/dist/chunks/{workspace-bsfgxy3a.js → vcs-nehsc8qp.js} +8 -8
  190. package/dist/chunks/{workspace-bdqrk2vk.js → vcs-nkcwakxz.js} +6 -6
  191. package/dist/chunks/{workspace-xk747vep.js → vcs-nq7qbqzc.js} +9 -9
  192. package/dist/chunks/{workspace-cq01mcjf.js → vcs-nw28za41.js} +84 -84
  193. package/dist/chunks/{workspace-4zvygart.js → vcs-nxf13baa.js} +8 -8
  194. package/dist/chunks/{workspace-nzks3jc8.js → vcs-nzks3jc8.js} +3 -3
  195. package/dist/chunks/{workspace-p28j5sbe.js → vcs-p28j5sbe.js} +2 -2
  196. package/dist/chunks/{workspace-d2aac7k2.js → vcs-p44d8wdy.js} +5 -5
  197. package/dist/chunks/{workspace-j04hx8st.js → vcs-p5tk2x4g.js} +2 -2
  198. package/dist/chunks/{workspace-xtn5wpmn.js → vcs-pdx9bhth.js} +11 -11
  199. package/dist/chunks/{workspace-9hn6k4tm.js → vcs-phstrbs2.js} +8 -8
  200. package/dist/chunks/{workspace-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{workspace-pknna89w.js → vcs-pknna89w.js} +1 -1
  202. package/dist/chunks/{workspace-vd7ypez6.js → vcs-pkr90xzg.js} +7 -7
  203. package/dist/chunks/{workspace-jprse0xe.js → vcs-pxp43rx9.js} +25 -25
  204. package/dist/chunks/{workspace-zetnz1cj.js → vcs-pyds7pwm.js} +3 -3
  205. package/dist/chunks/{workspace-9403nfm7.js → vcs-pzk07e2t.js} +32 -32
  206. package/dist/chunks/{workspace-9zdcna1n.js → vcs-q29hs5tk.js} +22 -22
  207. package/dist/chunks/{workspace-yga8c4n1.js → vcs-q6f7adkm.js} +12 -12
  208. package/dist/chunks/{workspace-2aftd3a2.js → vcs-qa1eq3gf.js} +3 -3
  209. package/dist/chunks/{workspace-2qmapw28.js → vcs-qagsqzqe.js} +16 -16
  210. package/dist/chunks/vcs-qapv375x.js +4 -0
  211. package/dist/chunks/{workspace-qwv4fpqw.js → vcs-qdpmgmct.js} +10 -10
  212. package/dist/chunks/{workspace-7dqw4kz8.js → vcs-qgn6gcr1.js} +5 -5
  213. package/dist/chunks/{workspace-rjg5g3rw.js → vcs-qmhk62hb.js} +12 -12
  214. package/dist/chunks/{workspace-00jp707z.js → vcs-qnre3gvs.js} +34 -34
  215. package/dist/chunks/{workspace-xfkkasph.js → vcs-qqeeq2t9.js} +7 -7
  216. package/dist/chunks/{workspace-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  217. package/dist/chunks/{workspace-crf141y6.js → vcs-qw1bjgpz.js} +24 -24
  218. package/dist/chunks/{workspace-ptx7r7w6.js → vcs-qx03bd0a.js} +11 -11
  219. package/dist/chunks/{workspace-1bbkgx8g.js → vcs-r5x6zcsm.js} +3 -3
  220. package/dist/chunks/{workspace-1acjjqhc.js → vcs-r8xr0va3.js} +4 -4
  221. package/dist/chunks/{workspace-0rvp7ahq.js → vcs-ra3bs4fs.js} +20 -20
  222. package/dist/chunks/{workspace-jn6zj5k7.js → vcs-raj0fffq.js} +18 -18
  223. package/dist/chunks/{workspace-x57r3cf8.js → vcs-rbrcjd28.js} +17 -17
  224. package/dist/chunks/{workspace-brpd6fv5.js → vcs-rd68j2my.js} +24 -24
  225. package/dist/chunks/{workspace-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
  226. package/dist/chunks/vcs-rgevtwgf.js +26 -0
  227. package/dist/chunks/{workspace-rhjbct0v.js → vcs-rhjbct0v.js} +1 -1
  228. package/dist/chunks/{workspace-5yyt2gzp.js → vcs-rvmg0ahe.js} +1 -1
  229. package/dist/chunks/{workspace-zav06jzw.js → vcs-rwm5vee1.js} +4 -4
  230. package/dist/chunks/{workspace-egm44ayq.js → vcs-s8a7esdq.js} +15 -15
  231. package/dist/chunks/{workspace-hby81b9r.js → vcs-sj4zt4zs.js} +5 -5
  232. package/dist/chunks/{workspace-gmqh62m1.js → vcs-sk41x0qc.js} +16 -16
  233. package/dist/chunks/{workspace-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{workspace-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{workspace-tdstcens.js → vcs-tdstcens.js} +1 -1
  236. package/dist/chunks/{workspace-mzkzf2w3.js → vcs-tdvtfxdy.js} +10 -10
  237. package/dist/chunks/{workspace-tvtrv512.js → vcs-tvtrv512.js} +1 -1
  238. package/dist/chunks/{workspace-1kzq6qnm.js → vcs-tzjwyy45.js} +6 -6
  239. package/dist/chunks/{workspace-5nzaa539.js → vcs-v00wb7q9.js} +43 -43
  240. package/dist/chunks/{workspace-mbj6r9mg.js → vcs-ve9gaad2.js} +2 -2
  241. package/dist/chunks/{workspace-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  242. package/dist/chunks/{workspace-0x0c0f3f.js → vcs-vm6hw26a.js} +10 -10
  243. package/dist/chunks/{workspace-hq9c8xrb.js → vcs-vmact3ma.js} +26 -26
  244. package/dist/chunks/{workspace-607q5haz.js → vcs-vy4zg7qh.js} +5 -5
  245. package/dist/chunks/{workspace-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{workspace-ezqe822v.js → vcs-w12svhvm.js} +41 -41
  247. package/dist/chunks/{workspace-hcpextjt.js → vcs-w3aqdajt.js} +13 -13
  248. package/dist/chunks/{workspace-szgj26xm.js → vcs-w3nmmr0q.js} +2 -2
  249. package/dist/chunks/{workspace-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{workspace-mksgfzgs.js → vcs-w6dttbvj.js} +6 -6
  251. package/dist/chunks/{workspace-wd87259q.js → vcs-wd87259q.js} +1 -1
  252. package/dist/chunks/{workspace-bh6xnkn8.js → vcs-wgtgqmgr.js} +320 -320
  253. package/dist/chunks/{workspace-vrxn6v33.js → vcs-wh2pd5f7.js} +82 -82
  254. package/dist/chunks/{workspace-yemygy56.js → vcs-wq8d43zf.js} +26 -26
  255. package/dist/chunks/{workspace-77g3a63m.js → vcs-wqys0xwa.js} +13 -13
  256. package/dist/chunks/{workspace-en5ms791.js → vcs-wrka22zr.js} +22 -22
  257. package/dist/chunks/{workspace-ay0gn1a8.js → vcs-wv50yr5g.js} +43 -43
  258. package/dist/chunks/{workspace-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{workspace-vjz8een3.js → vcs-x2rjr4y2.js} +23 -23
  260. package/dist/chunks/{workspace-mvfdckk2.js → vcs-x8cycxf4.js} +6 -6
  261. package/dist/chunks/{workspace-g652nsve.js → vcs-xcckkd32.js} +22 -22
  262. package/dist/chunks/{workspace-xhxcwzqv.js → vcs-xd4kzs7n.js} +6 -6
  263. package/dist/chunks/{workspace-0tmgye68.js → vcs-xdrba4jw.js} +9 -9
  264. package/dist/chunks/{workspace-wc444ph0.js → vcs-xfja6ssk.js} +15 -15
  265. package/dist/chunks/{workspace-42em1327.js → vcs-xp7fz8rg.js} +28 -28
  266. package/dist/chunks/{workspace-4vv2c1zf.js → vcs-xta7qcpj.js} +11 -11
  267. package/dist/chunks/{workspace-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{workspace-8ykdne12.js → vcs-y2swddp5.js} +12 -12
  269. package/dist/chunks/{workspace-wj557cjd.js → vcs-y307swq8.js} +10 -10
  270. package/dist/chunks/{workspace-vpv31xpv.js → vcs-y30evbxf.js} +4 -4
  271. package/dist/chunks/{workspace-yz5wbtz1.js → vcs-y36f9vsb.js} +20 -20
  272. package/dist/chunks/{workspace-dpkg50ah.js → vcs-y71avatq.js} +4 -4
  273. package/dist/chunks/{workspace-yv13jgjp.js → vcs-ybhbtxjg.js} +9 -9
  274. package/dist/chunks/{workspace-915kganc.js → vcs-yf18nbwz.js} +19 -19
  275. package/dist/chunks/{workspace-vh4jega5.js → vcs-ypk83nm1.js} +4 -4
  276. package/dist/chunks/{workspace-61fvg6ge.js → vcs-ypyq0fq8.js} +3 -3
  277. package/dist/chunks/{workspace-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{workspace-s4enseaf.js → vcs-yrznvahk.js} +2 -2
  279. package/dist/chunks/{workspace-hbyhqfhs.js → vcs-yt3hy1g9.js} +5 -5
  280. package/dist/chunks/{workspace-7s2tn799.js → vcs-yvvvp4gn.js} +8 -8
  281. package/dist/chunks/{workspace-9rcspwcs.js → vcs-yzrxx1hs.js} +29 -29
  282. package/dist/chunks/{workspace-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{workspace-29x78va6.js → vcs-z63w68vq.js} +6 -6
  284. package/dist/chunks/{workspace-cwp5p4t3.js → vcs-z7syg6j7.js} +26 -26
  285. package/dist/chunks/{workspace-05jrxfe9.js → vcs-zamycwzx.js} +16 -16
  286. package/dist/chunks/{workspace-4t3xng2k.js → vcs-ze01d2sn.js} +33 -33
  287. package/dist/chunks/{workspace-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{workspace-ts2x07a1.js → vcs-zhq6vg7a.js} +1 -1
  289. package/dist/chunks/{workspace-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{workspace-fnxvy9mq.js → vcs-zvdcdv1n.js} +23 -23
  291. package/dist/chunks/{workspace-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +84 -84
  297. package/dist/config/discovery.js +81 -81
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +105 -105
  300. package/dist/config/plugin/agent.js +124 -124
  301. package/dist/config/plugin/command.js +213 -213
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +140 -140
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +123 -123
  306. package/dist/config/plugin/image.js +122 -122
  307. package/dist/config/plugin/instruction.js +89 -89
  308. package/dist/config/plugin/location-watcher.js +122 -122
  309. package/dist/config/plugin/mcp.js +131 -131
  310. package/dist/config/plugin/policy.js +123 -123
  311. package/dist/config/plugin/provider.js +122 -122
  312. package/dist/config/plugin/reference.js +124 -124
  313. package/dist/config/plugin/shell.js +122 -122
  314. package/dist/config/plugin/skill-file.js +101 -101
  315. package/dist/config/plugin/skill.js +143 -143
  316. package/dist/config/plugin/snapshot.js +122 -122
  317. package/dist/config/plugin/source.js +123 -123
  318. package/dist/config/plugin/tool-output.js +124 -124
  319. package/dist/config/plugin/websearch.js +121 -121
  320. package/dist/config/plugin/worktree.js +124 -124
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +127 -127
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +76 -76
  326. package/dist/database/database.js +65 -65
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration.gen.js +48 -48
  391. package/dist/database/migration.js +50 -50
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +75 -75
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +92 -92
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +94 -94
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +69 -69
  415. package/dist/file-access.js +103 -103
  416. package/dist/file-mutation.js +93 -93
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +224 -224
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +96 -96
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +99 -99
  431. package/dist/form.js +73 -73
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +86 -86
  434. package/dist/generate.js +102 -102
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +98 -98
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +360 -360
  460. package/dist/instruction-discovery.js +84 -84
  461. package/dist/instructions/builtins.js +86 -86
  462. package/dist/instructions/index.js +1 -1
  463. package/dist/integration/connection.js +1 -1
  464. package/dist/integration.js +79 -79
  465. package/dist/job.js +78 -78
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +72 -72
  468. package/dist/location-activity.js +131 -131
  469. package/dist/location-lifecycle.js +105 -105
  470. package/dist/location-mutation.js +103 -103
  471. package/dist/location-service-map.js +85 -85
  472. package/dist/location-services.js +357 -357
  473. package/dist/location.js +80 -80
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +90 -90
  476. package/dist/mcp/index.js +99 -99
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +77 -77
  479. package/dist/mcp/stdio.js +89 -89
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +98 -98
  482. package/dist/model-resolver.js +97 -97
  483. package/dist/model.js +101 -101
  484. package/dist/models-dev.js +98 -98
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +79 -79
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +114 -114
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +79 -79
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +74 -74
  494. package/dist/plugin/agent.js +103 -103
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/compaction.js +132 -132
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +217 -217
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +331 -331
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +95 -95
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +101 -101
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  509. package/dist/plugin/provider/azure.js +121 -121
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +118 -118
  515. package/dist/plugin/provider/digitalocean.js +92 -92
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +92 -92
  520. package/dist/plugin/provider/gitlab.js +90 -90
  521. package/dist/plugin/provider/google-vertex.js +89 -89
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +76 -76
  524. package/dist/plugin/provider/lmstudio.js +121 -121
  525. package/dist/plugin/provider/modal.js +91 -91
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +121 -121
  528. package/dist/plugin/provider/openai.js +91 -91
  529. package/dist/plugin/provider/opencode.js +93 -93
  530. package/dist/plugin/provider/openrouter.js +90 -90
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +77 -77
  533. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  534. package/dist/plugin/provider/sap-ai-core.js +90 -90
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +89 -89
  539. package/dist/plugin/provider/vllm.js +121 -121
  540. package/dist/plugin/provider/xai.js +90 -90
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +159 -159
  543. package/dist/plugin/sdk.js +75 -75
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +140 -140
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +85 -85
  551. package/dist/plugin/vcs/hg.js +85 -85
  552. package/dist/plugin/warming.js +120 -120
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +6 -6
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +228 -228
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +79 -79
  564. package/dist/provider.js +92 -92
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +95 -95
  569. package/dist/reference/instructions.js +88 -88
  570. package/dist/reference.js +90 -90
  571. package/dist/repository-cache.js +80 -80
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +94 -94
  575. package/dist/rpc.js +85 -85
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +73 -73
  578. package/dist/session/compaction.js +131 -131
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +87 -87
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +220 -220
  585. package/dist/session/execution.js +127 -127
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +89 -89
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +78 -78
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +96 -96
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +129 -129
  598. package/dist/session/projector.js +85 -85
  599. package/dist/session/prompt.js +104 -104
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +89 -89
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +230 -230
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +97 -97
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +113 -113
  609. package/dist/session/runner/step.js +125 -125
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +171 -171
  613. package/dist/session/shell.js +137 -137
  614. package/dist/session/skill.js +102 -102
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +72 -72
  617. package/dist/session/store.js +84 -84
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +209 -209
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +155 -155
  622. package/dist/session/to-session-error.js +110 -110
  623. package/dist/session/transfer.js +213 -213
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +215 -215
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +15 -15
  630. package/dist/shell.js +139 -139
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +106 -106
  633. package/dist/skill.js +109 -109
  634. package/dist/snapshot.js +92 -92
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +124 -124
  639. package/dist/tool/plugin/edit.js +119 -119
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +123 -123
  642. package/dist/tool/plugin/grep.js +123 -123
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +121 -121
  645. package/dist/tool/plugin/question.js +100 -100
  646. package/dist/tool/plugin/read.js +122 -122
  647. package/dist/tool/plugin/shell.js +214 -214
  648. package/dist/tool/plugin/skill.js +106 -106
  649. package/dist/tool/plugin/subagent.js +210 -210
  650. package/dist/tool/plugin/webfetch.js +111 -111
  651. package/dist/tool/plugin/websearch.js +107 -107
  652. package/dist/tool/plugin/write.js +121 -121
  653. package/dist/tool/read-filesystem.js +97 -97
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +4 -4
  671. package/dist/v1/config/formatter.js +5 -5
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +91 -91
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +2 -2
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +90 -90
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +88 -88
  686. package/dist/websearch.js +79 -79
  687. package/dist/wellknown/plugin.js +75 -75
  688. package/dist/wellknown.js +80 -80
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +77 -77
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +88 -88
  696. package/dist/worktree.js +95 -95
  697. package/package.json +8 -8
  698. package/dist/chunks/workspace-0mesazry.js +0 -4
  699. package/dist/chunks/workspace-2a7ewa7q.js +0 -26
  700. package/dist/chunks/workspace-nt2g1hn6.js +0 -252
  701. package/dist/chunks/workspace-vkrew15q.js +0 -18
  702. /package/dist/chunks/{workspace-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{workspace-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{workspace-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{workspace-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{workspace-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{workspace-24dcb14g.js → vcs-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{workspace-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{workspace-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{workspace-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{workspace-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{workspace-3asan66x.js → vcs-3asan66x.js} +0 -0
  713. /package/dist/chunks/{workspace-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{workspace-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{workspace-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{workspace-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{workspace-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{workspace-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{workspace-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{workspace-53557ph1.js → vcs-53557ph1.js} +0 -0
  721. /package/dist/chunks/{workspace-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{workspace-6prwharc.js → vcs-6prwharc.js} +0 -0
  723. /package/dist/chunks/{workspace-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{workspace-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{workspace-822emrt2.js → vcs-822emrt2.js} +0 -0
  726. /package/dist/chunks/{workspace-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{workspace-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{workspace-922hggd3.js → vcs-922hggd3.js} +0 -0
  729. /package/dist/chunks/{workspace-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{workspace-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{workspace-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{workspace-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{workspace-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{workspace-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{workspace-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{workspace-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{workspace-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{workspace-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{workspace-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{workspace-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{workspace-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{workspace-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{workspace-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{workspace-df08tz66.js → vcs-df08tz66.js} +0 -0
  745. /package/dist/chunks/{workspace-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{workspace-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{workspace-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{workspace-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{workspace-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{workspace-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{workspace-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{workspace-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{workspace-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{workspace-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{workspace-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{workspace-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{workspace-g86h250q.js → vcs-g86h250q.js} +0 -0
  758. /package/dist/chunks/{workspace-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{workspace-gftt206x.js → vcs-gftt206x.js} +0 -0
  760. /package/dist/chunks/{workspace-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{workspace-hk9envan.js → vcs-hk9envan.js} +0 -0
  762. /package/dist/chunks/{workspace-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{workspace-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{workspace-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{workspace-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{workspace-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{workspace-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{workspace-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{workspace-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{workspace-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{workspace-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{workspace-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{workspace-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{workspace-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{workspace-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{workspace-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{workspace-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{workspace-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{workspace-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{workspace-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{workspace-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{workspace-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{workspace-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{workspace-twg0f83k.js → vcs-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{workspace-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{workspace-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{workspace-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{workspace-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{workspace-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{workspace-x61499pn.js → vcs-x61499pn.js} +0 -0
  791. /package/dist/chunks/{workspace-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{workspace-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{workspace-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{workspace-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{workspace-ym463w8f.js → vcs-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{workspace-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./workspace-922hggd3.js";
4
+ } from "./vcs-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./workspace-607q5haz.js";
10
+ } from "./vcs-vy4zg7qh.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./workspace-j04hx8st.js";
14
+ } from "./vcs-p5tk2x4g.js";
15
15
  import {
16
16
  create3
17
- } from "./workspace-rdw6cm16.js";
17
+ } from "./vcs-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./workspace-9rqn6x4v.js";
20
+ } from "./vcs-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID9,
27
- Service: () => Service59,
25
+ Error: () => Error3,
26
+ ID: () => ID5,
27
+ Service: () => Service38,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node62,
30
- noopLayer: () => noopLayer3
29
+ node: () => node41,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID9 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service59 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service38 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service59, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID9.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node62 = makeLocationNode({
144
- service: Service59,
143
+ var node41 = makeLocationNode({
144
+ service: Service38,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service59, Service59.of({
148
+ var noopLayer2 = Layer.succeed(Service38, Service38.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID9, Error4, Service59, node62, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error3, Service38, node41, noopLayer2, exports_snapshot2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service72,
3
- node76
4
- } from "./workspace-42em1327.js";
2
+ Service40,
3
+ node43
4
+ } from "./vcs-xp7fz8rg.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
8
  make20,
9
9
  diffByKey2
10
- } from "./workspace-rhjbct0v.js";
10
+ } from "./vcs-rhjbct0v.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./vcs-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions2 = {};
17
- __export(exports_instructions2, {
18
- ReferenceInstructions: () => exports_instructions2,
19
- Service: () => Service33,
20
- node: () => node37
16
+ var exports_instructions3 = {};
17
+ __export(exports_instructions3, {
18
+ ReferenceInstructions: () => exports_instructions3,
19
+ Service: () => Service32,
20
+ node: () => node36
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service33 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service32 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service33, Effect.gen(function* () {
63
- const references = yield* Service72;
64
- return Service33.of({
62
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
63
+ const references = yield* Service40;
64
+ return Service32.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node37 = makeLocationNode({ service: Service33, layer, deps: [node76] });
84
+ var node36 = makeLocationNode({ service: Service32, layer, deps: [node43] });
85
85
 
86
- export { Service33, node37, exports_instructions2 };
86
+ export { Service32, node36, exports_instructions3 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./workspace-2a5m3afh.js";
3
+ } from "./vcs-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./workspace-922hggd3.js";
6
+ } from "./vcs-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./workspace-j04hx8st.js";
9
+ } from "./vcs-p5tk2x4g.js";
10
10
  import {
11
- Service65
12
- } from "./workspace-v9bkd1yb.js";
11
+ Service58
12
+ } from "./vcs-h3emgna1.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service21
16
- } from "./workspace-nhkza4qs.js";
15
+ Service17
16
+ } from "./vcs-77n73x0z.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./workspace-yx53t0r1.js";
23
+ } from "./vcs-f47ks197.js";
24
24
  import {
25
- Service55
26
- } from "./workspace-1y9dt3g7.js";
25
+ Service65
26
+ } from "./vcs-21jmns5z.js";
27
27
  import {
28
- Service22
29
- } from "./workspace-f7djnycc.js";
28
+ Service24
29
+ } from "./vcs-f0xae989.js";
30
30
  import {
31
31
  __export
32
- } from "./workspace-9rqn6x4v.js";
32
+ } from "./vcs-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input8,
39
- Output: () => Output6,
40
- Plugin: () => Plugin26,
41
- name: () => name8,
42
- toModelContent: () => toModelContent4
38
+ Input: () => Input11,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin12,
41
+ name: () => name11,
42
+ toModelContent: () => toModelContent5
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name8 = "grep";
48
- var Input8 = Schema.Struct({
47
+ var name11 = "grep";
48
+ var Input11 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output6 = Schema.Array(Match2);
69
- var toModelContent4 = (matches, truncated = false) => {
68
+ var Output7 = Schema.Array(Match2);
69
+ var toModelContent5 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin26 = {
86
+ var Plugin12 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service65;
90
- const ripgrep = yield* Service21;
89
+ const environment = yield* Service58;
90
+ const ripgrep = yield* Service17;
91
91
  const location = yield* Service80;
92
- const access = yield* Service22;
93
- const permission = yield* Service55;
92
+ const access = yield* Service24;
93
+ const permission = yield* Service65;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name8,
95
+ name: name11,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input8,
99
- output: Output6,
98
+ input: Input11,
99
+ output: Output7,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name8,
105
+ action: name11,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin26 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent4(result.matches.map((match) => ({
147
+ content: toModelContent5(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin26 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name8, Input8, Output6, toModelContent4, Plugin26, exports_grep };
157
+ export { name11, Input11, Output7, toModelContent5, Plugin12, exports_grep };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./vcs-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./workspace-csf2jhsg.js";
4
+ } from "./vcs-5c0f1prt.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./workspace-p7gtrmqp.js";
4
+ } from "./vcs-73sq42y9.js";
5
5
  import {
6
6
  Service37,
7
- node41
8
- } from "./workspace-fb08vzds.js";
7
+ node40
8
+ } from "./vcs-8vbzfqqc.js";
9
9
  import {
10
- Service55,
11
- node58
12
- } from "./workspace-1y9dt3g7.js";
10
+ Service65,
11
+ node69
12
+ } from "./vcs-21jmns5z.js";
13
13
  import {
14
- Service42,
15
- node46
16
- } from "./workspace-crf141y6.js";
14
+ Service39,
15
+ node42
16
+ } from "./vcs-qw1bjgpz.js";
17
17
  import {
18
18
  __export
19
- } from "./workspace-9rqn6x4v.js";
19
+ } from "./vcs-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service36,
26
- layer: () => layer13,
25
+ Service: () => Service30,
26
+ layer: () => layer12,
27
27
  name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node40
29
+ node: () => node33
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service36 extends Context.Service()("@opencode/McpTool") {
38
+ class Service30 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service36, Effect.gen(function* () {
40
+ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
41
41
  const mcp = yield* Service37;
42
- const tools = yield* Service42;
42
+ const tools = yield* Service39;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service55;
44
+ const permission = yield* Service65;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service36, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service36.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service30.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node40 = makeLocationNode({
124
- service: Service36,
125
- layer: layer13,
126
- deps: [node46, node41, node87, node58]
123
+ var node33 = makeLocationNode({
124
+ service: Service30,
125
+ layer: layer12,
126
+ deps: [node42, node40, node87, node69]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service36, layer13, node40, exports_mcp3 };
129
+ export { namespace2, name13, Service30, layer12, node33, exports_mcp3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -4,7 +4,7 @@ import {
4
4
  summarize2,
5
5
  namespaceLine2,
6
6
  exports_catalog
7
- } from "../chunks/workspace-3fc6dm20.js";
7
+ } from "../chunks/vcs-3fc6dm20.js";
8
8
  export {
9
9
  exports_catalog as CodeModeCatalog,
10
10
  Summary2 as Summary,
@@ -1,14 +1,14 @@
1
1
  import {
2
- render2,
2
+ render3,
3
3
  update3,
4
4
  make14,
5
- exports_instructions4
6
- } from "../chunks/workspace-37sfe3bm.js";
7
- import"../chunks/workspace-3fc6dm20.js";
8
- import"../chunks/workspace-rhjbct0v.js";
5
+ exports_instructions5
6
+ } from "../chunks/vcs-0mm9aq32.js";
7
+ import"../chunks/vcs-3fc6dm20.js";
8
+ import"../chunks/vcs-rhjbct0v.js";
9
9
  export {
10
- exports_instructions4 as CodeModeInstructions,
10
+ exports_instructions5 as CodeModeInstructions,
11
11
  make14 as make,
12
- render2 as render,
12
+ render3 as render,
13
13
  update3 as update
14
14
  };
@@ -2,9 +2,9 @@ import {
2
2
  create2,
3
3
  catalog2,
4
4
  exports_tool2
5
- } from "../chunks/workspace-nzks3jc8.js";
6
- import"../chunks/workspace-3w5fmr99.js";
7
- import"../chunks/workspace-m3fdjcah.js";
5
+ } from "../chunks/vcs-nzks3jc8.js";
6
+ import"../chunks/vcs-3w5fmr99.js";
7
+ import"../chunks/vcs-m3fdjcah.js";
8
8
  export {
9
9
  exports_tool2 as CodeModeTool,
10
10
  catalog2 as catalog,
@@ -2,7 +2,7 @@ import {
2
2
  extension2,
3
3
  display2,
4
4
  exports_web
5
- } from "../chunks/workspace-m3fdjcah.js";
5
+ } from "../chunks/vcs-m3fdjcah.js";
6
6
  export {
7
7
  exports_web as CodeModeWeb,
8
8
  display2 as display,