@opencode/core 0.0.0-dev-20546 → 0.0.0-dev-20547

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 +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{tool-qkdpfp31.js → variant-0b97tqax.js} +22 -22
  8. package/dist/chunks/{tool-vf6n3kbk.js → variant-0j3hxpdj.js} +21 -21
  9. package/dist/chunks/{tool-bmhb8y01.js → variant-0kd1pk5z.js} +20 -20
  10. package/dist/chunks/{tool-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{tool-7w0c1qzs.js → variant-0q6sb854.js} +17 -17
  12. package/dist/chunks/{tool-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{tool-k2nxqkde.js → variant-0w7m479q.js} +20 -20
  14. package/dist/chunks/{tool-vk2pwt7v.js → variant-1017xczc.js} +74 -74
  15. package/dist/chunks/{tool-81j4nbmx.js → variant-10z7daz1.js} +17 -17
  16. package/dist/chunks/{tool-v50kha1c.js → variant-16fvvttp.js} +32 -32
  17. package/dist/chunks/{tool-s0596caj.js → variant-171k66e7.js} +9 -9
  18. package/dist/chunks/{tool-x05pqzzn.js → variant-17p56hwr.js} +15 -15
  19. package/dist/chunks/{tool-1acjjqhc.js → variant-1acjjqhc.js} +1 -1
  20. package/dist/chunks/{tool-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{tool-zm4ejasx.js → variant-24yc7kjr.js} +10 -10
  22. package/dist/chunks/{tool-2wh4yf7q.js → variant-273jkg38.js} +16 -16
  23. package/dist/chunks/{tool-xxndcd6m.js → variant-2a49rb13.js} +4 -4
  24. package/dist/chunks/{tool-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{tool-m72e62eq.js → variant-2ej87zxe.js} +18 -18
  26. package/dist/chunks/{tool-q0bsvjra.js → variant-2k5j8z2r.js} +48 -48
  27. package/dist/chunks/{tool-wy4z08by.js → variant-2px9e64m.js} +20 -20
  28. package/dist/chunks/{tool-3gv4e0z7.js → variant-2q56c9sx.js} +15 -15
  29. package/dist/chunks/{tool-x6xy5z7t.js → variant-2r4vtsdk.js} +3 -3
  30. package/dist/chunks/{tool-ppkw63qq.js → variant-31bpezkk.js} +31 -31
  31. package/dist/chunks/{tool-hr7m8caa.js → variant-329v3arb.js} +5 -5
  32. package/dist/chunks/{tool-sxysp3dr.js → variant-34wsaydc.js} +23 -23
  33. package/dist/chunks/{tool-8563jwpe.js → variant-38kq62gf.js} +11 -11
  34. package/dist/chunks/{tool-bsdt1m9e.js → variant-3bfy6kq2.js} +7 -7
  35. package/dist/chunks/{tool-srq8z0b0.js → variant-3cd9n481.js} +9 -9
  36. package/dist/chunks/{tool-h2b79v29.js → variant-3cegwx68.js} +2 -2
  37. package/dist/chunks/{tool-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{tool-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{tool-esqy5ctd.js → variant-3kt1g3ft.js} +11 -11
  40. package/dist/chunks/{tool-n0pp1gq0.js → variant-3rp1pjwd.js} +26 -26
  41. package/dist/chunks/{tool-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{tool-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{tool-jm32gaew.js → variant-3vwksnah.js} +16 -16
  44. package/dist/chunks/{tool-gmmdfr2g.js → variant-3zbwexce.js} +8 -8
  45. package/dist/chunks/{tool-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{tool-y6mhz57t.js → variant-4bm5ja14.js} +4 -4
  47. package/dist/chunks/{tool-0bgxsef1.js → variant-4ef5c9gw.js} +4 -4
  48. package/dist/chunks/{tool-t6yz5g0a.js → variant-4kad219a.js} +14 -14
  49. package/dist/chunks/{tool-ahe9zwyk.js → variant-4ke1djk9.js} +8 -8
  50. package/dist/chunks/{tool-4ts7tf6z.js → variant-4ts7tf6z.js} +2 -2
  51. package/dist/chunks/{tool-4vp46et4.js → variant-4vp46et4.js} +6 -6
  52. package/dist/chunks/{tool-k1gkpfdk.js → variant-4w5f3qm5.js} +8 -8
  53. package/dist/chunks/{tool-cjhbag6k.js → variant-4xvyjeeg.js} +5 -5
  54. package/dist/chunks/{tool-54ma36ye.js → variant-54ma36ye.js} +1 -1
  55. package/dist/chunks/{tool-mfqp6xfm.js → variant-56gdpj1q.js} +6 -6
  56. package/dist/chunks/{tool-z7yfvg9g.js → variant-57adf1ga.js} +9 -9
  57. package/dist/chunks/{tool-g6yfr6ja.js → variant-57myy5jh.js} +5 -5
  58. package/dist/chunks/{tool-pyfenggm.js → variant-5cajbvmm.js} +11 -11
  59. package/dist/chunks/{tool-5daktx2q.js → variant-5daktx2q.js} +1 -1
  60. package/dist/chunks/{tool-thye16kd.js → variant-5ee72v65.js} +1 -1
  61. package/dist/chunks/{tool-kmgma77j.js → variant-5nzyhd2c.js} +5 -5
  62. package/dist/chunks/{tool-drnf6xwf.js → variant-5pyjqqve.js} +2 -2
  63. package/dist/chunks/{tool-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{tool-erezfsje.js → variant-5te825q2.js} +13 -13
  65. package/dist/chunks/{tool-cmwkp3r5.js → variant-5xtgfte3.js} +8 -8
  66. package/dist/chunks/{tool-s4ebpbt7.js → variant-62rggmfc.js} +8 -8
  67. package/dist/chunks/{tool-7t6j2s4e.js → variant-63pppadt.js} +56 -56
  68. package/dist/chunks/{tool-544bd9dc.js → variant-63zcdw3g.js} +12 -12
  69. package/dist/chunks/{tool-669tq793.js → variant-669tq793.js} +1 -1
  70. package/dist/chunks/{tool-kn319mpc.js → variant-66pt35q6.js} +19 -19
  71. package/dist/chunks/{tool-6j114ajh.js → variant-68f7dvn8.js} +1 -1
  72. package/dist/chunks/{tool-d6efkfyd.js → variant-6hk2yw3g.js} +9 -9
  73. package/dist/chunks/{tool-7frfzztj.js → variant-6hvm7smf.js} +32 -32
  74. package/dist/chunks/{tool-jmh888fr.js → variant-6m1hjez2.js} +14 -14
  75. package/dist/chunks/{tool-hfm4ryn4.js → variant-6zexn73m.js} +34 -34
  76. package/dist/chunks/{tool-qxz2f3rt.js → variant-70a3we72.js} +7 -7
  77. package/dist/chunks/{tool-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{tool-1j8zt5zt.js → variant-7crbwqvj.js} +5 -5
  79. package/dist/chunks/{tool-0xq2rqz7.js → variant-7narw7z7.js} +12 -12
  80. package/dist/chunks/{tool-r5x6zcsm.js → variant-7yh4e7ss.js} +3 -3
  81. package/dist/chunks/{tool-r1n3g566.js → variant-7yrja50j.js} +36 -36
  82. package/dist/chunks/{tool-1dvck2a7.js → variant-84h8c373.js} +2 -2
  83. package/dist/chunks/{tool-84txncab.js → variant-84txncab.js} +1 -1
  84. package/dist/chunks/variant-8bb03nvp.js +26 -0
  85. package/dist/chunks/{tool-a7r9jb6t.js → variant-8d65mgz8.js} +21 -21
  86. package/dist/chunks/{tool-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{tool-xxrhtzpv.js → variant-8sgjz55j.js} +19 -19
  88. package/dist/chunks/{tool-8w6rjg68.js → variant-8sy7pwng.js} +9 -9
  89. package/dist/chunks/{tool-abe982cs.js → variant-9cq1cvt4.js} +8 -8
  90. package/dist/chunks/{tool-b674v2dg.js → variant-9hwaqfsw.js} +5 -5
  91. package/dist/chunks/{tool-h67113sj.js → variant-9na55fy8.js} +26 -26
  92. package/dist/chunks/{tool-cvskdek3.js → variant-9nftx6da.js} +10 -10
  93. package/dist/chunks/{tool-cbpj3q1n.js → variant-9qvf2wqn.js} +16 -16
  94. package/dist/chunks/{tool-rhjbct0v.js → variant-9t7a50xb.js} +4 -4
  95. package/dist/chunks/{tool-0fewaqv1.js → variant-9tjcwr7d.js} +11 -11
  96. package/dist/chunks/{tool-k82aj4rb.js → variant-a0kspb6n.js} +3 -3
  97. package/dist/chunks/{tool-ncnm8wen.js → variant-a4ae1mqs.js} +1 -1
  98. package/dist/chunks/{tool-59nf0k73.js → variant-a4vn4t9p.js} +17 -17
  99. package/dist/chunks/{tool-aaet6srn.js → variant-aaet6srn.js} +2 -2
  100. package/dist/chunks/{tool-130d0t9b.js → variant-abzmkdk6.js} +26 -26
  101. package/dist/chunks/{tool-x661k3y3.js → variant-addxnjmp.js} +4 -4
  102. package/dist/chunks/{tool-mhtvex29.js → variant-ah6jgryv.js} +19 -19
  103. package/dist/chunks/{tool-q33hc3az.js → variant-ax711rrr.js} +3 -3
  104. package/dist/chunks/{tool-m0nk61gg.js → variant-b6cd852c.js} +10 -10
  105. package/dist/chunks/{tool-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{tool-gfdr60m0.js → variant-b8cde637.js} +10 -10
  107. package/dist/chunks/{tool-zxfp7yka.js → variant-bfzdf7qk.js} +6 -6
  108. package/dist/chunks/{tool-p7sh5qae.js → variant-bg9a6krr.js} +32 -32
  109. package/dist/chunks/{tool-54fnz2xn.js → variant-bj6x4vyx.js} +30 -30
  110. package/dist/chunks/{tool-1gpb38yh.js → variant-bsprd9wx.js} +3 -3
  111. package/dist/chunks/{tool-4x25yqhm.js → variant-bvv78rhh.js} +47 -47
  112. package/dist/chunks/{tool-9g3b7e36.js → variant-c601pb3s.js} +42 -42
  113. package/dist/chunks/{tool-3yysf8sw.js → variant-c6fchc2t.js} +24 -24
  114. package/dist/chunks/{tool-3aqn2ebh.js → variant-c7tvtqj5.js} +24 -24
  115. package/dist/chunks/{tool-ycmwc3zb.js → variant-c9nb1444.js} +18 -18
  116. package/dist/chunks/{tool-magykp64.js → variant-cavr175a.js} +4 -4
  117. package/dist/chunks/{tool-a9tf878g.js → variant-ccqzwzs8.js} +309 -309
  118. package/dist/chunks/{tool-cfsekr6v.js → variant-cfsekr6v.js} +2 -2
  119. package/dist/chunks/{tool-0kq1vnt2.js → variant-cjk0gcg2.js} +19 -19
  120. package/dist/chunks/{tool-g5gfjdv3.js → variant-cmxdgdk2.js} +20 -20
  121. package/dist/chunks/{tool-ywr1xztk.js → variant-cn3djhz4.js} +31 -31
  122. package/dist/chunks/variant-ctefx7dc.js +18 -0
  123. package/dist/chunks/{tool-djszqvmq.js → variant-cwa6csj7.js} +9 -9
  124. package/dist/chunks/{tool-1aq3p2fw.js → variant-cz4d90js.js} +16 -16
  125. package/dist/chunks/{tool-zsr4wwhv.js → variant-d2czbp48.js} +4 -4
  126. package/dist/chunks/{tool-hnh533wc.js → variant-d4tztbd8.js} +11 -11
  127. package/dist/chunks/{tool-62qykytd.js → variant-da6vb3h8.js} +22 -22
  128. package/dist/chunks/{tool-s9d5z7w1.js → variant-da7r7sc6.js} +10 -10
  129. package/dist/chunks/{tool-xdyxb27p.js → variant-dd50nx1a.js} +25 -25
  130. package/dist/chunks/{tool-7nztcbt0.js → variant-djwwenxh.js} +15 -15
  131. package/dist/chunks/{tool-dpkg50ah.js → variant-dpkg50ah.js} +1 -1
  132. package/dist/chunks/{tool-0gc3e589.js → variant-dwm0ckbr.js} +23 -23
  133. package/dist/chunks/{tool-vjbhnzss.js → variant-dwzs7v48.js} +4 -4
  134. package/dist/chunks/{tool-bzjcg73h.js → variant-dyda9n33.js} +20 -20
  135. package/dist/chunks/{tool-17qe7d48.js → variant-e3enbvgg.js} +36 -36
  136. package/dist/chunks/{tool-3ffx6953.js → variant-e629d5pb.js} +5 -5
  137. package/dist/chunks/{tool-cjp93f4e.js → variant-e6zxkh9r.js} +6 -6
  138. package/dist/chunks/{tool-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{tool-9zkmnpa0.js → variant-eqktwrb6.js} +9 -9
  140. package/dist/chunks/{tool-rztnjz0s.js → variant-erh0mstp.js} +9 -9
  141. package/dist/chunks/{tool-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{tool-71az546q.js → variant-f75zav2x.js} +2 -2
  143. package/dist/chunks/{tool-bsjtdjkq.js → variant-fgywf9gk.js} +3 -3
  144. package/dist/chunks/{tool-axvnfcqc.js → variant-fmphmwrh.js} +11 -11
  145. package/dist/chunks/{tool-drtsxde7.js → variant-fp27np75.js} +5 -5
  146. package/dist/chunks/{tool-btvs9fn2.js → variant-fpecnkgp.js} +9 -9
  147. package/dist/chunks/{tool-g461mq4r.js → variant-fq6511ep.js} +15 -15
  148. package/dist/chunks/{tool-2ptc9fn1.js → variant-fwaxmgjq.js} +10 -10
  149. package/dist/chunks/{tool-ew325twr.js → variant-fwzpqqdh.js} +79 -79
  150. package/dist/chunks/{tool-tv3z232p.js → variant-fzdmn3yz.js} +24 -24
  151. package/dist/chunks/{tool-fb0xn3fq.js → variant-g2p31kt8.js} +17 -17
  152. package/dist/chunks/{tool-0xn4eefx.js → variant-g2sxjzdt.js} +20 -20
  153. package/dist/chunks/{tool-g5w8qwbj.js → variant-g5w8qwbj.js} +1 -1
  154. package/dist/chunks/{tool-0f5zvaaa.js → variant-g8mz2w69.js} +25 -25
  155. package/dist/chunks/{tool-rj37jpce.js → variant-g8za1g2v.js} +24 -24
  156. package/dist/chunks/{tool-bvx99qdh.js → variant-gbepe2ae.js} +7 -7
  157. package/dist/chunks/{tool-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{tool-gc9bwprx.js → variant-gj1nr5v6.js} +15 -15
  159. package/dist/chunks/{tool-8y7m5rtw.js → variant-gn253dkm.js} +24 -24
  160. package/dist/chunks/{tool-pt3xaqgj.js → variant-gt0brdtn.js} +8 -8
  161. package/dist/chunks/{tool-mnhe0asj.js → variant-gt9ryc23.js} +20 -20
  162. package/dist/chunks/{tool-105phwgw.js → variant-gtsn0tnk.js} +22 -22
  163. package/dist/chunks/{tool-t9t0jv1h.js → variant-gw31pd7g.js} +31 -31
  164. package/dist/chunks/{tool-stdkdhj9.js → variant-gz6jqjc4.js} +9 -9
  165. package/dist/chunks/{tool-7aqqc3we.js → variant-gzw67qvm.js} +3 -3
  166. package/dist/chunks/{tool-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{tool-ycvgqbex.js → variant-hb9m1k5a.js} +5 -5
  168. package/dist/chunks/{tool-qxmaq0sm.js → variant-hpfvhvya.js} +8 -8
  169. package/dist/chunks/{tool-zab19jja.js → variant-hrc132h6.js} +9 -9
  170. package/dist/chunks/{tool-vrwhxzcp.js → variant-hvmjbjcm.js} +11 -11
  171. package/dist/chunks/{tool-j3s83qj1.js → variant-hwmjpbet.js} +4 -4
  172. package/dist/chunks/{tool-50hs44sv.js → variant-j106h7ss.js} +9 -9
  173. package/dist/chunks/{tool-zah869sz.js → variant-j3wqrd5b.js} +32 -32
  174. package/dist/chunks/{tool-j56e64zr.js → variant-j56e64zr.js} +1 -1
  175. package/dist/chunks/{tool-34y0nsfd.js → variant-j7mnaey5.js} +7 -7
  176. package/dist/chunks/variant-jg8ysj3v.js +253 -0
  177. package/dist/chunks/{tool-mxp2wkr3.js → variant-jw14gf2y.js} +28 -28
  178. package/dist/chunks/{tool-5b84avn1.js → variant-k1qrnqst.js} +8 -8
  179. package/dist/chunks/{tool-kq9ercpw.js → variant-k2yc6cnv.js} +9 -9
  180. package/dist/chunks/{tool-9e5bzkjp.js → variant-kb9j3d72.js} +3 -3
  181. package/dist/chunks/{tool-6ckhwffg.js → variant-kezwgbfg.js} +18 -18
  182. package/dist/chunks/{tool-e91ztryz.js → variant-kfcd5z23.js} +11 -11
  183. package/dist/chunks/{tool-a2z3evab.js → variant-kjatpnt8.js} +5 -5
  184. package/dist/chunks/{tool-f8yfhtys.js → variant-kz2hcv50.js} +15 -15
  185. package/dist/chunks/{tool-x9rf5mb3.js → variant-m2nkj9wm.js} +22 -22
  186. package/dist/chunks/{tool-95jzr6md.js → variant-m36wpc5k.js} +8 -8
  187. package/dist/chunks/{tool-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{tool-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{tool-m406kgbt.js → variant-ma32y5j1.js} +11 -11
  190. package/dist/chunks/{tool-fvz0khbb.js → variant-mmt6kfyc.js} +3 -3
  191. package/dist/chunks/{tool-a1yrwfg3.js → variant-mn7gjtgm.js} +7 -7
  192. package/dist/chunks/{tool-hbftnxjp.js → variant-n2dqf2np.js} +5 -5
  193. package/dist/chunks/{tool-1sxecr9b.js → variant-n77f0pd2.js} +9 -9
  194. package/dist/chunks/{tool-zwekp0gr.js → variant-n89jxr1p.js} +14 -14
  195. package/dist/chunks/{tool-c93yrxa6.js → variant-n8mgpthn.js} +17 -17
  196. package/dist/chunks/{tool-29vra2hc.js → variant-na810hcp.js} +39 -39
  197. package/dist/chunks/{tool-nbfyeqag.js → variant-nf6a9ee8.js} +12 -12
  198. package/dist/chunks/{tool-6kd4vhpq.js → variant-nhsgg8x8.js} +10 -10
  199. package/dist/chunks/{tool-dygb53dv.js → variant-nnr4x7kr.js} +8 -8
  200. package/dist/chunks/{tool-gnmk0d0j.js → variant-nqfkachn.js} +21 -21
  201. package/dist/chunks/{tool-h19eb42x.js → variant-nqvytbxv.js} +35 -35
  202. package/dist/chunks/{tool-j32e3heq.js → variant-nrm1rbn7.js} +172 -172
  203. package/dist/chunks/{tool-sbtfeqxe.js → variant-nwypw74p.js} +33 -33
  204. package/dist/chunks/{tool-rszfxwsg.js → variant-p558d1j2.js} +5 -5
  205. package/dist/chunks/{tool-mmds1kx3.js → variant-p8qwaxbb.js} +6 -6
  206. package/dist/chunks/{tool-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{tool-pknna89w.js → variant-pknna89w.js} +1 -1
  208. package/dist/chunks/{tool-8n3m7eek.js → variant-pz7ncxfz.js} +15 -15
  209. package/dist/chunks/{tool-q0xm7vwc.js → variant-q0xm7vwc.js} +2 -2
  210. package/dist/chunks/{tool-0b5fx6ax.js → variant-qbkx6vz5.js} +43 -43
  211. package/dist/chunks/{tool-2k8khapm.js → variant-qgn6gcr1.js} +5 -5
  212. package/dist/chunks/{tool-sgwh5nyn.js → variant-qm7jrdpz.js} +8 -8
  213. package/dist/chunks/{tool-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{tool-bw6g5bvn.js → variant-qp7kv1vw.js} +14 -14
  215. package/dist/chunks/{tool-qsdy395h.js → variant-qsdy395h.js} +1 -1
  216. package/dist/chunks/{tool-qxjc9qry.js → variant-qxjc9qry.js} +3 -3
  217. package/dist/chunks/{tool-3maez1s4.js → variant-qyj1vcvk.js} +11 -11
  218. package/dist/chunks/{tool-4p0zdh5f.js → variant-r44petzp.js} +12 -12
  219. package/dist/chunks/{tool-kq17zeba.js → variant-r5zvsjw5.js} +13 -13
  220. package/dist/chunks/{tool-x5cr8ne6.js → variant-r6jseaym.js} +9 -9
  221. package/dist/chunks/{tool-21x7xb6a.js → variant-r9rjt6mk.js} +39 -39
  222. package/dist/chunks/{tool-8fejdm01.js → variant-ras475kb.js} +4 -4
  223. package/dist/chunks/{tool-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{tool-6rm5yzkt.js → variant-rk7s9xkn.js} +4 -4
  225. package/dist/chunks/{tool-s027k0rf.js → variant-rkt3c9tb.js} +33 -33
  226. package/dist/chunks/{tool-xph0hbvx.js → variant-rp74r9yw.js} +5 -5
  227. package/dist/chunks/{tool-aydwcdnc.js → variant-rrewaqtd.js} +4 -4
  228. package/dist/chunks/{tool-msz05mbq.js → variant-rsccvmp7.js} +43 -43
  229. package/dist/chunks/{tool-ty1e6sjz.js → variant-s9eqfnec.js} +18 -18
  230. package/dist/chunks/{tool-v32h9fqj.js → variant-scpn23rs.js} +13 -13
  231. package/dist/chunks/{tool-q0pz77ry.js → variant-se8ef6cp.js} +26 -26
  232. package/dist/chunks/{tool-hqn60twj.js → variant-spq25e1b.js} +3 -3
  233. package/dist/chunks/{tool-7jm88nzg.js → variant-syfj11c6.js} +11 -11
  234. package/dist/chunks/{tool-6hh8tjw2.js → variant-t2fc4mz5.js} +4 -4
  235. package/dist/chunks/{tool-zav06jzw.js → variant-t7n9q6bq.js} +4 -4
  236. package/dist/chunks/{tool-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{tool-hdab2k61.js → variant-tcay1cqt.js} +6 -6
  238. package/dist/chunks/{tool-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{tool-tdstcens.js → variant-tdstcens.js} +1 -1
  240. package/dist/chunks/{tool-vsja1s7z.js → variant-v3k6f8x9.js} +30 -30
  241. package/dist/chunks/{tool-7xersvtf.js → variant-v9nrmqw2.js} +9 -9
  242. package/dist/chunks/{tool-veqvce7d.js → variant-veqvce7d.js} +1 -1
  243. package/dist/chunks/{tool-g78cewbc.js → variant-vwdfph8k.js} +43 -43
  244. package/dist/chunks/{tool-my4zabxr.js → variant-vx3jgdek.js} +3 -3
  245. package/dist/chunks/{tool-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{tool-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{tool-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{tool-gwys9v9v.js → variant-w6whe858.js} +4 -4
  249. package/dist/chunks/{tool-wd87259q.js → variant-wd87259q.js} +1 -1
  250. package/dist/chunks/{tool-9qqkxast.js → variant-wfppjv2a.js} +43 -43
  251. package/dist/chunks/{tool-6g22x1cx.js → variant-wqzwmxsj.js} +24 -24
  252. package/dist/chunks/{tool-w5h262jq.js → variant-wsfq990z.js} +12 -12
  253. package/dist/chunks/{tool-qgj7yrzy.js → variant-wsgjsvvq.js} +21 -21
  254. package/dist/chunks/{tool-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{tool-qkdffjrw.js → variant-x1fpzj52.js} +17 -17
  256. package/dist/chunks/{tool-6kcqjz9a.js → variant-xee9d92m.js} +35 -35
  257. package/dist/chunks/{tool-5qgdse83.js → variant-xf6cn1wp.js} +28 -28
  258. package/dist/chunks/{tool-kearqegd.js → variant-xfy8k7j0.js} +13 -13
  259. package/dist/chunks/{tool-30ddhjt6.js → variant-xgdbyasr.js} +10 -10
  260. package/dist/chunks/{tool-49exe669.js → variant-xjtsx636.js} +5 -5
  261. package/dist/chunks/{tool-dmqcgk4z.js → variant-xkntkrq7.js} +5 -5
  262. package/dist/chunks/{tool-p8fxgfb9.js → variant-xkzytj2y.js} +3 -3
  263. package/dist/chunks/{tool-m7zns4k5.js → variant-xx0efrt7.js} +11 -11
  264. package/dist/chunks/{tool-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{tool-bydnjh3t.js → variant-y56ehv6b.js} +9 -9
  266. package/dist/chunks/{tool-eymvbjgc.js → variant-y7q3v3g9.js} +30 -30
  267. package/dist/chunks/{tool-7wyknn3n.js → variant-y8cjrnwe.js} +43 -43
  268. package/dist/chunks/{tool-ytj3j3zq.js → variant-y98bq21c.js} +32 -32
  269. package/dist/chunks/{tool-zgc7nk2q.js → variant-yb01rvg4.js} +15 -15
  270. package/dist/chunks/{tool-adzfz996.js → variant-ye5j9ngg.js} +3 -3
  271. package/dist/chunks/{tool-m08rtf02.js → variant-ygvxdrq8.js} +13 -13
  272. package/dist/chunks/{tool-as7cf5zz.js → variant-ykt494b9.js} +4 -4
  273. package/dist/chunks/{tool-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{tool-f49rpt0h.js → variant-z002fj63.js} +20 -20
  275. package/dist/chunks/{tool-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{tool-mtrbqqrq.js → variant-z2qbjhyn.js} +5 -5
  277. package/dist/chunks/{tool-83xtr5qh.js → variant-z68f0kh0.js} +33 -33
  278. package/dist/chunks/{tool-31aerb0s.js → variant-zhdzh2r0.js} +18 -18
  279. package/dist/chunks/{tool-kjw8fq0d.js → variant-zkvhbq4f.js} +45 -45
  280. package/dist/chunks/{tool-2mmss7gn.js → variant-zp3e6f5k.js} +18 -18
  281. package/dist/chunks/{tool-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{tool-5v4tq1pr.js → variant-zv2eb485.js} +2 -2
  283. package/dist/chunks/{tool-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{tool-hdkng2sj.js → variant-zyk1yjk8.js} +5 -5
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +121 -121
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +116 -116
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +93 -93
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +100 -100
  423. package/dist/form.js +80 -80
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +10 -10
  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 +91 -91
  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/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +105 -105
  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 +82 -82
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +113 -113
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +74 -74
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +344 -344
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +222 -222
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +88 -88
  555. package/dist/provider.js +99 -99
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +97 -97
  559. package/dist/reference/instructions.js +87 -87
  560. package/dist/reference.js +91 -91
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +95 -95
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +211 -211
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +120 -120
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +125 -125
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +222 -222
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +123 -123
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +164 -164
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +207 -207
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +205 -205
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +130 -130
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +107 -107
  624. package/dist/skill.js +112 -112
  625. package/dist/snapshot.js +89 -89
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +126 -126
  630. package/dist/tool/plugin/edit.js +120 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +124 -124
  633. package/dist/tool/plugin/grep.js +122 -122
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +120 -120
  637. package/dist/tool/plugin/question.js +101 -101
  638. package/dist/tool/plugin/read.js +123 -123
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +113 -113
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +112 -112
  643. package/dist/tool/plugin/websearch.js +112 -112
  644. package/dist/tool/plugin/write.js +122 -122
  645. package/dist/tool/read-filesystem.js +100 -100
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +91 -91
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +74 -74
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +81 -81
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +8 -8
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +98 -98
  681. package/package.json +8 -8
  682. package/dist/chunks/tool-8ty7ydja.js +0 -253
  683. package/dist/chunks/tool-9ahwsrv3.js +0 -26
  684. package/dist/chunks/tool-f81tjggh.js +0 -18
  685. /package/dist/chunks/{tool-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{tool-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{tool-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{tool-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{tool-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{tool-24dcb14g.js → variant-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{tool-2710q6r3.js → variant-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{tool-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{tool-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{tool-34c7v6d4.js → variant-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{tool-359p4xyc.js → variant-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{tool-3asan66x.js → variant-3asan66x.js} +0 -0
  697. /package/dist/chunks/{tool-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{tool-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{tool-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{tool-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{tool-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{tool-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{tool-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{tool-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{tool-53557ph1.js → variant-53557ph1.js} +0 -0
  706. /package/dist/chunks/{tool-550bvhaj.js → variant-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{tool-5qd3pb7m.js → variant-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{tool-6prwharc.js → variant-6prwharc.js} +0 -0
  709. /package/dist/chunks/{tool-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{tool-7m9af43g.js → variant-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{tool-822emrt2.js → variant-822emrt2.js} +0 -0
  712. /package/dist/chunks/{tool-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{tool-8n3pysct.js → variant-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{tool-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{tool-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{tool-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{tool-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{tool-af5trqkr.js → variant-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{tool-afrmfg78.js → variant-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{tool-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{tool-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{tool-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{tool-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{tool-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{tool-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{tool-d9fn303g.js → variant-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{tool-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{tool-dajrwvna.js → variant-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{tool-dap0rakb.js → variant-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{tool-df08tz66.js → variant-df08tz66.js} +0 -0
  731. /package/dist/chunks/{tool-dy18nga0.js → variant-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{tool-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{tool-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{tool-ec1grn59.js → variant-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{tool-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{tool-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{tool-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{tool-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{tool-faypxj3z.js → variant-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{tool-fd410y7t.js → variant-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{tool-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{tool-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{tool-g86h250q.js → variant-g86h250q.js} +0 -0
  744. /package/dist/chunks/{tool-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{tool-gftt206x.js → variant-gftt206x.js} +0 -0
  746. /package/dist/chunks/{tool-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{tool-hk9envan.js → variant-hk9envan.js} +0 -0
  748. /package/dist/chunks/{tool-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{tool-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{tool-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{tool-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{tool-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{tool-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{tool-mp448xyj.js → variant-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{tool-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{tool-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{tool-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{tool-njntx4h6.js → variant-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{tool-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{tool-q74kybfr.js → variant-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{tool-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{tool-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{tool-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{tool-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{tool-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{tool-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{tool-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{tool-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{tool-w803qqfp.js → variant-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{tool-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{tool-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{tool-wtztk69x.js → variant-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{tool-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{tool-x61499pn.js → variant-x61499pn.js} +0 -0
  775. /package/dist/chunks/{tool-y44na4kk.js → variant-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{tool-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{tool-y8f7s663.js → variant-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{tool-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{tool-ym463w8f.js → variant-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{tool-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{tool-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node69
4
- } from "./tool-m7zns4k5.js";
3
+ node55
4
+ } from "./variant-xx0efrt7.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./tool-vjbhnzss.js";
8
+ } from "./variant-dwzs7v48.js";
9
9
  import {
10
- ID18,
11
- Service82,
12
- node86
13
- } from "./tool-qgj7yrzy.js";
10
+ ID12,
11
+ Service73,
12
+ node77
13
+ } from "./variant-wsgjsvvq.js";
14
14
  import {
15
- ID17,
15
+ ID18,
16
16
  OAuth3
17
- } from "./tool-5qgdse83.js";
17
+ } from "./variant-xf6cn1wp.js";
18
18
  import {
19
- ID13,
19
+ ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service76,
24
- node80
25
- } from "./tool-130d0t9b.js";
23
+ Service77,
24
+ node81
25
+ } from "./variant-abzmkdk6.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./tool-z5v4ffb3.js";
28
+ } from "./variant-z5v4ffb3.js";
29
29
  import {
30
- Info25,
30
+ Info26,
31
31
  Ref4,
32
- Service78,
33
- node82
34
- } from "./tool-1aq3p2fw.js";
32
+ Service79,
33
+ node83
34
+ } from "./variant-cz4d90js.js";
35
+ import {
36
+ ID13,
37
+ Service76,
38
+ node80
39
+ } from "./variant-bj6x4vyx.js";
35
40
  import {
36
- ID12,
37
41
  Service75,
38
42
  node79
39
- } from "./tool-54fnz2xn.js";
43
+ } from "./variant-38kq62gf.js";
40
44
  import {
41
- Service74,
42
- node78
43
- } from "./tool-8563jwpe.js";
45
+ Service50,
46
+ node52
47
+ } from "./variant-8sgjz55j.js";
44
48
  import {
45
- Service41,
46
- node44
47
- } from "./tool-xxrhtzpv.js";
49
+ Service64,
50
+ node68
51
+ } from "./variant-xgdbyasr.js";
48
52
  import {
49
- Service71,
50
- node75
51
- } from "./tool-30ddhjt6.js";
53
+ Service66,
54
+ node70
55
+ } from "./variant-r6jseaym.js";
52
56
  import {
53
- Service61,
54
- node64
55
- } from "./tool-x5cr8ne6.js";
57
+ ID8,
58
+ Service68,
59
+ node72
60
+ } from "./variant-v3k6f8x9.js";
56
61
  import {
57
- ID11,
58
- Service73,
59
- node77
60
- } from "./tool-vsja1s7z.js";
62
+ ID6
63
+ } from "./variant-3rp1pjwd.js";
64
+ import {
65
+ Service42,
66
+ node45
67
+ } from "./variant-bvv78rhh.js";
68
+ import {
69
+ Service72,
70
+ node76
71
+ } from "./variant-4w5f3qm5.js";
61
72
  import {
62
- ID5
63
- } from "./tool-n0pp1gq0.js";
73
+ Service69,
74
+ node73
75
+ } from "./variant-qbkx6vz5.js";
64
76
  import {
65
77
  Service43,
66
78
  node46
67
- } from "./tool-4x25yqhm.js";
79
+ } from "./variant-fzdmn3yz.js";
68
80
  import {
69
- Service68,
70
- node72
71
- } from "./tool-k1gkpfdk.js";
72
- import {
73
- Service63,
81
+ Source4,
82
+ Service62,
74
83
  node66
75
- } from "./tool-0b5fx6ax.js";
84
+ } from "./variant-9na55fy8.js";
76
85
  import {
77
- Service66,
78
- node70
79
- } from "./tool-tv3z232p.js";
80
- import {
81
- Source3,
82
- Service45,
83
- node48
84
- } from "./tool-h67113sj.js";
85
- import {
86
- Info16,
87
- Service62,
88
- node65
89
- } from "./tool-rj37jpce.js";
86
+ Info9,
87
+ Service51,
88
+ node53
89
+ } from "./variant-g8za1g2v.js";
90
90
  import {
91
91
  Service30,
92
92
  node33
93
- } from "./tool-vk2pwt7v.js";
93
+ } from "./variant-1017xczc.js";
94
94
  import {
95
- Service28,
96
- node31
97
- } from "./tool-0xn4eefx.js";
95
+ Service24,
96
+ node27
97
+ } from "./variant-g2sxjzdt.js";
98
98
  import {
99
- Service17,
100
- node20
101
- } from "./tool-g461mq4r.js";
99
+ Service25,
100
+ node28
101
+ } from "./variant-fq6511ep.js";
102
102
  import {
103
- Service27,
104
- node30
105
- } from "./tool-gnmk0d0j.js";
103
+ Service23,
104
+ node26
105
+ } from "./variant-nqfkachn.js";
106
106
  import {
107
107
  ID4,
108
108
  Service29,
109
109
  node32
110
- } from "./tool-s4ebpbt7.js";
110
+ } from "./variant-62rggmfc.js";
111
111
  import {
112
- Service24,
113
- node27
114
- } from "./tool-kn319mpc.js";
112
+ Service28,
113
+ node31
114
+ } from "./variant-66pt35q6.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info3,
117
+ Info5,
118
118
  ListEntry3,
119
- Service23,
120
- node26
121
- } from "./tool-17qe7d48.js";
119
+ Service27,
120
+ node30
121
+ } from "./variant-e3enbvgg.js";
122
122
  import {
123
- Service18,
124
- node21
125
- } from "./tool-x9rf5mb3.js";
123
+ Service26,
124
+ node29
125
+ } from "./variant-m2nkj9wm.js";
126
126
  import {
127
127
  __export
128
- } from "./tool-9rqn6x4v.js";
128
+ } from "./variant-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,49 +143,49 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service82;
147
- const aisdk = yield* Service74;
148
- const providers = yield* Service75;
149
- const models = yield* Service73;
150
- const commands = yield* Service41;
146
+ const agents = yield* Service73;
147
+ const aisdk = yield* Service75;
148
+ const providers = yield* Service76;
149
+ const models = yield* Service68;
150
+ const commands = yield* Service50;
151
151
  const bus = yield* Service83;
152
- const integration = yield* Service76;
153
- const kv = yield* Service71;
154
- const mcp = yield* Service43;
155
- const location = yield* Service78;
156
- const reference = yield* Service45;
157
- const rpc = yield* Service17;
158
- const skill = yield* Service62;
159
- const tools = yield* Service66;
160
- const vcs = yield* Service27;
152
+ const integration = yield* Service77;
153
+ const kv = yield* Service64;
154
+ const mcp = yield* Service42;
155
+ const location = yield* Service79;
156
+ const reference = yield* Service62;
157
+ const rpc = yield* Service25;
158
+ const skill = yield* Service51;
159
+ const tools = yield* Service43;
160
+ const vcs = yield* Service23;
161
161
  const websearch = yield* Service29;
162
- const generate = yield* Service18;
163
- const permission = yield* Service63;
164
- const hooks = yield* Service68;
162
+ const generate = yield* Service26;
163
+ const permission = yield* Service69;
164
+ const hooks = yield* Service72;
165
165
  const sessions = yield* Service30;
166
- const persistentPty = yield* Service28;
167
- const locations = yield* Service61;
168
- const worktrees = yield* Service23;
169
- const worktreeStrategies = yield* Service24;
166
+ const persistentPty = yield* Service24;
167
+ const locations = yield* Service66;
168
+ const worktrees = yield* Service27;
169
+ const worktreeStrategies = yield* Service28;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
- const locationInfo = () => new Info25({
171
+ const locationInfo = () => new Info26({
172
172
  directory: location.directory,
173
173
  workspaceID: location.workspaceID,
174
174
  project: location.project
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 : ID5.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(Info3);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info5);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
- const location = yield* Service78;
186
- const agents = yield* Service82;
185
+ const location = yield* Service79;
186
+ const agents = yield* Service73;
187
187
  return {
188
- location: new Info25({
188
+ location: new Info26({
189
189
  directory: location.directory,
190
190
  workspaceID: location.workspaceID,
191
191
  project: location.project
@@ -217,10 +217,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID18.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID18.make(id)),
222
- update: (id, update) => editor.update(ID18.make(id), update),
223
- remove: (id) => editor.remove(ID18.make(id))
220
+ get: (id) => mutable(editor.get(ID12.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID12.make(id)),
222
+ update: (id, update) => editor.update(ID12.make(id), update),
223
+ remove: (id) => editor.remove(ID12.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -254,22 +254,22 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
254
254
  },
255
255
  provider: {
256
256
  list: () => response(providers.available()),
257
- get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
257
+ get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
258
258
  reload: providers.reload,
259
259
  transform: (callback) => providers.transform((editor) => {
260
260
  callback({
261
261
  list: editor.list,
262
- get: (id) => editor.get(ID12.make(id)),
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: ID17.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID18.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
- update: (id, update) => editor.update(ID12.make(id), update),
268
- remove: (id) => editor.remove(ID12.make(id)),
267
+ update: (id, update) => editor.update(ID13.make(id), update),
268
+ remove: (id) => editor.remove(ID13.make(id)),
269
269
  models: {
270
- set: (id, models) => editor.models.set(ID12.make(id), models),
271
- update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
272
- remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
270
+ set: (id, models) => editor.models.set(ID13.make(id), models),
271
+ update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID8.make(modelID), update),
272
+ remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID8.make(modelID))
273
273
  }
274
274
  });
275
275
  })
@@ -279,17 +279,17 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
279
279
  default: () => response(models.default()),
280
280
  reload: models.reload,
281
281
  transform: (callback) => models.transform((editor) => callback({
282
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
283
- get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
284
- update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
285
- remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
282
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
283
+ get: (providerID, modelID) => editor.get(ID13.make(providerID), ID8.make(modelID)),
284
+ update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID8.make(modelID), update),
285
+ remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID8.make(modelID)),
286
286
  default: {
287
287
  get: editor.default.get,
288
- set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
288
+ set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID8.make(modelID))
289
289
  },
290
290
  provider: {
291
291
  list: editor.provider.list,
292
- get: (id) => editor.provider.get(ID12.make(id))
292
+ get: (id) => editor.provider.get(ID13.make(id))
293
293
  }
294
294
  }))
295
295
  },
@@ -312,14 +312,14 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
312
312
  integration: {
313
313
  list: () => response(integration.list()),
314
314
  get: Effect.fn(function* (input) {
315
- const item = yield* integration.get(ID13.make(input.integrationID));
315
+ const item = yield* integration.get(ID14.make(input.integrationID));
316
316
  if (!item)
317
317
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
318
318
  return yield* response(Effect.succeed(item));
319
319
  }),
320
320
  connect: {
321
321
  key: (input) => integration.connection.key({
322
- integrationID: ID13.make(input.integrationID),
322
+ integrationID: ID14.make(input.integrationID),
323
323
  key: input.key,
324
324
  answer: input.answer,
325
325
  label: input.label
@@ -327,60 +327,60 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
327
327
  },
328
328
  oauth: {
329
329
  connect: (input) => response(integration.oauth.connect({
330
- integrationID: ID13.make(input.integrationID),
330
+ integrationID: ID14.make(input.integrationID),
331
331
  methodID: MethodID2.make(input.methodID),
332
332
  answer: input.answer,
333
333
  label: input.label
334
334
  })),
335
335
  status: (input) => response(integration.oauth.status({
336
- integrationID: ID13.make(input.integrationID),
336
+ integrationID: ID14.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })),
339
339
  complete: (input) => integration.oauth.complete({
340
- integrationID: ID13.make(input.integrationID),
340
+ integrationID: ID14.make(input.integrationID),
341
341
  attemptID: AttemptID2.make(input.attemptID),
342
342
  code: input.code
343
343
  }),
344
344
  cancel: (input) => integration.oauth.cancel({
345
- integrationID: ID13.make(input.integrationID),
345
+ integrationID: ID14.make(input.integrationID),
346
346
  attemptID: AttemptID2.make(input.attemptID)
347
347
  })
348
348
  },
349
349
  command: {
350
350
  connect: (input) => response(integration.command.connect({
351
- integrationID: ID13.make(input.integrationID),
351
+ integrationID: ID14.make(input.integrationID),
352
352
  methodID: MethodID2.make(input.methodID),
353
353
  label: input.label
354
354
  })),
355
355
  status: (input) => response(integration.command.status({
356
- integrationID: ID13.make(input.integrationID),
356
+ integrationID: ID14.make(input.integrationID),
357
357
  attemptID: AttemptID2.make(input.attemptID)
358
358
  })),
359
359
  cancel: (input) => integration.command.cancel({
360
- integrationID: ID13.make(input.integrationID),
360
+ integrationID: ID14.make(input.integrationID),
361
361
  attemptID: AttemptID2.make(input.attemptID)
362
362
  })
363
363
  },
364
364
  reload: integration.reload,
365
365
  connection: {
366
- active: (id) => integration.connection.active(ID13.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID17.make(connection.id) } : connection),
366
+ active: (id) => integration.connection.active(ID14.make(id)),
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID18.make(connection.id) } : connection),
368
368
  status: (input) => integration.connection.status({
369
- integrationID: ID13.make(input.integrationID),
370
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID17.make(input.connection.id) } : input.connection,
369
+ integrationID: ID14.make(input.integrationID),
370
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID18.make(input.connection.id) } : input.connection,
371
371
  status: input.status
372
372
  })
373
373
  },
374
374
  transform: (callback) => integration.transform((editor) => {
375
375
  callback({
376
376
  list: () => mutable(editor.list()),
377
- get: (id) => mutable(editor.get(ID13.make(id))),
378
- update: (id, update) => editor.update(ID13.make(id), update),
379
- remove: (id) => editor.remove(ID13.make(id)),
377
+ get: (id) => mutable(editor.get(ID14.make(id))),
378
+ update: (id, update) => editor.update(ID14.make(id), update),
379
+ remove: (id) => editor.remove(ID14.make(id)),
380
380
  method: {
381
- list: (id) => editor.method.list(ID13.make(id)),
381
+ list: (id) => editor.method.list(ID14.make(id)),
382
382
  update: (input) => editor.method.update(methodImplementation(input)),
383
- remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
383
+ remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
384
384
  }
385
385
  });
386
386
  })
@@ -390,10 +390,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
390
390
  const ref = locationRef(input);
391
391
  if (ref && !isCurrentLocation(ref))
392
392
  return Effect.gen(function* () {
393
- const location = yield* Service78;
394
- const mcp = yield* Service43;
393
+ const location = yield* Service79;
394
+ const mcp = yield* Service42;
395
395
  return {
396
- location: new Info25({
396
+ location: new Info26({
397
397
  directory: location.directory,
398
398
  workspaceID: location.workspaceID,
399
399
  project: location.project
@@ -428,7 +428,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
428
428
  reload: reference.reload,
429
429
  transform: (callback) => reference.transform((editor) => {
430
430
  callback({
431
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
431
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
432
432
  remove: editor.remove,
433
433
  list: editor.list,
434
434
  get: editor.get
@@ -442,7 +442,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
442
442
  callback({
443
443
  list: () => mutable(editor.list()),
444
444
  get: editor.get,
445
- add: (value) => editor.add(Schema.decodeUnknownSync(Info16)(value)),
445
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info9)(value)),
446
446
  update: editor.update,
447
447
  remove: editor.remove
448
448
  });
@@ -545,31 +545,31 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
545
545
  return context;
546
546
  });
547
547
  var requirements3 = LayerNode.group([
548
- node69,
549
- node86,
550
- node78,
551
- node79,
548
+ node55,
552
549
  node77,
553
- node44,
554
- node87,
550
+ node79,
555
551
  node80,
556
- node75,
552
+ node72,
553
+ node52,
554
+ node87,
555
+ node81,
556
+ node68,
557
+ node45,
558
+ node83,
559
+ node66,
560
+ node28,
561
+ node53,
557
562
  node46,
558
- node82,
559
- node48,
560
- node20,
561
- node65,
562
- node70,
563
- node30,
564
- node32,
565
563
  node26,
566
- node27,
567
- node21,
568
- node66,
569
- node72,
570
- node33,
564
+ node32,
565
+ node30,
571
566
  node31,
572
- node64
567
+ node29,
568
+ node73,
569
+ node76,
570
+ node33,
571
+ node27,
572
+ node70
573
573
  ]);
574
574
  function storage2(kv, pluginID) {
575
575
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -596,7 +596,7 @@ function methodImplementation(input) {
596
596
  if ("authorize" in input) {
597
597
  const refresh = input.refresh;
598
598
  return {
599
- integrationID: ID13.make(input.integrationID),
599
+ integrationID: ID14.make(input.integrationID),
600
600
  method: { ...input.method, id: MethodID2.make(input.method.id) },
601
601
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
602
602
  if (authorization.mode === "auto") {
@@ -616,18 +616,18 @@ function methodImplementation(input) {
616
616
  }
617
617
  if (input.method.type === "env") {
618
618
  return {
619
- integrationID: ID13.make(input.integrationID),
619
+ integrationID: ID14.make(input.integrationID),
620
620
  method: input.method
621
621
  };
622
622
  }
623
623
  if (input.method.type === "command") {
624
624
  return {
625
- integrationID: ID13.make(input.integrationID),
625
+ integrationID: ID14.make(input.integrationID),
626
626
  method: { ...input.method, id: MethodID2.make(input.method.id) }
627
627
  };
628
628
  }
629
629
  return {
630
- integrationID: ID13.make(input.integrationID),
630
+ integrationID: ID14.make(input.integrationID),
631
631
  method: input.method
632
632
  };
633
633
  }
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./tool-vjbhnzss.js";
4
+ } from "./variant-dwzs7v48.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./tool-k2nxqkde.js";
6
+ Service78,
7
+ node82
8
+ } from "./variant-0w7m479q.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./tool-29vra2hc.js";
10
+ Service80,
11
+ node84
12
+ } from "./variant-na810hcp.js";
13
13
  import {
14
14
  Ref4,
15
- Service78,
16
- node82
17
- } from "./tool-1aq3p2fw.js";
15
+ Service79,
16
+ node83
17
+ } from "./variant-cz4d90js.js";
18
18
  import {
19
19
  canonical3
20
- } from "./tool-x5cr8ne6.js";
20
+ } from "./variant-r6jseaym.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./tool-ec1grn59.js";
23
+ } from "./variant-ec1grn59.js";
24
24
  import {
25
- Service63,
26
- node66
27
- } from "./tool-0b5fx6ax.js";
25
+ Service69,
26
+ node73
27
+ } from "./variant-qbkx6vz5.js";
28
28
  import {
29
- Service17,
30
- node20
31
- } from "./tool-g461mq4r.js";
29
+ Service25,
30
+ node28
31
+ } from "./variant-fq6511ep.js";
32
32
  import {
33
33
  __export
34
- } from "./tool-9rqn6x4v.js";
34
+ } from "./variant-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service15,
41
- node: () => node17
40
+ Service: () => Service17,
41
+ node: () => node19
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service15 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service17 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service15, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
51
51
  const bus = yield* Service83;
52
- const location = yield* Service78;
53
- const permission = yield* Service63;
54
- const forms = yield* Service77;
55
- const rpc = yield* Service17;
56
- const project = yield* Service79;
52
+ const location = yield* Service79;
53
+ const permission = yield* Service69;
54
+ const forms = yield* Service78;
55
+ const rpc = yield* Service25;
56
+ const project = yield* Service80;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
75
75
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service15.of({
78
+ return Service17.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node17 = makeLocationNode({
84
- service: Service15,
83
+ var node19 = makeLocationNode({
84
+ service: Service17,
85
85
  layer,
86
- deps: [node87, node82, node66, node83, node81, node20]
86
+ deps: [node87, node83, node73, node84, node82, node28]
87
87
  });
88
88
 
89
- export { Service15, node17, exports_location_lifecycle };
89
+ export { Service17, node19, exports_location_lifecycle };