@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,56 +1,56 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./tool-zmjtvdmj.js";
2
+ Service78,
3
+ node83
4
+ } from "./vcs-k90zknc5.js";
5
5
  import {
6
- Event18,
7
- Service75,
8
- node80
9
- } from "./tool-dssyvqwy.js";
6
+ Event14,
7
+ Service57,
8
+ node61
9
+ } from "./vcs-7wvtvwa1.js";
10
10
  import {
11
- Service52,
12
- node55
13
- } from "./tool-m8vzpnra.js";
11
+ Service56,
12
+ node60
13
+ } from "./vcs-qvzzg1n6.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./tool-922hggd3.js";
16
+ } from "./vcs-922hggd3.js";
17
17
  import {
18
- Service68,
19
- node72
20
- } from "./tool-ad6yvafe.js";
18
+ Service74,
19
+ node79
20
+ } from "./vcs-c1z1xrrm.js";
21
21
  import {
22
22
  substitute2
23
- } from "./tool-yrznvahk.js";
23
+ } from "./vcs-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./tool-cf4qthmf.js";
26
+ } from "./vcs-6s315dww.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  discover3
30
- } from "./tool-c8ftv886.js";
30
+ } from "./vcs-36n397ms.js";
31
31
  import {
32
32
  plan2
33
- } from "./tool-j56e64zr.js";
33
+ } from "./vcs-j56e64zr.js";
34
34
  import {
35
- Service55,
36
- Event11,
37
- node58
38
- } from "./tool-f9m0bqsz.js";
35
+ Service76,
36
+ Event20,
37
+ node81
38
+ } from "./vcs-gmttzzga.js";
39
39
  import {
40
40
  __export
41
- } from "./tool-9rqn6x4v.js";
41
+ } from "./vcs-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options4,
48
- Service: () => Service51,
47
+ Options: () => Options7,
48
+ Service: () => Service55,
49
49
  Test: () => Test2,
50
- configured: () => configured4,
50
+ configured: () => configured8,
51
51
  latest: () => latest2,
52
- layer: () => layer19,
53
- node: () => node54,
52
+ layer: () => layer22,
53
+ node: () => node59,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
71
71
  function latest2(entries, key) {
72
72
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
73
73
  }
74
- var Options4 = Schema.Struct({
74
+ var Options7 = Schema.Struct({
75
75
  project: Schema.optional(Schema.Boolean),
76
76
  global: Schema.optional(Schema.Boolean),
77
77
  file: Schema.optional(Schema.String),
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service51 extends Context.Service()("@opencode/Config") {
81
+ class Service55 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,7 +92,7 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service51, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service55, service), Context.add(Test2, service));
96
96
  }));
97
97
  function decodePreferences(text) {
98
98
  const errors = [];
@@ -108,14 +108,14 @@ function decodePreferences(text) {
108
108
  ...info?.websearch === undefined ? {} : { websearch: info.websearch }
109
109
  };
110
110
  }
111
- var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
111
+ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
112
112
  const fs = yield* FSUtil.Service;
113
- const location = yield* Service68;
114
- const watcher = yield* Service52;
115
- const bus = yield* Service79;
116
- const credentials = yield* Service75;
113
+ const location = yield* Service74;
114
+ const watcher = yield* Service56;
115
+ const bus = yield* Service78;
116
+ const credentials = yield* Service57;
117
117
  const globalService = yield* Global.Service;
118
- const wellknown = yield* Service55;
118
+ const wellknown = yield* Service76;
119
119
  const reloadLock = Semaphore.makeUnsafe(1);
120
120
  const updateLock = Semaphore.makeUnsafe(1);
121
121
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -184,7 +184,7 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
184
184
  });
185
185
  const loadDirectory = Effect.fnUntraced(function* (directory) {
186
186
  return [
187
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
187
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
188
188
  new Directory({ type: "directory", path: directory })
189
189
  ];
190
190
  });
@@ -239,8 +239,8 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
239
239
  }, (effect) => reloadLock.withPermit(effect));
240
240
  const pendingReloads = yield* PubSub.subscribe(reloads);
241
241
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
242
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
243
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
242
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
243
+ yield* bus.subscribe(Event20.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
244
244
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
245
245
  if (!wellknown.snapshot().length)
246
246
  return Effect.void;
@@ -253,7 +253,7 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
253
253
  yield* reloadLock.withPermit(reconcile(initial));
254
254
  const globalConfigPath = Effect.fn("Config.globalConfigPath")(function* () {
255
255
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
256
- const candidates = names4.map((name) => path.join(directory, name));
256
+ const candidates = names3.map((name) => path.join(directory, name));
257
257
  const existing = yield* Effect.filter(candidates, fs.isFile);
258
258
  return existing.at(-1) ?? path.join(directory, "opencode.jsonc");
259
259
  });
@@ -282,7 +282,7 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
282
282
  yield* requestReload;
283
283
  return decodePreferences(updated);
284
284
  }, (effect) => updateLock.withPermit(effect));
285
- return Service51.of({
285
+ return Service55.of({
286
286
  entries: Effect.fnUntraced(function* () {
287
287
  return configs;
288
288
  }),
@@ -291,13 +291,13 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
291
291
  updatePreferences
292
292
  });
293
293
  }));
294
- function configured4(options) {
294
+ function configured8(options) {
295
295
  return makeLocationNode({
296
- service: Service51,
297
- layer: layer19(options),
298
- deps: [node55, node84, FSUtil.node, Global.node, node72, node80, node58]
296
+ service: Service55,
297
+ layer: layer22(options),
298
+ deps: [node60, node83, FSUtil.node, Global.node, node79, node61, node81]
299
299
  });
300
300
  }
301
- var node54 = configured4();
301
+ var node59 = configured8();
302
302
 
303
- export { latest2, Options4, Service51, Test2, testLayer2, layer19, configured4, node54, exports_config };
303
+ export { latest2, Options7, Service55, Test2, testLayer2, layer22, configured8, node59, exports_config };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
- make19,
5
+ make20,
6
6
  diffByKey2
7
- } from "./tool-t550f9t1.js";
7
+ } from "./vcs-02nrjc1r.js";
8
8
  import {
9
- ID5,
9
+ ID4,
10
10
  Name2,
11
11
  available2,
12
- Service50,
13
- node53
14
- } from "./tool-wwmkx8c8.js";
12
+ Service42,
13
+ node46
14
+ } from "./vcs-91s55bq6.js";
15
15
  import {
16
16
  __export
17
- } from "./tool-9rqn6x4v.js";
17
+ } from "./vcs-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions3 = {};
21
- __export(exports_instructions3, {
20
+ var exports_instructions5 = {};
21
+ __export(exports_instructions5, {
22
22
  Service: () => Service29,
23
- SkillInstructions: () => exports_instructions3,
24
- node: () => node32
23
+ SkillInstructions: () => exports_instructions5,
24
+ node: () => node33
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID5,
29
+ id: ID4,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -63,15 +63,15 @@ var update = (previous, current) => {
63
63
  class Service29 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
65
  var layer = Layer.effect(Service29, Effect.gen(function* () {
66
- const skills = yield* Service50;
66
+ const skills = yield* Service42;
67
67
  return Service29.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
- return make19({
74
- key: Key3.make("core/skill-guidance"),
73
+ return make20({
74
+ key: Key4.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node32 = makeLocationNode({ service: Service29, layer, deps: [node53] });
86
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [node46] });
87
87
 
88
- export { Service29, node32, exports_instructions3 };
88
+ export { Service29, node33, exports_instructions5 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service51
3
- } from "./tool-hz62r41k.js";
2
+ Service55
3
+ } from "./vcs-nqp91hg0.js";
4
4
  import {
5
5
  match2
6
- } from "./tool-y1fvbwt7.js";
6
+ } from "./vcs-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./tool-qsdy395h.js";
9
+ } from "./vcs-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./tool-9rqn6x4v.js";
12
+ } from "./vcs-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin38
18
+ Plugin: () => Plugin23
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin38 = define({
22
+ var Plugin23 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service51;
25
+ const config = yield* Service55;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin38 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin38, exports_policy };
38
+ export { Plugin23, exports_policy };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packageName2
3
- } from "./tool-bfc0h0ah.js";
3
+ } from "./vcs-nxs71vds.js";
4
4
 
5
5
  // src/plugin/provider/cerebras.ts
6
6
  import { Effect } from "effect";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin24
9
+ Plugin: () => Plugin43
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin24 = define({
14
+ var Plugin43 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin24 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin24, exports_mcp_codemode_exclusion };
37
+ export { Plugin43, exports_mcp_codemode_exclusion };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
- ID: () => ID14,
10
- Info: () => Info30,
9
+ ID: () => ID9,
10
+ Info: () => Info22,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
- Request: () => Request3,
13
+ Request: () => Request2,
14
14
  Settings: () => Settings2,
15
15
  aisdk: () => aisdk2,
16
16
  isAISDK: () => isAISDK2,
@@ -24,7 +24,7 @@ import { Effect, Schema, Struct } from "effect";
24
24
  import { Provider } from "@opencode/schema/provider";
25
25
  import { isRecord } from "@opencode/ai/utils/record";
26
26
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
27
- var ID14 = Provider.ID;
27
+ var ID9 = Provider.ID;
28
28
  var AISDK_PREFIX2 = "aisdk:";
29
29
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
30
30
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -142,9 +142,9 @@ function mergeHeaders2(base, overlay) {
142
142
  return result;
143
143
  }, new Map).values());
144
144
  }
145
- var Request3 = Provider.Request;
145
+ var Request2 = Provider.Request;
146
146
  var Settings2 = Provider.Settings;
147
- var Info30 = Provider.Info;
147
+ var Info22 = Provider.Info;
148
148
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
149
149
  const module = yield* Effect.tryPromise({
150
150
  try: () => {
@@ -166,4 +166,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
166
166
  return module;
167
167
  });
168
168
 
169
- export { ID14, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info30, exports_provider3 };
169
+ export { ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info22, exports_provider3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
7
7
  __export(exports_opencode, {
8
8
  MoveInput: () => MoveInput2,
9
9
  OpenCodeTools: () => exports_opencode,
10
- Plugin: () => Plugin9,
10
+ Plugin: () => Plugin11,
11
11
  RenameInput: () => RenameInput2
12
12
  });
13
13
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -26,12 +26,15 @@ var MoveInput2 = Schema.Struct({
26
26
  })
27
27
  });
28
28
  var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
29
- var Plugin9 = {
29
+ var Plugin11 = {
30
30
  id: "opencode.tools",
31
31
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
32
- yield* ctx.session.hook("context", (event) => Effect.sync(() => {
32
+ const hook = (event) => Effect.sync(() => {
33
33
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
34
- }));
34
+ });
35
+ yield* ctx.session.hook("context", hook);
36
+ yield* ctx.session.hook("compaction", hook);
37
+ yield* ctx.session.hook("generate", hook);
35
38
  yield* ctx.tool.transform((draft) => {
36
39
  draft.namespace({ name: "opencode", description: "OpenCode session and runtime tools." });
37
40
  draft.add({
@@ -74,4 +77,4 @@ var Plugin9 = {
74
77
  })
75
78
  };
76
79
 
77
- export { RenameInput2, MoveInput2, Plugin9, exports_opencode };
80
+ export { RenameInput2, MoveInput2, Plugin11, exports_opencode };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-922hggd3.js";
3
+ } from "./vcs-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event15,
13
- ID: () => ID12,
14
- Info: () => Info28,
12
+ Event: () => Event19,
13
+ ID: () => ID18,
14
+ Info: () => Info33,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID12 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info28 = Project.Info;
23
+ var Info33 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event15 = Project.Event;
25
+ var Event19 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID12, Current3, Info28, UpdateInput4, Event15, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info33, UpdateInput4, Event19, Vcs3, exports_schema };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./tool-qfa1cgps.js";
3
+ } from "./vcs-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service80,
3
- node85
4
- } from "./tool-4fxa00ze.js";
2
+ Service79,
3
+ node84
4
+ } from "./vcs-9z91vmsn.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./tool-f828m53h.js";
7
+ } from "./vcs-hdnk95c8.js";
8
8
  import {
9
9
  __export
10
- } from "./tool-9rqn6x4v.js";
10
+ } from "./vcs-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID7,
17
- Info: () => Info22,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID12,
17
+ Info: () => Info24,
18
+ ListInput: () => ListInput3,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service61,
20
+ Service: () => Service60,
21
21
  node: () => node64
