@opencode/core 0.0.0-dev-20965 → 0.0.0-dev-20967

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{variant-qkdyhz0j.js → agent-003zf483.js} +22 -22
  8. package/dist/chunks/{variant-tz4n1mmd.js → agent-06x8he3q.js} +4 -4
  9. package/dist/chunks/{variant-t5hq3fbq.js → agent-0tx2rcqt.js} +5 -5
  10. package/dist/chunks/{variant-0emb60td.js → agent-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{variant-nd37ta7v.js → agent-0w62qmxp.js} +8 -8
  12. package/dist/chunks/{variant-1dgd40yc.js → agent-102ecrqc.js} +16 -16
  13. package/dist/chunks/{variant-9x7n08av.js → agent-10j0zpwz.js} +23 -23
  14. package/dist/chunks/{variant-215yrs1m.js → agent-15c4ebpx.js} +13 -13
  15. package/dist/chunks/{variant-safknyzz.js → agent-180ns14n.js} +40 -40
  16. package/dist/chunks/{variant-bg7accr8.js → agent-1h53t7jj.js} +4 -4
  17. package/dist/chunks/{variant-v9tezfc4.js → agent-1pxz8ven.js} +5 -5
  18. package/dist/chunks/{variant-sd60ydk4.js → agent-1s48y8yj.js} +37 -37
  19. package/dist/chunks/{variant-45emh9sw.js → agent-1wsef6eh.js} +14 -14
  20. package/dist/chunks/{variant-1x11rq2a.js → agent-1x11rq2a.js} +1 -1
  21. package/dist/chunks/{variant-8mta8yrw.js → agent-1yrss14f.js} +9 -9
  22. package/dist/chunks/{variant-krcrny4k.js → agent-1z2272r9.js} +10 -10
  23. package/dist/chunks/{variant-nq17181k.js → agent-214q8xwt.js} +3 -3
  24. package/dist/chunks/{variant-c27esgm9.js → agent-22sd1qqc.js} +8 -8
  25. package/dist/chunks/{variant-8nx44vyg.js → agent-23w5gghw.js} +18 -18
  26. package/dist/chunks/{variant-xw25t1zq.js → agent-2gvqmv1x.js} +41 -41
  27. package/dist/chunks/{variant-2k8khapm.js → agent-2k8khapm.js} +1 -1
  28. package/dist/chunks/{variant-7bcehx3h.js → agent-2m5mp251.js} +9 -9
  29. package/dist/chunks/{variant-sw0mphdh.js → agent-2mnwjzbq.js} +40 -40
  30. package/dist/chunks/{variant-d5f4dshd.js → agent-2ppj7n2d.js} +27 -27
  31. package/dist/chunks/{variant-2sejkfem.js → agent-2sejkfem.js} +2 -2
  32. package/dist/chunks/{variant-e74fnb4d.js → agent-2x91x8py.js} +20 -20
  33. package/dist/chunks/{variant-j5ck4p1e.js → agent-2xnadmta.js} +35 -35
  34. package/dist/chunks/{variant-spzkthk3.js → agent-38885ps5.js} +14 -14
  35. package/dist/chunks/{variant-184e73e7.js → agent-3bsp9417.js} +5 -5
  36. package/dist/chunks/agent-3e0v5z2a.js +253 -0
  37. package/dist/chunks/{variant-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{variant-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{variant-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{variant-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{variant-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{variant-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{variant-4f1b800q.js → agent-47jkzegy.js} +5 -5
  44. package/dist/chunks/{variant-fww2ha2b.js → agent-4fnxzqcp.js} +9 -9
  45. package/dist/chunks/{variant-675h9k08.js → agent-4jnevpyt.js} +36 -36
  46. package/dist/chunks/{variant-wfmeqxnt.js → agent-4ts0d71h.js} +13 -13
  47. package/dist/chunks/{variant-eqxt343f.js → agent-4vfrwfxm.js} +26 -26
  48. package/dist/chunks/{variant-b2p40mva.js → agent-4yzy4pya.js} +43 -43
  49. package/dist/chunks/{variant-54ma36ye.js → agent-54ma36ye.js} +1 -1
  50. package/dist/chunks/{variant-q1tr0dsa.js → agent-58k5txrt.js} +8 -8
  51. package/dist/chunks/{variant-byv8jegc.js → agent-5den7fts.js} +15 -15
  52. package/dist/chunks/{variant-wvrxhfbz.js → agent-5fc1p0g9.js} +17 -17
  53. package/dist/chunks/{variant-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{variant-th3vkxge.js → agent-5nwmaxse.js} +6 -6
  55. package/dist/chunks/{variant-fvgwmm0r.js → agent-5p5k132e.js} +8 -8
  56. package/dist/chunks/{variant-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
  57. package/dist/chunks/{variant-czfptnv9.js → agent-5yzzbxa7.js} +8 -8
  58. package/dist/chunks/{variant-6cb5bya6.js → agent-6458qwm7.js} +46 -46
  59. package/dist/chunks/{variant-5k19yq9w.js → agent-68yndbk8.js} +19 -19
  60. package/dist/chunks/{variant-c172tty2.js → agent-6dkb2293.js} +3 -3
  61. package/dist/chunks/{variant-7qdqhac4.js → agent-6hmrvhhd.js} +11 -11
  62. package/dist/chunks/{variant-690t7gnv.js → agent-6ps2rfac.js} +4 -4
  63. package/dist/chunks/{variant-bd2rbarm.js → agent-6q2cgkqa.js} +66 -66
  64. package/dist/chunks/{variant-vcc19h8c.js → agent-6w81mfcv.js} +12 -12
  65. package/dist/chunks/{variant-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{variant-dm4mj2b8.js → agent-7312p45z.js} +21 -21
  67. package/dist/chunks/{variant-v53tbymh.js → agent-762tx1s9.js} +16 -16
  68. package/dist/chunks/{variant-775gj3j1.js → agent-775gj3j1.js} +2 -2
  69. package/dist/chunks/{variant-vadaeqkc.js → agent-796e0hcr.js} +22 -22
  70. package/dist/chunks/{variant-7ycwyhsn.js → agent-79rtasgx.js} +9 -9
  71. package/dist/chunks/{variant-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{variant-ka4dahqf.js → agent-7p6vy070.js} +32 -32
  73. package/dist/chunks/{variant-k0qnz40c.js → agent-7yns2gfh.js} +5 -5
  74. package/dist/chunks/{variant-m4cdjvks.js → agent-7zgrsrws.js} +29 -29
  75. package/dist/chunks/{variant-wpdrjqr0.js → agent-80nxcd2h.js} +30 -30
  76. package/dist/chunks/{variant-84txncab.js → agent-84txncab.js} +1 -1
  77. package/dist/chunks/{variant-mnx1xs56.js → agent-85zx94yt.js} +18 -18
  78. package/dist/chunks/{variant-j864549w.js → agent-8dpt1mes.js} +7 -7
  79. package/dist/chunks/{variant-n9093sh7.js → agent-8j1pwav1.js} +33 -33
  80. package/dist/chunks/{variant-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{variant-rc73xy04.js → agent-8pp8jf47.js} +2 -2
  82. package/dist/chunks/{variant-zy43x3f1.js → agent-8wbxkt1z.js} +4 -4
  83. package/dist/chunks/{variant-nd2xbyf5.js → agent-8x632nv7.js} +4 -4
  84. package/dist/chunks/{variant-ttffcv7z.js → agent-8zsb3mb5.js} +11 -11
  85. package/dist/chunks/{variant-j09zfasm.js → agent-91qna3x0.js} +3 -3
  86. package/dist/chunks/{variant-6h8epbhc.js → agent-92bt4rsk.js} +5 -5
  87. package/dist/chunks/{variant-wxvzvkhz.js → agent-930se4a2.js} +5 -5
  88. package/dist/chunks/{variant-gr2j2chh.js → agent-98xjsagk.js} +9 -9
  89. package/dist/chunks/{variant-dhpfcrwc.js → agent-99m0tgr4.js} +322 -322
  90. package/dist/chunks/{variant-1j8hy33p.js → agent-9rer32p9.js} +8 -8
  91. package/dist/chunks/{variant-a8w6dpt8.js → agent-9sypp5q9.js} +5 -5
  92. package/dist/chunks/{variant-1b1vcbyp.js → agent-9tr386xz.js} +45 -45
  93. package/dist/chunks/{variant-0z9vq3n9.js → agent-9xk8zs32.js} +7 -7
  94. package/dist/chunks/agent-a1xb6f6n.js +26 -0
  95. package/dist/chunks/{variant-n9kvdjtp.js → agent-a57r0kz2.js} +15 -15
  96. package/dist/chunks/{variant-xdx7acry.js → agent-a7bcxdzj.js} +9 -9
  97. package/dist/chunks/{variant-aed4v31e.js → agent-agsg9aqy.js} +16 -16
  98. package/dist/chunks/{variant-p8899s55.js → agent-ajgp1yf6.js} +4 -4
  99. package/dist/chunks/{variant-4tvnehfx.js → agent-ap35jyd0.js} +13 -13
  100. package/dist/chunks/{variant-b46qy5jj.js → agent-b2awc4se.js} +15 -15
  101. package/dist/chunks/{variant-98pn6x6y.js → agent-b2kwkbq4.js} +61 -61
  102. package/dist/chunks/{variant-b3f8fkhc.js → agent-b3f8fkhc.js} +2 -2
  103. package/dist/chunks/{variant-ne3cddwz.js → agent-b46260rf.js} +26 -26
  104. package/dist/chunks/{variant-h3bs1kek.js → agent-b95g883h.js} +8 -8
  105. package/dist/chunks/{variant-sqead0rj.js → agent-bckd7sn2.js} +27 -27
  106. package/dist/chunks/{variant-fqhbsnr5.js → agent-be7qvw84.js} +8 -8
  107. package/dist/chunks/{variant-a694798e.js → agent-bgs9y14h.js} +5 -5
  108. package/dist/chunks/{variant-gtve8185.js → agent-bhdhebx5.js} +20 -20
  109. package/dist/chunks/{variant-1ffvrpkg.js → agent-bjx1sjef.js} +6 -6
  110. package/dist/chunks/{variant-m935wjbx.js → agent-bkb67qdq.js} +12 -12
  111. package/dist/chunks/{variant-f1y6kd9g.js → agent-bv2h4xww.js} +9 -9
  112. package/dist/chunks/{variant-c41wscbt.js → agent-c41wscbt.js} +2 -2
  113. package/dist/chunks/{variant-c8ax2afj.js → agent-c8ax2afj.js} +2 -2
  114. package/dist/chunks/{variant-0x6tm39e.js → agent-d1g60r3j.js} +37 -37
  115. package/dist/chunks/{variant-pdbfs7q8.js → agent-d4eaz24s.js} +13 -13
  116. package/dist/chunks/{variant-hshhh1g0.js → agent-d4fz9c6m.js} +8 -8
  117. package/dist/chunks/{variant-30f50eyj.js → agent-d4z6p2e9.js} +35 -35
  118. package/dist/chunks/{variant-4qbhtwgs.js → agent-d6b4z57v.js} +186 -186
  119. package/dist/chunks/{variant-z0aj456m.js → agent-d858xzj7.js} +4 -4
  120. package/dist/chunks/{variant-w5wmpqxq.js → agent-dmxxwj5k.js} +7 -7
  121. package/dist/chunks/{variant-dpkg50ah.js → agent-dpkg50ah.js} +1 -1
  122. package/dist/chunks/{variant-dqxsqydv.js → agent-dqxsqydv.js} +1 -1
  123. package/dist/chunks/{variant-xfkkasph.js → agent-drwq78ky.js} +4 -4
  124. package/dist/chunks/{variant-r2pt7hb6.js → agent-dx0v7867.js} +20 -20
  125. package/dist/chunks/{variant-j1m8k7tk.js → agent-dz30mbn2.js} +4 -4
  126. package/dist/chunks/{variant-b2yx5ehf.js → agent-e26ynm9z.js} +9 -9
  127. package/dist/chunks/{variant-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
  128. package/dist/chunks/{variant-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{variant-dp9b5y2c.js → agent-ejzsq301.js} +30 -30
  130. package/dist/chunks/{variant-31ccf081.js → agent-en47egvd.js} +15 -15
  131. package/dist/chunks/{variant-es1vcfrp.js → agent-es1vcfrp.js} +3 -3
  132. package/dist/chunks/{variant-m1xvcqhf.js → agent-et8f4tj8.js} +50 -50
  133. package/dist/chunks/{variant-nkxhsnc1.js → agent-ey2qp6v7.js} +5 -5
  134. package/dist/chunks/{variant-jk6kbnxq.js → agent-f32g4658.js} +9 -9
  135. package/dist/chunks/{variant-22dae4yx.js → agent-fedffhe2.js} +11 -11
  136. package/dist/chunks/{variant-vhsnpknp.js → agent-fekzr37r.js} +46 -46
  137. package/dist/chunks/{variant-awqjysbz.js → agent-fey4ey3t.js} +22 -22
  138. package/dist/chunks/{variant-1sne15z1.js → agent-fg3zfvg2.js} +16 -16
  139. package/dist/chunks/{variant-wtc59aw9.js → agent-fgmp5hy9.js} +10 -10
  140. package/dist/chunks/{variant-nazaqr6z.js → agent-fkdm2qkv.js} +11 -11
  141. package/dist/chunks/{variant-zq6n8p55.js → agent-fqp62crg.js} +10 -10
  142. package/dist/chunks/{variant-p0km4v4v.js → agent-fs1nt83f.js} +9 -9
  143. package/dist/chunks/{variant-xvfcqebw.js → agent-ftqg6eaw.js} +13 -13
  144. package/dist/chunks/{variant-k9r9jvvd.js → agent-fx8q68yx.js} +18 -18
  145. package/dist/chunks/{variant-6xw72zbe.js → agent-g0g0hspt.js} +23 -23
  146. package/dist/chunks/{variant-mwqr473v.js → agent-g57505q5.js} +11 -11
  147. package/dist/chunks/{variant-7f5dsppb.js → agent-gaxmf6kv.js} +30 -30
  148. package/dist/chunks/{variant-zztrcv6s.js → agent-gbc8mqyx.js} +6 -6
  149. package/dist/chunks/{variant-9vq825kb.js → agent-gbsmeqc4.js} +17 -17
  150. package/dist/chunks/{variant-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{variant-318ps4mw.js → agent-ggd3cdse.js} +27 -27
  152. package/dist/chunks/{variant-nssgk41k.js → agent-gh8hfe7d.js} +18 -18
  153. package/dist/chunks/{variant-1shzte8w.js → agent-gn31e51v.js} +11 -11
  154. package/dist/chunks/{variant-0e6afmah.js → agent-gyt3gf5g.js} +29 -29
  155. package/dist/chunks/{variant-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{variant-31xfzrxg.js → agent-h7s7r6s9.js} +5 -5
  157. package/dist/chunks/{variant-5c7zhz82.js → agent-h9d1fc2y.js} +6 -6
  158. package/dist/chunks/{variant-jxg7hd8r.js → agent-hb3xq6qf.js} +9 -9
  159. package/dist/chunks/{variant-8b0kp1c1.js → agent-hcv80w8f.js} +11 -11
  160. package/dist/chunks/{variant-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
  161. package/dist/chunks/{variant-fxjmfkq7.js → agent-hjd09z3h.js} +90 -90
  162. package/dist/chunks/{variant-95e562ab.js → agent-hjsbj7af.js} +19 -19
  163. package/dist/chunks/{variant-r4k54wer.js → agent-hpf5e1pv.js} +18 -18
  164. package/dist/chunks/{variant-ny8edt06.js → agent-hq3c8me3.js} +4 -4
  165. package/dist/chunks/{variant-94cmvxd3.js → agent-hqhp0zxs.js} +4 -4
  166. package/dist/chunks/{variant-4r580w2s.js → agent-hwqt3mf0.js} +19 -19
  167. package/dist/chunks/{variant-j2x94qfn.js → agent-j5s6pzyj.js} +11 -11
  168. package/dist/chunks/{variant-vav9rtzz.js → agent-j7tg2zvf.js} +11 -11
  169. package/dist/chunks/{variant-yskhjpp6.js → agent-j9ph6mae.js} +28 -28
  170. package/dist/chunks/{variant-drc9xvqh.js → agent-jdvv509r.js} +4 -4
  171. package/dist/chunks/{variant-wa343y42.js → agent-je2tex47.js} +24 -24
  172. package/dist/chunks/{variant-mk8df6ba.js → agent-je8b1457.js} +13 -13
  173. package/dist/chunks/{variant-6g107h22.js → agent-jk540des.js} +2 -2
  174. package/dist/chunks/{variant-y79ba3ty.js → agent-jt5tbdk1.js} +1 -1
  175. package/dist/chunks/{variant-0aqkm3bj.js → agent-jt820sv4.js} +14 -14
  176. package/dist/chunks/{variant-2k05yhhs.js → agent-k00hq61p.js} +4 -4
  177. package/dist/chunks/{variant-5vsvabpe.js → agent-k3bqjcjm.js} +14 -14
  178. package/dist/chunks/{variant-eyw1jkg7.js → agent-k9vctcmz.js} +11 -11
  179. package/dist/chunks/{variant-zhb76p7m.js → agent-kdm1wyhj.js} +18 -18
  180. package/dist/chunks/{variant-9bbnj2zh.js → agent-kecqjjhm.js} +5 -5
  181. package/dist/chunks/{variant-1jg8srde.js → agent-kshzeqx8.js} +15 -15
  182. package/dist/chunks/{variant-k185drda.js → agent-kx705y8y.js} +9 -9
  183. package/dist/chunks/{variant-1g2tzbqy.js → agent-ky65x1wg.js} +31 -31
  184. package/dist/chunks/{variant-ekg16795.js → agent-m1ej6awc.js} +20 -20
  185. package/dist/chunks/{variant-08rawchj.js → agent-m5jcjszt.js} +2 -2
  186. package/dist/chunks/{variant-chymrsmw.js → agent-m7n954ym.js} +30 -30
  187. package/dist/chunks/{variant-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{variant-d1d75ewh.js → agent-maq6rst1.js} +25 -25
  189. package/dist/chunks/{variant-maspj1v3.js → agent-maspj1v3.js} +1 -1
  190. package/dist/chunks/{variant-k2wbs1f6.js → agent-mmsn9nmm.js} +25 -25
  191. package/dist/chunks/{variant-v99btfp6.js → agent-mqrg35xz.js} +52 -52
  192. package/dist/chunks/{variant-eyect2y9.js → agent-n0r990cb.js} +23 -23
  193. package/dist/chunks/{variant-yxxy4j45.js → agent-n47fwd3f.js} +14 -14
  194. package/dist/chunks/{variant-16ce7mxz.js → agent-n7yaz7xh.js} +15 -15
  195. package/dist/chunks/{variant-n4bazptv.js → agent-n8y364wa.js} +17 -17
  196. package/dist/chunks/{variant-hhfn0ecg.js → agent-n98t1xmn.js} +9 -9
  197. package/dist/chunks/{variant-hqd5ftkx.js → agent-n9vqf08a.js} +11 -11
  198. package/dist/chunks/{variant-w2ftr1wp.js → agent-nas6s75n.js} +32 -32
  199. package/dist/chunks/{variant-6b4mrnbq.js → agent-ndzpxf5d.js} +32 -32
  200. package/dist/chunks/{variant-qptva5a0.js → agent-ng3918dk.js} +8 -8
  201. package/dist/chunks/{variant-jqax3vrk.js → agent-nqc6nt79.js} +32 -32
  202. package/dist/chunks/{variant-tntqxh8d.js → agent-nrync45e.js} +24 -24
  203. package/dist/chunks/{variant-4ptrhz46.js → agent-p3gs223r.js} +12 -12
  204. package/dist/chunks/{variant-vgr0ew10.js → agent-p5sfywmf.js} +22 -22
  205. package/dist/chunks/{variant-xgcr0maa.js → agent-p9ygtxzj.js} +35 -35
  206. package/dist/chunks/{variant-bffezq42.js → agent-pfvt33xv.js} +19 -19
  207. package/dist/chunks/{variant-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{variant-pknna89w.js → agent-pknna89w.js} +1 -1
  209. package/dist/chunks/{variant-yqc6bamn.js → agent-pnzf6mjf.js} +1 -1
  210. package/dist/chunks/{variant-5xdxnttq.js → agent-pv49kqqp.js} +92 -92
  211. package/dist/chunks/{variant-pde076hx.js → agent-pvshdx0y.js} +3 -3
  212. package/dist/chunks/{variant-rb93vns4.js → agent-pvv3kt52.js} +11 -11
  213. package/dist/chunks/{variant-0j77ygfz.js → agent-q0xm7vwc.js} +6 -6
  214. package/dist/chunks/{variant-2kzdwg0n.js → agent-q3ysppy7.js} +20 -20
  215. package/dist/chunks/{variant-8t6tsgff.js → agent-qbcjqvkm.js} +58 -58
  216. package/dist/chunks/{variant-7tqnqen3.js → agent-qm6xtvat.js} +22 -22
  217. package/dist/chunks/{variant-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
  218. package/dist/chunks/{variant-qsdy395h.js → agent-qsdy395h.js} +1 -1
  219. package/dist/chunks/{variant-3esz0pk7.js → agent-qx3j1ntd.js} +31 -31
  220. package/dist/chunks/{variant-r2z489rp.js → agent-r2z489rp.js} +1 -1
  221. package/dist/chunks/{variant-bcwmtc9z.js → agent-r70na3yp.js} +9 -9
  222. package/dist/chunks/{variant-r9w3djhf.js → agent-r9w3djhf.js} +2 -2
  223. package/dist/chunks/{variant-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{variant-py3kkmfq.js → agent-rkprpv83.js} +2 -2
  225. package/dist/chunks/{variant-acp27cb6.js → agent-rshzb64a.js} +4 -4
  226. package/dist/chunks/{variant-em36464r.js → agent-s0xj90rb.js} +23 -23
  227. package/dist/chunks/{variant-kr7grvbm.js → agent-s1y6cy45.js} +35 -35
  228. package/dist/chunks/{variant-cdbvc206.js → agent-s7m34cvg.js} +11 -11
  229. package/dist/chunks/{variant-79c12bt7.js → agent-s9xxcfn6.js} +15 -15
  230. package/dist/chunks/{variant-f6mz2wx2.js → agent-sdnsagax.js} +26 -26
  231. package/dist/chunks/{variant-1zqh2xam.js → agent-swhagcwe.js} +13 -13
  232. package/dist/chunks/{variant-t1exkcnj.js → agent-sxge8dhz.js} +24 -24
  233. package/dist/chunks/{variant-1g7epwpd.js → agent-sxz6gkc3.js} +4 -4
  234. package/dist/chunks/{variant-jg41skm4.js → agent-sxz7zm75.js} +30 -30
  235. package/dist/chunks/{variant-jhf3jymm.js → agent-sxzvkvgj.js} +6 -6
  236. package/dist/chunks/{variant-syv4x271.js → agent-syv4x271.js} +1 -1
  237. package/dist/chunks/{variant-eaj1djv9.js → agent-t550f9t1.js} +8 -8
  238. package/dist/chunks/{variant-g0xp0fjm.js → agent-t9bew3r6.js} +13 -13
  239. package/dist/chunks/{variant-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{variant-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{variant-tdstcens.js → agent-tdstcens.js} +1 -1
  242. package/dist/chunks/{variant-mq92c6sz.js → agent-tg7bkhef.js} +9 -9
  243. package/dist/chunks/{variant-gv3e09km.js → agent-th3ytxdg.js} +22 -22
  244. package/dist/chunks/{variant-tkb22qbm.js → agent-tkb22qbm.js} +2 -2
  245. package/dist/chunks/{variant-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
  246. package/dist/chunks/{variant-fc42s903.js → agent-tnc73fh6.js} +11 -11
  247. package/dist/chunks/{variant-ttp06fyh.js → agent-tv87x6sc.js} +3 -3
  248. package/dist/chunks/{variant-kqv3x6rj.js → agent-txm3e8qz.js} +9 -9
  249. package/dist/chunks/{variant-t7aaar7j.js → agent-txnezeta.js} +21 -21
  250. package/dist/chunks/{variant-tyytaxap.js → agent-tyytaxap.js} +1 -1
  251. package/dist/chunks/{variant-zfme70y8.js → agent-v0xmac3n.js} +2 -2
  252. package/dist/chunks/{variant-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
  253. package/dist/chunks/{variant-veqvce7d.js → agent-veqvce7d.js} +1 -1
  254. package/dist/chunks/{variant-j3v4v25z.js → agent-vgsgsp1h.js} +49 -49
  255. package/dist/chunks/{variant-nz324evw.js → agent-vjsjzb07.js} +48 -48
  256. package/dist/chunks/{variant-7jbtvk67.js → agent-vqpsfxv1.js} +31 -31
  257. package/dist/chunks/{variant-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{variant-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{variant-4ghc2kqd.js → agent-w6jg7vpf.js} +5 -5
  260. package/dist/chunks/{variant-x4jmhkba.js → agent-w8htg8v3.js} +15 -15
  261. package/dist/chunks/{variant-wd87259q.js → agent-wd87259q.js} +1 -1
  262. package/dist/chunks/{variant-49a8ke3b.js → agent-wtmn7q1g.js} +4 -4
  263. package/dist/chunks/{variant-rmzxz103.js → agent-wwk1k3yf.js} +3 -3
  264. package/dist/chunks/{variant-qh6vqrx5.js → agent-wynzsb0k.js} +28 -28
  265. package/dist/chunks/{variant-08axjxgx.js → agent-x4z7rv0g.js} +15 -15
  266. package/dist/chunks/{variant-2s7cj1a3.js → agent-x5h44zm2.js} +16 -16
  267. package/dist/chunks/{variant-x661k3y3.js → agent-x661k3y3.js} +1 -1
  268. package/dist/chunks/{variant-y23whk6n.js → agent-x9af4wsh.js} +17 -17
  269. package/dist/chunks/{variant-1wqbhyhn.js → agent-xqhm0etf.js} +20 -20
  270. package/dist/chunks/{variant-0821qp31.js → agent-xy5artkv.js} +50 -50
  271. package/dist/chunks/{variant-jnfn5ex1.js → agent-xztn33cf.js} +1 -1
  272. package/dist/chunks/{variant-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{variant-rfb6rgvz.js → agent-ygmj74e5.js} +15 -15
  274. package/dist/chunks/{variant-yp2x3t23.js → agent-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{variant-h9wp8z5w.js → agent-yrcj3v3g.js} +4 -4
  276. package/dist/chunks/{variant-bn0vkb08.js → agent-yy6p74h0.js} +15 -15
  277. package/dist/chunks/{variant-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{variant-8ryt04pb.js → agent-z3jjyfsa.js} +13 -13
  279. package/dist/chunks/{variant-f9fjk1ah.js → agent-z841tj5z.js} +11 -11
  280. package/dist/chunks/{variant-s8y96gq9.js → agent-zk0pt4kf.js} +14 -14
  281. package/dist/chunks/{variant-3jys3s1h.js → agent-zk163zkt.js} +9 -9
  282. package/dist/chunks/{variant-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{variant-5q5yxa5j.js → agent-zvdqdbwe.js} +11 -11
  284. package/dist/chunks/{variant-zxq2ej10.js → agent-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 +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +77 -77
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +115 -115
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  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 +85 -85
  319. package/dist/database/database.js +72 -72
  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/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +81 -81
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +2 -2
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +106 -106
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +105 -105
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +76 -76
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +89 -89
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +100 -100
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +90 -90
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +1 -1
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +348 -348
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +218 -218
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +90 -90
  558. package/dist/provider.js +99 -99
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +87 -87
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +224 -224
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +3 -3
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +77 -77
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +153 -153
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +216 -216
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +211 -211
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +110 -110
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +103 -103
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +114 -114
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +122 -122
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +12 -12
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +95 -95
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +84 -84
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +81 -81
  676. package/dist/workspace/driver.js +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/variant-0wrjkmeb.js +0 -26
  686. package/dist/chunks/variant-10rgf74w.js +0 -253
  687. /package/dist/chunks/{variant-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{variant-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{variant-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{variant-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{variant-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{variant-24dcb14g.js → agent-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{variant-2710q6r3.js → agent-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{variant-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{variant-2bv980vf.js → agent-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{variant-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{variant-359p4xyc.js → agent-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{variant-3asan66x.js → agent-3asan66x.js} +0 -0
  699. /package/dist/chunks/{variant-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{variant-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{variant-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{variant-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{variant-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{variant-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{variant-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{variant-53557ph1.js → agent-53557ph1.js} +0 -0
  707. /package/dist/chunks/{variant-550bvhaj.js → agent-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{variant-6prwharc.js → agent-6prwharc.js} +0 -0
  709. /package/dist/chunks/{variant-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{variant-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{variant-7m9af43g.js → agent-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{variant-822emrt2.js → agent-822emrt2.js} +0 -0
  713. /package/dist/chunks/{variant-84wd9syh.js → agent-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{variant-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{variant-8n3pysct.js → agent-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{variant-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{variant-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{variant-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{variant-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{variant-af5trqkr.js → agent-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{variant-afrmfg78.js → agent-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{variant-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{variant-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{variant-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{variant-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{variant-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{variant-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{variant-d9fn303g.js → agent-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{variant-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{variant-dajrwvna.js → agent-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{variant-dap0rakb.js → agent-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{variant-df08tz66.js → agent-df08tz66.js} +0 -0
  733. /package/dist/chunks/{variant-dy18nga0.js → agent-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{variant-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{variant-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{variant-ec1grn59.js → agent-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{variant-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{variant-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{variant-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{variant-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{variant-faypxj3z.js → agent-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{variant-fd410y7t.js → agent-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{variant-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{variant-g86h250q.js → agent-g86h250q.js} +0 -0
  745. /package/dist/chunks/{variant-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{variant-gftt206x.js → agent-gftt206x.js} +0 -0
  747. /package/dist/chunks/{variant-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  748. /package/dist/chunks/{variant-hk9envan.js → agent-hk9envan.js} +0 -0
  749. /package/dist/chunks/{variant-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{variant-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{variant-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{variant-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{variant-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{variant-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
  755. /package/dist/chunks/{variant-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{variant-m18g726c.js → agent-m18g726c.js} +0 -0
  757. /package/dist/chunks/{variant-mp448xyj.js → agent-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{variant-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{variant-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{variant-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{variant-njntx4h6.js → agent-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{variant-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
  763. /package/dist/chunks/{variant-pyv0edze.js → agent-pyv0edze.js} +0 -0
  764. /package/dist/chunks/{variant-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{variant-q74kybfr.js → agent-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{variant-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{variant-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{variant-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{variant-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{variant-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{variant-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{variant-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{variant-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{variant-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  775. /package/dist/chunks/{variant-w803qqfp.js → agent-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{variant-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{variant-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{variant-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
  779. /package/dist/chunks/{variant-wtztk69x.js → agent-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{variant-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{variant-x61499pn.js → agent-x61499pn.js} +0 -0
  782. /package/dist/chunks/{variant-y44na4kk.js → agent-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{variant-y8f7s663.js → agent-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{variant-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{variant-ym463w8f.js → agent-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{variant-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  787. /package/dist/chunks/{variant-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./variant-5vsvabpe.js";
3
+ } from "./agent-k3bqjcjm.js";
4
4
 
5
5
  // src/plugin/provider/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
19
19
  }).pipe(Schema.optional)
20
20
  });
21
21
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
22
- var make6 = createLocalProviderPlugin2({
22
+ var make4 = createLocalProviderPlugin2({
23
23
  id: "opencode.provider.lmstudio",
24
24
  providerID: "lmstudio",
25
25
  name: "LM Studio",
@@ -38,6 +38,6 @@ var make6 = createLocalProviderPlugin2({
38
38
  context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
39
39
  })
40
40
  });
41
- var LMStudioPlugin2 = make6();
41
+ var LMStudioPlugin2 = make4();
42
42
 
43
- export { make6, LMStudioPlugin2 };
43
+ export { make4, LMStudioPlugin2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info19,
12
+ Info: () => Info10,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info19 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info19, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./variant-rb93vns4.js";
2
+ Service83,
3
+ node87
4
+ } from "./agent-pvv3kt52.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./variant-1dgd40yc.js";
6
+ Service82,
7
+ node86
8
+ } from "./agent-102ecrqc.js";
9
9
  import {
10
10
  Service52,
11
11
  node54
12
- } from "./variant-4ptrhz46.js";
12
+ } from "./agent-p3gs223r.js";
13
13
  import {
14
- Service37,
15
- node39
16
- } from "./variant-jhf3jymm.js";
14
+ Service42,
15
+ node44
16
+ } from "./agent-sxzvkvgj.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./variant-ec1grn59.js";
19
+ } from "./agent-ec1grn59.js";
20
20
  import {
21
21
  make16
22
- } from "./variant-yp2x3t23.js";
22
+ } from "./agent-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service35
26
- } from "./variant-tz4n1mmd.js";
25
+ Service39
26
+ } from "./agent-06x8he3q.js";
27
27
  import {
28
- Service59,
29
- node62
30
- } from "./variant-wvrxhfbz.js";
28
+ Service67,
29
+ node69
30
+ } from "./agent-5fc1p0g9.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./variant-4ghc2kqd.js";
33
+ } from "./agent-w6jg7vpf.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./variant-ne3cddwz.js";
36
+ } from "./agent-b46260rf.js";
37
37
  import {
38
38
  __export
39
- } from "./variant-9rqn6x4v.js";
39
+ } from "./agent-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service34,
44
+ Service: () => Service38,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer15,
47
- node: () => node37,
46
+ layer: () => layer17,
47
+ node: () => node41,
48
48
  noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service34 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service38 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer15 = Layer.effect(Service34, Effect.gen(function* () {
63
- const store = yield* Service59;
64
- const instances = yield* Service37;
65
- const bus = yield* Service84;
62
+ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
63
+ const store = yield* Service67;
64
+ const instances = yield* Service42;
65
+ const bus = yield* Service82;
66
66
  const jobs = yield* Service52;
67
- const db = (yield* Service85).db;
67
+ const db = (yield* Service83).db;
68
68
  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);
69
69
  const claimOnCommit = (sessionID) => ({
70
70
  commit: () => store.claim(sessionID)
@@ -76,7 +76,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service35.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 }))));
79
+ const result = yield* Service39.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 }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service34.of({
107
+ return Service38.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node37 = makeGlobalNode({
127
- service: Service34,
128
- layer: layer15,
129
- deps: [node62, node39, node88, node89, node54]
126
+ var node41 = makeGlobalNode({
127
+ service: Service38,
128
+ layer: layer17,
129
+ deps: [node69, node44, node86, node87, node54]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service34, Service34.of({
131
+ var noopLayer2 = Layer.succeed(Service38, Service38.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service34, Service34.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service34, terminal2, layer15, node37, noopLayer2, exports_execution };
140
+ export { Service38, terminal2, layer17, node41, noopLayer2, exports_execution };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service85
3
- } from "./variant-rb93vns4.js";
2
+ Service83
3
+ } from "./agent-pvv3kt52.js";
4
4
  import {
5
- Service37
6
- } from "./variant-jhf3jymm.js";
5
+ Service42
6
+ } from "./agent-sxzvkvgj.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./variant-1x11rq2a.js";
9
+ } from "./agent-1x11rq2a.js";
10
10
  import {
11
11
  provenance2
12
- } from "./variant-h9wp8z5w.js";
12
+ } from "./agent-yrcj3v3g.js";
13
13
  import {
14
14
  preview2
15
- } from "./variant-nazaqr6z.js";
15
+ } from "./agent-fkdm2qkv.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./variant-1g2tzbqy.js";
18
+ } from "./agent-ky65x1wg.js";
19
19
  import {
20
- Service21
21
- } from "./variant-fxjmfkq7.js";
20
+ Service28
21
+ } from "./agent-hjd09z3h.js";
22
22
  import {
23
23
  __export
24
- } from "./variant-9rqn6x4v.js";
24
+ } from "./agent-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate = {};
@@ -32,12 +32,12 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service37;
36
- const database = yield* Service85;
35
+ const instances = yield* Service42;
36
+ const database = yield* Service83;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service21;
40
+ const context = yield* Service28;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/service.ts
6
6
  var exports_service = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service37
3
- } from "./variant-jhf3jymm.js";
2
+ Service42
3
+ } from "./agent-sxzvkvgj.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./variant-1x11rq2a.js";
6
+ } from "./agent-1x11rq2a.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./variant-k185drda.js";
9
+ } from "./agent-kx705y8y.js";
10
10
  import {
11
- Service33
12
- } from "./variant-2kzdwg0n.js";
11
+ Service43
12
+ } from "./agent-q3ysppy7.js";
13
13
  import {
14
14
  __export
15
- } from "./variant-9rqn6x4v.js";
15
+ } from "./agent-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service37;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service33), instances.provide(input.session));
25
+ const instances = yield* Service42;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./variant-tazgh4e4.js";
8
+ } from "./agent-tazgh4e4.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./variant-ef5x83kb.js";
11
+ } from "./agent-ef5x83kb.js";
12
12
  import {
13
- Service76
14
- } from "./variant-aed4v31e.js";
13
+ Service79
14
+ } from "./agent-agsg9aqy.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./variant-t1exkcnj.js";
17
+ } from "./agent-sxge8dhz.js";
18
18
  import {
19
19
  __export
20
- } from "./variant-9rqn6x4v.js";
20
+ } from "./agent-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin25,
25
+ Plugin: () => Plugin2,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin25 = define({
36
+ var Plugin2 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service76;
39
+ const location = yield* Service79;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
553
553
  return yield* diffAgainstRef(ctx, ref, options);
554
554
  });
555
555
 
556
- export { Plugin25, exports_git };
556
+ export { Plugin2, exports_git };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./variant-jnfn5ex1.js";
5
+ } from "./agent-xztn33cf.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make22,
10
10
  makeWithDefaults2
11
- } from "./variant-ttp06fyh.js";
11
+ } from "./agent-tv87x6sc.js";
12
12
  import {
13
13
  __export
14
- } from "./variant-9rqn6x4v.js";
14
+ } from "./agent-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service61,
10
- node: () => node64
9
+ Service: () => Service68,
10
+ node: () => node70
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service61 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service68 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service61, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service61.of({ has, register, trigger });
57
+ return Service68.of({ has, register, trigger });
58
58
  }));
59
- var node64 = makeLocationNode({ service: Service61, layer, deps: [] });
59
+ var node70 = makeLocationNode({ service: Service68, layer, deps: [] });
60
60
 
61
- export { Service61, node64, exports_hooks };
61
+ export { Service68, node70, exports_hooks };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./variant-j3v4v25z.js";
6
+ } from "./agent-vgsgsp1h.js";
7
7
  import {
8
- Service76,
9
- node80
10
- } from "./variant-aed4v31e.js";
8
+ Service79,
9
+ node83
10
+ } from "./agent-agsg9aqy.js";
11
11
  import {
12
- Service57,
13
- node60
14
- } from "./variant-8t6tsgff.js";
12
+ Service65,
13
+ node67
14
+ } from "./agent-qbcjqvkm.js";
15
15
  import {
16
16
  __export
17
- } from "./variant-9rqn6x4v.js";
17
+ } from "./agent-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service15,
26
- node: () => node17,
25
+ Service: () => Service22,
26
+ node: () => node24,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service15 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service22 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service15, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service76;
55
- const permission = yield* Service57;
54
+ const location = yield* Service79;
55
+ const permission = yield* Service65;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service15.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service22.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node17 = makeLocationNode({ service: Service15, layer, deps: [FSUtil.node, node80, node60] });
106
+ var node24 = makeLocationNode({ service: Service22, layer, deps: [FSUtil.node, node83, node67] });
107
107
 
108
- export { Kind2, ResolveInput2, Service15, resolvePath2, node17, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service22, resolvePath2, node24, exports_file_access };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service63
7
- } from "./variant-6cb5bya6.js";
6
+ Service61
7
+ } from "./agent-6458qwm7.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./variant-hgz4x7wa.js";
10
+ } from "./agent-hgz4x7wa.js";
11
11
  import {
12
- Service51
13
- } from "./variant-wa343y42.js";
12
+ Service64
13
+ } from "./agent-je2tex47.js";
14
14
  import {
15
15
  Service52
16
- } from "./variant-4ptrhz46.js";
16
+ } from "./agent-p3gs223r.js";
17
17
  import {
18
- Service57
19
- } from "./variant-8t6tsgff.js";
18
+ Service65
19
+ } from "./agent-qbcjqvkm.js";
20
20
  import {
21
- Service15,
21
+ Service22,
22
22
  resolvePath2
23
- } from "./variant-8nx44vyg.js";
23
+ } from "./agent-23w5gghw.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./variant-vzs5sf6e.js";
29
+ } from "./agent-vzs5sf6e.js";
30
30
  import {
31
- Service46,
31
+ Service72,
32
32
  name15
33
- } from "./variant-bffezq42.js";
33
+ } from "./agent-pfvt33xv.js";
34
34
  import {
35
- NotFoundError4,
36
- Service41
37
- } from "./variant-0821qp31.js";
35
+ NotFoundError5,
36
+ Service45
37
+ } from "./agent-xy5artkv.js";
38
38
  import {
39
- Service20
40
- } from "./variant-5xdxnttq.js";
39
+ Service25
40
+ } from "./agent-pv49kqqp.js";
41
41
  import {
42
42
  scan2
43
- } from "./variant-j1m8k7tk.js";
43
+ } from "./agent-dz30mbn2.js";
44
44
  import {
45
45
  __export
46
- } from "./variant-9rqn6x4v.js";
46
+ } from "./agent-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input5,
53
- Plugin: () => Plugin7,
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin20,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name5
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name5 = "shell";
60
+ var name3 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input5 = Schema.Struct({
74
+ var Input3 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin7 = {
120
+ var Plugin20 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service20;
123
+ const sessions = yield* Service25;
124
124
  const jobs = yield* Service52;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service51;
127
- const access = yield* Service15;
128
- const shell = yield* Service41;
129
- const shellSelect = yield* Service46;
126
+ const environment = yield* Service64;
127
+ const access = yield* Service22;
128
+ const shell = yield* Service45;
129
+ const shellSelect = yield* Service72;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service57;
132
- const config = yield* Service63;
131
+ const permission = yield* Service65;
132
+ const config = yield* Service61;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin7 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name5,
151
+ action: name3,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin7 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name5,
188
+ name: name3,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input5,
191
+ input: Input3,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin7 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError4({ id: info.id });
214
+ return yield* new NotFoundError5({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name5,
228
+ type: name3,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name5];
258
+ const tool = event.tools[name3];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin7, exports_shell };
269
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin20, exports_shell };