@opencode/core 0.0.0-dev-19637 → 0.0.0-dev-19639

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-access-zd6ydzqz.js → kv-0181d07v.js} +25 -25
  8. package/dist/chunks/{file-access-j933w6sb.js → kv-06bhybne.js} +13 -13
  9. package/dist/chunks/{file-access-xdrba4jw.js → kv-06jg94xm.js} +9 -9
  10. package/dist/chunks/{file-access-kd6d57r1.js → kv-09evap6p.js} +84 -84
  11. package/dist/chunks/{file-access-jdfjhp2e.js → kv-0eyg9sj2.js} +8 -8
  12. package/dist/chunks/{file-access-ks3vd1j0.js → kv-0faph1ym.js} +11 -11
  13. package/dist/chunks/{file-access-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-access-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{file-access-3h8hw3gv.js → kv-11cdrfz0.js} +13 -13
  16. package/dist/chunks/{file-access-t192nm8m.js → kv-19d1a1wx.js} +6 -6
  17. package/dist/chunks/{file-access-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{file-access-t5dv71qx.js → kv-1jzfq4bq.js} +13 -13
  19. package/dist/chunks/{file-access-h8ptc2jy.js → kv-1qnd0792.js} +25 -25
  20. package/dist/chunks/kv-1x11rq2a.js +18 -0
  21. package/dist/chunks/{file-access-21r38tys.js → kv-21r38tys.js} +1 -1
  22. package/dist/chunks/{file-access-e2609ak5.js → kv-23razwnm.js} +3 -3
  23. package/dist/chunks/{file-access-ccz297mt.js → kv-26xgc15z.js} +13 -13
  24. package/dist/chunks/{file-access-r88mwysp.js → kv-278xm5yv.js} +41 -41
  25. package/dist/chunks/{file-access-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{file-access-11ayc5k1.js → kv-2rjb08nw.js} +13 -13
  27. package/dist/chunks/{file-access-t271ntmg.js → kv-2tkww0cv.js} +63 -63
  28. package/dist/chunks/{file-access-ck2q371s.js → kv-2v2aaw6h.js} +3 -3
  29. package/dist/chunks/{file-access-a5mt2rtc.js → kv-3a9wmna2.js} +26 -26
  30. package/dist/chunks/{file-access-grw98w6v.js → kv-3c2xh2cb.js} +24 -24
  31. package/dist/chunks/{file-access-b2rkp7aa.js → kv-3d23mvyt.js} +10 -10
  32. package/dist/chunks/{file-access-npmmx7a7.js → kv-3fa9na4z.js} +6 -6
  33. package/dist/chunks/{file-access-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{file-access-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{file-access-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{file-access-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{file-access-s8cf5yxm.js → kv-3xjrnnx0.js} +7 -7
  38. package/dist/chunks/{file-access-55zx3jwd.js → kv-3yaty7qs.js} +18 -18
  39. package/dist/chunks/{file-access-hv8qssb6.js → kv-41j1ttxa.js} +10 -10
  40. package/dist/chunks/{file-access-sn3rxfgj.js → kv-426xjh9f.js} +6 -6
  41. package/dist/chunks/{file-access-e7vjkpcb.js → kv-427pr1n5.js} +8 -8
  42. package/dist/chunks/{file-access-ah3b0qta.js → kv-43p703w4.js} +7 -7
  43. package/dist/chunks/{file-access-5d6nmhah.js → kv-4pwnbtse.js} +33 -33
  44. package/dist/chunks/{file-access-wjcn38ba.js → kv-4q6ckhfj.js} +3 -3
  45. package/dist/chunks/{file-access-ky68ekyp.js → kv-4rpey7g3.js} +9 -9
  46. package/dist/chunks/{file-access-jy3pp1pb.js → kv-51fjvt3r.js} +3 -3
  47. package/dist/chunks/{file-access-yd4pvbh8.js → kv-548bwhbx.js} +1 -1
  48. package/dist/chunks/{file-access-1ygqh575.js → kv-56gdpj1q.js} +9 -9
  49. package/dist/chunks/{file-access-d9s573fh.js → kv-57ez7d0k.js} +2 -2
  50. package/dist/chunks/{file-access-5c4hm403.js → kv-5c4hm403.js} +3 -3
  51. package/dist/chunks/{file-access-5daktx2q.js → kv-5daktx2q.js} +1 -1
  52. package/dist/chunks/{file-access-ygk8sne3.js → kv-5jh529f7.js} +24 -24
  53. package/dist/chunks/{file-access-sfe15w4t.js → kv-5kjbzgy0.js} +15 -15
  54. package/dist/chunks/{file-access-h6r3nrb9.js → kv-5mtzsd3b.js} +4 -4
  55. package/dist/chunks/{file-access-0x7mekqw.js → kv-5q9yd8mm.js} +11 -11
  56. package/dist/chunks/{file-access-4jv7e9dq.js → kv-5qkxfyep.js} +9 -9
  57. package/dist/chunks/kv-5rea1s2y.js +26 -0
  58. package/dist/chunks/{file-access-9k7ekhq9.js → kv-5rm646d3.js} +11 -11
  59. package/dist/chunks/{file-access-s52y66be.js → kv-5syhs8jk.js} +11 -11
  60. package/dist/chunks/{file-access-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{file-access-8yk8gp0p.js → kv-5z94tqmr.js} +11 -11
  62. package/dist/chunks/{file-access-s5trtwgj.js → kv-60rh8x3g.js} +9 -9
  63. package/dist/chunks/{file-access-669tq793.js → kv-669tq793.js} +1 -1
  64. package/dist/chunks/{file-access-ycjb11n5.js → kv-6ehbgqat.js} +6 -6
  65. package/dist/chunks/{file-access-2402vzrj.js → kv-6h73sxmp.js} +5 -5
  66. package/dist/chunks/{file-access-fhj2ec39.js → kv-6h8410cm.js} +15 -15
  67. package/dist/chunks/{file-access-fdms3n6w.js → kv-6hjx5zpb.js} +9 -9
  68. package/dist/chunks/{file-access-q5rhn9x0.js → kv-6jqkynh6.js} +12 -12
  69. package/dist/chunks/kv-6kdq0pjd.js +4 -0
  70. package/dist/chunks/{file-access-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{file-access-7mqb335e.js → kv-6n468d57.js} +6 -6
  72. package/dist/chunks/{file-access-a8092cx4.js → kv-6sg1sdqs.js} +11 -11
  73. package/dist/chunks/{file-access-ssdhg7mn.js → kv-6w4gqaqz.js} +1 -1
  74. package/dist/chunks/{file-access-cjwxcw7h.js → kv-70qbzkph.js} +16 -16
  75. package/dist/chunks/{file-access-dhxdeg25.js → kv-782x85dz.js} +50 -50
  76. package/dist/chunks/{file-access-89smrnyf.js → kv-7ac170kv.js} +4 -4
  77. package/dist/chunks/{file-access-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{file-access-fcrkznn8.js → kv-7dqw4kz8.js} +5 -5
  79. package/dist/chunks/{file-access-apqkkg64.js → kv-7e0sryjp.js} +12 -12
  80. package/dist/chunks/{file-access-x182m7xa.js → kv-7p8zzw9r.js} +10 -10
  81. package/dist/chunks/{file-access-ytgdyx08.js → kv-82jgxh54.js} +2 -2
  82. package/dist/chunks/{file-access-ewvjyc2d.js → kv-837ekr2g.js} +8 -8
  83. package/dist/chunks/{file-access-sa8j3x6g.js → kv-8b9twrdg.js} +24 -24
  84. package/dist/chunks/{file-access-e5vq6wef.js → kv-8bcx3nez.js} +4 -4
  85. package/dist/chunks/{file-access-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{file-access-www2df0c.js → kv-8ma1xsee.js} +16 -16
  87. package/dist/chunks/{file-access-s3ze4hah.js → kv-8s7dmzqa.js} +8 -8
  88. package/dist/chunks/{file-access-qrkqsxkr.js → kv-990yn902.js} +24 -24
  89. package/dist/chunks/{file-access-5apets8e.js → kv-9c9zbnn4.js} +6 -6
  90. package/dist/chunks/{file-access-c9ecbdb0.js → kv-9d2y98hx.js} +5 -5
  91. package/dist/chunks/{file-access-v24739yc.js → kv-9g3kc011.js} +5 -5
  92. package/dist/chunks/{file-access-xc8sh4yv.js → kv-9gth7wdx.js} +16 -16
  93. package/dist/chunks/{file-access-x2nqcre9.js → kv-9x5mrpkq.js} +11 -11
  94. package/dist/chunks/{file-access-aaet6srn.js → kv-aaet6srn.js} +2 -2
  95. package/dist/chunks/{file-access-2jywpyj8.js → kv-aazbweyx.js} +23 -23
  96. package/dist/chunks/{file-access-eezbyd6d.js → kv-aeccn3br.js} +1 -1
  97. package/dist/chunks/{file-access-hfvc964k.js → kv-af04s6ss.js} +5 -5
  98. package/dist/chunks/{file-access-n4r3xatb.js → kv-ag4rn41e.js} +4 -4
  99. package/dist/chunks/{file-access-qehrwxjr.js → kv-ammhsa5d.js} +20 -20
  100. package/dist/chunks/{file-access-1gfa7nhd.js → kv-aq3mj96b.js} +32 -32
  101. package/dist/chunks/{file-access-rytnjs8b.js → kv-avdt6qhh.js} +20 -20
  102. package/dist/chunks/{file-access-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{file-access-7374nn42.js → kv-behht3cm.js} +11 -11
  104. package/dist/chunks/{file-access-e5nv3ght.js → kv-bndc73cn.js} +5 -5
  105. package/dist/chunks/{file-access-qf53spd6.js → kv-bnkdgddv.js} +21 -21
  106. package/dist/chunks/{file-access-76rf663v.js → kv-bqvrq9r3.js} +15 -15
  107. package/dist/chunks/{file-access-j4gdw6gw.js → kv-br1n7bnk.js} +11 -11
  108. package/dist/chunks/{file-access-cz6y612w.js → kv-by366b0z.js} +11 -11
  109. package/dist/chunks/{file-access-rzbfacg9.js → kv-c38fatdf.js} +31 -31
  110. package/dist/chunks/{file-access-x0511brf.js → kv-c5gn303e.js} +4 -4
  111. package/dist/chunks/{file-access-dr6h9h98.js → kv-c9h4s5tc.js} +32 -32
  112. package/dist/chunks/{file-access-s0bax34n.js → kv-ca0bryv0.js} +17 -17
  113. package/dist/chunks/{file-access-vh7dp00t.js → kv-cd1mq5a8.js} +1 -1
  114. package/dist/chunks/{file-access-jsbpgh5s.js → kv-cfxtxrf2.js} +18 -18
  115. package/dist/chunks/{file-access-7zm7jxc7.js → kv-cm4vr11e.js} +4 -4
  116. package/dist/chunks/{file-access-jexxy024.js → kv-csdaj16z.js} +2 -2
  117. package/dist/chunks/{file-access-efzqyggw.js → kv-d60avr4p.js} +12 -12
  118. package/dist/chunks/{file-access-7gahrvww.js → kv-d9s3hc82.js} +12 -12
  119. package/dist/chunks/{file-access-hfx69nqz.js → kv-ddq2qd83.js} +22 -22
  120. package/dist/chunks/{file-access-dj2t23y0.js → kv-dj2t23y0.js} +2 -2
  121. package/dist/chunks/{file-access-gqchpbtd.js → kv-dj9sq318.js} +2 -2
  122. package/dist/chunks/{file-access-kq1t1162.js → kv-dn2vbr7z.js} +11 -11
  123. package/dist/chunks/{file-access-xh45r5pf.js → kv-dwdfpg9y.js} +20 -20
  124. package/dist/chunks/{file-access-fstwsg2e.js → kv-e1nkw1ch.js} +39 -39
  125. package/dist/chunks/{file-access-xe94yqgp.js → kv-e8340df8.js} +6 -6
  126. package/dist/chunks/{file-access-v2rf49aq.js → kv-e8m664vc.js} +7 -7
  127. package/dist/chunks/{file-access-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{file-access-5dyw5czf.js → kv-egt3aqgc.js} +83 -83
  129. package/dist/chunks/{file-access-6d6cd74m.js → kv-eh9sc5va.js} +3 -3
  130. package/dist/chunks/{file-access-9ppknq4r.js → kv-epmshq33.js} +8 -8
  131. package/dist/chunks/{file-access-xahw4cd4.js → kv-er44h2rz.js} +24 -24
  132. package/dist/chunks/{file-access-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{file-access-v6ede5y2.js → kv-f9v9ak1k.js} +33 -33
  134. package/dist/chunks/{file-access-912kkt9t.js → kv-faqjheh2.js} +9 -9
  135. package/dist/chunks/{file-access-gg8wv5as.js → kv-fbge7qf9.js} +26 -26
  136. package/dist/chunks/{file-access-da5p2m5f.js → kv-fbsb99ch.js} +8 -8
  137. package/dist/chunks/{file-access-v5dkyp31.js → kv-fdv30zvt.js} +7 -7
  138. package/dist/chunks/{file-access-f55hhvzh.js → kv-fq769th7.js} +4 -4
  139. package/dist/chunks/{file-access-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{file-access-p37cw4rj.js → kv-g0445xdp.js} +8 -8
  141. package/dist/chunks/{file-access-0xezjjjn.js → kv-g1sxm558.js} +8 -8
  142. package/dist/chunks/{file-access-ss56yrvr.js → kv-g4g43v69.js} +30 -30
  143. package/dist/chunks/{file-access-q2cy2y1a.js → kv-g5m2be3b.js} +7 -7
  144. package/dist/chunks/{file-access-890y149a.js → kv-g5wygk5r.js} +8 -8
  145. package/dist/chunks/{file-access-waqrje5a.js → kv-g6qcyr5q.js} +24 -24
  146. package/dist/chunks/{file-access-aj5f68bw.js → kv-g800bs2f.js} +26 -26
  147. package/dist/chunks/{file-access-468d37b3.js → kv-g8saz83p.js} +6 -6
  148. package/dist/chunks/{file-access-dffmtpj7.js → kv-gagqe2a0.js} +9 -9
  149. package/dist/chunks/{file-access-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{file-access-rhr5fvwd.js → kv-gfkqpt1e.js} +11 -11
  151. package/dist/chunks/{file-access-amtb1fgb.js → kv-gftr8a0n.js} +12 -12
  152. package/dist/chunks/{file-access-r8t2xrpw.js → kv-gqhmbrjs.js} +14 -14
  153. package/dist/chunks/{file-access-yyb7tjpc.js → kv-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{file-access-17m608xa.js → kv-gzwt477p.js} +7 -7
  155. package/dist/chunks/{file-access-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
  156. package/dist/chunks/{file-access-k701emjf.js → kv-h61d1rt6.js} +18 -15
  157. package/dist/chunks/{file-access-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  158. package/dist/chunks/kv-h8hc1fxm.js +247 -0
  159. package/dist/chunks/{file-access-hdnk95c8.js → kv-hdnk95c8.js} +2 -2
  160. package/dist/chunks/{file-access-8dpx7m7d.js → kv-hgkbtkys.js} +11 -11
  161. package/dist/chunks/{file-access-m6ay5emd.js → kv-hkqaemm2.js} +31 -14
  162. package/dist/chunks/{file-access-mrhssej4.js → kv-hmgs27qq.js} +36 -36
  163. package/dist/chunks/{file-access-etbqe1sp.js → kv-hnwcghfw.js} +6 -6
  164. package/dist/chunks/{file-access-sm965ndy.js → kv-hpfvhvya.js} +8 -8
  165. package/dist/chunks/{file-access-2mzw0ev8.js → kv-hq4ym7hc.js} +47 -47
  166. package/dist/chunks/{file-access-56m60q16.js → kv-hr5bc81f.js} +8 -8
  167. package/dist/chunks/{file-access-m17nagwc.js → kv-hvj1z1b4.js} +3 -3
  168. package/dist/chunks/{file-access-vbmj93bj.js → kv-hzk0yx3b.js} +4 -4
  169. package/dist/chunks/{file-access-0ft9cg2j.js → kv-j15mfg1p.js} +6 -6
  170. package/dist/chunks/{file-access-92xny6nd.js → kv-j1t3fp47.js} +1 -1
  171. package/dist/chunks/{file-access-j56e64zr.js → kv-j56e64zr.js} +1 -1
  172. package/dist/chunks/{file-access-9t16ekdb.js → kv-j8xqf3tm.js} +23 -23
  173. package/dist/chunks/{file-access-8v7kkkbw.js → kv-j9e3hj5f.js} +9 -9
  174. package/dist/chunks/{file-access-4tafv0me.js → kv-ja5e70h9.js} +23 -23
  175. package/dist/chunks/{file-access-2775jj4e.js → kv-je97d5cj.js} +1 -1
  176. package/dist/chunks/{file-access-paghhsgz.js → kv-jhrsatcv.js} +2 -2
  177. package/dist/chunks/{file-access-490pvwh4.js → kv-jkt2pdqn.js} +10 -10
  178. package/dist/chunks/{file-access-h7923tt2.js → kv-jsa56ppy.js} +15 -15
  179. package/dist/chunks/{file-access-50mzsvk4.js → kv-jw80jp6b.js} +4 -4
  180. package/dist/chunks/{file-access-m7qxvmyy.js → kv-k0hvzg6w.js} +22 -22
  181. package/dist/chunks/{file-access-sf0yp864.js → kv-k0nnq3t9.js} +6 -6
  182. package/dist/chunks/{file-access-xmvk7qad.js → kv-k14ta1mw.js} +38 -38
  183. package/dist/chunks/{file-access-zc4efzed.js → kv-kb187nae.js} +13 -13
  184. package/dist/chunks/{file-access-pcd7pbnd.js → kv-kkqrf715.js} +25 -25
  185. package/dist/chunks/{file-access-hmfh1rh8.js → kv-ktsp86c1.js} +10 -10
  186. package/dist/chunks/{file-access-5jhep4w0.js → kv-kxq43fw0.js} +28 -28
  187. package/dist/chunks/{file-access-m0jqrx5p.js → kv-m0jqrx5p.js} +2 -2
  188. package/dist/chunks/{file-access-1ktgcqzb.js → kv-m2xnkqg2.js} +12 -12
  189. package/dist/chunks/{file-access-c07j17hk.js → kv-m5bnrnnk.js} +308 -308
  190. package/dist/chunks/{file-access-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{file-access-3dz5wwbt.js → kv-mja1kt4d.js} +13 -13
  192. package/dist/chunks/{file-access-zqfhgf5b.js → kv-mjvv52aw.js} +131 -131
  193. package/dist/chunks/{file-access-5c0f1prt.js → kv-msq0jde0.js} +4 -4
  194. package/dist/chunks/{file-access-73tb2d7t.js → kv-mvfsc1pv.js} +3 -3
  195. package/dist/chunks/{file-access-yzcxy4rp.js → kv-n1cf34bf.js} +38 -38
  196. package/dist/chunks/{file-access-352n4qm2.js → kv-nh999r6h.js} +16 -16
  197. package/dist/chunks/{file-access-hjt4xg1x.js → kv-nhy5jxhy.js} +4 -4
  198. package/dist/chunks/{file-access-dxzm7sqd.js → kv-nxsj8qk0.js} +6 -6
  199. package/dist/chunks/{file-access-1z24zf3x.js → kv-p70cw9s4.js} +38 -34
  200. package/dist/chunks/{file-access-nmn5p8yd.js → kv-pegpe8pp.js} +8 -8
  201. package/dist/chunks/{file-access-m8y6a9gt.js → kv-pf8xhqfy.js} +41 -41
  202. package/dist/chunks/{file-access-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{file-access-pknna89w.js → kv-pknna89w.js} +1 -1
  204. package/dist/chunks/{file-access-0v53mg2y.js → kv-pmr4s4kc.js} +4 -4
  205. package/dist/chunks/{file-access-zhq6vg7a.js → kv-pstg3rfm.js} +1 -1
  206. package/dist/chunks/{file-access-nbygjmnq.js → kv-psw4s0xn.js} +23 -23
  207. package/dist/chunks/{file-access-tkfbqfej.js → kv-ptkydeht.js} +29 -29
  208. package/dist/chunks/{file-access-gy9mz9hm.js → kv-q3skwyt1.js} +30 -30
  209. package/dist/chunks/{file-access-rvh2fpxc.js → kv-q6mv38f6.js} +4 -4
  210. package/dist/chunks/{file-access-ch5zdy2s.js → kv-qdc4xrm1.js} +8 -8
  211. package/dist/chunks/{file-access-30ntgpz7.js → kv-qj2k6z66.js} +24 -24
  212. package/dist/chunks/{file-access-9zzv5pgc.js → kv-qn4ba14w.js} +5 -5
  213. package/dist/chunks/{file-access-qsdy395h.js → kv-qsdy395h.js} +1 -1
  214. package/dist/chunks/{file-access-1szx0rct.js → kv-qxckzp83.js} +13 -13
  215. package/dist/chunks/{file-access-ybhbtxjg.js → kv-r0cp9c3a.js} +6 -6
  216. package/dist/chunks/{file-access-cwa6csj7.js → kv-r2m716tb.js} +9 -9
  217. package/dist/chunks/{file-access-btrn8rgp.js → kv-r39yac3r.js} +27 -27
  218. package/dist/chunks/{file-access-zk8c4w5t.js → kv-r4yqrmdq.js} +5 -5
  219. package/dist/chunks/{file-access-r9mregkx.js → kv-r9mregkx.js} +2 -2
  220. package/dist/chunks/{file-access-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{file-access-ebw7vtp3.js → kv-re5kaxrw.js} +23 -23
  222. package/dist/chunks/{file-access-0addxkp5.js → kv-rp9zvaag.js} +24 -24
  223. package/dist/chunks/{file-access-det33w69.js → kv-rxk5qj53.js} +5 -5
  224. package/dist/chunks/{file-access-0r581tt5.js → kv-s4xyvqvb.js} +9 -9
  225. package/dist/chunks/{file-access-s8d7rejh.js → kv-s8d7rejh.js} +1 -1
  226. package/dist/chunks/{file-access-szrf2gp8.js → kv-s9q8v06y.js} +23 -23
  227. package/dist/chunks/{file-access-p459fsr1.js → kv-sm181a3e.js} +35 -35
  228. package/dist/chunks/{file-access-64stfe7m.js → kv-sqenp41j.js} +18 -18
  229. package/dist/chunks/{file-access-vbctgszn.js → kv-t0ws8mbr.js} +44 -44
  230. package/dist/chunks/{file-access-zs4gxp06.js → kv-t1r2rqz2.js} +21 -21
  231. package/dist/chunks/{file-access-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{file-access-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{file-access-tdstcens.js → kv-tdstcens.js} +1 -1
  234. package/dist/chunks/{file-access-4e8qeqw2.js → kv-tpej6hf6.js} +8 -8
  235. package/dist/chunks/{file-access-c8vbwmvy.js → kv-tpej8ve4.js} +22 -22
  236. package/dist/chunks/{file-access-tvtrv512.js → kv-tvtrv512.js} +1 -1
  237. package/dist/chunks/{file-access-a3r4dcrj.js → kv-tyqkzprt.js} +2 -2
  238. package/dist/chunks/{file-access-wa065q7p.js → kv-v001sjzq.js} +3 -3
  239. package/dist/chunks/{file-access-pf4e8y03.js → kv-v3w1xs5d.js} +27 -27
  240. package/dist/chunks/{file-access-veqvce7d.js → kv-veqvce7d.js} +1 -1
  241. package/dist/chunks/{file-access-8nsc8gnz.js → kv-verbbpg9.js} +12 -12
  242. package/dist/chunks/{file-access-wajqf0bb.js → kv-vm4kz6ms.js} +30 -30
  243. package/dist/chunks/{file-access-q54epvg6.js → kv-vmmg1jfa.js} +11 -11
  244. package/dist/chunks/{file-access-196s2236.js → kv-vz25c400.js} +22 -22
  245. package/dist/chunks/{file-access-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{file-access-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{file-access-afes4715.js → kv-w66h423q.js} +2 -2
  248. package/dist/chunks/{file-access-w1wd9tp2.js → kv-w7pp9m0t.js} +14 -14
  249. package/dist/chunks/{file-access-wd87259q.js → kv-wd87259q.js} +1 -1
  250. package/dist/chunks/{file-access-tcrhe9m8.js → kv-werfsjnx.js} +17 -17
  251. package/dist/chunks/{file-access-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{file-access-bycqfhhp.js → kv-x3krd4w8.js} +2 -2
  253. package/dist/chunks/{file-access-6n9rjysc.js → kv-x50x66fn.js} +3 -3
  254. package/dist/chunks/{file-access-hg3nex49.js → kv-x58pb539.js} +8 -8
  255. package/dist/chunks/{file-access-p630c9xd.js → kv-xk747vep.js} +9 -9
  256. package/dist/chunks/{file-access-xf0yen68.js → kv-xwztb879.js} +9 -9
  257. package/dist/chunks/{file-access-y2m441pc.js → kv-xxf7whvt.js} +6 -6
  258. package/dist/chunks/{file-access-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  259. package/dist/chunks/{file-access-y71avatq.js → kv-y71avatq.js} +1 -1
  260. package/dist/chunks/{file-access-vgxg80g2.js → kv-y7mmfpa1.js} +8 -8
  261. package/dist/chunks/{file-access-bh51kybc.js → kv-y91nftqb.js} +21 -21
  262. package/dist/chunks/{file-access-204v3eqv.js → kv-y98n2nmb.js} +24 -24
  263. package/dist/chunks/{file-access-z4zzqkyn.js → kv-ydpmx7wn.js} +22 -22
  264. package/dist/chunks/{file-access-9gfvx8yt.js → kv-ynbq69as.js} +4 -4
  265. package/dist/chunks/{file-access-r8xr0va3.js → kv-yp2x3t23.js} +4 -4
  266. package/dist/chunks/{file-access-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
  267. package/dist/chunks/{file-access-q0r2d8rn.js → kv-yrw3g6cq.js} +33 -33
  268. package/dist/chunks/{file-access-yrznvahk.js → kv-yrznvahk.js} +2 -2
  269. package/dist/chunks/{file-access-rw2xgg53.js → kv-yvbb4q6z.js} +17 -17
  270. package/dist/chunks/{file-access-hpv156nq.js → kv-ywb23tag.js} +4 -4
  271. package/dist/chunks/{file-access-v812h1xz.js → kv-yx4rmz5q.js} +6 -6
  272. package/dist/chunks/{file-access-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{file-access-xg631j7a.js → kv-z5zwqd1h.js} +5 -5
  274. package/dist/chunks/{file-access-z63w68vq.js → kv-z63w68vq.js} +2 -2
  275. package/dist/chunks/{file-access-kmkxeyh5.js → kv-z6c53ynw.js} +18 -18
  276. package/dist/chunks/{file-access-2d8e38yw.js → kv-z7pmxwv1.js} +6 -6
  277. package/dist/chunks/{file-access-jkpvc1gj.js → kv-zegzr0ah.js} +20 -20
  278. package/dist/chunks/{file-access-rq775frq.js → kv-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{file-access-jcas26n6.js → kv-zr0yvs15.js} +11 -11
  280. package/dist/chunks/{file-access-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{file-access-7qz0vyfs.js → kv-zr3rbwkr.js} +22 -22
  282. package/dist/chunks/{file-access-ffzfw6dq.js → kv-zrdk0evt.js} +39 -39
  283. package/dist/chunks/{file-access-x0wxay44.js → kv-zwgd9mwv.js} +3 -3
  284. package/dist/chunks/{file-access-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +84 -84
  289. package/dist/config/discovery.js +81 -81
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +105 -105
  292. package/dist/config/plugin/agent.js +124 -124
  293. package/dist/config/plugin/command.js +212 -212
  294. package/dist/config/plugin/compaction.js +158 -158
  295. package/dist/config/plugin/compatibility.js +140 -140
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +123 -123
  298. package/dist/config/plugin/image.js +122 -122
  299. package/dist/config/plugin/instruction.js +89 -89
  300. package/dist/config/plugin/location-watcher.js +122 -122
  301. package/dist/config/plugin/mcp.js +131 -131
  302. package/dist/config/plugin/policy.js +122 -122
  303. package/dist/config/plugin/provider.js +122 -122
  304. package/dist/config/plugin/reference.js +124 -124
  305. package/dist/config/plugin/shell.js +122 -122
  306. package/dist/config/plugin/skill-file.js +101 -101
  307. package/dist/config/plugin/skill.js +143 -143
  308. package/dist/config/plugin/snapshot.js +122 -122
  309. package/dist/config/plugin/source.js +125 -125
  310. package/dist/config/plugin/tool-output.js +124 -124
  311. package/dist/config/plugin/websearch.js +121 -121
  312. package/dist/config/plugin/worktree.js +124 -124
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +127 -127
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +80 -80
  318. package/dist/database/database.js +65 -65
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +75 -75
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +363 -363
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +92 -92
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +94 -94
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +69 -69
  407. package/dist/file-access.js +103 -103
  408. package/dist/file-mutation.js +93 -93
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +223 -223
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +102 -102
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +105 -105
  423. package/dist/form.js +83 -83
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +100 -100
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +90 -90
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.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 +354 -354
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +86 -86
  454. package/dist/instructions/index.js +1 -1
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +83 -83
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-mutation.js +103 -103
  462. package/dist/location-service-map.js +85 -85
  463. package/dist/location-services.js +351 -351
  464. package/dist/location.js +80 -80
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +126 -126
  468. package/dist/mcp/oauth.js +77 -77
  469. package/dist/mcp/stdio.js +89 -89
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +90 -90
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +99 -99
  474. package/dist/models-dev.js +106 -106
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +77 -77
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +106 -106
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +85 -85
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +103 -103
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +216 -216
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +95 -95
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +101 -101
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  497. package/dist/plugin/provider/azure.js +121 -121
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +118 -118
  503. package/dist/plugin/provider/digitalocean.js +92 -92
  504. package/dist/plugin/provider/dynamic.js +2 -2
  505. package/dist/plugin/provider/factory.js +1 -1
  506. package/dist/plugin/provider/gateway.js +2 -2
  507. package/dist/plugin/provider/github-copilot.js +92 -92
  508. package/dist/plugin/provider/gitlab.js +90 -90
  509. package/dist/plugin/provider/google-vertex.js +89 -89
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +76 -76
  512. package/dist/plugin/provider/lmstudio.js +121 -121
  513. package/dist/plugin/provider/modal.js +91 -91
  514. package/dist/plugin/provider/nvidia.js +1 -1
  515. package/dist/plugin/provider/ollama.js +121 -121
  516. package/dist/plugin/provider/openai.js +93 -93
  517. package/dist/plugin/provider/opencode.js +92 -92
  518. package/dist/plugin/provider/openrouter.js +90 -90
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/poe.js +77 -77
  521. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  522. package/dist/plugin/provider/sap-ai-core.js +90 -90
  523. package/dist/plugin/provider/sdk-factory.js +1 -1
  524. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  525. package/dist/plugin/provider/venice.js +2 -2
  526. package/dist/plugin/provider/vercel.js +89 -89
  527. package/dist/plugin/provider/vllm.js +119 -119
  528. package/dist/plugin/provider/xai.js +90 -90
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +158 -158
  531. package/dist/plugin/sdk.js +75 -75
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +140 -140
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/update.js +6 -6
  537. package/dist/plugin/vcs/git.js +85 -85
  538. package/dist/plugin/vcs/hg.js +85 -85
  539. package/dist/plugin/warming.js +120 -120
  540. package/dist/plugin/websearch/exa.js +7 -7
  541. package/dist/plugin/websearch/firecrawl.js +8 -8
  542. package/dist/plugin/websearch/index.js +9 -9
  543. package/dist/plugin/websearch/mcp.js +6 -6
  544. package/dist/plugin/websearch/parallel.js +6 -6
  545. package/dist/plugin/websearch/tavily.js +6 -6
  546. package/dist/plugin/websearch/tinyfish.js +8 -8
  547. package/dist/plugin.js +219 -219
  548. package/dist/project/schema.js +2 -2
  549. package/dist/project/sql.js +4 -4
  550. package/dist/project.js +79 -79
  551. package/dist/provider.js +96 -96
  552. package/dist/pty/protocol.js +1 -1
  553. package/dist/pty/schema.js +3 -3
  554. package/dist/pty/ticket.js +1 -1
  555. package/dist/pty.js +93 -93
  556. package/dist/reference/instructions.js +88 -88
  557. package/dist/reference.js +88 -88
  558. package/dist/repository-cache.js +78 -78
  559. package/dist/repository.js +3 -3
  560. package/dist/ripgrep/binary.js +2 -2
  561. package/dist/ripgrep.js +96 -96
  562. package/dist/rpc.js +85 -85
  563. package/dist/schema.js +1 -1
  564. package/dist/session/command.js +73 -73
  565. package/dist/session/compaction.js +132 -132
  566. package/dist/session/context.js +150 -150
  567. package/dist/session/diff.js +87 -87
  568. package/dist/session/environment.js +5 -5
  569. package/dist/session/error.js +5 -5
  570. package/dist/session/event.js +1 -1
  571. package/dist/session/execution/restart.js +219 -219
  572. package/dist/session/execution.js +127 -127
  573. package/dist/session/generate.js +149 -149
  574. package/dist/session/history.js +13 -13
  575. package/dist/session/inbox.js +89 -89
  576. package/dist/session/info.js +3 -3
  577. package/dist/session/instruction-entry.js +78 -78
  578. package/dist/session/instruction-state.js +8 -8
  579. package/dist/session/instructions.js +96 -96
  580. package/dist/session/message-updater.js +4 -4
  581. package/dist/session/message.js +1 -1
  582. package/dist/session/model-request.js +117 -117
  583. package/dist/session/model-transport.js +9 -9
  584. package/dist/session/move.js +129 -129
  585. package/dist/session/projector.js +85 -85
  586. package/dist/session/prompt.js +104 -104
  587. package/dist/session/provider-context.js +3 -3
  588. package/dist/session/revert.js +89 -89
  589. package/dist/session/run-coordinator.js +3 -3
  590. package/dist/session/runner/index.js +3 -3
  591. package/dist/session/runner/llm.js +228 -228
  592. package/dist/session/runner/max-steps.js +1 -1
  593. package/dist/session/runner/model.js +97 -97
  594. package/dist/session/runner/publish-llm-event.js +3 -3
  595. package/dist/session/runner/retry.js +113 -113
  596. package/dist/session/runner/step.js +124 -124
  597. package/dist/session/runner/to-llm-message.js +2 -2
  598. package/dist/session/schema.js +3 -3
  599. package/dist/session/session.js +171 -171
  600. package/dist/session/shell.js +137 -137
  601. package/dist/session/skill.js +102 -102
  602. package/dist/session/sql.js +5 -5
  603. package/dist/session/stats.js +72 -72
  604. package/dist/session/store.js +84 -84
  605. package/dist/session/subagent-completion.js +1 -1
  606. package/dist/session/subagent-job.js +208 -208
  607. package/dist/session/system-prompt.js +3 -3
  608. package/dist/session/title.js +154 -154
  609. package/dist/session/to-session-error.js +110 -110
  610. package/dist/session/transfer.js +210 -210
  611. package/dist/session/usage.js +1 -1
  612. package/dist/session.js +214 -214
  613. package/dist/shell/parse.js +6 -6
  614. package/dist/shell/result.js +1 -1
  615. package/dist/shell/scan.js +1 -1
  616. package/dist/shell/select.js +15 -15
  617. package/dist/shell.js +137 -137
  618. package/dist/skill/discovery.js +6 -6
  619. package/dist/skill/instructions.js +106 -106
  620. package/dist/skill.js +111 -111
  621. package/dist/snapshot.js +92 -92
  622. package/dist/state.js +1 -1
  623. package/dist/tool/html-markdown.js +1 -1
  624. package/dist/tool/http-body.js +1 -1
  625. package/dist/tool/mcp.js +125 -125
  626. package/dist/tool/plugin/edit.js +119 -119
  627. package/dist/tool/plugin/file-diff.js +1 -1
  628. package/dist/tool/plugin/glob.js +123 -123
  629. package/dist/tool/plugin/grep.js +121 -121
  630. package/dist/tool/plugin/opencode.js +3 -3
  631. package/dist/tool/plugin/patch.js +119 -119
  632. package/dist/tool/plugin/question.js +102 -102
  633. package/dist/tool/plugin/read.js +124 -124
  634. package/dist/tool/plugin/shell.js +213 -213
  635. package/dist/tool/plugin/skill.js +112 -112
  636. package/dist/tool/plugin/subagent.js +217 -217
  637. package/dist/tool/plugin/webfetch.js +111 -111
  638. package/dist/tool/plugin/websearch.js +109 -109
  639. package/dist/tool/plugin/write.js +121 -121
  640. package/dist/tool/read-filesystem.js +95 -95
  641. package/dist/tool/runtime.js +1 -1
  642. package/dist/tool-output.js +8 -8
  643. package/dist/tool.js +15 -15
  644. package/dist/types/session/model-transport.d.ts +6 -1
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/git-executable.js +2 -2
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +5 -5
  655. package/dist/v1/config/attachment.js +2 -2
  656. package/dist/v1/config/command.js +5 -5
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/formatter.js +7 -7
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +91 -91
  664. package/dist/v1/config/permission.js +3 -3
  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/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/variant.js +92 -92
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +88 -88
  674. package/dist/websearch.js +81 -81
  675. package/dist/wellknown/plugin.js +75 -75
  676. package/dist/wellknown.js +80 -80
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +77 -77
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +88 -88
  684. package/dist/worktree.js +95 -95
  685. package/package.json +8 -8
  686. package/dist/chunks/file-access-24q6q5zm.js +0 -247
  687. package/dist/chunks/file-access-4v7qdvcn.js +0 -18
  688. package/dist/chunks/file-access-mqjrdake.js +0 -26
  689. package/dist/chunks/file-access-qapv375x.js +0 -4
  690. /package/dist/chunks/{file-access-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{file-access-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{file-access-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{file-access-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{file-access-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{file-access-24dcb14g.js → kv-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{file-access-2710q6r3.js → kv-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{file-access-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{file-access-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{file-access-359p4xyc.js → kv-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{file-access-3asan66x.js → kv-3asan66x.js} +0 -0
  701. /package/dist/chunks/{file-access-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{file-access-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{file-access-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{file-access-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{file-access-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{file-access-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{file-access-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{file-access-53557ph1.js → kv-53557ph1.js} +0 -0
  709. /package/dist/chunks/{file-access-550bvhaj.js → kv-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{file-access-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{file-access-6prwharc.js → kv-6prwharc.js} +0 -0
  712. /package/dist/chunks/{file-access-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{file-access-7m9af43g.js → kv-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{file-access-822emrt2.js → kv-822emrt2.js} +0 -0
  715. /package/dist/chunks/{file-access-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{file-access-8n3pysct.js → kv-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{file-access-922hggd3.js → kv-922hggd3.js} +0 -0
  718. /package/dist/chunks/{file-access-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{file-access-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{file-access-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{file-access-af5trqkr.js → kv-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{file-access-afrmfg78.js → kv-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{file-access-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{file-access-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{file-access-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{file-access-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{file-access-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{file-access-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{file-access-d9fn303g.js → kv-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{file-access-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{file-access-dajrwvna.js → kv-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{file-access-dap0rakb.js → kv-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{file-access-df08tz66.js → kv-df08tz66.js} +0 -0
  734. /package/dist/chunks/{file-access-dy18nga0.js → kv-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{file-access-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{file-access-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{file-access-ec1grn59.js → kv-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{file-access-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{file-access-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{file-access-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{file-access-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{file-access-faypxj3z.js → kv-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{file-access-fd410y7t.js → kv-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{file-access-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{file-access-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{file-access-g86h250q.js → kv-g86h250q.js} +0 -0
  747. /package/dist/chunks/{file-access-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{file-access-gftt206x.js → kv-gftt206x.js} +0 -0
  749. /package/dist/chunks/{file-access-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{file-access-hk9envan.js → kv-hk9envan.js} +0 -0
  751. /package/dist/chunks/{file-access-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{file-access-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{file-access-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{file-access-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{file-access-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{file-access-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{file-access-mp448xyj.js → kv-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{file-access-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{file-access-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{file-access-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{file-access-njntx4h6.js → kv-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{file-access-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{file-access-q74kybfr.js → kv-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{file-access-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{file-access-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{file-access-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{file-access-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{file-access-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{file-access-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{file-access-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{file-access-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{file-access-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{file-access-twg0f83k.js → kv-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{file-access-w803qqfp.js → kv-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{file-access-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  776. /package/dist/chunks/{file-access-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{file-access-wtztk69x.js → kv-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{file-access-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{file-access-x61499pn.js → kv-x61499pn.js} +0 -0
  780. /package/dist/chunks/{file-access-y44na4kk.js → kv-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{file-access-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{file-access-y8f7s663.js → kv-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{file-access-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{file-access-ym463w8f.js → kv-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{file-access-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./file-access-emrn6kk6.js";
7
+ } from "./kv-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service46
3
- } from "./file-access-xmvk7qad.js";
2
+ Service55
3
+ } from "./kv-k14ta1mw.js";
4
4
  import {
5
- Service35
6
- } from "./file-access-vbctgszn.js";
5
+ Service21
6
+ } from "./kv-t0ws8mbr.js";
7
7
  import {
8
8
  __export
9
- } from "./file-access-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin42,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin28,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin42 = define({
20
+ var Plugin28 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service46;
28
- const mcp = yield* Service35;
27
+ const config = yield* Service55;
28
+ const mcp = yield* Service21;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin42, register2, exports_mcp2 };
49
+ export { Plugin28, register2, exports_mcp };
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node46
4
- } from "./file-access-kq1t1162.js";
3
+ node41
4
+ } from "./kv-dn2vbr7z.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./file-access-9gfvx8yt.js";
8
+ } from "./kv-ynbq69as.js";
9
9
  import {
10
10
  ID10,
11
- Service70,
12
- node74
13
- } from "./file-access-76rf663v.js";
11
+ Service66,
12
+ node70
13
+ } from "./kv-bqvrq9r3.js";
14
14
  import {
15
- ID15,
15
+ ID16,
16
16
  OAuth3
17
- } from "./file-access-qehrwxjr.js";
17
+ } from "./kv-ammhsa5d.js";
18
18
  import {
19
19
  ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service75,
24
- node79
25
- } from "./file-access-z4zzqkyn.js";
23
+ Service73,
24
+ node77
25
+ } from "./kv-ydpmx7wn.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./file-access-922hggd3.js";
28
+ } from "./kv-922hggd3.js";
29
29
  import {
30
30
  Info32,
31
31
  Ref4,
32
32
  Service78,
33
33
  node82
34
- } from "./file-access-ytgdyx08.js";
34
+ } from "./kv-82jgxh54.js";
35
35
  import {
36
36
  ID13,
37
- Service74,
38
- node78
39
- } from "./file-access-ebw7vtp3.js";
40
- import {
41
37
  Service72,
42
38
  node76
43
- } from "./file-access-8v7kkkbw.js";
39
+ } from "./kv-re5kaxrw.js";
44
40
  import {
45
- Service39,
46
- node42
47
- } from "./file-access-sa8j3x6g.js";
41
+ Service69,
42
+ node73
43
+ } from "./kv-j9e3hj5f.js";
48
44
  import {
49
- Service65,
50
- node69
51
- } from "./file-access-b2rkp7aa.js";
45
+ Service77,
46
+ node81
47
+ } from "./kv-8b9twrdg.js";
52
48
  import {
53
- Service63,
54
- node67
55
- } from "./file-access-e7vjkpcb.js";
49
+ Service70,
50
+ node74
51
+ } from "./kv-3d23mvyt.js";
52
+ import {
53
+ Service44,
54
+ node47
55
+ } from "./kv-427pr1n5.js";
56
56
  import {
57
57
  ID12,
58
- Service73,
59
- node77
60
- } from "./file-access-waqrje5a.js";
58
+ Service71,
59
+ node75
60
+ } from "./kv-g6qcyr5q.js";
61
61
  import {
62
- ID7
63
- } from "./file-access-grw98w6v.js";
62
+ ID6
63
+ } from "./kv-3c2xh2cb.js";
64
64
  import {
65
- Service35,
66
- node38
67
- } from "./file-access-vbctgszn.js";
65
+ Service21,
66
+ node24
67
+ } from "./kv-t0ws8mbr.js";
68
68
  import {
69
- Service69,
70
- node73
71
- } from "./file-access-0xezjjjn.js";
69
+ Service67,
70
+ node71
71
+ } from "./kv-g1sxm558.js";
72
72
  import {
73
- Service66,
74
- node70
75
- } from "./file-access-mrhssej4.js";
73
+ Service63,
74
+ node67
75
+ } from "./kv-hmgs27qq.js";
76
76
  import {
77
- Service36,
78
- node39
79
- } from "./file-access-zd6ydzqz.js";
77
+ Service33,
78
+ node35
79
+ } from "./kv-0181d07v.js";
80
80
  import {
81
- Source4,
81
+ Source3,
82
82
  Service50,
83
- node54
84
- } from "./file-access-bh51kybc.js";
83
+ node53
84
+ } from "./kv-y91nftqb.js";
85
85
  import {
86
- Info8,
87
- Service43,
88
- node47
89
- } from "./file-access-ygk8sne3.js";
86
+ Info19,
87
+ Service62,
88
+ node66
89
+ } from "./kv-5jh529f7.js";
90
90
  import {
91
- Service23,
92
- node26
93
- } from "./file-access-kd6d57r1.js";
91
+ Service15,
92
+ node18
93
+ } from "./kv-09evap6p.js";
94
94
  import {
95
- Service13,
96
- node16
97
- } from "./file-access-7qz0vyfs.js";
95
+ Service36,
96
+ node38
97
+ } from "./kv-zr3rbwkr.js";
98
98
  import {
99
- Service17,
100
- node20
101
- } from "./file-access-s52y66be.js";
99
+ Service41,
100
+ node44
101
+ } from "./kv-5syhs8jk.js";
102
102
  import {
103
- Service16,
104
- node19
105
- } from "./file-access-www2df0c.js";
103
+ Service76,
104
+ node80
105
+ } from "./kv-8ma1xsee.js";
106
106
  import {
107
- ID4,
108
- Service22,
109
- node25
110
- } from "./file-access-9t16ekdb.js";
107
+ ID3,
108
+ Service13,
109
+ node16
110
+ } from "./kv-j8xqf3tm.js";
111
111
  import {
112
- Service20,
113
- node23
114
- } from "./file-access-cjwxcw7h.js";
112
+ Service43,
113
+ node46
114
+ } from "./kv-70qbzkph.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info5,
117
+ Info6,
118
118
  ListEntry3,
119
- Service19,
120
- node22
121
- } from "./file-access-p459fsr1.js";
119
+ Service42,
120
+ node45
121
+ } from "./kv-sm181a3e.js";
122
122
  import {
123
- Service54,
124
- node58
125
- } from "./file-access-tcrhe9m8.js";
123
+ Service52,
124
+ node55
125
+ } from "./kv-werfsjnx.js";
126
126
  import {
127
127
  __export
128
- } from "./file-access-9rqn6x4v.js";
128
+ } from "./kv-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,30 +143,30 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service70;
147
- const aisdk = yield* Service72;
148
- const providers = yield* Service74;
149
- const models = yield* Service73;
150
- const commands = yield* Service39;
146
+ const agents = yield* Service66;
147
+ const aisdk = yield* Service69;
148
+ const providers = yield* Service72;
149
+ const models = yield* Service71;
150
+ const commands = yield* Service77;
151
151
  const bus = yield* Service81;
152
- const integration = yield* Service75;
153
- const kv = yield* Service65;
154
- const mcp = yield* Service35;
152
+ const integration = yield* Service73;
153
+ const kv = yield* Service70;
154
+ const mcp = yield* Service21;
155
155
  const location = yield* Service78;
156
156
  const reference = yield* Service50;
157
- const rpc = yield* Service17;
158
- const skill = yield* Service43;
159
- const tools = yield* Service36;
160
- const vcs = yield* Service16;
161
- const websearch = yield* Service22;
162
- const generate = yield* Service54;
163
- const permission = yield* Service66;
164
- const hooks = yield* Service69;
165
- const sessions = yield* Service23;
166
- const persistentPty = yield* Service13;
167
- const locations = yield* Service63;
168
- const worktrees = yield* Service19;
169
- const worktreeStrategies = yield* Service20;
157
+ const rpc = yield* Service41;
158
+ const skill = yield* Service62;
159
+ const tools = yield* Service33;
160
+ const vcs = yield* Service76;
161
+ const websearch = yield* Service13;
162
+ const generate = yield* Service52;
163
+ const permission = yield* Service63;
164
+ const hooks = yield* Service67;
165
+ const sessions = yield* Service15;
166
+ const persistentPty = yield* Service36;
167
+ const locations = yield* Service44;
168
+ const worktrees = yield* Service42;
169
+ const worktreeStrategies = yield* Service43;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
171
  const locationInfo = () => new Info32({
172
172
  directory: location.directory,
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID6.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info5);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info6);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
185
  const location = yield* Service78;
186
- const agents = yield* Service70;
186
+ const agents = yield* Service66;
187
187
  return {
188
188
  location: new Info32({
189
189
  directory: location.directory,
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  get: (id) => editor.get(ID13.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID16.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
267
  update: (id, update) => editor.update(ID13.make(id), update),
268
268
  remove: (id) => editor.remove(ID13.make(id)),
@@ -364,7 +364,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
364
364
  reload: integration.reload,
365
365
  connection: {
366
366
  active: (id) => integration.connection.active(ID14.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection)
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection)
368
368
  },
369
369
  transform: (callback) => integration.transform((editor) => {
370
370
  callback({
@@ -386,7 +386,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
386
386
  if (ref && !isCurrentLocation(ref))
387
387
  return Effect.gen(function* () {
388
388
  const location = yield* Service78;
389
- const mcp = yield* Service35;
389
+ const mcp = yield* Service21;
390
390
  return {
391
391
  location: new Info32({
392
392
  directory: location.directory,
@@ -424,7 +424,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
424
424
  reload: reference.reload,
425
425
  transform: (callback) => reference.transform((editor) => {
426
426
  callback({
427
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
427
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
428
428
  remove: editor.remove,
429
429
  list: editor.list,
430
430
  get: editor.get
@@ -438,7 +438,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
438
438
  callback({
439
439
  list: () => mutable(editor.list()),
440
440
  get: editor.get,
441
- add: (value) => editor.add(Schema.decodeUnknownSync(Info8)(value)),
441
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info19)(value)),
442
442
  update: editor.update,
443
443
  remove: editor.remove
444
444
  });
@@ -466,19 +466,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
466
466
  providers: () => response(websearch.providers()),
467
467
  query: (input) => response(websearch.query({
468
468
  query: input.query,
469
- providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
469
+ providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
470
470
  })),
471
471
  reload: websearch.reload,
472
472
  transform: (callback) => websearch.transform((editor) => {
473
473
  callback({
474
474
  add: (definition) => editor.add({
475
- id: ID4.make(definition.id),
475
+ id: ID3.make(definition.id),
476
476
  name: definition.name,
477
477
  execute: definition.execute
478
478
  }),
479
479
  default: {
480
480
  get: editor.default.get,
481
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
481
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
482
482
  }
483
483
  });
484
484
  })
@@ -526,31 +526,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
526
526
  return context;
527
527
  });
528
528
  var requirements3 = LayerNode.group([
529
- node46,
530
- node74,
529
+ node41,
530
+ node70,
531
+ node73,
531
532
  node76,
532
- node78,
533
- node77,
534
- node42,
533
+ node75,
534
+ node81,
535
535
  node85,
536
- node79,
537
- node69,
538
- node38,
536
+ node77,
537
+ node74,
538
+ node24,
539
539
  node82,
540
- node54,
541
- node20,
542
- node47,
543
- node39,
544
- node19,
545
- node25,
546
- node22,
547
- node23,
548
- node58,
549
- node70,
550
- node73,
551
- node26,
540
+ node53,
541
+ node44,
542
+ node66,
543
+ node35,
544
+ node80,
552
545
  node16,
553
- node67
546
+ node45,
547
+ node46,
548
+ node55,
549
+ node67,
550
+ node71,
551
+ node18,
552
+ node38,
553
+ node47
554
554
  ]);
555
555
  function storage2(kv, pluginID) {
556
556
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./kv-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: () => Info23,
8
+ Info: () => Info21,
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 { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info23 = SessionProviderContext.Info;
22
+ var Info21 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info21, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./file-access-qaymkmh1.js";
3
+ } from "./kv-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 make10(input) {
8
+ function make4(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 { make10 };
264
+ export { make4 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./file-access-6d6cd74m.js";
4
+ } from "./kv-eh9sc5va.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./file-access-9gfvx8yt.js";
8
+ } from "./kv-ynbq69as.js";
9
9
  import {
10
- Service64,
11
- node68
12
- } from "./file-access-s0bax34n.js";
10
+ Service37,
11
+ node39
12
+ } from "./kv-ca0bryv0.js";
13
13
  import {
14
- Service61,
15
- node65
16
- } from "./file-access-ycjb11n5.js";
14
+ Service32,
15
+ node34
16
+ } from "./kv-6ehbgqat.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-access-ec1grn59.js";
19
+ } from "./kv-ec1grn59.js";
20
20
  import {
21
- make18
22
- } from "./file-access-r8xr0va3.js";
21
+ make16
22
+ } from "./kv-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service59
26
- } from "./file-access-n4r3xatb.js";
25
+ Service29
26
+ } from "./kv-ag4rn41e.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./file-access-ybhbtxjg.js";
29
+ } from "./kv-r0cp9c3a.js";
30
30
  import {
31
- Service68,
32
- node72
33
- } from "./file-access-efzqyggw.js";
31
+ Service65,
32
+ node69
33
+ } from "./kv-d60avr4p.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./file-access-f55hhvzh.js";
36
+ } from "./kv-fq769th7.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./file-access-xahw4cd4.js";
39
+ } from "./kv-er44h2rz.js";
40
40
  import {
41
41
  __export
42
- } from "./file-access-9rqn6x4v.js";
42
+ } from "./kv-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service58,
47
+ Service: () => Service28,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer22,
50
- node: () => node63,
51
- noopLayer: () => noopLayer3,
49
+ layer: () => layer14,
50
+ node: () => node31,
51
+ noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service58 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service28 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer22 = Layer.effect(Service58, Effect.gen(function* () {
69
- const store = yield* Service68;
70
- const instances = yield* Service61;
68
+ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
69
+ const store = yield* Service65;
70
+ const instances = yield* Service32;
71
71
  const bus = yield* Service81;
72
- const jobs = yield* Service64;
72
+ const jobs = yield* Service37;
73
73
  const db = (yield* Service82).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service59.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service29.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make18({
91
+ const coordinator = yield* make16({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service58.of({
112
+ return Service28.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node63 = makeGlobalNode({
132
- service: Service58,
133
- layer: layer22,
134
- deps: [node72, node65, node85, node86, node68]
131
+ var node31 = makeGlobalNode({
132
+ service: Service28,
133
+ layer: layer14,
134
+ deps: [node69, node34, node85, node86, node39]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service58, Service58.of({
136
+ var noopLayer2 = Layer.succeed(Service28, Service28.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service58, Service58.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service58, terminal2, layer22, node63, noopLayer3, exports_execution };
145
+ export { Service28, terminal2, layer14, node31, noopLayer2, exports_execution };