@opencode/core 0.0.0-dev-20717 → 0.0.0-dev-20718

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{bus-41cwz3p6.js → aisdk-05j2vfq8.js} +19 -19
  8. package/dist/chunks/{bus-a74vk8t0.js → aisdk-094ctrsg.js} +9 -9
  9. package/dist/chunks/{bus-f1k90085.js → aisdk-0kkjrqx1.js} +30 -30
  10. package/dist/chunks/{bus-4ngxe3th.js → aisdk-0mjfw0rd.js} +25 -25
  11. package/dist/chunks/{bus-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{bus-0vbcp93d.js → aisdk-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{bus-crqm33dp.js → aisdk-10zfs9v4.js} +47 -47
  14. package/dist/chunks/{bus-2ac6q9fr.js → aisdk-1169xqyh.js} +25 -25
  15. package/dist/chunks/{bus-dc7n4fmx.js → aisdk-12d6p297.js} +23 -23
  16. package/dist/chunks/{bus-gsqzrz8w.js → aisdk-13mc0h3d.js} +26 -26
  17. package/dist/chunks/{bus-n8849sdr.js → aisdk-14cg4zwm.js} +20 -20
  18. package/dist/chunks/{bus-21qwd7zh.js → aisdk-1a34xymg.js} +7 -7
  19. package/dist/chunks/{bus-yp2x3t23.js → aisdk-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{bus-zke0g2sf.js → aisdk-1d5zt5jt.js} +15 -15
  21. package/dist/chunks/{bus-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
  22. package/dist/chunks/aisdk-27sa8ph3.js +26 -0
  23. package/dist/chunks/{bus-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{bus-ftfsszrc.js → aisdk-2c4c8eb8.js} +40 -40
  25. package/dist/chunks/{bus-pdpp1bnv.js → aisdk-2cdv17s0.js} +16 -16
  26. package/dist/chunks/{bus-7dqw4kz8.js → aisdk-2k8khapm.js} +5 -5
  27. package/dist/chunks/{bus-jkt162fx.js → aisdk-2nrvvkjz.js} +32 -32
  28. package/dist/chunks/{bus-j045qakk.js → aisdk-2qw3ex0c.js} +9 -9
  29. package/dist/chunks/{bus-5w5p7qgm.js → aisdk-32fqvz19.js} +45 -45
  30. package/dist/chunks/{bus-snkf0wzq.js → aisdk-338jypc4.js} +22 -22
  31. package/dist/chunks/{bus-h2b79v29.js → aisdk-3cegwx68.js} +2 -2
  32. package/dist/chunks/{bus-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{bus-knxpcbk1.js → aisdk-3hdhfc6s.js} +13 -13
  34. package/dist/chunks/{bus-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{bus-xnkhzy4t.js → aisdk-3pkdw9ej.js} +13 -13
  36. package/dist/chunks/{bus-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{bus-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{bus-4g8499m9.js → aisdk-3z2pgn2e.js} +35 -35
  39. package/dist/chunks/{bus-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{bus-q63c569t.js → aisdk-405megzh.js} +22 -22
  41. package/dist/chunks/{bus-9an6z3zg.js → aisdk-40bve78s.js} +8 -8
  42. package/dist/chunks/{bus-k8hpw67k.js → aisdk-4a6jpjer.js} +5 -5
  43. package/dist/chunks/{bus-grnn7sex.js → aisdk-4e5ceejs.js} +29 -29
  44. package/dist/chunks/{bus-92swnv4m.js → aisdk-4e8vs6eh.js} +8 -8
  45. package/dist/chunks/{bus-6rxtg7gn.js → aisdk-4gqmja2c.js} +22 -22
  46. package/dist/chunks/{bus-dwmvx258.js → aisdk-4j6k3mdb.js} +11 -11
  47. package/dist/chunks/{bus-4z8sycdz.js → aisdk-4mse7y1r.js} +25 -25
  48. package/dist/chunks/{bus-ytzgz0qd.js → aisdk-4n7ky6ky.js} +4 -4
  49. package/dist/chunks/{bus-x2aynqqh.js → aisdk-4nj4bn9q.js} +9 -9
  50. package/dist/chunks/{bus-2ccvkpx1.js → aisdk-4ts7tf6z.js} +2 -2
  51. package/dist/chunks/{bus-c20khjev.js → aisdk-50mzsvk4.js} +21 -21
  52. package/dist/chunks/{bus-r94pvvab.js → aisdk-54ma36ye.js} +4 -4
  53. package/dist/chunks/{bus-apdsa737.js → aisdk-59ghbxbk.js} +58 -58
  54. package/dist/chunks/{bus-3trzjgwr.js → aisdk-5d46m1s1.js} +36 -36
  55. package/dist/chunks/{bus-w8re96tr.js → aisdk-5h2y2y6j.js} +25 -25
  56. package/dist/chunks/{bus-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{bus-9pa8tak9.js → aisdk-5pyjqqve.js} +2 -2
  58. package/dist/chunks/{bus-e3qxr5gk.js → aisdk-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{bus-bqszwq89.js → aisdk-5r3w98ry.js} +8 -8
  60. package/dist/chunks/{bus-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{bus-thka7k42.js → aisdk-5v05r06m.js} +3 -3
  62. package/dist/chunks/{bus-x8ba1gzy.js → aisdk-5xkk72ep.js} +10 -10
  63. package/dist/chunks/{bus-3pm9060n.js → aisdk-6147m9bn.js} +6 -6
  64. package/dist/chunks/{bus-sgp384a4.js → aisdk-67mfe1v3.js} +26 -26
  65. package/dist/chunks/{bus-jmqgqzta.js → aisdk-68v7wfjx.js} +7 -7
  66. package/dist/chunks/{bus-2x6wmvtw.js → aisdk-6b6b0p3x.js} +11 -11
  67. package/dist/chunks/{bus-wj3cgm7c.js → aisdk-6bct72er.js} +18 -18
  68. package/dist/chunks/{bus-37rfkxtg.js → aisdk-6gb2fxnc.js} +23 -23
  69. package/dist/chunks/{bus-7c08hygz.js → aisdk-6kgskxtw.js} +11 -11
  70. package/dist/chunks/{bus-hewsjq8z.js → aisdk-6wr5pqyy.js} +27 -27
  71. package/dist/chunks/{bus-6xb47vfp.js → aisdk-6xb47vfp.js} +1 -1
  72. package/dist/chunks/{bus-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{bus-x8yqvqn2.js → aisdk-7f35wzte.js} +31 -31
  74. package/dist/chunks/{bus-d62vewej.js → aisdk-7ptkxh7r.js} +15 -15
  75. package/dist/chunks/{bus-vz63xazc.js → aisdk-7q65g6rf.js} +16 -16
  76. package/dist/chunks/{bus-w2mrnr68.js → aisdk-7syps78g.js} +4 -4
  77. package/dist/chunks/{bus-03wzhvf1.js → aisdk-7tc3rzgd.js} +9 -9
  78. package/dist/chunks/{bus-f6gfhbzj.js → aisdk-7wg7867s.js} +23 -23
  79. package/dist/chunks/{bus-y6mhz57t.js → aisdk-80scg3y3.js} +4 -4
  80. package/dist/chunks/{bus-wk7y1wk7.js → aisdk-82xh11mn.js} +19 -19
  81. package/dist/chunks/{bus-1dvck2a7.js → aisdk-84h8c373.js} +2 -2
  82. package/dist/chunks/{bus-84txncab.js → aisdk-84txncab.js} +1 -1
  83. package/dist/chunks/{bus-n3q78mhp.js → aisdk-858snxx8.js} +6 -6
  84. package/dist/chunks/{bus-ndsx31w4.js → aisdk-85fnhgs1.js} +36 -36
  85. package/dist/chunks/{bus-3rtxz4nr.js → aisdk-89bb6baa.js} +8 -8
  86. package/dist/chunks/{bus-ejvnp2ks.js → aisdk-8cw6acet.js} +11 -11
  87. package/dist/chunks/{bus-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{bus-wg96wy5v.js → aisdk-8j21hf7j.js} +2 -2
  89. package/dist/chunks/{bus-0ffzpc2q.js → aisdk-8ka639ry.js} +4 -4
  90. package/dist/chunks/{bus-8m6m0r52.js → aisdk-8m6m0r52.js} +1 -1
  91. package/dist/chunks/{bus-ze83rx7h.js → aisdk-8r9ww22p.js} +21 -21
  92. package/dist/chunks/{bus-wdgfqfb8.js → aisdk-8vb1kfxm.js} +39 -39
  93. package/dist/chunks/{bus-tn2fka87.js → aisdk-8ye6c6xa.js} +45 -45
  94. package/dist/chunks/{bus-5ywnpb1q.js → aisdk-90qmze2t.js} +37 -37
  95. package/dist/chunks/{bus-j7bdx0mg.js → aisdk-9amd8k98.js} +19 -19
  96. package/dist/chunks/{bus-5z7krgsm.js → aisdk-9dg7gv22.js} +17 -17
  97. package/dist/chunks/{bus-2f3b10ch.js → aisdk-9dh32pzn.js} +54 -54
  98. package/dist/chunks/{bus-q6d53jre.js → aisdk-9eq5kwq7.js} +8 -8
  99. package/dist/chunks/{bus-rket6atq.js → aisdk-9n4785an.js} +18 -18
  100. package/dist/chunks/{bus-7bka8wt5.js → aisdk-9pnzhqc7.js} +3 -3
  101. package/dist/chunks/{bus-50ws1j4q.js → aisdk-9s9a6maz.js} +182 -182
  102. package/dist/chunks/aisdk-9sh4wc5j.js +18 -0
  103. package/dist/chunks/{bus-1s608d8d.js → aisdk-9skkajgp.js} +11 -11
  104. package/dist/chunks/{bus-t550f9t1.js → aisdk-9t7a50xb.js} +4 -4
  105. package/dist/chunks/{bus-g17byzt8.js → aisdk-a0bsrstn.js} +3 -3
  106. package/dist/chunks/{bus-4ew5rnj4.js → aisdk-a5wv1q3m.js} +13 -13
  107. package/dist/chunks/{bus-kzqbv2ef.js → aisdk-aae6qf80.js} +33 -33
  108. package/dist/chunks/{bus-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
  109. package/dist/chunks/{bus-dckjds39.js → aisdk-ae0txsc2.js} +37 -37
  110. package/dist/chunks/{bus-c57kr184.js → aisdk-ahbzt5yt.js} +27 -27
  111. package/dist/chunks/{bus-djfg9dqa.js → aisdk-ak966m7n.js} +23 -23
  112. package/dist/chunks/{bus-k4p30yx3.js → aisdk-axy7hhva.js} +22 -22
  113. package/dist/chunks/{bus-qygbw77c.js → aisdk-b3f8fkhc.js} +5 -5
  114. package/dist/chunks/{bus-47jkzegy.js → aisdk-b674v2dg.js} +5 -5
  115. package/dist/chunks/{bus-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{bus-wqgzkz37.js → aisdk-bsprd9wx.js} +9 -9
  117. package/dist/chunks/{bus-yh9hw8gt.js → aisdk-btkedg0r.js} +51 -51
  118. package/dist/chunks/{bus-j0crpdb9.js → aisdk-byfghf8b.js} +23 -23
  119. package/dist/chunks/{bus-g59t3z9x.js → aisdk-bymgkydd.js} +12 -12
  120. package/dist/chunks/{bus-r8afh34n.js → aisdk-c1tbcnkt.js} +44 -44
  121. package/dist/chunks/{bus-zj3vg3nr.js → aisdk-c3x7741y.js} +32 -32
  122. package/dist/chunks/{bus-jnffje0a.js → aisdk-c4swjyak.js} +9 -9
  123. package/dist/chunks/{bus-wcdqrb7q.js → aisdk-cbfarec0.js} +17 -17
  124. package/dist/chunks/{bus-gch621w7.js → aisdk-cbjgg9ej.js} +5 -5
  125. package/dist/chunks/{bus-k5p0xmg8.js → aisdk-ccwrtn9t.js} +32 -32
  126. package/dist/chunks/{bus-s6mj4d9f.js → aisdk-cg8cfg6z.js} +32 -32
  127. package/dist/chunks/{bus-1fcqmh0f.js → aisdk-cnsh48jf.js} +4 -4
  128. package/dist/chunks/{bus-4c536per.js → aisdk-cs3h3v80.js} +37 -37
  129. package/dist/chunks/{bus-4z58m4b4.js → aisdk-d2czbp48.js} +4 -4
  130. package/dist/chunks/{bus-hf9ehm1e.js → aisdk-d3bsz2ft.js} +24 -24
  131. package/dist/chunks/{bus-cwrzxn64.js → aisdk-d59k028k.js} +20 -20
  132. package/dist/chunks/{bus-k9ew0x4h.js → aisdk-d827s438.js} +25 -25
  133. package/dist/chunks/{bus-8428mbzp.js → aisdk-dc606gpm.js} +13 -13
  134. package/dist/chunks/{bus-2k8vvcse.js → aisdk-dkc4gvyb.js} +33 -33
  135. package/dist/chunks/{bus-y71avatq.js → aisdk-dpkg50ah.js} +4 -4
  136. package/dist/chunks/{bus-e1h55cs2.js → aisdk-dt6wnj9q.js} +11 -11
  137. package/dist/chunks/{bus-yfctmqzq.js → aisdk-dtmxbh2p.js} +23 -23
  138. package/dist/chunks/{bus-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{bus-06x8he3q.js → aisdk-embw8kgh.js} +4 -4
  140. package/dist/chunks/{bus-9s0ng0ae.js → aisdk-epag531p.js} +4 -4
  141. package/dist/chunks/{bus-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{bus-p37cw4rj.js → aisdk-eys57y9b.js} +8 -8
  143. package/dist/chunks/{bus-jvbg9edc.js → aisdk-f1smy17a.js} +20 -20
  144. package/dist/chunks/{bus-4adjf9qe.js → aisdk-f6ms68ht.js} +11 -11
  145. package/dist/chunks/{bus-71az546q.js → aisdk-f75zav2x.js} +2 -2
  146. package/dist/chunks/{bus-qr6f2pwv.js → aisdk-fpecnkgp.js} +7 -7
  147. package/dist/chunks/{bus-phveq2xn.js → aisdk-fshcdfd1.js} +9 -9
  148. package/dist/chunks/{bus-5k6y69wn.js → aisdk-fvt3t9ag.js} +15 -15
  149. package/dist/chunks/{bus-4ykyqmv9.js → aisdk-g67ghwv4.js} +24 -24
  150. package/dist/chunks/{bus-e0kgmy75.js → aisdk-g8ksfxxf.js} +18 -18
  151. package/dist/chunks/{bus-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{bus-8xp7mz7t.js → aisdk-geak4k47.js} +28 -28
  153. package/dist/chunks/{bus-0v9naeh7.js → aisdk-gebd7nce.js} +34 -34
  154. package/dist/chunks/{bus-t5ka509r.js → aisdk-gnfcjh5e.js} +12 -12
  155. package/dist/chunks/{bus-vvk5zfmw.js → aisdk-gqr0qac7.js} +21 -21
  156. package/dist/chunks/{bus-pb4zsb95.js → aisdk-gsh07107.js} +1 -1
  157. package/dist/chunks/{bus-8zxmwjep.js → aisdk-h010z3gc.js} +5 -5
  158. package/dist/chunks/{bus-pbyaj4br.js → aisdk-h45t1q73.js} +17 -17
  159. package/dist/chunks/{bus-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{bus-e375atp3.js → aisdk-hdnacwsd.js} +11 -11
  161. package/dist/chunks/{bus-0v822vvc.js → aisdk-hjjfw830.js} +3 -3
  162. package/dist/chunks/{bus-n90gr1mm.js → aisdk-hpz74jw5.js} +10 -10
  163. package/dist/chunks/{bus-tn2f5wk8.js → aisdk-hyfgp2gj.js} +23 -23
  164. package/dist/chunks/{bus-wm4vkbe2.js → aisdk-j0krdp1f.js} +3 -3
  165. package/dist/chunks/{bus-9t8z9rdd.js → aisdk-j1bwjtdy.js} +49 -49
  166. package/dist/chunks/{bus-sgn9eezn.js → aisdk-j3qy8zzr.js} +9 -9
  167. package/dist/chunks/{bus-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
  168. package/dist/chunks/{bus-8wr5kw0m.js → aisdk-jfweghsk.js} +22 -22
  169. package/dist/chunks/{bus-py3kkmfq.js → aisdk-jktqzjpa.js} +8 -8
  170. package/dist/chunks/{bus-rdber3y1.js → aisdk-jmj0fv2f.js} +31 -31
  171. package/dist/chunks/{bus-5ktns266.js → aisdk-jsr8nbtc.js} +16 -16
  172. package/dist/chunks/{bus-sstbnqm0.js → aisdk-jv8f1fdp.js} +95 -95
  173. package/dist/chunks/{bus-vfjhn2wd.js → aisdk-k0a3z2qz.js} +4 -4
  174. package/dist/chunks/{bus-xxndcd6m.js → aisdk-kb6gw2zp.js} +4 -4
  175. package/dist/chunks/{bus-9e5bzkjp.js → aisdk-kb9j3d72.js} +3 -3
  176. package/dist/chunks/{bus-5mc86df6.js → aisdk-kdwekf82.js} +4 -4
  177. package/dist/chunks/{bus-w2h15q85.js → aisdk-kjdm35cs.js} +5 -5
  178. package/dist/chunks/{bus-03sww6te.js → aisdk-kpkp6m3y.js} +11 -11
  179. package/dist/chunks/{bus-vatq0zec.js → aisdk-kq7tnyq1.js} +3 -3
  180. package/dist/chunks/{bus-sywdhydk.js → aisdk-kqrd183v.js} +11 -11
  181. package/dist/chunks/{bus-h54ekfxy.js → aisdk-kvtt08kh.js} +1 -1
  182. package/dist/chunks/{bus-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{bus-v96fb61g.js → aisdk-m3tsmga5.js} +11 -11
  184. package/dist/chunks/{bus-fj9gb212.js → aisdk-m55qy151.js} +10 -10
  185. package/dist/chunks/{bus-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{bus-mewra3jg.js → aisdk-mfjeqe8f.js} +24 -24
  187. package/dist/chunks/{bus-mfqp6xfm.js → aisdk-mfqp6xfm.js} +2 -2
  188. package/dist/chunks/{bus-gn2reamh.js → aisdk-mn8cz3nb.js} +10 -10
  189. package/dist/chunks/{bus-mhkvc446.js → aisdk-mvfsc1pv.js} +3 -3
  190. package/dist/chunks/{bus-msz6jcxw.js → aisdk-mzv0hta7.js} +22 -22
  191. package/dist/chunks/{bus-xm90a83n.js → aisdk-n48gz485.js} +32 -32
  192. package/dist/chunks/{bus-en9mxp96.js → aisdk-n8sna2wb.js} +9 -9
  193. package/dist/chunks/{bus-t0teqtp6.js → aisdk-nbrc9aa0.js} +6 -6
  194. package/dist/chunks/{bus-1hzxxycf.js → aisdk-ne0t6hxj.js} +5 -5
  195. package/dist/chunks/{bus-xadn7sc3.js → aisdk-nf8q49m4.js} +26 -26
  196. package/dist/chunks/{bus-dg9e8shs.js → aisdk-ng9xra76.js} +58 -58
  197. package/dist/chunks/{bus-1v3x8h5m.js → aisdk-njfztfhq.js} +13 -13
  198. package/dist/chunks/{bus-wf7jkce5.js → aisdk-nn0jcdjx.js} +90 -90
  199. package/dist/chunks/{bus-5dn96qcv.js → aisdk-nqvhmk1c.js} +5 -5
  200. package/dist/chunks/{bus-hqcv0nt6.js → aisdk-p48gy0gp.js} +73 -73
  201. package/dist/chunks/{bus-zbfyanxm.js → aisdk-p558d1j2.js} +8 -8
  202. package/dist/chunks/{bus-t78f7576.js → aisdk-p8rc01br.js} +25 -25
  203. package/dist/chunks/{bus-16h5vx33.js → aisdk-pcbf55sh.js} +11 -11
  204. package/dist/chunks/{bus-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{bus-g5nhetnh.js → aisdk-pjzpwaef.js} +8 -8
  206. package/dist/chunks/{bus-pknna89w.js → aisdk-pknna89w.js} +1 -1
  207. package/dist/chunks/{bus-ptfmnse7.js → aisdk-prht8xn4.js} +11 -11
  208. package/dist/chunks/{bus-50mfpd21.js → aisdk-pyg17xra.js} +25 -25
  209. package/dist/chunks/{bus-0j77ygfz.js → aisdk-q0xm7vwc.js} +6 -6
  210. package/dist/chunks/{bus-v0hecgst.js → aisdk-q9v66sme.js} +14 -14
  211. package/dist/chunks/{bus-grf59032.js → aisdk-qmbazkjd.js} +5 -5
  212. package/dist/chunks/{bus-qnc92qwc.js → aisdk-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{bus-6694p3b8.js → aisdk-qp1fnkgb.js} +20 -20
  214. package/dist/chunks/{bus-2t3mzhjr.js → aisdk-qp4nwdz3.js} +18 -18
  215. package/dist/chunks/{bus-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
  216. package/dist/chunks/{bus-zge5mp1t.js → aisdk-r0m4b8s8.js} +24 -24
  217. package/dist/chunks/{bus-2agezns5.js → aisdk-r100n5nc.js} +8 -8
  218. package/dist/chunks/{bus-2m8jawch.js → aisdk-r2dnqh6n.js} +4 -4
  219. package/dist/chunks/{bus-gd1azcth.js → aisdk-r2f95n35.js} +4 -4
  220. package/dist/chunks/{bus-5d607bsg.js → aisdk-r2m716tb.js} +9 -9
  221. package/dist/chunks/{bus-h79qd4dv.js → aisdk-r44petzp.js} +12 -12
  222. package/dist/chunks/{bus-t450s2gd.js → aisdk-rbrg03cy.js} +9 -9
  223. package/dist/chunks/{bus-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{bus-kctg07cb.js → aisdk-rexaqj00.js} +18 -18
  225. package/dist/chunks/{bus-8w469hvp.js → aisdk-rpj7en0j.js} +15 -15
  226. package/dist/chunks/aisdk-rwfgbrd2.js +253 -0
  227. package/dist/chunks/{bus-a2ew8a62.js → aisdk-ryr25ayn.js} +4 -4
  228. package/dist/chunks/{bus-78zj2w3x.js → aisdk-s00fnecv.js} +28 -28
  229. package/dist/chunks/{bus-ejxtpekp.js → aisdk-s5n8rxy8.js} +33 -33
  230. package/dist/chunks/{bus-fzk3mefm.js → aisdk-sdc1h1a9.js} +12 -12
  231. package/dist/chunks/{bus-bmssw0wc.js → aisdk-sqwtan2t.js} +11 -11
  232. package/dist/chunks/{bus-chc0kx6d.js → aisdk-svk60gjy.js} +5 -5
  233. package/dist/chunks/{bus-rcqmksdz.js → aisdk-sy3wpk96.js} +10 -10
  234. package/dist/chunks/{bus-cvh4a6ak.js → aisdk-sydgkmjh.js} +17 -17
  235. package/dist/chunks/{bus-3n9wzqh8.js → aisdk-sye3hfcy.js} +5 -5
  236. package/dist/chunks/{bus-mg4hhe4f.js → aisdk-t9ebzdva.js} +19 -19
  237. package/dist/chunks/{bus-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{bus-sxzvkvgj.js → aisdk-tcay1cqt.js} +6 -6
  239. package/dist/chunks/{bus-tcezcvh9.js → aisdk-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{bus-tdstcens.js → aisdk-tdstcens.js} +1 -1
  241. package/dist/chunks/{bus-5187rmdv.js → aisdk-tfanqrhs.js} +6 -6
  242. package/dist/chunks/{bus-h4gayt2r.js → aisdk-thathje8.js} +40 -40
  243. package/dist/chunks/{bus-vfqq47st.js → aisdk-trxcxm74.js} +13 -13
  244. package/dist/chunks/{bus-2w9zm6x6.js → aisdk-ty0fwvcb.js} +7 -7
  245. package/dist/chunks/{bus-2wwb7yfm.js → aisdk-tzmp54vm.js} +5 -5
  246. package/dist/chunks/{bus-85f8ybn1.js → aisdk-v0ewstpe.js} +40 -40
  247. package/dist/chunks/{bus-nct9s1hw.js → aisdk-v72hdzvn.js} +14 -14
  248. package/dist/chunks/{bus-0wqkrk39.js → aisdk-vde1hawv.js} +16 -16
  249. package/dist/chunks/{bus-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  250. package/dist/chunks/{bus-g21r4nge.js → aisdk-vrfdq27c.js} +15 -15
  251. package/dist/chunks/{bus-sya89326.js → aisdk-vwztch6z.js} +45 -45
  252. package/dist/chunks/{bus-143qq2q9.js → aisdk-vx3jgdek.js} +3 -3
  253. package/dist/chunks/{bus-y64r4fk7.js → aisdk-vz02fre1.js} +15 -15
  254. package/dist/chunks/{bus-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{bus-xfkkasph.js → aisdk-w19d8598.js} +5 -5
  256. package/dist/chunks/{bus-rdk08ed1.js → aisdk-w25bqsme.js} +27 -27
  257. package/dist/chunks/{bus-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{bus-w3jg838k.js → aisdk-w9vf9qqj.js} +9 -9
  259. package/dist/chunks/{bus-wd87259q.js → aisdk-wd87259q.js} +1 -1
  260. package/dist/chunks/{bus-w3w22yba.js → aisdk-wghqh80a.js} +19 -19
  261. package/dist/chunks/{bus-ch8h0cmv.js → aisdk-wkjw17bc.js} +8 -8
  262. package/dist/chunks/{bus-ytnhha0b.js → aisdk-wq6aswdf.js} +11 -11
  263. package/dist/chunks/{bus-89vjf07m.js → aisdk-wr7ps67x.js} +5 -5
  264. package/dist/chunks/{bus-40kgmzpw.js → aisdk-x0h4vpz5.js} +15 -15
  265. package/dist/chunks/{bus-mxvxcxwy.js → aisdk-x661k3y3.js} +4 -4
  266. package/dist/chunks/{bus-afh8ba5a.js → aisdk-xd47ttqy.js} +36 -36
  267. package/dist/chunks/{bus-xkntkrq7.js → aisdk-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{bus-y5hsvsvt.js → aisdk-xkw5kz5c.js} +15 -15
  269. package/dist/chunks/{bus-chkwe70y.js → aisdk-xm0sfyx2.js} +11 -11
  270. package/dist/chunks/{bus-qxjc9qry.js → aisdk-xyafkbt0.js} +3 -3
  271. package/dist/chunks/{bus-gd0tnyjc.js → aisdk-xybefm6f.js} +1 -1
  272. package/dist/chunks/{bus-a1g1snd0.js → aisdk-xzc90kzk.js} +4 -4
  273. package/dist/chunks/{bus-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{bus-fw687wex.js → aisdk-yddkn4c7.js} +16 -16
  275. package/dist/chunks/{bus-9zpzztxj.js → aisdk-yrcn8vah.js} +323 -323
  276. package/dist/chunks/{bus-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{bus-v7808e1w.js → aisdk-z1v05bgy.js} +11 -11
  278. package/dist/chunks/{bus-448v1y6b.js → aisdk-z24sbaqw.js} +13 -13
  279. package/dist/chunks/{bus-t14r6jk1.js → aisdk-z4syh5yy.js} +3 -3
  280. package/dist/chunks/{bus-b1g5rpv7.js → aisdk-zc1nd8v7.js} +10 -10
  281. package/dist/chunks/{bus-yck8tg9e.js → aisdk-zdm1px9r.js} +12 -12
  282. package/dist/chunks/{bus-m9retq26.js → aisdk-ze8sn7h2.js} +5 -5
  283. package/dist/chunks/{bus-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{bus-zxq2ej10.js → aisdk-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 +84 -84
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -100
  293. package/dist/config/plugin/agent.js +117 -117
  294. package/dist/config/plugin/command.js +206 -206
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +135 -135
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +117 -117
  300. package/dist/config/plugin/instruction.js +91 -91
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +118 -118
  304. package/dist/config/plugin/provider.js +117 -117
  305. package/dist/config/plugin/reference.js +119 -119
  306. package/dist/config/plugin/shell.js +117 -117
  307. package/dist/config/plugin/skill-file.js +103 -103
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +117 -117
  310. package/dist/config/plugin/source.js +114 -114
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +120 -120
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +67 -67
  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.gen.js +50 -50
  386. package/dist/database/migration.js +52 -52
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +77 -77
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -94
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +96 -96
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +75 -75
  410. package/dist/file-access.js +105 -105
  411. package/dist/file-mutation.js +95 -95
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +215 -215
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +104 -104
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +105 -105
  424. package/dist/form.js +83 -83
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +106 -106
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +100 -100
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +88 -88
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +88 -88
  457. package/dist/job.js +79 -79
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -74
  460. package/dist/location-activity.js +135 -135
  461. package/dist/location-lifecycle.js +108 -108
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +88 -88
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +92 -92
  467. package/dist/mcp/index.js +110 -110
  468. package/dist/mcp/instructions.js +130 -130
  469. package/dist/mcp/oauth.js +79 -79
  470. package/dist/mcp/stdio.js +91 -91
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +100 -100
  473. package/dist/model-resolver.js +99 -99
  474. package/dist/model.js +101 -101
  475. package/dist/models-dev.js +108 -108
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +114 -114
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +87 -87
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -76
  485. package/dist/plugin/agent.js +75 -75
  486. package/dist/plugin/command.js +101 -101
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -212
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -97
  494. package/dist/plugin/module.js +116 -116
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +103 -103
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -95
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -113
  506. package/dist/plugin/provider/digitalocean.js +94 -94
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +96 -96
  510. package/dist/plugin/provider/gitlab.js +94 -94
  511. package/dist/plugin/provider/google-vertex.js +91 -91
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +79 -79
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/local.js +114 -114
  516. package/dist/plugin/provider/modal.js +93 -93
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai.js +96 -96
  520. package/dist/plugin/provider/opencode.js +98 -98
  521. package/dist/plugin/provider/openrouter.js +92 -92
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +80 -80
  524. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  525. package/dist/plugin/provider/sap-ai-core.js +92 -92
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  528. package/dist/plugin/provider/vercel.js +91 -91
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +92 -92
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +87 -87
  541. package/dist/plugin/vcs/hg.js +87 -87
  542. package/dist/plugin/verbosity.js +94 -94
  543. package/dist/plugin/warming.js +115 -115
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +221 -221
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +89 -89
  555. package/dist/provider.js +100 -100
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +100 -100
  559. package/dist/reference/instructions.js +90 -90
  560. package/dist/reference.js +88 -88
  561. package/dist/repository-cache.js +82 -82
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +98 -98
  565. package/dist/rpc.js +87 -87
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +3 -3
  568. package/dist/session/command.js +75 -75
  569. package/dist/session/compaction.js +134 -134
  570. package/dist/session/context.js +154 -154
  571. package/dist/session/diff.js +89 -89
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +218 -218
  576. package/dist/session/execution.js +128 -128
  577. package/dist/session/generate.js +155 -155
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +89 -89
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +80 -80
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +98 -98
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +121 -121
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +130 -130
  589. package/dist/session/projector.js +87 -87
  590. package/dist/session/prompt.js +106 -106
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +91 -91
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +99 -99
  598. package/dist/session/runner/publish-llm-event.js +114 -114
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +126 -126
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +165 -165
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +106 -106
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +74 -74
  608. package/dist/session/store.js +86 -86
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +204 -204
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +156 -156
  613. package/dist/session/to-session-error.js +112 -112
  614. package/dist/session/transfer.js +214 -214
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +212 -212
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +108 -108
  624. package/dist/skill.js +111 -111
  625. package/dist/snapshot.js +94 -94
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +129 -129
  630. package/dist/tool/plugin/edit.js +121 -121
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +119 -119
  633. package/dist/tool/plugin/grep.js +125 -125
  634. package/dist/tool/plugin/mcp-resource.js +118 -118
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +123 -123
  637. package/dist/tool/plugin/question.js +106 -106
  638. package/dist/tool/plugin/read.js +126 -126
  639. package/dist/tool/plugin/shell.js +205 -205
  640. package/dist/tool/plugin/skill.js +112 -112
  641. package/dist/tool/plugin/subagent.js +213 -213
  642. package/dist/tool/plugin/webfetch.js +111 -111
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +123 -123
  645. package/dist/tool/read-filesystem.js +101 -101
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +16 -16
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +93 -93
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +94 -94
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +90 -90
  670. package/dist/websearch.js +83 -83
  671. package/dist/wellknown/plugin.js +77 -77
  672. package/dist/wellknown.js +80 -80
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +81 -81
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +90 -90
  680. package/dist/worktree.js +99 -99
  681. package/package.json +8 -8
  682. package/dist/chunks/bus-dxctn4km.js +0 -26
  683. package/dist/chunks/bus-efjadhkr.js +0 -253
  684. package/dist/chunks/bus-rap9a73h.js +0 -18
  685. /package/dist/chunks/{bus-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{bus-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{bus-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{bus-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{bus-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{bus-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{bus-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{bus-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{bus-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{bus-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{bus-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{bus-3asan66x.js → aisdk-3asan66x.js} +0 -0
  697. /package/dist/chunks/{bus-3t0ybcrp.js → aisdk-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{bus-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{bus-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{bus-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{bus-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{bus-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{bus-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{bus-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{bus-53557ph1.js → aisdk-53557ph1.js} +0 -0
  706. /package/dist/chunks/{bus-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{bus-6prwharc.js → aisdk-6prwharc.js} +0 -0
  708. /package/dist/chunks/{bus-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{bus-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{bus-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{bus-822emrt2.js → aisdk-822emrt2.js} +0 -0
  712. /package/dist/chunks/{bus-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
  713. /package/dist/chunks/{bus-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{bus-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{bus-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{bus-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{bus-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{bus-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{bus-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{bus-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{bus-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{bus-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{bus-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{bus-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{bus-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{bus-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{bus-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{bus-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{bus-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{bus-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{bus-df08tz66.js → aisdk-df08tz66.js} +0 -0
  732. /package/dist/chunks/{bus-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{bus-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{bus-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{bus-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{bus-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{bus-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{bus-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{bus-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{bus-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{bus-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{bus-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{bus-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{bus-g86h250q.js → aisdk-g86h250q.js} +0 -0
  745. /package/dist/chunks/{bus-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{bus-gftt206x.js → aisdk-gftt206x.js} +0 -0
  747. /package/dist/chunks/{bus-hk9envan.js → aisdk-hk9envan.js} +0 -0
  748. /package/dist/chunks/{bus-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{bus-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{bus-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{bus-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{bus-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{bus-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{bus-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{bus-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{bus-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{bus-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{bus-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{bus-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{bus-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{bus-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{bus-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{bus-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{bus-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{bus-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{bus-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{bus-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{bus-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{bus-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{bus-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{bus-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{bus-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{bus-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{bus-x61499pn.js → aisdk-x61499pn.js} +0 -0
  775. /package/dist/chunks/{bus-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{bus-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{bus-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{bus-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{bus-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{bus-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{bus-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./bus-88xbtdfr.js";
3
+ } from "./aisdk-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./bus-e3qxr5gk.js";
5
+ load4
6
+ } from "./aisdk-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./aisdk-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event13,
14
+ Event: () => Event11,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service64,
16
+ Options: () => Options7,
17
+ Service: () => Service56,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
22
  layer: () => layer22,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node66,
25
+ node: () => node58,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event13 = { Updated: FileSystem.Event.Changed };
36
+ var Event11 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load5());
39
+ return createWrapper(load4());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service64 extends Context.Service()("@opencode/Watcher") {
60
+ class Service56 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
65
+ var layer22 = (options) => Layer.effect(Service56, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service64.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service56.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service64.of({ subscribe });
108
+ return Service56.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
131
131
  });
132
132
  const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service64).subscribe,
134
+ subscribe: Context.get(context, Service56).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service64, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service56, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured8(options) {
168
- return makeGlobalNode({ service: Service64, layer: layer22(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service56, layer: layer22(options), deps: [nativeNode2] });
169
169
  }
170
- var node66 = configured8();
170
+ var node58 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event13, hasNativeBinding2, Native3, Options8, Service64, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured8, node66, exports_watcher };
190
+ export { Event11, hasNativeBinding2, Native3, Options7, Service56, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured7, node58, exports_watcher };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service62
3
- } from "./bus-50mfpd21.js";
2
+ Service45
3
+ } from "./aisdk-pyg17xra.js";
4
4
  import {
5
- Service42
6
- } from "./bus-sxzvkvgj.js";
5
+ Service48
6
+ } from "./aisdk-tcay1cqt.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./bus-rap9a73h.js";
9
+ } from "./aisdk-9sh4wc5j.js";
10
10
  import {
11
11
  __export
12
- } from "./bus-9rqn6x4v.js";
12
+ } from "./aisdk-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service42;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service62), instances.provide(input.session));
22
+ const instances = yield* Service48;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./bus-3w5fmr99.js";
3
+ } from "./aisdk-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./aisdk-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin27,
11
+ Plugin: () => Plugin24,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin27 = define({
18
+ var Plugin24 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin27, exports_tool_input_repair };
123
+ export { Plugin24, exports_tool_input_repair };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./bus-g59t3z9x.js";
2
+ Service83,
3
+ node87
4
+ } from "./aisdk-bymgkydd.js";
5
5
  import {
6
6
  Key4,
7
7
  External2,
8
- Service80,
9
- node84
10
- } from "./bus-x8yqvqn2.js";
8
+ Service78,
9
+ node82
10
+ } from "./aisdk-7f35wzte.js";
11
11
  import {
12
12
  create3
13
- } from "./bus-rdw6cm16.js";
13
+ } from "./aisdk-rdw6cm16.js";
14
14
  import {
15
15
  key2
16
- } from "./bus-mxvxcxwy.js";
16
+ } from "./aisdk-x661k3y3.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./bus-zge5mp1t.js";
20
+ } from "./aisdk-r0m4b8s8.js";
21
21
  import {
22
22
  __export
23
- } from "./bus-9rqn6x4v.js";
23
+ } from "./aisdk-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -35,18 +35,18 @@ __export(exports_integration, {
35
35
  CommandAttemptStatus: () => CommandAttemptStatus2,
36
36
  CommandMethod: () => CommandMethod2,
37
37
  EnvMethod: () => EnvMethod2,
38
- Event: () => Event18,
38
+ Event: () => Event17,
39
39
  ExternalMethod: () => ExternalMethod2,
40
- ID: () => ID12,
41
- Info: () => Info21,
40
+ ID: () => ID13,
41
+ Info: () => Info22,
42
42
  Integration: () => exports_integration,
43
43
  KeyMethod: () => KeyMethod2,
44
44
  Method: () => Method2,
45
45
  MethodID: () => MethodID2,
46
46
  OAuthMethod: () => OAuthMethod2,
47
47
  Ref: () => Ref3,
48
- Service: () => Service70,
49
- node: () => node73
48
+ Service: () => Service76,
49
+ node: () => node80
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -68,8 +68,8 @@ import {
68
68
  import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/unstable/process";
71
- import { Event as Event18 } from "@opencode/schema/integration";
72
- var ID12 = Integration.ID;
71
+ import { Event as Event17 } from "@opencode/schema/integration";
72
+ var ID13 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
75
75
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
78
78
  var ExternalMethod2 = Integration.ExternalMethod;
79
79
  var EnvMethod2 = Integration.EnvMethod;
80
80
  var Method2 = Integration.Method;
81
- var Info21 = Integration.Info;
81
+ var Info22 = Integration.Info;
82
82
  var Attempt2 = Integration.Attempt;
83
83
  var AttemptStatus2 = Integration.AttemptStatus;
84
84
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
101
101
  }
102
102
 
103
103
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
104
- integrationID: ID12,
104
+ integrationID: ID13,
105
105
  attemptID: AttemptID2
106
106
  }) {
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service70 extends Context.Service()("@opencode/Integration") {
110
+ class Service76 extends Context.Service()("@opencode/Integration") {
111
111
  }
112
112
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
- var layer = Layer.effect(Service70, Effect.gen(function* () {
116
- const credentials = yield* Service80;
117
- const bus = yield* Service81;
115
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
116
+ const credentials = yield* Service78;
117
+ const bus = yield* Service83;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
120
120
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
214
214
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
215
215
  return [...credentials, ...env];
216
216
  };
217
- const project = (entry, connections) => Info21.make({
217
+ const project = (entry, connections) => Info22.make({
218
218
  id: entry.ref.id,
219
219
  name: entry.ref.name,
220
220
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
447
447
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
448
448
  return CommandAttempt2.make({ attemptID, time });
449
449
  });
450
- return Service70.of({
450
+ return Service76.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node73 = makeLocationNode({
633
- service: Service70,
632
+ var node80 = makeLocationNode({
633
+ service: Service76,
634
634
  layer,
635
- deps: [node84, node85, AppProcess.node]
635
+ deps: [node82, node87, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service70, node73, exports_integration, Event18 };
638
+ export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event17 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./aisdk-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: () => Service60,
10
- node: () => node62
9
+ Service: () => Service73,
10
+ node: () => node77
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 Service60 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service73 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service60, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service73, 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(Service60, 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 Service60.of({ has, register, trigger });
57
+ return Service73.of({ has, register, trigger });
58
58
  }));
59
- var node62 = makeLocationNode({ service: Service60, layer, deps: [] });
59
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
60
60
 
61
- export { Service60, node62, exports_hooks };
61
+ export { Service73, node77, exports_hooks };
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service81
3
- } from "./bus-g59t3z9x.js";
2
+ Service83
3
+ } from "./aisdk-bymgkydd.js";
4
4
  import {
5
- Service34
6
- } from "./bus-s6mj4d9f.js";
5
+ Service61
6
+ } from "./aisdk-cg8cfg6z.js";
7
7
  import {
8
- Error3
9
- } from "./bus-4z8sycdz.js";
8
+ Error5
9
+ } from "./aisdk-4mse7y1r.js";
10
10
  import {
11
- Service37
12
- } from "./bus-ejvnp2ks.js";
11
+ Service65
12
+ } from "./aisdk-8cw6acet.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./bus-wqgzkz37.js";
15
+ } from "./aisdk-bsprd9wx.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./bus-ec1grn59.js";
18
+ } from "./aisdk-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./bus-3n9wzqh8.js";
21
+ } from "./aisdk-sye3hfcy.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./bus-tdstcens.js";
24
+ } from "./aisdk-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./bus-thka7k42.js";
27
+ } from "./aisdk-5v05r06m.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./bus-qygbw77c.js";
30
+ } from "./aisdk-b3f8fkhc.js";
31
31
  import {
32
32
  __export
33
- } from "./bus-9rqn6x4v.js";
33
+ } from "./aisdk-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make8
40
+ make: () => make9
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make8 = Effect.gen(function* () {
55
- const bus = yield* Service81;
54
+ var make9 = Effect.gen(function* () {
55
+ const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service34;
58
- const toolOutput = yield* Service37;
57
+ const snapshots = yield* Service61;
58
+ const toolOutput = yield* Service65;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error5({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
216
216
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
217
217
  };
218
218
 
219
- export { Outcome2, make8, exports_step };
219
+ export { Outcome2, make9, exports_step };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service63
4
- } from "./bus-r8afh34n.js";
3
+ Service55
4
+ } from "./aisdk-c1tbcnkt.js";
5
5
  import {
6
- Service34
7
- } from "./bus-s6mj4d9f.js";
6
+ Service61
7
+ } from "./aisdk-cg8cfg6z.js";
8
8
  import {
9
9
  observe2
10
- } from "./bus-qsdy395h.js";
10
+ } from "./aisdk-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./aisdk-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin7
19
+ Plugin: () => Plugin9
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin7 = define({
23
+ var Plugin9 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service63;
27
- const snapshot = yield* Service34;
26
+ const config = yield* Service55;
27
+ const snapshot = yield* Service61;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin7 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin7, exports_snapshot };
38
+ export { Plugin9, exports_snapshot };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./bus-3w5fmr99.js";
7
+ } from "./aisdk-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./bus-qxjc9qry.js";
11
+ } from "./aisdk-xyafkbt0.js";
12
12
  import {
13
13
  create3
14
- } from "./bus-rdw6cm16.js";
14
+ } from "./aisdk-rdw6cm16.js";
15
15
  import {
16
- Service44,
17
- node46
18
- } from "./bus-w3jg838k.js";
16
+ Service64,
17
+ node68
18
+ } from "./aisdk-w9vf9qqj.js";
19
19
  import {
20
- Service60,
21
- node62
22
- } from "./bus-92swnv4m.js";
20
+ Service73,
21
+ node77
22
+ } from "./aisdk-4e8vs6eh.js";
23
23
  import {
24
24
  match2
25
- } from "./bus-y1fvbwt7.js";
25
+ } from "./aisdk-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./bus-9rqn6x4v.js";
28
+ } from "./aisdk-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content2,
35
- Error: () => Error3,
34
+ Content: () => Content3,
35
+ Error: () => Error5,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service43,
38
+ Service: () => Service63,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node45
41
+ node: () => node67
42
42
  });
43
- import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service43 extends Context.Service()("@opencode/Tool") {
54
+ class Service63 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service43, Effect.gen(function* () {
57
- const hooks = yield* Service60;
58
- const image = yield* Service44;
56
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
57
+ const hooks = yield* Service73;
58
+ const image = yield* Service64;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service43.of({
187
+ return Service63.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node45 = makeLocationNode({
277
- service: Service43,
276
+ var node67 = makeLocationNode({
277
+ service: Service63,
278
278
  layer,
279
- deps: [node62, node46]
279
+ deps: [node77, node68]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service43, node45, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service63, node67, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service73
3
- } from "./bus-hf9ehm1e.js";
2
+ Service58
3
+ } from "./aisdk-d3bsz2ft.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./aisdk-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service73;
24
+ const environment = yield* Service58;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;