@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
@@ -2,44 +2,44 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./tool-2a5m3afh.js";
5
+ } from "./vcs-2a5m3afh.js";
6
6
  import {
7
- Service68
8
- } from "./tool-ad6yvafe.js";
7
+ Service74
8
+ } from "./vcs-c1z1xrrm.js";
9
9
  import {
10
- Service63
11
- } from "./tool-a4s526ga.js";
10
+ Service67
11
+ } from "./vcs-6yvesre5.js";
12
12
  import {
13
- Service13
14
- } from "./tool-rcmaerg2.js";
13
+ Service70
14
+ } from "./vcs-yzj7mwan.js";
15
15
  import {
16
- Service21,
16
+ Service43,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./tool-fp7xghy5.js";
19
+ } from "./vcs-ydeksb44.js";
20
20
  import {
21
21
  Service59
22
- } from "./tool-jb2vcz8q.js";
22
+ } from "./vcs-ztmre2e9.js";
23
23
  import {
24
- Service17,
24
+ Service58,
25
25
  resolvePath2
26
- } from "./tool-ypcyj4th.js";
26
+ } from "./vcs-brk9edbg.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./tool-6prwharc.js";
29
+ } from "./vcs-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./tool-9rqn6x4v.js";
32
+ } from "./vcs-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input11,
39
- Output: () => Output8,
38
+ Input: () => Input7,
39
+ Output: () => Output5,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin12,
42
- name: () => name11,
41
+ Plugin: () => Plugin8,
42
+ name: () => name7,
43
43
  toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name11 = "patch";
89
- var Input11 = Schema.Struct({
88
+ var name7 = "patch";
89
+ var Input7 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output8 = Schema.Struct({
99
+ var Output5 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
@@ -105,21 +105,21 @@ var toModelContent5 = (output) => [
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin12 = {
108
+ var Plugin8 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service63;
112
- const access = yield* Service17;
113
- const fileMutation = yield* Service21;
114
- const formatter = yield* Service13;
115
- const location = yield* Service68;
111
+ const environment = yield* Service67;
112
+ const access = yield* Service58;
113
+ const fileMutation = yield* Service43;
114
+ const formatter = yield* Service70;
115
+ const location = yield* Service74;
116
116
  const permission = yield* Service59;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name11,
118
+ name: name7,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input11,
122
- output: Output8,
121
+ input: Input7,
122
+ output: Output5,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -271,7 +271,7 @@ var Plugin12 = {
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
273
273
  })).pipe(Effect.orDie);
274
- yield* ctx.session.hook("context", (event) => Effect.sync(() => {
274
+ const hook = (event) => Effect.sync(() => {
275
275
  const usePatch = event.model.id.includes("gpt-") && !event.model.id.includes("oss") && !event.model.id.includes("gpt-4");
276
276
  if (usePatch) {
277
277
  delete event.tools.edit;
@@ -279,7 +279,10 @@ var Plugin12 = {
279
279
  return;
280
280
  }
281
281
  delete event.tools.patch;
282
- }));
282
+ });
283
+ yield* ctx.session.hook("context", hook);
284
+ yield* ctx.session.hook("compaction", hook);
285
+ yield* ctx.session.hook("generate", hook);
283
286
  })
284
287
  };
285
288
  function errorMessage(error) {
@@ -323,4 +326,4 @@ function trimDiff(diff) {
323
326
  `);
324
327
  }
325
328
 
326
- export { name11, Input11, Applied2, Output8, toModelContent5, Plugin12, exports_patch };
329
+ export { name7, Input7, Applied2, Output5, toModelContent5, Plugin8, exports_patch };
@@ -1,117 +1,117 @@
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
- Service68,
7
- node72
8
- } from "./tool-ad6yvafe.js";
6
+ Service74,
7
+ node79
8
+ } from "./vcs-c1z1xrrm.js";
9
9
  import {
10
- ID8,
11
- Service62,
12
- node65
13
- } from "./tool-9h7qzzke.js";
10
+ ID14,
11
+ Service63,
12
+ node67
13
+ } from "./vcs-eaqy37er.js";
14
14
  import {
15
15
  AgentNotFoundError2
16
- } from "./tool-nv6sgpkb.js";
16
+ } from "./vcs-980xfpxw.js";
17
17
  import {
18
18
  combine2
19
- } from "./tool-t550f9t1.js";
19
+ } from "./vcs-02nrjc1r.js";
20
20
  import {
21
21
  provenance2
22
- } from "./tool-msq0jde0.js";
22
+ } from "./vcs-vj81g6vn.js";
23
23
  import {
24
24
  entriesForRunner2
25
- } from "./tool-4cbqng7e.js";
25
+ } from "./vcs-0z4vcyj9.js";
26
26
  import {
27
- Service60,
28
- node63
29
- } from "./tool-k641sm4f.js";
27
+ Service61,
28
+ node65
29
+ } from "./vcs-828cj25e.js";
30
30
  import {
31
31
  merge2
32
- } from "./tool-jb2vcz8q.js";
32
+ } from "./vcs-ztmre2e9.js";
33
33
  import {
34
- Service43,
35
- node46
36
- } from "./tool-rfsjamy2.js";
34
+ Service50,
35
+ node54
36
+ } from "./vcs-fq0pc14n.js";
37
37
  import {
38
38
  make14
39
- } from "./tool-2syw43ez.js";
39
+ } from "./vcs-cynacfj1.js";
40
40
  import {
41
- Service57,
42
- node60
43
- } from "./tool-0veevydg.js";
41
+ Service41,
42
+ node45
43
+ } from "./vcs-817xngw7.js";
44
44
  import {
45
- Service36,
46
- node40
47
- } from "./tool-kgwhbhza.js";
45
+ Service22,
46
+ node27
47
+ } from "./vcs-pwek4mmw.js";
48
48
  import {
49
- Service65,
50
- node69
51
- } from "./tool-r6w0w95m.js";
49
+ Service47,
50
+ node51
51
+ } from "./vcs-55qfk59p.js";
52
52
  import {
53
- Service34,
54
- node38
55
- } from "./tool-9me22cbr.js";
53
+ Service27,
54
+ node31
55
+ } from "./vcs-edk817rf.js";
56
56
  import {
57
- Service33,
58
- node37
59
- } from "./tool-2fvqh1y6.js";
57
+ Service26,
58
+ node30
59
+ } from "./vcs-6gxskptp.js";
60
60
  import {
61
- Service28,
62
- node31
63
- } from "./tool-m21k6hwm.js";
61
+ Service20,
62
+ node25
63
+ } from "./vcs-bpa8t5yh.js";
64
64
  import {
65
65
  Service29,
66
- node32
67
- } from "./tool-kaypvkzz.js";
66
+ node33
67
+ } from "./vcs-ntqwm10a.js";
68
68
  import {
69
- Service30,
70
- node34
71
- } from "./tool-5zhzefj3.js";
69
+ Service21,
70
+ node26
71
+ } from "./vcs-rm2j6wpe.js";
72
72
  import {
73
- Service31,
74
- node35
75
- } from "./tool-9j2xpqw0.js";
73
+ Service23,
74
+ node28
75
+ } from "./vcs-8xm6sxyw.js";
76
76
  import {
77
- Service40,
78
- node43
79
- } from "./tool-1r6pjnw8.js";
77
+ Service37,
78
+ node41
79
+ } from "./vcs-9488ffsa.js";
80
80
  import {
81
81
  __export
82
- } from "./tool-9rqn6x4v.js";
82
+ } from "./vcs-9rqn6x4v.js";
83
83
 
84
84
  // src/session/context.ts
85
85
  var exports_context = {};
86
86
  __export(exports_context, {
87
- Service: () => Service27,
87
+ Service: () => Service19,
88
88
  SessionContext: () => exports_context,
89
- node: () => node30
89
+ node: () => node24
90
90
  });
91
91
  import { Model } from "@opencode/schema/model";
92
92
  import { Context, Effect, Layer } from "effect";
93
93
  import { makeLocationNode } from "@opencode/util/effect/app-node";
94
- class Service27 extends Context.Service()("@opencode/SessionContext") {
94
+ class Service19 extends Context.Service()("@opencode/SessionContext") {
95
95
  }
96
- var layer = Layer.effect(Service27, Effect.gen(function* () {
97
- const agents = yield* Service62;
98
- const builtins = yield* Service36;
99
- const catalog = yield* Service43;
100
- const db = (yield* Service80).db;
101
- const discovery = yield* Service57;
102
- const entries = yield* Service30;
103
- const location = yield* Service68;
104
- const mcpInstructions = yield* Service33;
105
- const mcpTools = yield* Service34;
106
- const models = yield* Service40;
107
- const request = yield* Service31;
108
- const referenceInstructions = yield* Service28;
96
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
97
+ const agents = yield* Service63;
98
+ const builtins = yield* Service22;
99
+ const catalog = yield* Service50;
100
+ const db = (yield* Service79).db;
101
+ const discovery = yield* Service41;
102
+ const entries = yield* Service21;
103
+ const location = yield* Service74;
104
+ const mcpInstructions = yield* Service26;
105
+ const mcpTools = yield* Service27;
106
+ const models = yield* Service37;
107
+ const request = yield* Service23;
108
+ const referenceInstructions = yield* Service20;
109
109
  const skillInstructions = yield* Service29;
110
- const store = yield* Service60;
111
- const registry = yield* Service65;
110
+ const store = yield* Service61;
111
+ const registry = yield* Service47;
112
112
  const resolveModel = (session) => models.resolve(session, catalog.model.available);
113
113
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
114
- const agent = yield* agents.get(ID8.make("title"));
114
+ const agent = yield* agents.get(ID14.make("title"));
115
115
  if (!agent)
116
116
  return;
117
117
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -186,29 +186,29 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
186
186
  tools: selection.tools
187
187
  };
188
188
  });
189
- return Service27.of({ select, load, resolveModel, selectTitle, request });
189
+ return Service19.of({ select, load, resolveModel, selectTitle, request });
190
190
  }));
191
191
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
192
- var node30 = makeLocationNode({
193
- service: Service27,
192
+ var node24 = makeLocationNode({
193
+ service: Service19,
194
194
  layer,
195
195
  deps: [
196
- node65,
197
- node46,
198
- node85,
199
- node40,
200
- node60,
201
- node34,
202
- node72,
203
- node37,
204
- node38,
196
+ node67,
197
+ node54,
198
+ node84,
199
+ node27,
200
+ node45,
201
+ node26,
202
+ node79,
203
+ node30,
205
204
  node31,
206
- node43,
207
- node35,
208
- node63,
209
- node32,
210
- node69
205
+ node25,
206
+ node41,
207
+ node28,
208
+ node65,
209
+ node33,
210
+ node51
211
211
  ]
212
212
  });
213
213
 
214
- export { Service27, node30, exports_context };
214
+ export { Service19, node24, exports_context };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service76
3
- } from "./tool-c3nr3a1t.js";
2
+ Service52
3
+ } from "./vcs-83khedfr.js";
4
4
  import {
5
5
  Service59
6
- } from "./tool-jb2vcz8q.js";
6
+ } from "./vcs-ztmre2e9.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -53,7 +53,7 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin46 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service76;
56
+ const forms = yield* Service52;
57
57
  const permission = yield* Service59;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name13,
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-922hggd3.js";
3
+ } from "./vcs-922hggd3.js";
4
4
  import {
5
- Service68
6
- } from "./tool-ad6yvafe.js";
5
+ Service74
6
+ } from "./vcs-c1z1xrrm.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names4
16
+ names: () => names3
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names4 = ["opencode.json", "opencode.jsonc"];
22
+ var names3 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service68;
26
+ const location = yield* Service74;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names4, discover3, exports_discovery2 };
59
+ export { names3, discover3, exports_discovery2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service51
3
- } from "./tool-hz62r41k.js";
2
+ Service55
3
+ } from "./vcs-nqp91hg0.js";
4
4
  import {
5
- Service10
6
- } from "./tool-19w2tstg.js";
5
+ Service9
6
+ } from "./vcs-93s725x3.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/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin35
18
+ Plugin: () => Plugin20
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin35 = define({
22
+ var Plugin20 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service51;
26
- const compaction = yield* Service10;
25
+ const config = yield* Service55;
26
+ const compaction = yield* Service9;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin35 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin35, exports_compaction };
42
+ export { Plugin20, exports_compaction };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./tool-t550f9t1.js";
8
+ } from "./vcs-02nrjc1r.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./tool-ec1grn59.js";
11
+ } from "./vcs-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./tool-a1bz86dw.js";
15
+ } from "./vcs-5c4hm403.js";
16
16
  import {
17
17
  __export
18
- } from "./tool-9rqn6x4v.js";
18
+ } from "./vcs-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -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/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -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/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,11 +1,11 @@
1
1
  import {
2
- ID15,
3
- Service74
4
- } from "./tool-3se9mp31.js";
2
+ ID5,
3
+ Service51
4
+ } from "./vcs-v8ehpa7g.js";
5
5
  import {
6
6
  isAISDK2,
7
7
  packageName2
8
- } from "./tool-bfc0h0ah.js";
8
+ } from "./vcs-nxs71vds.js";
9
9
 
10
10
  // src/plugin/provider/llmgateway.ts
11
11
  import { Effect } from "effect";
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
13
13
  var LLMGatewayPlugin2 = define({
14
14
  id: "opencode.provider.llmgateway",
15
15
  effect: Effect.fn(function* (ctx) {
16
- const integrations = yield* Service74;
16
+ const integrations = yield* Service51;
17
17
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
18
18
  yield* ctx.catalog.transform((evt) => {
19
19
  for (const item of evt.provider.list()) {
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
25
25
  continue;
26
26
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
27
27
  continue;
28
- if (!configured.has(ID15.make(item.provider.id)))
28
+ if (!configured.has(ID5.make(item.provider.id)))
29
29
  continue;
30
30
  evt.provider.update(item.provider.id, (provider) => {
31
31
  provider.headers = {
@@ -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/mime.ts
6
6
  var exports_mime = {};
@@ -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/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID9 = Session.ID;
5
- var Info24 = Session.Info;
4
+ var ID13 = Session.ID;
5
+ var Info26 = Session.Info;
6
6
 
7
- export { ID9, Info24, SessionSchema2 };
7
+ export { ID13, Info26, SessionSchema2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID13,
2
+ ID8,
3
3
  Family2
4
- } from "./tool-hrj7pjr8.js";
4
+ } from "./vcs-w16wg7x4.js";
5
5
  import {
6
- Service51
7
- } from "./tool-hz62r41k.js";
6
+ Service55
7
+ } from "./vcs-nqp91hg0.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./tool-1c8etqjp.js";
10
+ } from "./vcs-6p5hnz19.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service51;
39
+ const config = yield* Service55;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  catalog.model.update(providerID, item.key, (model) => {
66
- model.modelID = ID13.make(item.key);
66
+ model.modelID = ID8.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make5();
128
+ var LMStudioPlugin2 = make8();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make5, LMStudioPlugin2 };
145
+ export { make8, LMStudioPlugin2 };