@opencode/core 0.0.0-dev-20489 → 0.0.0-dev-20495

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{plugin-0st2k7bp.js → agent-05qm76tv.js} +5 -5
  8. package/dist/chunks/{plugin-s2rhz4ah.js → agent-06extccp.js} +3 -3
  9. package/dist/chunks/{plugin-mzpqzxtj.js → agent-0969ms2e.js} +15 -15
  10. package/dist/chunks/{plugin-qe2mh3tq.js → agent-0b54nqfq.js} +6 -6
  11. package/dist/chunks/{plugin-q5sv98z1.js → agent-0ee9cpen.js} +17 -17
  12. package/dist/chunks/{plugin-0vbcp93d.js → agent-0emb60td.js} +2 -2
  13. package/dist/chunks/{plugin-c7s4vxbp.js → agent-0fmjwecz.js} +5 -5
  14. package/dist/chunks/{plugin-q0xm7vwc.js → agent-0j77ygfz.js} +6 -6
  15. package/dist/chunks/{plugin-xqkkqd5t.js → agent-0keq86b3.js} +3 -3
  16. package/dist/chunks/{plugin-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{plugin-r2s5mzj1.js → agent-0tcn2edf.js} +4 -4
  18. package/dist/chunks/{plugin-gvf59224.js → agent-0vyq000p.js} +13 -13
  19. package/dist/chunks/{plugin-0ghtmzcp.js → agent-1225krvv.js} +48 -48
  20. package/dist/chunks/{plugin-knqt1fk3.js → agent-15zv1stq.js} +3 -3
  21. package/dist/chunks/{plugin-jhmdvha7.js → agent-180kw0bq.js} +18 -18
  22. package/dist/chunks/{plugin-yp2x3t23.js → agent-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{plugin-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{plugin-32hdvsd1.js → agent-1egsrvyz.js} +9 -9
  25. package/dist/chunks/{plugin-552dhgzm.js → agent-1pk6jmbv.js} +5 -5
  26. package/dist/chunks/{plugin-gxer4289.js → agent-1wjt2sv4.js} +2 -2
  27. package/dist/chunks/{plugin-9tv1ghsx.js → agent-281yg8g7.js} +4 -4
  28. package/dist/chunks/{plugin-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{plugin-4ts7tf6z.js → agent-2ccvkpx1.js} +2 -2
  30. package/dist/chunks/{plugin-bh48mnt2.js → agent-2ejavyye.js} +22 -22
  31. package/dist/chunks/{plugin-7dqw4kz8.js → agent-2k8khapm.js} +5 -5
  32. package/dist/chunks/{plugin-yz16v67g.js → agent-2r2egdr4.js} +11 -11
  33. package/dist/chunks/{plugin-g0eqw7vj.js → agent-2tfjmdh5.js} +14 -14
  34. package/dist/chunks/{plugin-sk5hrgtc.js → agent-30846h32.js} +8 -8
  35. package/dist/chunks/{plugin-yssjxqzx.js → agent-3adj5p0b.js} +8 -8
  36. package/dist/chunks/{plugin-3cegwx68.js → agent-3cegwx68.js} +2 -2
  37. package/dist/chunks/{plugin-8x81hhm0.js → agent-3e0m7cwy.js} +36 -36
  38. package/dist/chunks/{plugin-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{plugin-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{plugin-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{plugin-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{plugin-s4vv33mq.js → agent-3wd3ybnr.js} +36 -36
  43. package/dist/chunks/{plugin-w4dx7hzn.js → agent-3ynasgj1.js} +3 -3
  44. package/dist/chunks/{plugin-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{plugin-tbdf39ae.js → agent-50c2qfar.js} +19 -19
  46. package/dist/chunks/{plugin-54ma36ye.js → agent-54ma36ye.js} +1 -1
  47. package/dist/chunks/{plugin-33w4ejhs.js → agent-56gdpj1q.js} +6 -6
  48. package/dist/chunks/{plugin-bn6g6p4n.js → agent-56wxwffs.js} +10 -10
  49. package/dist/chunks/{plugin-mdwkzxwq.js → agent-56zcmy0x.js} +43 -43
  50. package/dist/chunks/{plugin-qkb64swz.js → agent-5ctfgyhd.js} +11 -11
  51. package/dist/chunks/{plugin-5daktx2q.js → agent-5daktx2q.js} +1 -1
  52. package/dist/chunks/{plugin-4j4tgtq5.js → agent-5dkn69vz.js} +4 -4
  53. package/dist/chunks/{plugin-g3khgvgp.js → agent-5manh0gh.js} +49 -49
  54. package/dist/chunks/{plugin-nje5s9z6.js → agent-5mde3jdk.js} +13 -13
  55. package/dist/chunks/{plugin-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{plugin-a8bn8zg0.js → agent-5wtwrezn.js} +21 -21
  57. package/dist/chunks/{plugin-2sjdad61.js → agent-5zfe1hs5.js} +30 -30
  58. package/dist/chunks/{plugin-619r8v3y.js → agent-619r8v3y.js} +1 -1
  59. package/dist/chunks/{plugin-669tq793.js → agent-669tq793.js} +1 -1
  60. package/dist/chunks/{plugin-afabwxgp.js → agent-6b2kn43a.js} +6 -6
  61. package/dist/chunks/{plugin-9v7q5m1c.js → agent-6gvmk3q1.js} +15 -15
  62. package/dist/chunks/{plugin-w25fr9f9.js → agent-6jsnjtd7.js} +32 -32
  63. package/dist/chunks/{plugin-p9dr31ta.js → agent-71y1mzkm.js} +10 -10
  64. package/dist/chunks/{plugin-88wfbx9b.js → agent-7379n787.js} +34 -34
  65. package/dist/chunks/{plugin-gm6expwy.js → agent-78qt3sj1.js} +27 -27
  66. package/dist/chunks/{plugin-rghnzapf.js → agent-79db117c.js} +26 -26
  67. package/dist/chunks/{plugin-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{plugin-w43yw030.js → agent-7fxnnqbh.js} +5 -5
  69. package/dist/chunks/{plugin-h7zfyhdd.js → agent-7j08c9r1.js} +13 -13
  70. package/dist/chunks/{plugin-42ada8tk.js → agent-7mtf2ng8.js} +19 -19
  71. package/dist/chunks/{plugin-k3kq5fdz.js → agent-7mwqrr0g.js} +3 -3
  72. package/dist/chunks/{plugin-qvb3nf84.js → agent-7s2tn799.js} +8 -8
  73. package/dist/chunks/{plugin-w8zxs343.js → agent-81q1psws.js} +16 -16
  74. package/dist/chunks/{plugin-84h8c373.js → agent-84h8c373.js} +2 -2
  75. package/dist/chunks/{plugin-w1eejvng.js → agent-84txncab.js} +5 -5
  76. package/dist/chunks/{plugin-p4k59x61.js → agent-8bjjjscb.js} +26 -26
  77. package/dist/chunks/{plugin-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{plugin-h3gq0wn1.js → agent-8gccp9jq.js} +47 -47
  79. package/dist/chunks/{plugin-3gmgegrq.js → agent-8jpf4asr.js} +20 -20
  80. package/dist/chunks/{plugin-bxwnqnzf.js → agent-8n04mb3d.js} +24 -24
  81. package/dist/chunks/{plugin-bwwwqt94.js → agent-8percxtt.js} +10 -10
  82. package/dist/chunks/{plugin-dbmc5gjs.js → agent-8tsdq50x.js} +4 -4
  83. package/dist/chunks/{plugin-q4aqwj73.js → agent-8y3049xf.js} +24 -24
  84. package/dist/chunks/{plugin-rkse2x0j.js → agent-90kkfwkk.js} +17 -17
  85. package/dist/chunks/{plugin-w758s7nv.js → agent-961aaqfq.js} +43 -43
  86. package/dist/chunks/{plugin-rhwq70n6.js → agent-9f7pkh13.js} +11 -11
  87. package/dist/chunks/{plugin-xqb26yp8.js → agent-9jb08jxh.js} +15 -15
  88. package/dist/chunks/{plugin-5xs2yarg.js → agent-9mwv3506.js} +24 -24
  89. package/dist/chunks/{plugin-8am2xe2c.js → agent-9qkyr202.js} +89 -89
  90. package/dist/chunks/{plugin-svykb2th.js → agent-9sb0gsac.js} +32 -32
  91. package/dist/chunks/{plugin-w81m6cf9.js → agent-9tgqm29x.js} +22 -22
  92. package/dist/chunks/{plugin-ndp479ha.js → agent-a04xb9v5.js} +25 -25
  93. package/dist/chunks/{plugin-zy43x3f1.js → agent-a2rpfkac.js} +4 -4
  94. package/dist/chunks/{plugin-aaet6srn.js → agent-aaet6srn.js} +2 -2
  95. package/dist/chunks/{plugin-k22b66k8.js → agent-addxnjmp.js} +4 -4
  96. package/dist/chunks/{plugin-e2ts7srd.js → agent-am625cf0.js} +33 -33
  97. package/dist/chunks/{plugin-vpgtgc27.js → agent-aq1vxrpg.js} +4 -4
  98. package/dist/chunks/{plugin-cn6q53zc.js → agent-assaykk3.js} +11 -11
  99. package/dist/chunks/{plugin-3ah5pgmr.js → agent-aw71md39.js} +44 -44
  100. package/dist/chunks/{plugin-qvreyy9g.js → agent-axs6pdy0.js} +5 -5
  101. package/dist/chunks/{plugin-b3f8fkhc.js → agent-b3f8fkhc.js} +2 -2
  102. package/dist/chunks/{plugin-gy1e9esd.js → agent-b3wt4537.js} +18 -18
  103. package/dist/chunks/{plugin-py3kkmfq.js → agent-b4twkq7r.js} +6 -6
  104. package/dist/chunks/{plugin-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{plugin-9njedpex.js → agent-bgwt1ext.js} +8 -8
  106. package/dist/chunks/{plugin-sqmzwr9m.js → agent-bkxyw0dr.js} +9 -9
  107. package/dist/chunks/{plugin-qes05c22.js → agent-bsn5q6aq.js} +44 -44
  108. package/dist/chunks/{plugin-kh2dz1qf.js → agent-bsytyf4b.js} +13 -13
  109. package/dist/chunks/{plugin-n389n8yy.js → agent-bw7n94es.js} +180 -180
  110. package/dist/chunks/{plugin-y7cqqg6m.js → agent-c4hxtsjn.js} +18 -18
  111. package/dist/chunks/{plugin-gcbvw9h7.js → agent-c4ns4q6k.js} +328 -328
  112. package/dist/chunks/{plugin-s66tm1sq.js → agent-c50maqbp.js} +5 -5
  113. package/dist/chunks/{plugin-engkm2d6.js → agent-c5c0bz0t.js} +5 -5
  114. package/dist/chunks/{plugin-mhnyy3p3.js → agent-c60ns7m9.js} +11 -11
  115. package/dist/chunks/{plugin-5qwkxp89.js → agent-c651xxjb.js} +4 -4
  116. package/dist/chunks/{plugin-sk3qaz4a.js → agent-c7tg5ahm.js} +58 -20
  117. package/dist/chunks/{plugin-jebqk7jw.js → agent-cb44h7a0.js} +23 -23
  118. package/dist/chunks/{plugin-keq0amzm.js → agent-cdnk6ftw.js} +13 -13
  119. package/dist/chunks/{plugin-37n8qkst.js → agent-cey1m555.js} +11 -11
  120. package/dist/chunks/{plugin-cfymty4z.js → agent-chhwftq5.js} +31 -31
  121. package/dist/chunks/{plugin-6nam3y6a.js → agent-ct17t7wc.js} +21 -21
  122. package/dist/chunks/{plugin-g6tzv9ct.js → agent-cv7vxd11.js} +14 -14
  123. package/dist/chunks/{plugin-7x15szr3.js → agent-d7hcd0ym.js} +9 -9
  124. package/dist/chunks/{plugin-nge6e8t3.js → agent-dcr03msm.js} +20 -20
  125. package/dist/chunks/{plugin-xkntkrq7.js → agent-dmqcgk4z.js} +5 -5
  126. package/dist/chunks/{plugin-dpkg50ah.js → agent-dpkg50ah.js} +1 -1
  127. package/dist/chunks/{plugin-4a2kvcyx.js → agent-drnf6xwf.js} +2 -2
  128. package/dist/chunks/{plugin-cnvcdvk7.js → agent-dtz9s4b3.js} +6 -6
  129. package/dist/chunks/{plugin-gkj81yr6.js → agent-dw4v8saq.js} +15 -15
  130. package/dist/chunks/{plugin-5qd3pb7m.js → agent-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{plugin-53751w34.js → agent-e8y5teeb.js} +32 -32
  132. package/dist/chunks/{plugin-yy6k95dt.js → agent-ee7hath9.js} +24 -24
  133. package/dist/chunks/{plugin-g7pyd2xg.js → agent-eejvp2f2.js} +22 -22
  134. package/dist/chunks/{plugin-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{plugin-9ck34fdg.js → agent-enbxprp7.js} +7 -7
  136. package/dist/chunks/{plugin-mhkvc446.js → agent-eq1pz5kg.js} +3 -3
  137. package/dist/chunks/{plugin-5eqgw8nb.js → agent-er7bzzx2.js} +8 -8
  138. package/dist/chunks/{plugin-maheee0q.js → agent-es3gwfzz.js} +32 -32
  139. package/dist/chunks/{plugin-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{plugin-0he9bta8.js → agent-etzmzv32.js} +10 -10
  141. package/dist/chunks/{plugin-p37cw4rj.js → agent-eys57y9b.js} +8 -8
  142. package/dist/chunks/{plugin-k9wzpze3.js → agent-f0wzsm6w.js} +30 -30
  143. package/dist/chunks/{plugin-aby4nxsj.js → agent-f3g7k472.js} +31 -33
  144. package/dist/chunks/{plugin-29g2crnb.js → agent-f4ydgy3z.js} +7 -7
  145. package/dist/chunks/{plugin-mpfqpskx.js → agent-f5a9xnpw.js} +10 -10
  146. package/dist/chunks/{plugin-eneefzjq.js → agent-f5gy8qwh.js} +8 -8
  147. package/dist/chunks/{plugin-0me0fk48.js → agent-f6b7e72t.js} +4 -4
  148. package/dist/chunks/{plugin-w224pj40.js → agent-f717gdek.js} +19 -19
  149. package/dist/chunks/{plugin-f75zav2x.js → agent-f75zav2x.js} +2 -2
  150. package/dist/chunks/{plugin-vxh2w9az.js → agent-f7jtcmdh.js} +22 -22
  151. package/dist/chunks/{plugin-wc1qr0sj.js → agent-fe7h0mm2.js} +11 -11
  152. package/dist/chunks/{plugin-pte6hzve.js → agent-fje83gfw.js} +33 -33
  153. package/dist/chunks/{plugin-xp6rvhe2.js → agent-fkcqrwcb.js} +9 -9
  154. package/dist/chunks/{plugin-te665yay.js → agent-fmpajtcd.js} +15 -15
  155. package/dist/chunks/{plugin-n0qch2gr.js → agent-frfw21hw.js} +9 -9
  156. package/dist/chunks/{plugin-xfkkasph.js → agent-g5w8qwbj.js} +4 -4
  157. package/dist/chunks/{plugin-q553k2y0.js → agent-g74z9j9z.js} +18 -18
  158. package/dist/chunks/{plugin-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{plugin-08tmw935.js → agent-ghq8k3p0.js} +5 -5
  160. package/dist/chunks/{plugin-8wvbgzhc.js → agent-gnes5cxx.js} +6 -6
  161. package/dist/chunks/{plugin-js7acmhb.js → agent-gnvs0enq.js} +3 -3
  162. package/dist/chunks/{plugin-9j62v1na.js → agent-gx8qcdc6.js} +5 -5
  163. package/dist/chunks/{plugin-sjhf83m2.js → agent-h1c96afk.js} +8 -8
  164. package/dist/chunks/{plugin-hd8vw2pw.js → agent-h5w29vws.js} +1 -1
  165. package/dist/chunks/{plugin-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{plugin-2920kkda.js → agent-harr5xv8.js} +32 -32
  167. package/dist/chunks/{plugin-n7fvg6tv.js → agent-hcf0s5h1.js} +8 -8
  168. package/dist/chunks/{plugin-qj72p9h2.js → agent-hqhgbs2g.js} +3 -3
  169. package/dist/chunks/{plugin-g99crknm.js → agent-hvcgaqb3.js} +20 -20
  170. package/dist/chunks/{plugin-6b8kbxwq.js → agent-j245gaa0.js} +9 -9
  171. package/dist/chunks/{plugin-j56e64zr.js → agent-j56e64zr.js} +1 -1
  172. package/dist/chunks/{plugin-a9bdmzgt.js → agent-jgpg880r.js} +22 -22
  173. package/dist/chunks/{plugin-5w1jn6g6.js → agent-jjjc0chz.js} +30 -30
  174. package/dist/chunks/{plugin-a546qe5c.js → agent-jvp7p798.js} +21 -21
  175. package/dist/chunks/{plugin-vdgc7sk8.js → agent-jwtynxd2.js} +3 -3
  176. package/dist/chunks/{plugin-wpfn465e.js → agent-jzsegfhb.js} +4 -4
  177. package/dist/chunks/{plugin-fy55jrv2.js → agent-k6geg3g4.js} +7 -7
  178. package/dist/chunks/{plugin-kb9j3d72.js → agent-kb9j3d72.js} +3 -3
  179. package/dist/chunks/{plugin-ydgym1xa.js → agent-kbkg0dr4.js} +15 -15
  180. package/dist/chunks/{plugin-y6kccm89.js → agent-kjfdeayr.js} +8 -8
  181. package/dist/chunks/{plugin-aepc0ehj.js → agent-kjyqzbch.js} +25 -25
  182. package/dist/chunks/{plugin-t7n9q6bq.js → agent-kne8f3cn.js} +4 -4
  183. package/dist/chunks/{plugin-dmrh8gvy.js → agent-kxtv85c3.js} +24 -24
  184. package/dist/chunks/{plugin-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{plugin-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{plugin-9bk9cnp5.js → agent-ma9td961.js} +34 -34
  187. package/dist/chunks/{plugin-7bwettt8.js → agent-mmqb0ckj.js} +8 -8
  188. package/dist/chunks/{plugin-2a6rn6yr.js → agent-mx9vqzsb.js} +6 -6
  189. package/dist/chunks/{plugin-btfhnvjh.js → agent-my4zabxr.js} +3 -3
  190. package/dist/chunks/{plugin-aqg4cax4.js → agent-myymb6xt.js} +11 -11
  191. package/dist/chunks/{plugin-7sjb06ew.js → agent-n1mmzv0t.js} +11 -11
  192. package/dist/chunks/{plugin-ywp84kpb.js → agent-n94yfme4.js} +9 -9
  193. package/dist/chunks/{plugin-58avdj84.js → agent-nf0836sh.js} +23 -23
  194. package/dist/chunks/{plugin-7k9nbph5.js → agent-nnegx4ye.js} +34 -34
  195. package/dist/chunks/{plugin-b6h23dgp.js → agent-nq59jwz9.js} +16 -16
  196. package/dist/chunks/{plugin-wbhkz6w4.js → agent-p52b6053.js} +15 -15
  197. package/dist/chunks/{plugin-9dbt7z73.js → agent-pevp0vkc.js} +18 -18
  198. package/dist/chunks/{plugin-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{plugin-pknna89w.js → agent-pknna89w.js} +1 -1
  200. package/dist/chunks/{plugin-py01hhmc.js → agent-pm3rvpnw.js} +11 -11
  201. package/dist/chunks/{plugin-7cr7kbfa.js → agent-pnhxssdf.js} +1 -1
  202. package/dist/chunks/{plugin-h2mrpd9j.js → agent-pvax30d3.js} +45 -45
  203. package/dist/chunks/{plugin-wsw9xjjb.js → agent-pwbc1eft.js} +29 -29
  204. package/dist/chunks/{plugin-530jjp36.js → agent-pydjced1.js} +10 -10
  205. package/dist/chunks/{plugin-ygdna4kr.js → agent-pzjh1fyp.js} +5 -5
  206. package/dist/chunks/{plugin-29eykq4v.js → agent-q1c6gfm2.js} +19 -19
  207. package/dist/chunks/{plugin-ak9msbxp.js → agent-q3ersh05.js} +6 -6
  208. package/dist/chunks/{plugin-59t371j7.js → agent-q3hqp1sp.js} +3 -3
  209. package/dist/chunks/{plugin-qm0v3jhh.js → agent-qa3qhgw8.js} +7 -7
  210. package/dist/chunks/{plugin-hgqax4q6.js → agent-qc1xg33w.js} +22 -22
  211. package/dist/chunks/{plugin-4p82swk3.js → agent-qhsygc0r.js} +5 -5
  212. package/dist/chunks/{plugin-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{plugin-vjx4dhe3.js → agent-qp7thzpe.js} +11 -11
  214. package/dist/chunks/{plugin-qsdy395h.js → agent-qsdy395h.js} +1 -1
  215. package/dist/chunks/{plugin-m6g91zyk.js → agent-qx178q0k.js} +15 -15
  216. package/dist/chunks/{plugin-djszqvmq.js → agent-r2m716tb.js} +9 -9
  217. package/dist/chunks/{plugin-prq7hedt.js → agent-r9w3djhf.js} +9 -9
  218. package/dist/chunks/{plugin-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{plugin-r44petzp.js → agent-rfrf17aw.js} +12 -12
  220. package/dist/chunks/{plugin-9m5s7xmk.js → agent-rg23r00q.js} +35 -35
  221. package/dist/chunks/{plugin-wv396vej.js → agent-rhjbct0v.js} +8 -8
  222. package/dist/chunks/{plugin-bz068n2q.js → agent-rmbj2ecd.js} +24 -24
  223. package/dist/chunks/{plugin-wpvpdrjr.js → agent-rmr3r19k.js} +4 -4
  224. package/dist/chunks/{plugin-mmha00yr.js → agent-rmrqxqxb.js} +23 -23
  225. package/dist/chunks/{plugin-6ncs3jcp.js → agent-rmvpnps6.js} +35 -35
  226. package/dist/chunks/{plugin-62hsdztg.js → agent-rmwzrvg6.js} +10 -10
  227. package/dist/chunks/{plugin-bqq66rcm.js → agent-rvxarf9v.js} +4 -4
  228. package/dist/chunks/{plugin-pr301zdv.js → agent-rwb52vrc.js} +60 -60
  229. package/dist/chunks/{plugin-y5f3qdbg.js → agent-ry082wg0.js} +9 -9
  230. package/dist/chunks/{plugin-6vge9h39.js → agent-s4v9x9re.js} +26 -26
  231. package/dist/chunks/{plugin-e4qyxvqk.js → agent-sb3bqbj6.js} +11 -11
  232. package/dist/chunks/{plugin-pt41nrzb.js → agent-snw8yyk6.js} +28 -28
  233. package/dist/chunks/{plugin-3ag6mk8n.js → agent-spx8c6ms.js} +6 -6
  234. package/dist/chunks/{plugin-6ne101av.js → agent-sv2c0njk.js} +22 -22
  235. package/dist/chunks/{plugin-snnkctvy.js → agent-sw2s00mc.js} +16 -16
  236. package/dist/chunks/{plugin-xk6sbjp1.js → agent-t0d6zw4z.js} +9 -9
  237. package/dist/chunks/{plugin-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{plugin-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{plugin-tdstcens.js → agent-tdstcens.js} +1 -1
  240. package/dist/chunks/{plugin-qf3mq4ra.js → agent-tt3j5xxe.js} +21 -21
  241. package/dist/chunks/{plugin-jagbr6h4.js → agent-v1wz7cyc.js} +17 -17
  242. package/dist/chunks/{plugin-c59ctwfg.js → agent-vaatkb7m.js} +20 -20
  243. package/dist/chunks/agent-vbqmraq8.js +253 -0
  244. package/dist/chunks/{plugin-k4wmp9nh.js → agent-vdd4vb6q.js} +37 -37
  245. package/dist/chunks/{plugin-hgt7erew.js → agent-vdeedkq6.js} +11 -11
  246. package/dist/chunks/{plugin-gdgk23je.js → agent-ve4zfcma.js} +22 -22
  247. package/dist/chunks/{plugin-veqvce7d.js → agent-veqvce7d.js} +1 -1
  248. package/dist/chunks/{plugin-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{plugin-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{plugin-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{plugin-1rpvqjb2.js → agent-w47smtgf.js} +18 -18
  252. package/dist/chunks/{plugin-jvq0khv9.js → agent-w7fnhhq6.js} +18 -18
  253. package/dist/chunks/{plugin-g2qsvwwh.js → agent-wb2syegf.js} +24 -24
  254. package/dist/chunks/{plugin-wd87259q.js → agent-wd87259q.js} +1 -1
  255. package/dist/chunks/{plugin-hh2jxtdr.js → agent-wv8a670q.js} +67 -67
  256. package/dist/chunks/{plugin-p8v7gray.js → agent-wzkdy7pq.js} +9 -9
  257. package/dist/chunks/{plugin-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{plugin-pn55wrwy.js → agent-x2h9s1mq.js} +30 -30
  259. package/dist/chunks/{plugin-ttn9g19g.js → agent-x2n4r1b6.js} +17 -17
  260. package/dist/chunks/{plugin-h4ckqw4f.js → agent-x75ma0cf.js} +11 -11
  261. package/dist/chunks/{plugin-ns6nxdj3.js → agent-x8qwh5yk.js} +1 -1
  262. package/dist/chunks/{plugin-0bg0bx69.js → agent-xecxzrdp.js} +5 -5
  263. package/dist/chunks/{plugin-1xw4ekgp.js → agent-xgrk1snk.js} +26 -26
  264. package/dist/chunks/{plugin-7mvfv48b.js → agent-xjphdyj0.js} +5 -5
  265. package/dist/chunks/{plugin-gf5746j9.js → agent-xmbvsbqy.js} +11 -11
  266. package/dist/chunks/{plugin-xn3aq1vn.js → agent-xmsh8y1f.js} +41 -41
  267. package/dist/chunks/{plugin-jgaj827t.js → agent-xpf13hnw.js} +26 -26
  268. package/dist/chunks/{plugin-xyafkbt0.js → agent-xyafkbt0.js} +3 -3
  269. package/dist/chunks/{plugin-9f659gft.js → agent-xyzvdesr.js} +9 -9
  270. package/dist/chunks/{plugin-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{plugin-g5nesaam.js → agent-y218q3m0.js} +11 -11
  272. package/dist/chunks/{plugin-na8rrp7m.js → agent-y9e856tf.js} +35 -35
  273. package/dist/chunks/{plugin-z6e4akrq.js → agent-y9t2v59g.js} +10 -10
  274. package/dist/chunks/{plugin-b00njkv4.js → agent-ya7p2kne.js} +20 -20
  275. package/dist/chunks/{plugin-a1tj4w97.js → agent-ydxjpy93.js} +17 -17
  276. package/dist/chunks/{plugin-1pxz8ven.js → agent-yebk9b1k.js} +5 -5
  277. package/dist/chunks/{plugin-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{plugin-592e04rw.js → agent-ywrxzmrq.js} +22 -22
  279. package/dist/chunks/{plugin-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/agent-z2gne1tr.js +26 -0
  281. package/dist/chunks/{plugin-whbvrzaq.js → agent-zm5gxt3d.js} +20 -20
  282. package/dist/chunks/{plugin-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{plugin-zpd5qt32.js → agent-zwywmq97.js} +12 -12
  284. package/dist/chunks/{plugin-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{plugin-aqcsk7k7.js → agent-zxxvxyna.js} +12 -12
  286. package/dist/chunks/{plugin-seybfen1.js → agent-zykjx2tp.js} +84 -84
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +82 -82
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +99 -99
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +154 -154
  298. package/dist/config/plugin/compatibility.js +134 -134
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +90 -90
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +102 -102
  310. package/dist/config/plugin/skill.js +137 -137
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +85 -85
  321. package/dist/database/database.js +66 -66
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration.gen.js +49 -49
  387. package/dist/database/migration.js +51 -51
  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 +76 -76
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -363
  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 +93 -93
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +70 -70
  411. package/dist/file-access.js +104 -104
  412. package/dist/file-mutation.js +94 -94
  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 +6 -6
  419. package/dist/filesystem/location-watcher.js +218 -218
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +103 -103
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +100 -100
  425. package/dist/form.js +86 -86
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +87 -87
  428. package/dist/generate.js +103 -103
  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 +99 -99
  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 +355 -355
  453. package/dist/instruction-discovery.js +85 -85
  454. package/dist/instructions/builtins.js +87 -87
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +73 -73
  461. package/dist/location-activity.js +131 -131
  462. package/dist/location-lifecycle.js +107 -107
  463. package/dist/location-service-map.js +86 -86
  464. package/dist/location-services.js +352 -352
  465. package/dist/location.js +85 -85
  466. package/dist/managed-policy.js +5 -5
  467. package/dist/mcp/client.js +91 -91
  468. package/dist/mcp/index.js +103 -103
  469. package/dist/mcp/instructions.js +127 -127
  470. package/dist/mcp/oauth.js +78 -78
  471. package/dist/mcp/stdio.js +90 -90
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +99 -99
  474. package/dist/model-resolver.js +98 -98
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +107 -107
  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 +117 -117
  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 +88 -88
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +75 -75
  486. package/dist/plugin/agent.js +104 -104
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +211 -211
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +327 -327
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +96 -96
  495. package/dist/plugin/module.js +5 -5
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +102 -102
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  500. package/dist/plugin/provider/azure.js +117 -117
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +93 -93
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +112 -112
  507. package/dist/plugin/provider/digitalocean.js +93 -93
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +95 -95
  512. package/dist/plugin/provider/gitlab.js +93 -93
  513. package/dist/plugin/provider/google-vertex.js +90 -90
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +78 -78
  516. package/dist/plugin/provider/lmstudio.js +115 -115
  517. package/dist/plugin/provider/modal.js +92 -92
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai.js +95 -95
  521. package/dist/plugin/provider/opencode.js +96 -96
  522. package/dist/plugin/provider/openrouter.js +91 -91
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +79 -79
  525. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  526. package/dist/plugin/provider/sap-ai-core.js +91 -91
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +90 -90
  531. package/dist/plugin/provider/vllm.js +115 -115
  532. package/dist/plugin/provider/xai.js +91 -91
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +76 -76
  536. package/dist/plugin/service.js +1 -1
  537. package/dist/plugin/skill.js +134 -134
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +344 -344
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +86 -86
  543. package/dist/plugin/vcs/hg.js +86 -86
  544. package/dist/plugin/verbosity.js +93 -93
  545. package/dist/plugin/warming.js +114 -114
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +220 -220
  554. package/dist/project/schema.js +4 -4
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +84 -84
  557. package/dist/provider.js +101 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +99 -99
  561. package/dist/reference/instructions.js +89 -89
  562. package/dist/reference.js +87 -87
  563. package/dist/repository-cache.js +81 -81
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +97 -97
  567. package/dist/rpc.js +86 -86
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +74 -74
  571. package/dist/session/compaction.js +133 -133
  572. package/dist/session/context.js +153 -153
  573. package/dist/session/diff.js +88 -88
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +214 -214
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +84 -84
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +77 -77
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +97 -97
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +7 -7
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +86 -86
  592. package/dist/session/prompt.js +105 -105
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +90 -90
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +224 -224
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +98 -98
  600. package/dist/session/runner/publish-llm-event.js +113 -113
  601. package/dist/session/runner/retry.js +2 -2
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +164 -164
  606. package/dist/session/shell.js +130 -130
  607. package/dist/session/skill.js +103 -103
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +73 -73
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +201 -201
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +157 -157
  615. package/dist/session/to-session-error.js +111 -111
  616. package/dist/session/transfer.js +210 -210
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +211 -211
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +132 -132
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +107 -107
  626. package/dist/skill.js +110 -110
  627. package/dist/snapshot.js +93 -93
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +122 -122
  632. package/dist/tool/plugin/edit.js +120 -120
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +124 -124
  635. package/dist/tool/plugin/grep.js +122 -122
  636. package/dist/tool/plugin/mcp-resource.js +117 -117
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +122 -122
  639. package/dist/tool/plugin/question.js +101 -101
  640. package/dist/tool/plugin/read.js +125 -125
  641. package/dist/tool/plugin/shell.js +208 -208
  642. package/dist/tool/plugin/skill.js +111 -111
  643. package/dist/tool/plugin/subagent.js +212 -212
  644. package/dist/tool/plugin/webfetch.js +110 -110
  645. package/dist/tool/plugin/websearch.js +112 -112
  646. package/dist/tool/plugin/write.js +122 -122
  647. package/dist/tool/read-filesystem.js +96 -96
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +12 -12
  651. package/dist/types/persistent-pty/daemon.d.ts +4 -4
  652. package/dist/types/persistent-pty/index.d.ts +2 -0
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +92 -92
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +91 -91
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +89 -89
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +76 -76
  676. package/dist/wellknown.js +81 -81
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +89 -89
  684. package/dist/worktree.js +98 -98
  685. package/package.json +10 -10
  686. package/dist/chunks/plugin-9pk6az91.js +0 -26
  687. package/dist/chunks/plugin-pjqdv965.js +0 -253
  688. /package/dist/chunks/{plugin-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{plugin-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{plugin-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{plugin-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{plugin-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{plugin-24dcb14g.js → agent-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{plugin-2710q6r3.js → agent-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{plugin-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{plugin-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{plugin-34c7v6d4.js → agent-34c7v6d4.js} +0 -0
  698. /package/dist/chunks/{plugin-359p4xyc.js → agent-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{plugin-3asan66x.js → agent-3asan66x.js} +0 -0
  700. /package/dist/chunks/{plugin-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{plugin-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{plugin-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{plugin-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{plugin-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{plugin-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{plugin-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{plugin-53557ph1.js → agent-53557ph1.js} +0 -0
  708. /package/dist/chunks/{plugin-550bvhaj.js → agent-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{plugin-6prwharc.js → agent-6prwharc.js} +0 -0
  710. /package/dist/chunks/{plugin-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{plugin-7m9af43g.js → agent-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{plugin-822emrt2.js → agent-822emrt2.js} +0 -0
  713. /package/dist/chunks/{plugin-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{plugin-8n3pysct.js → agent-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{plugin-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{plugin-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{plugin-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{plugin-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{plugin-af5trqkr.js → agent-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{plugin-afrmfg78.js → agent-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{plugin-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{plugin-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{plugin-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{plugin-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{plugin-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{plugin-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{plugin-d9fn303g.js → agent-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{plugin-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{plugin-dajrwvna.js → agent-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{plugin-dap0rakb.js → agent-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{plugin-df08tz66.js → agent-df08tz66.js} +0 -0
  732. /package/dist/chunks/{plugin-dy18nga0.js → agent-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{plugin-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{plugin-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{plugin-ec1grn59.js → agent-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{plugin-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{plugin-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{plugin-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{plugin-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{plugin-faypxj3z.js → agent-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{plugin-fd410y7t.js → agent-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{plugin-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{plugin-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{plugin-g86h250q.js → agent-g86h250q.js} +0 -0
  745. /package/dist/chunks/{plugin-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{plugin-gftt206x.js → agent-gftt206x.js} +0 -0
  747. /package/dist/chunks/{plugin-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{plugin-hk9envan.js → agent-hk9envan.js} +0 -0
  749. /package/dist/chunks/{plugin-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{plugin-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{plugin-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{plugin-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{plugin-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{plugin-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{plugin-mp448xyj.js → agent-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{plugin-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{plugin-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{plugin-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{plugin-njntx4h6.js → agent-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{plugin-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{plugin-q74kybfr.js → agent-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{plugin-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{plugin-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{plugin-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{plugin-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{plugin-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{plugin-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{plugin-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{plugin-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{plugin-w803qqfp.js → agent-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{plugin-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{plugin-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{plugin-wtztk69x.js → agent-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{plugin-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{plugin-x61499pn.js → agent-x61499pn.js} +0 -0
  776. /package/dist/chunks/{plugin-y44na4kk.js → agent-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{plugin-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{plugin-y8f7s663.js → agent-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{plugin-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{plugin-ym463w8f.js → agent-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{plugin-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{plugin-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID15,
3
- Info24,
2
+ ID10,
3
+ Info19,
4
4
  SessionSchema2
5
- } from "./plugin-btfhnvjh.js";
5
+ } from "./agent-my4zabxr.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./plugin-z5v4ffb3.js";
8
+ } from "./agent-z5v4ffb3.js";
9
9
  import {
10
10
  Service84,
11
11
  node88
12
- } from "./plugin-59t371j7.js";
12
+ } from "./agent-q3hqp1sp.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service83,
16
16
  node87
17
- } from "./plugin-r2s5mzj1.js";
17
+ } from "./agent-0tcn2edf.js";
18
18
  import {
19
- Service80,
20
- node84
21
- } from "./plugin-yy6k95dt.js";
19
+ Service81,
20
+ node85
21
+ } from "./agent-ee7hath9.js";
22
22
  import {
23
- Service47,
24
- node49
25
- } from "./plugin-2a6rn6yr.js";
23
+ Service45,
24
+ node47
25
+ } from "./agent-mx9vqzsb.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./plugin-ec1grn59.js";
28
+ } from "./agent-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./plugin-kb9j3d72.js";
31
+ } from "./agent-kb9j3d72.js";
32
32
  import {
33
33
  node48
34
- } from "./plugin-jagbr6h4.js";
34
+ } from "./agent-v1wz7cyc.js";
35
35
  import {
36
36
  current2
37
- } from "./plugin-0me0fk48.js";
37
+ } from "./agent-f6b7e72t.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./plugin-ydgym1xa.js";
40
+ } from "./agent-kbkg0dr4.js";
41
41
  import {
42
42
  Slug2
43
- } from "./plugin-gebd4c9n.js";
43
+ } from "./agent-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node32
47
- } from "./plugin-y7cqqg6m.js";
46
+ node39
47
+ } from "./agent-c4hxtsjn.js";
48
48
  import {
49
49
  Metadata2,
50
- node78
51
- } from "./plugin-7sjb06ew.js";
50
+ node52
51
+ } from "./agent-n1mmzv0t.js";
52
52
  import {
53
- NotFoundError10,
53
+ NotFoundError7,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./plugin-y5f3qdbg.js";
64
+ } from "./agent-ry082wg0.js";
65
65
  import {
66
- ListInput5,
67
- Service70,
68
- node72
69
- } from "./plugin-b6h23dgp.js";
66
+ ListInput4,
67
+ Service53,
68
+ node56
69
+ } from "./agent-nq59jwz9.js";
70
70
  import {
71
- Service52,
72
- node54
73
- } from "./plugin-w8zxs343.js";
71
+ Service55,
72
+ node58
73
+ } from "./agent-81q1psws.js";
74
74
  import {
75
- Service44,
76
- node47
77
- } from "./plugin-k4wmp9nh.js";
75
+ Service42,
76
+ node45
77
+ } from "./agent-vdd4vb6q.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./plugin-5t3nmthw.js";
80
+ } from "./agent-5t3nmthw.js";
81
81
  import {
82
- Service39,
83
- node42
84
- } from "./plugin-7x15szr3.js";
82
+ Service36,
83
+ node38
84
+ } from "./agent-d7hcd0ym.js";
85
85
  import {
86
86
  generate2
87
- } from "./plugin-zpd5qt32.js";
87
+ } from "./agent-zwywmq97.js";
88
88
  import {
89
89
  execute2
90
- } from "./plugin-9njedpex.js";
90
+ } from "./agent-bgwt1ext.js";
91
91
  import {
92
- Service75,
93
- node77
94
- } from "./plugin-xk6sbjp1.js";
92
+ Service47,
93
+ node49
94
+ } from "./agent-t0d6zw4z.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service28,
100
- node31
101
- } from "./plugin-g3khgvgp.js";
99
+ Service26,
100
+ node29
101
+ } from "./agent-5manh0gh.js";
102
102
  import {
103
- Service41,
104
- node44
105
- } from "./plugin-qvb3nf84.js";
103
+ Service62,
104
+ node65
105
+ } from "./agent-7s2tn799.js";
106
106
  import {
107
- make13
108
- } from "./plugin-cfymty4z.js";
107
+ make15
108
+ } from "./agent-chhwftq5.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./plugin-py01hhmc.js";
112
+ } from "./agent-pm3rvpnw.js";
113
113
  import {
114
114
  __export
115
- } from "./plugin-9rqn6x4v.js";
115
+ } from "./agent-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID15,
126
+ ID: () => ID10,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info24,
128
+ Info: () => Info19,
129
129
  ListAnchor: () => ListAnchor2,
130
130
  ListInput: () => ListInput3,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError10,
133
+ NotFoundError: () => NotFoundError7,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service27,
135
+ Service: () => Service25,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node30
141
+ node: () => node28
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput3 = ListInput5;
152
- class Service27 extends Context.Service()("@opencode/Session") {
151
+ var ListInput3 = ListInput4;
152
+ class Service25 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service27, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service84;
157
157
  const db = database.db;
158
158
  const bus = yield* Service83;
159
- const projects = yield* Service80;
160
- const execution = yield* Service44;
159
+ const projects = yield* Service81;
160
+ const execution = yield* Service42;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service39;
163
- const store = yield* Service70;
164
- const instances = yield* Service47;
165
- const moves = yield* Service28;
166
- const jobs = yield* Service52;
167
- const environments = yield* Service41;
168
- const locations = yield* Service75;
169
- const sessions = yield* make13();
162
+ const transport = yield* Service36;
163
+ const store = yield* Service53;
164
+ const instances = yield* Service45;
165
+ const moves = yield* Service26;
166
+ const jobs = yield* Service55;
167
+ const environments = yield* Service62;
168
+ const locations = yield* Service47;
169
+ const sessions = yield* make15();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service27.of({
171
+ const result = Service25.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
176
176
  return recorded;
177
177
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
178
178
  if (input.parentID && parent === undefined)
179
- return yield* new NotFoundError10({ sessionID: input.parentID });
179
+ return yield* new NotFoundError7({ sessionID: input.parentID });
180
180
  const location = parent?.location ?? input.location;
181
181
  if (location === undefined)
182
182
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service47, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service45, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
327
327
  });
328
328
  return result;
329
329
  }));
330
- var node30 = Node.makeGlobalNode({
331
- service: Service27,
330
+ var node28 = Node.makeGlobalNode({
331
+ service: Service25,
332
332
  layer,
333
333
  deps: [
334
- node54,
335
- node44,
334
+ node58,
335
+ node65,
336
336
  node88,
337
337
  node87,
338
- node84,
339
- node47,
340
- node42,
338
+ node85,
339
+ node45,
340
+ node38,
341
341
  llmClient2,
342
- node72,
343
- node49,
342
+ node56,
343
+ node47,
344
344
  node48,
345
- node31,
346
- node32,
347
- node77,
345
+ node29,
346
+ node39,
347
+ node49,
348
348
  FSUtil.node,
349
- node78
349
+ node52
350
350
  ]
351
351
  });
352
352
 
353
- export { ListAnchor2, ListInput3, Service27, node30, exports_session };
353
+ export { ListAnchor2, ListInput3, Service25, node28, exports_session };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./plugin-r2s5mzj1.js";
4
+ } from "./agent-0tcn2edf.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./plugin-rdw6cm16.js";
8
+ } from "./agent-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./plugin-k22b66k8.js";
11
+ } from "./agent-addxnjmp.js";
12
12
  import {
13
- ID8,
14
- Service62,
15
- node64,
16
- Event13
17
- } from "./plugin-5w1jn6g6.js";
13
+ ID14,
14
+ Service77,
15
+ node81,
16
+ Event18
17
+ } from "./agent-jjjc0chz.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./plugin-g0eqw7vj.js";
19
+ Service80,
20
+ node84
21
+ } from "./agent-2tfjmdh5.js";
22
22
  import {
23
23
  __export
24
- } from "./plugin-9rqn6x4v.js";
24
+ } from "./agent-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event12,
42
- ID: () => ID7,
43
- Info: () => Info15,
41
+ Event: () => Event17,
42
+ ID: () => ID13,
43
+ Info: () => Info22,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
- Request: () => Request2,
47
- Service: () => Service61,
46
+ Request: () => Request3,
47
+ Service: () => Service76,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node63,
57
+ node: () => node80,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event12 } from "@opencode/schema/provider";
72
- var ID7 = Provider.ID;
71
+ import { Event as Event17 } from "@opencode/schema/provider";
72
+ var ID13 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
75
75
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -225,13 +225,13 @@ function mergeHeaders2(base, overlay) {
225
225
  return result;
226
226
  }, new Map).values());
227
227
  }
228
- var Request2 = Provider.Request;
228
+ var Request3 = Provider.Request;
229
229
  var Compaction3 = Provider.Compaction;
230
230
  var Transport2 = Provider.Transport;
231
231
  var Settings2 = Provider.Settings;
232
- var Info15 = Provider.Info;
232
+ var Info22 = Provider.Info;
233
233
 
234
- class Service61 extends Context.Service()("@opencode/Provider") {
234
+ class Service76 extends Context.Service()("@opencode/Provider") {
235
235
  }
236
236
  var definitions = new WeakMap;
237
237
  function index(providerID, models) {
@@ -244,10 +244,10 @@ function index(providerID, models) {
244
244
  definitions.set(models, indexes);
245
245
  return result;
246
246
  }
247
- var layer = Layer.effect(Service61, Effect.gen(function* () {
247
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
248
248
  const bus = yield* Service83;
249
- const integrations = yield* Service62;
250
- const location = yield* Service79;
249
+ const integrations = yield* Service77;
250
+ const location = yield* Service80;
251
251
  const state = create3({
252
252
  name: "provider",
253
253
  initial: () => new Map,
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
258
258
  const current = records.get(id);
259
259
  if (current)
260
260
  return current;
261
- const added = { provider: Info15.empty(id), models: new Map };
261
+ const added = { provider: Info22.empty(id), models: new Map };
262
262
  records.set(id, added);
263
263
  maps.add(added.models);
264
264
  return added;
@@ -339,7 +339,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
339
339
  const available = Array.from(records.values()).filter((record) => {
340
340
  if (record.provider.activation === "disabled")
341
341
  return false;
342
- const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
342
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
343
343
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
344
344
  return false;
345
345
  if (record.provider.activation === "enabled")
@@ -365,8 +365,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
365
365
  location: { directory: location.directory, workspaceID: location.workspaceID }
366
366
  });
367
367
  });
368
- yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
369
- return Service61.of({
368
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
369
+ return Service76.of({
370
370
  transform: state.transform,
371
371
  reload: state.reload,
372
372
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -375,7 +375,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
375
375
  snapshot
376
376
  });
377
377
  }));
378
- var node63 = makeLocationNode({ service: Service61, layer, deps: [node87, node64, node83] });
378
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node84] });
379
379
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
380
380
  const module = yield* Effect.tryPromise({
381
381
  try: () => {
@@ -647,4 +647,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
647
647
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
648
648
  var decode = Schema2.decodeUnknownSync(Legacy);
649
649
 
650
- export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info15, Service61, node63, exports_provider3, Event12 };
650
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service76, node80, exports_provider3, Event17 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./plugin-5t3nmthw.js";
3
+ } from "./agent-5t3nmthw.js";
4
4
  import {
5
- Service58,
6
- node60
7
- } from "./plugin-qes05c22.js";
5
+ Service73,
6
+ node77
7
+ } from "./agent-bsn5q6aq.js";
8
8
  import {
9
9
  __export
10
- } from "./plugin-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
14
14
  __export(exports_generate, {
15
15
  Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service22,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer10,
20
- node: () => node25
17
+ Service: () => Service20,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer9,
20
+ node: () => node23
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
28
28
  }) {
29
29
  }
30
30
 
31
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
32
32
  message: Schema.String,
33
33
  service: Schema.optional(Schema.String)
34
34
  }) {
35
35
  }
36
36
 
37
- class Service22 extends Context.Service()("@opencode/Generate") {
37
+ class Service20 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer10 = Layer.effect(Service22, Effect.gen(function* () {
39
+ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service58;
41
+ const resolver = yield* Service73;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -48,7 +48,7 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
48
48
  "SessionRunnerModel.UnresolvedProviderVariablesError",
49
49
  "SessionRunnerModel.UnsupportedCompactionError"
50
50
  ], (error) => {
51
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
52
52
  return Effect.fail(mapped);
53
53
  }));
54
54
  if (!resolved)
@@ -59,21 +59,21 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
59
59
  model: resolved.model,
60
60
  prompt: input.prompt,
61
61
  http: { headers: { "x-opencode-session": SessionID.create() } }
62
- })).pipe(Effect.mapError((error) => new UnavailableError2({
62
+ })).pipe(Effect.mapError((error) => new UnavailableError3({
63
63
  message: error.message,
64
64
  service: resolved.ref.providerID
65
65
  })));
66
66
  return response.text;
67
67
  });
68
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
68
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service22.of({ text });
71
+ return Service20.of({ text });
72
72
  }));
73
- var node25 = makeLocationNode({
74
- service: Service22,
75
- layer: layer10,
76
- deps: [node60, llmClient2]
73
+ var node23 = makeLocationNode({
74
+ service: Service20,
75
+ layer: layer9,
76
+ deps: [node77, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError2, Service22, layer10, node25, exports_generate };
79
+ export { ModelSelectionError2, UnavailableError3, Service20, layer9, node23, exports_generate };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./plugin-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
- Service79
6
- } from "./plugin-g0eqw7vj.js";
5
+ Service80
6
+ } from "./agent-2tfjmdh5.js";
7
7
  import {
8
- Service15
9
- } from "./plugin-q553k2y0.js";
8
+ Service51
9
+ } from "./agent-g74z9j9z.js";
10
10
  import {
11
- Service7
12
- } from "./plugin-w224pj40.js";
11
+ Service11
12
+ } from "./agent-f717gdek.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./plugin-2a5m3afh.js";
15
+ } from "./agent-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -24,25 +24,25 @@ import {
24
24
  TextPage2,
25
25
  ListPage2,
26
26
  Service5
27
- } from "./plugin-n0qch2gr.js";
27
+ } from "./agent-frfw21hw.js";
28
28
  import {
29
29
  __export
30
- } from "./plugin-9rqn6x4v.js";
30
+ } from "./agent-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input10,
36
- Plugin: () => Plugin11,
35
+ Input: () => Input12,
36
+ Plugin: () => Plugin15,
37
37
  ReadTool: () => exports_read,
38
- name: () => name10,
39
- toModelContent: () => toModelContent5
38
+ name: () => name12,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name10 = "read";
45
+ var name12 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input10 = LocationInput;
56
+ var Input12 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin11 = {
58
+ var Plugin15 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
61
  const reader = yield* Service5;
62
- const access = yield* Service15;
63
- const sessionInstructions = yield* Service7;
62
+ const access = yield* Service51;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name10,
67
+ name: name12,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input10,
70
+ input: Input12,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin11 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent5(result.path, input.offset, result.output),
116
+ content: toModelContent6(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent5 = (path, offset, output) => {
149
+ var toModelContent6 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name10, Input10, Plugin11, toModelContent5, exports_read };
185
+ export { name12, Input12, Plugin15, toModelContent6, exports_read };