@opencode/core 0.0.0-dev-20295 → 0.0.0-dev-20297

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-h3qzgcp1.js → vcs-0876npy8.js} +12 -12
  8. package/dist/chunks/{location-27z7pma6.js → vcs-0a1dfz7r.js} +16 -16
  9. package/dist/chunks/{location-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{location-87eb0wvk.js → vcs-0tqkw5bw.js} +20 -20
  11. package/dist/chunks/{location-swabsky0.js → vcs-0z1gmn2q.js} +6 -6
  12. package/dist/chunks/{location-csp167nn.js → vcs-18296zga.js} +20 -6
  13. package/dist/chunks/{location-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{location-mc8ws243.js → vcs-1djhwe97.js} +30 -30
  15. package/dist/chunks/{location-mntfxcz2.js → vcs-1ekk4s7j.js} +4 -4
  16. package/dist/chunks/{location-8j5e0nxw.js → vcs-1esepqbd.js} +35 -35
  17. package/dist/chunks/{location-rnr5nq63.js → vcs-1fw2a5v8.js} +19 -19
  18. package/dist/chunks/{location-cqhb2t13.js → vcs-1h0nj16t.js} +21 -21
  19. package/dist/chunks/{location-zm51y9zq.js → vcs-1v2b2k63.js} +16 -16
  20. package/dist/chunks/{location-21r38tys.js → vcs-21r38tys.js} +1 -1
  21. package/dist/chunks/{location-wyanbm64.js → vcs-231222c6.js} +4 -4
  22. package/dist/chunks/{location-mq8f5nmh.js → vcs-28nztbsp.js} +30 -30
  23. package/dist/chunks/{location-kk3cv3zh.js → vcs-293305v0.js} +1 -1
  24. package/dist/chunks/{location-z63w68vq.js → vcs-29x78va6.js} +6 -6
  25. package/dist/chunks/{location-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{location-jdhe76k5.js → vcs-2gqdr94z.js} +3 -3
  27. package/dist/chunks/{location-2k8khapm.js → vcs-2k8khapm.js} +1 -1
  28. package/dist/chunks/{location-w3efebdc.js → vcs-2kzd1k6y.js} +22 -22
  29. package/dist/chunks/{location-09mh3h53.js → vcs-2sv6eqec.js} +15 -15
  30. package/dist/chunks/{location-bx8vey6p.js → vcs-304ndgye.js} +21 -21
  31. package/dist/chunks/{location-427t97hr.js → vcs-3556dn8t.js} +1 -1
  32. package/dist/chunks/{location-6yvxz189.js → vcs-37sfe3bm.js} +10 -10
  33. package/dist/chunks/{location-e89xj288.js → vcs-38adaqc0.js} +5 -5
  34. package/dist/chunks/{location-knetett0.js → vcs-3aq2526j.js} +48 -48
  35. package/dist/chunks/{location-ckbtgcas.js → vcs-3cvhxgkj.js} +12 -12
  36. package/dist/chunks/{location-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{location-gydr4vsc.js → vcs-3h8yw40x.js} +9 -9
  38. package/dist/chunks/{location-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{location-5kbmmh0w.js → vcs-3kbhjp3q.js} +11 -11
  40. package/dist/chunks/{location-z1dsjv8w.js → vcs-3pebang0.js} +20 -20
  41. package/dist/chunks/{location-nxhp6d1h.js → vcs-3s57j9d0.js} +15 -15
  42. package/dist/chunks/{location-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{location-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{location-15zraegk.js → vcs-3vbw7yca.js} +30 -30
  45. package/dist/chunks/{location-0g11kb4v.js → vcs-3wgpjb8z.js} +16 -16
  46. package/dist/chunks/{location-cw1jgv1w.js → vcs-3y1r2rpt.js} +8 -8
  47. package/dist/chunks/{location-mpk0rfs5.js → vcs-3y377wv9.js} +4 -4
  48. package/dist/chunks/{location-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{location-5j3nemfx.js → vcs-40e80s20.js} +24 -24
  50. package/dist/chunks/{location-ek5t7eqg.js → vcs-42kdhqse.js} +3 -3
  51. package/dist/chunks/{location-v537vfcj.js → vcs-44m1ppkf.js} +44 -44
  52. package/dist/chunks/{location-pg092y7m.js → vcs-44txpx69.js} +20 -20
  53. package/dist/chunks/{location-sdvk2ad6.js → vcs-4acqjqp7.js} +24 -24
  54. package/dist/chunks/{location-4v0x0v53.js → vcs-4e9nfnk1.js} +53 -53
  55. package/dist/chunks/{location-5ns8y5nv.js → vcs-4j9evkcm.js} +8 -8
  56. package/dist/chunks/{location-30pndsv9.js → vcs-4mtvmndk.js} +4 -4
  57. package/dist/chunks/{location-pr72k1jg.js → vcs-4q8m0zqq.js} +13 -13
  58. package/dist/chunks/{location-syf57q56.js → vcs-4z58m4b4.js} +4 -4
  59. package/dist/chunks/{location-54ma36ye.js → vcs-54ma36ye.js} +1 -1
  60. package/dist/chunks/{location-ckecvw8r.js → vcs-54tcyq79.js} +2 -2
  61. package/dist/chunks/{location-f5qn67hn.js → vcs-56dsz7qa.js} +324 -324
  62. package/dist/chunks/{location-56gdpj1q.js → vcs-56gdpj1q.js} +2 -2
  63. package/dist/chunks/vcs-5bzc4ph3.js +26 -0
  64. package/dist/chunks/{location-5daktx2q.js → vcs-5daktx2q.js} +1 -1
  65. package/dist/chunks/{location-eag70mrj.js → vcs-5gwm7s57.js} +3 -3
  66. package/dist/chunks/{location-w6fmte8d.js → vcs-5k1yf8nh.js} +30 -30
  67. package/dist/chunks/{location-3ez35teb.js → vcs-5p6nskts.js} +15 -15
  68. package/dist/chunks/{location-eae26f42.js → vcs-5p9dmvg9.js} +13 -13
  69. package/dist/chunks/{location-ambwqhm0.js → vcs-5sz650yn.js} +68 -68
  70. package/dist/chunks/{location-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{location-jtfh4wfs.js → vcs-5v1c364k.js} +30 -30
  72. package/dist/chunks/vcs-619r8v3y.js +18 -0
  73. package/dist/chunks/{location-kn0epzjf.js → vcs-61zp4wnv.js} +11 -11
  74. package/dist/chunks/{location-d3z5vgb9.js → vcs-62ezrtah.js} +91 -91
  75. package/dist/chunks/{location-669tq793.js → vcs-669tq793.js} +1 -1
  76. package/dist/chunks/{location-1gmrbm9q.js → vcs-66j8y0n9.js} +20 -20
  77. package/dist/chunks/{location-j6h5z8n4.js → vcs-6e5bh3xz.js} +28 -28
  78. package/dist/chunks/{location-hre7hyen.js → vcs-6erhv98a.js} +17 -17
  79. package/dist/chunks/{location-qrpna819.js → vcs-6fza0gtm.js} +15 -15
  80. package/dist/chunks/{location-z7eps1h1.js → vcs-6j71bdrn.js} +4 -4
  81. package/dist/chunks/{location-h23ctypg.js → vcs-6mg6ac8r.js} +18 -18
  82. package/dist/chunks/{location-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
  83. package/dist/chunks/{location-qqcp2fey.js → vcs-70vk70yg.js} +16 -6
  84. package/dist/chunks/{location-gz5dk3bq.js → vcs-724n6vts.js} +3 -3
  85. package/dist/chunks/{location-h345add1.js → vcs-72f4v86y.js} +11 -11
  86. package/dist/chunks/{location-j028xdjb.js → vcs-73tb2d7t.js} +3 -3
  87. package/dist/chunks/{location-math506r.js → vcs-755ktwre.js} +25 -25
  88. package/dist/chunks/{location-wpn654rn.js → vcs-76zvcd1g.js} +32 -32
  89. package/dist/chunks/{location-qtpgf39r.js → vcs-7854zz5a.js} +3 -3
  90. package/dist/chunks/{location-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{location-tjp0ts8d.js → vcs-7enbc4fp.js} +180 -180
  92. package/dist/chunks/{location-613reg7y.js → vcs-7j156qnj.js} +7 -7
  93. package/dist/chunks/{location-8aaqm6qj.js → vcs-7rwqf82v.js} +8 -8
  94. package/dist/chunks/{location-hnr8f6ws.js → vcs-7zpeh0yx.js} +4 -4
  95. package/dist/chunks/{location-rnx3qgyn.js → vcs-8041njv8.js} +42 -42
  96. package/dist/chunks/{location-hhc9atkh.js → vcs-83ww5tb3.js} +17 -17
  97. package/dist/chunks/{location-84txncab.js → vcs-84txncab.js} +1 -1
  98. package/dist/chunks/{location-5xpznt2d.js → vcs-86n330eh.js} +4 -4
  99. package/dist/chunks/{location-13xegjf9.js → vcs-88k66p5t.js} +31 -31
  100. package/dist/chunks/{location-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
  101. package/dist/chunks/{location-pecb0brz.js → vcs-8jxztqqt.js} +5 -5
  102. package/dist/chunks/{location-4gma0qdv.js → vcs-8n9ym7bh.js} +11 -11
  103. package/dist/chunks/{location-j5fma2v7.js → vcs-8nqy64kg.js} +37 -37
  104. package/dist/chunks/{location-czfptnv9.js → vcs-8v6pyhej.js} +8 -8
  105. package/dist/chunks/{location-f3rj20sn.js → vcs-8vf9p1vn.js} +20 -20
  106. package/dist/chunks/{location-g5agzp2h.js → vcs-8zh4h089.js} +5 -5
  107. package/dist/chunks/{location-n0ppq016.js → vcs-983bx4tv.js} +14 -14
  108. package/dist/chunks/{location-at8brtyc.js → vcs-9f9b48nn.js} +20 -20
  109. package/dist/chunks/{location-4vgcem2z.js → vcs-9h4501ja.js} +1 -1
  110. package/dist/chunks/{location-kp8q1t60.js → vcs-9jzp6rtr.js} +9 -9
  111. package/dist/chunks/{location-hmr7k35w.js → vcs-9k60352s.js} +25 -25
  112. package/dist/chunks/{location-sz763eb6.js → vcs-9z431jrj.js} +9 -9
  113. package/dist/chunks/{location-aaet6srn.js → vcs-aaet6srn.js} +2 -2
  114. package/dist/chunks/{location-jggnvhtg.js → vcs-axj6q4j4.js} +55 -55
  115. package/dist/chunks/{location-9h6052ys.js → vcs-b61wnr05.js} +36 -36
  116. package/dist/chunks/{location-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{location-96xc4j73.js → vcs-b8d4rmcw.js} +9 -9
  118. package/dist/chunks/{location-z07pqspn.js → vcs-bjtzbw4r.js} +3 -3
  119. package/dist/chunks/{location-8pv27hsx.js → vcs-bm3qhbmn.js} +17 -17
  120. package/dist/chunks/{location-px4zyfbx.js → vcs-bp5zn84r.js} +10 -10
  121. package/dist/chunks/{location-qrarvdac.js → vcs-btsrk6c2.js} +12 -12
  122. package/dist/chunks/{location-mam35mvc.js → vcs-bvkd440q.js} +12 -12
  123. package/dist/chunks/{location-qgt4e7dm.js → vcs-bxbtj1qd.js} +8 -8
  124. package/dist/chunks/{location-wpttx3ek.js → vcs-c7h0x4yk.js} +23 -23
  125. package/dist/chunks/{location-8x023p49.js → vcs-c8m1ndyk.js} +6 -6
  126. package/dist/chunks/{location-r0dmdece.js → vcs-cb6xbnd9.js} +2 -2
  127. package/dist/chunks/{location-xdqwyhzn.js → vcs-cf7p89xb.js} +10 -10
  128. package/dist/chunks/{location-ps9c259y.js → vcs-cnj8r2zb.js} +17 -17
  129. package/dist/chunks/{location-yjptyezs.js → vcs-cq46pgcx.js} +5 -5
  130. package/dist/chunks/{location-c78bbtc9.js → vcs-cqtvvg9q.js} +5 -5
  131. package/dist/chunks/{location-wxxtmkrx.js → vcs-ct913see.js} +5 -5
  132. package/dist/chunks/{location-bwqnkjsb.js → vcs-cw54z5t2.js} +17 -17
  133. package/dist/chunks/{location-cwa6csj7.js → vcs-cwa6csj7.js} +2 -2
  134. package/dist/chunks/{location-81swgkk7.js → vcs-d9s573fh.js} +7 -7
  135. package/dist/chunks/{location-patgj9rf.js → vcs-dda0p7y7.js} +9 -9
  136. package/dist/chunks/{location-1zr7j3r4.js → vcs-dds4m2b5.js} +5 -5
  137. package/dist/chunks/{location-j83byb14.js → vcs-dfe8djrf.js} +4 -4
  138. package/dist/chunks/{location-4c9fncqc.js → vcs-dfh0xed5.js} +5 -5
  139. package/dist/chunks/{location-3pbjq009.js → vcs-dsazm5eh.js} +11 -11
  140. package/dist/chunks/{location-qahgzyff.js → vcs-dyrwyt65.js} +32 -32
  141. package/dist/chunks/{location-5qd3pb7m.js → vcs-e3qxr5gk.js} +2 -2
  142. package/dist/chunks/{location-axs6pdy0.js → vcs-e8qyrgb1.js} +5 -5
  143. package/dist/chunks/{location-ecfe7b91.js → vcs-ecfe7b91.js} +2 -2
  144. package/dist/chunks/{location-nwnnebx3.js → vcs-eef36fdw.js} +20 -20
  145. package/dist/chunks/{location-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{location-9sm9gfq3.js → vcs-ehn7vv3c.js} +20 -20
  147. package/dist/chunks/{location-yf8kg88s.js → vcs-ejm60891.js} +7 -7
  148. package/dist/chunks/{location-7ysj2gw8.js → vcs-erwyzksv.js} +27 -27
  149. package/dist/chunks/{location-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{location-299n82gd.js → vcs-f2wfspan.js} +8 -8
  151. package/dist/chunks/{location-1akzjdkx.js → vcs-f7sbcs1s.js} +22 -22
  152. package/dist/chunks/{location-zsh9941h.js → vcs-fhcrmec4.js} +10 -10
  153. package/dist/chunks/{location-y9kjyn13.js → vcs-fwv01ez0.js} +12 -12
  154. package/dist/chunks/{location-9jbrny13.js → vcs-fzd0b8n6.js} +32 -32
  155. package/dist/chunks/{location-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{location-94ek1h2f.js → vcs-gfvb90ym.js} +2 -2
  157. package/dist/chunks/{location-92r5fjaa.js → vcs-grbear6k.js} +32 -32
  158. package/dist/chunks/{location-18rp1xkf.js → vcs-gs4tkc79.js} +8 -8
  159. package/dist/chunks/{location-46t99vnr.js → vcs-gx21vd1f.js} +13 -13
  160. package/dist/chunks/{location-n1m68ejj.js → vcs-h5vcs21w.js} +20 -20
  161. package/dist/chunks/{location-hn75rfyg.js → vcs-h6dd5nj3.js} +11 -11
  162. package/dist/chunks/{location-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{location-6bass0b7.js → vcs-hh4v7266.js} +16 -16
  164. package/dist/chunks/{location-v4w8s23p.js → vcs-hk4fmd6v.js} +30 -30
  165. package/dist/chunks/{location-b09hzw3k.js → vcs-hkagk5ex.js} +2 -2
  166. package/dist/chunks/{location-06x8he3q.js → vcs-hn57h045.js} +4 -4
  167. package/dist/chunks/{location-jmasdga9.js → vcs-hndg17wg.js} +43 -43
  168. package/dist/chunks/{location-yxcw63er.js → vcs-hv3dmpp2.js} +12 -12
  169. package/dist/chunks/{location-j56e64zr.js → vcs-j56e64zr.js} +1 -1
  170. package/dist/chunks/{location-2r60reda.js → vcs-j5r7mnag.js} +24 -24
  171. package/dist/chunks/{location-pgsw580e.js → vcs-j7y1n5ns.js} +17 -17
  172. package/dist/chunks/{location-a1b9eenk.js → vcs-jcs87n6r.js} +4 -4
  173. package/dist/chunks/{location-z5q8ygm0.js → vcs-jh1zbppd.js} +27 -27
  174. package/dist/chunks/{location-nzks3jc8.js → vcs-k3c624dm.js} +3 -3
  175. package/dist/chunks/{location-8t9r9m98.js → vcs-k3g1rb3k.js} +24 -24
  176. package/dist/chunks/{location-f0v8xfz9.js → vcs-k8t255qq.js} +19 -19
  177. package/dist/chunks/{location-d725fnbd.js → vcs-keqjy1g6.js} +26 -26
  178. package/dist/chunks/{location-xxewh186.js → vcs-khxyc70q.js} +9 -9
  179. package/dist/chunks/{location-ra4n65wq.js → vcs-knevfgda.js} +4 -4
  180. package/dist/chunks/{location-mn2xmmev.js → vcs-kzcxnww5.js} +9 -9
  181. package/dist/chunks/{location-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{location-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{location-1qetcq2f.js → vcs-mcjvxj01.js} +4 -4
  184. package/dist/chunks/{location-vfbk05zz.js → vcs-mdm5j4bj.js} +76 -76
  185. package/dist/chunks/{location-6nex2bx1.js → vcs-msq4ntpz.js} +25 -25
  186. package/dist/chunks/{location-3pe7sts8.js → vcs-mvn2r3z4.js} +9 -9
  187. package/dist/chunks/{location-51n8w2am.js → vcs-mwfejemj.js} +9 -9
  188. package/dist/chunks/{location-qwjmgwmn.js → vcs-n0tq777j.js} +8 -8
  189. package/dist/chunks/{location-q7sva9xj.js → vcs-n4z35x1w.js} +9 -9
  190. package/dist/chunks/{location-4928d4yw.js → vcs-n62nckym.js} +11 -11
  191. package/dist/chunks/{location-2y34zzjz.js → vcs-n8c291r7.js} +6 -6
  192. package/dist/chunks/{location-y6f0p4jw.js → vcs-ndmv45hp.js} +3 -3
  193. package/dist/chunks/{location-03b5ykzw.js → vcs-ng7678yv.js} +3 -3
  194. package/dist/chunks/{location-yk6wy72m.js → vcs-njx86ncx.js} +24 -24
  195. package/dist/chunks/{location-5bpccfdn.js → vcs-np4zyaxz.js} +15 -15
  196. package/dist/chunks/{location-7ybfkyhv.js → vcs-ntmafhxh.js} +19 -19
  197. package/dist/chunks/{location-4sb5xsr0.js → vcs-p2etx821.js} +20 -20
  198. package/dist/chunks/{location-v01qj8m2.js → vcs-p4q1g30v.js} +35 -35
  199. package/dist/chunks/{location-8zqs9j7p.js → vcs-p9kt6re1.js} +11 -11
  200. package/dist/chunks/{location-n77hk0vh.js → vcs-pgwqr8ee.js} +12 -12
  201. package/dist/chunks/{location-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{location-n5rr0bsk.js → vcs-pjz0zcv2.js} +11 -11
  203. package/dist/chunks/{location-pknna89w.js → vcs-pknna89w.js} +1 -1
  204. package/dist/chunks/{location-wd3x2cqz.js → vcs-psazpmmj.js} +2 -2
  205. package/dist/chunks/{location-k0h4mfgc.js → vcs-ptm59064.js} +47 -47
  206. package/dist/chunks/{location-dvfstcq5.js → vcs-pxkhtqdc.js} +13 -13
  207. package/dist/chunks/{location-tjyds3np.js → vcs-pxpwb23y.js} +15 -15
  208. package/dist/chunks/{location-7fkffz83.js → vcs-py3kkmfq.js} +4 -4
  209. package/dist/chunks/{location-f6qf1r64.js → vcs-py6tvht3.js} +9 -9
  210. package/dist/chunks/{location-hq78f3qw.js → vcs-q2k50tdt.js} +33 -33
  211. package/dist/chunks/{location-gq9kk5at.js → vcs-q54gewa9.js} +6 -6
  212. package/dist/chunks/{location-h3s7v34z.js → vcs-q9xmsq5j.js} +6 -6
  213. package/dist/chunks/{location-jewzahs7.js → vcs-qbqbaz6q.js} +4 -4
  214. package/dist/chunks/{location-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  215. package/dist/chunks/{location-4r1h02t6.js → vcs-qtf7ajd6.js} +27 -27
  216. package/dist/chunks/{location-pb18q5py.js → vcs-qv52y0kk.js} +36 -36
  217. package/dist/chunks/{location-y4h12032.js → vcs-qz3g8v3b.js} +11 -11
  218. package/dist/chunks/{location-g8d3gcyj.js → vcs-ratrq7cm.js} +5 -5
  219. package/dist/chunks/{location-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{location-4jmq7cn8.js → vcs-rf0rwq9q.js} +11 -11
  221. package/dist/chunks/{location-fg6vqa6w.js → vcs-rfd4cgzf.js} +31 -31
  222. package/dist/chunks/{location-s8d7rejh.js → vcs-rhjbct0v.js} +4 -4
  223. package/dist/chunks/{location-bj3zhn3q.js → vcs-rkj6e36x.js} +5 -5
  224. package/dist/chunks/{location-cpy6gm2a.js → vcs-rp8jz6x1.js} +6 -6
  225. package/dist/chunks/{location-zeh9ct20.js → vcs-rq775frq.js} +2 -2
  226. package/dist/chunks/{location-bpc3jfqy.js → vcs-rr7w9yzr.js} +11 -11
  227. package/dist/chunks/{location-v3679p2r.js → vcs-rt6eccz9.js} +17 -17
  228. package/dist/chunks/vcs-ryxm5mwn.js +252 -0
  229. package/dist/chunks/{location-sqr731h9.js → vcs-s1kdbxwg.js} +10 -10
  230. package/dist/chunks/{location-y5df08dr.js → vcs-s2ynmxvy.js} +12 -12
  231. package/dist/chunks/{location-vz2v0y1g.js → vcs-s4cpw0g8.js} +11 -11
  232. package/dist/chunks/{location-yrznvahk.js → vcs-s4enseaf.js} +2 -2
  233. package/dist/chunks/{location-sc4ksy03.js → vcs-s8anskx2.js} +8 -8
  234. package/dist/chunks/{location-5aserzf1.js → vcs-s9ampnzs.js} +11 -11
  235. package/dist/chunks/{location-kx6ewwgc.js → vcs-svaspcxn.js} +5 -5
  236. package/dist/chunks/{location-58exf9s3.js → vcs-szpqyd6h.js} +18 -18
  237. package/dist/chunks/{location-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{location-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{location-tdstcens.js → vcs-tdstcens.js} +1 -1
  240. package/dist/chunks/{location-xxdt3syk.js → vcs-teyc4whj.js} +11 -11
  241. package/dist/chunks/{location-b7t5wn2m.js → vcs-tj141g8h.js} +20 -20
  242. package/dist/chunks/{location-yrccs5dw.js → vcs-tstnsxca.js} +18 -18
  243. package/dist/chunks/{location-tvtrv512.js → vcs-tvtrv512.js} +1 -1
  244. package/dist/chunks/{location-1jysqf0q.js → vcs-v0xjps6b.js} +24 -24
  245. package/dist/chunks/{location-bnty75vp.js → vcs-v4aesa73.js} +5 -5
  246. package/dist/chunks/{location-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  247. package/dist/chunks/{location-ajpn13bz.js → vcs-vktfeg91.js} +22 -22
  248. package/dist/chunks/{location-sxzvkvgj.js → vcs-vqfzq50h.js} +6 -6
  249. package/dist/chunks/{location-mw2h8ask.js → vcs-vrq98xzz.js} +18 -18
  250. package/dist/chunks/{location-f99pqswk.js → vcs-vtg51jxy.js} +41 -41
  251. package/dist/chunks/{location-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{location-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{location-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{location-dnh5am79.js → vcs-w9h9v0y2.js} +10 -10
  255. package/dist/chunks/{location-ednp5hmx.js → vcs-was7srj9.js} +8 -8
  256. package/dist/chunks/{location-f9qcgrnz.js → vcs-wc17nh9t.js} +32 -32
  257. package/dist/chunks/{location-wd87259q.js → vcs-wd87259q.js} +1 -1
  258. package/dist/chunks/{location-xd7pxsgz.js → vcs-wjrrvf51.js} +10 -10
  259. package/dist/chunks/{location-a6zkzxs1.js → vcs-wn21040f.js} +15 -15
  260. package/dist/chunks/{location-rp7q4m9n.js → vcs-wr6f3qv2.js} +9 -9
  261. package/dist/chunks/{location-016zrmbp.js → vcs-wrb545ka.js} +40 -40
  262. package/dist/chunks/{location-aqxvbtvc.js → vcs-ww82v16z.js} +23 -23
  263. package/dist/chunks/{location-nw7gx7cz.js → vcs-wycg3qep.js} +28 -28
  264. package/dist/chunks/{location-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{location-wtyk7tnn.js → vcs-x3an4z7c.js} +6 -6
  266. package/dist/chunks/{location-25h6wh0b.js → vcs-x5es4t48.js} +33 -33
  267. package/dist/chunks/{location-qwwvq786.js → vcs-xat61z3k.js} +11 -11
  268. package/dist/chunks/{location-f3ngv102.js → vcs-xdk9p2qn.js} +21 -21
  269. package/dist/chunks/{location-qqeeq2t9.js → vcs-xfkkasph.js} +7 -7
  270. package/dist/chunks/{location-xkntkrq7.js → vcs-xkntkrq7.js} +2 -2
  271. package/dist/chunks/{location-yahe92kn.js → vcs-xna4x1sn.js} +26 -26
  272. package/dist/chunks/{location-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{location-v8v948yd.js → vcs-y5hhwgev.js} +10 -10
  274. package/dist/chunks/{location-y71avatq.js → vcs-y71avatq.js} +1 -1
  275. package/dist/chunks/{location-tvsfvamq.js → vcs-y7a3vg46.js} +5 -5
  276. package/dist/chunks/{location-jf5a25sz.js → vcs-y8s8f6j8.js} +46 -46
  277. package/dist/chunks/{location-sd23ea76.js → vcs-yavzwk2n.js} +15 -15
  278. package/dist/chunks/{location-j8zvn2fh.js → vcs-ydgy0jv4.js} +8 -8
  279. package/dist/chunks/{location-hn61d6g7.js → vcs-ymss648d.js} +7 -7
  280. package/dist/chunks/{location-f2n192rq.js → vcs-yp2x3t23.js} +4 -4
  281. package/dist/chunks/{location-2zxaccxt.js → vcs-yqnvcheb.js} +10 -10
  282. package/dist/chunks/{location-pxya9xw6.js → vcs-yr5w62k6.js} +19 -19
  283. package/dist/chunks/{location-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
  284. package/dist/chunks/{location-0jvg19fh.js → vcs-yvshgw5k.js} +22 -22
  285. package/dist/chunks/{location-gv6a8nnw.js → vcs-yyb7tjpc.js} +2 -2
  286. package/dist/chunks/{location-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  287. package/dist/chunks/{location-hngjveb4.js → vcs-z5g6ermd.js} +10 -10
  288. package/dist/chunks/{location-16a16tg4.js → vcs-zcws0pck.js} +13 -13
  289. package/dist/chunks/{location-5pc7ckbf.js → vcs-zd5bv8nv.js} +43 -43
  290. package/dist/chunks/{location-prww9d41.js → vcs-zffvdhag.js} +10 -10
  291. package/dist/chunks/{location-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{location-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -371
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +93 -93
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +222 -222
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +99 -99
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +85 -85
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +103 -103
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +80 -80
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +334 -334
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +78 -78
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +79 -79
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +162 -162
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +139 -139
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +353 -353
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +2 -2
  557. package/dist/plugin/websearch/parallel.js +6 -6
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +230 -230
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +88 -88
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +97 -97
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +135 -135
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +222 -222
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +88 -88
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +75 -75
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -232
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -211
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +157 -157
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +218 -218
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +219 -219
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +122 -122
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +117 -117
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +218 -218
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +214 -214
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +114 -114
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +1 -1
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +93 -93
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +7 -7
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +98 -98
  698. package/package.json +8 -8
  699. package/dist/chunks/location-1s2cnys0.js +0 -252
  700. package/dist/chunks/location-aba4y9w7.js +0 -26
  701. package/dist/chunks/location-v1faaxn9.js +0 -18
  702. /package/dist/chunks/{location-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{location-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{location-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{location-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{location-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{location-24dcb14g.js → vcs-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{location-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{location-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{location-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{location-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{location-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{location-3asan66x.js → vcs-3asan66x.js} +0 -0
  714. /package/dist/chunks/{location-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{location-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{location-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{location-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{location-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{location-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{location-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{location-53557ph1.js → vcs-53557ph1.js} +0 -0
  722. /package/dist/chunks/{location-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{location-6prwharc.js → vcs-6prwharc.js} +0 -0
  724. /package/dist/chunks/{location-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{location-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{location-822emrt2.js → vcs-822emrt2.js} +0 -0
  727. /package/dist/chunks/{location-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{location-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{location-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{location-922hggd3.js → vcs-922hggd3.js} +0 -0
  731. /package/dist/chunks/{location-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{location-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{location-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{location-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{location-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{location-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{location-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{location-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{location-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{location-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{location-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{location-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{location-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{location-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{location-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{location-df08tz66.js → vcs-df08tz66.js} +0 -0
  747. /package/dist/chunks/{location-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{location-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{location-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{location-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{location-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{location-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{location-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{location-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{location-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{location-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{location-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{location-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{location-g86h250q.js → vcs-g86h250q.js} +0 -0
  760. /package/dist/chunks/{location-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{location-gftt206x.js → vcs-gftt206x.js} +0 -0
  762. /package/dist/chunks/{location-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{location-hk9envan.js → vcs-hk9envan.js} +0 -0
  764. /package/dist/chunks/{location-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{location-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{location-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{location-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{location-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{location-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{location-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{location-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{location-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{location-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{location-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{location-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{location-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{location-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{location-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{location-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{location-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{location-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{location-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{location-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{location-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{location-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{location-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{location-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{location-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{location-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{location-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{location-x61499pn.js → vcs-x61499pn.js} +0 -0
  792. /package/dist/chunks/{location-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{location-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{location-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{location-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{location-ym463w8f.js → vcs-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{location-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-csp167nn.js";
4
+ } from "./vcs-18296zga.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./location-mntfxcz2.js";
8
+ } from "./vcs-1ekk4s7j.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-pknna89w.js";
11
+ } from "./vcs-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-3zsf4n22.js";
14
+ } from "./vcs-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./location-9rqn6x4v.js";
17
+ } from "./vcs-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
24
- ID: () => ID15,
25
- Info: () => Info29,
23
+ Event: () => Event19,
24
+ ID: () => ID13,
25
+ Info: () => Info28,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service76,
28
+ Service: () => Service75,
29
29
  Value: () => Value2,
30
- node: () => node80
30
+ node: () => node78
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID15 = Credential.ID;
37
+ var ID13 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event18 = Credential.Event;
41
+ var Event19 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID15,
43
+ class Info28 extends Schema.Class("Credential.Info")({
44
+ id: ID13,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service76 extends Context.Service()("@opencode/Credential") {
51
+ class Service75 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service76, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
55
  const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info28({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service76.of({
71
+ return Service75.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: ID15.create(),
79
+ const credential = new Info28({
80
+ id: ID13.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event18.Updated, {}, { global: true });
105
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event19.Updated, {}, { global: true });
105
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event18.Updated, {}, { global: true });
157
+ yield* bus.publish(Event19.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event18.Updated, {}, { global: true });
190
+ yield* bus.publish(Event19.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88, node87] });
196
+ var node78 = makeGlobalNode({ service: Service75, layer, deps: [node88, node87] });
197
197
 
198
- export { ID15, OAuth3, Key4, Value2, Event18, Info29, Service76, node80, exports_credential };
198
+ export { ID13, OAuth3, Key4, Value2, Event19, Info28, Service75, node78, exports_credential };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID11
3
- } from "./location-2r60reda.js";
2
+ ID9
3
+ } from "./vcs-j5r7mnag.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./location-922hggd3.js";
6
+ } from "./vcs-922hggd3.js";
7
7
  import {
8
- Info17
9
- } from "./location-3pbjq009.js";
8
+ Info16
9
+ } from "./vcs-dsazm5eh.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./location-30pndsv9.js";
12
+ } from "./vcs-4mtvmndk.js";
13
13
  import {
14
14
  latest2,
15
- Service49
16
- } from "./location-5pc7ckbf.js";
15
+ Service67
16
+ } from "./vcs-zd5bv8nv.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./location-5daktx2q.js";
19
+ } from "./vcs-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./location-9rqn6x4v.js";
22
+ } from "./vcs-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin23
28
+ Plugin: () => Plugin15
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin23 = define({
47
+ var Plugin15 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service49;
50
+ const config = yield* Service67;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin23 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID11.make(configuredDefault));
79
+ editor.default(ID9.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID11.make(id);
85
+ const agentID = ID9.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin23, exports_agent };
164
+ export { Plugin15, exports_agent };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-922hggd3.js";
3
+ } from "./vcs-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./location-6bass0b7.js";
5
+ Service80
6
+ } from "./vcs-hh4v7266.js";
7
7
  import {
8
- Service49
9
- } from "./location-5pc7ckbf.js";
8
+ Service67
9
+ } from "./vcs-zd5bv8nv.js";
10
10
  import {
11
- Service46
12
- } from "./location-bx8vey6p.js";
11
+ Service15
12
+ } from "./vcs-304ndgye.js";
13
13
  import {
14
14
  observe2
15
- } from "./location-qsdy395h.js";
15
+ } from "./vcs-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./vcs-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin27
24
+ Plugin: () => Plugin8
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin27 = define({
30
+ var Plugin8 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service49;
34
- const location = yield* Service79;
33
+ const config = yield* Service67;
34
+ const location = yield* Service80;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service46;
36
+ const worktrees = yield* Service15;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin27 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin27, exports_worktree };
51
+ export { Plugin8, exports_worktree };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./location-rnr5nq63.js";
3
+ } from "./vcs-1fw2a5v8.js";
4
4
  import {
5
5
  lazy2
6
- } from "./location-88xbtdfr.js";
6
+ } from "./vcs-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./location-y1fvbwt7.js";
9
+ } from "./vcs-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./vcs-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./location-922hggd3.js";
5
+ } from "./vcs-922hggd3.js";
6
6
  import {
7
- Service51,
8
- node53
9
- } from "./location-5j3nemfx.js";
7
+ Service78,
8
+ node81
9
+ } from "./vcs-40e80s20.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./location-8d7r5vzw.js";
12
+ } from "./vcs-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./location-9rqn6x4v.js";
15
+ } from "./vcs-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service16,
24
- node: () => node18
23
+ Service: () => Service63,
24
+ node: () => node66
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service16 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service63 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service16, Effect.gen(function* () {
67
- const environment = yield* Service51;
66
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
67
+ const environment = yield* Service78;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service16.of({
95
+ return Service63.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node18 = makeLocationNode({ service: Service16, layer, deps: [node53, RipgrepBinary2.node] });
178
+ var node66 = makeLocationNode({ service: Service63, layer, deps: [node81, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service16, node18, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service63, node66, exports_ripgrep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-922hggd3.js";
3
+ } from "./vcs-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./location-sz763eb6.js";
4
+ } from "./vcs-9z431jrj.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./location-jggnvhtg.js";
8
+ } from "./vcs-axj6q4j4.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./location-d725fnbd.js";
11
+ } from "./vcs-keqjy1g6.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,15 +16,25 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./location-v537vfcj.js";
19
+ } from "./vcs-44m1ppkf.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./location-46t99vnr.js";
23
+ } from "./vcs-gx21vd1f.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
27
27
  import { Tool } from "@opencode/schema/tool";
28
+ var tokenSharingMessages = {
29
+ subscription_sharing_v2_user_not_eligible: "ChatGPT token sharing isn't available for this account. Connect with an API key or choose another provider.",
30
+ subscription_sharing_usage_limit_exceeded: "ChatGPT usage limit reached. Try again after your allowance resets; check ChatGPT Settings → Usage for details.",
31
+ subscription_sharing_usage_unavailable: "ChatGPT usage can't be checked right now. Try again later.",
32
+ subscription_sharing_unsupported_capability: "This request uses a feature ChatGPT token sharing doesn't support. Remove the unsupported feature and try again.",
33
+ subscription_sharing_v2_client_not_enabled: "This ChatGPT client isn't enabled for token sharing. Contact the app maintainer or choose another connection.",
34
+ subscription_sharing_v2_route_not_supported: "ChatGPT token sharing doesn't support this API route. Check the configured endpoint and HTTP method.",
35
+ subscription_sharing_v2_invalid_user: "This ChatGPT connection is no longer valid. Reconnect to ChatGPT.",
36
+ subscription_sharing_v2_user_unavailable: "Your ChatGPT account is temporarily unavailable. Try again later."
37
+ };
28
38
  function toSessionError2(cause) {
29
39
  if (cause instanceof AIError) {
30
40
  switch (cause.reason._tag) {
@@ -84,7 +94,7 @@ function providerError(type, reason) {
84
94
  const status = reason.http?.status;
85
95
  return {
86
96
  type,
87
- message: reason.message,
97
+ message: Object.entries(tokenSharingMessages).find(([code]) => reason.body?.includes(code))?.[1] ?? reason.message,
88
98
  ...status === undefined ? {} : { status },
89
99
  ...reason.body === undefined ? {} : { response: { body: reason.body } }
90
100
  };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./location-kk3cv3zh.js";
5
+ } from "./vcs-293305v0.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./location-ek5t7eqg.js";
11
+ } from "./vcs-42kdhqse.js";
12
12
  import {
13
13
  __export
14
- } from "./location-9rqn6x4v.js";
14
+ } from "./vcs-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./location-gftt206x.js";
3
+ } from "./vcs-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./location-y6f0p4jw.js";
6
+ } from "./vcs-ndmv45hp.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./location-sz763eb6.js";
9
+ } from "./vcs-9z431jrj.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./location-s8d7rejh.js";
13
+ } from "./vcs-rhjbct0v.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./location-z07pqspn.js";
16
+ } from "./vcs-bjtzbw4r.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./location-5xpznt2d.js";
20
+ } from "./vcs-86n330eh.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./location-syf57q56.js";
25
+ } from "./vcs-4z58m4b4.js";
26
26
  import {
27
27
  __export
28
- } from "./location-9rqn6x4v.js";
28
+ } from "./vcs-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load5,
38
+ load: () => load4,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./location-qaymkmh1.js";
3
+ } from "./vcs-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make3(input) {
8
+ function make10(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make3 };
264
+ export { make10 };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./location-3w5fmr99.js";
7
+ } from "./vcs-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./location-nzks3jc8.js";
11
+ } from "./vcs-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./location-rdw6cm16.js";
14
+ } from "./vcs-rdw6cm16.js";
15
15
  import {
16
- Service70,
17
- node74
18
- } from "./location-patgj9rf.js";
16
+ Service47,
17
+ node50
18
+ } from "./vcs-dda0p7y7.js";
19
19
  import {
20
- Service71,
21
- node75
22
- } from "./location-qwjmgwmn.js";
20
+ Service76,
21
+ node79
22
+ } from "./vcs-n0tq777j.js";
23
23
  import {
24
24
  match2
25
- } from "./location-y1fvbwt7.js";
25
+ } from "./vcs-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./location-9rqn6x4v.js";
28
+ } from "./vcs-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content3,
35
- Error: () => Error5,
34
+ Content: () => Content2,
35
+ Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service69,
38
+ Service: () => Service36,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node73
41
+ node: () => node39
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service69 extends Context.Service()("@opencode/Tool") {
54
+ class Service36 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service69, Effect.gen(function* () {
57
- const hooks = yield* Service71;
58
- const image = yield* Service70;
56
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
57
+ const hooks = yield* Service76;
58
+ const image = yield* Service47;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service69.of({
187
+ return Service36.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node73 = makeLocationNode({
277
- service: Service69,
276
+ var node39 = makeLocationNode({
277
+ service: Service36,
278
278
  layer,
279
- deps: [node75, node74]
279
+ deps: [node79, node50]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service69, node73, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service36, node39, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };