@opencode/core 0.0.0-dev-19682 → 0.0.0-dev-19683

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{persistent-pty-n6twqwrr.js → aisdk-native-00j0dh26.js} +3 -3
  8. package/dist/chunks/{persistent-pty-26k5bknw.js → aisdk-native-06dxphr1.js} +4 -4
  9. package/dist/chunks/{persistent-pty-ky788973.js → aisdk-native-09956swx.js} +11 -11
  10. package/dist/chunks/{persistent-pty-7e0b5fpv.js → aisdk-native-0a14krkj.js} +13 -13
  11. package/dist/chunks/{persistent-pty-0f9afca0.js → aisdk-native-0f9afca0.js} +2 -2
  12. package/dist/chunks/{persistent-pty-0zbmh4se.js → aisdk-native-0g09j3nb.js} +34 -34
  13. package/dist/chunks/{persistent-pty-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{persistent-pty-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{persistent-pty-v8x5s6qt.js → aisdk-native-0qemd7z6.js} +47 -47
  16. package/dist/chunks/{persistent-pty-rya04ard.js → aisdk-native-0yv7vnxb.js} +28 -28
  17. package/dist/chunks/{persistent-pty-wgcwk5gf.js → aisdk-native-115hbv0n.js} +15 -15
  18. package/dist/chunks/{persistent-pty-gddc0fts.js → aisdk-native-16hwt5r8.js} +57 -57
  19. package/dist/chunks/{persistent-pty-jt0mfgqw.js → aisdk-native-18xw5b3r.js} +47 -47
  20. package/dist/chunks/{persistent-pty-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{persistent-pty-dase69n4.js → aisdk-native-1khh3dgh.js} +24 -24
  22. package/dist/chunks/{persistent-pty-tp9yp7n5.js → aisdk-native-1s1yk029.js} +42 -42
  23. package/dist/chunks/{persistent-pty-gxq6akdt.js → aisdk-native-1teps6y3.js} +4 -4
  24. package/dist/chunks/{persistent-pty-56gdpj1q.js → aisdk-native-1ygqh575.js} +9 -9
  25. package/dist/chunks/{persistent-pty-hgehe5qr.js → aisdk-native-21fjxxq6.js} +10 -10
  26. package/dist/chunks/{persistent-pty-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
  27. package/dist/chunks/{persistent-pty-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
  28. package/dist/chunks/{persistent-pty-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{persistent-pty-4drgpw32.js → aisdk-native-2cmv458r.js} +5 -5
  30. package/dist/chunks/{persistent-pty-bmqzgjgb.js → aisdk-native-2gbh0fha.js} +25 -25
  31. package/dist/chunks/{persistent-pty-0xp5hpj0.js → aisdk-native-2nkaynk5.js} +31 -31
  32. package/dist/chunks/{persistent-pty-ddcn1th9.js → aisdk-native-2ybfqxjc.js} +24 -24
  33. package/dist/chunks/{persistent-pty-4kzetxh1.js → aisdk-native-32nb2s9m.js} +17 -17
  34. package/dist/chunks/{persistent-pty-bbctgmqj.js → aisdk-native-3a7ehprh.js} +3 -3
  35. package/dist/chunks/{persistent-pty-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{persistent-pty-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{persistent-pty-pk54j106.js → aisdk-native-3jphrg1a.js} +32 -32
  38. package/dist/chunks/{persistent-pty-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{persistent-pty-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{persistent-pty-xk76jmgb.js → aisdk-native-3vdfxtgs.js} +3 -3
  41. package/dist/chunks/{persistent-pty-c78bbtc9.js → aisdk-native-3w2b2yj4.js} +5 -5
  42. package/dist/chunks/{persistent-pty-vmwh049b.js → aisdk-native-3zgzsr0q.js} +6 -6
  43. package/dist/chunks/{persistent-pty-2eegacq4.js → aisdk-native-4a0nv7mx.js} +8 -8
  44. package/dist/chunks/{persistent-pty-f6f6yxds.js → aisdk-native-4c02e3a4.js} +3 -3
  45. package/dist/chunks/{persistent-pty-e3ej8st1.js → aisdk-native-50t98bj2.js} +17 -17
  46. package/dist/chunks/{persistent-pty-57ez7d0k.js → aisdk-native-57ez7d0k.js} +2 -2
  47. package/dist/chunks/{persistent-pty-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
  48. package/dist/chunks/{persistent-pty-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
  49. package/dist/chunks/{persistent-pty-rf0ac1nd.js → aisdk-native-64121yjq.js} +19 -19
  50. package/dist/chunks/{persistent-pty-mnmpf8vs.js → aisdk-native-6480rn39.js} +11 -11
  51. package/dist/chunks/{persistent-pty-669tq793.js → aisdk-native-669tq793.js} +1 -1
  52. package/dist/chunks/{persistent-pty-g5g08czv.js → aisdk-native-68bdaj6y.js} +10 -10
  53. package/dist/chunks/{persistent-pty-xz5jgbdk.js → aisdk-native-68k76m1k.js} +9 -9
  54. package/dist/chunks/{persistent-pty-y56ehv6b.js → aisdk-native-6hjx5zpb.js} +9 -9
  55. package/dist/chunks/aisdk-native-6kdq0pjd.js +4 -0
  56. package/dist/chunks/{persistent-pty-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
  57. package/dist/chunks/{persistent-pty-y3g69tt1.js → aisdk-native-6n56vpse.js} +27 -27
  58. package/dist/chunks/{persistent-pty-3zc93ghn.js → aisdk-native-6rf7f5jd.js} +22 -22
  59. package/dist/chunks/{persistent-pty-zwyvjxyb.js → aisdk-native-6w67has8.js} +5 -5
  60. package/dist/chunks/{persistent-pty-gb7dj5em.js → aisdk-native-6z7z12yj.js} +36 -36
  61. package/dist/chunks/{persistent-pty-r5x6zcsm.js → aisdk-native-73tb2d7t.js} +3 -3
  62. package/dist/chunks/{persistent-pty-qq0enmay.js → aisdk-native-76jm940e.js} +20 -20
  63. package/dist/chunks/{persistent-pty-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{persistent-pty-wbyzgfj3.js → aisdk-native-7c30dffs.js} +22 -22
  65. package/dist/chunks/{persistent-pty-2k8khapm.js → aisdk-native-7dqw4kz8.js} +5 -5
  66. package/dist/chunks/{persistent-pty-q8dvbymb.js → aisdk-native-7e0n63vf.js} +23 -23
  67. package/dist/chunks/{persistent-pty-bzhwnh4p.js → aisdk-native-7krekesg.js} +30 -30
  68. package/dist/chunks/{persistent-pty-bscb95cy.js → aisdk-native-7w3s9kd0.js} +4 -4
  69. package/dist/chunks/{persistent-pty-9g2dhd49.js → aisdk-native-87sjyc5f.js} +15 -15
  70. package/dist/chunks/{persistent-pty-0m8ssbne.js → aisdk-native-88jxqscj.js} +10 -10
  71. package/dist/chunks/{persistent-pty-e550c21h.js → aisdk-native-88ykc3s8.js} +18 -18
  72. package/dist/chunks/{persistent-pty-8xfqr98k.js → aisdk-native-8awfgv52.js} +14 -14
  73. package/dist/chunks/{persistent-pty-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{persistent-pty-ax36eyar.js → aisdk-native-8hbfdwcy.js} +4 -4
  75. package/dist/chunks/{persistent-pty-wn348gvk.js → aisdk-native-8m0chse6.js} +35 -35
  76. package/dist/chunks/{persistent-pty-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
  77. package/dist/chunks/{persistent-pty-xxg060p8.js → aisdk-native-8y1b1xx2.js} +11 -11
  78. package/dist/chunks/{persistent-pty-fds3vh5r.js → aisdk-native-92k45pvj.js} +6 -6
  79. package/dist/chunks/{persistent-pty-kh2xt8yc.js → aisdk-native-96x7zdnn.js} +22 -22
  80. package/dist/chunks/{persistent-pty-vpy6tv1g.js → aisdk-native-9abfm80s.js} +18 -18
  81. package/dist/chunks/{persistent-pty-8kf7y4ht.js → aisdk-native-9gt9xvgh.js} +11 -11
  82. package/dist/chunks/{persistent-pty-tpw6cwsb.js → aisdk-native-9hn6k4tm.js} +8 -8
  83. package/dist/chunks/{persistent-pty-vmgq4x8b.js → aisdk-native-9jwxq161.js} +2 -2
  84. package/dist/chunks/{persistent-pty-fr1268wp.js → aisdk-native-9sjy1xft.js} +20 -20
  85. package/dist/chunks/{persistent-pty-e2ky9s5t.js → aisdk-native-9wh35tzk.js} +47 -47
  86. package/dist/chunks/{persistent-pty-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
  87. package/dist/chunks/{persistent-pty-34rkz0x9.js → aisdk-native-a46v4e4v.js} +7 -7
  88. package/dist/chunks/{persistent-pty-qa0ka09q.js → aisdk-native-a7csp2mw.js} +2 -2
  89. package/dist/chunks/{persistent-pty-90rrdtsa.js → aisdk-native-a9jcekkd.js} +9 -9
  90. package/dist/chunks/{persistent-pty-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
  91. package/dist/chunks/{persistent-pty-1drb93k1.js → aisdk-native-atrw5sbr.js} +32 -32
  92. package/dist/chunks/{persistent-pty-rdt39d18.js → aisdk-native-atz937d5.js} +30 -30
  93. package/dist/chunks/{persistent-pty-mz25dwn3.js → aisdk-native-az4g7yjb.js} +26 -26
  94. package/dist/chunks/{persistent-pty-0tvcf6qn.js → aisdk-native-b3w3f3fm.js} +24 -24
  95. package/dist/chunks/{persistent-pty-fvy1mc4q.js → aisdk-native-b5j16w9d.js} +12 -12
  96. package/dist/chunks/{persistent-pty-26bg82qa.js → aisdk-native-b6dhfaq6.js} +11 -11
  97. package/dist/chunks/{persistent-pty-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{persistent-pty-ck5kwbgm.js → aisdk-native-b9g40zgd.js} +16 -16
  99. package/dist/chunks/{persistent-pty-hpbxecpz.js → aisdk-native-ba3991h0.js} +32 -32
  100. package/dist/chunks/{persistent-pty-z8rhdvzk.js → aisdk-native-bab4jsc6.js} +20 -20
  101. package/dist/chunks/{persistent-pty-cw2220fx.js → aisdk-native-bnzkcavh.js} +37 -37
  102. package/dist/chunks/{persistent-pty-ke2aez33.js → aisdk-native-bpwm8rb1.js} +301 -301
  103. package/dist/chunks/{persistent-pty-2zmnbmev.js → aisdk-native-bym8k2q4.js} +18 -18
  104. package/dist/chunks/{persistent-pty-b97cbvw3.js → aisdk-native-bz85s9hh.js} +1 -1
  105. package/dist/chunks/{persistent-pty-5vb3py7h.js → aisdk-native-c6phvjqp.js} +4 -4
  106. package/dist/chunks/{persistent-pty-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
  107. package/dist/chunks/{persistent-pty-d48be562.js → aisdk-native-cjks21kp.js} +5 -5
  108. package/dist/chunks/{persistent-pty-bha4atvq.js → aisdk-native-cq37gk0t.js} +4 -4
  109. package/dist/chunks/{persistent-pty-qmqgtz8f.js → aisdk-native-cwa6csj7.js} +9 -9
  110. package/dist/chunks/{persistent-pty-83d2wykz.js → aisdk-native-cwq8nmtd.js} +20 -20
  111. package/dist/chunks/{persistent-pty-tmdzsscp.js → aisdk-native-d101js13.js} +19 -19
  112. package/dist/chunks/{persistent-pty-a50z0fpr.js → aisdk-native-d6er668x.js} +13 -13
  113. package/dist/chunks/{persistent-pty-h0b9xjk8.js → aisdk-native-d6h9vrqt.js} +5 -5
  114. package/dist/chunks/{persistent-pty-771mw8n5.js → aisdk-native-d9cxwk5k.js} +74 -74
  115. package/dist/chunks/{persistent-pty-9jvshbgc.js → aisdk-native-dbnsaed8.js} +28 -28
  116. package/dist/chunks/{persistent-pty-r98e92ep.js → aisdk-native-dfe8djrf.js} +4 -4
  117. package/dist/chunks/{persistent-pty-embw8kgh.js → aisdk-native-dhmh7aw6.js} +4 -4
  118. package/dist/chunks/{persistent-pty-rgfqswwp.js → aisdk-native-dj7e4mff.js} +5 -5
  119. package/dist/chunks/{persistent-pty-t2tcessw.js → aisdk-native-dn7561av.js} +23 -23
  120. package/dist/chunks/{persistent-pty-pt4q81m1.js → aisdk-native-e576cz19.js} +4 -4
  121. package/dist/chunks/{persistent-pty-r7pgccbm.js → aisdk-native-e99pjtb3.js} +30 -30
  122. package/dist/chunks/{persistent-pty-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{persistent-pty-w8hnngn5.js → aisdk-native-ef88rrmz.js} +12 -12
  124. package/dist/chunks/{persistent-pty-677phc5j.js → aisdk-native-eh5yz98j.js} +8 -8
  125. package/dist/chunks/{persistent-pty-v606rqvb.js → aisdk-native-em3f3zkt.js} +27 -27
  126. package/dist/chunks/{persistent-pty-hsv3rq22.js → aisdk-native-er424j15.js} +4 -4
  127. package/dist/chunks/{persistent-pty-4n4k0cnh.js → aisdk-native-esp4ax25.js} +4 -4
  128. package/dist/chunks/{persistent-pty-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{persistent-pty-e2wwkkr3.js → aisdk-native-f1h6hjy5.js} +28 -28
  130. package/dist/chunks/{persistent-pty-magykp64.js → aisdk-native-f3ngv102.js} +4 -4
  131. package/dist/chunks/{persistent-pty-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
  132. package/dist/chunks/{persistent-pty-sbrnn11p.js → aisdk-native-fj40dq2k.js} +4 -4
  133. package/dist/chunks/{persistent-pty-w6sjcj00.js → aisdk-native-fkv0s007.js} +41 -41
  134. package/dist/chunks/{persistent-pty-ry3rwstb.js → aisdk-native-fs4x7456.js} +9 -9
  135. package/dist/chunks/{persistent-pty-1atzs1aw.js → aisdk-native-fvghqctd.js} +10 -10
  136. package/dist/chunks/{persistent-pty-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
  137. package/dist/chunks/{persistent-pty-bf44fs7q.js → aisdk-native-fxqcjp4y.js} +22 -22
  138. package/dist/chunks/{persistent-pty-hesrcs9n.js → aisdk-native-g17fnnhe.js} +18 -18
  139. package/dist/chunks/{persistent-pty-tebckzj7.js → aisdk-native-g9kf27qg.js} +9 -9
  140. package/dist/chunks/{persistent-pty-kg4jxx0b.js → aisdk-native-gd2xe63m.js} +11 -11
  141. package/dist/chunks/{persistent-pty-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{persistent-pty-6f4jyr9n.js → aisdk-native-gfww71ry.js} +1 -1
  143. package/dist/chunks/{persistent-pty-7pjh2c00.js → aisdk-native-ggxh3msc.js} +20 -20
  144. package/dist/chunks/{persistent-pty-8cnzmmsd.js → aisdk-native-gj4qp5ev.js} +23 -23
  145. package/dist/chunks/{persistent-pty-t68jr2fk.js → aisdk-native-gp1abar7.js} +17 -17
  146. package/dist/chunks/{persistent-pty-d43tgzm4.js → aisdk-native-gr1f03ws.js} +9 -9
  147. package/dist/chunks/{persistent-pty-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{persistent-pty-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{persistent-pty-x2bhsfx5.js → aisdk-native-h11rgf29.js} +69 -69
  150. package/dist/chunks/{persistent-pty-1ftd87y6.js → aisdk-native-h16eh2cg.js} +14 -14
  151. package/dist/chunks/{persistent-pty-sxwb65hc.js → aisdk-native-h2f7hf79.js} +24 -24
  152. package/dist/chunks/{persistent-pty-44h5tttr.js → aisdk-native-h6r3nrb9.js} +4 -4
  153. package/dist/chunks/{persistent-pty-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{persistent-pty-3a3m4psf.js → aisdk-native-h94hje80.js} +15 -15
  155. package/dist/chunks/aisdk-native-hcp8xqw6.js +247 -0
  156. package/dist/chunks/{persistent-pty-cwk6dc0f.js → aisdk-native-hd6qev3f.js} +17 -17
  157. package/dist/chunks/{persistent-pty-ep6z9mt6.js → aisdk-native-hdthj1pw.js} +5 -5
  158. package/dist/chunks/{persistent-pty-1fdf6jkm.js → aisdk-native-hejrs7ps.js} +4 -4
  159. package/dist/chunks/{persistent-pty-5zf9zmc3.js → aisdk-native-hev6f6cv.js} +7 -7
  160. package/dist/chunks/{persistent-pty-8gyk9vq5.js → aisdk-native-hgqdqc69.js} +4 -4
  161. package/dist/chunks/{persistent-pty-scr9tq7r.js → aisdk-native-hngy6k3e.js} +6 -6
  162. package/dist/chunks/{persistent-pty-jv01nqvq.js → aisdk-native-hnr5yq9h.js} +5 -5
  163. package/dist/chunks/{persistent-pty-m31hrvtp.js → aisdk-native-hqxaqnsz.js} +13 -13
  164. package/dist/chunks/{persistent-pty-ehjgfrb8.js → aisdk-native-ht0ph52s.js} +26 -26
  165. package/dist/chunks/{persistent-pty-gg4a0jgp.js → aisdk-native-hw5w4egb.js} +27 -27
  166. package/dist/chunks/{persistent-pty-18sxed07.js → aisdk-native-hw8p7939.js} +36 -36
  167. package/dist/chunks/{persistent-pty-cpy6gm2a.js → aisdk-native-j15mfg1p.js} +4 -4
  168. package/dist/chunks/{persistent-pty-pea6h7py.js → aisdk-native-j1r486kk.js} +7 -7
  169. package/dist/chunks/{persistent-pty-5by067t8.js → aisdk-native-j47mgn54.js} +4 -4
  170. package/dist/chunks/{persistent-pty-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
  171. package/dist/chunks/{persistent-pty-rvayqjwn.js → aisdk-native-jc9s7gf6.js} +19 -19
  172. package/dist/chunks/{persistent-pty-9cyc6z1w.js → aisdk-native-jf1jvezk.js} +10 -10
  173. package/dist/chunks/{persistent-pty-7j2qha59.js → aisdk-native-jhpaar4x.js} +8 -8
  174. package/dist/chunks/{persistent-pty-k3gnzxs0.js → aisdk-native-jppvw2tx.js} +5 -5
  175. package/dist/chunks/{persistent-pty-afm11xz0.js → aisdk-native-k3c624dm.js} +19 -14
  176. package/dist/chunks/{persistent-pty-gypqxzd7.js → aisdk-native-k44b8f6f.js} +9 -9
  177. package/dist/chunks/{persistent-pty-44ke2mar.js → aisdk-native-k9kj6xed.js} +6 -6
  178. package/dist/chunks/{persistent-pty-jsed32gb.js → aisdk-native-kccbwwm6.js} +26 -26
  179. package/dist/chunks/{persistent-pty-17es1da5.js → aisdk-native-kfg3nz9r.js} +23 -23
  180. package/dist/chunks/{persistent-pty-4fpwq1r9.js → aisdk-native-kgcyjstq.js} +3 -3
  181. package/dist/chunks/{persistent-pty-sf2e06tm.js → aisdk-native-knr6p7a1.js} +169 -169
  182. package/dist/chunks/{persistent-pty-4vf6h4mv.js → aisdk-native-kwy4afdt.js} +8 -8
  183. package/dist/chunks/{persistent-pty-f2njkax9.js → aisdk-native-kzc5k3kj.js} +7 -7
  184. package/dist/chunks/{persistent-pty-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{persistent-pty-rhzgsha5.js → aisdk-native-m7nbb49h.js} +24 -24
  186. package/dist/chunks/{persistent-pty-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{persistent-pty-vpscksex.js → aisdk-native-md454ze3.js} +32 -32
  188. package/dist/chunks/{persistent-pty-vhg8gbw9.js → aisdk-native-mgz011jm.js} +7 -7
  189. package/dist/chunks/{persistent-pty-xbry3q9d.js → aisdk-native-mnc31gpg.js} +7 -7
  190. package/dist/chunks/{persistent-pty-xy1te82j.js → aisdk-native-mtax4y4w.js} +6 -6
  191. package/dist/chunks/{persistent-pty-8rx2gh2n.js → aisdk-native-mza6s6hg.js} +81 -81
  192. package/dist/chunks/{persistent-pty-akan8yn4.js → aisdk-native-n082d93f.js} +11 -11
  193. package/dist/chunks/{persistent-pty-fzvmjdr3.js → aisdk-native-n08t6ze5.js} +13 -13
  194. package/dist/chunks/{persistent-pty-xeqcm4dq.js → aisdk-native-n60s5vft.js} +5 -5
  195. package/dist/chunks/{persistent-pty-kedanpwc.js → aisdk-native-n8twdh81.js} +22 -22
  196. package/dist/chunks/{persistent-pty-vsrt67qk.js → aisdk-native-nh7mhm8v.js} +5 -5
  197. package/dist/chunks/{persistent-pty-jak50wjt.js → aisdk-native-nhww9bhn.js} +29 -29
  198. package/dist/chunks/{persistent-pty-4ttbd9rb.js → aisdk-native-npjtxnbs.js} +19 -19
  199. package/dist/chunks/{persistent-pty-pcawhjwq.js → aisdk-native-p0z2qksq.js} +295 -295
  200. package/dist/chunks/{persistent-pty-99jk88nh.js → aisdk-native-p8bevgsj.js} +42 -42
  201. package/dist/chunks/{persistent-pty-tvysf4y4.js → aisdk-native-pf2e8y0d.js} +5 -5
  202. package/dist/chunks/{persistent-pty-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{persistent-pty-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
  204. package/dist/chunks/{persistent-pty-9r4twygd.js → aisdk-native-pm220jya.js} +29 -29
  205. package/dist/chunks/{persistent-pty-nq7qbqzc.js → aisdk-native-pnv527nz.js} +9 -9
  206. package/dist/chunks/{persistent-pty-fpfkm27p.js → aisdk-native-pwwerkbj.js} +13 -13
  207. package/dist/chunks/{persistent-pty-fype0rw8.js → aisdk-native-q2024qw3.js} +11 -11
  208. package/dist/chunks/{persistent-pty-vbx9nkth.js → aisdk-native-q65r789c.js} +15 -15
  209. package/dist/chunks/{persistent-pty-y02q0mz5.js → aisdk-native-q6q6aknj.js} +10 -10
  210. package/dist/chunks/{persistent-pty-e7z9zthm.js → aisdk-native-qbgpcm8y.js} +11 -11
  211. package/dist/chunks/{persistent-pty-kszyjgag.js → aisdk-native-qgcr32z5.js} +13 -13
  212. package/dist/chunks/{persistent-pty-65e72azk.js → aisdk-native-qghhqzkx.js} +5 -5
  213. package/dist/chunks/{persistent-pty-gamcf2tt.js → aisdk-native-qj07q2eg.js} +33 -33
  214. package/dist/chunks/{persistent-pty-f3a1m4jg.js → aisdk-native-qrdq1prv.js} +10 -10
  215. package/dist/chunks/{persistent-pty-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
  216. package/dist/chunks/{persistent-pty-e5gwvkqs.js → aisdk-native-r81gss8s.js} +7 -7
  217. package/dist/chunks/aisdk-native-rap9a73h.js +18 -0
  218. package/dist/chunks/{persistent-pty-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{persistent-pty-eaj1djv9.js → aisdk-native-rhjbct0v.js} +8 -8
  220. package/dist/chunks/{persistent-pty-7rqzqf2y.js → aisdk-native-rrgzyjaj.js} +5 -5
  221. package/dist/chunks/{persistent-pty-0d1bsqa1.js → aisdk-native-s4k2cmb5.js} +13 -13
  222. package/dist/chunks/{persistent-pty-fp9xmcy3.js → aisdk-native-s86dqrf8.js} +8 -8
  223. package/dist/chunks/{persistent-pty-ghdbx2at.js → aisdk-native-sk3v0q87.js} +13 -13
  224. package/dist/chunks/{persistent-pty-p1zb2z5r.js → aisdk-native-skjgnpnj.js} +14 -14
  225. package/dist/chunks/{persistent-pty-5cmxdwv8.js → aisdk-native-skyymkrr.js} +3 -3
  226. package/dist/chunks/{persistent-pty-s7cyq3j7.js → aisdk-native-swmbf78h.js} +4 -4
  227. package/dist/chunks/{persistent-pty-w6tpnshf.js → aisdk-native-sythwh0s.js} +6 -6
  228. package/dist/chunks/{persistent-pty-p91ayak9.js → aisdk-native-t1cbfw6a.js} +7 -7
  229. package/dist/chunks/{persistent-pty-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{persistent-pty-jbz8x4nc.js → aisdk-native-tba18gcj.js} +33 -33
  231. package/dist/chunks/{persistent-pty-bw0vgseb.js → aisdk-native-tc6qcdy5.js} +8 -8
  232. package/dist/chunks/{persistent-pty-tcay1cqt.js → aisdk-native-tcay1cqt.js} +1 -1
  233. package/dist/chunks/{persistent-pty-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{persistent-pty-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
  235. package/dist/chunks/{persistent-pty-n4x3txqd.js → aisdk-native-tf0wxgc3.js} +16 -16
  236. package/dist/chunks/{persistent-pty-6ng8rhkc.js → aisdk-native-tkjpgj67.js} +12 -12
  237. package/dist/chunks/{persistent-pty-0457sjwy.js → aisdk-native-ttkvv5bq.js} +11 -11
  238. package/dist/chunks/{persistent-pty-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
  239. package/dist/chunks/{persistent-pty-m07kesbd.js → aisdk-native-vd6jm2yd.js} +31 -31
  240. package/dist/chunks/{persistent-pty-zqew8r2r.js → aisdk-native-vep9a8b1.js} +15 -15
  241. package/dist/chunks/{persistent-pty-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
  242. package/dist/chunks/{persistent-pty-npsagvvz.js → aisdk-native-vjhr626e.js} +8 -8
  243. package/dist/chunks/{persistent-pty-kj36yjv0.js → aisdk-native-vpv3g2a7.js} +9 -9
  244. package/dist/chunks/{persistent-pty-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{persistent-pty-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{persistent-pty-an66st8b.js → aisdk-native-wb3p2xcb.js} +14 -14
  247. package/dist/chunks/{persistent-pty-egja3w3k.js → aisdk-native-wbtqks6c.js} +11 -11
  248. package/dist/chunks/{persistent-pty-2ca164mb.js → aisdk-native-wc0j5gyx.js} +6 -6
  249. package/dist/chunks/{persistent-pty-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
  250. package/dist/chunks/{persistent-pty-x8d4tdmm.js → aisdk-native-wkag27sj.js} +46 -46
  251. package/dist/chunks/{persistent-pty-53g11zbg.js → aisdk-native-wr33kjtx.js} +1 -1
  252. package/dist/chunks/{persistent-pty-4xmqhafq.js → aisdk-native-wrabmwcn.js} +19 -19
  253. package/dist/chunks/{persistent-pty-mzhzy1pb.js → aisdk-native-wsck3bd6.js} +13 -13
  254. package/dist/chunks/{persistent-pty-c5gn303e.js → aisdk-native-x0511brf.js} +4 -4
  255. package/dist/chunks/{persistent-pty-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{persistent-pty-e4zvn0y8.js → aisdk-native-x3sqx4k7.js} +9 -9
  257. package/dist/chunks/{persistent-pty-29ekt46m.js → aisdk-native-x4bjtptf.js} +26 -26
  258. package/dist/chunks/{persistent-pty-77z07hfr.js → aisdk-native-xbv6w661.js} +5 -5
  259. package/dist/chunks/{persistent-pty-xfkkasph.js → aisdk-native-xfkkasph.js} +1 -1
  260. package/dist/chunks/{persistent-pty-1vp2wv45.js → aisdk-native-xnjb55qs.js} +24 -24
  261. package/dist/chunks/{persistent-pty-5tpy2fbk.js → aisdk-native-xxy1bhm1.js} +10 -10
  262. package/dist/chunks/{persistent-pty-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{persistent-pty-xrzs32wx.js → aisdk-native-y3cfv4n4.js} +35 -35
  264. package/dist/chunks/{persistent-pty-3gmdw0js.js → aisdk-native-y6cd6ah2.js} +10 -10
  265. package/dist/chunks/{persistent-pty-709mss9f.js → aisdk-native-y6kxd9cb.js} +20 -20
  266. package/dist/chunks/{persistent-pty-dpkg50ah.js → aisdk-native-y71avatq.js} +4 -4
  267. package/dist/chunks/{persistent-pty-erk99hyj.js → aisdk-native-y7nsxf6r.js} +51 -51
  268. package/dist/chunks/aisdk-native-y817ngn0.js +26 -0
  269. package/dist/chunks/{persistent-pty-7xnpcceb.js → aisdk-native-ydehfash.js} +32 -32
  270. package/dist/chunks/{persistent-pty-47bndgm5.js → aisdk-native-yfdx3v3q.js} +42 -42
  271. package/dist/chunks/{persistent-pty-3chrvcfn.js → aisdk-native-yhsb8ghp.js} +14 -14
  272. package/dist/chunks/{persistent-pty-nrp0dgk2.js → aisdk-native-ymtrgr5e.js} +19 -19
  273. package/dist/chunks/{persistent-pty-yp2x3t23.js → aisdk-native-yp2x3t23.js} +1 -1
  274. package/dist/chunks/{persistent-pty-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{persistent-pty-yrznvahk.js → aisdk-native-yrznvahk.js} +2 -2
  276. package/dist/chunks/{persistent-pty-68tr05pn.js → aisdk-native-yvgpa5e3.js} +39 -39
  277. package/dist/chunks/{persistent-pty-t8tppdbr.js → aisdk-native-yy7hzrx1.js} +20 -20
  278. package/dist/chunks/{persistent-pty-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{persistent-pty-z63w68vq.js → aisdk-native-z63w68vq.js} +2 -2
  280. package/dist/chunks/{persistent-pty-bjff6841.js → aisdk-native-zdr1f95n.js} +22 -22
  281. package/dist/chunks/{persistent-pty-cacw0tx2.js → aisdk-native-zeh8ztgw.js} +11 -11
  282. package/dist/chunks/{persistent-pty-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{persistent-pty-fxbmv06w.js → aisdk-native-zetf5mxq.js} +13 -13
  284. package/dist/chunks/{persistent-pty-98s8e1rw.js → aisdk-native-zgth59m1.js} +8 -8
  285. package/dist/chunks/{persistent-pty-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{persistent-pty-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +124 -124
  296. package/dist/config/plugin/command.js +213 -213
  297. package/dist/config/plugin/compaction.js +159 -159
  298. package/dist/config/plugin/compatibility.js +140 -140
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +122 -122
  304. package/dist/config/plugin/mcp.js +131 -131
  305. package/dist/config/plugin/policy.js +122 -122
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +124 -124
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +143 -143
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +125 -125
  313. package/dist/config/plugin/tool-output.js +124 -124
  314. package/dist/config/plugin/websearch.js +123 -123
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +123 -123
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +84 -84
  321. package/dist/database/database.js +69 -69
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  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 +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +359 -359
  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 +92 -92
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  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 +73 -73
  410. package/dist/file-access.js +103 -103
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.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/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +224 -224
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +92 -92
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +13 -13
  425. package/dist/filesystem.js +93 -93
  426. package/dist/form.js +83 -83
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +86 -86
  429. package/dist/generate.js +94 -94
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +98 -98
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +1 -1
  454. package/dist/instance.js +352 -352
  455. package/dist/instruction-discovery.js +72 -72
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +76 -76
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +70 -70
  463. package/dist/location-activity.js +134 -134
  464. package/dist/location-mutation.js +103 -103
  465. package/dist/location-service-map.js +85 -85
  466. package/dist/location-services.js +353 -353
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +90 -90
  469. package/dist/mcp/index.js +101 -101
  470. package/dist/mcp/instructions.js +125 -125
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +89 -89
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +98 -98
  475. package/dist/model-resolver.js +95 -95
  476. package/dist/model.js +99 -99
  477. package/dist/models-dev.js +100 -100
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +81 -81
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +112 -112
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +85 -85
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +103 -103
  488. package/dist/plugin/command.js +100 -100
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +217 -217
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +328 -328
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +95 -95
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +101 -101
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  501. package/dist/plugin/provider/azure.js +121 -121
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +118 -118
  507. package/dist/plugin/provider/digitalocean.js +92 -92
  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 +92 -92
  512. package/dist/plugin/provider/gitlab.js +90 -90
  513. package/dist/plugin/provider/google-vertex.js +89 -89
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +121 -121
  517. package/dist/plugin/provider/modal.js +91 -91
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +121 -121
  520. package/dist/plugin/provider/openai.js +93 -93
  521. package/dist/plugin/provider/opencode.js +92 -92
  522. package/dist/plugin/provider/openrouter.js +90 -90
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  526. package/dist/plugin/provider/sap-ai-core.js +90 -90
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +89 -89
  531. package/dist/plugin/provider/vllm.js +121 -121
  532. package/dist/plugin/provider/xai.js +90 -90
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +140 -140
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +347 -347
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +85 -85
  542. package/dist/plugin/vcs/hg.js +85 -85
  543. package/dist/plugin/warming.js +120 -120
  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 +6 -6
  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 +228 -228
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +83 -83
  555. package/dist/provider.js +100 -100
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +97 -97
  560. package/dist/reference/instructions.js +88 -88
  561. package/dist/reference.js +90 -90
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +94 -94
  566. package/dist/rpc.js +85 -85
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +133 -133
  570. package/dist/session/context.js +149 -149
  571. package/dist/session/diff.js +87 -87
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +220 -220
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +150 -150
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +83 -83
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +76 -76
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +96 -96
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +118 -118
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +125 -125
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +104 -104
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +89 -89
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +229 -229
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +93 -93
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +113 -113
  600. package/dist/session/runner/step.js +125 -125
  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 +171 -171
  604. package/dist/session/shell.js +137 -137
  605. package/dist/session/skill.js +102 -102
  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 +209 -209
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +155 -155
  613. package/dist/session/to-session-error.js +110 -110
  614. package/dist/session/transfer.js +219 -219
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  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 +9 -9
  621. package/dist/shell.js +139 -139
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +106 -106
  624. package/dist/skill.js +109 -109
  625. package/dist/snapshot.js +92 -92
  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 +122 -122
  630. package/dist/tool/plugin/edit.js +119 -119
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +123 -123
  633. package/dist/tool/plugin/grep.js +119 -119
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +121 -121
  636. package/dist/tool/plugin/question.js +100 -100
  637. package/dist/tool/plugin/read.js +124 -124
  638. package/dist/tool/plugin/shell.js +214 -214
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +218 -218
  641. package/dist/tool/plugin/webfetch.js +111 -111
  642. package/dist/tool/plugin/websearch.js +113 -113
  643. package/dist/tool/plugin/write.js +119 -119
  644. package/dist/tool/read-filesystem.js +99 -99
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +14 -14
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +3 -3
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +3 -3
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +2 -2
  666. package/dist/v1/config/migrate.js +91 -91
  667. package/dist/v1/config/permission.js +3 -3
  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/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/variant.js +90 -90
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +86 -86
  677. package/dist/websearch.js +81 -81
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +78 -78
  680. package/dist/workspace/driver.js +3 -3
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +75 -75
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +8 -8
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +88 -88
  687. package/dist/worktree.js +97 -97
  688. package/package.json +8 -8
  689. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  690. package/dist/chunks/persistent-pty-c1q333ww.js +0 -26
  691. package/dist/chunks/persistent-pty-n95b3jav.js +0 -18
  692. package/dist/chunks/persistent-pty-wyxhhks7.js +0 -247
  693. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./aisdk-native-922hggd3.js";
4
4
  import {
5
- Service78
6
- } from "./persistent-pty-p1zb2z5r.js";
5
+ Service77
6
+ } from "./aisdk-native-skjgnpnj.js";
7
7
  import {
8
- Service23
9
- } from "./persistent-pty-vpy6tv1g.js";
8
+ Service21
9
+ } from "./aisdk-native-9abfm80s.js";
10
10
  import {
11
- Service10
12
- } from "./persistent-pty-wbyzgfj3.js";
11
+ Service6
12
+ } from "./aisdk-native-7c30dffs.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./persistent-pty-2a5m3afh.js";
15
+ } from "./aisdk-native-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service8
27
- } from "./persistent-pty-wgcwk5gf.js";
26
+ Service7
27
+ } from "./aisdk-native-115hbv0n.js";
28
28
  import {
29
29
  __export
30
- } from "./persistent-pty-9rqn6x4v.js";
30
+ } from "./aisdk-native-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input3,
36
- Plugin: () => Plugin21,
35
+ Input: () => Input8,
36
+ Plugin: () => Plugin23,
37
37
  ReadTool: () => exports_read,
38
- name: () => name3,
39
- toModelContent: () => toModelContent2
38
+ name: () => name8,
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 name3 = "read";
45
+ var name8 = "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 2000)"
54
54
  })
55
55
  });
56
- var Input3 = LocationInput;
56
+ var Input8 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin21 = {
58
+ var Plugin23 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service8;
62
- const access = yield* Service23;
63
- const sessionInstructions = yield* Service10;
61
+ const reader = yield* Service7;
62
+ const access = yield* Service21;
63
+ const sessionInstructions = yield* Service6;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service78;
65
+ const location = yield* Service77;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name3,
67
+ name: name8,
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: Input3,
70
+ input: Input8,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin21 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent2(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent2 = (path, offset, output) => {
147
+ var toModelContent6 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name3, Input3, Plugin21, toModelContent2, exports_read };
183
+ export { name8, Input8, Plugin23, toModelContent6, exports_read };
@@ -1,59 +1,59 @@
1
- import {
2
- Service82,
3
- node86
4
- } from "./persistent-pty-8kf7y4ht.js";
5
1
  import {
6
2
  Service81,
7
3
  node85
8
- } from "./persistent-pty-n4x3txqd.js";
4
+ } from "./aisdk-native-9gt9xvgh.js";
5
+ import {
6
+ Service80,
7
+ node84
8
+ } from "./aisdk-native-tf0wxgc3.js";
9
9
  import {
10
- Service57,
11
- node59
12
- } from "./persistent-pty-a50z0fpr.js";
10
+ Service51,
11
+ node53
12
+ } from "./aisdk-native-d6er668x.js";
13
13
  import {
14
14
  Service48,
15
15
  node50
16
- } from "./persistent-pty-tcay1cqt.js";
16
+ } from "./aisdk-native-tcay1cqt.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./persistent-pty-ec1grn59.js";
19
+ } from "./aisdk-native-ec1grn59.js";
20
20
  import {
21
21
  make16
22
- } from "./persistent-pty-yp2x3t23.js";
22
+ } from "./aisdk-native-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service47
26
- } from "./persistent-pty-embw8kgh.js";
25
+ Service46
26
+ } from "./aisdk-native-dhmh7aw6.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./persistent-pty-vmwh049b.js";
29
+ } from "./aisdk-native-3zgzsr0q.js";
30
30
  import {
31
- Service75,
32
- node79
33
- } from "./persistent-pty-4kzetxh1.js";
31
+ Service65,
32
+ node68
33
+ } from "./aisdk-native-32nb2s9m.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./persistent-pty-4n4k0cnh.js";
36
+ } from "./aisdk-native-esp4ax25.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./persistent-pty-t2tcessw.js";
39
+ } from "./aisdk-native-dn7561av.js";
40
40
  import {
41
41
  __export
42
- } from "./persistent-pty-9rqn6x4v.js";
42
+ } from "./aisdk-native-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service46,
47
+ Service: () => Service45,
48
48
  SessionExecution: () => exports_execution,
49
49
  layer: () => layer18,
50
- node: () => node49,
51
- noopLayer: () => noopLayer3,
50
+ node: () => node48,
51
+ noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service46 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service45 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer18 = Layer.effect(Service46, Effect.gen(function* () {
69
- const store = yield* Service75;
68
+ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
69
+ const store = yield* Service65;
70
70
  const instances = yield* Service48;
71
- const bus = yield* Service81;
72
- const jobs = yield* Service57;
73
- const db = (yield* Service82).db;
71
+ const bus = yield* Service80;
72
+ const jobs = yield* Service51;
73
+ const db = (yield* Service81).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,7 +82,7 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service47.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
@@ -109,7 +109,7 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service46.of({
112
+ return Service45.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node49 = makeGlobalNode({
132
- service: Service46,
131
+ var node48 = makeGlobalNode({
132
+ service: Service45,
133
133
  layer: layer18,
134
- deps: [node79, node50, node85, node86, node59]
134
+ deps: [node68, node50, node84, node85, node53]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service46, Service46.of({
136
+ var noopLayer2 = Layer.succeed(Service45, Service45.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service46, Service46.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service46, terminal2, layer18, node49, noopLayer3, exports_execution };
145
+ export { Service45, terminal2, layer18, node48, noopLayer2, exports_execution };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
@@ -8,7 +8,7 @@ __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
10
  Entry: () => Entry4,
11
- Info: () => Info16,
11
+ Info: () => Info15,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info16, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info15, exports_lsp };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service72
3
- } from "./persistent-pty-e2wwkkr3.js";
2
+ Service75
3
+ } from "./aisdk-native-f1h6hjy5.js";
4
4
  import {
5
- Service73
6
- } from "./persistent-pty-gddc0fts.js";
5
+ Service64
6
+ } from "./aisdk-native-16hwt5r8.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./aisdk-native-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin47 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service72;
57
- const permission = yield* Service73;
56
+ const forms = yield* Service75;
57
+ const permission = yield* Service64;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name14,
60
60
  options: { codemode: false },
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./persistent-pty-0paq2nw3.js";
4
+ } from "./aisdk-native-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./persistent-pty-ke2aez33.js";
7
+ } from "./aisdk-native-bpwm8rb1.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./persistent-pty-0zbmh4se.js";
11
+ } from "./aisdk-native-0g09j3nb.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./aisdk-native-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service81
3
- } from "./persistent-pty-n4x3txqd.js";
2
+ Service80
3
+ } from "./aisdk-native-tf0wxgc3.js";
4
4
  import {
5
5
  key2
6
- } from "./persistent-pty-44h5tttr.js";
6
+ } from "./aisdk-native-h6r3nrb9.js";
7
7
  import {
8
- Event17
9
- } from "./persistent-pty-xrzs32wx.js";
8
+ Event20
9
+ } from "./aisdk-native-y3cfv4n4.js";
10
10
  import {
11
- ID10
12
- } from "./persistent-pty-hpbxecpz.js";
11
+ ID14
12
+ } from "./aisdk-native-ba3991h0.js";
13
13
  import {
14
- ID9,
15
- Service68
16
- } from "./persistent-pty-ke2aez33.js";
14
+ ID13,
15
+ Service73
16
+ } from "./aisdk-native-bpwm8rb1.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./persistent-pty-8cnzmmsd.js";
18
+ load2,
19
+ derive2
20
+ } from "./aisdk-native-gj4qp5ev.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID9.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service68;
30
- const bus = yield* Service81;
29
+ const providers = yield* Service73;
30
+ const bus = yield* Service80;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID8
3
- } from "./persistent-pty-0zbmh4se.js";
2
+ ID12
3
+ } from "./aisdk-native-0g09j3nb.js";
4
4
  import {
5
- Service53
6
- } from "./persistent-pty-tp9yp7n5.js";
5
+ Service56
6
+ } from "./aisdk-native-1s1yk029.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./persistent-pty-2ca164mb.js";
9
+ } from "./aisdk-native-wc0j5gyx.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service53;
29
+ const config = yield* Service56;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID8.make(item.id);
56
+ model.modelID = ID12.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make8();
115
+ var VLLMPlugin2 = make4();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make8, VLLMPlugin2 };
137
+ export { make4, VLLMPlugin2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service45,
8
+ Service: () => Service55,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node48
10
+ node: () => node57
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service45 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service55 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service45, () => {
17
+ var layer = Layer.sync(Service55, () => {
18
18
  const environments = new Map;
19
- return Service45.of({
19
+ return Service55.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service45, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node48 = makeGlobalNode({ service: Service45, layer, deps: [] });
29
+ var node57 = makeGlobalNode({ service: Service55, layer, deps: [] });
30
30
 
31
- export { Service45, node48, exports_environment };
31
+ export { Service55, node57, exports_environment };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./aisdk-native-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -400,4 +400,4 @@ function update3(adapter, event) {
400
400
  return project(event);
401
401
  }
402
402
 
403
- export { update3, exports_message_updater };
403
+ export { update2, exports_message_updater };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./persistent-pty-3w5fmr99.js";
4
+ } from "./aisdk-native-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./persistent-pty-m3fdjcah.js";
8
+ } from "./aisdk-native-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./persistent-pty-9rqn6x4v.js";
11
+ } from "./aisdk-native-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -105,25 +105,30 @@ function progressHooks(record) {
105
105
  rows.set(call, items.length);
106
106
  return [...items, entry];
107
107
  });
108
- const settle = (call, result) => record((items) => {
108
+ const settle = (call, result) => {
109
109
  const index = rows.get(call);
110
110
  if (index === undefined)
111
- return items;
112
- const next = [...items];
113
- next[index] = { ...items[index], status: result.status === "success" ? "completed" : "error" };
114
- return next;
115
- });
111
+ return Effect.void;
112
+ return record((items) => {
113
+ const next = [...items];
114
+ next[index] = { ...items[index], status: result.status === "success" ? "completed" : "error" };
115
+ return next;
116
+ });
117
+ };
116
118
  return {
117
119
  "tool.before": (call) => {
118
120
  const shown = displayInput(call.input);
119
121
  return start(call, { tool: call.name, status: "running", ...shown ? { input: shown } : {} });
120
122
  },
121
123
  "tool.after": settle,
122
- "extension.before": (call) => start(call, {
123
- tool: call.name,
124
- status: "running",
125
- ...call.name === "fetch" ? { input: display2(call.args) } : {}
126
- }),
124
+ "extension.before": (call) => {
125
+ switch (call.name) {
126
+ case "fetch":
127
+ return start(call, { tool: call.name, status: "running", input: display2(call.args) });
128
+ default:
129
+ return Effect.void;
130
+ }
131
+ },
127
132
  "extension.after": settle
128
133
  };
129
134
  }
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-hgehe5qr.js";
3
+ } from "./aisdk-native-21fjxxq6.js";
4
4
  import {
5
5
  call2
6
- } from "./persistent-pty-56gdpj1q.js";
6
+ } from "./aisdk-native-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./aisdk-native-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin36,
14
+ Plugin: () => Plugin9,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint5
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://search.parallel.ai/mcp";
21
+ var endpoint5 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin36 = define({
50
+ var Plugin9 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin36 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin36 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint6, Plugin36, exports_parallel };
96
+ export { endpoint5, Plugin9, exports_parallel };