@opencode/core 0.0.0-dev-20541 → 0.0.0-dev-20542

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +92 -92
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{command-6f8r1xek.js → vcs-032g16hx.js} +12 -12
  8. package/dist/chunks/{command-6v2t73g4.js → vcs-05y52jq2.js} +21 -21
  9. package/dist/chunks/{command-1v328y5z.js → vcs-0djvsza3.js} +311 -311
  10. package/dist/chunks/{command-fcrkznn8.js → vcs-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{command-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{command-hbyhqfhs.js → vcs-0ryd0fps.js} +5 -5
  13. package/dist/chunks/{command-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{command-2pxx49tn.js → vcs-0zf2vxyq.js} +18 -18
  15. package/dist/chunks/{command-cwbq0mfh.js → vcs-18b1etme.js} +28 -28
  16. package/dist/chunks/{command-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{command-n2zgnq50.js → vcs-1dq79xpa.js} +30 -30
  18. package/dist/chunks/{command-pee00n06.js → vcs-1f73aaze.js} +27 -27
  19. package/dist/chunks/{command-0djpsv8h.js → vcs-1g4209et.js} +16 -16
  20. package/dist/chunks/{command-h6m8mpqk.js → vcs-1gpb38yh.js} +9 -9
  21. package/dist/chunks/{command-re5v1f1h.js → vcs-1sjf069y.js} +12 -12
  22. package/dist/chunks/{command-6y94d6d5.js → vcs-1wazn8nx.js} +2 -2
  23. package/dist/chunks/{command-vbfgae2j.js → vcs-1y283654.js} +4 -4
  24. package/dist/chunks/{command-61d0nta3.js → vcs-26b9v9sx.js} +79 -79
  25. package/dist/chunks/{command-0n4qmygn.js → vcs-27n8va8w.js} +6 -6
  26. package/dist/chunks/{command-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{command-7q5hsd78.js → vcs-2aqmbtyj.js} +26 -26
  28. package/dist/chunks/{command-g9v33ymf.js → vcs-2br74stp.js} +4 -4
  29. package/dist/chunks/{command-mmq4tvzh.js → vcs-2cawvqkb.js} +18 -18
  30. package/dist/chunks/{command-5vyb2hja.js → vcs-2cf3b2jy.js} +5 -5
  31. package/dist/chunks/{command-js7ztaqx.js → vcs-2mn2xacz.js} +19 -19
  32. package/dist/chunks/{command-g7xb4ge4.js → vcs-2namw3xg.js} +1 -1
  33. package/dist/chunks/{command-kgf2vxaw.js → vcs-2xxdjjs3.js} +4 -4
  34. package/dist/chunks/{command-jhk6nqbr.js → vcs-2zavndn1.js} +31 -31
  35. package/dist/chunks/{command-h2b79v29.js → vcs-3cegwx68.js} +2 -2
  36. package/dist/chunks/{command-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{command-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{command-xqjr5z5q.js → vcs-3maw4159.js} +34 -34
  39. package/dist/chunks/{command-21xha1jy.js → vcs-3pvr2b0s.js} +35 -35
  40. package/dist/chunks/{command-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{command-tc2wd370.js → vcs-3t78edg3.js} +8 -8
  42. package/dist/chunks/{command-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{command-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{command-z7s65jz9.js → vcs-41vvr2y3.js} +4 -4
  45. package/dist/chunks/{command-kgffmydg.js → vcs-444j15kp.js} +43 -43
  46. package/dist/chunks/{command-kykbznp4.js → vcs-496rqfwn.js} +9 -9
  47. package/dist/chunks/{command-ntxrry2n.js → vcs-4a1ejpw3.js} +11 -11
  48. package/dist/chunks/{command-392tpz92.js → vcs-4bpbtp0a.js} +1 -1
  49. package/dist/chunks/{command-9aqw140n.js → vcs-4k1naajh.js} +22 -22
  50. package/dist/chunks/{command-axm04d2k.js → vcs-4k5ht055.js} +15 -15
  51. package/dist/chunks/{command-2ccvkpx1.js → vcs-4ts7tf6z.js} +2 -2
  52. package/dist/chunks/{command-54ma36ye.js → vcs-54ma36ye.js} +1 -1
  53. package/dist/chunks/{command-1ygqh575.js → vcs-56gdpj1q.js} +9 -9
  54. package/dist/chunks/{command-3vn5r7fz.js → vcs-5b5aj4v2.js} +4 -4
  55. package/dist/chunks/{command-5daktx2q.js → vcs-5daktx2q.js} +1 -1
  56. package/dist/chunks/{command-wgkw1say.js → vcs-5mm51762.js} +3 -3
  57. package/dist/chunks/{command-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{command-cs216amt.js → vcs-5r69sf90.js} +9 -9
  59. package/dist/chunks/{command-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{command-thnqqb5h.js → vcs-5vqrxjkm.js} +15 -15
  61. package/dist/chunks/{command-eda73v46.js → vcs-5w6ne2rj.js} +11 -11
  62. package/dist/chunks/{command-22t0k3cz.js → vcs-5yz6eqax.js} +22 -22
  63. package/dist/chunks/{command-r9ggpxfb.js → vcs-633bc7gg.js} +53 -53
  64. package/dist/chunks/{command-669tq793.js → vcs-669tq793.js} +1 -1
  65. package/dist/chunks/{command-401cxz9d.js → vcs-68vs7jp0.js} +11 -11
  66. package/dist/chunks/{command-5crddx1s.js → vcs-6qcw2y52.js} +32 -32
  67. package/dist/chunks/{command-dzv118g2.js → vcs-6rb86tnz.js} +8 -8
  68. package/dist/chunks/{command-f3k65vz0.js → vcs-6tysj855.js} +27 -27
  69. package/dist/chunks/{command-as8e1r60.js → vcs-76n77kwq.js} +20 -20
  70. package/dist/chunks/{command-d392bjy5.js → vcs-78kb7271.js} +13 -13
  71. package/dist/chunks/{command-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{command-trazswah.js → vcs-7d24rw0e.js} +17 -17
  73. package/dist/chunks/{command-yke0wfjf.js → vcs-7e8sen0c.js} +20 -20
  74. package/dist/chunks/{command-h1ff3r7d.js → vcs-7m6w379t.js} +11 -11
  75. package/dist/chunks/{command-75rpacef.js → vcs-7nn43tqg.js} +23 -23
  76. package/dist/chunks/{command-7yfar2g1.js → vcs-80ycrk5c.js} +8 -8
  77. package/dist/chunks/{command-1dvck2a7.js → vcs-84h8c373.js} +2 -2
  78. package/dist/chunks/{command-84txncab.js → vcs-84txncab.js} +1 -1
  79. package/dist/chunks/{command-8t624zf9.js → vcs-873yzq4y.js} +9 -9
  80. package/dist/chunks/{command-z96ftasq.js → vcs-89x1chzy.js} +24 -24
  81. package/dist/chunks/{command-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{command-ag82fysq.js → vcs-8rr00yh2.js} +9 -9
  83. package/dist/chunks/{command-9hn6k4tm.js → vcs-8v6pyhej.js} +8 -8
  84. package/dist/chunks/{command-nmdr856g.js → vcs-8z91h3sm.js} +5 -5
  85. package/dist/chunks/{command-gqepmfk7.js → vcs-94egvv51.js} +29 -29
  86. package/dist/chunks/{command-rpms11rw.js → vcs-9hg28wmb.js} +22 -22
  87. package/dist/chunks/{command-wbgabvvj.js → vcs-9hwaqfsw.js} +5 -5
  88. package/dist/chunks/{command-achynwnm.js → vcs-9phv9fdd.js} +22 -22
  89. package/dist/chunks/{command-aaet6srn.js → vcs-aaet6srn.js} +2 -2
  90. package/dist/chunks/{command-ytfp8a9c.js → vcs-aay714yp.js} +14 -14
  91. package/dist/chunks/{command-3y377wv9.js → vcs-addxnjmp.js} +4 -4
  92. package/dist/chunks/{command-8sqk77t7.js → vcs-agrc1xj0.js} +3 -3
  93. package/dist/chunks/{command-b4gp33hv.js → vcs-akk93w6q.js} +11 -11
  94. package/dist/chunks/{command-way54g3t.js → vcs-anrc0yrh.js} +33 -33
  95. package/dist/chunks/{command-0axee2zp.js → vcs-avv5f6bw.js} +5 -5
  96. package/dist/chunks/{command-7qdef5aj.js → vcs-ay68nmfm.js} +17 -17
  97. package/dist/chunks/{command-cfsekr6v.js → vcs-b4twkq7r.js} +6 -6
  98. package/dist/chunks/{command-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{command-ezyde299.js → vcs-b82ykvfb.js} +17 -17
  100. package/dist/chunks/{command-1cfb3ja4.js → vcs-bgs9y14h.js} +5 -5
  101. package/dist/chunks/{command-bq7b46md.js → vcs-bh2h312c.js} +11 -11
  102. package/dist/chunks/{command-6w9me9g4.js → vcs-bjb10bhf.js} +23 -23
  103. package/dist/chunks/{command-ztxh1f3e.js → vcs-bkmkjhmh.js} +28 -28
  104. package/dist/chunks/{command-x691ctxc.js → vcs-bv6943e1.js} +1 -1
  105. package/dist/chunks/{command-f9hcp00g.js → vcs-bw6j7p8n.js} +10 -10
  106. package/dist/chunks/{command-p1et7349.js → vcs-cdw9nh7g.js} +43 -43
  107. package/dist/chunks/{command-5zqqr9b4.js → vcs-cevjbcfc.js} +10 -10
  108. package/dist/chunks/{command-578mczcx.js → vcs-cevyjb4d.js} +7 -7
  109. package/dist/chunks/{command-zeb7mf4e.js → vcs-cg8113cm.js} +9 -9
  110. package/dist/chunks/{command-6z2jg7m4.js → vcs-chkwe70y.js} +11 -11
  111. package/dist/chunks/{command-nj45zehw.js → vcs-cxqpwn2x.js} +8 -8
  112. package/dist/chunks/{command-f7p9evzq.js → vcs-d27eh3t3.js} +35 -35
  113. package/dist/chunks/{command-7zk0wn2x.js → vcs-d2e4n0dz.js} +25 -25
  114. package/dist/chunks/{command-t1s0jw3q.js → vcs-d45s0hm2.js} +24 -24
  115. package/dist/chunks/{command-zwas51cn.js → vcs-d49dmxja.js} +8 -8
  116. package/dist/chunks/{command-bnymekt2.js → vcs-dfynq9y8.js} +15 -15
  117. package/dist/chunks/{command-dympa6h6.js → vcs-dpa7r3sp.js} +1 -1
  118. package/dist/chunks/{command-nxm207yx.js → vcs-dpkg50ah.js} +4 -4
  119. package/dist/chunks/{command-qygccx2c.js → vcs-dpzb953a.js} +24 -24
  120. package/dist/chunks/{command-5t5wrhde.js → vcs-drnf6xwf.js} +2 -2
  121. package/dist/chunks/{command-g90rxwkd.js → vcs-dv0smdjs.js} +11 -11
  122. package/dist/chunks/{command-jpzv3ykh.js → vcs-dxbe5etx.js} +13 -13
  123. package/dist/chunks/{command-3cve9wcq.js → vcs-dxjr8qb0.js} +16 -16
  124. package/dist/chunks/{command-77acw9m0.js → vcs-ea462v4r.js} +1 -1
  125. package/dist/chunks/{command-15nepkqg.js → vcs-eeaf82dq.js} +8 -8
  126. package/dist/chunks/{command-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{command-8gt91z3r.js → vcs-egvvc6yq.js} +24 -24
  128. package/dist/chunks/{command-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{command-y9bry2a2.js → vcs-exp1wtcs.js} +14 -14
  130. package/dist/chunks/{command-stff7yw3.js → vcs-eyttazzr.js} +31 -31
  131. package/dist/chunks/{command-0wv8zgxx.js → vcs-ez1vvzrg.js} +5 -5
  132. package/dist/chunks/{command-g8n6k2e8.js → vcs-f1g2race.js} +10 -10
  133. package/dist/chunks/{command-4n47a3cw.js → vcs-f2tpabag.js} +16 -16
  134. package/dist/chunks/{command-71az546q.js → vcs-f75zav2x.js} +2 -2
  135. package/dist/chunks/{command-0jf2y13k.js → vcs-f85drh53.js} +24 -24
  136. package/dist/chunks/{command-g3xnrmzn.js → vcs-fc6renp4.js} +24 -24
  137. package/dist/chunks/{command-5tcm9639.js → vcs-g31erja1.js} +9 -9
  138. package/dist/chunks/{command-g5w8qwbj.js → vcs-g5w8qwbj.js} +1 -1
  139. package/dist/chunks/{command-q7s4p2ws.js → vcs-gc9nvknh.js} +11 -11
  140. package/dist/chunks/{command-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{command-m6eqcf37.js → vcs-ghsygkbs.js} +48 -48
  142. package/dist/chunks/{command-8gdnnedh.js → vcs-gn3vc2fg.js} +11 -11
  143. package/dist/chunks/{command-s4jagjf8.js → vcs-gngkw3v3.js} +9 -9
  144. package/dist/chunks/{command-dywq9pkt.js → vcs-gp0zhvse.js} +25 -25
  145. package/dist/chunks/{command-fgktf29t.js → vcs-gs3s1a1g.js} +8 -8
  146. package/dist/chunks/{command-1k3q76yn.js → vcs-gwwtdvqe.js} +11 -11
  147. package/dist/chunks/{command-5n7vjdk6.js → vcs-gxft1d9m.js} +5 -5
  148. package/dist/chunks/{command-yyc39645.js → vcs-h0thcbq2.js} +18 -18
  149. package/dist/chunks/{command-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{command-mdcbxeg1.js → vcs-h86m2kqr.js} +4 -4
  151. package/dist/chunks/{command-rvn3tqg0.js → vcs-hbsztvnn.js} +31 -31
  152. package/dist/chunks/{command-fgvgk3nc.js → vcs-hk12qhj6.js} +19 -19
  153. package/dist/chunks/{command-vxzh5eqq.js → vcs-hnr8f6ws.js} +4 -4
  154. package/dist/chunks/{command-7yetp8jc.js → vcs-hyr7mp4z.js} +24 -24
  155. package/dist/chunks/{command-74wsvbja.js → vcs-j33nfkg3.js} +6 -6
  156. package/dist/chunks/{command-j56e64zr.js → vcs-j56e64zr.js} +1 -1
  157. package/dist/chunks/{command-7skj7b3t.js → vcs-jervv9x6.js} +11 -11
  158. package/dist/chunks/{command-ypkf29hv.js → vcs-jg28bfy1.js} +42 -42
  159. package/dist/chunks/{command-ct4faptp.js → vcs-jgytgpzc.js} +8 -8
  160. package/dist/chunks/{command-v66k9e3r.js → vcs-jq1ee2ph.js} +26 -26
  161. package/dist/chunks/vcs-jqh9b0xq.js +18 -0
  162. package/dist/chunks/{command-6v33vpya.js → vcs-k0zzshk0.js} +3 -3
  163. package/dist/chunks/{command-x1cxff1x.js → vcs-k1yszdcb.js} +21 -21
  164. package/dist/chunks/{command-01jzyxk2.js → vcs-k7pz3erk.js} +5 -5
  165. package/dist/chunks/{command-8wwws4s2.js → vcs-k8kt8k0g.js} +28 -28
  166. package/dist/chunks/{command-9e5bzkjp.js → vcs-kb9j3d72.js} +3 -3
  167. package/dist/chunks/{command-0qs5s41g.js → vcs-kd3y9bnn.js} +11 -11
  168. package/dist/chunks/{command-s2q9yd17.js → vcs-kd8b8z06.js} +24 -24
  169. package/dist/chunks/{command-2336b01z.js → vcs-kjfdeayr.js} +5 -5
  170. package/dist/chunks/{command-1dfrqcjm.js → vcs-krrt2pbg.js} +8 -8
  171. package/dist/chunks/{command-eaf5gakt.js → vcs-kty4dv98.js} +11 -11
  172. package/dist/chunks/{command-2qx5ewc2.js → vcs-kyktj0vd.js} +6 -6
  173. package/dist/chunks/{command-6rwesznr.js → vcs-m3drsj2y.js} +15 -15
  174. package/dist/chunks/{command-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{command-k6yxz2kp.js → vcs-m6kqcfab.js} +24 -24
  176. package/dist/chunks/{command-j1a331kd.js → vcs-m7b1awws.js} +15 -15
  177. package/dist/chunks/{command-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{command-kzrjs8je.js → vcs-me0yaqbt.js} +13 -13
  179. package/dist/chunks/{command-9qbdnxkb.js → vcs-mg2z0cw8.js} +18 -18
  180. package/dist/chunks/{command-ywpe0k31.js → vcs-mjqndqed.js} +12 -12
  181. package/dist/chunks/{command-mxmsd58h.js → vcs-mkjk38wz.js} +20 -20
  182. package/dist/chunks/{command-x1bgc40t.js → vcs-mnqvabpf.js} +13 -13
  183. package/dist/chunks/{command-rrkmkyg6.js → vcs-mprmhdhs.js} +6 -6
  184. package/dist/chunks/{command-hvaebh52.js → vcs-mq44vbk9.js} +18 -18
  185. package/dist/chunks/{command-pds74t41.js → vcs-my4zabxr.js} +3 -3
  186. package/dist/chunks/{command-ksk3n4cg.js → vcs-my9jbn68.js} +5 -5
  187. package/dist/chunks/{command-hhdeq4zt.js → vcs-n06f2vwx.js} +16 -16
  188. package/dist/chunks/{command-4z58m4b4.js → vcs-n1n192bv.js} +4 -4
  189. package/dist/chunks/{command-emvq8ywb.js → vcs-n3bbtbf3.js} +1 -1
  190. package/dist/chunks/{command-4xqwpdwt.js → vcs-n7v4a6zs.js} +22 -22
  191. package/dist/chunks/{command-d0cgwrbg.js → vcs-neg4rnba.js} +13 -13
  192. package/dist/chunks/{command-t2c2p23z.js → vcs-nkr3xask.js} +28 -28
  193. package/dist/chunks/{command-w243dze7.js → vcs-nqf1a8vv.js} +17 -17
  194. package/dist/chunks/{command-6sr3ve8g.js → vcs-nrdmrqsx.js} +21 -21
  195. package/dist/chunks/{command-3556dn8t.js → vcs-ns3eape4.js} +1 -1
  196. package/dist/chunks/{command-kdtk6ytk.js → vcs-nw351ncq.js} +20 -20
  197. package/dist/chunks/{command-d46e2cta.js → vcs-p29q1m0x.js} +14 -14
  198. package/dist/chunks/{command-3sqh8pm2.js → vcs-p2r87vr4.js} +20 -20
  199. package/dist/chunks/{command-w67z85jj.js → vcs-p4mrt67q.js} +18 -18
  200. package/dist/chunks/{command-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{command-pknna89w.js → vcs-pknna89w.js} +1 -1
  202. package/dist/chunks/{command-qy9s2ye0.js → vcs-pm8f24c6.js} +10 -10
  203. package/dist/chunks/{command-6y03q21h.js → vcs-pmsv8f6n.js} +2 -2
  204. package/dist/chunks/{command-hyssag4y.js → vcs-psc03azy.js} +11 -11
  205. package/dist/chunks/{command-c55dey07.js → vcs-px4escs4.js} +24 -24
  206. package/dist/chunks/{command-n2rmdmjc.js → vcs-q0mxarp9.js} +18 -18
  207. package/dist/chunks/{command-0j77ygfz.js → vcs-q0xm7vwc.js} +6 -6
  208. package/dist/chunks/vcs-q6es4t5x.js +26 -0
  209. package/dist/chunks/{command-tj682e1p.js → vcs-qg3b25dp.js} +8 -8
  210. package/dist/chunks/{command-sr0pxs2g.js → vcs-qk4ehg30.js} +34 -34
  211. package/dist/chunks/{command-t1ams5g6.js → vcs-qkqy46n6.js} +14 -14
  212. package/dist/chunks/{command-fm2qvscf.js → vcs-qm0v3jhh.js} +7 -7
  213. package/dist/chunks/{command-79qaa2kf.js → vcs-qmqgtz8f.js} +9 -9
  214. package/dist/chunks/{command-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{command-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  216. package/dist/chunks/{command-qxjc9qry.js → vcs-qxjc9qry.js} +3 -3
  217. package/dist/chunks/{command-4mwpykj0.js → vcs-r5wgqceq.js} +6 -6
  218. package/dist/chunks/{command-eq1pz5kg.js → vcs-r5x6zcsm.js} +3 -3
  219. package/dist/chunks/{command-b7mjc4a6.js → vcs-r7hw61av.js} +3 -3
  220. package/dist/chunks/{command-r8xr0va3.js → vcs-r8xr0va3.js} +1 -1
  221. package/dist/chunks/{command-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{command-h9431wzg.js → vcs-rez1pkj2.js} +48 -48
  223. package/dist/chunks/{command-8b107kjv.js → vcs-rt8vjvr0.js} +16 -16
  224. package/dist/chunks/{command-3ndhv5ev.js → vcs-rx68spbt.js} +42 -42
  225. package/dist/chunks/{command-vn72gsba.js → vcs-rx9ava5n.js} +4 -4
  226. package/dist/chunks/{command-dzty4xcq.js → vcs-s2emygws.js} +65 -65
  227. package/dist/chunks/{command-yb7z5tge.js → vcs-s3k1ghfx.js} +147 -147
  228. package/dist/chunks/{command-6nx5bmak.js → vcs-s5cbn5gv.js} +9 -9
  229. package/dist/chunks/{command-9t7a50xb.js → vcs-s8d7rejh.js} +4 -4
  230. package/dist/chunks/{command-a881zpfh.js → vcs-s9xxw18e.js} +9 -9
  231. package/dist/chunks/{command-sqdwm1my.js → vcs-sabta156.js} +35 -35
  232. package/dist/chunks/{command-jpesrvwe.js → vcs-sk6f6663.js} +26 -26
  233. package/dist/chunks/{command-z5anw93z.js → vcs-spf5hfz2.js} +78 -78
  234. package/dist/chunks/{command-pacph0q8.js → vcs-sqz8vfts.js} +11 -11
  235. package/dist/chunks/{command-mv87szkv.js → vcs-ssh52gjb.js} +7 -7
  236. package/dist/chunks/{command-1g7wkek7.js → vcs-ta961bqk.js} +6 -6
  237. package/dist/chunks/{command-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{command-c33q63qa.js → vcs-tbzahsjw.js} +18 -18
  239. package/dist/chunks/{command-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{command-9basgg3g.js → vcs-tcy7k4rn.js} +6 -6
  241. package/dist/chunks/{command-tdstcens.js → vcs-tdstcens.js} +1 -1
  242. package/dist/chunks/{command-c67sz4xq.js → vcs-tta527dv.js} +40 -40
  243. package/dist/chunks/{command-tvpc0ybq.js → vcs-tv7qhnrz.js} +34 -34
  244. package/dist/chunks/{command-c61jsrw6.js → vcs-v0emqez4.js} +9 -9
  245. package/dist/chunks/{command-3byrw2k0.js → vcs-v0es1rhs.js} +9 -9
  246. package/dist/chunks/{command-cstxe3ar.js → vcs-v5xzwmgq.js} +14 -14
  247. package/dist/chunks/{command-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  248. package/dist/chunks/{command-tag3ynyp.js → vcs-vrnerakx.js} +14 -14
  249. package/dist/chunks/{command-vv95jtq1.js → vcs-vsz3x4t5.js} +11 -11
  250. package/dist/chunks/{command-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{command-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{command-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{command-r897vr76.js → vcs-w5ystqj3.js} +5 -5
  254. package/dist/chunks/{command-t38tm3cf.js → vcs-w92r2f21.js} +36 -36
  255. package/dist/chunks/{command-awttz7et.js → vcs-wama9jpe.js} +29 -29
  256. package/dist/chunks/{command-c9k10dz7.js → vcs-wc1gtajg.js} +8 -8
  257. package/dist/chunks/{command-wd87259q.js → vcs-wd87259q.js} +1 -1
  258. package/dist/chunks/{command-zckshxme.js → vcs-wdmcq2dv.js} +18 -18
  259. package/dist/chunks/{command-b3f8fkhc.js → vcs-wecqtg5s.js} +5 -5
  260. package/dist/chunks/{command-6yz0wx8n.js → vcs-wh6zw745.js} +5 -5
  261. package/dist/chunks/{command-3b9mfnb1.js → vcs-wrvch3jb.js} +41 -41
  262. package/dist/chunks/{command-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{command-8wbxkt1z.js → vcs-x3gqap9d.js} +4 -4
  264. package/dist/chunks/{command-2gef892y.js → vcs-x639pxmy.js} +9 -9
  265. package/dist/chunks/{command-dmqcgk4z.js → vcs-xkntkrq7.js} +5 -5
  266. package/dist/chunks/vcs-xmbxbqg7.js +253 -0
  267. package/dist/chunks/{command-45vb5exr.js → vcs-xrstanqz.js} +20 -20
  268. package/dist/chunks/{command-6fd4dcha.js → vcs-xtvkrcq6.js} +32 -32
  269. package/dist/chunks/{command-bpfb0a3w.js → vcs-xy0vq4n8.js} +11 -11
  270. package/dist/chunks/{command-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{command-nqzan4bx.js → vcs-y4226ey0.js} +6 -6
  272. package/dist/chunks/{command-1q3t7fvn.js → vcs-ybpswvk8.js} +40 -40
  273. package/dist/chunks/{command-f5gy8qwh.js → vcs-yf10kn3d.js} +8 -8
  274. package/dist/chunks/{command-cfy01m6q.js → vcs-yf4fz14f.js} +2 -2
  275. package/dist/chunks/{command-ea26v2e4.js → vcs-ygrdr60h.js} +14 -14
  276. package/dist/chunks/{command-sfzn7zth.js → vcs-yrdkt02y.js} +15 -15
  277. package/dist/chunks/{command-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{command-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{command-j1tnjqr2.js → vcs-z2x2d8nb.js} +11 -11
  280. package/dist/chunks/{command-y5hk5168.js → vcs-zdkwvzrd.js} +18 -18
  281. package/dist/chunks/{command-zcrspsvn.js → vcs-zee1rnkq.js} +4 -4
  282. package/dist/chunks/{command-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{command-722cwwxx.js → vcs-zrayvwax.js} +24 -24
  284. package/dist/chunks/{command-213p2swk.js → vcs-zwdj2e8h.js} +17 -17
  285. package/dist/chunks/{command-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +82 -82
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +99 -99
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +154 -154
  297. package/dist/config/plugin/compatibility.js +134 -134
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +90 -90
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +102 -102
  309. package/dist/config/plugin/skill.js +135 -135
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +117 -117
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  320. package/dist/database/database.js +66 -66
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration.gen.js +49 -49
  386. package/dist/database/migration.js +51 -51
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +76 -76
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +93 -93
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +70 -70
  410. package/dist/file-access.js +104 -104
  411. package/dist/file-mutation.js +94 -94
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +218 -218
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +97 -97
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +98 -98
  424. package/dist/form.js +80 -80
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +87 -87
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +99 -99
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +85 -85
  453. package/dist/instructions/builtins.js +87 -87
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +73 -73
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-lifecycle.js +107 -107
  462. package/dist/location-service-map.js +86 -86
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +5 -5
  466. package/dist/mcp/client.js +91 -91
  467. package/dist/mcp/index.js +101 -101
  468. package/dist/mcp/instructions.js +125 -125
  469. package/dist/mcp/oauth.js +78 -78
  470. package/dist/mcp/stdio.js +90 -90
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +99 -99
  473. package/dist/model-resolver.js +96 -96
  474. package/dist/model.js +96 -96
  475. package/dist/models-dev.js +107 -107
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +113 -113
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +75 -75
  485. package/dist/plugin/agent.js +104 -104
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +96 -96
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +102 -102
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  499. package/dist/plugin/provider/azure.js +117 -117
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +93 -93
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -112
  506. package/dist/plugin/provider/digitalocean.js +93 -93
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +95 -95
  511. package/dist/plugin/provider/gitlab.js +93 -93
  512. package/dist/plugin/provider/google-vertex.js +90 -90
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +78 -78
  515. package/dist/plugin/provider/lmstudio.js +115 -115
  516. package/dist/plugin/provider/modal.js +92 -92
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +115 -115
  519. package/dist/plugin/provider/openai.js +95 -95
  520. package/dist/plugin/provider/opencode.js +96 -96
  521. package/dist/plugin/provider/openrouter.js +91 -91
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +79 -79
  524. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  525. package/dist/plugin/provider/sap-ai-core.js +91 -91
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +90 -90
  530. package/dist/plugin/provider/vllm.js +115 -115
  531. package/dist/plugin/provider/xai.js +91 -91
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +346 -346
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +86 -86
  542. package/dist/plugin/vcs/hg.js +86 -86
  543. package/dist/plugin/verbosity.js +93 -93
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +5 -5
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +220 -220
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +95 -95
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +99 -99
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +89 -89
  562. package/dist/repository-cache.js +81 -81
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +97 -97
  566. package/dist/rpc.js +86 -86
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +74 -74
  570. package/dist/session/compaction.js +133 -133
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +88 -88
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +211 -211
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +154 -154
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +90 -90
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +79 -79
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +97 -97
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +120 -120
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +125 -125
  590. package/dist/session/projector.js +86 -86
  591. package/dist/session/prompt.js +105 -105
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +90 -90
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -224
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +98 -98
  599. package/dist/session/runner/publish-llm-event.js +113 -113
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -164
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +103 -103
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +87 -87
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +203 -203
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +111 -111
  615. package/dist/session/transfer.js +207 -207
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +207 -207
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +15 -15
  622. package/dist/shell.js +130 -130
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +107 -107
  625. package/dist/skill.js +114 -114
  626. package/dist/snapshot.js +91 -91
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +128 -128
  631. package/dist/tool/plugin/edit.js +120 -120
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +124 -124
  634. package/dist/tool/plugin/grep.js +124 -124
  635. package/dist/tool/plugin/mcp-resource.js +117 -117
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +122 -122
  638. package/dist/tool/plugin/question.js +103 -103
  639. package/dist/tool/plugin/read.js +125 -125
  640. package/dist/tool/plugin/shell.js +210 -210
  641. package/dist/tool/plugin/skill.js +113 -113
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +112 -112
  644. package/dist/tool/plugin/websearch.js +114 -114
  645. package/dist/tool/plugin/write.js +122 -122
  646. package/dist/tool/read-filesystem.js +100 -100
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +92 -92
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +93 -93
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +89 -89
  671. package/dist/websearch.js +78 -78
  672. package/dist/wellknown/plugin.js +76 -76
  673. package/dist/wellknown.js +81 -81
  674. package/dist/workspace/driver.js +7 -7
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +80 -80
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +8 -8
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +85 -85
  681. package/dist/worktree.js +94 -94
  682. package/package.json +8 -8
  683. package/dist/chunks/command-by5v678g.js +0 -18
  684. package/dist/chunks/command-epwxyjh7.js +0 -253
  685. package/dist/chunks/command-kgw2tax4.js +0 -26
  686. /package/dist/chunks/{command-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{command-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{command-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{command-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{command-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{command-24dcb14g.js → vcs-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{command-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{command-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{command-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{command-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{command-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{command-3asan66x.js → vcs-3asan66x.js} +0 -0
  698. /package/dist/chunks/{command-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{command-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{command-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{command-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{command-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{command-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{command-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{command-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{command-53557ph1.js → vcs-53557ph1.js} +0 -0
  707. /package/dist/chunks/{command-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{command-6prwharc.js → vcs-6prwharc.js} +0 -0
  709. /package/dist/chunks/{command-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{command-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{command-822emrt2.js → vcs-822emrt2.js} +0 -0
  712. /package/dist/chunks/{command-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{command-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{command-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{command-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{command-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{command-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{command-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{command-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{command-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{command-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{command-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{command-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{command-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{command-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{command-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{command-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{command-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{command-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{command-df08tz66.js → vcs-df08tz66.js} +0 -0
  731. /package/dist/chunks/{command-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{command-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{command-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{command-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{command-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{command-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{command-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{command-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{command-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{command-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{command-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{command-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{command-g86h250q.js → vcs-g86h250q.js} +0 -0
  744. /package/dist/chunks/{command-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{command-gftt206x.js → vcs-gftt206x.js} +0 -0
  746. /package/dist/chunks/{command-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{command-hk9envan.js → vcs-hk9envan.js} +0 -0
  748. /package/dist/chunks/{command-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{command-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{command-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{command-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{command-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{command-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{command-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{command-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{command-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{command-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{command-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{command-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{command-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{command-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{command-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{command-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{command-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{command-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{command-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{command-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{command-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{command-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{command-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{command-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{command-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{command-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{command-x61499pn.js → vcs-x61499pn.js} +0 -0
  775. /package/dist/chunks/{command-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{command-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{command-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{command-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{command-ym463w8f.js → vcs-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{command-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{command-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service75,
3
- node79
4
- } from "./command-213p2swk.js";
2
+ Service80,
3
+ node84
4
+ } from "./vcs-zwdj2e8h.js";
5
5
  import {
6
6
  Key3,
7
- make22,
7
+ make21,
8
8
  combine2
9
- } from "./command-9t7a50xb.js";
9
+ } from "./vcs-s8d7rejh.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./vcs-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service30,
19
- node: () => node33
18
+ Service: () => Service35,
19
+ node: () => node39
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service30, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service75;
29
- return Service30.of({
28
+ const location = yield* Service80;
29
+ return Service35.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make22({
31
+ make21({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make22({
40
+ make21({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node33 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node79] });
63
+ var node39 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node84] });
64
64
 
65
- export { Service30, node33, exports_builtins };
65
+ export { Service35, node39, exports_builtins };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info11,
8
+ Info: () => Info17,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info11 = SessionProviderContext.Info;
22
+ var Info17 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info11, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info17, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID13
3
- } from "./command-dywq9pkt.js";
3
+ } from "./vcs-gp0zhvse.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make22,
4
+ make21,
5
5
  diffByKey2
6
- } from "./command-9t7a50xb.js";
6
+ } from "./vcs-s8d7rejh.js";
7
7
  import {
8
- ID5,
8
+ ID4,
9
9
  Name2,
10
- available2,
11
- Service51,
12
- node53
13
- } from "./command-jpesrvwe.js";
10
+ available3,
11
+ Service38,
12
+ node41
13
+ } from "./vcs-sk6f6663.js";
14
14
  import {
15
15
  __export
16
- } from "./command-9rqn6x4v.js";
16
+ } from "./vcs-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions5 = {};
20
- __export(exports_instructions5, {
21
- Service: () => Service31,
22
- SkillInstructions: () => exports_instructions5,
23
- node: () => node34
19
+ var exports_instructions3 = {};
20
+ __export(exports_instructions3, {
21
+ Service: () => Service33,
22
+ SkillInstructions: () => exports_instructions3,
23
+ node: () => node37
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID5,
28
+ id: ID4,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,14 +60,14 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service31 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service33 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service31, Effect.gen(function* () {
66
- const skills = yield* Service51;
67
- return Service31.of({
65
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
66
+ const skills = yield* Service38;
67
+ return Service33.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
- const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make22({
69
+ const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
+ return make21({
71
71
  key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node34 = makeLocationNode({ service: Service31, layer, deps: [node53] });
83
+ var node37 = makeLocationNode({ service: Service33, layer, deps: [node41] });
84
84
 
85
- export { Service31, node34, exports_instructions5 };
85
+ export { Service33, node37, exports_instructions3 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./command-dywq9pkt.js";
4
+ } from "./vcs-gp0zhvse.js";
5
5
  import {
6
6
  mergeCapabilities2
7
- } from "./command-9aqw140n.js";
7
+ } from "./vcs-4k1naajh.js";
8
8
  import {
9
9
  latest2,
10
- Service69
11
- } from "./command-p1et7349.js";
10
+ Service48
11
+ } from "./vcs-cdw9nh7g.js";
12
12
  import {
13
- resolve3
14
- } from "./command-0n4qmygn.js";
13
+ resolve4
14
+ } from "./vcs-27n8va8w.js";
15
15
  import {
16
16
  observe2
17
- } from "./command-qsdy395h.js";
17
+ } from "./vcs-qsdy395h.js";
18
18
  import {
19
19
  __export
20
- } from "./command-9rqn6x4v.js";
20
+ } from "./vcs-9rqn6x4v.js";
21
21
 
22
22
  // src/config/plugin/provider.ts
23
23
  var exports_provider = {};
24
24
  __export(exports_provider, {
25
25
  ConfigProviderPlugin: () => exports_provider,
26
- Plugin: () => Plugin19
26
+ Plugin: () => Plugin24
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Money } from "@opencode/schema/money";
30
30
  import { Effect } from "effect";
31
- var Plugin19 = define({
31
+ var Plugin24 = define({
32
32
  id: "opencode.config.provider",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service69;
34
+ const config = yield* Service48;
35
35
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
36
36
  yield* ctx.integration.transform((integrations) => {
37
37
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -175,7 +175,7 @@ var Plugin19 = define({
175
175
  if (config.variants === undefined && !source?.base)
176
176
  models.update(providerID, id, (model) => {
177
177
  model.variants = [
178
- ...resolve3({
178
+ ...resolve4({
179
179
  ...model,
180
180
  package: model.package ?? models.provider.get(providerID)?.provider.package
181
181
  })
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
190
190
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
191
191
  }
192
192
 
193
- export { Plugin19, exports_provider };
193
+ export { Plugin24, exports_provider };
@@ -1,69 +1,69 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./command-8sqk77t7.js";
4
+ } from "./vcs-agrc1xj0.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./command-z7s65jz9.js";
8
+ } from "./vcs-41vvr2y3.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./command-5t3nmthw.js";
11
+ } from "./vcs-5t3nmthw.js";
12
12
  import {
13
13
  create3
14
- } from "./command-rdw6cm16.js";
14
+ } from "./vcs-rdw6cm16.js";
15
15
  import {
16
16
  estimate2
17
- } from "./command-h6vf3j39.js";
17
+ } from "./vcs-h6vf3j39.js";
18
18
  import {
19
19
  SessionEvent2
20
- } from "./command-ec1grn59.js";
20
+ } from "./vcs-ec1grn59.js";
21
21
  import {
22
22
  provenance2,
23
23
  compatible2,
24
24
  isCheckpoint2,
25
25
  encode2
26
- } from "./command-4z58m4b4.js";
26
+ } from "./vcs-n1n192bv.js";
27
27
  import {
28
- load4
29
- } from "./command-b4gp33hv.js";
28
+ load5
29
+ } from "./vcs-akk93w6q.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./command-3556dn8t.js";
32
+ } from "./vcs-ns3eape4.js";
33
33
  import {
34
34
  baseTranscript2,
35
35
  unsupportedParts2,
36
36
  boundImages2,
37
- Service33,
38
- node37
39
- } from "./command-jhk6nqbr.js";
37
+ Service31,
38
+ node35
39
+ } from "./vcs-2zavndn1.js";
40
40
  import {
41
41
  isRetryable2,
42
42
  policy2
43
- } from "./command-b3f8fkhc.js";
43
+ } from "./vcs-wecqtg5s.js";
44
44
  import {
45
45
  toSessionError2,
46
46
  contentFilterError2
47
- } from "./command-01jzyxk2.js";
47
+ } from "./vcs-k7pz3erk.js";
48
48
  import {
49
49
  calculateCost2,
50
50
  record2,
51
51
  add2
52
- } from "./command-tdstcens.js";
52
+ } from "./vcs-tdstcens.js";
53
53
  import {
54
54
  __export
55
- } from "./command-9rqn6x4v.js";
55
+ } from "./vcs-9rqn6x4v.js";
56
56
 
57
57
  // src/session/compaction.ts
58
58
  var exports_compaction2 = {};
59
59
  __export(exports_compaction2, {
60
- Service: () => Service9,
60
+ Service: () => Service7,
61
61
  SessionCompaction: () => exports_compaction2,
62
62
  buildPrompt: () => buildPrompt2,
63
63
  estimateContext: () => estimateContext2,
64
64
  estimatePrompt: () => estimatePrompt2,
65
65
  layer: () => layer6,
66
- node: () => node11,
66
+ node: () => node9,
67
67
  recentUserMessages: () => recentUserMessages2
68
68
  });
69
69
  import {
@@ -79,7 +79,7 @@ import {
79
79
  } from "@opencode/ai";
80
80
  import { makeLocationNode } from "@opencode/util/effect/app-node";
81
81
  import { Context, Effect, Layer, Result, Stream } from "effect";
82
- class Service9 extends Context.Service()("@opencode/SessionCompaction") {
82
+ class Service7 extends Context.Service()("@opencode/SessionCompaction") {
83
83
  }
84
84
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
85
85
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -158,11 +158,11 @@ var buildPrompt2 = (update, legacy = false) => {
158
158
  };
159
159
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
160
160
  var LEGACY_HEADING = "## Additional Context";
161
- var layer6 = Layer.effect(Service9, Effect.gen(function* () {
161
+ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
162
162
  const bus = yield* Service83;
163
163
  const llm = yield* LLMClient.Service;
164
164
  const db = (yield* Service84).db;
165
- const requests = yield* Service33;
165
+ const requests = yield* Service31;
166
166
  const state = create3({
167
167
  name: "session-compaction",
168
168
  initial: () => ({ auto: true, keep: 15000 }),
@@ -250,7 +250,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
250
250
  const send = (request) => {
251
251
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
252
252
  return Effect.gen(function* () {
253
- const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
253
+ const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
254
254
  const retained = recentUserMessages2(history, context.model, keep);
255
255
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
256
256
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -450,16 +450,16 @@ ${text}`;
450
450
  }, { metadata: outcome.metadata });
451
451
  return { status: "completed" };
452
452
  });
453
- return Service9.of({
453
+ return Service7.of({
454
454
  transform: state.transform,
455
455
  reload: state.reload,
456
456
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
457
457
  });
458
458
  }));
459
- var node11 = makeLocationNode({
460
- service: Service9,
459
+ var node9 = makeLocationNode({
460
+ service: Service7,
461
461
  layer: layer6,
462
- deps: [node87, node88, llmClient2, node37]
462
+ deps: [node87, node88, llmClient2, node35]
463
463
  });
464
464
  var previousCompaction = (messages) => {
465
465
  const [first] = messages;
@@ -664,4 +664,4 @@ var estimateMedia = (mime) => {
664
664
  return 0;
665
665
  };
666
666
 
667
- export { Service9, buildPrompt2, layer6, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
667
+ export { Service7, buildPrompt2, layer6, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./command-8sqk77t7.js";
4
+ } from "./vcs-agrc1xj0.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./command-71az546q.js";
7
+ } from "./vcs-f75zav2x.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./vcs-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID7,
17
- Info: () => Info10,
18
- ListInput: () => ListInput4,
16
+ ID: () => ID9,
17
+ Info: () => Info18,
18
+ ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service53,
21
- node: () => node55
20
+ Service: () => Service66,
21
+ node: () => node69
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID7 = PermissionSaved.ID;
29
- var Info10 = PermissionSaved.Info;
30
- var ListInput4 = Schema.Struct({
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info18 = PermissionSaved.Info;
30
+ var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service53 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service66 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service53, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID7.create(),
60
+ id: ID9.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service53.of({ list, add, remove });
69
+ return Service66.of({ list, add, remove });
70
70
  }));
71
- var node55 = makeGlobalNode({ service: Service53, layer, deps: [node88] });
71
+ var node69 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
72
72
 
73
- export { ID7, Info10, ListInput4, AddInput2, Service53, node55, exports_saved };
73
+ export { ID9, Info18, ListInput5, AddInput2, Service66, node69, exports_saved };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission2 = {};
7
- __export(exports_permission2, {
6
+ var exports_permission = {};
7
+ __export(exports_permission, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission2,
10
- Info: () => Info19,
9
+ ConfigPermissionV1: () => exports_permission,
10
+ Info: () => Info10,
11
11
  Object: () => Object2,
12
- Rule: () => Rule3
12
+ Rule: () => Rule2
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule3),
20
- edit: Schema.optional(Rule3),
21
- glob: Schema.optional(Rule3),
22
- grep: Schema.optional(Rule3),
23
- list: Schema.optional(Rule3),
24
- bash: Schema.optional(Rule3),
25
- task: Schema.optional(Rule3),
26
- external_directory: Schema.optional(Rule3),
19
+ read: Schema.optional(Rule2),
20
+ edit: Schema.optional(Rule2),
21
+ glob: Schema.optional(Rule2),
22
+ grep: Schema.optional(Rule2),
23
+ list: Schema.optional(Rule2),
24
+ bash: Schema.optional(Rule2),
25
+ task: Schema.optional(Rule2),
26
+ external_directory: Schema.optional(Rule2),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule3),
28
+ webfetch: Schema.optional(Rule2),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule3),
30
+ lsp: Schema.optional(Rule2),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule3)
33
- }), [Schema.Record(Schema.String, Rule3)]);
32
+ skill: Schema.optional(Rule2)
33
+ }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info19 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info10 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule3, Info19, exports_permission2 };
41
+ export { Action2, Object2, Rule2, Info10, exports_permission };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./command-4z58m4b4.js";
4
+ } from "./vcs-n1n192bv.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./command-z7s65jz9.js";
5
+ } from "./vcs-41vvr2y3.js";
6
6
  import {
7
- Service79,
8
- node83
9
- } from "./command-g8n6k2e8.js";
7
+ Service74,
8
+ node78
9
+ } from "./vcs-f1g2race.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./vcs-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event18,
19
+ Event: () => Event9,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service78,
22
+ Service: () => Service50,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node82,
26
- resolve: () => resolve4
25
+ node: () => node54,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service78 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service50 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event18 = {
51
+ var Event9 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service78, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service79;
80
+ const kv = yield* Service74;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event18.Updated, {});
112
+ yield* bus.publish(Event9.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service78.of({
115
+ return Service50.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event18.Updated, {});
128
+ yield* bus.publish(Event9.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event18.Updated, {});
141
+ yield* bus.publish(Event9.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node82 = makeGlobalNode({ service: Service78, layer, deps: [httpClient, node83, node87] });
146
+ var node54 = makeGlobalNode({ service: Service50, layer, deps: [httpClient, node78, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service78, Event18, inspect2, resolve4, node82, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service50, Event9, inspect2, resolve2, node54, exports_wellknown };