22
22
  });
23
23
  import { eq } from "drizzle-orm";
@@ -25,9 +25,9 @@ import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID7 = PermissionSaved.ID;
29
- var Info22 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID12 = PermissionSaved.ID;
29
+ var Info24 = PermissionSaved.Info;
30
+ var ListInput3 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service61 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service60 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service61, Effect.gen(function* () {
42
- const db = (yield* Service80).db;
41
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
42
+ const db = (yield* Service79).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID7.create(),
56
+ id: ID12.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service61.of({ list, add, remove });
65
+ return Service60.of({ list, add, remove });
66
66
  }));
67
- var node64 = makeGlobalNode({ service: Service61, layer, deps: [node85] });
67
+ var node64 = makeGlobalNode({ service: Service60, layer, deps: [node84] });
68
68
 
69
- export { ID7, Info22, ListInput5, AddInput2, Service61, node64, exports_saved };
69
+ export { ID12, Info24, ListInput3, AddInput2, Service60, node64, exports_saved };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service68,
3
- node72
4
- } from "./tool-ad6yvafe.js";
2
+ Service74,
3
+ node79
4
+ } from "./vcs-c1z1xrrm.js";
5
5
  import {
6
- Key3,
7
- make19,
6
+ Key4,
7
+ make20,
8
8
  combine2
9
- } from "./tool-t550f9t1.js";
9
+ } from "./vcs-02nrjc1r.js";
10
10
  import {
11
11
  __export
12
- } from "./tool-9rqn6x4v.js";
12
+ } from "./vcs-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service36,
19
- node: () => node40
18
+ Service: () => Service22,
19
+ node: () => node27
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service36 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service22 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service36, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service68;
29
- return Service36.of({
28
+ const location = yield* Service74;
29
+ return Service22.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make19({
32
- key: Key3.make("core/environment"),
31
+ make20({
32
+ key: Key4.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make19({
53
- key: Key3.make("core/date"),
52
+ make20({
53
+ key: Key4.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node40 = makeLocationNode({ service: Service36, layer, deps: [Global.node, node72] });
64
+ var node27 = makeLocationNode({ service: Service22, layer, deps: [Global.node, node79] });
65
65
 
66
- export { Service36, node40, exports_builtins };
66
+ export { Service22, node27, exports_builtins };