@opencode/core 0.0.0-dev-19540 → 0.0.0-dev-19543

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 +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{tool-7690wq37.js → vcs-0134vnbt.js} +6 -6
  9. package/dist/chunks/{tool-t550f9t1.js → vcs-02nrjc1r.js} +8 -8
  10. package/dist/chunks/{tool-71b76pde.js → vcs-05ar9k21.js} +12 -12
  11. package/dist/chunks/{tool-ba3nnyyx.js → vcs-0beevc0q.js} +10 -10
  12. package/dist/chunks/{tool-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{tool-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{tool-4cbqng7e.js → vcs-0z4vcyj9.js} +8 -8
  15. package/dist/chunks/{tool-c74bb4fg.js → vcs-0zqhpepf.js} +290 -290
  16. package/dist/chunks/{tool-m70012hk.js → vcs-11ngpntp.js} +16 -16
  17. package/dist/chunks/{tool-8wagbt41.js → vcs-15zpymrv.js} +25 -25
  18. package/dist/chunks/{tool-1acjjqhc.js → vcs-1acjjqhc.js} +1 -1
  19. package/dist/chunks/{tool-eq1pz5kg.js → vcs-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{tool-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{tool-wadft2hn.js → vcs-1jhwq68e.js} +28 -28
  22. package/dist/chunks/{tool-xk01n904.js → vcs-216091zf.js} +11 -11
  23. package/dist/chunks/{tool-21r38tys.js → vcs-21r38tys.js} +1 -1
  24. package/dist/chunks/{tool-439n1kaq.js → vcs-234dm2bj.js} +2 -2
  25. package/dist/chunks/{tool-2402vzrj.js → vcs-2402vzrj.js} +1 -1
  26. package/dist/chunks/{tool-qnhx320f.js → vcs-2a2n1f8e.js} +9 -9
  27. package/dist/chunks/{tool-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{tool-gs4q6mge.js → vcs-2c706wqc.js} +5 -5
  29. package/dist/chunks/{tool-ds93jj24.js → vcs-2djskdmr.js} +3 -3
  30. package/dist/chunks/{tool-r7h76vv8.js → vcs-2hg3qswx.js} +9 -9
  31. package/dist/chunks/{tool-0jwsre1p.js → vcs-2k8khapm.js} +5 -5
  32. package/dist/chunks/{tool-5cmqm0ev.js → vcs-2kndbphh.js} +6 -6
  33. package/dist/chunks/{tool-awtg3954.js → vcs-2paythm0.js} +36 -33
  34. package/dist/chunks/{tool-8557jav9.js → vcs-2rka0yp2.js} +89 -89
  35. package/dist/chunks/{tool-gg4bq2q4.js → vcs-2zqsmd4h.js} +5 -5
  36. package/dist/chunks/{tool-c8ftv886.js → vcs-36n397ms.js} +10 -10
  37. package/dist/chunks/{tool-6jjd6916.js → vcs-37d2dft6.js} +11 -11
  38. package/dist/chunks/{tool-bajakh74.js → vcs-3c4e3q8d.js} +4 -4
  39. package/dist/chunks/{tool-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{tool-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{tool-kxqpg2a3.js → vcs-3pra5n8k.js} +6 -6
  42. package/dist/chunks/{tool-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{tool-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{tool-k6yq57aq.js → vcs-3yjg5mh2.js} +3 -3
  45. package/dist/chunks/{tool-ee4a09y5.js → vcs-43cgbf58.js} +10 -10
  46. package/dist/chunks/{tool-1jqgrzzt.js → vcs-4840zrk7.js} +8 -8
  47. package/dist/chunks/{tool-rdqxydgw.js → vcs-49ayzkvm.js} +16 -16
  48. package/dist/chunks/{tool-k2dherqe.js → vcs-4b40vsya.js} +1 -1
  49. package/dist/chunks/{tool-brahnmae.js → vcs-4dz39p50.js} +13 -13
  50. package/dist/chunks/{tool-n02csdyp.js → vcs-4e3dqy5p.js} +15 -15
  51. package/dist/chunks/{tool-60cvmy65.js → vcs-4td4y4b3.js} +1 -1
  52. package/dist/chunks/{tool-aedkfdwe.js → vcs-5043qghc.js} +16 -16
  53. package/dist/chunks/{tool-bnxh6nf1.js → vcs-52wk4g8k.js} +25 -25
  54. package/dist/chunks/{tool-r6w0w95m.js → vcs-55qfk59p.js} +25 -25
  55. package/dist/chunks/{tool-70wdtdtz.js → vcs-55rxggf2.js} +70 -70
  56. package/dist/chunks/{tool-33w4ejhs.js → vcs-56gdpj1q.js} +6 -6
  57. package/dist/chunks/{tool-a1bz86dw.js → vcs-5c4hm403.js} +3 -3
  58. package/dist/chunks/{tool-5daktx2q.js → vcs-5daktx2q.js} +1 -1
  59. package/dist/chunks/{tool-s7cmhz1c.js → vcs-5rrcxc33.js} +38 -38
  60. package/dist/chunks/{tool-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{tool-zvsxz435.js → vcs-616b6p7x.js} +16 -16
  62. package/dist/chunks/{tool-669tq793.js → vcs-669tq793.js} +1 -1
  63. package/dist/chunks/{tool-ctgxkhvw.js → vcs-68wdhjxv.js} +10 -10
  64. package/dist/chunks/{tool-2z7ees0g.js → vcs-6cqd20xf.js} +4 -4
  65. package/dist/chunks/{tool-khcc2y7p.js → vcs-6f856eqw.js} +12 -12
  66. package/dist/chunks/{tool-2fvqh1y6.js → vcs-6gxskptp.js} +22 -22
  67. package/dist/chunks/{tool-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{tool-j12s1dt6.js → vcs-6n88yxkj.js} +8 -8
  69. package/dist/chunks/{tool-1c8etqjp.js → vcs-6p5hnz19.js} +7 -7
  70. package/dist/chunks/{tool-0nbbv2dg.js → vcs-6qnngr69.js} +92 -92
  71. package/dist/chunks/{tool-cf4qthmf.js → vcs-6s315dww.js} +22 -22
  72. package/dist/chunks/{tool-kac23fkg.js → vcs-6t11chne.js} +1 -1
  73. package/dist/chunks/{tool-a4s526ga.js → vcs-6yvesre5.js} +23 -23
  74. package/dist/chunks/{tool-52fpbh6z.js → vcs-703jyx7f.js} +8 -8
  75. package/dist/chunks/{tool-71q4at8m.js → vcs-71q4at8m.js} +1 -1
  76. package/dist/chunks/{tool-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{tool-nwa6tt5d.js → vcs-7t19srph.js} +1 -1
  78. package/dist/chunks/{tool-dssyvqwy.js → vcs-7wvtvwa1.js} +35 -35
  79. package/dist/chunks/{tool-k2vvnb2e.js → vcs-7zbr7ykm.js} +27 -27
  80. package/dist/chunks/{tool-0veevydg.js → vcs-817xngw7.js} +30 -30
  81. package/dist/chunks/{tool-k641sm4f.js → vcs-828cj25e.js} +15 -15
  82. package/dist/chunks/{tool-c3nr3a1t.js → vcs-83khedfr.js} +29 -29
  83. package/dist/chunks/{tool-q26tgv94.js → vcs-844ef7ks.js} +8 -8
  84. package/dist/chunks/{tool-ekx6gx0x.js → vcs-84gdrbxj.js} +11 -11
  85. package/dist/chunks/{tool-tcezcvh9.js → vcs-89znhe33.js} +4 -4
  86. package/dist/chunks/{tool-69xwbkdg.js → vcs-8b3yqjbd.js} +26 -26
  87. package/dist/chunks/{tool-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{tool-9j2xpqw0.js → vcs-8xm6sxyw.js} +28 -28
  89. package/dist/chunks/{tool-a694798e.js → vcs-8y31xnqm.js} +5 -5
  90. package/dist/chunks/{tool-wwmkx8c8.js → vcs-91s55bq6.js} +28 -28
  91. package/dist/chunks/{tool-19w2tstg.js → vcs-93s725x3.js} +30 -30
  92. package/dist/chunks/{tool-1r6pjnw8.js → vcs-9488ffsa.js} +13 -13
  93. package/dist/chunks/{tool-nv6sgpkb.js → vcs-980xfpxw.js} +3 -3
  94. package/dist/chunks/{tool-xwzeg4yz.js → vcs-98zj8y75.js} +20 -20
  95. package/dist/chunks/{tool-3c1tgrea.js → vcs-9d375gd6.js} +6 -6
  96. package/dist/chunks/{tool-w8dhyk9b.js → vcs-9hn3y1ap.js} +8 -8
  97. package/dist/chunks/{tool-4fxa00ze.js → vcs-9z91vmsn.js} +11 -11
  98. package/dist/chunks/{tool-pnbgbrcy.js → vcs-a1vsjqdb.js} +35 -35
  99. package/dist/chunks/{tool-e036a9pm.js → vcs-a291kd0j.js} +28 -28
  100. package/dist/chunks/{tool-tpgw4r9p.js → vcs-a81n23zd.js} +17 -17
  101. package/dist/chunks/{tool-aaet6srn.js → vcs-aaet6srn.js} +2 -2
  102. package/dist/chunks/{tool-zv5xthkc.js → vcs-aem37vve.js} +11 -11
  103. package/dist/chunks/{tool-r7x1my69.js → vcs-amqzaqt1.js} +3 -3
  104. package/dist/chunks/{tool-8cwk6cmw.js → vcs-as0n2ynj.js} +9 -9
  105. package/dist/chunks/{tool-gf3w8mcy.js → vcs-b0026ckp.js} +18 -18
  106. package/dist/chunks/{tool-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{tool-1pwvfv87.js → vcs-bh0zfw7e.js} +11 -11
  108. package/dist/chunks/{tool-fvanntqq.js → vcs-bjs2yq5f.js} +6 -6
  109. package/dist/chunks/{tool-11021cf3.js → vcs-bm5daegx.js} +6 -6
  110. package/dist/chunks/{tool-zq6fa2xa.js → vcs-bmvw9q6x.js} +6 -6
  111. package/dist/chunks/{tool-m21k6hwm.js → vcs-bpa8t5yh.js} +15 -15
  112. package/dist/chunks/{tool-ypcyj4th.js → vcs-brk9edbg.js} +16 -16
  113. package/dist/chunks/{tool-gft05b0a.js → vcs-bw0vgseb.js} +8 -8
  114. package/dist/chunks/{tool-ad6yvafe.js → vcs-c1z1xrrm.js} +17 -17
  115. package/dist/chunks/{tool-20m8myk3.js → vcs-c20nmzh2.js} +11 -11
  116. package/dist/chunks/{tool-rms87t6p.js → vcs-c5tvk5z2.js} +20 -20
  117. package/dist/chunks/{tool-3w2b2yj4.js → vcs-c78bbtc9.js} +5 -5
  118. package/dist/chunks/{tool-fgg2p6ky.js → vcs-c7af8brc.js} +11 -11
  119. package/dist/chunks/{tool-w6zk8pbt.js → vcs-ceetf7sw.js} +6 -6
  120. package/dist/chunks/{tool-5vgkaf0c.js → vcs-cpet1atm.js} +22 -22
  121. package/dist/chunks/{tool-qcprappc.js → vcs-cspmbg10.js} +12 -12
  122. package/dist/chunks/{tool-8mxe8k4b.js → vcs-ct2mk1yg.js} +19 -19
  123. package/dist/chunks/{tool-hz30zgkd.js → vcs-cwxby6pr.js} +9 -9
  124. package/dist/chunks/{tool-2syw43ez.js → vcs-cynacfj1.js} +11 -11
  125. package/dist/chunks/{tool-64mbz47k.js → vcs-d7r387ef.js} +6 -6
  126. package/dist/chunks/{tool-4rgwgr9n.js → vcs-d8n99bgq.js} +4 -4
  127. package/dist/chunks/{tool-n96v1vx3.js → vcs-dbnm0m83.js} +15 -15
  128. package/dist/chunks/{tool-ankkda91.js → vcs-de8hzpm7.js} +9 -9
  129. package/dist/chunks/{tool-k9yfmsvc.js → vcs-dg7y2dkj.js} +17 -17
  130. package/dist/chunks/{tool-8p4f9s12.js → vcs-dj2t23y0.js} +2 -2
  131. package/dist/chunks/{tool-7pegcs5y.js → vcs-dkz4h62m.js} +2 -2
  132. package/dist/chunks/{tool-y71avatq.js → vcs-dpkg50ah.js} +4 -4
  133. package/dist/chunks/{tool-kmqmddk0.js → vcs-e10aq1g2.js} +43 -43
  134. package/dist/chunks/{tool-jvhnejfk.js → vcs-e46che4h.js} +20 -20
  135. package/dist/chunks/{tool-q0x9hp0x.js → vcs-e4a1y780.js} +32 -32
  136. package/dist/chunks/{tool-e5nv3ght.js → vcs-e5nv3ght.js} +2 -2
  137. package/dist/chunks/{tool-6ba819az.js → vcs-eaqgtc5s.js} +26 -23
  138. package/dist/chunks/{tool-9h7qzzke.js → vcs-eaqy37er.js} +24 -24
  139. package/dist/chunks/{tool-sbshw81j.js → vcs-eb812gk8.js} +31 -31
  140. package/dist/chunks/{tool-wrzcwb32.js → vcs-ebkg1v6v.js} +13 -13
  141. package/dist/chunks/{tool-9me22cbr.js → vcs-edk817rf.js} +24 -24
  142. package/dist/chunks/{tool-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{tool-q8445bg1.js → vcs-exmh4txv.js} +25 -25
  144. package/dist/chunks/{tool-m7xke3eb.js → vcs-eykm7ns6.js} +32 -32
  145. package/dist/chunks/{tool-fvgvh3wz.js → vcs-ez3gzyzp.js} +11 -11
  146. package/dist/chunks/{tool-gq3a5xex.js → vcs-f3mbegaz.js} +44 -41
  147. package/dist/chunks/{tool-0996nyz8.js → vcs-f7ehr2sm.js} +5 -5
  148. package/dist/chunks/{tool-kdv4badm.js → vcs-f7tv3h97.js} +5 -5
  149. package/dist/chunks/{tool-rfsjamy2.js → vcs-fq0pc14n.js} +28 -28
  150. package/dist/chunks/{tool-700r65qt.js → vcs-ftxa5p30.js} +173 -173
  151. package/dist/chunks/{tool-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{tool-ngwpnmm2.js → vcs-fxfn3sht.js} +6 -6
  153. package/dist/chunks/{tool-mbeywexs.js → vcs-g6ddfetr.js} +5 -5
  154. package/dist/chunks/{tool-0bqxz2km.js → vcs-g9k78q3y.js} +32 -32
  155. package/dist/chunks/{tool-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{tool-h7pjjeb1.js → vcs-ger25q1p.js} +5 -5
  157. package/dist/chunks/{tool-g4qfqx3z.js → vcs-gg85ze80.js} +29 -29
  158. package/dist/chunks/{tool-f9m0bqsz.js → vcs-gmttzzga.js} +22 -22
  159. package/dist/chunks/{tool-8cdvd9z3.js → vcs-gq3r9j4n.js} +15 -15
  160. package/dist/chunks/{tool-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{tool-h03wrkyp.js → vcs-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{tool-5wj1bc2b.js → vcs-h467qvvw.js} +4 -4
  163. package/dist/chunks/{tool-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{tool-zzd04jwc.js → vcs-h7v99hnd.js} +32 -32
  165. package/dist/chunks/{tool-m86bnw2c.js → vcs-h7ygw6q4.js} +9 -9
  166. package/dist/chunks/{tool-f828m53h.js → vcs-hdnk95c8.js} +2 -2
  167. package/dist/chunks/{tool-hjt4xg1x.js → vcs-hjt4xg1x.js} +1 -1
  168. package/dist/chunks/{tool-e6hmchc5.js → vcs-hnr5yq9h.js} +5 -5
  169. package/dist/chunks/{tool-hrvd6t1f.js → vcs-hrvd6t1f.js} +2 -2
  170. package/dist/chunks/{tool-ppbs3dgs.js → vcs-hste9311.js} +26 -26
  171. package/dist/chunks/{tool-hav2x4nq.js → vcs-hvb5q4dy.js} +4 -4
  172. package/dist/chunks/{tool-7wcy2j48.js → vcs-hypq3x55.js} +13 -13
  173. package/dist/chunks/{tool-khyy3z7c.js → vcs-j4yw7sy1.js} +38 -38
  174. package/dist/chunks/{tool-k581jmxz.js → vcs-j4zt4cj1.js} +18 -18
  175. package/dist/chunks/{tool-j56e64zr.js → vcs-j56e64zr.js} +1 -1
  176. package/dist/chunks/{tool-bct739vz.js → vcs-j83byb14.js} +4 -4
  177. package/dist/chunks/{tool-smznf5zv.js → vcs-jjawnr8d.js} +9 -9
  178. package/dist/chunks/{tool-9tmrnrc3.js → vcs-jtcfhw3c.js} +18 -18
  179. package/dist/chunks/{tool-aax1h56x.js → vcs-k04vznwt.js} +1 -1
  180. package/dist/chunks/{tool-jw80jp6b.js → vcs-k2h4r4s0.js} +4 -4
  181. package/dist/chunks/{tool-tgyrx776.js → vcs-k5xy40wg.js} +19 -19
  182. package/dist/chunks/{tool-zmjtvdmj.js → vcs-k90zknc5.js} +16 -16
  183. package/dist/chunks/{tool-qvkbe7wj.js → vcs-kes4sneg.js} +27 -27
  184. package/dist/chunks/{tool-kg06axw8.js → vcs-kg06axw8.js} +1 -1
  185. package/dist/chunks/{tool-7j0r01e2.js → vcs-kjg951ap.js} +59 -59
  186. package/dist/chunks/{tool-cfpkc3c9.js → vcs-m0jqrx5p.js} +2 -2
  187. package/dist/chunks/vcs-m4jhp7qn.js +247 -0
  188. package/dist/chunks/{tool-hn57h045.js → vcs-m70sbz6t.js} +4 -4
  189. package/dist/chunks/{tool-xgfrx0dg.js → vcs-m78yv3jq.js} +18 -18
  190. package/dist/chunks/{tool-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{tool-0r9sq1ay.js → vcs-mfbd497n.js} +10 -10
  192. package/dist/chunks/{tool-2vnwx32a.js → vcs-mgx963cj.js} +8 -8
  193. package/dist/chunks/{tool-dmpv135r.js → vcs-mpbm1spn.js} +47 -47
  194. package/dist/chunks/{tool-v5dkyp31.js → vcs-mtq6xxnx.js} +7 -7
  195. package/dist/chunks/vcs-myzk5n2s.js +26 -0
  196. package/dist/chunks/{tool-enccs5rm.js → vcs-n57pa20n.js} +30 -30
  197. package/dist/chunks/{tool-hq9kk1eh.js → vcs-nh7zbcx6.js} +5 -5
  198. package/dist/chunks/{tool-k7hfcg7n.js → vcs-np3n7n3n.js} +23 -23
  199. package/dist/chunks/{tool-hz62r41k.js → vcs-nqp91hg0.js} +49 -49
  200. package/dist/chunks/{tool-kaypvkzz.js → vcs-ntqwm10a.js} +18 -18
  201. package/dist/chunks/{tool-n89ph4ha.js → vcs-ntrrvapb.js} +9 -9
  202. package/dist/chunks/{tool-7xmcpp5k.js → vcs-nvmga65c.js} +1 -1
  203. package/dist/chunks/{tool-9h41vc4j.js → vcs-nw2nz702.js} +4 -4
  204. package/dist/chunks/{tool-bfc0h0ah.js → vcs-nxs71vds.js} +8 -8
  205. package/dist/chunks/{tool-02zskd6f.js → vcs-p6t3fjxg.js} +9 -6
  206. package/dist/chunks/{tool-4frkg54w.js → vcs-pjmw00w1.js} +9 -9
  207. package/dist/chunks/{tool-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{tool-pknna89w.js → vcs-pknna89w.js} +1 -1
  209. package/dist/chunks/{tool-1fjf9qgp.js → vcs-ps2966zf.js} +19 -19
  210. package/dist/chunks/{tool-kgwhbhza.js → vcs-pwek4mmw.js} +19 -19
  211. package/dist/chunks/{tool-62139ecc.js → vcs-pxm319h1.js} +7 -7
  212. package/dist/chunks/{tool-6qqxn8pv.js → vcs-q38fqzw5.js} +15 -15
  213. package/dist/chunks/vcs-q509s3k3.js +18 -0
  214. package/dist/chunks/{tool-0299gjg5.js → vcs-q68c4f0q.js} +23 -23
  215. package/dist/chunks/{tool-2cv6r8s0.js → vcs-q6jq121h.js} +40 -40
  216. package/dist/chunks/{tool-9eeg3wcp.js → vcs-q7wmg9kr.js} +46 -46
  217. package/dist/chunks/{tool-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  218. package/dist/chunks/{tool-tjhqx05s.js → vcs-qsw4qewe.js} +39 -39
  219. package/dist/chunks/{tool-m8vzpnra.js → vcs-qvzzg1n6.js} +22 -22
  220. package/dist/chunks/{tool-n9z12nhw.js → vcs-qxt6y2k0.js} +8 -8
  221. package/dist/chunks/{tool-r9mregkx.js → vcs-r9mregkx.js} +2 -2
  222. package/dist/chunks/{tool-1qmbqjyv.js → vcs-rbnn063c.js} +36 -36
  223. package/dist/chunks/{tool-m7ah9b01.js → vcs-rfsgj36k.js} +15 -15
  224. package/dist/chunks/{tool-y1rf3ngb.js → vcs-rh2jh937.js} +20 -20
  225. package/dist/chunks/{tool-5zhzefj3.js → vcs-rm2j6wpe.js} +20 -20
  226. package/dist/chunks/{tool-2v3pb6qd.js → vcs-s31y3cjy.js} +18 -18
  227. package/dist/chunks/{tool-20tfp5zs.js → vcs-s628c0zm.js} +4 -4
  228. package/dist/chunks/{tool-7m06xexa.js → vcs-sj3jh7ve.js} +13 -13
  229. package/dist/chunks/{tool-g77pfeh0.js → vcs-smrjz3b9.js} +18 -18
  230. package/dist/chunks/{tool-wqc6684y.js → vcs-svxygcjw.js} +2 -2
  231. package/dist/chunks/{tool-at81ej1z.js → vcs-t3mktjaj.js} +6 -6
  232. package/dist/chunks/{tool-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{tool-xvr1tfrz.js → vcs-tbw3c36v.js} +16 -16
  234. package/dist/chunks/{tool-tdstcens.js → vcs-tdstcens.js} +1 -1
  235. package/dist/chunks/{tool-ycsy29mf.js → vcs-thsh4wec.js} +25 -25
  236. package/dist/chunks/{tool-nb6x7g5x.js → vcs-tq3512j9.js} +4 -4
  237. package/dist/chunks/{tool-tvtrv512.js → vcs-tvtrv512.js} +1 -1
  238. package/dist/chunks/{tool-tx9qvpbt.js → vcs-tx9qvpbt.js} +2 -2
  239. package/dist/chunks/{tool-r0trdc9p.js → vcs-txqbax26.js} +5 -5
  240. package/dist/chunks/{tool-3se9mp31.js → vcs-v8ehpa7g.js} +33 -33
  241. package/dist/chunks/{tool-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  242. package/dist/chunks/{tool-phptn4kh.js → vcs-vfhz1eq3.js} +6 -6
  243. package/dist/chunks/{tool-rmbepvtv.js → vcs-vg2gmgg6.js} +14 -14
  244. package/dist/chunks/{tool-8rqvsz38.js → vcs-vgpkvjy0.js} +7 -7
  245. package/dist/chunks/{tool-msq0jde0.js → vcs-vj81g6vn.js} +4 -4
  246. package/dist/chunks/{tool-jmk5eqxp.js → vcs-vjsbzy9z.js} +17 -17
  247. package/dist/chunks/{tool-kjne0gnr.js → vcs-vw1mers6.js} +13 -13
  248. package/dist/chunks/{tool-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{tool-hrj7pjr8.js → vcs-w16wg7x4.js} +10 -10
  250. package/dist/chunks/{tool-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{tool-2vs9fmj2.js → vcs-w8nd9dyx.js} +11 -11
  252. package/dist/chunks/{tool-wd87259q.js → vcs-wd87259q.js} +1 -1
  253. package/dist/chunks/{tool-8twyvpe7.js → vcs-wdek6ynv.js} +46 -46
  254. package/dist/chunks/{tool-j2wbkj1x.js → vcs-wkawkmf2.js} +48 -48
  255. package/dist/chunks/{tool-r5vpk0b1.js → vcs-wmg8ytqm.js} +4 -4
  256. package/dist/chunks/{tool-wp4wkpxj.js → vcs-wmp55s22.js} +22 -22
  257. package/dist/chunks/{tool-j27yjeep.js → vcs-wnxny4fe.js} +32 -32
  258. package/dist/chunks/{tool-cb1fb07j.js → vcs-wpv1fq52.js} +32 -32
  259. package/dist/chunks/{tool-b8wa1ckd.js → vcs-wzvxt2x2.js} +1 -1
  260. package/dist/chunks/{tool-bdqrk2vk.js → vcs-wzz0kxab.js} +5 -5
  261. package/dist/chunks/{tool-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{tool-24dbyy2c.js → vcs-x204myat.js} +10 -10
  263. package/dist/chunks/{tool-pwh8btyp.js → vcs-x4t6e216.js} +9 -9
  264. package/dist/chunks/{tool-6karmr7k.js → vcs-x586zysr.js} +9 -9
  265. package/dist/chunks/{tool-pq99gyy2.js → vcs-x9cxf4kd.js} +11 -11
  266. package/dist/chunks/{tool-w466msxf.js → vcs-xc7r4j3q.js} +8 -8
  267. package/dist/chunks/{tool-zxqp5j27.js → vcs-xkk9yemc.js} +32 -32
  268. package/dist/chunks/{tool-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{tool-8vsxpez5.js → vcs-yam81w27.js} +44 -41
  270. package/dist/chunks/{tool-fp7xghy5.js → vcs-ydeksb44.js} +13 -13
  271. package/dist/chunks/{tool-q6hf9b7c.js → vcs-ym3wztb4.js} +22 -22
  272. package/dist/chunks/{tool-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{tool-yrznvahk.js → vcs-yrznvahk.js} +2 -2
  274. package/dist/chunks/{tool-ead3g9p8.js → vcs-yt0fqk68.js} +5 -5
  275. package/dist/chunks/{tool-rcmaerg2.js → vcs-yzj7mwan.js} +18 -18
  276. package/dist/chunks/{tool-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{tool-9swcrqvc.js → vcs-z1rv843f.js} +32 -32
  278. package/dist/chunks/{tool-z63w68vq.js → vcs-z63w68vq.js} +2 -2
  279. package/dist/chunks/{tool-5m0afy4r.js → vcs-zd4dyd0c.js} +5 -5
  280. package/dist/chunks/{tool-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{tool-8s0z9n45.js → vcs-zfp7fpm2.js} +5 -5
  282. package/dist/chunks/{tool-rdsy4w4t.js → vcs-zjed2hh9.js} +30 -30
  283. package/dist/chunks/{tool-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{tool-s2hm79cz.js → vcs-ztgmjw6y.js} +11 -11
  285. package/dist/chunks/{tool-jb2vcz8q.js → vcs-ztmre2e9.js} +46 -46
  286. package/dist/chunks/{tool-bmwvampg.js → vcs-zxd7x465.js} +35 -35
  287. package/dist/chunks/{tool-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +119 -119
  296. package/dist/config/plugin/command.js +212 -212
  297. package/dist/config/plugin/compaction.js +157 -157
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +117 -117
  301. package/dist/config/plugin/instruction.js +87 -87
  302. package/dist/config/plugin/location-watcher.js +119 -119
  303. package/dist/config/plugin/mcp.js +128 -128
  304. package/dist/config/plugin/policy.js +116 -116
  305. package/dist/config/plugin/provider.js +115 -115
  306. package/dist/config/plugin/reference.js +119 -119
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +99 -99
  309. package/dist/config/plugin/skill.js +138 -138
  310. package/dist/config/plugin/snapshot.js +117 -117
  311. package/dist/config/plugin/source.js +119 -119
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +69 -69
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +90 -90
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -73
  409. package/dist/file-access.js +101 -101
  410. package/dist/file-mutation.js +91 -91
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +2 -2
  419. package/dist/filesystem/location-watcher.js +224 -224
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +101 -101
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +106 -106
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +86 -86
  428. package/dist/generate.js +94 -94
  429. package/dist/git.js +8 -8
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +354 -354
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +84 -84
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +87 -87
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-mutation.js +101 -101
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +351 -351
  466. package/dist/location.js +86 -86
  467. package/dist/mcp/client.js +88 -88
  468. package/dist/mcp/index.js +101 -101
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +87 -87
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +87 -87
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +106 -106
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +101 -101
  487. package/dist/plugin/command.js +98 -98
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +215 -215
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +325 -325
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +99 -99
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +120 -120
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +116 -116
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +119 -119
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +119 -119
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +79 -79
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +119 -119
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +158 -158
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +135 -135
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +344 -344
  539. package/dist/plugin/update.js +4 -4
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +87 -87
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +90 -90
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +78 -78
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +95 -95
  566. package/dist/rpc.js +83 -83
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +131 -131
  570. package/dist/session/context.js +149 -149
  571. package/dist/session/diff.js +85 -85
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +222 -222
  576. package/dist/session/execution.js +124 -124
  577. package/dist/session/generate.js +150 -150
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +87 -87
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +90 -90
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +128 -128
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +102 -102
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +87 -87
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +227 -227
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +87 -87
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +112 -112
  600. package/dist/session/runner/step.js +123 -123
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +133 -133
  605. package/dist/session/skill.js +100 -100
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +74 -74
  608. package/dist/session/store.js +84 -84
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +208 -208
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +153 -153
  613. package/dist/session/to-session-error.js +109 -109
  614. package/dist/session/transfer.js +221 -221
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +214 -214
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +109 -109
  625. package/dist/snapshot.js +88 -88
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +117 -117
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +122 -122
  633. package/dist/tool/plugin/grep.js +122 -122
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +98 -98
  637. package/dist/tool/plugin/read.js +123 -123
  638. package/dist/tool/plugin/shell.js +213 -213
  639. package/dist/tool/plugin/skill.js +100 -100
  640. package/dist/tool/plugin/subagent.js +217 -217
  641. package/dist/tool/plugin/webfetch.js +107 -107
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +119 -119
  644. package/dist/tool/read-filesystem.js +98 -98
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +15 -15
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +14 -14
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +86 -86
  675. package/dist/websearch.js +81 -81
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +80 -80
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +79 -79
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +6 -6
  683. package/dist/worktree/refresh.js +341 -341
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +91 -91
  686. package/package.json +8 -8
  687. package/dist/chunks/tool-1qd3ycm2.js +0 -26
  688. package/dist/chunks/tool-7z7rpcgx.js +0 -247
  689. package/dist/chunks/tool-pf31ssb9.js +0 -18
  690. /package/dist/chunks/{tool-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{tool-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{tool-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{tool-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{tool-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{tool-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{tool-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{tool-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{tool-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{tool-3asan66x.js → vcs-3asan66x.js} +0 -0
  700. /package/dist/chunks/{tool-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{tool-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{tool-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{tool-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{tool-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{tool-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{tool-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{tool-53557ph1.js → vcs-53557ph1.js} +0 -0
  708. /package/dist/chunks/{tool-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{tool-6prwharc.js → vcs-6prwharc.js} +0 -0
  710. /package/dist/chunks/{tool-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{tool-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{tool-822emrt2.js → vcs-822emrt2.js} +0 -0
  713. /package/dist/chunks/{tool-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{tool-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{tool-922hggd3.js → vcs-922hggd3.js} +0 -0
  716. /package/dist/chunks/{tool-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{tool-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{tool-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{tool-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{tool-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{tool-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{tool-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{tool-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{tool-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{tool-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{tool-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{tool-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{tool-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{tool-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{tool-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{tool-df08tz66.js → vcs-df08tz66.js} +0 -0
  732. /package/dist/chunks/{tool-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{tool-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{tool-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{tool-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{tool-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{tool-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{tool-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{tool-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{tool-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{tool-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{tool-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{tool-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{tool-g86h250q.js → vcs-g86h250q.js} +0 -0
  745. /package/dist/chunks/{tool-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{tool-gftt206x.js → vcs-gftt206x.js} +0 -0
  747. /package/dist/chunks/{tool-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{tool-hk9envan.js → vcs-hk9envan.js} +0 -0
  749. /package/dist/chunks/{tool-hrnqkpcd.js → vcs-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{tool-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{tool-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{tool-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{tool-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{tool-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{tool-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{tool-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{tool-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{tool-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{tool-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{tool-paphc93g.js → vcs-paphc93g.js} +0 -0
  761. /package/dist/chunks/{tool-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{tool-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{tool-qapv375x.js → vcs-qapv375x.js} +0 -0
  764. /package/dist/chunks/{tool-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{tool-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{tool-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{tool-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{tool-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{tool-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{tool-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{tool-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{tool-twg0f83k.js → vcs-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{tool-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{tool-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{tool-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{tool-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{tool-x61499pn.js → vcs-x61499pn.js} +0 -0
  778. /package/dist/chunks/{tool-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{tool-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{tool-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{tool-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{tool-ym463w8f.js → vcs-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{tool-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
- import {
2
- Service79,
3
- node84
4
- } from "./tool-zmjtvdmj.js";
5
1
  import {
6
2
  Service78,
7
3
  node83
8
- } from "./tool-7m06xexa.js";
4
+ } from "./vcs-k90zknc5.js";
5
+ import {
6
+ Service77,
7
+ node82
8
+ } from "./vcs-sj3jh7ve.js";
9
9
  import {
10
10
  create3
11
- } from "./tool-kg06axw8.js";
11
+ } from "./vcs-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./tool-9rqn6x4v.js";
14
+ } from "./vcs-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: () => Event20,
21
- ID: () => ID18,
20
+ Event: () => Event12,
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: () => Service77,
31
+ Service: () => Service54,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node82
33
+ node: () => node58
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 Event20 } from "@opencode/schema/websearch";
41
- var ID18 = WebSearch.ID;
40
+ import { Event as Event12 } 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([ID18, 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: ID18
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: ID18,
61
+ providerID: ID7,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service77 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service54 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service77, Effect.gen(function* () {
69
- const bus = yield* Service79;
70
- const kv = yield* Service78;
68
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
69
+ const bus = yield* Service78;
70
+ const kv = yield* Service77;
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(Service77, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service77.of({
127
+ return Service54.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 node82 = makeLocationNode({
188
- service: Service77,
187
+ var node58 = makeLocationNode({
188
+ service: Service54,
189
189
  layer,
190
- deps: [node84, node83]
190
+ deps: [node83, node82]
191
191
  });
192
192
 
193
- export { ID18, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service77, node82, exports_websearch3, Event20 };
193
+ export { ID7, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service54, node58, exports_websearch3, Event12 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./tool-922hggd3.js";
4
+ } from "./vcs-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service70,
9
- node74
10
- } from "./tool-20m8myk3.js";
8
+ Service80,
9
+ node85
10
+ } from "./vcs-c20nmzh2.js";
11
11
  import {
12
- Service68,
13
- node72
14
- } from "./tool-ad6yvafe.js";
12
+ Service74,
13
+ node79
14
+ } from "./vcs-c1z1xrrm.js";
15
15
  import {
16
16
  create3
17
- } from "./tool-kg06axw8.js";
17
+ } from "./vcs-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./tool-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: () => Error3,
26
- ID: () => ID4,
27
- Service: () => Service44,
25
+ Error: () => Error5,
26
+ ID: () => ID16,
27
+ Service: () => Service73,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node47,
29
+ node: () => node78,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ 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 ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID16 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 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 Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service73 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service70;
50
+ const git = yield* Service80;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service68;
52
+ const location = yield* Service74;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, 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 Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ 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(Service44, 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 Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error5({ 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(Service44, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID16.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(Service44, 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 Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error5({ 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 Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error5({ 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 Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service73.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node47 = makeLocationNode({
144
- service: Service44,
143
+ var node78 = makeLocationNode({
144
+ service: Service73,
145
145
  layer,
146
- deps: [FSUtil.node, node74, Global.node, node72]
146
+ deps: [FSUtil.node, node85, Global.node, node79]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service44, Service44.of({
148
+ var noopLayer3 = Layer.succeed(Service73, Service73.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(Service44, Service44.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error5 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error5({
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 { ID4, Error3, Service44, node47, noopLayer3, exports_snapshot2 };
166
+ export { ID16, Error5, Service73, node78, noopLayer3, exports_snapshot2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID14,
2
+ ID9,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./tool-bfc0h0ah.js";
6
+ } from "./vcs-nxs71vds.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service58,
16
+ Service: () => Service53,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node61
18
+ node: () => node57
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
128
128
  }
129
129
 
130
130
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
131
- providerID: ID14,
131
+ providerID: ID9,
132
132
  cause: Schema.Defect()
133
133
  }) {
134
134
  }
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service58 extends Context.Service()("@opencode/AISDK") {
139
+ class Service53 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service53, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service58.of({
179
+ const service = Service53.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
809
809
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
810
810
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
811
811
  }
812
- var node61 = makeLocationNode({ service: Service58, layer: locationLayer2, deps: [] });
812
+ var node57 = makeLocationNode({ service: Service53, layer: locationLayer2, deps: [] });
813
813
 
814
- export { InitError2, Service58, locationLayer2, node61, exports_aisdk };
814
+ export { InitError2, Service53, locationLayer2, node57, exports_aisdk };
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID8,
3
- Service62
4
- } from "./tool-9h7qzzke.js";
2
+ ID14,
3
+ Service63
4
+ } from "./vcs-eaqy37er.js";
5
5
  import {
6
6
  latest2,
7
- Service51
8
- } from "./tool-hz62r41k.js";
7
+ Service55
8
+ } from "./vcs-nqp91hg0.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./tool-k6yq57aq.js";
11
+ } from "./vcs-3yjg5mh2.js";
12
12
  import {
13
- Service56
14
- } from "./tool-jmk5eqxp.js";
13
+ Service38
14
+ } from "./vcs-vjsbzy9z.js";
15
15
  import {
16
16
  evaluate2,
17
17
  Service59
18
- } from "./tool-jb2vcz8q.js";
18
+ } from "./vcs-ztmre2e9.js";
19
19
  import {
20
- Service24
21
- } from "./tool-0nbbv2dg.js";
20
+ Service17
21
+ } from "./vcs-6qnngr69.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./tool-x1ezjp6w.js";
24
+ } from "./vcs-x1ezjp6w.js";
25
25
  import {
26
- make9
27
- } from "./tool-fgg2p6ky.js";
26
+ make6
27
+ } from "./vcs-c7af8brc.js";
28
28
  import {
29
29
  __export
30
- } from "./tool-9rqn6x4v.js";
30
+ } from "./vcs-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input5,
36
- Output: () => Output4,
37
- Plugin: () => Plugin5,
35
+ Input: () => Input12,
36
+ Output: () => Output8,
37
+ Plugin: () => Plugin14,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description3,
40
- name: () => name5
39
+ description: () => description5,
40
+ name: () => name12
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name5 = "subagent";
44
+ var name12 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input5 = Schema.Struct({
55
+ var Input12 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input5 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output4 = Schema.Struct({
66
+ var Output8 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description3 = [
71
+ var description5 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description3 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin5 = {
80
+ var Plugin14 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service24;
84
- const jobs = yield* Service56;
85
- const agents = yield* Service62;
86
- const config = yield* Service51;
83
+ const sessions = yield* Service17;
84
+ const jobs = yield* Service38;
85
+ const agents = yield* Service63;
86
+ const config = yield* Service55;
87
87
  const permission = yield* Service59;
88
- const subagents = yield* make9;
88
+ const subagents = yield* make6;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name5,
90
+ name: name12,
91
91
  options: { codemode: false },
92
- description: description3,
93
- input: Input5,
94
- output: Output4,
92
+ description: description5,
93
+ input: Input12,
94
+ output: Output8,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin5 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name5,
114
+ action: name12,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin5 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID8.make(input.agent),
137
+ agent: ID14.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -183,14 +183,14 @@ ${output.output}
183
183
  metadata: { sessionID: output.sessionID, status: output.status }
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
- yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name5];
186
+ const hook = (event) => Effect.gen(function* () {
187
+ const tool = event.tools[name12];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -200,8 +200,11 @@ ${output.output}
200
200
  ...available.map((agent) => `- ${agent.id}: ${agent.description ?? "This subagent should only be called when explicitly requested."}`)
201
201
  ].join(`
202
202
  `);
203
- }));
203
+ });
204
+ yield* ctx.session.hook("context", hook);
205
+ yield* ctx.session.hook("compaction", hook);
206
+ yield* ctx.session.hook("generate", hook);
204
207
  })
205
208
  };
206
209
 
207
- export { name5, Input5, Output4, description3, Plugin5, exports_subagent };
210
+ export { name12, Input12, Output8, description5, Plugin14, exports_subagent };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./tool-y71avatq.js";
3
+ } from "./vcs-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
12
  Service: () => Service4,
13
- node: () => node6
13
+ node: () => node7
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
52
+ var node7 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service4, node6, exports_update };
54
+ export { Service4, node7, exports_update };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./tool-kac23fkg.js";
5
+ } from "./vcs-6t11chne.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make22,
10
10
  makeWithDefaults2
11
- } from "./tool-11021cf3.js";
11
+ } from "./vcs-bm5daegx.js";
12
12
  import {
13
13
  __export
14
- } from "./tool-9rqn6x4v.js";
14
+ } from "./vcs-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make22,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });