@opencode-ai/core 0.0.0-beta-19192 → 0.0.0-beta-19215

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +71 -71
  7. package/dist/catalog.js +83 -82
  8. package/dist/chunks/{image-nphrg578.js → vcs-06qbm036.js} +8 -8
  9. package/dist/chunks/{image-1wne4z4q.js → vcs-0agkztpb.js} +25 -25
  10. package/dist/chunks/{image-m3fm0fm8.js → vcs-0b89de78.js} +5 -5
  11. package/dist/chunks/{image-0e0xafbb.js → vcs-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{image-fv5fa0fb.js → vcs-0j9tth8j.js} +43 -43
  13. package/dist/chunks/{image-0j8b5gw6.js → vcs-0papqmsd.js} +15 -15
  14. package/dist/chunks/{image-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
  15. package/dist/chunks/vcs-0q0f95c6.js +37 -0
  16. package/dist/chunks/{image-0s9ayhjt.js → vcs-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{image-r9gjvh9g.js → vcs-0vzfvg04.js} +8 -8
  18. package/dist/chunks/{image-gaq06wk0.js → vcs-0z1gmn2q.js} +6 -6
  19. package/dist/chunks/{image-9ka0zpp0.js → vcs-15sxmm5n.js} +11 -11
  20. package/dist/chunks/{image-e1yg3ztk.js → vcs-199hrm31.js} +29 -29
  21. package/dist/chunks/{image-0v53mg2y.js → vcs-1a6p2twq.js} +4 -4
  22. package/dist/chunks/{image-1ct4r87x.js → vcs-1ct4r87x.js} +1 -1
  23. package/dist/chunks/{image-7dntkcaf.js → vcs-1h8fvjtb.js} +19 -19
  24. package/dist/chunks/{image-xyxexyrh.js → vcs-1msg2xhp.js} +16 -16
  25. package/dist/chunks/{image-1n116cmy.js → vcs-1n116cmy.js} +2 -2
  26. package/dist/chunks/{image-mrdd2gsj.js → vcs-1qq0n3fx.js} +13 -13
  27. package/dist/chunks/{image-qhywa2va.js → vcs-1v44psd1.js} +11 -11
  28. package/dist/chunks/{image-21r38tys.js → vcs-21r38tys.js} +1 -1
  29. package/dist/chunks/{image-2402vzrj.js → vcs-2402vzrj.js} +1 -1
  30. package/dist/chunks/{image-dm7yrpwm.js → vcs-26cp1sm5.js} +5 -5
  31. package/dist/chunks/{image-ev17xj63.js → vcs-28k0k12k.js} +17 -17
  32. package/dist/chunks/{image-c3ffnjw8.js → vcs-29jkr7dy.js} +9 -9
  33. package/dist/chunks/{image-z63w68vq.js → vcs-29x78va6.js} +6 -6
  34. package/dist/chunks/{image-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{image-2ht70gj7.js → vcs-2ht70gj7.js} +1 -1
  36. package/dist/chunks/{image-qgn6gcr1.js → vcs-2k8khapm.js} +5 -5
  37. package/dist/chunks/{image-2kykh1mj.js → vcs-2kykh1mj.js} +2 -2
  38. package/dist/chunks/{image-hzajzqrq.js → vcs-2pcck2p6.js} +39 -39
  39. package/dist/chunks/{image-srexs3pv.js → vcs-2sq2sxwn.js} +10 -10
  40. package/dist/chunks/{image-1tjjswnh.js → vcs-2xmmrvpj.js} +46 -46
  41. package/dist/chunks/{image-rbx8vs9s.js → vcs-32e5jaqj.js} +32 -32
  42. package/dist/chunks/{image-6xyvfjmy.js → vcs-3b6fy74d.js} +13 -13
  43. package/dist/chunks/{image-x4j0zqk8.js → vcs-3f2698t0.js} +8 -8
  44. package/dist/chunks/{image-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{image-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{image-9r22tjds.js → vcs-3pa39xkc.js} +17 -17
  47. package/dist/chunks/{image-3qzbfqsy.js → vcs-3qzbfqsy.js} +2 -2
  48. package/dist/chunks/{image-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{image-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{image-z9hwx18z.js → vcs-3xjrz5h3.js} +43 -43
  51. package/dist/chunks/{image-454k5vzh.js → vcs-454k5vzh.js} +1 -1
  52. package/dist/chunks/{image-r2t05dft.js → vcs-48c3da1c.js} +11 -11
  53. package/dist/chunks/{image-49z4sxtc.js → vcs-49z4sxtc.js} +2 -2
  54. package/dist/chunks/{image-4ehv4ads.js → vcs-4ehv4ads.js} +1 -1
  55. package/dist/chunks/{image-nha5563d.js → vcs-4epeag8s.js} +9 -9
  56. package/dist/chunks/{image-astevrj0.js → vcs-4fjmsdns.js} +51 -51
  57. package/dist/chunks/vcs-4m5vhbnc.js +22 -0
  58. package/dist/chunks/{image-4r2nyarf.js → vcs-4r2nyarf.js} +1 -1
  59. package/dist/chunks/{image-r8qcw76d.js → vcs-4v29z2vj.js} +27 -27
  60. package/dist/chunks/{image-nfy329at.js → vcs-4y3tj3p1.js} +9 -9
  61. package/dist/chunks/{image-h10tdy9q.js → vcs-50vz3r2t.js} +11 -11
  62. package/dist/chunks/{image-r5vb7384.js → vcs-55gvq0qt.js} +59 -59
  63. package/dist/chunks/{image-6z5bwd8g.js → vcs-56gdpj1q.js} +11 -11
  64. package/dist/chunks/{image-5daktx2q.js → vcs-5daktx2q.js} +1 -1
  65. package/dist/chunks/{image-5fmxt4p5.js → vcs-5fmxt4p5.js} +1 -1
  66. package/dist/chunks/{image-5g186b3w.js → vcs-5g186b3w.js} +1 -1
  67. package/dist/chunks/{image-5jvc5tg2.js → vcs-5jvc5tg2.js} +1 -1
  68. package/dist/chunks/{image-z9dmagnb.js → vcs-5nck6wet.js} +295 -295
  69. package/dist/chunks/{image-5e15319b.js → vcs-5nrew705.js} +5 -5
  70. package/dist/chunks/{image-5pn8t89y.js → vcs-5pn8t89y.js} +1 -1
  71. package/dist/chunks/{image-5a0p3v26.js → vcs-5qepm9qc.js} +7 -7
  72. package/dist/chunks/{image-jwy076d6.js → vcs-61vj14ds.js} +23 -23
  73. package/dist/chunks/{image-c6hb7xc2.js → vcs-66wgwphc.js} +88 -88
  74. package/dist/chunks/{image-75yf2d83.js → vcs-6e958v7x.js} +8 -8
  75. package/dist/chunks/{image-zjwxsg17.js → vcs-6p379jz1.js} +19 -19
  76. package/dist/chunks/{image-c5fpz85k.js → vcs-6wyzmhhy.js} +23 -23
  77. package/dist/chunks/{image-711hfp6y.js → vcs-711hfp6y.js} +2 -2
  78. package/dist/chunks/{image-72nftnjy.js → vcs-72nftnjy.js} +2 -2
  79. package/dist/chunks/{image-mhkvc446.js → vcs-73tb2d7t.js} +3 -3
  80. package/dist/chunks/{image-cqfmdc01.js → vcs-73z8mm7z.js} +23 -23
  81. package/dist/chunks/{image-48my4t0a.js → vcs-76crymj9.js} +25 -25
  82. package/dist/chunks/{image-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{image-1s3p39g4.js → vcs-7ebn0nc0.js} +4 -4
  84. package/dist/chunks/{image-hh10djt1.js → vcs-7jsewfst.js} +22 -22
  85. package/dist/chunks/{image-kqtysscw.js → vcs-7zwsbxj9.js} +13 -13
  86. package/dist/chunks/{image-9nrx719g.js → vcs-845ry8cv.js} +6 -6
  87. package/dist/chunks/{image-nsrf1zd9.js → vcs-8bq4n2p3.js} +3 -3
  88. package/dist/chunks/{image-x42jkk5j.js → vcs-8qjd0mff.js} +46 -63
  89. package/dist/chunks/{image-ae8v5dmx.js → vcs-8txhwh3r.js} +11 -11
  90. package/dist/chunks/{image-93a8yfjt.js → vcs-93a8yfjt.js} +2 -2
  91. package/dist/chunks/{image-fdh5tbn3.js → vcs-98kv2fgn.js} +4 -4
  92. package/dist/chunks/{image-8weygxvf.js → vcs-9hzc3ktg.js} +45 -45
  93. package/dist/chunks/{image-mjhwcw5v.js → vcs-9nmeg6hb.js} +9 -9
  94. package/dist/chunks/{image-75bx6y3z.js → vcs-9pdr28vf.js} +85 -40
  95. package/dist/chunks/{image-qvbcabdc.js → vcs-9qm9egsn.js} +2 -2
  96. package/dist/chunks/{image-wxhc8dy1.js → vcs-9r6rc4b7.js} +28 -28
  97. package/dist/chunks/{image-pzx0zbh6.js → vcs-9v7mbvam.js} +4 -4
  98. package/dist/chunks/{image-1rms16wb.js → vcs-9yvs5zdp.js} +10 -10
  99. package/dist/chunks/{image-h40ga2ve.js → vcs-a4rgs0hc.js} +6 -6
  100. package/dist/chunks/{image-hvpnsy1s.js → vcs-a51qe2m1.js} +11 -11
  101. package/dist/chunks/{image-aaet6srn.js → vcs-aaet6srn.js} +2 -2
  102. package/dist/chunks/{image-7n2tcerd.js → vcs-af4svgqg.js} +11 -11
  103. package/dist/chunks/{image-yhngtrw1.js → vcs-agfpbvja.js} +16 -16
  104. package/dist/chunks/{image-yg7sb877.js → vcs-ajtjthsy.js} +2 -2
  105. package/dist/chunks/{image-y9a9s7mp.js → vcs-akj36s9h.js} +18 -18
  106. package/dist/chunks/vcs-b5q5y4vk.js +4 -0
  107. package/dist/chunks/{image-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{image-dxnmgjbm.js → vcs-b6p1hyvm.js} +7 -7
  109. package/dist/chunks/{image-fffs3heh.js → vcs-b8kek278.js} +16 -16
  110. package/dist/chunks/{image-cam0w9m9.js → vcs-b9399kqh.js} +7 -7
  111. package/dist/chunks/{image-b9wsbatv.js → vcs-b9wsbatv.js} +1 -1
  112. package/dist/chunks/{image-4apz7g8v.js → vcs-ben58ar7.js} +8 -8
  113. package/dist/chunks/vcs-bgrnrp44.js +193 -0
  114. package/dist/chunks/{image-243q2zkz.js → vcs-btcpkbm0.js} +15 -15
  115. package/dist/chunks/{image-q2qhh3tp.js → vcs-btwnxgvp.js} +9 -9
  116. package/dist/chunks/{image-meyfevqx.js → vcs-c91a16v9.js} +5 -5
  117. package/dist/chunks/{image-rkr4sv9x.js → vcs-cjy7jgaz.js} +30 -30
  118. package/dist/chunks/{image-j2rs2004.js → vcs-ck7ce0c9.js} +16 -16
  119. package/dist/chunks/{image-m59e1w6s.js → vcs-ctd4qdmr.js} +4 -4
  120. package/dist/chunks/{image-sg1nqqxe.js → vcs-cwd231kb.js} +14 -14
  121. package/dist/chunks/{image-pfb3hsz8.js → vcs-cywxv8kt.js} +33 -33
  122. package/dist/chunks/{image-zpfznfa2.js → vcs-d5eaw2qr.js} +42 -42
  123. package/dist/chunks/{image-g2gt0w0k.js → vcs-d72308c8.js} +2 -2
  124. package/dist/chunks/{image-bp57azs0.js → vcs-dzekqm42.js} +20 -20
  125. package/dist/chunks/{image-b45hdq4g.js → vcs-ed39k1pt.js} +5 -5
  126. package/dist/chunks/{image-h0nyqvwm.js → vcs-eea2f227.js} +17 -17
  127. package/dist/chunks/{image-tz7j0ah5.js → vcs-eeq7753a.js} +21 -21
  128. package/dist/chunks/{image-mstkx0nw.js → vcs-eg8251rh.js} +3 -3
  129. package/dist/chunks/{image-37ekrbj5.js → vcs-ehrd4qv3.js} +8 -8
  130. package/dist/chunks/{image-kt9eqfxj.js → vcs-ekqnrng5.js} +17 -17
  131. package/dist/chunks/{image-eq19x63z.js → vcs-eq19x63z.js} +1 -1
  132. package/dist/chunks/{image-ncdrabr4.js → vcs-famd3pv6.js} +5 -5
  133. package/dist/chunks/{image-30gfay9h.js → vcs-fdy3c0jq.js} +10 -10
  134. package/dist/chunks/{image-5qkxfyep.js → vcs-fjvydvzm.js} +4 -4
  135. package/dist/chunks/{image-ngt1cn5s.js → vcs-fjzrhbwe.js} +35 -35
  136. package/dist/chunks/{image-qv4r87jq.js → vcs-fnjz2ya7.js} +10 -10
  137. package/dist/chunks/{image-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{image-n1kbsmd5.js → vcs-fxpd7ndw.js} +22 -22
  139. package/dist/chunks/{image-fxypknc8.js → vcs-fxypknc8.js} +1 -1
  140. package/dist/chunks/{image-g4p50gac.js → vcs-g41bm2jr.js} +26 -26
  141. package/dist/chunks/{image-dvx7ppq8.js → vcs-g5g5wgjw.js} +12 -12
  142. package/dist/chunks/{image-kh6b770z.js → vcs-g74eqypt.js} +9 -9
  143. package/dist/chunks/{image-6m3crmzc.js → vcs-g8w9a2sb.js} +24 -24
  144. package/dist/chunks/{image-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{image-6wsskzzx.js → vcs-geykp34e.js} +9 -9
  146. package/dist/chunks/{image-gtcj13ca.js → vcs-gtcj13ca.js} +4 -4
  147. package/dist/chunks/{image-7skcpgmc.js → vcs-gv747rs9.js} +9 -9
  148. package/dist/chunks/{image-esk2a4yz.js → vcs-h3zw2b5b.js} +9 -9
  149. package/dist/chunks/{image-sscgwwvp.js → vcs-h607wd67.js} +15 -15
  150. package/dist/chunks/{image-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{image-heyhwy2w.js → vcs-heyhwy2w.js} +1 -1
  152. package/dist/chunks/{image-stfc1yc9.js → vcs-hjbandzy.js} +30 -30
  153. package/dist/chunks/{image-p6yzb5ay.js → vcs-hjt4xg1x.js} +4 -4
  154. package/dist/chunks/{image-r82wxrk3.js → vcs-hpqmtsvh.js} +32 -32
  155. package/dist/chunks/{image-g2dy4bvs.js → vcs-hrvm11jt.js} +3 -3
  156. package/dist/chunks/{image-hzxq4bdr.js → vcs-hzxq4bdr.js} +1 -1
  157. package/dist/chunks/{image-e1rfyyrx.js → vcs-j3pby61b.js} +4 -4
  158. package/dist/chunks/{image-6bkgre9x.js → vcs-j4vfhh0d.js} +21 -21
  159. package/dist/chunks/{image-7x53jcvj.js → vcs-j8zyd053.js} +17 -17
  160. package/dist/chunks/{image-paphc93g.js → vcs-j935v87r.js} +2 -2
  161. package/dist/chunks/{image-zrt27vz2.js → vcs-jaebam77.js} +9 -9
  162. package/dist/chunks/{image-bcezcar3.js → vcs-je9hks3h.js} +5 -5
  163. package/dist/chunks/{image-1g7epwpd.js → vcs-jfqtm2ew.js} +7 -7
  164. package/dist/chunks/{image-agvy7375.js → vcs-js040ewg.js} +57 -57
  165. package/dist/chunks/{image-5tacz69j.js → vcs-jstsd746.js} +13 -13
  166. package/dist/chunks/{image-5zx8vqtq.js → vcs-jtebge4x.js} +29 -29
  167. package/dist/chunks/{image-y71avatq.js → vcs-jwcy2c2z.js} +4 -4
  168. package/dist/chunks/{image-smn3ewtm.js → vcs-jz00yce7.js} +2 -2
  169. package/dist/chunks/{image-27t0qrmd.js → vcs-k2tbpkgb.js} +13 -13
  170. package/dist/chunks/{image-k4bwy1x5.js → vcs-k4bwy1x5.js} +1 -1
  171. package/dist/chunks/{image-7hj53tkn.js → vcs-k6bskw02.js} +39 -39
  172. package/dist/chunks/{image-bj98hyx2.js → vcs-kankm0x3.js} +32 -32
  173. package/dist/chunks/{image-jw78s2kh.js → vcs-kat8fmba.js} +11 -11
  174. package/dist/chunks/{image-fh1werz4.js → vcs-kawyycr7.js} +5 -5
  175. package/dist/chunks/{image-075hqz1p.js → vcs-kfghy6he.js} +6 -6
  176. package/dist/chunks/{image-kg06axw8.js → vcs-kg06axw8.js} +1 -1
  177. package/dist/chunks/{image-hw4pv20g.js → vcs-kvsjn1dr.js} +2 -2
  178. package/dist/chunks/{image-qy76r1wf.js → vcs-kw6gp66q.js} +8 -8
  179. package/dist/chunks/{image-m207hpws.js → vcs-m207hpws.js} +1 -1
  180. package/dist/chunks/{image-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{image-373aghza.js → vcs-myadqhd4.js} +28 -28
  182. package/dist/chunks/{image-285h785p.js → vcs-n0x6shhs.js} +19 -19
  183. package/dist/chunks/{image-ak4wpdp5.js → vcs-n73jawzs.js} +38 -38
  184. package/dist/chunks/{image-w97wc9k9.js → vcs-nedatabr.js} +4 -4
  185. package/dist/chunks/{image-pvjg77yk.js → vcs-neq27s6s.js} +12 -12
  186. package/dist/chunks/{image-ynhf0h2x.js → vcs-ns3eq7m0.js} +25 -25
  187. package/dist/chunks/{image-5mm5wtvx.js → vcs-ns5xtrvf.js} +8 -8
  188. package/dist/chunks/{image-d4fga7fm.js → vcs-nvw3xbya.js} +3 -3
  189. package/dist/chunks/{image-nwkrf4xa.js → vcs-nwkrf4xa.js} +2 -2
  190. package/dist/chunks/{image-nzmvpftv.js → vcs-nzmvpftv.js} +2 -2
  191. package/dist/chunks/{image-qkmcd2xy.js → vcs-p3xha42b.js} +23 -23
  192. package/dist/chunks/{image-1qw2s0et.js → vcs-p646wcv3.js} +9 -9
  193. package/dist/chunks/{image-z1mrzrph.js → vcs-p9vq2f3r.js} +22 -22
  194. package/dist/chunks/{image-pbxt2nhv.js → vcs-pbxt2nhv.js} +1 -1
  195. package/dist/chunks/{image-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{image-pknna89w.js → vcs-pknna89w.js} +1 -1
  197. package/dist/chunks/{image-s8kvec8m.js → vcs-pmtqz32t.js} +87 -57
  198. package/dist/chunks/{image-pq15x4g3.js → vcs-pq15x4g3.js} +1 -1
  199. package/dist/chunks/{image-6wee0njb.js → vcs-pwjtjj2g.js} +16 -16
  200. package/dist/chunks/{image-jrhxhxw8.js → vcs-pwvtd86b.js} +12 -12
  201. package/dist/chunks/{image-hgrms83d.js → vcs-pyb0vt1b.js} +30 -30
  202. package/dist/chunks/{image-shzqw592.js → vcs-q2jv6wk9.js} +3 -3
  203. package/dist/chunks/{image-yqapfx1s.js → vcs-qj2dbhwy.js} +9 -9
  204. package/dist/chunks/{image-1p8bnmch.js → vcs-qkzfms5c.js} +4 -4
  205. package/dist/chunks/{image-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  206. package/dist/chunks/{image-cek3fbn3.js → vcs-qv8vesay.js} +13 -13
  207. package/dist/chunks/{image-r5w2ssxe.js → vcs-r5w2ssxe.js} +2 -2
  208. package/dist/chunks/{image-r8dhm0tv.js → vcs-r8dhm0tv.js} +1 -1
  209. package/dist/chunks/vcs-rap9a73h.js +18 -0
  210. package/dist/chunks/{image-nwqw0f9p.js → vcs-rcqvhkqn.js} +32 -32
  211. package/dist/chunks/{image-0ayszzbx.js → vcs-rf2e5qpv.js} +4 -4
  212. package/dist/chunks/{image-prt3w6sm.js → vcs-rfd1h1zk.js} +23 -23
  213. package/dist/chunks/{image-rae26gbb.js → vcs-rjqxra3c.js} +8 -8
  214. package/dist/chunks/{image-mgwvmahn.js → vcs-rm3yzcsd.js} +4 -4
  215. package/dist/chunks/{image-6zjvkj2h.js → vcs-rnkg3a9m.js} +32 -32
  216. package/dist/chunks/{image-q3xf9qyh.js → vcs-rrqww7qb.js} +2 -2
  217. package/dist/chunks/{image-xr5by3j4.js → vcs-s82rw6zz.js} +24 -24
  218. package/dist/chunks/{image-sba4qhjf.js → vcs-sba4qhjf.js} +1 -1
  219. package/dist/chunks/{image-2m4g9ewj.js → vcs-sbnvhk9g.js} +20 -20
  220. package/dist/chunks/{image-nkj2jv88.js → vcs-sgvg2jfm.js} +18 -18
  221. package/dist/chunks/{image-0b64gfhy.js → vcs-sjvgarmy.js} +31 -31
  222. package/dist/chunks/{image-9e975f95.js → vcs-sywzgqtq.js} +8 -8
  223. package/dist/chunks/{image-c6qdtz30.js → vcs-t0xy2hyq.js} +9 -9
  224. package/dist/chunks/{image-g18dkc9a.js → vcs-t7dyq2hc.js} +12 -12
  225. package/dist/chunks/{image-4m7v3r37.js → vcs-t8a0n8qk.js} +29 -29
  226. package/dist/chunks/{image-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{image-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{image-9dknczgv.js → vcs-tgt602m5.js} +9 -9
  229. package/dist/chunks/{image-tjykrgmx.js → vcs-tjykrgmx.js} +1 -1
  230. package/dist/chunks/{image-n70sksgk.js → vcs-tmxtcmrp.js} +16 -16
  231. package/dist/chunks/{image-9pdz2n87.js → vcs-tpz8z6dc.js} +27 -27
  232. package/dist/chunks/{image-t2az9yje.js → vcs-tz4n1mmd.js} +4 -4
  233. package/dist/chunks/{image-sr6d0xpj.js → vcs-tzeffa9v.js} +11 -11
  234. package/dist/chunks/{image-1jmsknjd.js → vcs-v0wgv8sy.js} +6 -6
  235. package/dist/chunks/{image-v2tpghv8.js → vcs-v2tpghv8.js} +1 -1
  236. package/dist/chunks/{image-nag7dxjf.js → vcs-v60ecprk.js} +9 -9
  237. package/dist/chunks/{image-4d04p2vw.js → vcs-v9w5d20q.js} +20 -20
  238. package/dist/chunks/{image-v55y9sra.js → vcs-vdcmnvzv.js} +1 -1
  239. package/dist/chunks/{image-envd7176.js → vcs-vgfj0sqj.js} +19 -19
  240. package/dist/chunks/{image-szs3c7md.js → vcs-vh6as95p.js} +15 -15
  241. package/dist/chunks/{image-mj3zgynk.js → vcs-vnftj62s.js} +11 -11
  242. package/dist/chunks/{image-gnzetk2a.js → vcs-vsymvzqp.js} +15 -15
  243. package/dist/chunks/{image-xsk66m3q.js → vcs-vxbebyh5.js} +15 -15
  244. package/dist/chunks/{image-rbp25qjd.js → vcs-vxxn37a1.js} +8 -8
  245. package/dist/chunks/vcs-vz6qr5p1.js +20 -0
  246. package/dist/chunks/{image-6h414ywr.js → vcs-w0k1he6w.js} +5 -5
  247. package/dist/chunks/{image-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{image-f8fjkg66.js → vcs-wcd4bxx7.js} +17 -17
  249. package/dist/chunks/{image-wd87259q.js → vcs-wd87259q.js} +1 -1
  250. package/dist/chunks/{image-zjv8y9ya.js → vcs-wktb67xe.js} +20 -20
  251. package/dist/chunks/{image-6eew7fj7.js → vcs-wtegwy4b.js} +23 -23
  252. package/dist/chunks/{image-m3xe71g4.js → vcs-x021s0pe.js} +4 -4
  253. package/dist/chunks/{image-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{image-nbxe4rdy.js → vcs-x31rem5a.js} +26 -26
  255. package/dist/chunks/{image-dwn642yz.js → vcs-x805nf67.js} +155 -155
  256. package/dist/chunks/{image-1jcnaza9.js → vcs-xc3j7mzs.js} +11 -11
  257. package/dist/chunks/{image-9tpbkn8j.js → vcs-xp713wfq.js} +35 -35
  258. package/dist/chunks/{image-t44ethcb.js → vcs-xptebv1e.js} +18 -18
  259. package/dist/chunks/{image-k68abf46.js → vcs-xy79x8r5.js} +3 -3
  260. package/dist/chunks/{image-v5rgjsm5.js → vcs-y0n7gr4f.js} +31 -31
  261. package/dist/chunks/{image-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{image-xw0wvw3m.js → vcs-y27bcytp.js} +9 -9
  263. package/dist/chunks/{image-qkxs7z50.js → vcs-ybgy1sn3.js} +9 -9
  264. package/dist/chunks/{image-2y3ph1yz.js → vcs-ycrj0ja6.js} +57 -57
  265. package/dist/chunks/{image-tqqej2s1.js → vcs-yf1j450z.js} +8 -8
  266. package/dist/chunks/{image-yfbd16n1.js → vcs-yfbd16n1.js} +2 -2
  267. package/dist/chunks/{image-q7wd5sqm.js → vcs-yggcn4e9.js} +34 -34
  268. package/dist/chunks/{image-jasnfvjs.js → vcs-yhdr8f5j.js} +10 -10
  269. package/dist/chunks/{image-j3g33syr.js → vcs-yjsg3rxy.js} +9 -9
  270. package/dist/chunks/{image-djtdz80w.js → vcs-yp2x3t23.js} +15 -5
  271. package/dist/chunks/{image-200tvc8g.js → vcs-ysfe1p8c.js} +41 -40
  272. package/dist/chunks/{image-x4vht8q3.js → vcs-ystvjdgv.js} +2 -2
  273. package/dist/chunks/{image-80c43yza.js → vcs-ytpvxjwh.js} +4 -4
  274. package/dist/chunks/{image-p37ez7j2.js → vcs-ywbsfzeb.js} +16 -16
  275. package/dist/chunks/{image-1226r2df.js → vcs-ywyky1d5.js} +82 -82
  276. package/dist/chunks/{image-jpmhptrj.js → vcs-yzdb6kcq.js} +24 -24
  277. package/dist/chunks/{image-epess5q8.js → vcs-z1fj7npv.js} +11 -11
  278. package/dist/chunks/{image-z1k01bn4.js → vcs-z1k01bn4.js} +2 -2
  279. package/dist/chunks/vcs-z2gmxqr2.js +247 -0
  280. package/dist/chunks/{image-2gbqcpts.js → vcs-z96229j4.js} +25 -25
  281. package/dist/chunks/{image-zfdtt056.js → vcs-zfdtt056.js} +1 -1
  282. package/dist/chunks/{image-fvqftnr7.js → vcs-zgaw3beg.js} +26 -26
  283. package/dist/chunks/{image-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{image-c7aw7383.js → vcs-zxv5ek45.js} +23 -23
  285. package/dist/chunks/{image-qm4x1tv3.js → vcs-zyv202hh.js} +9 -9
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +79 -79
  290. package/dist/config/discovery.js +77 -77
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +19 -19
  293. package/dist/config/plugin/agent.js +117 -116
  294. package/dist/config/plugin/command.js +208 -207
  295. package/dist/config/plugin/compaction.js +154 -153
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -116
  298. package/dist/config/plugin/image.js +115 -114
  299. package/dist/config/plugin/instruction.js +85 -85
  300. package/dist/config/plugin/location-watcher.js +115 -114
  301. package/dist/config/plugin/mcp.js +126 -125
  302. package/dist/config/plugin/policy.js +114 -113
  303. package/dist/config/plugin/provider.js +113 -112
  304. package/dist/config/plugin/reference.js +117 -116
  305. package/dist/config/plugin/shell.js +116 -115
  306. package/dist/config/plugin/skill-file.js +96 -96
  307. package/dist/config/plugin/skill.js +135 -134
  308. package/dist/config/plugin/snapshot.js +115 -114
  309. package/dist/config/plugin/source.js +117 -116
  310. package/dist/config/plugin/tool-output.js +117 -116
  311. package/dist/config/plugin/websearch.js +113 -112
  312. package/dist/config/plugin/worktree.js +118 -117
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -118
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -80
  318. package/dist/database/database.js +64 -64
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration.gen.js +47 -47
  382. package/dist/database/migration.js +49 -49
  383. package/dist/database/path.js +2 -2
  384. package/dist/database/schema.gen.js +1 -1
  385. package/dist/database/schema.sql.js +1 -1
  386. package/dist/database/sqlite.bun.js +1 -1
  387. package/dist/database/sqlite.js +1 -1
  388. package/dist/database/sqlite.node.js +1 -1
  389. package/dist/database/sqlite.workerd.js +1 -1
  390. package/dist/database/v1-migration.bun.js +74 -74
  391. package/dist/database/v1-migration.js +1 -1
  392. package/dist/effect/app-node-builder.js +359 -358
  393. package/dist/effect/app-node-platform.js +2 -2
  394. package/dist/effect/keyed-mutex.js +3 -3
  395. package/dist/effect/websocket-constructor.js +1 -1
  396. package/dist/environment/driver.js +1 -1
  397. package/dist/environment/environment.js +88 -88
  398. package/dist/environment/exec-defaults.js +2 -2
  399. package/dist/environment/files.js +1 -1
  400. package/dist/environment/index.js +88 -88
  401. package/dist/environment/local.js +2 -2
  402. package/dist/environment/memory.js +2 -2
  403. package/dist/environment/unavailable.js +1 -1
  404. package/dist/event/sql.js +1 -1
  405. package/dist/event-logger.js +72 -72
  406. package/dist/file-mutation.js +89 -89
  407. package/dist/file-retention.js +1 -1
  408. package/dist/file.js +1 -1
  409. package/dist/filesystem/fff.bun.js +2 -2
  410. package/dist/filesystem/fff.js +1 -1
  411. package/dist/filesystem/fff.node.js +2 -2
  412. package/dist/filesystem/fff.workerd.js +2 -2
  413. package/dist/filesystem/ignore.js +1 -1
  414. package/dist/filesystem/location-watcher-policy.js +2 -2
  415. package/dist/filesystem/location-watcher.js +215 -214
  416. package/dist/filesystem/protected.js +1 -1
  417. package/dist/filesystem/search.js +99 -99
  418. package/dist/filesystem/watcher-binding.js +3 -3
  419. package/dist/filesystem/watcher.js +15 -15
  420. package/dist/filesystem.js +100 -100
  421. package/dist/form.js +82 -82
  422. package/dist/formatter/builtins.js +4 -4
  423. package/dist/formatter.js +82 -82
  424. package/dist/generate.js +89 -88
  425. package/dist/git.js +7 -7
  426. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  427. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  428. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  430. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  432. package/dist/github-copilot/copilot-provider.js +17 -17
  433. package/dist/github-copilot/models.js +7 -7
  434. package/dist/github-copilot/openai-compatible-error.js +1 -1
  435. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  436. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  437. package/dist/github-copilot/responses/openai-error.js +1 -1
  438. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  439. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  440. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  441. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  442. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  445. package/dist/id/id.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +7 -7
  449. package/dist/instance.js +350 -349
  450. package/dist/instruction-discovery.js +83 -83
  451. package/dist/instructions/builtins.js +82 -82
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +1 -1
  454. package/dist/integration.js +84 -83
  455. package/dist/job.js +77 -77
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +71 -71
  458. package/dist/location-activity.js +150 -90
  459. package/dist/location-mutation.js +81 -81
  460. package/dist/location-service-map.js +81 -81
  461. package/dist/location-services.js +347 -346
  462. package/dist/location.js +82 -82
  463. package/dist/mcp/client.js +90 -87
  464. package/dist/mcp/index.js +101 -100
  465. package/dist/mcp/instructions.js +121 -120
  466. package/dist/mcp/oauth.js +78 -12
  467. package/dist/mcp/stdio.js +85 -85
  468. package/dist/mime.js +1 -1
  469. package/dist/modal/models.js +7 -7
  470. package/dist/model-resolver.js +86 -85
  471. package/dist/model.js +2 -2
  472. package/dist/models-dev.js +84 -84
  473. package/dist/oauth/page.js +1 -1
  474. package/dist/permission/saved.js +78 -78
  475. package/dist/permission/sql.js +5 -5
  476. package/dist/permission.js +109 -109
  477. package/dist/persistent-pty/binary.bun.js +1 -1
  478. package/dist/persistent-pty/daemon.js +1 -1
  479. package/dist/persistent-pty/index.js +82 -82
  480. package/dist/persistent-pty/pty-binding.js +1 -1
  481. package/dist/persistent-pty.js +73 -73
  482. package/dist/plugin/agent.js +98 -98
  483. package/dist/plugin/command.js +96 -95
  484. package/dist/plugin/hooks.js +5 -5
  485. package/dist/plugin/host.js +212 -211
  486. package/dist/plugin/instance.js +5 -5
  487. package/dist/plugin/internal.js +321 -320
  488. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  489. package/dist/plugin/models-dev.js +75 -75
  490. package/dist/plugin/module.js +7 -7
  491. package/dist/plugin/optimize.js +4 -4
  492. package/dist/plugin/plan.js +96 -96
  493. package/dist/plugin/promise.js +1 -1
  494. package/dist/plugin/provider/alibaba.js +2 -2
  495. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  496. package/dist/plugin/provider/anthropic.js +2 -2
  497. package/dist/plugin/provider/azure.js +118 -117
  498. package/dist/plugin/provider/cerebras.js +2 -2
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -116
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -116
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +114 -113
  503. package/dist/plugin/provider/dynamic.js +2 -2
  504. package/dist/plugin/provider/factory.js +1 -1
  505. package/dist/plugin/provider/gateway.js +2 -2
  506. package/dist/plugin/provider/github-copilot.js +80 -79
  507. package/dist/plugin/provider/gitlab.js +3 -3
  508. package/dist/plugin/provider/google-vertex.js +2 -2
  509. package/dist/plugin/provider/kilo.js +2 -2
  510. package/dist/plugin/provider/llmgateway.js +76 -75
  511. package/dist/plugin/provider/lmstudio.js +117 -116
  512. package/dist/plugin/provider/mistral.js +2 -2
  513. package/dist/plugin/provider/modal.js +79 -78
  514. package/dist/plugin/provider/nvidia.js +2 -2
  515. package/dist/plugin/provider/ollama.js +117 -116
  516. package/dist/plugin/provider/openai-compatible.js +1 -1
  517. package/dist/plugin/provider/openai.js +80 -79
  518. package/dist/plugin/provider/opencode.js +76 -75
  519. package/dist/plugin/provider/openrouter.js +3 -3
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/sap-ai-core.js +3 -3
  522. package/dist/plugin/provider/sdk-factory.js +1 -1
  523. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  524. package/dist/plugin/provider/venice.js +2 -2
  525. package/dist/plugin/provider/vercel.js +2 -2
  526. package/dist/plugin/provider/vllm.js +117 -116
  527. package/dist/plugin/provider/xai.js +77 -76
  528. package/dist/plugin/provider/zenmux.js +2 -2
  529. package/dist/plugin/provider.js +155 -154
  530. package/dist/plugin/sdk.js +74 -74
  531. package/dist/plugin/service.js +5 -5
  532. package/dist/plugin/skill.js +132 -131
  533. package/dist/plugin/source-directory.js +1 -1
  534. package/dist/plugin/supervisor.js +336 -335
  535. package/dist/plugin/update.js +6 -6
  536. package/dist/plugin/variant.js +4 -4
  537. package/dist/plugin/vcs/git.js +82 -82
  538. package/dist/plugin/vcs/hg.js +82 -82
  539. package/dist/plugin/warming.js +112 -111
  540. package/dist/plugin/websearch/exa.js +7 -7
  541. package/dist/plugin/websearch/firecrawl.js +8 -8
  542. package/dist/plugin/websearch/index.js +8 -8
  543. package/dist/plugin/websearch/mcp.js +6 -6
  544. package/dist/plugin/websearch/parallel.js +8 -8
  545. package/dist/plugin/websearch/tavily.js +6 -6
  546. package/dist/plugin.js +223 -222
  547. package/dist/project/schema.js +8 -8
  548. package/dist/project/sql.js +4 -4
  549. package/dist/project.js +83 -83
  550. package/dist/provider.js +1 -1
  551. package/dist/pty/protocol.js +1 -1
  552. package/dist/pty/schema.js +3 -3
  553. package/dist/pty/ticket.js +1 -1
  554. package/dist/pty.js +90 -90
  555. package/dist/reference/instructions.js +84 -84
  556. package/dist/reference.js +86 -86
  557. package/dist/repository-cache.js +76 -76
  558. package/dist/repository.js +1 -1
  559. package/dist/ripgrep/binary.js +2 -2
  560. package/dist/ripgrep.js +91 -91
  561. package/dist/rpc.js +81 -81
  562. package/dist/schema.js +1 -1
  563. package/dist/session/command.js +72 -72
  564. package/dist/session/compaction.js +126 -125
  565. package/dist/session/context.js +146 -145
  566. package/dist/session/environment.js +5 -5
  567. package/dist/session/error.js +7 -7
  568. package/dist/session/event.js +1 -1
  569. package/dist/session/execution/restart.js +218 -217
  570. package/dist/session/execution.js +121 -120
  571. package/dist/session/generate.js +145 -144
  572. package/dist/session/history.js +14 -14
  573. package/dist/session/inbox.js +86 -86
  574. package/dist/session/info.js +3 -3
  575. package/dist/session/instruction-entry.js +77 -77
  576. package/dist/session/instruction-state.js +8 -8
  577. package/dist/session/instructions.js +91 -91
  578. package/dist/session/message-updater.js +2 -2
  579. package/dist/session/message.js +1 -1
  580. package/dist/session/model-request.js +112 -112
  581. package/dist/session/model-transport.js +9 -9
  582. package/dist/session/move.js +125 -124
  583. package/dist/session/projector.js +84 -84
  584. package/dist/session/prompt.js +99 -99
  585. package/dist/session/revert.js +85 -85
  586. package/dist/session/run-coordinator.js +3 -3
  587. package/dist/session/runner/index.js +3 -3
  588. package/dist/session/runner/llm.js +222 -221
  589. package/dist/session/runner/max-steps.js +1 -1
  590. package/dist/session/runner/model.js +86 -85
  591. package/dist/session/runner/publish-llm-event.js +3 -3
  592. package/dist/session/runner/retry.js +4 -4
  593. package/dist/session/runner/step.js +118 -117
  594. package/dist/session/runner/to-llm-message.js +1 -1
  595. package/dist/session/schema.js +5 -5
  596. package/dist/session/session.js +166 -165
  597. package/dist/session/shell.js +131 -130
  598. package/dist/session/skill.js +97 -97
  599. package/dist/session/sql.js +5 -5
  600. package/dist/session/stats.js +71 -71
  601. package/dist/session/store.js +84 -84
  602. package/dist/session/subagent-completion.js +1 -1
  603. package/dist/session/subagent-job.js +204 -203
  604. package/dist/session/system-prompt.js +3 -3
  605. package/dist/session/title.js +144 -143
  606. package/dist/session/to-session-error.js +106 -105
  607. package/dist/session/transfer.js +214 -213
  608. package/dist/session/usage.js +1 -1
  609. package/dist/session.js +212 -211
  610. package/dist/shell/parse.js +6 -6
  611. package/dist/shell/result.js +1 -1
  612. package/dist/shell/scan.js +1 -1
  613. package/dist/shell/select.js +11 -11
  614. package/dist/shell.js +133 -132
  615. package/dist/skill/discovery.js +2 -2
  616. package/dist/skill/instructions.js +101 -101
  617. package/dist/skill.js +106 -106
  618. package/dist/snapshot.js +86 -86
  619. package/dist/state.js +1 -1
  620. package/dist/tool/html-markdown.js +1 -1
  621. package/dist/tool/http-body.js +1 -1
  622. package/dist/tool/mcp.js +120 -119
  623. package/dist/tool/plugin/edit.js +114 -114
  624. package/dist/tool/plugin/file-diff.js +1 -1
  625. package/dist/tool/plugin/glob.js +119 -119
  626. package/dist/tool/plugin/grep.js +119 -119
  627. package/dist/tool/plugin/opencode.js +3 -3
  628. package/dist/tool/plugin/patch.js +114 -114
  629. package/dist/tool/plugin/question.js +97 -97
  630. package/dist/tool/plugin/read.js +120 -120
  631. package/dist/tool/plugin/shell.js +209 -208
  632. package/dist/tool/plugin/skill.js +107 -107
  633. package/dist/tool/plugin/subagent.js +213 -212
  634. package/dist/tool/plugin/webfetch.js +100 -100
  635. package/dist/tool/plugin/websearch.js +104 -104
  636. package/dist/tool/plugin/write.js +114 -114
  637. package/dist/tool/read-filesystem.js +96 -96
  638. package/dist/tool/runtime.js +1 -1
  639. package/dist/tool-output.js +8 -8
  640. package/dist/tool.js +15 -15
  641. package/dist/types/location-activity.d.ts +3 -1
  642. package/dist/types/mcp/oauth.d.ts +6 -0
  643. package/dist/types/plugin/websearch/mcp.d.ts +1 -1
  644. package/dist/types/project/schema.d.ts +1 -0
  645. package/dist/types/project.d.ts +1 -0
  646. package/dist/types/session/execution.d.ts +5 -2
  647. package/dist/types/session/run-coordinator.d.ts +5 -2
  648. package/dist/types/util/error-summary.d.ts +7 -0
  649. package/dist/types/websearch.d.ts +5 -1
  650. package/dist/util/error-summary.js +8 -0
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +3 -3
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +4 -4
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +85 -85
  677. package/dist/websearch.js +76 -76
  678. package/dist/wellknown/plugin.js +74 -74
  679. package/dist/wellknown.js +77 -77
  680. package/dist/workspace/driver.js +3 -3
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +78 -78
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +5 -5
  685. package/dist/worktree/refresh.js +337 -336
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +91 -91
  688. package/package.json +7 -7
  689. package/dist/chunks/image-35zwc601.js +0 -247
  690. package/dist/chunks/image-7zk4hah4.js +0 -4
  691. package/dist/chunks/image-8n0gk8bj.js +0 -138
  692. package/dist/chunks/image-kpe4sfyz.js +0 -20
  693. package/dist/chunks/image-wqqnj2ff.js +0 -18
  694. package/dist/chunks/image-xacb94nx.js +0 -22
  695. /package/dist/chunks/{image-0fabt78z.js → vcs-0fabt78z.js} +0 -0
  696. /package/dist/chunks/{image-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{image-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{image-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{image-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{image-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{image-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{image-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{image-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{image-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{image-3asan66x.js → vcs-3asan66x.js} +0 -0
  706. /package/dist/chunks/{image-3t738kvx.js → vcs-3t738kvx.js} +0 -0
  707. /package/dist/chunks/{image-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{image-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{image-41nvscxy.js → vcs-41nvscxy.js} +0 -0
  710. /package/dist/chunks/{image-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{image-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{image-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{image-53557ph1.js → vcs-53557ph1.js} +0 -0
  714. /package/dist/chunks/{image-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{image-6prwharc.js → vcs-6prwharc.js} +0 -0
  716. /package/dist/chunks/{image-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{image-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{image-822emrt2.js → vcs-822emrt2.js} +0 -0
  719. /package/dist/chunks/{image-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{image-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{image-982e01ww.js → vcs-982e01ww.js} +0 -0
  722. /package/dist/chunks/{image-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{image-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{image-a1tpkmh4.js → vcs-a1tpkmh4.js} +0 -0
  725. /package/dist/chunks/{image-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{image-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{image-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{image-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{image-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{image-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{image-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{image-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{image-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{image-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{image-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{image-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{image-df08tz66.js → vcs-df08tz66.js} +0 -0
  738. /package/dist/chunks/{image-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{image-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{image-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{image-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{image-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{image-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{image-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{image-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{image-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{image-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{image-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{image-g86h250q.js → vcs-g86h250q.js} +0 -0
  750. /package/dist/chunks/{image-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{image-hk9envan.js → vcs-hk9envan.js} +0 -0
  752. /package/dist/chunks/{image-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{image-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{image-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{image-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{image-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{image-mntxs535.js → vcs-mntxs535.js} +0 -0
  758. /package/dist/chunks/{image-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{image-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{image-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{image-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{image-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{image-p8qxwesx.js → vcs-p8qxwesx.js} +0 -0
  764. /package/dist/chunks/{image-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{image-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{image-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{image-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{image-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{image-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{image-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{image-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{image-se0s1eqw.js → vcs-se0s1eqw.js} +0 -0
  773. /package/dist/chunks/{image-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{image-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{image-twg0f83k.js → vcs-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{image-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{image-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{image-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{image-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{image-x1b8g1yb.js → vcs-x1b8g1yb.js} +0 -0
  781. /package/dist/chunks/{image-x61499pn.js → vcs-x61499pn.js} +0 -0
  782. /package/dist/chunks/{image-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{image-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{image-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{image-z9919s4g.js → vcs-z9919s4g.js} +0 -0
  786. /package/dist/chunks/{image-zbjnn3ac.js → vcs-zbjnn3ac.js} +0 -0
@@ -2,30 +2,30 @@ import {
2
2
  ID14,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./image-zfdtt056.js";
5
+ } from "./vcs-zfdtt056.js";
6
6
  import {
7
7
  ID13
8
- } from "./image-nzmvpftv.js";
8
+ } from "./vcs-nzmvpftv.js";
9
9
  import {
10
- Service79
11
- } from "./image-pvjg77yk.js";
10
+ Service77
11
+ } from "./vcs-neq27s6s.js";
12
12
  import {
13
13
  OAuth3,
14
- Event18
15
- } from "./image-75bx6y3z.js";
14
+ Event19
15
+ } from "./vcs-9pdr28vf.js";
16
16
  import {
17
- ID11,
17
+ ID10,
18
18
  MethodID2
19
- } from "./image-hgrms83d.js";
19
+ } from "./vcs-pyb0vt1b.js";
20
20
  import {
21
- Service68
22
- } from "./image-jwy076d6.js";
21
+ Service50
22
+ } from "./vcs-61vj14ds.js";
23
23
  import {
24
- get2
25
- } from "./image-qm4x1tv3.js";
24
+ get3
25
+ } from "./vcs-zyv202hh.js";
26
26
  import {
27
27
  useragent2
28
- } from "./image-ae8v5dmx.js";
28
+ } from "./vcs-8txhwh3r.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID11.make("github-copilot"),
60
+ integrationID: ID10.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,8 +155,8 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service68;
159
- const bus = yield* Service79;
158
+ const catalog = yield* Service50;
159
+ const bus = yield* Service77;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
162
162
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
173
173
  const provider = yield* catalog.provider.get(ID14.githubCopilot);
174
174
  const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID14.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
- try: () => get2(loaded.baseURL ?? baseURL(), {
176
+ try: () => get3(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
178
178
  Authorization: `Bearer ${credential.refresh}`,
179
179
  "User-Agent": useragent2(ctx.app),
@@ -214,7 +214,7 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
220
  if (evt.model.providerID !== ID14.githubCopilot)
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./image-shzqw592.js";
3
+ } from "./vcs-q2jv6wk9.js";
4
4
  import {
5
5
  apply3
6
- } from "./image-mstkx0nw.js";
6
+ } from "./vcs-eg8251rh.js";
7
7
  import {
8
8
  __export
9
- } from "./image-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node75
5
- } from "./image-ae8v5dmx.js";
4
+ node47
5
+ } from "./vcs-8txhwh3r.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./image-r9gjvh9g.js";
7
+ Service68,
8
+ node72
9
+ } from "./vcs-0vzfvg04.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./image-2y3ph1yz.js";
12
+ } from "./vcs-ycrj0ja6.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./image-1jcnaza9.js";
15
+ } from "./vcs-xc3j7mzs.js";
16
16
  import {
17
- Error3
18
- } from "./image-48my4t0a.js";
17
+ Error2
18
+ } from "./vcs-76crymj9.js";
19
19
  import {
20
- Service40,
21
- node43
22
- } from "./image-hvpnsy1s.js";
20
+ Service28,
21
+ node33
22
+ } from "./vcs-a51qe2m1.js";
23
23
  import {
24
- make17
25
- } from "./image-p6yzb5ay.js";
24
+ make15
25
+ } from "./vcs-hjt4xg1x.js";
26
26
  import {
27
27
  toLLMMessages2
28
- } from "./image-zbjnn3ac.js";
28
+ } from "./vcs-zbjnn3ac.js";
29
29
  import {
30
30
  __export
31
- } from "./image-9rqn6x4v.js";
31
+ } from "./vcs-9rqn6x4v.js";
32
32
 
33
33
  // src/session/model-request.ts
34
34
  var exports_model_request = {};
35
35
  __export(exports_model_request, {
36
- Service: () => Service39,
36
+ Service: () => Service27,
37
37
  SessionModelRequest: () => exports_model_request,
38
38
  baseTranscript: () => baseTranscript2,
39
39
  boundImages: () => boundImages2,
40
- layer: () => layer15,
41
- node: () => node42,
40
+ layer: () => layer12,
41
+ node: () => node32,
42
42
  unsupportedParts: () => unsupportedParts2
43
43
  });
44
44
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
@@ -58,7 +58,7 @@ var baseTranscript2 = (input) => {
58
58
  return {
59
59
  providerMetadataKey,
60
60
  system: [
61
- input.agent.system ? input.agent.system : make17(input.tools.definitions.map((tool) => tool.name)),
61
+ input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
62
62
  input.initial
63
63
  ].filter((part) => part.length > 0).map(SystemPart.make),
64
64
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -185,11 +185,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
185
185
  return HttpClientResponse.fromWeb(sent, after.response);
186
186
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
187
187
 
188
- class Service39 extends Context.Service()("@opencode/SessionModelRequest") {
188
+ class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
189
189
  }
190
- var layer15 = Layer.effect(Service39, Effect.gen(function* () {
191
- const hooks = yield* Service63;
192
- const transport = yield* Service40;
190
+ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
191
+ const hooks = yield* Service68;
192
+ const transport = yield* Service28;
193
193
  const app = yield* Metadata2;
194
194
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
195
195
  const session = input.scope.session;
@@ -197,7 +197,7 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
197
197
  const model = resolved.model;
198
198
  const tools = input.scope.tools ?? {
199
199
  definitions: [],
200
- execute: () => new Error3({ message: "Tools are not available for this request" })
200
+ execute: () => new Error2({ message: "Tools are not available for this request" })
201
201
  };
202
202
  const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
203
203
  const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
@@ -254,12 +254,12 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
254
254
  executeTool
255
255
  };
256
256
  });
257
- return Service39.of({ prepare });
257
+ return Service27.of({ prepare });
258
258
  }));
259
- var node42 = makeLocationNode({
260
- service: Service39,
261
- layer: layer15,
262
- deps: [node66, node43, node75]
259
+ var node32 = makeLocationNode({
260
+ service: Service27,
261
+ layer: layer12,
262
+ deps: [node72, node33, node47]
263
263
  });
264
264
 
265
- export { baseTranscript2, unsupportedParts2, boundImages2, Service39, layer15, node42, exports_model_request };
265
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer12, node32, exports_model_request };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service47
3
- } from "./image-8weygxvf.js";
2
+ Service66
3
+ } from "./vcs-9hzc3ktg.js";
4
4
  import {
5
5
  match2
6
- } from "./image-y1fvbwt7.js";
6
+ } from "./vcs-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./image-qsdy395h.js";
9
+ } from "./vcs-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./image-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: () => Plugin21
18
+ Plugin: () => Plugin6
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin21 = define({
22
+ var Plugin6 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service47;
25
+ const config = yield* Service66;
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 Plugin21 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin21, exports_policy };
38
+ export { Plugin6, exports_policy };
@@ -2,22 +2,22 @@ import {
2
2
  ID14,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./image-zfdtt056.js";
5
+ } from "./vcs-zfdtt056.js";
6
6
  import {
7
7
  ID13,
8
8
  VariantID2,
9
9
  Info26,
10
10
  compatibility2
11
- } from "./image-nzmvpftv.js";
11
+ } from "./vcs-nzmvpftv.js";
12
12
  import {
13
13
  __export
14
- } from "./image-9rqn6x4v.js";
14
+ } from "./vcs-9rqn6x4v.js";
15
15
 
16
16
  // src/modal/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- ModalModels: () => exports_models2,
20
- get: () => get3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ ModalModels: () => exports_models,
20
+ get: () => get2
21
21
  });
22
22
  import { Money } from "@opencode-ai/schema/money";
23
23
  import { Option, Schema } from "effect";
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
53
53
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
54
54
  var decodeResponse = Schema.decodeUnknownSync(Response);
55
55
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
56
- async function get3(baseURL, apiKey, existing) {
56
+ async function get2(baseURL, apiKey, existing) {
57
57
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`
@@ -138,4 +138,4 @@ function variants(remote) {
138
138
  return [...seen.values()];
139
139
  }
140
140
 
141
- export { get3, exports_models2 };
141
+ export { get2, exports_models };
@@ -1,71 +1,71 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./image-pvjg77yk.js";
2
+ Service77,
3
+ node82
4
+ } from "./vcs-neq27s6s.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./image-xyxexyrh.js";
6
+ Service74,
7
+ node79
8
+ } from "./vcs-1msg2xhp.js";
9
9
  import {
10
10
  ID9,
11
- Service56,
12
- node59
13
- } from "./image-6bkgre9x.js";
11
+ Service48,
12
+ node52
13
+ } from "./vcs-j4vfhh0d.js";
14
14
  import {
15
- NotFoundError7
16
- } from "./image-j3g33syr.js";
15
+ NotFoundError6
16
+ } from "./vcs-yjsg3rxy.js";
17
17
  import {
18
- Service55,
19
- node58
20
- } from "./image-fffs3heh.js";
18
+ Service46,
19
+ node50
20
+ } from "./vcs-b8kek278.js";
21
21
  import {
22
22
  match2
23
- } from "./image-y1fvbwt7.js";
23
+ } from "./vcs-y1fvbwt7.js";
24
24
  import {
25
- Service54,
26
- node57
27
- } from "./image-szs3c7md.js";
25
+ Service47,
26
+ node51
27
+ } from "./vcs-vh6as95p.js";
28
28
  import {
29
- Service63,
30
- node66
31
- } from "./image-r9gjvh9g.js";
29
+ Service68,
30
+ node72
31
+ } from "./vcs-0vzfvg04.js";
32
32
  import {
33
33
  __export
34
- } from "./image-9rqn6x4v.js";
34
+ } from "./vcs-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event12,
46
- ID: () => ID6,
47
- NotFoundError: () => NotFoundError6,
48
- Permission: () => exports_permission2,
45
+ Event: () => Event8,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError5,
48
+ Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule3,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service53,
55
- Source: () => Source5,
54
+ Service: () => Service45,
55
+ Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node56
58
+ node: () => node49
59
59
  });
60
60
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode-ai/schema/permission";
63
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
64
- import { Event as Event12 } from "@opencode-ai/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
64
+ import { Event as Event8 } from "@opencode-ai/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID6 = Permission.ID;
68
- var Source5 = Permission.Source;
67
+ var ID7 = Permission.ID;
68
+ var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID6.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
82
  agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID6,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID6,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID6
113
+ class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service53 extends Context.Service()("@opencode/Permission") {
128
+ class Service45 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service53, Effect.gen(function* () {
131
- const bus = yield* Service79;
132
- const location = yield* Service75;
133
- const agents = yield* Service56;
134
- const sessions = yield* Service55;
135
- const saved = yield* Service54;
136
- const hooks = yield* Service63;
130
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
131
+ const bus = yield* Service77;
132
+ const location = yield* Service74;
133
+ const agents = yield* Service48;
134
+ const sessions = yield* Service46;
135
+ const saved = yield* Service47;
136
+ const hooks = yield* Service68;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError7({ sessionID });
153
+ return yield* new NotFoundError6({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return agent?.permissions ?? missingAgentPermissions;
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID6.create(),
183
+ id: input.id ?? ID7.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError6({ requestID: input.requestID });
231
+ return yield* new NotFoundError5({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service53.of({ ask, assert, reply, get, forSession, list });
286
+ return Service45.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node56 = makeLocationNode({
289
- service: Service53,
288
+ var node49 = makeLocationNode({
289
+ service: Service45,
290
290
  layer,
291
- deps: [node84, node80, node59, node58, node57, node66]
291
+ deps: [node82, node79, node52, node50, node51, node72]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service53, node56, exports_permission2, Rule3, Ruleset2, Event12 };
294
+ export { PermissionEffect, ID7, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service45, node49, exports_permission, Rule2, Ruleset2, Event8 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service46,
8
+ Service: () => Service64,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node49
10
+ node: () => node68
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
14
14
 
15
- class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service64 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service46, () => {
17
+ var layer = Layer.sync(Service64, () => {
18
18
  const environments = new Map;
19
- return Service46.of({
19
+ return Service64.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service46, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node49 = makeGlobalNode({ service: Service46, layer, deps: [] });
29
+ var node68 = makeGlobalNode({ service: Service64, layer, deps: [] });
30
30
 
31
- export { Service46, node49, exports_environment };
31
+ export { Service64, node68, exports_environment };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./image-982e01ww.js";
3
+ } from "./vcs-982e01ww.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};